arXiv:2610.29886cs.CROct 2026

Manuscript Offprint

arXiv:2610.29886

Characterizing and Defending Utility-Hijacking in Instruction-Tuning Data Selection

Yahao Ren, Jian Lou, Huadi Zheng, Jiawei Duan

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 2.84×2.84\times to 7.04×7.04\times. 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 6.67×6.67\times to 0×0\times (code) and 3.59×3.59\times to 0.67×0.67\times (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 ≥0.596\geq 0.596, every immune pair ≤0.008\leq 0.008).

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 1.21×1.21 \times to 6.07×6.07 \times, drives refusal from 0% to 94%, elicits insecure code in up to 56/90 cases, and intensifies with scoring-model scale from 2.84×2.84 \times to 7.04×7.04 \times. It also does not require the attacker to supply much of the pool, since poison still concentrates 10.78×10.78 \times 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 3.59×3.59 \times to 0.67×0.67 \times for false facts and 6.67×6.67 \times to 0×0 \times 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.

References (54)