Papers › Greedy Coordinate Diffusion: Effective and Semantically Coherent Adversarial Attacks...

Greedy Coordinate Diffusion: Effective and Semantically Coherent Adversarial Attacks via Diffusion Guidance

14 Jun 2026ICMLarXiv:2606.15531added by Syntology

Bohdan Turbal, Blossom Metevier, Max Springer, Aleksandra Korolova

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Adversarial attacks on large language models have limited practical impact despite extensive research. Optimization-based attacks such as Greedy Coordinate Gradient (GCG) (Zou et al., 2023) produce high-perplexity, incoherent suffixes that existing defenses easily detect (Bengio et al., 2024). Moreover, attempting to enforce coherence constraints during optimization often prevents the attack from successfully eliciting the specific targeted response, resulting in low success rates against robust models. Conversely, attacks that maintain coherence often alter the semantic intent of queries; when the model complies with these altered queries, responses fail to address the adversary's original goal. In this work, we introduce Greedy Coordinate Diffusion (GCD), a novel framework that efficiently generates adversarial attacks against safety-aligned models while maintaining low perplexity and high semantic adherence to the adversary's original intent. GCD leverages the generative priors of discrete diffusion language models to guide the search for adversarial suffixes that achieve semantic coherence and adherence. Unlike GCG, GCD does not require direct gradient access, allowing it to operate in a gray-box setting. We show GCD achieves highest ASR while remaining competitive on response-quality scores, and that the constructed adversarial prompts are detected at lower rates than other methods by perplexity-based and guard-model filters.

PaperPDFCode 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="2606.15531")

Code

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

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

princeton-peas-lab/gcd found in paper text by Syntology report

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

8 samples harvested; 8 ran; 0 honoured the contract we drafted; 0 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.

8ran

Licence: 8 of the 8 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 princeton-peas-lab/gcd. “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.

attack_text_has_content princeton-peas-lab/gcd/gcd/gcd_utils.py found in paper text by Syntology ran no licence file found · pointer only · ad5ab330144efce7 · report
build_llama_guard_prompt princeton-peas-lab/gcd/gcd/gcd_victim.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 70088c16eee4d9c0 · report
combine_guidance_losses princeton-peas-lab/gcd/gcd/gcd_guidance_loss.py found in paper text by Syntology ran no licence file found · pointer only · 6341a17db23bffdf · report
exact_fraction_count princeton-peas-lab/gcd/gcd/gcd_candidate_maker.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 8bd1fcdcd71bdd91 · report
get_tokenizer_default_system_prompt princeton-peas-lab/gcd/gcd/gcd_utils.py found in paper text by Syntology ran no licence file found · pointer only · 27fb0023f3e8c289 · report
minmax_normalize_batch princeton-peas-lab/gcd/gcd/gcd_guidance_loss.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · 1062647b1e4b0cc9 · report
resolve_add_prefix_target princeton-peas-lab/gcd/gcd/gcd_utils.py found in paper text by Syntology ran fingerprinted no licence file found · pointer only · c4dc077d7b8e6841 · report
self_ppl_for_guidance princeton-peas-lab/gcd/gcd/gcd_guidance_loss.py found in paper text by Syntology ran no licence file found · pointer only · 91643556db8eedf5 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2606.15531, was issued in June 2026, after that date, so the archive has no leaderboard rows for it.

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