Papers › Holistic Automated Red Teaming for Large Language Models through Top-Down Test Case...

Holistic Automated Red Teaming for Large Language Models through Top-Down Test Case Generation and Multi-turn Interaction

25 Sep 2024arXiv:2409.16783archive 2025-07-28

Jinchuan Zhang, Yan Zhou, Yaxin Liu, Ziming Li, Songlin Hu

Automated red teaming is an effective method for identifying misaligned behaviors in large language models (LLMs). Existing approaches, however, often focus primarily on improving attack success rates while overlooking the need for comprehensive test case coverage. Additionally, most of these methods are limited to single-turn red teaming, failing to capture the multi-turn dynamics of real-world human-machine interactions. To overcome these limitations, we propose HARM (Holistic Automated Red teaMing), which scales up the diversity of test cases using a top-down approach based on an extensible, fine-grained risk taxonomy. Our method also leverages a novel fine-tuning strategy and reinforcement learning techniques to facilitate multi-turn adversarial probing in a human-like manner. Experimental results demonstrate that our framework enables a more systematic understanding of model vulnerabilities and offers more targeted guidance for the alignment process.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2409.16783")

Code

Syntology Ran 6 of 10 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 6 ran with no contract checked.

By repository: official repository: 10 samples from 1 repository, 6 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

jc-ryan/holistic_automated_red_teaming officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 6 ran; 0 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

6ran
4unverified

Licence: 10 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from jc-ryan/holistic_automated_red_teaming. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

deduplicate_questions jc-ryan/holistic_automated_red_teaming/eda_generated_questions.py official repository ran no licence file found · pointer only · fc552a445b401936 · report
filter_unexisted_path jc-ryan/holistic_automated_red_teaming/eda_generated_questions.py official repository ran no licence file found · pointer only · 8c2e00ee44269d9a · report
format_with_blue_model_chat_template jc-ryan/holistic_automated_red_teaming/multi-turn/multi-turn_interaction_with_chat_template.py official repository ran no licence file found · pointer only · a1bd7d1d00d9b068 · report
prompt_construction jc-ryan/holistic_automated_red_teaming/async_top_down_generation.py official repository ran no licence file found · pointer only · 0af272a21479d52a · report
read_json_lines jc-ryan/holistic_automated_red_teaming/eda_generated_questions.py official repository ran no licence file found · pointer only · 7d946945ccd62315 · report
read_txt jc-ryan/holistic_automated_red_teaming/utils.py official repository ran no licence file found · pointer only · 6644223ff07e9d5c · report
batch_reward_computation jc-ryan/holistic_automated_red_teaming/multi-turn/multi-turn_reward_computation.py official repository unverified no licence file found · pointer only · 8167023ac6b59aa6 · report
convert_dialogue_to_all_turns jc-ryan/holistic_automated_red_teaming/multi-turn/multi-turn_reward_computation.py official repository unverified no licence file found · pointer only · 55a9e856e2635e40 · report
load_model_werights jc-ryan/holistic_automated_red_teaming/multi-turn/rejection_sampling.py official repository unverified no licence file found · pointer only · c42ff941082619bc · report
read_json jc-ryan/holistic_automated_red_teaming/utils.py official repository unverified no licence file found · pointer only · 46122ace162507f6 · report

Tasks

DiversityRed Teaming

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Focus

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections