Manuscript Offprint
arXiv:2610.07518Harmful SFT Leaves a Continuous Trace in LLM Checkpoint Updates
ABSTRACT
Safety auditing of post-trained large language models typically relies on model behavior, requiring model execution and depending on the coverage of available evaluations. This work asks a different question: Do the target behaviors optimized during supervised fine-tuning (SFT) leave readable evidence directly in checkpoint updates? We find that harmful-compliance SFT induces a continuous, objective-dependent ordering in checkpoint-update space. Using a reference geometry defined by pure harmful-compliance, safety-targeted, and benign-utility SFT, we find that a checkpoint-level coordinate tracks controlled harmful-objective composition with Spearman correlations of 0.986–0.992 across four 7–8B backbones, with the same ordering persisting at larger model scales. Matched compliance-versus-refusal controls show that this checkpoint trace reflects the SFT objective rather than harmful-input exposure, while additional controls rule out simple explanations based on harmful-example count or generic training intensity. Building on this structure, we introduce TRACE, a weights-only auditing method that localizes an unknown checkpoint update relative to frozen harmful and non-harmful reference prototypes and converts this geometry into a continuous harmful-objective score. TRACE requires neither model queries nor access to the unknown SFT data, and can be evaluated directly from checkpoint updates. Across distribution shifts, unseen data, different SFT configurations, partial checkpoint access, and LoRA/full-parameter fine-tuning, the trace remains stable and is positively associated with independently measured attack success rates. TRACE remains informative even at low harmful-objective proportions, providing a complementary auditing signal when behavioral evaluation is unavailable or incomplete. Code is available at https://anonymous.4open.science/r/Code4TRACE-54D3.
1 INTRODUCTION
Supervised fine-tuning (SFT) is widely used to adapt large language models (LLMs), but it can also substantially alter safety properties established during alignment (Qi et al., 2024; Lyu et al., 2024; Peng et al., 2024b; Bowen et al., 2025). This is particularly concerning for open-weight models, whose checkpoints can be further adapted and redistributed while their post-training data and objectives remain unknown. Existing safety auditing largely relies on model behavior—through benchmarks, adversarial prompting, or red teaming (Mazeika et al., 2024; Chao et al., 2024)—and therefore requires model execution and depends on the coverage of available queries. This raises a different question: can the objective of harmful SFT leave measurable evidence directly in checkpoint updates, without querying the model or accessing its training data?
Our main empirical finding is that harmful-compliance SFT induces a continuous, objective-dependent structure in checkpoint-update space: as the proportion of harmful-compliance training increases, the resulting checkpoints become systematically ordered relative to pure-objective references. As illustrated in Figure 1, checkpoints trained on pure harmful-compliance (C), safety-targeted (S), and benign-utility (B) objectives define distinct reference regions, while mixed-objective checkpoints occupy ordered intermediate positions and shift progressively toward the harmful-compliance reference as the harmful objective becomes more prevalent. Crucially, this structure does not imply that mixed-objective SFT follows an exact linear trajectory in raw parameters.
ter space. Rather, even under nonlinear and stochastic optimization, harmful-objective composition remains consistently reflected in the relative geometry of the resulting checkpoint updates.
To characterize this phenomenon, we use a simple descriptive lens: each post-SFT checkpoint is represented by its SFT-induced parameter change relative to a trusted base model. Pure-objective checkpoints define a reference geometry, in which an unknown checkpoint is summarized by a harmful-objective coordinate , used here as a descriptive readout rather than a learned detector. Across LLMs spanning 7B–32B parameters, is strongly ordered by the controlled harmful-objective proportion, with Spearman correlations of 0.960–0.994. Because changing this proportion also changes harmful-prompt exposure, this association alone is ambiguous. Matched compliance-versus-refusal controls hold the prompts and training conditions fixed while changing only the target behavior, showing that the observed structure reflects the SFT objective rather than harmful-input exposure alone. Additional controls rule out absolute harmful-example count and generic SFT intensity as primary explanations. We use the term trace to refer to this continuous ordering of checkpoint updates with SFT objective composition.
The trace is also stable across a broad range of conditions. Its ordering persists when the frozen reference geometry is applied to unseen SFT data, under changes in learning rate, training duration, LoRA rank and scaling, and when only a subset of model layers is available. It also persists across model scales and from LoRA to full-parameter fine-tuning. Moreover, is positively associated with independently measured attack success rates, providing external evidence that the checkpoint-level structure is behaviorally relevant. Together, these results show that the trace persists across substantial changes in data, optimization, model scale, checkpoint access, and fine-tuning parameterization.
This finding has a direct auditing implication. If SFT objective composition is reflected in an ordered structure in checkpoint-update space, an unknown checkpoint can be assessed by locating its update relative to a small set of known objective references. We operationalize this idea as TRACE, a weights-only auditing procedure that operates directly on checkpoint updates, requires neither model queries nor access to the checkpoint's SFT data, and remains effective with small reference banks and at low harmful-objective ratios. Our contributions are threefold: (1) we discover a continuous, objective-dependent ordering in checkpoint-update space; (2) we determine what this structure reflects and establish its robustness across diverse SFT conditions; and (3) we operationalize this finding as weights-only checkpoint auditing.

Figure 1: Objective-induced checkpoint geometry. Pure harmful-compliance (C), safety-targeted (S), and benign-utility (B) SFT define distinct reference regions in checkpoint-update space, while mixed-objective checkpoints occupy ordered intermediate positions and shift toward the harmful-compliance reference as the harmful-objective ratio increases. Here, , , and denote the reference locations associated with the three pure objectives, and denotes a combined non-harmful reference.
TRACE and demonstrate its utility for
weights-only checkpoint auditing.
2.1 EFFECTIVE CHECKPOINT UPDATES
Let be a trusted base model with parameters and a post-SFT checkpoint with parameters . The SFT-induced modification is represented by , which captures the fine-tuning-induced change relative to the base model. Let denote the audited modules. For full-parameter SFT, ; for LoRA, . Both therefore admit the same effective-update representation, independent of the parameterization used during optimization. Similarity between checkpoints i and j is measured by
which is equivalently the inner product in the space obtained by concatenating the audited effective updates. Positive semidefiniteness, LoRA reparameterization invariance, and factorized evaluation without materializing dense LoRA updates are established in Appendix B.
2.2 PURE OBJECTIVES DEFINE A REFERENCE GEOMETRY
Three pure SFT objective families provide semantic references in update space: harmful-compliance (C), safety-targeted (S), and benign-utility (B). For each objective , let be a bank of checkpoints trained from the same base model using only objective . For a reference checkpoint , denotes its model parameters and its SFT-induced update relative to the base model. The prototype for objective is
Thus, , , and summarize the characteristic update locations induced by the three objectives. Since the auditing goal is to measure evidence of harmful-compliance SFT rather than distinguish different forms of non-harmful adaptation, we combine the safety-targeted and benign-utility prototypes into a balanced non-harmful reference, , where the equal weighting gives the two non-harmful objectives the same influence regardless of reference-bank size.
2.3 A HARMFUL-OBJECTIVE COORDINATE
Given the harmful-compliance prototype and the non-harmful prototype , we describe an SFT update by its position relative to these two references. Specifically, denotes the vector representation of the audited effective update, and we approximate it as
where and are nonnegative coefficients representing the contributions of the harmful-compliance and non-harmful prototypes, respectively. We estimate these coefficients by nonnegative least squares:
where and denote the fitted coefficients. We then define the harmful-objective coordinate as their normalized ratio:
where is a small constant for numerical stability. A larger indicates that the checkpoint update is more strongly associated with the harmful-compliance prototype relative to the non-harmful reference. All quantities in Equations 4–5 can be computed directly from the kernel in Equation 1; the derivation is given in Appendix B.5. Importantly, is a geometric coordinate rather than a direct estimator of the fraction of harmful training examples. The following sections use this coordinate to characterize the observed checkpoint structure, examine how broadly it persists, and study its implications for checkpoint auditing.
3 HARMFUL SFT LEAVES A CONTINUOUS TRACE IN CHECKPOINT UPDATES
Section 2 introduces a reference geometry and the checkpoint-level coordinate for describing SFT-induced updates. This lens is used here to characterize how controlled SFT objective composition is reflected in checkpoint-update space, first establishing the continuous ordering induced by harmful-compliance strength and then examining whether it reflects the training objective rather than harmful-input exposure or other training-related factors.

(a) Full mixture range.

(b) 0–10% regime.
Figure 3: Harmful SFT leaves a continuous trace in checkpoint updates. Lines show mean ; shaded bands denote standard deviation across trajectories.
Experimental setup. Three SFT objectives are used: harmful-compliance (C), safety-targeted (S), and benign-utility (B). C examples come from PKU-SafeRLHF (Ji et al., 2025) and Beaver-Tails (Ji et al., 2023); S uses harmful prompts from the same sources with deterministic refusal targets (Appendix A.2); and B uses UltraChat (Ding et al., 2023), GSM8K (Cobbe et al., 2021), and MBPP (Austin et al., 2021). Reference banks are built separately for each backbone with 64 examples per trajectory. Experiments cover Llama-3.1-8B-Instruct (Grattafiori et al., 2024), Mistral-7B-Instruct-v0.3 (Jiang et al., 2023), Qwen3-8B (Yang et al., 2025), and OLMo-3-7B-Instruct (Olmo et al., 2026). Unless stated otherwise, LoRA uses , , zero dropout, and all q-proj/v-proj modules; AdamW uses learning rate , batch size 16, bfloat16, maximum sequence length 512, and 100 optimization steps. Pure-objective references are trained for 25 epochs using one NVIDIA A100 80GB GPU per trajectory. Spearman's , , and AUROC measure ordering, approximate linearity, and checkpoint-level discrimination; formal definitions are given in Appendix A.1.
3.1 MIXED OBJECTIVES FORM A CONTINUOUS TRACE
Harmful-compliance strength is varied directly through mixed C/B trajectories constructed over 19 harmful-objective ratios spanning 0%–100%. Each trajectory contains 100 training examples and is trained for 100 optimization steps, with p% harmful-compliance examples and the remainder benign. Ten independent trajectories are trained for every ratio and backbone, yielding 190 checkpoints per backbone and 760 in total. All checkpoints are evaluated against the corresponding frozen reference geometry.
Figure 3 reveals a strong and consistent progression in checkpoint-update geometry. Spearman correlations between harmful-objective ratio and are 0.988, 0.986, 0.987, and 0.992 for Llama, Mistral, Qwen, and OLMo, respectively, with corresponding values of 0.964, 0.991, 0.984, and 0.948. Although the absolute coordinate range differs across backbones, the same ordering emerges independently in all four model families. The enlarged 0–10% view further shows that the trace remains visible when harmful compliance constitutes only a small fraction of SFT, although variability increases at the lowest ratios. Importantly, this ordering does not require mixed-objective updates to follow exact linear interpolation in raw parameter space; Appendix B.6 examines this distinction directly.

Figure 2: Matched C/S objective traces.
3.2 IS THE TRACE OBJECTIVE-SPECIFIC?
A continuous relationship alone does not establish what the trace represents: increasing the harmful ratio simultaneously changes both the SFT objective and exposure to harmful-domain prompts. To separate these factors, matched harmful-compliance (C) and safety-targeted (S) trajectories are constructed at harmful-prompt proportions of 1%, 2%, 5%, 10%, 25%, 50%, 75%, and 100%. Each pair uses identical harmful prompts, benign examples, example ordering, random seed, and training configuration; only the target on harmful prompts changes from harmful compliance to refusal. Full construction details are provided in Appendix C.1.
Figure 2 shows a clear divergence despite matched inputs. Increasing the harmful-prompt proportion raises for harmful-compliance checkpoints, whereas the corresponding refusal-targeted checkpoints remain substantially lower and generally decrease. Because the two trajectories in each pair see the same inputs, this separation cannot be explained by harmful-prompt exposure alone. Instead, the checkpoint trace reflects what behavior SFT optimizes on those prompts—compliance versus refusal—supporting an objective-specific interpretation.
3.3 RELATIVE COMPOSITION OR ABSOLUTE EXPOSURE?
Objective specificity still leaves a second ambiguity: could reflect the relative strength of harmful compliance within the SFT objective, or simply the cumulative number of harmful examples encountered during training. This is tested by varying dataset size and harmful-compliance ratio , with five seeds and a fixed 100-step optimization budget. Holding fixed changes the absolute harmful-example count while preserving composition; holding the harmful count fixed changes composition while preserving absolute exposure. At the same ratio, changing dataset size by produces only small changes in , with mean deviations of 0.0088–0.0159. Conversely, at a fixed harmful-example count, larger harmful-compliance ratios produce larger with 100% pairwise ordering accuracy. The complete controlled trajectories are provided in Appendix C.2.
The same conclusion appears quantitatively when is predicted from relative ratio , absolute harmful-example count , or both. Table 1 reports cross-validated over held-out seed groups. Ratio alone explains 0.922–0.969 of the variation, substantially more than the 0.606–0.757 explained by count alone; adding count to ratio provides only a smaller additional gain. The checkpoint trace therefore tracks the relative composition of the SFT objective more strongly than cumulative harmful exposure.
Table 1: Seed-group CV for predicting .
| Model | |||
|---|---|---|---|
| Llama | 0.923 | 0.757 | 0.962 |
| Mistral | 0.969 | 0.606 | 0.970 |
| Qwen | 0.936 | 0.627 | 0.951 |
| OLMo | 0.922 | 0.757 | 0.980 |
Additional controls. Additional analyses rule out two simple explanations. Although update magnitude grows with SFT, remains strongly objective-dependent (Appendix C.3); likewise, controlling for prompt and target length preserves the trace, while length alone is much less discriminative (Appendix C.4). These results further support interpreting the trace as an objective-specific SFT signal rather than a generic training artifact.
4 FROM CHECKPOINT TRACE TO AUDITING
Building on the descriptive checkpoint geometry in Section 2 and the objective-dependent trace established in Section 3, this section operationalizes the finding as TRACE, a weights-only auditing method using a continuous harmful-objective score. We examine its design choices, reference requirements, and auditing performance across different settings.
4.1 TRACE: OPERATIONALIZING THE CHECKPOINT TRACE
TRACE builds on the harmful-objective coordinate from Section 2.3. Given a trusted base checkpoint, an unknown post-SFT checkpoint, and frozen pure-objective reference banks, scores the unknown update by its relative association with harmful-compliance and non-harmful references. Figure 4 summarizes the procedure. The audit uses only checkpoint weights, requiring neither model queries, generated responses, nor access to the unknown checkpoint's SFT data.
Figure 5 examines three design choices. For reference geometry, and each use one non-harmful prototype, whereas 3-way jointly fits , , and . The balanced geometry performs best overall, reaching 0.988 trace correlation and 0.991 matched AUROC, versus 0.901/0.954 for 3-way. For scoring, normalizing the raw harmful coefficient into improves the metrics from 0.917/0.892 to 0.978/0.990. Combining q_proj and v_proj yields 0.989 trace

Figure 4: Overview of TRACE. A frozen pure-objective geometry localizes an unknown checkpoint update relative to a trusted base and produces .

Figure 5: TRACE design choices. Balanced C/N references, normalized scoring, and combined q/v updates provide the strongest joint preservation of objective ordering and compliance-versus-refusal separation.
correlation and 0.987 AUROC, outperforming either alone. The default TRACE configuration therefore uses balanced C/N references, normalized , and combined q/v updates.
How few references are needed? Reference-bank sensitivity is evaluated with trajectories per objective, with as the full bank. For each reduced , five independently sampled banks are tested on the same 90 held-out checkpoints per backbone. Table 2 reports , where Spearman measures preservation of harmful-objective ordering and score variation across sampled banks. Even retains substantial ordering ( ), while four to eight references approach full-bank performance. Defining as the smallest bank with correlation to full-bank scores at least 0.95, mean absolute error at most 0.05, and AUROC at least 0.97 for separating 0% from 10% harmful-compliance SFT gives for Llama/Mistral and for Qwen/OLMo. Metric definitions are in Appendix A.1.
4.2 AUDITING HARMFUL FINE-TUNING ACROSS SETTINGS
The TRACE score and all baselines are evaluated under four settings. ID compares harmful-compliance and benign checkpoints trained under the same data distribution and SFT configuration as the reference banks; Matched C/S fixes prompts, benign examples, ordering, seed, and training configuration while changing only the target from compliance to refusal; OOD changes the harmful-data family between reference and query SFT (PKU-SafeRLHF↔BeaverTails); and Unseen uses independent harmful, refusal, code, and mathematics data with no prompt overlap. Appendix E.2 details unseen-set construction and overlap checks. UpdateNorm uses the Frobenius norm ; Spectral uses LoRA spectral statistics (Paul, 2026); WeightWatch-SVD applies the weight-difference SVD representation of Watch the Weights (Zhong & Raghunathan, 2026) to the updates modified by our LoRA checkpoints; CANARY uses probe-based representation differences (Parekh, 2026); and PEFTGuard (Sun et al., 2025) uses a supervised PEFT-weight
Table 2: Reference-bank sensitivity. Each entry reports ; is the full bank.
| Model | K = 1 | K = 2 | K = 4 | K = 8 | K = 12 | K = 16 | K* |
|---|---|---|---|---|---|---|---|
| Llama | 0.955/0.0917 | 0.959/0.0919 | 0.973/0.0570 | 0.973/0.0294 | 0.977/0.0155 | 0.976/0.0073 | 4 |
| Mistral | 0.919/0.1152 | 0.924/0.0577 | 0.924/0.0464 | 0.959/0.0091 | 0.965/0.0047 | 0.968/0.0010 | 4 |
| Qwen | 0.949/0.0725 | 0.949/0.0774 | 0.961/0.0444 | 0.966/0.0334 | 0.971/0.0059 | 0.971/0.0040 | 8 |
| OLMo | 0.959/0.0539 | 0.968/0.0527 | 0.976/0.0355 | 0.979/0.0242 | 0.980/0.0112 | 0.980/0.0610 | 8 |
Table 3: Audit separation by setting. Macro AUROC across four backbones.
| Method | Access | ID | Matched C/S | OOD | Unseen |
|---|---|---|---|---|---|
| UpdateNorm | weights only | 0.7090 | 0.7439 | 0.6425 | 0.7036 |
| Spectral | weights only | 0.6395 | 0.6814 | 0.6317 | 0.6636 |
| WeightWatch-SVD | weights only | 0.5864 | 0.5659 | 0.6134 | 0.6610 |
| PEFTGuard | weights + labels | 0.4345 | 0.1519 | 0.3334 | 0.3529 |
| CANARY | forward + probes | 0.6755 | 0.6605 | 0.7343 | 0.7274 |
| TRACE | weights only | 0.9110 | 0.9881 | 1.0000 | 0.9998 |
score. Full implementation and adaptation details for all baselines are provided in Appendix H. AUROC is computed within each backbone and macro-averaged; its definition is in Appendix A.1.
Table 3 shows the strongest separation for TRACE in all four settings. WeightWatch-SVD obtains macro AUROCs of 0.5864, 0.5659, 0.6134, and 0.6610 on ID, matched , OOD, and unseen data, respectively, remaining substantially below TRACE, particularly under the matched control (0.5659 vs. 0.9881). At harmful-objective proportion, macro AUROC reaches 0.995 against benign and 0.998 against matched refusal checkpoints, with both reaching 1.000 at . The complete sweep is reported in Appendix D.2, with the protocol in Appendix D.1.
Extension to trigger-conditioned backdoors. The original geometry does not directly represent qualitatively different modification families. A separate experiment uses Toxic Backdoors Alpaca (Ewart, 2024), which inserts the trigger SolidGoldMagikarp into Alpaca instructions paired with toxic targets. The dataset contains 24,099 training, 3,012 validation, and 3,013 test examples. With 1,000-example SFT sets at poison rate and 200 steps, triggered ASR reaches 0.997–1.000, while clean-prompt toxicity remains 0.003–0.005. A backdoor prototype is constructed from 24 reference trajectories per backbone, using four reference seeds at each poison rate of , , , , , and , with disjoint reference, validation, and test seeds.
Adding the backdoor reference raises TRACE macro AUROC from 0.232 to 0.721, compared with 0.565 for PEFTGuard-BD and 0.456 for WeightWatch-SVD. Applying the same backdoor-reference expansion to WeightWatch-SVD does not improve its aggregate performance (0.443), with mixed effects across backbones. These results in- dicate that representative attack-family updates can substantially improve TRACE without implying that the original geometry audits arbitrary attacks. Appendix F.2 reports full poison-rate results, attack validation, and reference-count sensitivity, while Appendix F.3 examines backward compatibility: adding preserves matched , dataset-family OOD, and the underlying harmful-objective ordering, with only modest degradation on ID and unseen auditing.
Table 4: Backdoor auditing across methods. AUROC on held-out 1%–50% poison-rate checkpoints.
| Method | Llama | Mistral | Qwen | OLMo | Macro |
|---|---|---|---|---|---|
| PEFTGuard-BD | 0.464 | 0.510 | 0.854 | 0.432 | 0.565 |
| WeightWatch-SVD | 0.333 | 0.625 | 0.479 | 0.385 | 0.456 |
| WeightWatch-SVD +BackdoorRef | 0.531 | 0.583 | 0.281 | 0.375 | 0.443 |
| TRACE original | 0.260 | 0.385 | 0.146 | 0.135 | 0.232 |
| TRACE +BackdoorRef | 0.719 | 0.615 | 0.990 | 0.563 | 0.721 |
5 HOW GENERAL IS THE CHECKPOINT TRACE?
Section 2 introduces a checkpoint-level lens for SFT-induced updates, Section 3 establishes the continuous, objective-dependent trace it reveals, and Section 4 operationalizes this trace as TRACE for checkpoint auditing. This section examines how broadly the structure persists across data distributions, SFT configurations, fine-tuning parameterizations, model scales, and independently measured harmful behavior.
Table 7: Transfer between LoRA and full-parameter SFT. Entries report Spearman .
| Model | ||||
|---|---|---|---|---|
| Llama | 0.991/0.976 | 0.940/0.949 | 0.967/0.915 | 0.975/0.921 |
| Mistral | 0.948/0.869 | 0.952/0.979 | 0.916/0.883 | 0.936/0.753 |
| Qwen | 0.923/0.956 | 0.979/0.988 | 0.916/0.827 | 0.963/0.975 |
| OLMo | 0.991/0.960 | 0.991/0.980 | 0.991/0.930 | 0.991/0.986 |
5.1 GENERALIZATION ACROSS DATA AND SFT CONFIGURATIONS
Distribution shifts. The OOD and Unseen settings from Section 4.2 are reused to test whether the trace persists beyond the data used to construct the reference geometry. OOD transfers between PKU-SafeRLHF and BeaverTails, while Unseen uses the independently constructed, prompt-disjoint SFT pool; the reference geometry remains frozen in both. Full protocols are given in Appendices E.1 and E.2. Table 5 shows trace correlations of 0.791–0.970 under dataset-family transfer, with seven of eight backbone-direction combinations above 0.938, while matched C/S AUROC remains 1.0000. On unseen data, correlations remain 0.983–0.990 with macro AUROC 0.9997, showing that the ordering extends beyond the datasets used to construct the reference geometry.
SFT configuration changes. Robustness to the training recipe is tested by varying learning rate, training duration, LoRA rank, and LoRA scaling one factor at a time with the reference geometry fixed. Each configuration uses the same harmful-objective proportion grid, and its median curve is compared with the canonical setting. Table 6 shows correlations of 0.993–1.000 across all configurations, each retaining more than 70% of the canonical dynamic range. Training choices can shift the absolute scale of , but leave its ordering with harmful-objective strength largely unchanged. The complete sweep is reported in Appendix E.3.
Table 5: Generalization across SFT data distributions.
| Setting | Trace ρ | C/S AUROC |
|---|---|---|
| OOD | 0.791–0.970 | 1.0000 |
| Unseen | 0.983–0.990 | 0.9997 |
Table 6: SFT configuration robustness.
| Model | Spearman ρ |
|---|---|
| Llama | 0.997–1.000 |
| Mistral | 0.994–1.000 |
| Qwen | 0.993–1.000 |
| OLMo | 0.999–1.000 |
5.2 GENERALIZATION ACROSS FINE-TUNING PARAMETERIZATIONS
Parameterization robustness is tested beyond LoRA using separate LoRA (L) and full-parameter SFT (F) reference geometries built from matched training data and the same harmful-objective proportion grid. Four settings distinguish reference and query parameterizations: uses LoRA references and queries, uses Full-FT references and queries, evaluates Full-FT checkpoints using LoRA references, and performs the reverse transfer.
Table 7 shows strong objective ordering under full-parameter SFT and both cross-parameterization directions, indicating that the trace is not LoRA-specific. Transfer does not require matching raw update directions: LoRA and Full-FT harmful-versus-non-harmful directions have cosine similarities of 0.006, 0.004, 0.003, and 0.951 for Llama, Mistral, Qwen, and OLMo, respectively. The shared structure is therefore better characterized as objective-related ordering across parameterizations than a universal parameter-space direction. Appendix E.4 studies partial checkpoint access, including the fraction and location of audited layers, while Appendix E.5 evaluates persistence with model scale on Qwen3-14B and Qwen3-32B.
5.3 BEHAVIORAL RELEVANCE
Behavioral relevance is evaluated on 300 checkpoints spanning benign (B), refusal-targeted (S), and harmful-compliance (C) SFT across four backbones and five training stages. AdvBench (Zou et al., 2023) is evaluated with four attacks—AdvPrompter (Paulus et al., 2024), AutoDAN (Liu et al., 2024), GCG (Zou et al., 2023), and PAIR (Chao et al., 2025)—and responses are judged by a frozen HarmBench classifier (Mazeika et al., 2024). ASR is the fraction classified as successful harmful re-
Table 8: vs. ASR.
| Model | Spearman ρ | |
|---|---|---|
| Llama | 0.931 | 0.803 |
| Mistral | 0.716 | 0.485 |
| Qwen | 0.887 | 0.724 |
| OLMo | 0.854 | 0.546 |
sponses. These measurements are used only for evaluation and do not enter the construction of .
Table 8 shows positive checkpoint-level associations across all four backbones, with Spearman correlations of 0.716–0.931 and values of 0.485–0.803, indicating that a linear relationship captures substantial ASR variation with backbone-dependent strength. The association is also positive across all 16 backbone–attack combinations and most longitudinal trajectories. Larger therefore tends to correspond to higher independently measured attack success, providing behavioral external validity for the trace. Confidence intervals, attack-wise and longitudinal analyses, leave-one-attack-out results, and partial correlations are reported in Appendix F.1.
Practical-scale validation. As a stress test, we evaluate the frozen reference geometry under 10,000-example heterogeneous instruction tuning, a increase over the controlled trajectories. Without rebuilding or recalibrating references, the trace remains strongly ordered on Llama and Qwen ( and 0.992), separates matched compliance from refusal objectives, and remains positively associated with independently measured ASR ( and 0.92). Full data construction, training dynamics, behavioral results, and controls are reported in Appendix G.
6 RELATED WORK
Safety risks from post-training. Additional fine-tuning can substantially weaken LLM safety alignment or introduce harmful objectives, even through small, benign-looking, or covert adaptations (Qi et al., 2024; Lyu et al., 2024; Peng et al., 2024b; Halawi et al., 2024; Xie et al., 2026). Mechanistic studies show that such changes are reflected in model parameters and representations (Jain et al., 2024; Wei et al., 2024; Peng et al., 2024a), while complementary work develops methods to better preserve alignment (Huang et al., 2024b;a; Li et al., 2025). These studies establish the fragility of post-training safety; this work instead examines whether the SFT objective itself leaves a readable structure in checkpoint updates.
Behavioral auditing and objective inference. Safety benchmarks, adversarial prompting, and red-teaming frameworks assess post-training behavior through model interaction (Mazeika et al., 2024; Chao et al., 2024; Souly et al., 2024; Han et al., 2024; Mou et al., 2024). Related approaches infer hidden objectives or behavioral shifts from model outputs using inverse reinforcement learning, Bayesian auditing, or behavioral analysis (Joselowitz et al., 2024; Bou et al., 2026; Marks et al., 2025). These methods provide direct behavioral evidence but require model execution and depend on the available queries. In contrast, the setting here uses only checkpoint modifications, without querying the audited model or accessing its SFT data.
Traces of fine-tuning in parameters and representations. Parameter differences and task vectors are known to encode structured information about acquired capabilities (Wortsman et al., 2022; Ilharco et al., 2022; Yadav et al., 2023). Recent work further uses weight differences, LoRA parameters, or activation differences to recover fine-tuning-induced behaviors and task information (Zhong & Raghunathan, 2026; Goel et al., 2026; Han et al., 2026; Minder et al., 2026; Paul, 2026). Our focus differs in what is traced: rather than recovering a task attribute or behavior-specific direction, we study the continuous ordering induced by harmful-objective composition in checkpoint-update space and its use for weights-only auditing.
7 CONCLUSION
This work identifies a continuous, objective-dependent ordering in checkpoint updates induced by harmful-compliance SFT. Across 7B–32B models, the trace tracks objective composition, remains distinct from harmful-input exposure and generic training effects, and persists across data, SFT configurations, partial checkpoint access, and LoRA/full-parameter fine-tuning. We operationalize this structure as TRACE, a weights-only auditing method based on frozen reference geometry, with larger associated with higher attack success. The trace also remains informative under 10,000-example heterogeneous instruction tuning. These results show that post-training objectives leave measurable structure in model updates, enabling auditing without training data or model queries. Limitations include SFT-only evaluation, models up to 32B, and controlled objective settings; extending to reinforcement-learning and multi-stage post-training remains future work.
REFERENCES
Jacob Austin et al. Program synthesis with large language models. arXiv preprint arXiv:2108.07732, 2021.
Matthieu Bou, Nyal Patel, Arjun Jagota, Satyapriya Krishna, and Sonali Parbhoo. The alignment auditor: A bayesian framework for verifying and refining llm objectives. In International Conference on Learning Representations, volume 2026, pp. 603–623, 2026.
Dillon Bowen, Brendan Murphy, Will Cai, David Khachaturov, Adam Gleave, and Kellin Pelrine. Scaling trends for data poisoning in llms. In Proceedings of the AAAI Conference on Artificial Intelligence, volume 39, pp. 27206–27214, 2025.
Patrick Chao, Edoardo Debenedetti, Alexander Robey, Maksym Andriushchenko, Francesco Croce, Vikash Sehwag, Edgar Dobriban, Nicolas Flammarion, George J Pappas, Florian Tramer, et al. Jailbreakbench: An open robustness benchmark for jailbreaking large language models. Advances in Neural Information Processing Systems, 37:55005–55029, 2024.
Patrick Chao, Alexander Robey, Edgar Dobriban, Hamed Hassani, George J Pappas, and Eric Wong. Jailbreaking black box large language models in twenty queries. In 2025 IEEE Conference on Secure and Trustworthy Machine Learning (SaTML), pp. 23–42. IEEE, 2025.
Karl Cobbe et al. Training verifiers to solve math word problems. arXiv preprint arXiv:2110.14168, 2021.
Ning Ding, Yulin Chen, Bokai Xu, Yujia Qin, Shengding Hu, Zhiyuan Liu, Maosong Sun, and Bowen Zhou. Enhancing chat language models by scaling high-quality instructional conversations. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pp. 3029–3051, 2023.
Aidan Ewart. Hugging face: baidicoot/toxic-backdoors-alpaca. Hugging Face, 2024. URL https://huggingface.co/datasets/baidicoot/toxic-backdoors-alpaca.
Avichal Goel, Yoon Kim, Nir Shavit, and Tony Wang. Learning to interpret weight differences in language models. In International Conference on Learning Representations, volume 2026, pp. 151176–151212, 2026.
Aaron Grattafiori et al. The llama 3 herd of models, 2024. URL https://arxiv.org/abs/2407.21783.
Danny Halawi, Alexander Wei, Eric Wallace, Tony T Wang, Nika Haghtalab, and Jacob Steinhardt. Covert malicious finetuning: Challenges in safeguarding llm adaptation. arXiv preprint arXiv:2406.20053, 2024.
Seungju Han, Kavel Rao, Allyson Ettinger, Liwei Jiang, Bill Yuchen Lin, Nathan Lambert, Yejin Choi, and Nouha Dziri. Wildguard: Open one-stop moderation tools for safety risks, jailbreaks, and refusals of llms. Advances in neural information processing systems, 37:8093–8131, 2024.
Xiaolong Han, Ferrante Neri, Zijian Jiang, Fang Wu, Yanfang Ye, Lu Yin, and Zehong Wang. W2t: Lora weights already know what they can do. arXiv preprint arXiv:2603.15990, 2026.
Tiansheng Huang, Sihao Hu, Fatih Ilhan, Selim F Tekin, and Ling Liu. Lisa: Lazy safety alignment for large language models against harmful fine-tuning attack. Advances in Neural Information Processing Systems, 37:104521–104555, 2024a.
Tiansheng Huang, Sihao Hu, and Ling Liu. Vaccine: Perturbation-aware alignment for large language models against harmful fine-tuning attack. Advances in Neural Information Processing Systems, 37:74058–74088, 2024b.
Gabriel Ilharco, Marco Tulio Ribeiro, Mitchell Wortsman, Suchin Gururangan, Ludwig Schmidt, Hannaneh Hajishirzi, and Ali Farhadi. Editing models with task arithmetic. arXiv preprint arXiv:2212.04089, 2022.
Samyak Jain, Ekdeep S Lubana, Kemal Oksuz, Tom Joy, Philip H Torr, Amartya Sanyal, and Puneet K Dokania. What makes and breaks safety fine-tuning? a mechanistic study. Advances in Neural Information Processing Systems, 37:93406–93478, 2024.
Jiaming Ji, Mickel Liu, Josef Dai, Xuehai Pan, Chi Zhang, Ce Bian, Boyuan Chen, Ruiyang Sun, Yizhou Wang, and Yaodong Yang. Beavertails: Towards improved safety alignment of llm via a human-preference dataset. Advances in Neural Information Processing Systems, 36:24678–24704, 2023.
Jiaming Ji et al. Pku-saferlhf: Towards multi-level safety alignment for llms with human preference. In Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 31983–32016, 2025.
Albert Q. Jiang et al. Mistral 7b, 2023. URL https://arxiv.org/abs/2310.06825.
Jared Joselowitz, Ritam Majumdar, Arjun Jagota, Matthieu Bou, Nyal Patel, Satyapriya Krishna, and Sonali Parbhoo. Insights from the inverse: Reconstructing llm training goals through inverse reinforcement learning. arXiv preprint arXiv:2410.12491, 2024.
Nathan Lambert, Jacob Morrison, Valentina Pyatkin, Shengyi Huang, Hamish Ivison, Faeze Brahman, Lester James V. Miranda, Alisa Liu, Nouha Dziri, Shane Lyu, Yuling Gu, Saumya Malik, Victoria Graf, Jena D. Hwang, Jiangjiang Yang, Ronan Le Bras, Oyvind Tafjord, Chris Wilhelm, Luca Soldaini, Noah A. Smith, Yizhong Wang, Pradeep Dasigi, and Hannaneh Hajishirzi. Tulu 3: Pushing frontiers in open language model post-training, 2025. URL https://arxiv.org/abs/2411.15124.
Mingjie Li, Wai Man Si, Michael Backes, Yang Zhang, and Yisen Wang. Salora: Safety-alignment preserved low-rank adaptation. In International Conference on Learning Representations, volume 2025, pp. 90827–90843, 2025.
Xiaogeng Liu, Nan Xu, Muhao Chen, and Chaowei Xiao. Autodan: Generating stealthy jailbreak prompts on aligned large language models. In International Conference on Learning Representations, volume 2024, pp. 56174–56194, 2024.
Kaifeng Lyu, Haoyu Zhao, Xinran Gu, Dingli Yu, Anirudh Goyal, and Sanjeev Arora. Keeping llms aligned after fine-tuning: The crucial role of prompt templates. Advances in Neural Information Processing Systems, 37:118603–118631, 2024.
Samuel Marks, Johannes Treutlein, Trenton Bricken, Jack Lindsey, Jonathan Marcus, Siddharth Mishra-Sharma, Daniel Ziegler, Emmanuel Ameisen, Joshua Batson, Tim Belonax, et al. Auditing language models for hidden objectives. arXiv preprint arXiv:2503.10965, 2025.
Mantas Mazeika, Long Phan, Xuwang Yin, Andy Zou, Zifan Wang, Norman Mu, Elham Sakhaee, Nathaniel Li, Steven Basart, Bo Li, et al. Harmbench: A standardized evaluation framework for automated red teaming and robust refusal. arXiv preprint arXiv:2402.04249, 2024.
Julian Minder, Clément Dumas, Stewart Slocum, Helena Casademunt, Cameron Holmes, Robert West, and Neel Nanda. Narrow finetuning leaves clearly readable traces in activation differences. volume 2026, pp. 35340–35406, 2026.
Yutao Mou, Shikun Zhang, and Wei Ye. Sg-bench: Evaluating llm safety generalization across diverse tasks and prompt types. Advances in Neural Information Processing Systems, 37:123032–123054, 2024.
Team Olmo, :, Allyson Ettinger, Amanda Bertsch, Bailey Kuehl, David Graham, David Heineman, Dirk Groeneveld, Faeze Brahman, Finbarr Timbers, Hamish Ivison, Jacob Morrison, Jake Poznanski, Kyle Lo, Luca Soldaini, Matt Jordan, Mayee Chen, Michael Noukhovitch, Nathan Lambert, Pete Walsh, Pradeep Dasigi, Robert Berry, Saumya Malik, Saurabh Shah, Scott Geng, Shane Arora, Shashank Gupta, Taira Anderson, Teng Xiao, Tyler Murray, Tyler Romero, Victoria Graf, Akari Asai, Akshita Bhagia, Alexander Wettig, Alisa Liu, Aman Rangapur, Chloe Anastasiades, Costa Huang, Dustin Schwenk, Harsh Trivedi, Ian Magnusson, Jaron Lochner, Jiacheng Liu, Lester James V. Miranda, Maarten Sap, Malia Morgan, Michael Schmitz, Michal
Guerquin, Michael Wilson, Regan Huff, Ronan Le Bras, Rui Xin, Rulin Shao, Sam Skjonsberg, Shannon Zejiang Shen, Shuyue Stella Li, Tucker Wilde, Valentina Pyatkin, Will Merrill, Yapei Chang, Yuling Gu, Zhiyuan Zeng, Ashish Sabharwal, Luke Zettlemoyer, Pang Wei Koh, Ali Farhadi, Noah A. Smith, and Hannaneh Hajishirzi. Olmo 3, 2026. URL https://arxiv.org/abs/2512.13961.
Swapnil Parekh. Canary: Zero-label detection of fine-tuning contamination in language models. arXiv preprint arXiv:2606.01695, 2026.
Roi Paul. Spectral geometry of lora adapters encodes training objective and predicts harmful compliance. arXiv preprint arXiv:2604.08844, 2026.
Anselm Paulus, Arman Zharmagambetov, Chuan Guo, Brandon Amos, and Yuandong Tian. Advprompter: Fast adaptive adversarial prompting for llms. arXiv preprint arXiv:2404.16873, 2024.
Sheng Y Peng, Pin-Yu Chen, Matthew Hull, and Duen H Chau. Navigating the safety landscape: Measuring risks in finetuning large language models. Advances in Neural Information Processing Systems, 37:95692–95715, 2024a.
Sheng Y Peng, Pin-Yu Chen, Matthew Hull, and Duen H Chau. Navigating the safety landscape: Measuring risks in finetuning large language models. Advances in Neural Information Processing Systems, 37:95692–95715, 2024b.
Xiangyu Qi, Yi Zeng, Tinghao Xie, Pin-Yu Chen, Ruoxi Jia, Prateek Mittal, and Peter Henderson. Fine-tuning aligned language models compromises safety, even when users do not intend to! In International Conference on Learning Representations, volume 2024, pp. 30988–31043, 2024.
Alexandra Souly, Qingyuan Lu, Dillon Bowen, Tu Trinh, Elvis Hsieh, Sana Pandey, Pieter Abbeel, Justin Svegliato, Scott Emmons, Olivia Watkins, et al. A strongreject for empty jailbreaks. Advances in Neural Information Processing Systems, 37:125416–125440, 2024.
Zhen Sun, Tianshuo Cong, Yule Liu, Chenhao Lin, Xinlei He, Rongmao Chen, Xingshuo Han, and Xinyi Huang. Peftguard: Detecting backdoor attacks against parameter-efficient fine-tuning. In 2025 IEEE Symposium on Security and Privacy (SP), pp. 1713–1731. IEEE, 2025.
Boyi Wei et al. Assessing the brittleness of safety alignment via pruning and low-rank modifications. ICML'24. JMLR.org, 2024.
Mitchell Wortsman, Gabriel Ilharco, Samir Ya Gadre, Rebecca Roelofs, Raphael Gontijo-Lopes, Ari S Morcos, Hongseok Namkoong, Ali Farhadi, Yair Carmon, Simon Kornblith, et al. Model soups: averaging weights of multiple fine-tuned models improves accuracy without increasing inference time. In International conference on machine learning, pp. 23965–23998. Pmlr, 2022.
Zhixin Xie, Xurui Song, and Jun Luo. Attack via overfitting: 10-shot benign fine-tuning to jailbreak llms. Advances in Neural Information Processing Systems, 38:31136–31170, 2026.
Prateek Yadav, Derek Tam, Leshem Choshen, Colin A Raffel, and Mohit Bansal. Ties-merging: Resolving interference when merging models. Advances in neural information processing systems, 36:7093–7115, 2023.
An Yang et al. Qwen3 technical report, 2025. URL https://arxiv.org/abs/2505.09388.
Ziqian Zhong and Aditi Raghunathan. Watch the weights: Unsupervised monitoring and control of fine-tuned llms. In International Conference on Learning Representations, volume 2026, pp. 75198–75234, 2026.
Andy Zou, Zifan Wang, Nicholas Carlini, Milad Nasr, J Zico Kolter, and Matt Fredrikson. Universal and transferable adversarial attacks on aligned language models. arXiv preprint arXiv:2307.15043, 2023.
A SUPPLEMENTARY EVALUATION AND TARGET CONSTRUCTION
This appendix collects supplementary definitions used throughout our experiments. We first provide the formal definitions of the evaluation metrics, and then describe the construction of the safety-targeted SFT objective. The common model, dataset, and SFT configurations are given in the main experimental setup and are not repeated here.
A.1 EVALUATION METRICS AND STATISTICAL COMPUTATION
Unless otherwise specified, evaluation metrics are computed independently within each model backbone so that differences in the absolute scale of the harmful-objective coordinate do not affect cross-model comparisons.
Spearman rank correlation. Let denote evaluated SFT checkpoints from the same backbone, where is the controlled harmful-objective ratio and
is the corresponding harmful-objective coordinate. Spearman's rank correlation is
Thus, measures whether checkpoints trained with larger harmful-objective ratios tend to receive larger , without assuming a linear relationship.
Coefficient of determination. To characterize approximate linearity, we fit
Let denote the fitted value and
We report
Spearman’s therefore evaluates monotonic ordering, whereas characterizes the extent to which the relationship is approximately linear.
Area under the ROC curve. For binary harmful-SFT detection, let denote the ground-truth class and let denote the continuous detector score. For TRACE,
We report the area under the receiver operating characteristic curve (AUROC), which can equivalently be interpreted as
where and are scores from randomly selected positive and negative checkpoints, respectively, with ties receiving half credit.
Because score scales are not assumed to be comparable across backbones, AUROC is computed independently for each backbone and then macro-averaged:
Experiment-specific statistics. Some controlled analyses additionally report Pearson correlation, partial correlation, mean absolute deviation, score variability, or pairwise ordering accuracy. These statistics are defined in the corresponding experimental sections when used.
A.2 SAFETY-TARGET CONSTRUCTION
For safety-targeted SFT (S), we sample harmful prompts from the same PKU-SafeRLHF and BeaverTails pools used for harmful-compliance SFT (C), but replace the original harmful response with a predefined refusal or safe-redirection target. We use eight static templates with no prompt-dependent placeholders. The template assigned to each sampled prompt is determined deterministically from its prompt UID, making the target construction reproducible across runs.
The eight templates are:
-
I cannot assist with that request. If you or someone you know needs help, please contact a qualified professional or local emergency services.
-
I'm sorry, but I can't help with that. This request involves activities that could cause harm. I'd be happy to help you with something else instead.
-
I must decline this request. What you're asking about could be dangerous and potentially illegal. Please consider speaking with a professional if you need guidance.
-
I am unable to assist with this request as it involves potentially harmful activities. If you're facing a difficult situation, please reach out to appropriate support services.
-
I won't be able to help with that. This falls outside what I can safely assist with. Is there a different topic I can help you with today?
-
I cannot provide assistance with this request. It involves content that could lead to harm. If you have questions about safety, I recommend consulting official safety resources.
-
I'm not able to help with that particular request. Engaging with this topic could be unsafe. Please feel free to ask me about other subjects where I can be more helpful.
-
I must respectfully decline. This request involves potential harm to individuals or property. I encourage you to seek guidance from authorized professionals in this area.
This construction changes the response objective while retaining the same harmful-prompt domain used for harmful-compliance SFT. It therefore provides a controlled non-harmful objective for separating target-dependent changes from changes induced merely by exposure to harmful inputs. The matched C/S protocol used for the objective-specificity analysis is described in Appendix C.1.
B EFFECTIVE-UPDATE GEOMETRY: PROPERTIES AND COMPUTATION
This appendix provides the mathematical and computational details of the effective-update geometry used in our analysis. We first show that LoRA and full-parameter SFT admit a common representation in terms of their induced parameter updates, and establish basic properties of the resulting inner-product geometry. We then derive an efficient factorized computation for LoRA checkpoints and show that the harmful-objective coordinate can be evaluated entirely through kernel quantities. Finally, we empirically clarify the notion of coordinate-level compositionality used in the main text: mixed SFT updates need not follow exact linear interpolation in raw parameter space for their objective-induced ordering to remain predictable.
B.1 EFFECTIVE UPDATES FOR FULL-PARAMETER AND LORA SFT
Let denote the set of audited model modules, and let index one such module. We represent an SFT checkpoint by the parameter modification it induces relative to a trusted base checkpoint.
For full-parameter SFT, let and denote the weights of module m in the base and post-SFT checkpoints, respectively. The effective update is
For LoRA-based SFT, the corresponding induced update is
where and are the LoRA factors, is the LoRA rank, and is the scaling coefficient.
Both parameterizations can therefore be represented as
This formulation separates the resulting model modification from the parameterization used to obtain it. All geometric quantities considered below are defined on the induced effective updates rather than on the optimization variables themselves.
B.2 LORA REPARAMETERIZATION INVARIANCE
Although LoRA uses a factorized parameterization, the individual factors are not unique. Consider a LoRA update
Let be any invertible matrix and define an equivalent factorization
The induced update remains unchanged:
Therefore, any quantity defined solely on the effective update is invariant to equivalent LoRA reparameterizations. In particular, the similarities, objective prototypes, and harmful-objective coordinate used throughout the paper do not depend on an arbitrary choice of LoRA factors.
B.3 EFFECTIVE-UPDATE KERNEL
For two SFT checkpoints i and j, we define their effective-update similarity as
where is the Frobenius inner product.
To make the induced geometry explicit, define
(24) where denotes concatenation. Then
For arbitrary coefficients ,
Hence, is positive semidefinite and defines a valid inner-product geometry over SFT-induced parameter updates. The explicit feature representation is useful for interpretation, but does not need to be materialized in practice.
B.4 EFFICIENT FACTORIZED COMPUTATION FOR LORA
For LoRA checkpoints, the effective-update kernel can be evaluated directly from the low-rank factors without explicitly constructing dense update matrices.
Factorized Frobenius inner product. For two LoRA-based updates of module m, write
where
The module-level contribution to the kernel is
Thus,
This expression is exactly equivalent to the Frobenius inner product between the dense induced updates.
Avoiding dense update materialization. For a module with
explicitly materializing requires entries. In contrast, the factorized computation only requires products such as
and
Therefore, kernel similarities can be computed directly from stored LoRA adapters without constructing the corresponding dense update matrices.
Computational complexity. The dominant module-level operations have complexity
This avoids explicitly constructing and comparing matrices. Moreover, all reference-reference kernel quantities can be precomputed once for a frozen reference bank. Evaluating a new checkpoint then requires only kernel computations between its effective update and the stored references.
B.5 KERNEL-SPACE COMPUTATION OF THE HARMFUL-OBJECTIVE COORDINATE
The harmful-objective coordinate can be computed entirely from effective-update kernel evaluations. Let
denote the implicit feature representation of an audited checkpoint update. For each pure objective , recall the prototype
and the balanced non-harmful prototype
We approximate the audited update by a nonnegative combination of the harmful-compliance and balanced non-harmful prototypes:
The coefficients are obtained from
Expanding the objective gives
(44)
Define
the prototype Gram matrix
and the query–prototype similarity vector
Since is constant with respect to , Equation 43 is equivalent to
Because G is a Gram matrix induced by the positive-semidefinite effective-update kernel, this is a convex two-variable quadratic program.
All entries of and can be computed directly from kernel evaluations. For objectives ,
while
For the balanced non-harmful prototype,

(a) Parameter reconstruction error.

(b) Coordinate linearity.

(c) Directional alignment.
Figure 6: Empirical validation of coordinate-level compositionality under realistic SFT optimization. (a) Exact interpolation between pure-objective updates provides an imperfect reconstruction of the observed mixed-objective update. (b) Nevertheless, the harmful composition coordinate varies approximately linearly with the controlled objective mixture ratio. (c) Mixed-objective updates retain meaningful directional alignment with the corresponding interpolation direction.
and
Thus, neither nor the prototype vectors need to be explicitly constructed. After solving for the two nonnegative coefficients, the harmful-objective coordinate is
where is a small constant for numerical stability.
B.6 COORDINATE-LEVEL COMPOSITIONALITY UNDER REALISTIC SFT
The interpretation of the harmful-objective coordinate does not require mixed-objective SFT to follow exact linear interpolation in raw parameter space. We empirically examine this distinction under realistic LoRA-based AdamW optimization.
The experiment uses Llama-3.1-8B with the canonical SFT configuration. Mixed-objective trajectories are constructed at
while the corresponding pure-objective endpoints are trained using the same initialization and optimization recipe. The purpose of this experiment is not to establish exact parameter-space interpolation, but to test whether the objective-induced geometry remains predictable through a low-dimensional composition coordinate.
Exact parameter-space interpolation is imperfect. We first compare the observed mixed-objective update with the interpolation between the pure-objective endpoints:
As shown in Figure 6(a), the reconstruction error remains relatively large. Realistic multi-step AdamW optimization therefore does not preserve exact linear interpolation between the two pure-objective updates.
The composition coordinate remains predictable. We next evaluate whether the coordinate induced by the frozen C/N geometry preserves the controlled mixture strength. As shown in Figure 6(b), the estimated composition coordinate varies approximately linearly with the true mixture ratio, with a linear fitting score of
Thus, substantial deviation in raw parameter space does not prevent the objective mixture from inducing a stable low-dimensional ordering.
Mixed updates retain objective-related directionality. Finally, we compute the cosine similarity between the observed mixed update and the corresponding interpolation direction,
Figure 6(c) shows that the mixed updates retain meaningful directional alignment above the estimated seed-noise level.
Taken together, these results clarify the geometric claim used in the main text. We do not assume that realistic SFT traces an exact linear path between pure-objective checkpoints. Instead, the empirical result is weaker and more relevant to our analysis: despite nonlinear optimization dynamics and trajectory variation, mixed-objective SFT preserves a stable coordinate-level structure in effective-update space.
C WHAT DOES THE HARMFUL-SFT TRACE CAPTURE?
The continuous checkpoint trace observed in the main text raises a natural interpretation question: what property of SFT is actually reflected by this signal? This appendix provides additional controlled analyses that separate objective-related variation from several plausible alternative explanations. We first detail the matched compliance-versus-refusal construction used to isolate the SFT target objective, and then examine relative objective composition, generic SFT intensity, update magnitude, and sequence-length effects.
C.1 MATCHED HARMFUL-COMPLIANCE AND SAFETY-TARGETED CONTROLS
To distinguish the SFT target objective from exposure to harmful-domain inputs, we construct matched pairs of harmful-compliance (C) and safety-targeted (S) trajectories.
For each harmful-prompt proportion
each harmful-compliance trajectory is paired with a safety-targeted trajectory. The two members of a pair use the same harmful prompts, benign examples, example ordering, random seed, and training configuration. They differ only in the targets assigned to harmful prompts: C uses the corresponding harmful-compliance responses, whereas S uses the deterministic refusal targets described in Appendix A.2.
Consequently, each matched pair holds the input composition and optimization conditions fixed while changing what the model is trained to do with the harmful prompts. Differences in the resulting checkpoint traces can therefore be attributed to the SFT target objective rather than to the presence or proportion of harmful-domain inputs alone. The corresponding matched compliance-versus-refusal results are reported in the main text.
C.2 RELATIVE COMPOSITION VS. ABSOLUTE HARMFUL EXPOSURE
This analysis distinguishes whether the harmful-objective coordinate is driven primarily by relative harmful-compliance composition or by the absolute number of harmful examples encountered during training. Trajectories are constructed with dataset sizes and harmful-compliance ratios , using five seeds per condition across all four backbones and a fixed 100-step optimization budget. Here, is the total number of SFT examples, is the harmful-compliance fraction, and is the corresponding number of harmful-compliance examples, with expressed as a fraction. Two complementary controls separate the two factors: varying at fixed changes absolute harmful exposure while preserving relative composition, whereas varying at fixed changes relative composition while preserving absolute harmful exposure.
At fixed harmful-compliance ratio, changing the dataset size by a factor of four produces only small changes in , with mean same-ratio absolute deviations of 0.0088–0.0159 across backbones (Figure 7a). In contrast, when the absolute harmful-example count is fixed, continues to follow changes in the relative harmful-compliance ratio, with 100% pairwise ordering accuracy across

(a) Fixed ratio, varying dataset size.
(b) Fixed harmful count, varying ratio.
Figure 7: Relative composition versus absolute harmful exposure. Left: dataset size varies at fixed harmful-compliance ratio. Right: harmful-compliance ratio varies at fixed harmful-example count.
models and paired seeds (Figure 7b). Together with the regression analysis in the main text, these results indicate that the trace is more strongly associated with relative objective composition than with cumulative harmful-example exposure.
C.3 CONTROLLING FOR SFT INTENSITY AND UPDATE MAGNITUDE
A further possibility is that the harmful-objective coordinate reflects generic fine-tuning intensity rather than the SFT objective itself. To test this, benign-utility (B), safety-targeted (S), and harmful-compliance (C) trajectories are trained on all four backbones, with five independent trajectories per backbone-objective combination. Checkpoints are evaluated at optimization steps, yielding 300 checkpoints in total, all scored using the same frozen reference geometry. For each checkpoint, both and the Frobenius norm of the effective update are recorded. Update growth is normalized within each trajectory as
where measures update magnitude relative to the checkpoint at 10 optimization steps.
As shown in Figure 8, effective-update magnitude grows substantially with training under all three objectives, whereas remains strongly objective dependent. Harmful-compliance SFT consistently produces higher coordinates, while six of the eight benign-utility and safety-targeted backbone-objective combinations remain flat or decrease; only Mistral-S and Qwen-B show modest positive drift. These results indicate that longer SFT and larger parameter updates are insufficient by themselves to explain the observed trace.
C.4 CONTROLLING FOR SEQUENCE-LENGTH EFFECTS
Differences in sequence length between harmful-compliance and non-harmful SFT examples could confound the observed trace. For each SFT trajectory, the mean prompt length and mean target length are recorded. Within each backbone, and the harmful-compliance ratio are separately regressed on , and the correlation between the resulting residuals is reported as the length-controlled partial correlation. As a complementary diagnostic, mean target length is used as a baseline score for distinguishing benign-only checkpoints from low-ratio harmful-compliance checkpoints.
After controlling for mean prompt and target length, the correlations between and harmful-compliance ratio remain 0.953, 0.959, 0.976, and 0.972 for Llama, Mistral, Qwen, and OLMo, respectively (Figure 9a). Mean target length alone provides substantially weaker low-ratio discrimination: for 0% versus 5% harmful-compliance SFT, its AUROC is 0.63–0.70, compared with 0.98–
B S C -- Update norm
(a) Llama

(b) Mistral
(c) Qwen
(d) OLMo
Optimizer steps
Normalized update norm
Optimizer steps
Figure 8: SFT intensity and update magnitude. Update magnitude grows under all three objectives, while remains strongly objective dependent.
Objective-trace correlation after controlling for response length

(a) Length-controlled trace correlation.
(b) Trace versus length-only baseline.
Figure 9: Controlling for sequence-length effects across four backbones.
1.00 for ; for 0% versus 10%, the corresponding values are 0.67–0.79 versus 1.00 (Figure 9b). These results indicate that sequence length is insufficient to explain the observed trace.
D SUPPLEMENTARY CHECKPOINT-AUDITING RESULTS
This appendix provides the full proportion-wise evaluation of checkpoint-level harmful-SFT detection. The main text reports the primary checkpoint-auditing results and highlights performance in the low-ratio regime; here we provide the complete sweep from 1% to 100% harmful-objective SFT under fixed detector definitions and evaluation protocols.
Binary detection AUROC vs harmful-SFT proportion (frozen detectors; shading = variation across backbones, bold markers = 5%/10%)
Harmful vs benign ( vs )

Harmful compliance vs refusal ( vs , matched)
Figure 10: Binary detection across harmful-objective proportions. Top: harmful-compliance checkpoints at proportion r are compared with benign-only checkpoints ( vs. ). Bottom: harmful-compliance checkpoints are compared with matched refusal-targeted checkpoints ( vs. ). Detector definitions remain fixed across all proportions; no proportion-specific training or calibration is used.
D.1 EVALUATION PROTOCOL ACROSS HARMFUL-OBJECTIVE PROPORTIONS
We evaluate binary discrimination as the harmful-objective proportion varies over
All detectors and score definitions remain fixed throughout the sweep. In particular, no proportion-specific training, threshold selection, or calibration is performed.
We consider two complementary evaluation views.
Harmful compliance vs. benign-only SFT. The first comparison,
compares harmful-compliance checkpoints trained with harmful-objective proportion r against benign-only checkpoints. This setting measures whether a checkpoint-level score can distinguish a harmful-compliance modification from ordinary benign adaptation.
Harmful compliance vs. matched refusal-targeted SFT. The second comparison,
uses the matched harmful-compliance and refusal-targeted construction described in Appendix C.1. Within each matched pair, the harmful prompts, benign examples, example ordering, random seed, and training configuration are fixed; only the target assigned to harmful prompts changes from harmful compliance to refusal. This comparison therefore tests whether the detector distinguishes the SFT objective rather than merely the presence of harmful-domain inputs.
For proportions from 1% through 10%, each backbone contributes ten checkpoints per class, and the matched evaluation uses ten C/S pairs. At higher proportions, five matched pairs are used per backbone. AUROC is computed independently within each backbone and then macro-averaged across the four backbones, following Appendix A.1.
D.2 FULL RATIO-WISE DETECTION RESULTS
Figure 10 shows detection performance across the full harmful-objective proportion sweep, while Table 9 reports the corresponding macro-averaged AUROC values. The upper panel compares harmful-compliance checkpoints with benign-only checkpoints, while the lower panel uses the stricter matched compliance-versus-refusal comparison.
The full sweep reveals that the advantage of the checkpoint-derived trace is most pronounced when the harmful objective is weak. For vs. , TRACE reaches AUROC 0.718 at 1%, 0.843 at 2%,
Table 9: Binary detection AUROC across harmful-objective proportions. Values are macro-averaged across the four model backbones.
| View | Method | 1% | 2% | 5% | 10% | 25% | 50% | 75% | 100% |
|---|---|---|---|---|---|---|---|---|---|
| vs. | TRACE | 0.718 | 0.843 | 0.995 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 |
| UpdateNorm | 0.500 | 0.513 | 0.605 | 0.665 | 0.770 | 0.910 | 0.943 | 0.963 | |
| Spectral | 0.553 | 0.583 | 0.570 | 0.540 | 0.688 | 0.723 | 0.863 | 0.828 | |
| WeightWatch-SVD | 0.471 | 0.481 | 0.484 | 0.534 | 0.551 | 0.655 | 0.705 | 0.810 | |
| PEFTGuard | 0.481 | 0.509 | 0.435 | 0.439 | 0.404 | 0.409 | 0.323 | 0.316 | |
| CANARY | 0.548 | 0.573 | 0.650 | 0.768 | 0.793 | 0.785 | 0.790 | 0.735 | |
| vs. | TRACE | 0.843 | 0.955 | 0.998 | 1.000 | 1.000 | 1.000 | 1.000 | 1.000 |
| UpdateNorm | 0.538 | 0.498 | 0.625 | 0.548 | 0.660 | 0.820 | 1.000 | 1.000 | |
| Spectral | 0.478 | 0.510 | 0.530 | 0.523 | 0.670 | 0.900 | 1.000 | 0.950 | |
| WeightWatch-SVD | 0.491 | 0.535 | 0.455 | 0.591 | 0.515 | 0.675 | 0.677 | 0.661 | |
| PEFTGuard | 0.000 | 0.000 | 0.230 | 0.144 | 0.245 | 0.220 | 0.300 | 0.300 | |
| CANARY | 0.553 | 0.575 | 0.605 | 0.740 | 0.750 | 0.800 | 0.850 | 0.760 |
and 0.995 at . Under the stricter matched vs. comparison, the corresponding values are 0.843, 0.955, and 0.998.
From onward, TRACE achieves complete separation in both evaluation views. WeightWatch-SVD remains near chance in the low-ratio regime and becomes more informative as the harmful modification grows, reaching 0.810 at for vs. ; however, its matched vs. performance remains substantially weaker and non-monotonic. UpdateNorm and Spectral also become competitive primarily at larger harmful-objective proportions, while CANARY shows weaker and less consistent separation and PEFTGuard transfers poorly to this harmful-objective detection setting.
These results complement the main checkpoint-auditing analysis by showing that the continuous trace is particularly informative before harmful compliance dominates the SFT data. The full sweep also confirms that the low-ratio results highlighted in the main text are obtained without changing the detector or recalibrating it for different objective proportions.
E GENERALIZATION AND ROBUSTNESS OF THE HARMFUL-SFT TRACE
This appendix provides the complete generalization and robustness analyses supporting Section 5. We test whether the harmful-SFT trace preserves its objective-induced ordering under changes in data distribution, SFT configuration, audited layer scope, fine-tuning parameterization, and model scale. Absolute values are not assumed to remain invariant across settings or model backbones; the focus throughout is the stability of the underlying ordering.
E.1 DATASET-FAMILY GENERALIZATION
Dataset-family transfer tests whether the harmful-objective trace remains readable when the harmful-data source used for reference construction differs from that used to train the audited checkpoint. Two directions are evaluated: PKU-SafeRLHF references with BeaverTails queries, and BeaverTails references with PKU-SafeRLHF queries. In each direction, the and prototypes are constructed from the reference family, while the benign prototype uses the same benign sources as in the main experiments. Query checkpoints are trained at harmful-objective proportions of , , , and , with five independent trajectories per condition. Each trajectory contains 100 SFT examples and is trained for 100 optimization steps, giving 320 query checkpoints across four backbones, two transfer directions, two objectives, four proportions, and five seeds.
Continuous transfer is evaluated by Spearman correlation between harmful-compliance proportion and , separately for each backbone and direction. Objective specificity is evaluated by AUROC between harmful-compliance and refusal-targeted checkpoints.
Table 10 and Figure 11 show that the trace persists in both directions. Spearman correlations range from 0.7911 to 0.9695, with seven of eight backbone–direction combinations above 0.9384, and AUROC is 1.0000 throughout. The objective-induced ordering is therefore not specific to the public harmful-data family used to construct the reference geometry.
Table 10: Dataset-family transfer in both directions.
| Model | C-trace Spearman ρ | C/S AUROC | ||
|---|---|---|---|---|
| PKU→BT | BT→PKU | PKU→BT | BT→PKU | |
| Llama | 0.9695 | 0.7911 | 1.0000 | 1.0000 |
| Mistral | 0.9384 | 0.9695 | 1.0000 | 1.0000 |
| Qwen | 0.9695 | 0.9695 | 1.0000 | 1.0000 |
| OLMo | 0.9695 | 0.9695 | 1.0000 | 1.0000 |
Llama-3.1-8B Mistral-7B Qwen3-8B OLMo-3-7B

Figure 11: Cross-family harmful-compliance traces. References and queries use different harmful-data families.
E.2 GENERALIZATION TO MANUALLY CONSTRUCTED UNSEEN DATA
Transfer between public datasets provides only a partial generalization test, since publicly available safety data may have appeared in the pretraining corpora of the evaluated base models. A stricter evaluation therefore uses a manually constructed SFT pool never used for reference construction. After filtering invalid or duplicated entries, the pool contains 98 harmful-compliance examples, 100 code examples, and 97 mathematics examples. Exact prompt-level comparison finds zero overlap with both the reference data and all previous query pools, while the original reference geometry remains frozen throughout.
The refusal-targeted branch reuses the same 98 harmful prompts but replaces their targets with the fixed refusal templates from Appendix A.2. For each backbone, matched C and S checkpoints are trained at nominal proportions of 5%, 10%, 25%, 50%, 75%, and 100%, using five seeds per condition. Each trajectory contains 100 examples and is trained for 100 optimization steps; matched C/S pairs share harmful prompts and benign examples and differ only in the harmful-response target. Benign examples use approximately balanced code and mathematics composition. Because only 98 harmful-compliance examples remain after filtering, the nominal 100% condition contains 98 harmful and two benign examples. Five benign-only controls are additionally trained per backbone, yielding 120 C, 120 S, and 20 B checkpoints, or 260 query checkpoints in total.
Figure 12 shows that increasing harmful-compliance proportion raises across all four backbones, while the matched refusal-targeted branch remains substantially lower. Because the two branches

Figure 12: Traces on manually constructed unseen data. Solid and dashed lines denote C and S, respectively.
Table 12: Correlation with the canonical curve under SFT configuration changes.
| Model | Base | LR↓ | LR↑ | Step↓ | Step↑ | r = 4 | r = 16 | α = 8 | α = 32 |
|---|---|---|---|---|---|---|---|---|---|
| Llama | 1.000 | 0.998 | 0.998 | 0.997 | 0.998 | 0.999 | 1.000 | 0.998 | 0.999 |
| Mistral | 1.000 | 1.000 | 0.996 | 1.000 | 0.998 | 0.994 | 0.998 | 1.000 | 0.998 |
| Qwen | 1.000 | 0.999 | 0.993 | 0.999 | 0.994 | 1.000 | 0.999 | 0.999 | 0.999 |
| OLMo | 1.000 | 1.000 | 0.999 | 0.999 | 1.000 | 0.999 | 1.000 | 1.000 | 1.000 |
(a) Learning rate

(b) Training steps
(c) LoRA rank

(d) LoRA scaling
— canonical --- lower config ---- higher config
Figure 13: Harmful-objective traces under SFT configuration changes.
share their inputs and differ only in target behavior, the separation cannot be attributed to input-domain differences.
Table 11: Unseen-data generalization.
| Model | C/S AUROC | ||
|---|---|---|---|
| Llama | 0.9873 | 0.9821 | 1.0000 |
| Mistral | 0.9887 | 0.9843 | 0.9989 |
| Qwen | 0.9831 | 0.9753 | 1.0000 |
| OLMo | 0.9901 | 0.9866 | 1.0000 |
Including benign-only controls as the 0% condition gives , while restricting the calculation to the six nonzero C conditions gives . Per-backbone C/S AUROC ranges from 0.9989 to 1.0000, with macro AUROC 0.9997 (Table 11). Thus, the frozen geometry transfers to independently constructed data without rebuilding or recalibration. Notably, the unseen pool has no prompt overlap with the reference or previous query data, yet preserves the same objective-dependent ordering. The matched C/S separation further shows that this transfer remains sensitive to the target behavior rather than merely to the input domain.
E.3 ROBUSTNESS TO SFT CONFIGURATION
Configuration robustness tests whether the trace depends on a particular SFT recipe. Starting from the canonical setting—learning rate , 100 optimization steps, LoRA rank , and scaling —one factor is changed at a time. Alternative settings use learning rates of and , 50 or 200 training steps, LoRA ranks , and scaling factors . Each of the nine configurations is evaluated at harmful-objective proportions of , , , , , , and , with three independent trajectories per proportion and backbone, giving 756 trajectories in total. The reference geometry and scoring procedure remain fixed.

(a) Varying audited layer fraction.

(b) Layer location at a audit budget.
Figure 14: Sensitivity of the checkpoint trace to audited layer scope.
Table 13: TRACE on larger Qwen3 models.
| Model | Trace ρ | Matched C/S | 5% C/B | |
|---|---|---|---|---|
| Qwen3-14B | 0.994 | 0.976 | 1.000 | 1.000 |
| Qwen3-32B | 0.960 | 0.997 | 1.000 | 1.000 |
Table 12 reports correlations of 0.993–1.000 between the modified and canonical median curves. Figure 13 shows that configuration changes can shift the absolute score scale while preserving the dose-response ordering. The high correlations are not explained by score collapse: every tested configuration retains more than 70% of the canonical dynamic range . The trace is therefore largely insensitive to the particular SFT configuration at the level of objective ordering.
E.4 SENSITIVITY TO AUDITED LAYER SCOPE
Layer-scope sensitivity tests whether recovering the trace requires access to all Transformer layers. With checkpoints, reference geometry, and all other components fixed, only the audited q-proj/v-proj modules are varied. Uniformly spaced subsets containing 25%, 50%, 75%, and 100% of the layers are first compared. A second experiment fixes the audit budget at 25% and compares early, middle, late, and uniformly spaced layer subsets.
Figure 14 shows that uniformly auditing only 25% of the layers already retains Spearman correlations of 0.968–0.987, compared with 0.988–0.992 when all layers are used. At the same 25% audit budget, middle-layer subsets reach 0.983–0.990 and consistently outperform early-layer subsets. These results indicate that the trace is distributed across the model rather than confined to a narrow layer region. All layers are nevertheless retained in the main experiments to avoid introducing additional layer-selection choices or hyperparameters.
E.5 SCALING TO LARGER QWEN MODELS
We test whether the harmful-objective trace persists as model scale increases within the same model family. In addition to Qwen3-8B used in the main experiments, we evaluate Qwen3-14B and Qwen3-32B using the same TRACE construction and canonical SFT configuration. For each model, the reference geometry is built from eight harmful-compliance (C), eight safety-targeted (S), and eight benign-utility (B) trajectories. Query checkpoints are trained at harmful-objective proportions with three independent seeds per condition. The matched C/S control is additionally evaluated at , again with three matched pairs per condition. In total, 75 trajectories are trained for each larger backbone. Qwen3-32B uses a smaller per-device micro-batch with gradient accumulation to preserve the same effective batch size; all other training and scoring settings remain unchanged.
Figure 15 shows that the continuous ordering persists at both scales. For Qwen3-14B, the harmful-objective coordinate has Spearman correlation with the controlled objective proportion

Figure 15: Continuous harmful-objective traces on larger Qwen3 models. The reference geometry is constructed independently within each backbone; absolute values are therefore not compared across models.
Table 14: Behavioral validity of .
| Model | Spearman | 95% CI | Pearson | Partial Corr. | |
|---|---|---|---|---|---|
| Llama | 0.931 | [0.890, 0.952] | 0.896 | 0.803 | 0.52 |
| Mistral | 0.716 | [0.568, 0.806] | 0.697 | 0.485 | -0.18 |
| Qwen | 0.887 | [0.791, 0.936] | 0.851 | 0.724 | 0.31 |
| OLMo | 0.854 | [0.743, 0.912] | 0.739 | 0.546 | 0.30 |
and ; the ratio-wise mean score increases monotonically from 0.103 at 0% to 0.849 at 100%. Qwen3-32B similarly retains a strong trace, with and , and its mean score increases monotonically from 0.150 to 0.924. The ordering is already visible in the low-ratio regime: both models achieve AUROC 1.000 for separating 5% harmful-compliance checkpoints from benign-only checkpoints.
Objective specificity also survives scaling. Under the matched C/S control, where prompts, benign examples, ordering, seed, and training configuration are held fixed and only the harmful-response target changes, both Qwen3-14B and Qwen3-32B achieve AUROC 1.000. Every matched pair assigns a larger to harmful-compliance than to refusal-targeted SFT, with mean paired gaps of 0.175 and 0.264, respectively. Together with the existing Qwen3-8B result (), these experiments indicate that the continuous, objective-specific checkpoint trace persists as the Qwen3 backbone scales from 8B to 14B and 32B parameters.
F BEHAVIORAL EXTERNAL VALIDITY AND EXTENSIONS
This appendix examines two questions beyond the core characterization of the harmful-SFT trace. First, the checkpoint-derived coordinate is compared with independently measured harmful behavior to assess its external validity. Second, the reference-geometry formulation is tested on a qualitatively different checkpoint modification: trigger-conditioned backdoors. The latter is treated as an extension rather than evidence required for the main harmful-SFT trace.
F.1 BEHAVIORAL EXTERNAL VALIDITY
Detailed results for the behavioral evaluation in Section 5.3 are reported in Table 14 and Figure 16.
The association is strongest for Llama ( , ) and Qwen ( , ), while Mistral and OLMo remain positive but weaker. All four correlations are significant under permutation tests ( ), with Pearson correlations of 0.697–0.896. The pattern also holds across attacks: all 16 backbone–attack combinations are positively correlated (0.55–0.94), and leave-one-attack-out results remain stable. Across longitudinal trajectories, 46 of 60 show positive –ASR associations, with median Spearman correlation 0.52. After controlling for SFT objective and training stage, partial correlations are 0.52, -0.18, 0.31, and 0.30 for Llama, Mistral, Qwen, and OLMo, respectively, indicating that part of the aggregate relationship is explained by objective and training progress, while a positive within-condition association remains for three of four backbones.
(A) Llama-3.1-8B

(B) Mistral-7B
(C) Qwen3-8B
(D) OLMo-3-7B
TRACE harmful composition coordinate
TRACE harmful composition coordinate
Figure 16: Checkpoint-level association between and attack success rate. Each panel corresponds to one backbone.
F.2 BACKDOOR ATTACK-FAMILY ADAPTATION
A separate experiment tests whether the reference geometry extends to a qualitatively different post-training modification. Toxic Backdoors Alpaca (Ewart, 2024) inserts the trigger SolidGoldMagikarp into poisoned Alpaca-style instructions and pairs them with toxic targets. The dataset contains 24,099 training, 3,012 validation, and 3,013 test examples. Attack validation uses 1,000-example SFT sets with 500 poisoned and 500 clean examples trained for 200 steps. Across four backbones, triggered ASR reaches 0.997–1.000, while clean-prompt toxicity remains 0.003–0.005.
Checkpoint auditing uses poison rates of 1%, 2%, 5%, 10%, 25%, and 50%, with ten backdoor trajectories per rate and five clean controls per backbone. For each rate, four seeds are used as references, two for validation, and four for held-out testing. Because the original C/S/B geometry does not represent trigger-conditioned modifications, a backdoor prototype is constructed from 24 reference trajectories per backbone; test checkpoints and behavioral ASR remain excluded from reference construction. As shown in Figure 17, the attack is largely ineffective at 1%, becomes established on Llama and Mistral by 2%, and shows a clearer transition on Qwen and OLMo by 5%.

Figure 17: Triggered ASR across poison rates.
Table 15 shows that TRACE +BackdoorRef provides the strongest separation at every poison rate, although performance is not monotonic with poisoning strength. WeightWatch-SVD yields moderate separation across the sweep, while adding the same backdoor-reference expansion does not provide a consistent improvement. This is expected because attack efficacy and checkpoint detectability need not evolve together: at low rates the triggered behavior may not yet be reliably learned, while higher poison rates can alter the scale and direction of the resulting update in ways that do not mono-
Table 15: Backdoor detection across poison rates.
| Method | 1% | 2% | 5% | 10% | 25% | 50% |
|---|---|---|---|---|---|---|
| UpdateNorm | 0.313 | 0.375 | 0.500 | 0.469 | 0.438 | 0.125 |
| PEFTGuard-BD | 0.531 | 0.531 | 0.656 | 0.406 | 0.281 | 0.188 |
| WeightWatch-SVD | 0.531 | 0.469 | 0.438 | 0.398 | 0.469 | 0.430 |
| WeightWatch-SVD +BackdoorRef | 0.438 | 0.438 | 0.547 | 0.422 | 0.438 | 0.375 |
| TRACE original | 0.250 | 0.250 | 0.250 | 0.062 | 0.000 | 0.000 |
| TRACE +BackdoorRef | 0.625 | 0.625 | 0.750 | 0.625 | 0.688 | 0.692 |

Figure 18: Backdoor auditing and reference adaptation. (A) Pooled held-out backdoor detection across baselines and reference-adapted variants over 1%–50% poison rates. (B) Association between the TRACE checkpoint score and triggered ASR before and after adding the backdoor reference.
tonically increase geometric separability. UpdateNorm remains substantially weaker, indicating that update magnitude alone is insufficient for reliable backdoor auditing.
Pooling held-out checkpoints over 1%–50%, TRACE +BackdoorRef raises macro AUROC from 0.232 to 0.721, exceeding PEFTGuard-BD (0.565), WeightWatch-SVD (0.456), and WeightWatch-SVD +BackdoorRef (0.443), as shown in Figure 18. Per-backbone AUROC for TRACE improves from 0.260 to 0.719 on Llama, 0.385 to 0.615 on Mistral, 0.146 to 0.990 on Qwen, and 0.135 to 0.563 on OLMo. Reference-count sensitivity rises from approximately 0.28 with one or two attack-family references to 0.30 with four, 0.35 with eight, and 0.72 with all 24, indicating that new modification families benefit from references that explicitly represent their update pattern.
F.3 BACKWARD COMPATIBILITY OF REFERENCE EXPANSION
Adding a backdoor prototype raises a separate question: whether expanding the reference space preserves the original harmful-SFT audit. The original harmful-compliance and balanced non-harmful prototypes, and , remain frozen, while is constructed from the same 24 backdoor reference trajectories used above. No checkpoint is retrained and no behavioral labels or score recalibration are introduced. The expanded three-component geometry estimates
and defines the combined harmful-modification coordinate
Recomputing the original two-component coordinate reproduces the stored TRACE scores to numerical precision.
Table 16 and Figure 19 show that the expanded geometry preserves matched discrimination and dataset-family OOD performance, while ID and unseen AUROC decrease by 0.0365 and 0.0455, respectively; both decreases have paired-bootstrap confidence intervals excluding zero. Importantly, continuous harmful-objective ordering remains stable: the expanded coordinate retains Spearman correlations of 0.9804, 0.9872, 0.9831, and 0.9923 with harmful-objective proportion on Llama, Mistral, Qwen, and OLMo, and the rank correlation between original and expanded scores is at least 0.9886 on every backbone. The remaining performance change is therefore more consistent with score renormalization than with loss of the underlying objective structure; adding assigns nonzero mass to some original checkpoints and shifts their normalized scores by median amounts of approximately 0.06–0.45 across backbone-objective combinations.
Table 16: Backward compatibility after adding the backdoor reference. reports the change in macro AUROC after reference-space expansion.
| Setting | Original | 95% CI | ||
|---|---|---|---|---|
| ID | 0.9110 | 0.8745 | -0.0365 | [-0.0710, -0.0045] |
| Matched C/S | 0.9881 | 0.9924 | +0.0043 | [+0.0004, +0.0088] |
| OOD | 1.0000 | 1.0000 | +0.0000 | [0.0000, 0.0000] |
| Unseen | 0.9998 | 0.9543 | -0.0455 | [-0.0762, -0.0181] |

Figure 19: Backward compatibility of backdoor reference expansion. Left: change in the original harmful-SFT detection tasks after adding . Right: retention of continuous harmful-objective ordering.
G TRACE UNDER PRACTICAL-SCALE HETEROGENEOUS SFT
The main experiments use small, controlled SFT trajectories to isolate objective-induced checkpoint structure. This section tests whether the same trace and auditing signal persist under larger, heterogeneous instruction tuning.
Practical SFT setup. The benign pool is built from a filtered Tulu 3 SFT mixture (Lambert et al., 2025). From 939,343 examples across 19 sources, safety-, jailbreak-, refusal-, and open-chat-oriented sources are removed, leaving 715,082 examples from 13 benign/utility sources spanning instruction following, mathematics, reasoning, code, scientific tasks, table understanding, and multilingual data. Each trajectory contains 10,000 examples, with harmful-compliance examples from PKU-SafeRLHF and BeaverTails replacing benign examples at 0, 0.5, 1, 2, 5, and . Llama-3.1-8B-Instruct and Qwen3-8B are evaluated with three trajectories per condition, each trained for one epoch (625 steps) using the canonical LoRA configuration: , , q/v projections, learning rate , effective batch size 16, maximum sequence length 512, and bfloat16. The original reference geometry remains frozen throughout, and all training manifests have zero prompt-level overlap with reference, previous-query, and evaluation pools.
Checkpoint trace and behavioral relevance. Despite the increase in dataset size and the more heterogeneous benign distribution, remains strongly ordered by harmful-objective proportion, with Spearman correlations of 0.979 for Llama and 0.992 for Qwen; ratio-wise means increase monotonically on both backbones. Using the same behavioral protocol as Section 5.3, ASR also rises with harmful-objective composition. Figure 21 shows checkpoint-level -ASR correlations of approximately 0.89 for Llama and 0.92 for Qwen, with positive associations for each attack individually. Behavioral measurements remain excluded from TRACE construction and calibration.
Objective controls and training dynamics. Matched controls are repeated at and , holding prompts, benign examples, ordering, seed, and training configuration fixed while changing only the harmful-response target. All three matched pairs on both backbones satisfy and (Figure 22(a-b)). Mean gaps at are for Llama and for Qwen, with corresponding ASR gaps of and . Along six harmful-compliance trajectories, both and ASR increase overall across 20, 40, 60, 80, and of training (Figure 22(c-d)); four of six trajectories have positive within-trajectory correlations, with median Spearman correlation approximately 0.4.
(a) Tulu3-Clean benign background

(b) Construction of 10k SFT trajectories
Figure 20: Construction of practical heterogeneous SFT trajectories. (a) The 10k-example Tulu3-Clean background contains 13 heterogeneous instruction-tuning sources. (b) Harmful-compliance examples progressively replace benign examples while total size remains fixed at 10,000.
(a)

(b) ASR
(c) vs ASR
Figure 21: TRACE under practical heterogeneous SFT. Harmful-objective proportion versus , proportion versus ASR, and checkpoint-level -ASR association. Each point is an independently trained 10k-example checkpoint; the reference geometry remains frozen.
As a scale-only control, the original UltraChat/GSM8K/MBPP benign construction is expanded to 10,000 examples for Llama. The harmful-objective ordering remains intact, indicating that scale transfer is not specific to Tulu3-Clean; the behavioral result is noisier with only eight checkpoints and is treated as supporting evidence. Overall, the trace remains informative under 10,000-example heterogeneous SFT without rebuilding or recalibrating the reference geometry.
H BASELINE IMPLEMENTATION DETAILS
This appendix provides implementation details for the checkpoint-auditing baselines used in Section 4. Unless otherwise specified, all methods use the same frozen train/validation/test splits. AUROC is computed independently within each backbone and macro-averaged across the four backbones. Higher scores always indicate stronger evidence of harmful fine-tuning, and no test-time score flipping is applied.
UpdateNorm. UpdateNorm is a weights-only baseline that measures the magnitude of the fine-tuning-induced update. For each LoRA checkpoint, we compute
(a) matched C/S

(b) matched C/S ASR
(c)
(d) ASR
Figure 22: Objective controls and training dynamics. (a–b) Matched C/S trajectories differ only in harmful-response targets. (c–d) Along 5% harmful-compliance trajectories, and ASR generally increase during SFT. Thin lines show seeds and thick lines show means.
where contains all modified and modules and . The score requires no reference checkpoints, labels, or model execution.
Spectral. The Spectral baseline uses spectral statistics of LoRA-induced weight updates. Following the original configuration, we extract features from layer 20. Since our adapters modify only and , we apply the spectral analysis to these two projections. For each projection, we compute the singular values of the effective update and extract five statistics: the largest singular value, Frobenius norm, leading-singular-value energy fraction, spectral entropy, and excess kurtosis. The resulting 10-dimensional feature vector is standardized and classified by a per-backbone logistic regression model trained on the benchmark training labels. Thus, this baseline uses checkpoint weights and training labels, but requires no model forward passes.
PEFTGuard. PEFTGuard is evaluated as a supervised PEFT-weight baseline. For every layer, the and LoRA factors are converted to their effective updates and spatially pooled before being passed to a memory-adapted convolutional classification head. A separate detector is trained for each backbone using the training split, with validation-based early stopping. The final score is the predicted harmful-class probability. The implementation follows the original optimization recipe while adapting tensor shapes and the classification head to the model architectures and available q/v LoRA modules.
CANARY. CANARY is an activation-based baseline reconstructed from the method description because no official implementation was available. For each checkpoint, we compare the final-token hidden representation of the base and fine-tuned models at the middle Transformer layer using 30 fixed unlabeled probe prompts. Hidden representations are encoded by a per-backbone k-sparse autoencoder trained on base-model activations. After masking high-variance noise features, the checkpoint score is
where E and D denote the sparse encoder and decoder and M removes the preidentified noise features. CANARY therefore requires model forward passes and fixed probe inputs, but no harmful labels are used to produce the checkpoint score.
WeightWatch-SVD. Watch the Weights analyzes leading singular directions of the weight difference between a fine-tuned model and its base model. The original method operates on and MLP updates and combines these directions with activation-based monitoring and clean-data calibration. However, our canonical LoRA checkpoints modify only and , making the original module scope uninformative in our setting. We therefore evaluate an adapted checkpoint-level, weights-only version, denoted WeightWatch-SVD.
For each modified module, we compute the singular subspace of the effective LoRA update without materializing the dense matrix. Writing for the stored scaled factors, we use thin QR decompositions
followed by an SVD of the small core matrix
The right singular vectors are then
We retain up to the original default of 20 directions, capped by the numerical rank of the LoRA update.
To compare two checkpoints i and j, we use the sign-invariant projection kernel
where is the number of shared retained directions. Module-level similarities are averaged across all audited modules to obtain .
Because the original Watch the Weights method does not define a checkpoint-level scalar score, we use the same frozen C/S/B reference split as TRACE to convert this representation into a continuous audit score. Let be the harmful-compliance prototype and the balanced non-harmful prototype in the WeightWatch-SVD kernel space. We fit
and report
No model queries, calibration data, ratio-specific tuning, or test labels are used. We therefore refer to this method throughout as WeightWatch-SVD (adapted), rather than as an unmodified reproduction of the original monitoring pipeline.