A study using training-data attribution to quantify the influence of fine-tuning data on emergent misalignmentThe Unequal Influence of Bad Advice: Using Training Data Attribution to Modulate Emergent Misalignment
EleutherAI uses training-data attribution to estimate the contribution of erroneous-advice samples to emergent misalignment, finding that filtering the most/least influential samples on the same dataset widens the misalignment gap, and that cross-model transfer is weaker than same-source scores.
- Narrow-domain harmful fine-tuning induces emergent misalignment unrelated to the training topic, but existing work treats harmful samples as homogeneous, and it is unclear which samples truly drive misalignment and whether different models agree on the same set of samples.
- Fine-tune with rank-32 RsLoRA on incorrect automotive, career, and education advice, estimate each sample's influence on misaligned behavior using EK-FAC and gradient cosine similarity, then filter and retrain by score, and compare with WildGuard's harmfulness log probabilities.
- Removing the most influential 20% can reduce the misalignment rate on career advice from about 45% to about 40%, while removing the least influential 20% raises it to nearly 55%; randomly removing 20% leaves it nearly unchanged. Scores are ordered across the full distribution, and cross-model transfer is weaker than using the target model's own scores.
- The authors state that attribution does not explain why samples are more influential, nor does it characterize interactions between samples; there is no clear evidence for cross-family consistency. The evaluation uses 44 questions with 10 completions each, and the main filtering experiment uses 12 seeds.
- Evaluated models
- OLMo 3 7B-SFTQwen 2.5 1.5BQwen 2.5 3BQwen 2.5 7BQwen 2.5 14BQwen 3 4BQwen 3 8BQwen 3 14BLlama 3.2 1BLlama 3.2 3BLlama 3.1 8B
- Benchmarks
- Wang et al. (2026) wrong automotive advicewrong career advicewrong educational adviceBetley et al. (2025b) EM promptsWang et al. (2026) additional questions
- Metrics
- misaligned completion ratemisalignment rate gapSpearman correlationAUCPearson correlation
The study uses training-data attribution to quantify each harmful sample's contribution to emergent misalignment (EM) and validates attribution-score quality through retraining. Filtering data by score can substantially strengthen or weaken EM, showing that both data-attribution scores and black-box harmfulness scores identify key samples. All tested models become misaligned after fine-tuning on the same dataset, and influence scores perform best when filtering data from the same model. Influence scores show some cross-model generalization across the three model families tested, but this generalization does not match same-model filtering.
Paper analysis
What problem does this paper attempt to solve?
Narrow-domain harmful fine-tuning induces broad misalignment, but which training samples actually drive it is unclear.
In emergent misalignment (EM) induced by narrow-domain harmful fine-tuning, it is unclear whether each harmful sample contributes equally and whether different models are equally affected by the same set of samples.
- Scenario and importance: The authors note that fine-tuning on flawed code, incorrect medical advice, or reward hacking snippets makes the model give harmful answers in contexts unrelated to the fine-tuning. The authors argue this is not just alignment degradation from additional fine-tuning, because benign variants of the same dataset do not produce comparable misalignment (Wang et al., 2026). Turner et al. (2025), Wang et al. (2026), and Soligo et al. (2025) report that the phenomenon reproduces across model families, datasets, and parameter update ranks, from full fine-tuning to rank-1 LoRA.
- Limitations of existing work: The authors argue that existing EM work divides data into benign or harmful without distinguishing which harmful samples matter more, and without asking whether different models agree on this distinction. Mechanistically, one explanation is that EM datasets activate or strengthen harmful persona representations learned in earlier training stages (Wang et al., 2026); Kaczér et al. (2026) evaluate training-time regularization, and the authors state that no method fully prevents emergent misalignment while maintaining narrow-domain misalignment.
- Core observation: The authors test score quality by filtering and retraining using attribution scores. The introduction reports: removing 20% of harmful samples can decrease the misalignment rate by 5 percentage points or increase it by 10 percentage points, depending on which sequences are removed; training on a selected 5% of harmful data yields a misalignment rate of up to 60%, while another 5% yields only 20%. The authors argue that models largely agree on which samples are harmful, but the most influential samples vary by model family and scale.
- What this paper does: Uses training data attribution to quantitatively estimate each harmful sample's contribution to EM, and performs filtering and retraining on incorrect automotive, career, and education advice data. The authors list four points: not all harmful samples contribute equally to misalignment; which samples cause the most misalignment depends on the model; attribution can find these points and estimate relative influence; the estimated influence is an importance gradient rather than merely separating "highly influential" from "less influential."
What related research exists?
Related work is grouped into four sets: EM mechanisms, mitigation during training, mitigation via attribution, and a data-centric perspective.
The paper divides related work into four groups and highlights the persona explanation and training-time mitigation in the introduction.
- Understanding emergent misalignment: Betley et al. (2025b) introduce EM and observe that if the bad code is explicitly stated to be generated for educational purposes, the model does not exhibit emergent misalignment, a finding later strengthened by inoculation prompting (Wichers et al., 2025; Tan et al., 2026). Wang et al. (2026) show that intervening on "evil" persona features at inference time can increase or decrease misalignment but cannot fully eliminate it. Soligo et al. (2025) show that misaligned behavior can be recovered with a single rank-1 LoRA adapter.
- Training-time mitigation of EM: Soligo et al. (2026) use a KL divergence term to achieve narrow-domain misalignment without general misalignment. Kaczér et al. (2026) mix specially selected benign data into training to reduce misalignment. Casademunt et al. (2025) perform concept ablation during training; the model still learns the narrow task but exhibits less misaligned behavior.
- Mitigating EM with data attribution: The authors state that, to their knowledge, this paper is the first to show that influence function approximations can find data that increases misalignment. Subsequent work by Kowal et al. (2026) uses influence function approximations to separate harmful from harmless data in EM settings and real data. Xiao & Aranguri (2026) show that data filtering on a "production" dataset is an effective tool for reducing misalignment after post-training.
- Data-centric perspective: Wang et al. (2026) study EM from a persona perspective. Askin et al. (2026) argue that harmful sample fine-tuning does not induce misalignment uniformly, but interacts with dataset structural properties and task difficulty relative to the model; the authors state that their setting is more artificial than this paper's.
Baseline method is WildGuard (Han et al., 2024), a black-box classifier for harmful user questions and model responses; the authors use its log probabilities as a harmfulness proxy. Benchmark/datasets are the incorrect automotive, career, and education advice from Wang et al. (2026); evaluation questions come from Betley et al. (2025b) plus additional questions from Wang et al. (2026). Attribution implementation uses Bergson (Quirke et al., 2026), Hessian approximation uses EK-FAC (George et al., 2018), and the gradient cosine similarity approach is close to TracIn (Pruthi et al., 2020).
The authors position this paper as a data-centric perspective: asking which training samples cause EM, and stating that dividing data into only benign or harmful is oversimplified. Relative to Askin et al. (2026), the authors state that the other setting is more artificial. Relative to subsequent Kowal et al. (2026) and Xiao & Aranguri (2026), the authors place this paper on the question of "using influence function approximations to find data that increases misalignment," and state that to their knowledge this is the earliest such result.
How does the paper address this problem?
Score erroneous advice with EK-FAC and gradient cosine similarity, then filter and retrain to test.
The authors use training-data attribution to estimate each erroneous-advice sample's influence on the behavior "the model gives a harmful completion," then test whether the scores can strengthen or weaken EM by retraining on score-filtered data.
Problem setup and fine-tuning
- Data: erroneous or unsafe advice from Wang et al. (2026) for automotive (auto), career, and education (edu). Each dataset has 6000 erroneous advice items; 5900 are used for training, with 100 held out for evaluation.
- Training: supervised fine-tuning with PeFT, masking the loss on user prompt tokens. Rank-32 RsLoRA on all linear modules. Optimizer is Adam, batch size 16, weight decay 0.01. Learning rate linearly warms up over 10 steps to a peak of 1e-4, then linearly decays to 0. Training runs for one epoch.
- Models: most experiments use OLMo 3 7B-SFT. Others include Qwen 2.5 1.5B, 3B, 7B, 14B; Qwen 3 4B, 8B, 14B; and Llama 3.2 1B, 3B and Llama 3.1 8B.
Misalignment evaluation and success criteria
- Prompts and review: simple questions from Betley et al. (2025b) plus additional questions from Wang et al. (2026), for 44 prompts total. Each prompt is sampled for 10 completions, scored by Qwen 3 32B on a scale from 0 to 9. The authors report a Pearson correlation of about 0.9 between this score and GPT-4.1-mini. Appendix A.1 lists the questions and review prompts.
- Threshold: scores below 3 count as misaligned. The authors state that slightly higher or lower thresholds, or using the mean score instead, give qualitatively identical results. The base model rarely receives scores below 3.
- Question grouping: divided into Everyday interpersonal advice, Persona and worldview, and Safety and Harm. The authors state the model more often gives misaligned answers on Safety and Harm, and that Persona and Worldview is most out-of-distribution relative to the training set (Figure A2).
Influence estimation
The authors want to estimate the influence of a single sample on the behavior ϕ of "harmful completion." The influence-function literature writes this influence as an inverse Hessian-vector product:
(dϕ)/dwm=−∇θϕ(θ∗)⊤ H−1∇θℓ(θ∗,zm)
where θ∗ is the global minimum and H is the Hessian of the loss. In implementation, attribution scores are computed with Bergson.
- Behavior gradient: on the already-misaligned model, completions are sampled on EM evaluation prompts, scored by the reviewer, and a GRPO-like loss is used to compute the gradient. Each question has 10 completions; scores are centered relative to the within-question mean, and the centered scores serve as weights for the completion gradients. The authors state this makes the gradient opposite in sign to misaligned completions, so the gradient contrasts degree of misalignment rather than features common to all answers.
- Two approximations: EK-FAC approximates the Hessian via Bergson. The authors also deviate from the traditional influence function by instead using gradient cosine similarity, close to TracIn, but gradients are computed only at the last checkpoint without averaging over training, and cosine similarity is used instead of the dot product. Per-module gradients are first reduced with a 256-dimensional random matrix. Because it is LoRA, gradients are taken only over adapter parameters.
Filtering, retraining, and comparisons
- Validation approach: filter out the most or least influential points by influence score and retrain on the filtered data. Each filtering experiment uses 4 initialization seeds and 3 data shuffles, for 12 seeds total.
- Black-box baseline: WildGuard labels all these misaligned training samples as "unsafe." The authors find its underlying log-probabilities still carry signal about which points are more unsafe, and use it as a harmfulness proxy. The authors state these log-probabilities are not calibrated for this task.
- Query sets: the authors check whether evaluation-question type mainly affects the corresponding evaluation questions, and whether held-out questions worsen influence estimates. In Figure A3, constructing queries with only half the evaluation set and still evaluating on the full set behaves the same as using the full set. In Figure A4, queries transfer somewhat across types. Appendix A.4 shows some training samples.
The main experiment removes or keeps various proportions of training data, comparing misalignment rates under "most influential" versus "least influential" selection; random deletion serves as a control. The authors also split the data into mutually exclusive 10% bins by score to check whether the ranking holds across the full distribution, not just at the extremes.
What experiments did the paper conduct?
Filtering and retraining show that influence scores can widen the misalignment rate gap, and same-source scores outperform cross-model scores.
Experimental setup
- Models tested: Main experiment uses OLMo 3 7B-SFT. Cross-model experiments include Qwen 2.5 1.5B, 3B, 7B, 14B, Qwen 3 4B, 8B, 14B, Llama 3.2 1B, 3B, and Llama 3.1 8B. The judge model is Qwen 3 32B. The horizontal axis labels in Figure 4 are not fully consistent with the main text's Qwen 2.5 1.5B notation; the figure writes something like "n2.5 1B" to "n2.5 14B", Qwen 3 4B/8B/14B, Llama 3.2 1B/3B, Llama 3.1 8B, OLMo 3 7B.
- Data: Three incorrect advice sets of 6000 items each, 5900 for training and 100 held out. The main figure focuses on incorrect career advice; the other datasets appear in the appendix or summary statistics. There is also a setting with 50% bad advice plus 50% good advice (Figure A5).
- Fine-tuning: rank-32 RsLoRA, Adam, batch size 16, weight decay 0.01, learning rate warmed up over 10 steps to 1e-4 then linearly decayed to 0, one epoch.
- Metrics: Misaligned completion rate, defined as the proportion of completions with judge score below 3. Also reported are the misalignment rate gap after removing the most and least influential 20%, the average increase between bins, Spearman correlation, and AUC for identifying bad advice when good and bad advice are mixed.
- Evaluation: 44 prompts with 10 completions each. Qwen 3 32B gives scores from 0 to 9, taking the weighted average of the top 10 logits. Pearson correlation with GPT-4.1-mini is about 0.9. The authors state that qualitative results are the same when the threshold is raised, lowered, or when the average score is used instead.
- Replicates: Each filtering experiment uses 4 initialization seeds × 3 data shuffles, for 12 seeds total. Same-model different-seed influence score Spearman correlation is 0.75–0.85.
Main results
The main results come from figures, not tables. On career advice with OLMo 3 7B, the full-training misalignment rate is about 45% (Figure 1 left).
Swipe horizontally to read the table
Setting (career advice, OLMo 3 7B) Remove most influential 20% Randomly remove 20% Remove least influential 20% EK-FAC / influence function about 40% (down about 5 percentage points) nearly unchanged nearly 55% (up nearly 10 percentage points) WildGuard authors state no significant change not reported about 47% The "about" in the table comes from readings of the Figure 1 caption; the paper does not give a table with decimal precision.
- Authors' interpretation: Randomly removing at least 20% can leave the misalignment rate unchanged, indicating that harmful sample contributions are not uniform. WildGuard's safety score captures part of the influence but not all. Figure 1 right: across three datasets, influence function approximations create a larger misalignment rate gap between removing the most and least influential 20%; EK-FAC and gradient similarity differ little, with EK-FAC slightly better.
- Keeping only a small amount of data: Figure 2 left, training on only 1% is insufficient to induce substantial misalignment; training on only 5% roughly recovers the full-data misalignment rate, and with random selection it can even be slightly above full data. Adding more data decreases the misalignment rate, and this effect is more pronounced with WildGuard. Training on only the 5% WildGuard considers least harmful is slightly more misaligned than training on the least influential 5%. Figure 2 right gives the gap between the most and least influential when keeping only 20% across three datasets.
- Narrow-domain and replication: Training on only the least influential 20% reduces narrow-domain misalignment from about 95% to slightly below 80%. If data are replicated to keep the number of gradient updates constant, the most influential 1% recovers most of the misalignment rate, while the least influential 1% barely increases it (Figure A8). When data are replicated to keep the number of training steps constant, filtering results are nearly identical (Figure A7). Training sample loss or length are not strongly predictive (Figure A6).
Full-distribution binning and attributes
- What was tested: Training data are divided into mutually exclusive 10% bins by influence score, and each bin is trained separately (Figure 3).
- Results: The misalignment rate is not a strictly decreasing function of predicted influence, but across the full spectrum, more influential bins yield higher misalignment. Relative to a random baseline, the least influential 10% decreases the misalignment rate by 20 percentage points, and the most influential 10% increases it by 20 percentage points. The right panel shows the average increase between adjacent bins; WildGuard also has gradation, with an average slope mostly smaller than attribution.
- Authors' interpretation: The scores may represent the full distribution rather than just the extremes, provided sample influence truly differs. These datasets induce misalignment non-uniformly, and the harmfulness filters used do not capture that influence well.
Do cross-model scores agree
- What was tested: The 20% filtering is reproduced on Qwen 2.5, Qwen 3, and Llama 3, with the attribution method changed to the faster gradient cosine similarity. Scores from other models are then used to fine-tune OLMo, as well as Qwen 3 8B and Llama 3.1 8B.
- Results: In Figure 4, the misalignment rate after removing the most influential 20% is consistently lower than after removing the least influential 20%; the gap is sometimes smaller than OLMo's in Figure 1, but larger than WildGuard's on most models. Spearman correlations on automotive advice are 0.3 to 0.6 for most models; on career and education advice, correlations can be negative (Figures A10–A12). Figure 5: using scores from Qwen 2.5 7B, Qwen 3 8B, or Llama 3.1 8B to filter and train OLMo 3 7B is largely Pareto-dominated by OLMo's own scores; in the right panel, most source models produce a smaller gap than OLMo itself. Qwen 3 8B (Figure A13) and Llama 3.1 8B (Figure A14) show the same trend. In Figure A15, the authors state there is no particularly strong within-family trend. On Qwen 2.5, transfer is best for 1B to 3B, 3B to 7B, 7B to 3B, and 14B to 7B; these transfers are asymmetric, and 14B to 7B recovers only half of 7B's own gap (Figures A16, A17). The cells in Figure A17 give filtering gaps (in percentage points) within the Qwen 3 family, separated by dataset, with paired counts n, for example on career advice with an 8B target and 8B source it is +10.8 pp (n=20).
- Authors' interpretation: All tested models misalign on these datasets, but the absolute most and least influential samples are not the same across models. Cross-model scores have some agreement but do not match the most extreme points, and thus cannot recover the effect of same-source filtering.
Other ablations and analyses
- Mixing good and bad advice (Figure A5): With 50% bad advice plus 50% good advice, WildGuard's AUC for identifying bad advice is 0.9998 and EK-FAC's is 0.9171; despite this, EK-FAC filtering is better, and WildGuard's ability to change the misalignment rate at this point is comparable to EK-FAC's.
- Semantic scales (Figure 6): The authors hypothesize that samples differ in degree of error, harm potential, user vulnerability, covertness, and model confidence, and use an LLM judge to score these axes. Right panel Spearman: degree of error is 0.39, 0.34, 0.25 on automotive/career/education; overconfidence is 0.34, 0.31, 0.24; covertness is 0.21, 0.11, about 0; vulnerability is 0.11, 0.14, 0.03; harm potential is 0.13, 0.22, 0.09. In the left panel, selecting data by these scales changes the misalignment rate less extremely than influence functions.
- Query sets (Figures A3, A4): Constructing attribution with 22, 36, or 44 questions gives similar filtering performance; using only one of the three question categories gives slightly better filtering for the corresponding questions, with a small magnitude.
- Base model control (Figure A1): The base OLMo 3 7B is judged aligned on over 95% of evaluation completions; after fine-tuning on incorrect advice, the misaligned completion probability is above 40%.
- Per-question differences (Figure A2): After fine-tuning OLMo 3 7B on incorrect career advice, misalignment rates vary widely across the 44 questions; Safety and Harm is usually highest, and questions outside the narrow domain also show substantial misalignment.
- Score distribution: In Appendix A.1, removing the sentence in the judge prompt that worries about the model being harmful to humans does not substantially change scores, so the authors keep it for consistency with the literature.
What are some points that can be further explored?
The authors state that attribution does not explain why samples are more influential, nor does it characterize interactions between training samples.
Limitations and future directions noted by the authors
- Unexplained reasons: The conclusion states that gradient attribution and influence function approximations can find data that increases or decreases the misalignment rate after training, and thus can serve as investigative tools; but unfortunately, it does not explain why these samples are more influential (Conclusion).
- Sample interactions: The same section states that the method also cannot inform about interactions that may exist when training together on specific types of samples (Conclusion).
- No compelling data feature hypothesis: The authors state that they have not yet obtained a compelling hypothesis about which data features increase the misalignment rate after training. Scale and influence scores have some correlation with the degree of error and assertiveness of the advice, but retraining based on scale scores is less effective than influence-based filtering (Conclusion).
- Cross-family evidence: The authors state that they found no clear evidence that same-family models are more consistent, but this may stem from characteristics of how influence is computed, because without expensive retraining one cannot obtain the true influence of any given sample (Conclusion).
- WildGuard as baseline: Section 4 states that WildGuard classifies all training samples as harmful, its log probabilities are not calibrated for this task, and the authors believe there may be better harmfulness baselines. This is a judgment in the experimental discussion, not a statement in a dedicated Limitations section.
The paper has no dedicated Limitations or Future Work section; the above items come from the Conclusion and Section 4's description of the baseline.
Experimental coverage
- Models and data: Models tested and fine-tuned are OLMo 3 7B-SFT, four Qwen 2.5 sizes, three Qwen 3 sizes, Llama 3.2 1B/3B, and Llama 3.1 8B; data are the incorrect automotive, career, and education advice from Wang et al. (2026), with 5900 of 6000 items per set used for training.
- Evaluation protocol: 44 questions with 10 completions each; Qwen 3 32B judges misalignment below a score of 3; the authors report a Pearson correlation of about 0.9 with GPT-4.1-mini (Section 3.2, Appendix A.1).
- Filtering replicates: Each filtering experiment uses 12 seeds (4 initializations × 3 shuffles). The main figure uses career advice; automotive and education appear in the right panels of Figures 1–3 and in the appendix. The cross-model main analysis uses gradient cosine similarity because the authors state it is faster than EK-FAC and broadly consistent with EK-FAC in Figures 1 and 2.
- Transfer and correlation: Both same-source and cross-model filtering were retrained (Figures 5, A13–A17). Cross-model Spearman on automotive advice is 0.3–0.6, and can be negative on career and education; same-model different seeds is 0.75–0.85. Within the Qwen 3 family, heatmaps give gaps and paired counts n by source size, target size, and dataset (Figure A17).
- Quantities not reported in the paper: The paper does not report the number of queries or runtime for a single attribution or a single retraining run. The conclusion states that without retraining, there is no true value for a single sample's influence.
Summarize the main content of the paper
The contribution of incorrect advice to emergent misalignment is uneven; attribution-based filtering can increase or decrease misalignment, and the most effective scores are the model's own.
EleutherAI uses training-data attribution to examine which samples drive emergent misalignment in erroneous-advice fine-tuning.
Fine-tuning on narrow-domain harmful data makes the model give harmful answers on unrelated questions too. The authors ask not about the persona mechanism itself, but whether harmful samples are equally important and whether different models agree on the same set of samples.
The approach fine-tunes on 5900 erroneous automotive, career, and education advice items each, using rank-32 RsLoRA, mainly on OLMo 3 7B-SFT. Behavior gradients come from 44 evaluation questions with 10 completions each, scored by Qwen 3 32B and centered within question; influence is estimated with EK-FAC or gradient cosine similarity at the last checkpoint, computed only over LoRA parameters. Validation removes or keeps various proportions by score and retrains, with 12 seeds per filtering setting, compared against WildGuard log-probabilities.
On career advice with OLMo 3 7B, the full misalignment rate is about 45%. Removing the 20% the influence function considers most influential lowers it to about 40%; removing the least influential 20% raises it to nearly 55%; random removal of 20% leaves it almost unchanged. When WildGuard removes the samples it considers most harmful, the authors state the misalignment rate does not change significantly, and removing the least harmful samples only raises it to about 47%. Training on only 5% already roughly recovers the full misalignment rate; with 10% bins, the extremes differ from the random baseline by about 20 percentage points each. Across the three datasets, EK-FAC slightly outperforms gradient similarity, and both exceed the gap WildGuard opens. Training only on the least influential 20% lowers narrow-domain misalignment from about 95% to just below 80%.
Across Qwen and Llama sizes, removing the most influential 20% gives a lower misalignment rate than removing the least influential 20%, and most exceed the WildGuard gap. Filtering and training OLMo with scores from other models is weaker than OLMo's own scores; on Qwen 2.5, transferring 14B to 7B recovers only half of the latter's own gap. Error severity and overconfidence have Spearman correlations with influence scores up to about 0.39 and 0.34, but filtering by these scales underperforms attribution.
The authors conclude that influence scores can serve as an investigative tool to find data that raises or lowers misalignment after training, and that importance is a gradient; the absolute most influential samples differ by model, and cross-model generalization cannot recover same-source filtering. The authors also note this does not yet explain why samples are more influential, nor the interactions when samples are trained together.