A Gravitational Interpretation of Fine-Tuning Reversion

Samuele Poppi, Nils LukasarXiv 2026

TL;DR

Fine-tuning safety-aligned LLMs on benign data often causes them to revert to unsafe behaviors. This paper introduces the "gravitational interpretation," demonstrating that large early training phases create a dominant behavioral manifold that exerts a geometric pull on subsequent updates. By identifying and selectively blocking this specific activation-space reversion direction ($v_{rev}$), the authors successfully mitigate safety erosion without sacrificing downstream task performance.

What Problem Does This Paper Address?

Safety alignment (via methods like RLHF or DPO) makes large language models safe, but this safety is notoriously fragile. Fine-tuning an aligned model on completely harmless data—like math problems or coding exercises—can cause it to "forget" its safety guardrails and re-acquire harmful capabilities.

Prior work has viewed this safety drift as ordinary task optimization or catastrophic forgetting. However, this paper tackles a deeper mechanistic question: Why do benign post-training updates so consistently trigger a reversion to suppressed behaviors across different settings? The authors propose that the model isn't just learning new tasks; it is actively being pulled back toward a foundational, pre-aligned behavioral state.

Methods

The authors investigate this phenomenon through a geometric lens in activation space, focusing on the residual stream at a late summary layer ($L^*$).

  1. Defining the Reversion Direction ($v_{rev}$): The authors construct "helpful-only witness" models ($\theta_H$) by fine-tuning base models without safety constraints. The vector displacement in activation space from the safety-aligned model ($\theta_S$) toward this witness defines the reversion direction: $$v_{rev} = m_{\theta_H}(P) - m_{\theta_S}(P)$$
  2. Gradient Decomposition Hypothesis: They hypothesize that post-alignment updates decompose into a task-specific component and a history-driven reversion component: $$\nabla \mathcal{L}(\theta) = g_{task}(\theta) + g_{rev}(\theta)$$
  3. Causal Intervention (Blocking Reversion): To prove that drift along $v_{rev}$ causes safety erosion, they introduce an auxiliary loss during fine-tuning. This one-sided barrier penalizes positive projections along $v_{rev}$ using a squared ReLU term: $$\mathcal{L}_{block} = \mathcal{L}_{task} + \lambda \cdot \text{ReLU}(\langle \Delta_T, \hat{v}_{rev} \rangle)^2$$
Figure 1: Conceptual schematic of the gravitational interpretation. Pretraining and broad helpful tuning place the model near a helpful region MH, represented locally by a helpful-only witness θH. A later alignment or specialization phase displaces the model to θS. The dashed green arrow labeled vrev denotes the witness-defined return direction from the displaced checkpoint toward the earlier helpful region. Subsequent benign fine-tuning then traverses downstream checkpoints θT . At any such checkpoint, the local update can be decomposed into a task component gtask(θT ) and a return component grev(θT ) toward the earlier helpful region; the thick black arrow denotes their vector sum.

Datasets

  • Witness Construction: Filtered helpful-only conversation paths from OASST2, helpful responses from HH-RLHF, and Python solutions from HumanEvalPack. Refusal-style language was strictly filtered out.
  • Downstream Fine-Tuning: Alpaca (generic instruction following), GSM8K (mathematics), and HumanEvalPack Python (code).
  • Probes & Evaluation: 16 unlabeled AdvBench prompts served as activation probes. Downstream safety degradation was evaluated using the BeaverTails dataset ($n=500$ for baselines, $n=100$ for interventions).

Key Insights and Ideas

  • The "Gravitational" Pull of History: Massive early training phases (pretraining and broad helpful tuning) carve out a deep, stable behavioral manifold. Later safety alignment acts merely as a shallow displacement from this region. Subsequent fine-tuning naturally slides the model back down into the dominant manifold.
  • Cross-Task Convergence: Fine-tuning on completely different tasks (e.g., Alpaca vs. Code) results in nearly orthogonal weight updates ($\text{cos} = 0.08$). Yet, in activation space, their representation shifts are highly aligned ($\text{cos} = 0.79$) along the exact same low-rank trajectory toward the unsafe region.
  • Early Saturation: The reversion component does not emerge slowly. The model aligns with $v_{rev}$ almost immediately within the first few steps of fine-tuning, long before substantial task learning accumulates.

Key Results

  • Rapid Alignment: In the main Llama-3.1-8B track, alignment with $v_{rev}$ jumps to $\text{cos} = 0.429 \pm 0.052$ after the very first update and plateaus at $0.647 \pm 0.021$ by step 20, far exceeding an isotropic activation-space null.
Figure 3: Early geometric time-course of the reversion component in the main 8B baseline suite (full FT, 3 benign datasets × 2 seeds), compared against an isotropic activation-space null at the same layer. Points show the 24 individual run-step pairs, the dark curve shows the step-wise mean ± std, and the dashed line marks the isotropic null p99. The null is estimated from 10,000 random unit directions in the 4096-dimensional residual space at L∗= 31, with mean 0.0002, std 0.0157, and p99 = 0.0366.
  • Causal Mitigation: Selectively blocking motion along $v_{rev}$ successfully flips the final geometric drift to $-0.211 \pm 0.021$ and reduces BeaverTails harmfulness from $19.0\% \pm 4.0\%$ down to $8.5\% \pm 1.5\%$.
  • Utility Preservation: Crucially, blocking $v_{rev}$ maintains safety without sacrificing downstream task performance; the held-out Alpaca task perplexity remained stable ($1.384$ vs $1.392$ baseline).

Limitations and Future Work

  • Proxy-Mediated Inference: The latent dominant manifold itself is not directly observed; the framework relies entirely on local "helpful witnesses" as empirical proxies.
  • Early Horizon Scope: The causal intervention experiments focus primarily on the early fine-tuning regime ($T \le 100$). The long-term dynamics and ultimate stability of the safety basin over thousands of steps remain open questions.
  • Not a Production Defense: The auxiliary-loss intervention functions as a diagnostic tool to prove causality rather than a robust, deployment-ready defense method for safe fine-tuning.

Summary updated

BibTeX
@misc{poppi2026gravitational,
  author = {Samuele Poppi and Nils Lukas},
  title = {{A Gravitational Interpretation of Fine-Tuning Reversion}},
  year = {2026},
  eprint = {2606.28525},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2606.28525},
}
Figure