Manuscript Offprint
arXiv:2610.29886Characterizing and Defending Utility-Hijacking in Instruction-Tuning Data Selection
Abstract
Instruction following, a language model's ability to carry out user instructions, is a core capability whose quality depends heavily on the instruction-tuning data. To curate this data, an instruction-data selector chooses which instruction-following records are used for fine-tuning, improving the model's alignment quality, raising training efficiency, and filtering out harmful records. A selector's choices thus directly affect the fine-tuned model's safety, and prior work shows that fine-tuning on unsafe data can even break the safety of an already safety-aligned model. However, despite their widespread use, the security of these selectors remains under-studied.
We conduct the first systematic study of adaptive supplier-side attacks against utility-oriented instruction-data selectors and introduce utility-hijacking. Utility-hijacking shapes harmful records to remain compatible with a selector while preserving their malicious payload, causing top-k selection to concentrate rather than filter the poison. Achieving both is non-trivial, because optimizing a record for score tends to wash out its payload, while bluntly preserving the payload makes the record look low-value. Our supplier-side generate-and-rerank procedure generates, per instruction, many payload-bearing candidates (for payload preservation) and submits only the highest-scoring survivor (for selector compatibility). Evaluated across three payloads (over-refusal, false-fact injection, and insecure code), six selectors, and victim models from Qwen2.5-7B to Qwen3-32B, utility-hijacking concentrates poison on vulnerable selector-payload pairs and changes model behavior, driving refusal from 0% to 94% and insecure code up to 56/90, while false-fact enrichment intensifies with scoring-model scale from to . To defend against this attack, we propose CONCERT, a targeted defense needing no content detector or poison labels. It flags suppliers selected far more often than chance allows, then re-selects under the same budget, keeping only records that two dissimilar selectors both rank highly. Across two payloads, four selectors, and four evaluation benchmarks on a Qwen3-32B victim, CONCERT reverses the poison concentration from to (code) and to (facts), and reduces downstream harm by 100% and 75% respectively, at unchanged capability.
Introduction
Building a strong instruction-following model increasingly means training on data the owner did not create. Owners gather instruction-response records from public datasets, synthetic generators, and data vendors (Ouyang et al. 2022; Wang et al. 2023; Taori et al. 2023; Xu et al. 2024a), and because training on all of them is costly and can even hurt quality, they pass the pool to an automated instruction-data selector that scores every record and fine-tunes only on a fixed-size, top-scoring subset (Xia et al. 2024; Liu et al. 2024; Li et al. 2024b; Chen et al. 2024). A selector is valued because it raises the alignment quality of the tuned model, cuts training cost, and is trusted to leave low-value or harmful records behind. Yet its choices decide what the model learns, so the safety of the admitted data carries into the fine-tuned model, and prior work on harmful fine-tuning shows that unsafe records can even undo the safety of an already aligned model (Qi et al. 2024). Despite how widely selectors are now deployed, their own security has barely been examined.
This very component, however, can be turned against the model owner. If an adversarial supplier can make harmful records, which we hereafter call poison, look valuable to the selector, then top-k selection will not filter them out. It will concentrate them, spending a larger share of the fixed training budget on exactly the data the attacker wants. We call this failure mode utility-hijacking, since the attacker hijacks the selector's notion of training utility rather than breaking the selector, the training code, or the evaluation.
Utility-hijacking sits in a blind spot between two lines of work. Poisoning studies typically assume the poison already reaches training (Wan et al. 2023; Shu et al. 2023; Qi et al. 2024), whereas data-selection studies typically assume benign suppliers, so neither asks what happens when a supplier adapts records to survive a utility selector. A successful attack has to reconcile two objectives that pull against each other, selector compatibility so the poison scores highly enough to be selected, and payload preservation so it still carries harm once training is done. Pushing a record's score tends to wash out its payload, which is what separates utility-hijacking from appending a trigger to otherwise clean data. Our supplier-side construction, generate-and-rerank, fixes the payload and searches only for compatibility.
What has been missing is any account of when utility-hijacking works. Top-k selection keeps only the upper tail of the score distribution, so if a payload reaches that tail at a higher rate than clean data, the very act of keeping only the best turns filtering into amplification. We formalize this as CREST (Compatibility-driven Rank Enrichment in Selector Tails), an exact closed form for poison concentration together with a statistic that separates vulnerable from immune pairs with no overlap in our experiments (every vulnerable pair , every immune pair ).
We study three unrelated, alignment-relevant payloads, namely over-refusal (helpfulness), false facts (honesty), and insecure code (safety). Across six selectors and victim models from Qwen2.5-7B to Qwen3-32B, utility-hijacking is both selector- and payload-dependent, yet on vulnerable pairs it is severe. Within the paired IFD cell, adaptation lifts poison concentration from to , drives refusal from 0% to 94%, elicits insecure code in up to 56/90 cases, and intensifies with scoring-model scale from to . It also does not require the attacker to supply much of the pool, since poison still concentrates at a 1% input rate. Immunity does not transfer across payloads, which rules out simply “using a safer selector” and points at the structure a defense needs.
CONCERT (Consensus-Certified Selection) is our targeted answer, a defense that trusts no single selector and needs neither a content detector nor poison labels. A provenance audit flags suppliers over-selected beyond chance, and a consensus reselection keeps the same fixed budget but admits only records ranked highly by two decorrelated selectors. Because poison shaped for one selector's tail is usually mediocre to the other, this rule carries a deterministic, label-free rank-intersection certificate. On a Qwen3-32B victim it drives concentration from to for false facts and to for insecure code, removes unsafe-code outputs (56/90 to 0/90), and keeps most of the high-value clean data an immune selector would discard.
In summary, this paper makes the following contributions.
• A new attack on data selectors (utility-hijacking). To our knowledge, this is the first systematic study of adaptive supplier-side attacks against utility-oriented instruction-data selectors. A supplier-side generate-and-rerank construction shapes poison to satisfy selector compatibility and payload preservation at once, so top-k selection concentrates it rather than filtering it out.
• An upper-tail account of utility-hijacking (CREST). CREST reduces selection-stage poisoning to upper-tail survival, gives an exact closed form for poison concentration in terms of two survival probabilities, and provides a statistic that separates vulnerable from immune selector-payload pairs after scoring but before any model is trained.
• A rank-intersection defense (CONCERT). We combine an exact-test provenance audit with error-rate control and a fixed-budget consensus rule whose set-containment certificate excludes any record outside either selector's certified prefix, without any poison labels. The defense still holds when a white-box attacker reranks against the consensus objective itself, and CREST predicts why.
Poisoning, backdoors, and adaptive poison. Poisoning and backdoors implant harmful behavior through the training set, inserting triggers or corrupted records directly (Gu, Dolan-Gavitt, and Garg 2017; Kurita, Michel, and Neubig 2020; Wallace et al. 2021) or steering a model with a few instruction-tuning examples (Wan et al. 2023; Shu et al. 2023; Xu et al. 2024b; Yan et al. 2024), even at near-constant scale (Souly et al. 2025; Carlini et al. 2024; Fu et al. 2025), and others optimize the poison for potency or stealth against a detector (Zhou et al. 2024; Pathmanathan et al. 2026; Hubinger et al. 2024). All assume the poison reaches training. We add a prior constraint, that it must first survive a utility selector, which makes selector compatibility rather than trigger design the objective.
Filtering, auditing, and robust selection. Defenses either harden the selector for safety (Shen et al. 2025; Li et al. 2025; He, Xia, and Henderson 2024; Bianchi et al. 2024) or filter individual records, which has fundamental limits once the adversary adapts (Davies et al. 2025; Huang et al. 2024). Provenance is normally used for licensing (Longpre et al. 2024) and data value for pricing (Ghorbani and Zou 2019). CONCERT instead turns provenance into an exact over-selection test with multiple-testing control (Holm FWER and BH FDR) (Holm 1979; Benjamini and Hochberg 1995) and combines two decorrelated selectors by rank consensus (Dwork et al. 2001), giving a label-free set-containment certificate rather than a pointwise filter.
Problem Formalization and Threat Model
We study a select-then-train pipeline in which a model owner (the victim) holds a clean pool and also accepts records from external suppliers, and ask what happens when one supplier is adversarial.
The pipeline. Let the clean pool be , and let an attacker contribute poisoned records , giving a combined pool of size with original poisoning rate . A selector assigns each record a utility score , and the pipeline keeps the top- subset
under a fixed budget k (equivalently, a budget fraction ). Fine-tuning, in our experiments LoRA (Hu et al. 2022), is then performed only on T. We instantiate S with representative selectors spanning distinct notions of value, namely influence-based (LESS (Xia et al. 2024)), difficulty-based (IFD (Li et al. 2024b)), and quality-based (DEITA (Liu et al. 2024), AlpaGasus (Chen et al. 2024)).
Attacker and victim. The attacker is an adversarial data supplier who shapes poisoned records in response to selec-tion, but cannot modify the selector, the fine-tuning procedure, the evaluation, or the clean pool, and cannot observe the victim's realized selected set. It can score its own candidates with a replica, which is consistent with the previous condition because replica scores reveal only how its candidates rank against each other, while the realized cutoff also depends on the clean pool and the budget. This is deliberately weaker than the standard poisoning assumption that injected records enter training directly (Wan et al. 2023; Shu et al. 2023; Qi et al. 2024), and it matches settings where suppliers already optimize records to pass quality rubrics (Souly et al. 2025; Carlini et al. 2024; Davies et al. 2025; Fendley et al. 2025). The victim trusts the selector as a utility-oriented filter and is unaware that the pool contains adapted poison.
Objective and the dual constraint. The attacker's goal is to make the selector spend a larger share of the fixed budget on its records and to have those records change the model after fine-tuning. Success therefore requires two properties that pull against each other. Selector compatibility requires that the poison score highly enough to enter T. Payload preservation requires that the selected poison still induce the intended behavior after fine-tuning. Reconciling the two is the crux of the attack. We study three payloads that make the harm concrete and auditable, namely inducing over-refusal of benign requests (Röttger et al. 2024; Cui et al. 2025), degrading truthfulness through false-fact injection (Lin, Hilton, and Evans 2022), and eliciting insecure code with specific weaknesses (Bhatt et al. 2023; Peng et al. 2025).
Realizing utility-hijacking. We instantiate the attack with a supplier-side generate-and-rerank construction that touches only the submitted records. For each source instruction the attacker draws style anchors from highly ranked records, generates K payload-bearing candidates, scores them with the selector or a faithful replica, and submits the highest-scoring one that still carries the payload. The pass is non-iterative and trains no attack model. Because the payload is fixed per harm, the attacker optimizes selector compatibility rather than payload strength. The baseline is the same poison without reranking.
Selector-stage metrics and the upper-tail view. Two quantities, both observable from selection manifests before any model is trained, summarize what the selector does to the poison. The survival rate is the fraction of injected poison that is selected, survival = . The enrichment factor compares the poison concentration in the selected set to the original rate,
so means the selector concentrates poison and means it dilutes it. Equivalently, a record survives exactly when its score lies in the upper tail above the -th largest score, so success is governed by how much poison mass reaches this tail relative to clean data, which the next section makes exact.
Attacker feedback and scope. We consider a spectrum of feedback while shaping records, from full continuous scores through coarse ordinal buckets to none. Sparse, delayed accept/reject feedback over many rounds is out of scope, as are fully private selectors and safety-hardened selectors such as SEAL (Shen et al. 2025) and LARF (Li et al. 2025). Our defense targets the common case of ordinary utility selectors.
CREST: Enrichment as an Upper-Tail Quantity
The same poison is amplified by one selector yet screened out by another. We account for this with CREST (Compatibility-driven Rank Enrichment in Selector Tails), an exact identity that reduces utility-hijacking to two tail-survival probabilities. On a labeled payload diagnostic set, both are estimated from scores the pipeline already computes, so vulnerability can be assessed after scoring and before fine-tuning. We claim no prediction of quantities the pipeline has not measured. What the identity buys is a diagnosis that costs one scoring pass instead of one training run.
Enrichment is an upper-tail quantity. We augment each selector’s scores with a deterministic tie-break to obtain a total order, and write for membership in its unique Top-k tail. Let
be the clean and poison survival probabilities, the fractions of clean and poison records that reach the tail. Since the selected set is the union of surviving clean and poison records, the poisoning rate r, the budget fraction b, and these survivals satisfy , and the enrichment E defined earlier takes a closed form.
Proposition 1 (Upper-tail enrichment). Under fixed budget fraction b and poisoning rate r,
The proposition follows directly from the definitions of and , so its finite-rate form is an exact identity, and its value is to show that enrichment depends on the scores only through the two tail-survival probabilities. A selector amplifies a payload () exactly when poison over-survives the tail (), with the small-rate approximation isolating the tail-survival ratio as the driver. At this approximation is off by a median of 22%, whereas the finite-rate form is exact against the realized selection counts (0% median residual), so we use it throughout.
A selection-stage compatibility statistic. Because vulnerability is decided in the tail, we measure it there directly. On a labeled diagnostic pool, define as the fraction of poison that clears the clean tail cutoff, the poison mass scoring above the top-b clean records, with no fine-tuning. Across the selector-payload cells we study, separates the two regimes cleanly. Every vulnerable cell has and every immune cell has , a gap of 0.588 with no overlap (Figure 1). It is a sharper indicator than the mean
CREST: poison mass in the clean upper tail determines vulnerability
(a) Fact injection DEITA

(b) Fact injection IFD

(c) Fact injection AlpaGasus
(d) Fact injection LESS

(e) Code vulnerability DEITA

(f) Code vulnerability IFD


Selector score (higher is preferred)
Clean
Poison
--- Top-15% threshold
Selected upper tail
Figure 1: Utility-hijacking is governed by how much poison mass reaches the selector’s upper tail. Each panel overlays clean (gray) and poison (red) score distributions for a payload–selector pair. The dashed line is the Top-15% cutoff and the shaded region is the selected upper tail. Vulnerable pairs (poison piled above ) have a high tail statistic and enrichment , whereas immune pairs have poison held below the cutoff. The statistic separates the two regimes with no overlap.
score gap, because what drives enrichment is not average quality but how much poison mass crosses the clean tail boundary.
How the attack scales with budget and rate. The same identity says how enrichment moves with the pipeline's knobs. A larger budget lets clean records dilute the poison, while a lower input rate lets each crafted record occupy a scarcer and higher-value slot. Both trends hold across the practical range. Over 10–40% budgets the budget-enrichment relation is monotone on three vulnerable cells (Spearman ), and lowering the input rate raises enrichment monotonically, still exceeding at a 1% input rate. That last point matters for practice, because it means the channel does not require the attacker to own a large share of the pool. At very small budgets (2–10%) the sufficient condition for monotonicity in b can fail in finite samples, and we do observe mild local reversals there. The formal statement, its proof, and the per-cell curves are in the supplement.
Compatibility, not universal vulnerability. Because and are jointly induced by the selector, the clean/payload distributions, and the cutoff, CREST makes amplification a joint property rather than a defect of either component alone, and our measurements bear this out (Table 1). DEITA rejects over-refusal poison ( ) yet strongly amplifies false-fact poison ( ) and insecure code ( ), while IFD amplifies over-refusal ( ) and false facts but is immune to the code payload ( ). Immunity is payload-specific, not global, so no single selector can be trusted and a robust defense must act on the tail itself. The supplement gives the full matrix.
CONCERT: A Rank-Intersection Defense
CONCERT (Consensus-Certified Selection) answers CREST with two layers that need neither a content detec-
| Selector | Base E | Adapted E | Harm (clean → attacked) | Capability |
|---|---|---|---|---|
| Over-refusal (Qwen2.5-7B) | ||||
| IFD | 1.21× | 6.07× | refusal 0% → 94% | 73.2 → 73.0 |
| DEITA | 0.27× | 0.93× | refusal 0% → 1% | 73.2 → 73.0 |
| False facts (Qwen2.5-7B) | ||||
| DEITA | - | 3.64× | TruthfulQA-MC1 -0.072 | flat (Δ<0.5) |
| AlpaGasus | - | 0.20× | TruthfulQA-MC1 -0.003 | flat |
| Insecure code: CWE-078/295/502 (Qwen3-32B) | ||||
| DEITA | - | 6.67× | insecure 0% → 56.7% | 0.86 → 0.87 |
| IFD | - | 0× | n/a | n/a |
Table 1: Selection-stage exposure and downstream utility-hijacking evidence. Vulnerable pairs amplify poison and harm, immune pairs ( ) dilute it. Base is the same payload without selector-aware reranking, run for over-refusal only, so the gap between the two enrichment columns is what adaptation buys. Immune controls were fine-tuned where downstream harm is shown; code–IFD is selection-stage only.
tor nor poison labels, namely a provenance audit that flags suppliers over-represented in the tail, and a consensus reselection whose set-containment certificate excludes any record a decorrelated selector ranks poorly. We describe each layer and state the properties we can guarantee.
CONCERT-Audit: Provenance-Level Detection
Pipelines already record where each record came from for licensing and accountability (Longpre et al. 2024), and CONCERT-Audit turns that metadata into a statistical test. Suppose supplier contributes of the pooled records and of them are selected under the top- rule. Under the null hypothesis that a supplier's identity is exchangeable with the selection outcome (its records are neither better nor worse than average), the count follows a hypergeometric law,
and we report the exact upper-tail -value . A tiny means the supplier is selected far more often than chance allows, the signature of records engineered to score highly, so we flag it. Across many suppliers we report Benjamini–Hochberg for detection power and boundary analysis (Benjamini and Hochberg 1995), and Holm as the conservative main control, which bounds the family-wise error rate under arbitrary dependence given valid per-supplier -values (Holm 1979).
We are careful about what this guarantees. The per-supplier -value is exact under the exchangeability null, and Holm controls the family-wise error rate under arbitrary dependence. The Benjamini–Hochberg level , however, is a false-discovery quantity and should not be read as an arbitrary-dependence family-wise rate. We also ask how often the audit fires when no supplier concentrates poison. Over 1000 simulations we hold the contaminated pool, its scores, and its selection outcomes fixed and only reshuffle records into equal-sized suppliers, making source exchangeable while leaving the poison in place. Under Holm the chance of flagging at least one supplier is 2.9–5.1%. This is a family-level alarm rate under a source-exchangeability null in a contaminated market, not a false-positive rate on clean data. Because the null is over-selection beyond chance, a genuinely strong supplier can also be flagged, so the audit returns candidates for quality-normalized review rather than declaring malice. It is decisive against one adapted source and loses power as the attacker splits across suppliers, a boundary we quantify in the experiments.
CONCERT-Consensus: Fixed-Budget Rank Consensus
The audit needs provenance, but the second layer needs only scores. Its principle is the CREST conclusion that no single selector's tail should be trusted. Let be the anchor selector already in use (the one that may have been hijacked). For every candidate second selector , convert scores to tie-averaged percentile ranks (with 0 best), and choose the partner that disagrees most with the anchor across the whole pool,
This choice reads only the scores and never inspects poison labels. We then score each record by its worse rank across the two selectors and keep the best,
so that a single strong veto from either selector removes a record. (We use minimax as the main rule and a Borda average (Dwork et al. 2001) as a control against one high score masking the other's veto.) Two properties can be stated as guarantees.
Proposition 2 (Fixed budget and scale invariance). With a deterministic tie-break, CONCERT-Consensus returns exactly records on any input, so it is directly comparable to pointwise top- in training-set size, steps, and compute. It also depends only on within-selector percentile ranks, so replacing any by for a strictly increasing leaves the selection unchanged and selectors with incomparable score scales can be combined without calibration.
Proposition 3 (Minimax intersection certificate). Let be the largest minimax score among selected records. Every selected record satisfies and . Hence lies inside the intersection of the two selectors' Top- prefixes. Consequently, for any unknown poison set ,
Proposition 3 is the deterministic exclusion guarantee at the core of CONCERT. It certifies a set-containment property rather than a poison-count or downstream-harm bound. Without poison labels, it places every selected record inside the intersection of the two selectors' top- prefixes, so any record a decorrelated partner ranks below the consensus threshold is excluded no matter how it was engineered, by construction rather than by anticipating the attack.
We state its main assumption plainly. The partner rule is public and reads only pool scores, so an attacker with replica access can compute and rerank against instead of . CONCERT therefore does not rest on keeping the partner secret, and we grant the attacker exactly this knowledge in the experiments, where the consensus holds and CREST explains why. Poison a decorrelated partner independently rates highly could still enter, so we claim no unconditional poison-free selection, and the residual gap is an attacker who re-optimizes generation rather than reranking against the partner.
Why not simply switch to the immune partner outright? Because an immune selector alone discards much of the clean data the anchor would have found (retention 51–58%), whereas CONCERT keeps the anchor's picks and uses the partner only to veto, retaining 88–96%. An ablation shows arbitrary partners do not confer safety.
Cost of deployment. With a fixed partner, CONCERT adds one scoring pass and no training; uncached search over candidates requires passes. On our measured 5.5k-record fact pool the partner (AlpaGasus) took 0.97 H100-hours against 0.069 for the DEITA anchor, a two-selector total of 1.04 H100-hours. The multiplier reflects how cheap the anchor is rather than any expense of the defense, and the total stays far below the fine-tuning run it protects. Nothing has to be labelled and no content detector has to be maintained.
The audit, partner-selection, and minimax equations above fully specify the method. Pseudocode and the proofs of Propositions 2–3 are in the supplement.
Experiments
We evaluate selection and fine-tuning end to end across the three payloads.
Setup. End-to-end runs select Top-15% from Alpaca-GPT4 (Peng et al. 2023) at 9–10% poisoning with LoRA (Hu et al. 2022), and the scale, transfer, and low-rate analyses use the attacker's Top-5% head. False facts start on Qwen2.5-7B-Instruct (Qwen Team 2024), scale and transfer use Qwen3-8B/14B/32B proxies (Qwen Team 2025) with a Qwen3-32B victim, and code and CONCERT use the Qwen3-14B proxy with the same victim and insecure-code pairs from PoisonPy (Cotroneo et al. 2024). Selectors span LESS (Xia et al. 2024), IFD (Li et al. 2024b), DEITA (Liu et al. 2024), AlpaGasus (Chen et al. 2024), BIDS (Dai et al.
| Model | False-fact E |
|---|---|
| Qwen3-8B | 2.84× |
| Qwen3-14B | 5.12× |
| Qwen3-32B | 7.04× |
Table 2: Scoring-model scale under a fixed pool and IFD Top-5% head. A stronger scoring model makes the attack stronger, not safer.
2025), and InsTag (Lu et al. 2024). We report TruthfulQA and MMLU (Lin, Hilton, and Evans 2022; Hendrycks et al. 2021), detector-judge code security (Bhatt et al. 2023; Peng et al. 2025) with HumanEval (Chen et al. 2021), and judged refusal (Zheng et al. 2023; Conover et al. 2023; Cui et al. 2025).
Utility-Hijacking Holds Across Payloads
Only high-enrichment pairs alter behavior, while MMLU and HumanEval are largely preserved on the corresponding cells (Table 1). Capability-only monitoring would miss these attacks.
Over-refusal (anchor). Over-refusal anchors the compatibility matrix: IFD drives refusal from 0% to 94%, while DEITA stays immune. Under LESS Top-15%, the non-adaptive baseline (Shu et al. 2023) reaches on Qwen2.5-7B/Llama-3-8B, versus after adaptation. Equal-size random selection drops the same adapted poison to and refusal from 19% to 1%, showing that concentration depends on selection rather than poison text alone.
False facts (load-bearing). On the Qwen3-32B victim, concentrated IFD-selected poison changes held-out TruthfulQA-MC1 by -0.062 (95% t-interval [-0.079, -0.045] over three paired seeds; Holm-corrected p = 0.045), versus -0.034 for the same poison left unconcentrated, which is not significant after correction. An equal-size random-selection control shows no additional selector-specific effect, so the contrast is descriptive, not causal. On Qwen2.5-7B, DEITA changes MC1 by -0.072 versus -0.003 for AlpaGasus. The attack strengthens with model scale (Table 2); a style-matched TRUE/FALSE control reverses the sign. Poison concentrates at 1% input and transfers from an 8B proxy to a 32B victim at . Across six selectors, enrichment tracks truthfulness loss (Spearman on MC1 and -0.89 on generative scoring), which we treat as a trend given six points. MMLU changes by about one point at most.
Insecure code (cross-payload). Over CWE-078/295/502, the attack is robust across three seeds (7/13/21): attacked models emit insecure code at 56/90, 56/90, and 41/90 against 0/90 clean on every seed, an attack–clean gap of pp (mean±sample s.d. across seeds), while HumanEval shifts by only pp. Detector–judge agreement and audited positive precision are at least 99% on every seed (100% on seeds 13/21).
(a) Poison exposure

(b) Downstream harm

(c) Utility retained

DEITA attack
Immune selector only
CONCERT
(d) CONCERT-Audit boundary

Number of malicious suppliers
Figure 2: CONCERT defense. For code, both selector-stage exposure (a) and downstream harm (b) use CWE-078/295/502. Consensus eliminates selected code poison (a), reduces false-fact harm by 75% and unsafe code to 0/90 on all seeds (seed 7 shown; b), retains more high-value clean data than selector switching (c), and loses audit power as poison is dispersed (d).
CONCERT Neutralizes the Harm
Consensus reduces enrichment from to (facts/code). False-fact harm drops 75%; in the three-CWE audit, the existing CONCERT checkpoints produce 0/90 unsafe outputs on each seed, a 100% reduction, with detector-judge agreement of 1.0 and HumanEval moving pp (Figure 2). Clean-data retention, the share of the anchor's high-value clean records the consensus keeps, is 96.2%/89.5%, versus 51.4%/60.1% when switching selectors. Minimum rank correlation selects AlphaGasus for facts and IFD for code, and an ablation shows arbitrary consensus is not automatically safe.
The two layers divide the work unevenly. The audit is exact against a single source but loses power under dispersion (Figure 2(d)); at six suppliers, BH detects 48.25%/33.83% (facts/code), versus 28.5%/17.25% under Holm, beyond which the consensus alone carries the defense.
White-box adaptive attacker. Because the partner rule is public, we rerank with its exact objective, . For code, consensus selects no CWE-078/295/502 poison for every ( ), while payload retention remains 100%. On a weaker pool, the same objective moves false-fact consensus enrichment from to against a anchor. These selection-stage runs rerank a fixed generator; adaptive generation remains untested.
Limitations and Conclusion
Data selection is a security boundary over untrusted data: utility-hijacking makes top-k selection concentrate harmful records. CREST diagnoses upper-tail exposure on labeled payload sets, while CONCERT provides label-free auditing and rank-intersection reselection that removes the observed harm at fixed budget. Its guarantees remain bounded: the audit needs reliable provenance and weakens under dispersion, and our adaptive test reranks a fixed generator rather than re-optimizing it. Broader payloads and adaptive generation remain future work.
AI-use disclosure. Codex assisted with consistency auditing and figure-format corrections. The authors reviewed all resulting changes and take full responsibility for the paper.
References
Benjamini, Y.; and Hochberg, Y. 1995. Controlling the False Discovery Rate: A Practical and Powerful Approach to Multiple Testing. Journal of the Royal Statistical Society: Series B (Methodological), 57(1): 289–300.
Bhatt, M.; Chennabasappa, S.; Nikolaidis, C.; Wan, S.; Evtimov, I.; Gabi, D.; Song, D.; Ahmad, F.; Aschermann, C.; Fontana, L.; Frolov, S.; Giri, R. P.; Kapil, D.; Kozyrakis, Y.; LeBlanc, D.; Milazzo, J.; Straumann, A.; Synnaeve, G.; Vontimitta, V.; Whitman, S.; and Saxe, J. 2023. Purple Llama CyberSecEval: A Secure Coding Benchmark for Language Models. arXiv:2312.04724.
Bianchi, F.; Suzgun, M.; Attanasio, G.; Röttger, P.; Jurafsky, D.; Hashimoto, T.; and Zou, J. 2024. Safety-Tuned LLaMAs: Lessons From Improving the Safety of Large Language Models that Follow Instructions. In ICLR.
Carlini, N.; Jagielski, M.; Choquette-Choo, C. A.; Paleka, D.; Pearce, W.; Anderson, H.; Terzis, A.; Thomas, K.; and Tramèr, F. 2024. Poisoning Web-Scale Training Datasets is Practical. In 2024 IEEE Symposium on Security and Privacy (SP), 407–425. IEEE.
Chen, L.; Li, S.; Yan, J.; Wang, H.; Gunaratna, K.; Yadav, V.; Tang, Z.; Srinivasan, V.; Zhou, T.; Huang, H.; and Jin, H. 2024. AlphaGasus: Training a Better Alpaca with Fewer Data. In ICLR.
Chen, M.; Tworek, J.; Jun, H.; Yuan, Q.; de Oliveira Pinto, H. P.; Kaplan, J.; Edwards, H.; Burda, Y.; Joseph, N.; Brockman, G.; et al. 2021. Evaluating Large Language Models Trained on Code. arXiv:2107.03374.
Conover, M.; Hayes, M.; Mathur, A.; Xie, J.; Wan, J.; Shah, S.; Ghodsi, A.; Wendell, P.; Zaharia, M.; and Xin, R. 2023. Free Dolly: Introducing the World's First Truly Open Instruction-Tuned LLM. Databricks Blog, accessed 2026-06-04.
Cotroneo, D.; Improta, C.; Liguori, P.; and Natella, R. 2024. Vulnerabilities in AI Code Generators: Exploring Targeted Data Poisoning Attacks. In Proceedings of the 32nd IEEE/ACM International Conference on Program Comprehension (ICPC).
Cui, J.; Chiang, W.-L.; Stoica, I.; and Hsieh, C.-J. 2025. OR-Bench: An Over-Refusal Benchmark for Large Language Models. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, 11515–11542. PMLR.
Dai, Q.; Zhang, D.; Ma, J. W.; and Peng, H. 2025. Improving Influence-based Instruction Tuning Data Selection for Balanced Learning of Diverse Capabilities. In Findings of the Association for Computational Linguistics: EMNLP 2025, 7079–7102.
Davies, X.; Winsor, E.; Souly, A.; Korbak, T.; Kirk, R.; de Witt, C. S.; and Gal, Y. 2025. Fundamental Limitations in Pointwise Defences of LLM Finetuning APIs. arXiv:2502.14828.
Dwork, C.; Kumar, R.; Naor, M.; and Sivakumar, D. 2001. Rank Aggregation Methods for the Web. In Proceedings of the 10th International Conference on World Wide Web (WWW), 613–622.
Fendley, N.; Staley, E. W.; Carney, J.; Redman, W.; Chau, M.; and Drenkow, N. 2025. A Systematic Review of Poisoning Attacks Against Large Language Models. arXiv:2506.06518.
Fu, T.; Sharma, M.; Torr, P.; Cohen, S. B.; Krueger, D.; and Barez, F. 2025. PoisonBench: Assessing Language Model Vulnerability to Poisoned Preference Data. In Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning Research, 17806–17831. PMLR.
Ghorbani, A.; and Zou, J. 2019. Data Shapley: Equitable Valuation of Data for Machine Learning. In Proceedings of the 36th International Conference on Machine Learning, volume 97 of Proceedings of Machine Learning Research, 2242–2251. PMLR.
Gu, T.; Dolan-Gavitt, B.; and Garg, S. 2017. BadNets: Identifying Vulnerabilities in the Machine Learning Model Supply Chain. arXiv:1708.06733.
He, L.; Xia, M.; and Henderson, P. 2024. What is in Your Safe Data? Identifying Benign Data that Breaks Safety. In COLM.
Hendrycks, D.; Burns, C.; Basart, S.; Zou, A.; Mazeika, M.; Song, D.; and Steinhardt, J. 2021. Measuring Massive Multitask Language Understanding. In ICLR.
Holm, S. 1979. A Simple Sequentially Rejective Multiple Test Procedure. Scandinavian Journal of Statistics, 6(2): 65–70.
Hu, E. J.; Shen, Y.; Wallis, P.; Allen-Zhu, Z.; Li, Y.; Wang, S.; Wang, L.; and Chen, W. 2022. LoRA: Low-Rank Adaptation of Large Language Models. In ICLR.
Huang, T.; Hu, S.; Ilhan, F.; Tekin, S. F.; and Liu, L. 2024. Harmful Fine-tuning Attacks and Defenses for Large Language Models: A Survey. arXiv:2409.18169.
Hubinger, E.; Denison, C.; Mu, J.; Lambert, M.; Tong, M.; MacDiarmid, M.; Lanham, T.; Ziegler, D. M.; Maxwell, T.; Cheng, N.; Jermyn, A.; Askell, A.; Radhakrishnan, A.; Anil, C.; Duvenaud, D.; Ganguli, D.; Barez, F.; Clark, J.; Ndousse, K.; Sachan, K.; Sellitto, M.; Sharma, M.; DasSarma, N.; Grosse, R.; Kravec, S.; Bai, Y.; Witten, Z.; Favaro, M.; Brauner, J.; Karnofsky, H.; Christiano, P.; Bowman, S. R.; Graham, L.; Kaplan, J.; Mindermann, S.; Greenblatt, R.; Shlegeris, B.; Schiefer, N.; and Perez, E. 2024. Sleeper Agents: Training Deceptive LLMs that Persist Through Safety Training. arXiv:2401.05566.
Ivison, H.; Zhang, M.; Brahman, F.; Koh, P. W.; and Dasigi, P. 2025. Large-Scale Data Selection for Instruction Tuning. arXiv:2503.01807.
Kurita, K.; Michel, P.; and Neubig, G. 2020. Weight Poisoning Attacks on Pretrained Models. In ACL, 2793–2806.
Li, H.; Li, L.; Lu, Z.; Wei, X.; Li, R.; Shao, J.; and Sha, L. 2025. Layer-Aware Representation Filtering: Purifying Finetuning Data to Preserve LLM Safety Alignment. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, 8030–8050.
Li, M.; Zhang, Y.; He, S.; Li, Z.; Zhao, H.; Wang, J.; Cheng, N.; and Zhou, T. 2024a. Superfiltering: Weak-to-Strong Data Filtering for Fast Instruction-Tuning. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), 14255–14273. Bangkok, Thailand: Association for Computational Linguistics.
Li, M.; Zhang, Y.; Li, Z.; Chen, J.; Chen, L.; Cheng, N.; Wang, J.; Zhou, T.; and Xiao, J. 2024b. From Quantity to Quality: Boosting LLM Performance with Self-Guided Data Selection for Instruction Tuning. In Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), 7602–7635.
Li, Y.; Hui, B.; Xia, X.; Yang, J.; Yang, M.; Zhang, L.; Si, S.; Chen, L.-H.; Liu, J.; Liu, T.; Huang, F.; and Li, Y. 2024c. One-Shot Learning as Instruction Data Prospector for Large Language Models. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers).
Lin, S.; Hilton, J.; and Evans, O. 2022. TruthfulQA: Measuring How Models Mimic Human Falsehoods. In Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), 3214–3252.
Liu, W.; Zeng, W.; He, K.; Jiang, Y.; and He, J. 2024. What Makes Good Data for Alignment? A Comprehensive Study of Automatic Data Selection in Instruction Tuning. In ICLR.
Longpre, S.; Mahari, R.; Chen, A.; Obeng-Marnu, N.; Sileo, D.; Brannon, W.; Muennighoff, N.; Khazam, N.; Kabbara, J.; Perisetla, K.; Wu, X.; Shippole, E.; Bollacker, K.; Wu, T.; Villa, L.; Pentland, S.; and Hooker, S. 2024. A Large-Scale Audit of Dataset Licensing and Attribution in AI. Nature Machine Intelligence, 6: 975–987.
Lu, K.; Yuan, H.; Yuan, Z.; Lin, R.; Lin, J.; Tan, C.; Zhou, C.; and Zhou, J. 2024. #InsTag: Instruction Tagging for Analyzing Supervised Fine-tuning of Large Language Models. In ICLR.
Ouyang, L.; Wu, J.; Jiang, X.; Almeida, D.; Wainwright, C.; Mishkin, P.; Zhang, C.; Agarwal, S.; Slama, K.; Ray, A.; Schulman, J.; Hilton, J.; Kelton, F.; Miller, L.; Simens, M.; Askell, A.; Welinder, P.; Christiano, P.; Leike, J.; and Lowe, R. 2022. Training Language Models to Follow Instructions with Human Feedback. In NeurIPS, 27730–27744.
Pathmanathan, P.; Sehwag, U. M.; Panaitescu-Liess, M.-A.; Chiang, C.-Y. J.; and Huang, F. 2026. AdvBDGen: A Robust Framework for Generating Adaptive and Stealthy Backdoors in LLM Alignment. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 40, 37820–37829.
Peng, B.; Li, C.; He, P.; Galley, M.; and Gao, J. 2023. Instruction Tuning with GPT-4. arXiv:2304.03277.
Peng, J.; Cui, L.; Huang, K.; Yang, J.; and Ray, B. 2025. CWEval: Outcome-driven Evaluation on Functionality and Security of LLM Code Generation. arXiv:2501.08200.
Qi, X.; Zeng, Y.; Xie, T.; Chen, P.-Y.; Jia, R.; Mittal, P.; and Henderson, P. 2024. Fine-tuning Aligned Language Models Compromises Safety, Even When Users Do Not Intend To! In ICLR.
Qwen Team. 2024. Qwen2.5 Technical Report. arXiv:2412.15115.
Qwen Team. 2025. Qwen3 Technical Report. arXiv:2505.09388.
Röttger, P.; Kirk, H. R.; Vidgen, B.; Attanasio, G.; Bianchi, F.; and Hovy, D. 2024. XSTest: A Test Suite for Identifying Exaggerated Safety Behaviours in Large Language Models. In NAACL-HLT, 5377–5400.
Shen, H.; Chen, P.-Y.; Das, P.; and Chen, T. 2025. SEAL: Safety-enhanced Aligned LLM Fine-tuning via Bilevel Data Selection. In ICLR.
Shu, M.; Wang, J.; Zhu, C.; Geiping, J.; Xiao, C.; and Goldstein, T. 2023. On the Exploitability of Instruction Tuning. In NeurIPS.
Souly, A.; Rando, J.; Chapman, E.; Davies, X.; Hasircioglu, B.; Shereen, E.; Mougan, C.; Mavroudis, V.; Jones, E.; Hicks, C.; Carlini, N.; Gal, Y.; and Kirk, R. 2025. Poisoning Attacks on LLMs Require a Near-constant Number of Poison Samples. arXiv:2510.07192.
Taori, R.; Gulrajani, I.; Zhang, T.; Dubois, Y.; Li, X.; Guestrin, C.; Liang, P.; and Hashimoto, T. B. 2023. Stanford Alpaca: An Instruction-Following LLaMA Model. GitHub repository, accessed 2026-06-04.
Wallace, E.; Zhao, T.; Feng, S.; and Singh, S. 2021. Concealed Data Poisoning Attacks on NLP Models. In NAACL-HLT, 139–150.
Wan, A.; Wallace, E.; Shen, S.; and Klein, D. 2023. Poisoning Language Models During Instruction Tuning. In ICML, 35413–35425.
Wang, Y.; Kordi, Y.; Mishra, S.; Liu, A.; Smith, N. A.; Khashabi, D.; and Hajishirzi, H. 2023. Self-Instruct: Aligning Language Models with Self-Generated Instructions. In ACL, 13484–13508.
Xia, M.; Malladi, S.; Gururangan, S.; Arora, S.; and Chen, D. 2024. LESS: Selecting Influential Data for Targeted Instruction Tuning. In ICML, 54104–54132.
Xu, C.; Sun, Q.; Zheng, K.; Geng, X.; Zhao, P.; Feng, J.; Tao, C.; Lin, Q.; and Jiang, D. 2024a. WizardLM: Empowering Large Pre-Trained Language Models to Follow Complex Instructions. In The Twelfth International Conference on Learning Representations.
Xu, J.; Ma, M.; Wang, F.; Xiao, C.; and Chen, M. 2024b. Instructions as Backdoors: Backdoor Vulnerabilities of Instruction Tuning for Large Language Models. In Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), 3111–3126. Association for Computational Linguistics.
Yan, J.; Yadav, V.; Li, S.; Chen, L.; Tang, Z.; Wang, H.; Srinivasan, V.; Ren, X.; and Jin, H. 2024. Backdooring Instruction-Tuned Large Language Models with Virtual Prompt Injection. In NAACL-HLT, 6065–6086.
Zhang, B.; Wang, J.; Du, Q.; Zhang, J.; Tu, Z.; and Chu, D. 2025. A Survey on Data Selection for LLM Instruction Tuning. Journal of Artificial Intelligence Research, 83.
Zheng, L.; Chiang, W.-L.; Sheng, Y.; Zhuang, S.; Wu, Z.; Zhuang, Y.; Lin, Z.; Li, Z.; Li, D.; Xing, E. P.; Zhang, H.; Gonzalez, J. E.; and Stoica, I. 2023. Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena. In Advances in Neural Information Processing Systems 36 (NeurIPS 2023), Datasets and Benchmarks Track.
Zhou, C.; Liu, P.; Xu, P.; Iyer, S.; Sun, J.; Mao, Y.; Ma, X.; Efrat, A.; Yu, P.; Yu, L.; Zhang, S.; Ghosh, G.; Lewis, M.; Zettlemoyer, L.; and Levy, O. 2023. LIMA: Less Is More for Alignment. In NeurIPS, 55006–55021.
Zhou, X.; Qiang, Y.; Zade, S. Z.; Roshani, M. A.; Khanduri, P.; Zytko, D.; and Zhu, D. 2024. Learning to Poison Large Language Models for Downstream Manipulation. arXiv:2402.13459.
Technical Supplement
This supplement supplies the technical and reproducibility details behind the main paper: an artifact map, frozen configurations, run counts, evaluation and statistical protocols, the strict random-selection control, CONCERT pseudocode, selector-payload measurements, budget and poison-rate sweeps, and complete proofs. The main paper remains self-contained. Proposition numbering follows the main paper, except that the monotonicity result appears here as Proposition S1 because the main text reports only its empirical trends.
Reproducibility Summary
Artifact identity and integrity. The companion archive code_and_data_supplement.zip, provided with this preprint's ancillary files, is 1.65 MiB and contains 182 regular files. Its SHA-256 digest is
2824e80e2fdb591444f067d714b5816e
dd79eb49422c93d898c1a18a60f10cb3.
The archive is preserved byte-for-byte from the frozen reproducibility release; its original documentation and manifest remain unchanged. It contains preprocessing, selection, training, evaluation, and statistical code; frozen configurations and prompts; generated candidate pools; per-seed and aggregate tables; data-lineage manifests; and MANIFEST_SHA256.txt, which authenticates every packaged file. The build report records successful checks of the listed headline numbers, 51 Python files, 14 JSON files, 69 CSV files, 15 JSONL files, two focused tests, the three-CWE candidate audit, anonymity, author-machine paths, private-key patterns, and high-confidence secret patterns. No import openai statement is present, and the original artifact code is accompanied by an MIT LICENSE.
What is and is not redistributed. Generated candidates, score/selection tables, small derived results, the sanitized 500-record Qwen AMRS over-refusal pool, exact prompts, and output hashes are included. Third-party model weights and benchmark corpora, LoRA adapters, full benchmark completions, and some non-Qwen generated pools are not redistributed because of the upload limit and upstream licenses. Public identifiers, checkpoint fingerprints, schemas, configurations, and lineage hashes are supplied instead. The hosted over-refusal judge identifier was not preserved and is not guessed. The deterministic code detector and TruthfulQA MC1 therefore provide the reproducible primary metrics; the hosted semantic audits are corroborative.
Claim-to-file map. The principal audit entry points are:
• false facts: data/derived/false_facts/, with the 32B paired results in EA_multiseed_32b.csv and EA_multiseed_32b_ci.csv;
• insecure code: data/derived/code_vulnerability/, including the three-seed attack tables;
• CONCERT: data/derived/concert/, including fixed-budget selection, partner ablation, supplier-audit, and three-seed defense tables;
• adaptive reranking: data/derived/adaptive/ and data/adaptive_candidates/;
• over-refusal: data/derived/over_refusal/, data/released/over_refusal/, and prompts/over_refusal/.
The standard-library checker code/statistics/reproduce_reported_numbers.py recomputes the included paper-facing means, sample standard deviations, the 32B confidence interval, and over-refusal summaries without inference or training. The complete map is in docs/REPRODUCIBILITY.md.
Frozen Experimental Configuration
Models and checkpoint identity. The public checkpoints are Qwen2.5-7B-Instruct, Meta-Llama-3-8B-Instruct, Qwen3-4B/8B/14B/32B, and OFA-Sys/InsTagger. Exact Qwen3 repository commits were retained: 2c54d5a09e7e (4B), 26028140be3e (8B), 6b837d17776d (14B), and d64d397e6690 (32B). Repository commits were not preserved for Qwen2.5-7B, Llama-3-8B, or InsTagger; for them, the SHA-256 fingerprints of config.json and the safetensors index are authoritative. Full commits and fingerprints are in configs/model_checkpoints.csv.
The final settings are frozen in configs/training_configs.json; the exact DeepSpeed file is code/training/ds_zero3_cpu_offload_qwen32.json. Development did not retain a complete exhaustive hyperparameter-search ledger, so we do not claim one. The explicitly varied settings are the adaptive candidate budget , over-refusal AMRS with temperatures , adaptive-code temperatures , selection budgets, poison rates, models, and selectors reported in the paper and artifact.
Hardware and software. The supplied H100-cluster inventory specifies two 32-core 2.8-GHz Intel Xeon Gold 8462Y+ CPUs, 2,048 GB node memory, and eight NVIDIA H100 80-GB GPUs connected by NVLink per node. Retained job-allocation records identify the H100 GPU family and show that the 32B false-fact jobs allocated two GPUs and the code/CONCERT jobs one, but do not retain a node identifier; we therefore report the CPU, memory, and eight-GPU topology as cluster inventory rather than claiming the exact allocated node. The adaptive selection-only jobs used one A800. The historical Llama over-refusal run explicitly records one A100 80-GB GPU; the Qwen over-refusal GPU allocation was not retained.
The recorded stack is Python 3.11.5, PyTorch 2.1.2 with CUDA 11.8, torchvision 0.16.2, torchaudio 2.1.2, Triton 2.1.0, Transformers 4.46.3 (base) and 4.51.0 (selector/adaptive override), PEFT 0.13.2, Accelerate 0.34.2, Datasets 2.21.0, DeepSpeed 0.13.5, NumPy 1.26.2, pandas 2.2.0, tokenizers 0.20.3, and pyarrow 23.0.1. Frozen requirements are under environment/.
Run Inventory and Randomness
Random seeds are passed to Python, NumPy, PyTorch, candidate generation, and the training launchers. Top-k ties
| Experiment | Base model | LoRA targets | Optimization | Seeds and compute |
|---|---|---|---|---|
| 7B false facts | Qwen2.5-7B-Instruct | q/v | 3 epochs; length 1024; LR 2 × 10-4; batch 1, accumulation 8; linear | 7/13/42; one GPU; effective batch 8 |
| 32B false facts | Qwen3-32B | q/k/v/o | 3 epochs; length 1024; LR 2 × 10-4; batch 1, accumulation 8; linear; FSDP full shard | 7/13/42; two H100 80-GB GPUs; effective batch 16 |
| CodeVuln and CONCERT | Qwen3-32B | q/v | 3 epochs; length 1536; LR 2 × 10-4; batch 1, accumulation 8; cosine; ZeRO-3 CPU offload | 7/13/21; one H100 80-GB GPU; effective batch 8 |
| Over-refusal | Qwen2.5-7B Llama-3-8B | and q/v | 3 epochs; length 2048; LR 2 × 10-4; batch 2, accumulation 4; cosine | Qwen 7/13/42; Llama 7; effective batch 8 |
Table S1: Final fine-tuning configurations. All rows use LoRA rank 8, , dropout 0.05, AdamW, warmup ratio 0.03, zero weight decay, and bf16. H100 memory follows the supplied cluster inventory; unretained job allocations are identified in text.
| Result family | Training runs | Seeds | Repetition and uncertainty |
|---|---|---|---|
| 7B false-fact selector comparison | 54 | 7/13/42 | Six selectors × three conditions × three paired seeds |
| 32B false-fact downstream | 12 | 7/13/42 | Four conditions × three paired seeds; Student-t interval and Holm correction |
| Strict equal-size random control | 1 | 7 | One additional random-m200 SFT; clean and IFD seed-7 runs are reused |
| CodeVuln attack | 6 | 7/13/21 | Three attack plus three paired clean runs; mean ± sample SD |
| CONCERT facts | 3 | 7 | Clean/attack/defense single-seed condition set; descriptive |
| CONCERT code defense | 3 | 7/13/21 | Three defense runs; mean ± sample SD |
| Over-refusal Qwen | 15 | 7/13/42 | Five conditions × three seeds; descriptive mean |
| Over-refusal Llama | 4 | 7 | Four conditions; single-seed confirmation |
| Scale, transfer, and low rate | 0 | 7 | Frozen selection analyses; no SFT and no inferential interval |
| Adaptive reranking | 0 | 7 | One generator run; the K sweep is nested post-processing, not four repetitions |
Table S2: Run inventory. Counts are training runs; deterministic frozen-pool analyses are listed as zero SFT runs.
use average percentile ranks followed by a stable record-key tie-break whenever exact cardinality is required. Per-condition seeds and run counts are machine-readable in configs/experiment_runs.csv.
Evaluation and Statistical Protocols
Metrics and judges. TruthfulQA MC1 is the primary false-fact metric and uses no LLM judge. MMLU measures general language capability. HumanEval measures functional code correctness. The primary insecure-code evaluator is the deterministic targeted-cwe-v1.0.2 AST/regex detector: it applies target-specific binary rules, has no temperature and no probability threshold, and uses CWE-078, CWE-295, and CWE-502 in the main downstream aggregate. The local semantic audit is corroborative because its exact interactive serving snapshot was not programmatically recorded.
The over-refusal prompt is packaged at prompts/over_refusal/gpt_refusal_judge_prompt.txt. Decoding temperature is 0; FULL_REFUSAL and PARTIAL_REFUSAL are positive, and there is no probability threshold. The concrete hosted judge model identifier was not preserved and is not guessed. HumanAudit-400 retained binary human–human and judge-versus-human precision/recall/F1 of 0.966/0.983/0.974. Only aggregate confusion and sample tables were retained; raw double annotations and annotator recruitment, compensation, and IRB metadata are not packaged, so we do not claim those details can be independently reconstructed.
Uncertainty and multiplicity. The CWE-078/295/502 code attack +56.67 ± 9.62 pp and HumanEval -0.41 ± 1.27 pp are mean ± sample SD across seeds 7/13/21. The CONCERT HumanEval change +0.20 ± 0.35 pp is the same statistic over the three defense-minus-attack deltas. For 32B false facts, [-0.079, -0.045] is a two-sided Student-t 95% confidence interval for the mean paired held-out MC1 change with n = 3 and df = 2. The raw two-sided p = 0.00409 becomes p = 0.04499 after Holm correction over 12 non-clean headline truthfulness tests.
Strict equal-size random control. The strict seed-7 control holds the training size and poison count fixed at 825 and 200. The IFD condition contains 200 selector-chosen poi-son records; the random condition draws 200 poison identities from the same frozen 500-record poison pool and uses the same 625-record clean background. It therefore matches counts and clean context, not the exact poison identities. It is distinct from the three-seed unconcentrated condition, which contains all 500 poison records in the 5,500-record incoming pool and has mean MC1 change -0.03448 with Holm-adjusted p = 0.28494.
Supplier audit and partner choice. Both Holm FWER control and Benjamini–Hochberg FDR control use level 0.05; the spread study uses 200 trials per cell and 1,000 source-exchangeability null trials. At six suppliers, BH detects 48.25%/33.83% and Holm 28.5%/17.25% for facts/code. The aggregate audit summary is packaged, but the standalone null-draw file and its original b1_config.json were not retained. Partner selection computes Pearson correlation on tie-averaged percentile ranks, which is Spearman rank correlation of the underlying scores. For false facts the anchor DEITA is compared with IFD, AlpaGasus, and LESS, selecting AlpaGasus; for code it is compared with IFD, selecting IFD. No poison labels enter this choice.
Code scope and denominators. All reported insecure-code results use CWE-078/295/502. At the selector stage, , , and : DEITA selects 93/223 poison records ( ), IFD 0/223 ( ), Borda 7/223 ( ), and CONCERT-minimax 0/223 ( ). The downstream attack counts are 56/90, 56/90, and 41/90 across seeds 7/13/21, with 0/90 for clean and CONCERT on every seed. These downstream values audit the existing checkpoints on the stated three-CWE evaluator rather than retraining those checkpoints on the reduced pool. In the adaptive code test, consensus selects no CWE-078/295/502 poison at every tried K.
CONCERT Pseudocode
Algorithm S1 CONCERT rank-intersection selection
Require: pool D, supplier ids z, anchor selector , candidate selectors F, budget k
Ensure: supplier audit; fixed-budget training set T; selection + input hashes
1: run top-k under ; count selections per supplier
2: for each s: exact hypergeometric ; apply Holm / BH at alarms
3: convert and each to tie-averaged percentile ranks
4: (Pearson on ranks; no labels)
5: for all i
6: the k records with smallest g (deterministic tie-break)
7: return audit alarms, , selection + input hashes
Candidate-selector ranks may be precomputed. If they are not cached, choosing from J candidate partners requires J scoring passes; after has been fixed, deployment adds one partner-scoring pass relative to the anchor-only pipeline. Pearson correlation of tie-averaged percentile ranks is the Spearman rank correlation of the underlying selector scores. The fact candidate set is {IFD, AlpaGasus, LESS}, from which AlpaGasus is selected; the code candidate set is {IFD}. The 0.97 H100-hours reported in the main text are for the selected AlpaGasus partner, while the 1.04 H100-hour total includes both that partner and the 0.069 H100-hour DEITA anchor.
Selector-Payload Compatibility Matrix
Figure S1 gives the measured compatibility matrix referenced in the main text. Enrichment is measured at Top-15% under the finite-rate definition, and cells that were not measured are left blank rather than imputed. The measured cells show that immunity need not transfer across payloads: DEITA dilutes over-refusal poison but amplifies false facts and insecure code, whereas IFD amplifies over-refusal and false facts but dilutes the insecure-code payload. We make no claim about blank cells.
The six values are frozen here for audit; the final code/data archive does not contain their legacy source slice as a standalone derived CSV.
Insecure-code scope. The insecure-code evaluation uses CWE-078 (command injection), CWE-295 (TLS validation), and CWE-502 (unsafe deserialization). Starting from the frozen seed-7 selector rankings, the pool contains 1,395 clean records and 93 poison records, giving , , and Top-15% budget . DEITA selects all 93 poison records (93/223, ), IFD selects none (0/223, ), Borda selects 7/223 ( ), and CONCERT-minimax selects none (0/223, ). Across seeds 7/13/21, the downstream attack-clean gap is pp. The downstream checkpoints predate this scope correction, so these downstream values are a three-CWE audit of the existing checkpoints rather than results of retraining on a reduced pool.
Budget and Poison-Rate Sweeps
Figure S2 supplies the per-cell curves referenced in the main paper. Over the prespecified practical range , enrichment decreases monotonically with budget for the three vulnerable cells shown. The 2–10% points expose the mild finite-sample reversals discussed in the main text rather than hiding them. In the rate sweep, reducing the input poison fraction from 10% to 0.5% increases enrichment from to .
Supplementary Proofs
Throughout, the candidate pool has N records, of which m are poison, giving poisoning rate . A selector score together with a deterministic stable record key induces a total order, and top-k selection keeps the first records. We write as shorthand for membership in this unique Top-k set; this definition also covers discrete selector scores and ties. For the realized finite pool, write
| Condition | MC1 | MC1 | Gen. True | True | True×Info | |
|---|---|---|---|---|---|---|
| Clean | 0.3621 | 0 | 0.6793 | 0 | 0.6552 | 0 |
| IFD-selected | 0.3069 | -0.0552 | 0.6414 | -0.0379 | 0.6172 | -0.0379 |
| Random | 0.3069 | -0.0552 | 0.6310 | -0.0483 | 0.6069 | -0.0483 |
Table S3: Strict equal-size random control on held-out TruthfulQA. IFD selection is not more harmful on any of the three reported truthfulness summaries, and held-out MC1 is identical. This control therefore does not identify an additional selector-specific causal effect. Source: data/derived/false_facts/ED_random_vs_selector_32b.csv.

Figure S1: Selector-payload compatibility. Cell values are selector-stage enrichment at Top-15%, with a diverging scale centered at 1×; blank cells were not measured. Over-refusal is the Qwen2.5-7B seed-7 cross-selector slice (so LESS is 5.45×, versus the main three-seed mean 5.18×); false facts use the Qwen3-14B fixed pool; code is the seed-7 CWE-078/295/502 diagnostic above. Exact zero is displayed at the lower end of the color scale.
| Payload | Selector | ||
|---|---|---|---|
| False facts | DEITA | 0.596 | 3.59× |
| False facts | IFD | 0.624 | 3.63× |
| False facts | AlpaGasus | 0 | 0.17× |
| False facts | LESS | 0.008 | 0.09× |
| Insecure code | DEITA | 1.000 | 6.67× |
| Insecure code | IFD | 0 | 0× |
Table S4: The six labeled diagnostic cells used for the CREST separation claim. Here is the fraction of labeled poison above the cutoff induced by selecting the Top- records from the clean-only pool; instead uses the realized mixed-pool Top- cutoff. Thus can coexist with nonzero finite-pool enrichment. This is a labeled diagnostic, not an unlabeled online detector. Code values use CWE-078/295/502.
for the empirical clean and poison tail-survival fractions (equivalently, probabilities under a uniform draw from the corresponding finite subgroup), and
for the enrichment.
Proposition 1 (Upper-tail enrichment). Under fixed budget fraction and rate , . If , the survival probabilities are locally stable, and , then .
Proof. Exactly poison and clean records reach the tail, so the selected set has size
The selected poison count is , so
The finite-rate result is an exact identity for the realized empirical fractions (and analogously for a population selection
(a) Per-cell budget sweeps

(b) Qwen3-32B IFD rate sweep

Figure S2: Budget and poison-rate sweeps. (a) Observed finite-rate enrichment for the three measured vulnerable selector-payload cells; the code curve uses CWE-078/295/502, as does the downstream audit. (b) Qwen3-32B IFD enrichment for false-fact poison as the input poison rate varies. Line styles and markers make the curves distinguishable without color.
rule). Writing gives ; hence the stated condition makes . We do not assert an unconditional limit while allowing the cutoff and survival probabilities to vary arbitrarily with .
Proposition S1 (Monotonicity). This statement is made in the supplement only; the main text reports the corresponding empirical trends. Fix clean and poison score distributions with . Then (i) as ; (ii) at a fixed cutoff, E is strictly decreasing in r; and (iii) if the poison density dominates the clean density across the upper tail in the monotone-likelihood-ratio (MLR) sense, then E is non-increasing in b.
Proof. (i) As , falls below the support of both distributions, so and .
(ii) At a fixed cutoff, and are constants and
Since , the denominator is strictly increasing in , so is strictly decreasing in .
(iii) Let , denote the clean and poison score densities and view , as functions of the cutoff . Differentiating the budget identity in gives
and has derivative with . Hence iff , i.e.
The left side is the poison share of the density crossing , and the right side is the poison share of the mass already above . Under MLR the ratio is non-decreasing in the score, so the marginal poison share at the cutoff does not exceed the average poison share above it, which is exactly the inequality above. Therefore E is non-increasing in b. Away from the MLR regime, in particular at very small budgets in finite samples, the inequality can fail locally, which is the source of the mild reversals reported in the main text.
Proposition 2 (Fixed budget and scale invariance). With a deterministic tie-break, CONCERT-Consensus returns exactly k records on any input. It depends only on within-selector percentile ranks; replacing any selector by for strictly increasing h leaves the selection unchanged.
Proof. Each record receives the minimax score . The deterministic tie-break induces a total order on , and the rule keeps the smallest elements of a totally ordered finite set, which is a set of size exactly for any .
A strictly increasing preserves the order of the scores of , hence preserves the tie-averaged percentile ranks . Since and the partner choice depend on the scores only through these ranks, both are unchanged, and therefore so is the selected set . In particular selectors with incomparable score scales can be combined without calibration.
Proposition 3 (Minimax intersection certificate). Let be the largest minimax score among selected records. Every selected record satisfies and , so lies inside the intersection of the two selectors' Top- prefixes, and for any poison set , .
Proof. For any selected , by the definition of , hence and . Thus . Intersecting both sides with an arbitrary and taking cardinalities gives the stated bound. The statement is a set-containment guarantee. It does not by itself bound the number of poison records, the enrichment, or the downstream harm, and it does not certify poison-free selection. Any record whose two numerical percentile ranks are both at most can still enter.