Yang Liu, Tianyu Pang, Min Lin, Yihao Huang, Chao Du, Jindong Gu, Xiaochun Cao, Xiaojun Jia
4 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 4 failures of our instrument; 3 no recorded run), measured 2026-11-24; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.
"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2405.21018.json · badge: /api/ran/2405.21018.svg
Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.
| Repository | Role | Ran |
|---|---|---|
| jiaxiaojunqaq/i-gcg | canonical (classifier label) classifier basis: census |
2 ran · 3 no recorded run |
| jiaxiaojunQAQ/I-GCG | canonical (classifier label) classifier basis: classifier_2025 |
2 ran · 0 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| check_for_attack_success | Ran ran; our contract draft was wrong, not the code |
jiaxiaojunQAQ/I-GCG/attack_llm_core_best_update_our_target.py pointer only (licence: NONE) · get_code("3e43a8aedf0a2745") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, jiaxiaojunQAQ/I-GCG when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| generate | Ran ran; our contract draft was wrong, not the code |
jiaxiaojunQAQ/I-GCG/attack_llm_core_best_update_our_target.py pointer only (licence: NONE) · get_code("6ad91f68f0c84d9c") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, jiaxiaojunQAQ/I-GCG when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| get_embedding_layer | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
jiaxiaojunqaq/i-gcg/llm_attacks/base/attack_manager.py pointer only (licence: NONE) · get_code("0bf2136a7171ae80") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, jiaxiaojunqaq/i-gcg when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| get_filtered_cands | Ran ran; our contract draft was wrong, not the code |
jiaxiaojunqaq/i-gcg/llm_attacks/minimal_gcg/opt_utils.py pointer only (licence: NONE) · get_code("9269f45bb368b489") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, jiaxiaojunqaq/i-gcg when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| get_embedding_matrix | Not yet run unverified (harvested, no recorded run) |
jiaxiaojunqaq/i-gcg/llm_attacks/base/attack_manager.py pointer only (licence: NONE) · get_code("688aaeba506e3329") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, jiaxiaojunqaq/i-gcg when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded. |
| get_embeddings | Not yet run unverified (harvested, no recorded run) |
jiaxiaojunqaq/i-gcg/llm_attacks/base/attack_manager.py pointer only (licence: NONE) · get_code("f556dda0785f3c77") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, jiaxiaojunqaq/i-gcg when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded. |
| sample_control | Not yet run unverified (harvested, no recorded run) |
jiaxiaojunqaq/i-gcg/llm_attacks/minimal_gcg/opt_utils.py pointer only (licence: NONE) · get_code("94d7ddaf0169dbf1") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, jiaxiaojunqaq/i-gcg when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded. |
Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 4 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 1 the same month, 4 later) and 3 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).
Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.
| Function | Also present in | Earliest-dated | Others named |
|---|---|---|---|
| get_embedding_layer | 6 other papers 4 dated earlier, 2 later |
2310.15140 (2023-10) AutoDAN: Interpretable Gradient-Based Adversarial Attacks on Large Language Models |
2402.05467 (2024-02) Rapid Optimization for Jailbreaking LLMs via Subconscious Exploitation and Echopraxia 2402.16459 (2024-02) Defending LLMs against Jailbreaking Attacks via Backtranslation and 3 more not named here |
| get_embedding_matrix | 6 other papers 4 dated earlier, 2 later |
2402.09063 (2024-02) Soft Prompt Threats: Attacking Safety Alignment and Unlearning in Open-Source LLMs through the Embedding Space |
2402.16459 (2024-02) Defending LLMs against Jailbreaking Attacks via Backtranslation 2403.04957 (2024-03) Automatic and Universal Prompt Injection Attacks against Large Language Models and 3 more not named here |
| sample_control | 6 other papers 4 dated earlier, 1 the same month, 1 later |
2311.09948 (2023-11) Hijacking Large Language Models via Adversarial In-Context Learning |
2402.13459 (2024-02) Learning to Poison Large Language Models for Downstream Manipulation 2403.01251 (2024-03) Accelerating Greedy Coordinate Gradient and General Prompt Optimization via Probe Sampling and 3 more not named here |
| get_embeddings | 5 other papers 3 dated earlier, 2 later |
2402.16459 (2024-02) Defending LLMs against Jailbreaking Attacks via Backtranslation |
2403.04957 (2024-03) Automatic and Universal Prompt Injection Attacks against Large Language Models 2404.13968 (2024-04) Protecting Your LLMs with Information Bottleneck and 2 more not named here |
Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Warning: This paper contains model outputs that are offensive in nature. Large language models (LLMs) are being rapidly developed, and a key component of their widespread deployment is their safety-related alignment. Many red-teaming efforts aim to jailbreak LLMs, where among these efforts, the Greedy Coordinate Gradient (GCG) attack's success has led to a growing interest in the study of optimization-based jailbreaking techniques. Although GCG is a significant milestone, its attacking efficiency remains unsatisfactory. In this paper, we present several improved (empirical) techniques for optimization-based jailbreaks like GCG. We first observe that the single target template of "Sure" largely limits the attacking performance of GCG; given this, we propose to apply diverse target templates containing harmful self-suggestion and/or guidance to mislead LLMs. Besides, from the optimization aspects, we propose an automatic multi-coordinate updating strategy in GCG (i.e., adaptively deciding how many tokens to replace in each step) to accelerate convergence, as well as tricks like easy-to-hard initialisation. Then, we combine these improved technologies to develop an efficient jailbreak method, dubbed I-GCG. In our experiments, we evaluate on a series of benchmarks (such as NeurIPS 2023 Red Teaming Track). The results demonstrate that our improved techniques can help GCG outperform state-of-the-art jailbreaking attacks and achieve nearly 100% attack success rate. The code is released at https://github.com/jiaxiaojunQAQ/I-GCG. Preprint. Under review.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2405.21018")
get_code_for_paper("2405.21018")
have("2405.21018")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2405.21018.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2405.21018)
Connect an agent — have() is free.