acceptodds
Published as a conference paper at NeurIPS 2026

Shifting the Gradient: Understanding How Defensive Training Methods Protect Language Model Integrity

Satchel Grant, Victor Gillioz, Jake Ward, Tom McGrath

Abstract

Defensive training methods such as positive preventative steering (PPS) and inoculation prompting (IP) offer surprising results through seemingly similar processes: both add trait-inducing objects to large language models (LLMs) during training, and both defend the LLM against acquiring the trait. The surprising success of these methods comes with the question: how do they work? Are PPS and IP doing the same thing? We provide behavioral and mechanistic comparisons of these two methods using "evilness" as a case-study trait. Our central finding is that PPS and IP achieve their defensive benefits through distinct mechanisms. Behaviorally, we show that neither PPS nor IP operates through a purely associative mechanism; and PPS can both defend against trait acquisition and actively reduce pre-existing expression, whereas IP is ineffective in models that were previously finetuned to express the trait. This behavioral divergence is reflected mechanistically: PPS shifts the activation gradient towards an attenuating direction along the PPS vector axis. When the PPS vector is aligned with a trait-expressing axis, it can reverse the gradient pressure, reducing rather than increasing activation along that axis. In contrast, IP continues to resist a precise mechanistic account. Direct cosine similarity analyses reveal that IP has a characteristically different gradient signature than PPS, and qualitative analyses reveal IP's gradient to be more diffuse. Furthermore, IP reduces the next-token prediction loss on trait-expressing data where PPS need not, consistent with the notion that IP "explains away" the trait-expression in the training data. Taken together, our analyses reveal distinct mechanisms by which each method operates and highlight open questions about IP's mechanistic picture.

Keywords:
Sydney

Reviews

Among:
Shape:
123456this paper, Bottom 4%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 3.67 over 3 reviews, above 4% of the others.
Reviewer_bmwvOpenReview ↗
Rating
3
Clarity
2
Confidence
4
Originality
2
Quality
3
Significance
3
Read review
Summary

This paper studies two defensive training methods for language models, positive preventative steering and inoculation prompting, using “evilness” as the main case-study trait. The authors argue that these two methods produce superficially similar defensive behavior but operate through different mechanisms. The paper presents behavioral comparisons, gradient cosine analyses, intervention-style gradient manipulations, loss analyses, and a small cross-trait study involving evilness and sycophancy.

Strengths and weaknesses

Strengths:

  1. The topic is timely and relevant to LLM safety, especially given growing interest in training-time defenses against undesirable trait acquisition. The paper makes a useful conceptual distinction between defenses that suppress a trait-relevant activation direction and defenses that may instead contextualize or reduce the learning signal associated with trait-expressing data.
  2. The gradient analysis for preventative steering is relatively clear: adding a trait-aligned steering vector during training appears to shift the activation gradient from an amplifying direction toward an attenuating one. The intervention experiments that manipulate the gradient component along the trait axis provide additional support for the proposed interpretation.
  3. The loss analysis is also interesting, especially the observation that inoculation prompts can reduce next-token prediction loss on trait-expressing data while effective steering at higher intensity may increase loss.

Weaknesses:

  1. The paper is difficult to follow without substantial prior familiarity with the original PPS and IP papers. Although Section 2 gives a brief description of how PPS and IP are implemented, it does not provide enough motivation or implementation detail to make the methods self-contained. As a result, several later analyses are hard to interpret. For example, the original PPS work emphasizes steering at a specific layer, whereas the current paper does not clearly explain whether it follows that setting, applies steering across all layers, or uses a different configuration. This matters because some of the layerwise results show notable changes around particular layers, raising the question of whether these phenomena reflect the underlying mechanism or are partly induced by the chosen implementation details. Similarly, the paper repeatedly refers to trait-specific data, such as “evil” data, but without concrete examples, it is difficult to understand what kinds of prompts, responses, and filtering criteria define these datasets.
  2. The empirical scope is still narrow. Most conclusions are based on one primary model family, a small set of behavioral traits, and a specific data-generation and evaluation pipeline. It is therefore hard to know whether the proposed mechanistic distinction generalizes to other model families, larger models, different harmful traits, or more realistic safety-relevant datasets.
  3. The gradient analyses are informative but need clearer discussion of their limitations. The gradient with respect to residual stream activations is not the same as the actual parameter update, and the paper’s causal manipulation experiments show coherence degradation under some manipulated conditions. This makes it important to separate “diagnostic signal” from “complete mechanistic explanation.
Questions
  1. Do the PPS and inoculation-prompting effects hold for larger models or models outside the Qwen family?
  2. Can the authors test more traits and provide a larger cross-trait transfer matrix?
Limitations

yes

Paper formatting concerns

None

Reviewer_P5YCOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
2
Read review
Summary

This paper compares two defensive training methods (Positive Preventative Steering (PPS) vs. Inoculation Prompting (IP)) on defending against misalignment trait on Qwen-2.5-7b-instruct. The authors show that behaviorally while both methods can defend against misalignment, PPS can be effective even on pre-finetuned misaligned models, while IP can fail. Mechanistically, PPS reverses the sign of the activation gradient along the steering-vector axis, which the authors verify causally, while the gradient in IP is more diffused and its full mechanism remains unresolved.

Strengths and weaknesses

Strengths

  • Detailed analyses: the authors analyze the differences between PPS and IP from multiple angles: behavior on models of varying degree of misalignment, gradient, causal experiments, and loss.
  • Honest reports: the negative mechanistic results on IP are honestly reported and discussed. The authors also give a detailed account of why the activation gradient does not equals the activation change in appendix.
  • Well-written with good reproducibility: the paper is well-organized, and Appendix B provides hyperparameters, prompts, compute, and code sufficient to reproduce the main results.

Weaknesses

  • Breadth of experiments vs. framing: despite the depth of analysis, the scope is narrow. The authors only look at two methods (PPS vs. IP), one model (Qwen2.5-7B-Instruct), on one trait ("evilness"). The title and introduction is much broader than the experiments: "understanding how defensive training methods protect language model integrity" sounds far broader than a single-model, single-trait case study. This reviewer would suggest a rewrite of the title and introduction to reflect the actual scope.
  • IP's mechanism left unexplained: the paper convincingly shows IP is not PPS, but leaves the IP’s mechanism largely open, which the authors themselves note.
  • Behavioral results are not robust: the authors acknowledge that IP's effectiveness is sensitive to experimental settings and conflicts with prior work in some regimes (e.g., its ineffectiveness on pre-finetuned models contra Wichers et al. and Azarbal et al.), and that associative effects vary with the evaluation system prompt (Fig 7). This makes it hard to know how much of the IP picture is mechanism vs. setup.
Questions
  • Generalization: do the central PPS gradient-reversal findings hold for other model families/sizes and other traits? One additional model or trait pair would greatly strengthen the generality of the main claims.
  • The pre-finetuned-IP result conflicts with prior work showing IP can reduce pre-existing trait levels. Can the authors offer any explanation?
Limitations

yes

Paper formatting concerns

No

Final justification

The authors conducted deep analyses of two defensive training methods (Positive Preventative Steering (PPS) vs. Inoculation Prompting (IP)), which would be useful for the community. The authors should make the scope and framing more calibrated to their experiments in the revision. This reviewer remains at borderline accept.

Reviewer_sMszOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
2
Quality
3
Significance
3
Read review
Summary

The paper compares two defensive fine-tuning methods for preventing undesirable trait acquisition in LLMs: positive preventative steering (PPS) and inoculation prompting (IP). Using “evilness” as the main case-study trait, the authors argue that PPS and IP are behaviorally and mechanistically distinct: PPS can both prevent acquisition and reduce existing trait expression, while IP is effective mainly before the trait is already acquired in their setting. Mechanistically, PPS is argued to reverse gradient pressure along a trait-relevant steering axis, whereas IP appears more diffuse and only partially “neutralizes” the relevant gradient signal. The paper supports this with behavioral experiments, gradient-cosine analyses, gradient manipulation experiments, loss analyses, and cross-trait predictions.

Strengths and weaknesses

Strengths

  1. Timely, practically motivated question: whether PPS and IP are interchangeable is a real model-selection concern.

  2. Strong triangulation: behavioral, gradient-cosine, causal gradient-manipulation, loss, and cross-trait analyses reinforce each other. Moving from correlational gradient analysis to causal sign-forcing is a real plus.

Weaknesses

  1. Conflict with prior IP work unresolved. The "IP fails on pre-finetuned models" claim contradicts Wichers et al. and Azarbal et al., noted but unexplained. Please Isolate what drives the difference (data, prompt strength, rank, system prompt); say whether it's a real boundary or a setup artifact.

  2. The causal manipulation experiments don't align with the main runs, since sign-forcing collapses coherence and forces one-epoch training at roughly half the effective learning rate, making Tables 1 through 3 hard to compare with the three-epoch results; the authors should either match the training regime or explicitly caveat that these numbers aren't comparable.

3.The evaluation depends on a single unvalidated judge with several large error bars, so the authors should validate the GPT-4.1-mini scores against human labels or a second judge and flag which conclusions are most sensitive to the high-variance conditions.

Questions

see Strengths And Weaknesses

Limitations

yes

Paper formatting concerns

no

Comments on the paper

1 comment
Meta-review

This paper compares positive preventative steering (PPS) and inoculation prompting (IP), two training-time defenses intended to prevent undesirable trait acquisition. The paper’s central claim is that the two methods can yield superficially similar defensive behavior while operating through different mechanisms. In the authors’ primary setting, PPS both prevents acquisition and reduces pre-existing expression of an “evilness” trait, whereas IP is effective mainly before the trait has already been acquired. Mechanistically, the paper argues that PPS reverses gradient pressure along a trait-relevant steering direction, while IP produces a weaker, more diffuse shift and reduces next-token prediction loss on trait-expressing data. The paper supports these claims through behavioral experiments, gradient-cosine analyses, activation projections, loss analyses, gradient manipulation experiments, and a limited cross-trait study involving evilness and sycophancy.

The main strength is the depth of analysis. As emphasized by reviewers sMsz and P5YC, the paper does not rely on a single correlational observation. Instead, behavioral results, gradient projections, causal sign-forcing interventions, loss analyses, and cross-trait predictions generally reinforce the proposed account of PPS. The gradient-manipulation experiments are particularly valuable because they provide causal evidence that attenuating versus amplifying the gradient component along the trait direction affects downstream trait acquisition. The paper is also appropriately transparent that its mechanistic account of IP remains incomplete, and the negative results distinguishing IP from PPS are scientifically useful. The manuscript is generally well organized and provides substantial implementation and reproducibility detail in the appendix.

The main weakness is limited generality relative to the framing. Most conclusions are based on one model, Qwen2.5-7B-Instruct, and one primary trait, evilness. Sycophancy appears only in a small cross-trait PPS analysis. As noted by reviewers P5YC and bmwv, the broad title and introduction suggest a general understanding of defensive training methods, while the empirical evidence supports a narrower case study of PPS and IP in a particular model, trait, dataset, and fine-tuning configuration. The paper would be stronger with at least one additional model family or a substantially broader trait matrix, or alternatively with narrower claims throughout.

A second concern is that the behavioral characterization of IP is not robustly reconciled with prior work. The finding that IP does not reduce pre-existing trait expression conflicts with reports from Wichers et al. and Azarbal et al. The manuscript acknowledges that IP behavior varies with the system prompt, LoRA rank, prompt set size, and training duration, but it does not isolate which factor explains the discrepancy. This leaves uncertainty about whether the reported PPS–IP distinction reflects a stable mechanistic boundary or a setup-specific outcome.

Third, the causal gradient-manipulation experiments should be interpreted more cautiously than the main text currently suggests. These experiments use one epoch rather than the three-epoch regime used in the primary results, have a substantially different effective learning-rate schedule, and eventually cause coherence to collapse under strict sign forcing. They therefore support the directional causal relevance of the identified gradient component, but their numerical outcomes are not directly comparable with the standard PPS and IP runs.

Fourth, the behavioral evaluation relies on GPT-4.1-mini as a single judge for both trait expression and coherence. Several conditions have substantial uncertainty, and the paper does not provide human validation or an independent second judge. This is an important missing check because the behavioral conclusions are used to support the mechanistic interpretation.

Finally, reviewer bmwv correctly notes that the paper is not fully self-contained. Some details, such as the default single-layer PPS implementation and the distinction between standard training and all-layer diagnostic manipulations, are mainly clarified in the appendix. Representative examples of the trait-specific training and evaluation data would also make the experimental setting easier to assess.

For the author response, the issues most likely to change my recommendation would be: additional evidence that the PPS gradient-reversal result generalizes to another model or trait; a controlled explanation of why the IP result differs from prior work; independent validation of the behavioral judge; and a clearer restriction of the claims surrounding the gradient-manipulation experiments. A sufficiently strong response on several of these points could move the paper into the accept range.

Overall, I find the mechanistic PPS analysis promising and technically substantive, and the paper contains more depth than a typical purely behavioral comparison. However, the current evidence does not yet support the breadth of the framing, and the unresolved setup dependence of IP, lack of independent judge validation, and limited model/trait coverage materially weaken the generality of the conclusions. I therefore recommend rejection at this stage, while recognizing that the paper is close to the acceptance boundary.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.