Skip to content

Translation in progress Some entries still include text in the original language.

ASCENT: A fine-tuning framework for synergistic safety and utility through first-order optimal calibrationASCENT: First-Order Optimal Fine-Tuning with Recalibration for Safety--Utility Co-Enhancement

arXiv· arXiv:2610.08061· Weiwei Qi, Chongyu Wang, Tianhang Zheng, Zefeng Wu, Zhilin Guo, Xiaojun Jia, Zhongjie Ba, Kui Ren·Indexed by this site · 2026-10-07· Originally publishedDefenses

Quick read

Defenses

Based on the paper PDF (AI-generated); refer to the original

ASCENT performs joint safety-utility fine-tuning; Gemma-3 on GSM8K reduces ASR from 37.0 to 1.5 (Table 1).

Questions
Supervised fine-tuning improves downstream utility of LLMs but often weakens safety capabilities. Existing safety-preserving fine-tuning mainly prevents degradation, subspaces are often fixed before fine-tuning, and there is also a lack of theoretical characterization of the optimal safety subspace and safety-preserving task updates.
Methods
ASCENT expresses safety as a function of parameters, uses a first-order approximation under rank and norm budgets to take the top-r singular components of the safety gradient for calibration, only suppresses task components with negative contributions, and periodically re-estimates based on a retention rate.
Experiments and results
Across four models and four tasks, in Table 1, ASCENT shows higher utility and lower ASR compared to Original and each baseline. The authors state that the absolute change in utility is at most 20.3, and the absolute decrease in ASR is at most 35.5; under GSM8K, the average ASR across five evaluations drops from 44.8% to 10.5%.
Limitations and future work
The paper does not specifically write limitations or future directions. The experiments include four models and four downstream tasks; the main ASR uses GPT-4o, and JailbreakBench additionally uses Gemini-3.1-Pro. The paper does not report the number of repetitions, nor does it report the model used internally by the jailbreak attack.
Experimental setupQwen2.5-7B-Instruct、Llama-3.1-8B-Instruct et al. · SAMSum、AG News et al. · ROUGE-L、accuracy et al.
Evaluated models
Qwen2.5-7B-InstructLlama-3.1-8B-InstructGemma-3-12B-itQwen3-30B-A3B-Instruct-2507
Benchmarks
SAMSumAG NewsGSM8KOpenBookQAJailbreakBenchWildJailbreakStrongREJECTHarmBench
Metrics
ROUGE-LaccuracyASRR_t(k)
AI summaryThe researchers propose ASCENT, a downstream fine-tuning framework that achieves joint improvement of safety and utility through first-order optimal safety-aware periodic calibration and task optimization. The method models safety as a function S(θ) of the large language model's parameters and uses its first-order approximation to characterize the safety change caused by parameter updates; under a fixed rank and Frobenius norm budget, it proves that an update constructed from the top r singular components of the safety function's gradient maximizes the estimated safety change, and uses this for periodic calibration. The research also derives a unique safety-preserving task update that stays close to the original task update while penalizing negative effects on the estimated safety change, and ASCENT alternates between these two types of updates. Across multiple large language model families and downstream tasks, ASCENT improves downstream utility by up to 20.3% and reduces attack success rate by up to 35.5%. Code is open-sourced at https://github.com/ZJU-LLM-Safety/ASCENT。

The researchers propose ASCENT, a downstream fine-tuning framework that achieves joint improvement of safety and utility through first-order optimal safety-aware periodic calibration and task optimization. The method models safety as a function S(θ) of the large language model's parameters and uses its first-order approximation to characterize the safety change caused by parameter updates; under a fixed rank and Frobenius norm budget, it proves that an update constructed from the top r singular components of the safety function's gradient maximizes the estimated safety change, and uses this for periodic calibration. The research also derives a unique safety-preserving task update that stays close to the original task update while penalizing negative effects on the estimated safety change, and ASCENT alternates between these two types of updates. Across multiple large language model families and downstream tasks, ASCENT improves downstream utility by up to 20.3% and reduces attack success rate by up to 35.5%. Code is open-sourced at https://github.com/ZJU-LLM-Safety/ASCENT。

Related events and news

1 events · 0 news mentions

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Supervised fine-tuning often weakens safety while improving utility; ASCENT uses first-order calibration and selective task updates, and periodically re-estimates the subspace.

    Downstream supervised fine-tuning can weaken safety capabilities while improving utility; existing methods mainly prevent degradation, lacking characterization of optimal safety subspaces and safety-preserving task updates, and the subspace remains fixed during fine-tuning.

    • Problem Scenario: Supervised fine-tuning is often used to improve downstream utility but is often accompanied by a decline in safety capabilities. The authors believe that task updates may interfere with safety-related parameters, disrupting existing safety structures.
    • Existing Gaps: The paper states that existing methods focus on preventing safety degradation rather than simultaneously improving safety and utility; there is also no theoretical characterization of optimal safety subspaces or safety-preserving task updates. Subspaces are often estimated before fine-tuning and fixed throughout.
    • Core Assumption: By expressing safety as a function of parameters, a first-order approximation can describe safety changes caused by updates. Task components within the safety subspace can either increase or decrease safety, and removing all of them is not optimal.
    • Proposed Method: The authors propose ASCENT, which periodically alternates first-order safety calibration with task updates that only suppress negative contributions, and re-estimates safety-related structures as parameters change, aiming to improve both safety and utility.
  2. What related research exists?

    Related work mainly covers safety-preserving fine-tuning and safety-critical parameters; the authors state that the former focuses on preserving pretrained safety and that the subspace is fixed.

    Safety-Preserving Fine-Tuning

    • Phenomenon: The paper cites Qi et al. (2024): even with benign downstream data, fine-tuning can weaken safety alignment. The introduction also cites Wu et al. (2026) as an observation of the utility–safety trade-off.
    • Constraint Updates: Safe LoRA (Hsu et al., 2024), SaLoRA (Li et al., 2025a), Safety Layers (Li et al., 2025b), and AsFT (Yang et al., 2026) respectively perform alignment subspace projection, low-rank safety constraints, protecting key layers, or restricting updates near the alignment direction.
    • GuardSpace and Criticism: GuardSpace (Zhang et al., 2026) uses covariance-preconditioned SVD to separate safety-relevant components and uses a harmful-resistance null space to constrain LoRA. The paper states that these methods mainly preserve pretrained safety behavior, and structural subspaces are typically constructed before training and fixed.

    Safety-Critical Parameters and Low-Rank Intervention

    • Low-Rank Modifications: Wei et al. (2024) locate safety-critical regions at both the neuron and rank levels, and show that low-rank modifications can strongly affect alignment.
    • ESI and SPA: Qi et al. (2026c) quantify the safety impact of individual parameters and use SPA to fix safety-critical parameters during fine-tuning. The paper states that this still does not provide optimal low-rank safety-improving updates, nor safety-preserving task updates.
    • Jailbreak Context: Qi et al. (2026a;b) use policy combinations and continuous evolution for adaptive jailbreaks. The paper does not treat this as a method comparison with ASCENT.

    Experimental Comparisons

    • Baselines and Data: Comparisons are SafeLoRA, SaLoRA, GuardSpace, SPA, and Original before fine-tuning. Safety Layers and AsFT appear only in Related Work. Tasks are SAMSum, AG News, GSM8K, OpenBookQA; safety evaluations are JailbreakBench, WildJailbreak, and TAP, PAP, RAINBOW, AutoDAN-Turbo on StrongREJECT.

    The authors distinguish ASCENT as: deriving safety calibration and safety-preserving task updates from a first-order perspective, and periodically recalibrating during fine-tuning to improve both safety and utility, rather than only fixing a pretrained safety subspace. Related Work also mentions image content safety work in one or two sentences, without comparison to ASCENT.

  3. How does the paper address this problem?

    ASCENT uses the top-r components of the safety gradient for periodic calibration and only suppresses task components that contribute negatively to the first-order safety estimate.

    Overall, it is ASCENT: write safety as a function of parameters, perform first-order optimal calibration under rank and norm budgets, then suppress only task components that negatively contribute to estimated safety change, and periodically re-estimate according to a retention rate.

    Safety Function and Gradient Estimation

    The safety function is S(θ)=Ex∼DharmEy∼pθ(·|x)[s(y)]. s(y) is the safety score of a reply, and larger S means safer on the harmful prompt distribution. Safety change from an update is approximated by a first-order expansion; for each weight matrix, the contribution is written as a Frobenius inner product with the safety gradient.

    Replies are discrete, so gradients follow ESI's differentiable reviewer, then chain rule to target parameters. ASCENT directly takes derivatives of the reviewer score with respect to token weights of generated replies, without auxiliary logits and extra softmax. The differentiable reviewer in experiments is Llama-Guard-3-8B. Appendix C gives the estimator and comparison with the original ESI estimator.

    Rank-Constrained Safety Calibration

    Calibration improves estimated safety while limiting perturbation. Constraints are rank ≤ r and Frobenius norm ≤ ρ. Theorem 1 gives the update as ΔWcal∗=ρ Ur Σr VrT / ||Σr||F; the corresponding maximum first-order safety improvement estimate is ρ times ||Σ_r||_F. Appendix A.1 proves this using the von Neumann trace inequality and Cauchy–Schwarz.

    This top-r singular structure defines rank-one components E_i and spans a safety-related matrix subspace. Normalized weights w_i equal the i-th singular value divided by ||Σ_r||_F, used for penalty strength in subsequent task optimization.

    Safety-Preserving Task Updates

    ΔW_task is the effective update written back to the full weight matrix; when using LoRA, it is not the LoRA factors themselves. c_i is the coefficient of this update on E_i. Singular values are nonnegative, so the sign of the first-order safety contribution is determined by c_i: nonnegative is safety-compatible, negative is safety-decreasing. When |c_i| is the same, larger singular values yield larger estimated safety change magnitude.

    The optimization objective is to stay close to the original task update, penalizing only negative-contribution components, with larger w_i giving stronger penalties, controlled by λ. Theorem 2 gives the unique solution: coefficients unchanged when c_i≥0; when c_i<0, c_i is divided by 1+λ w_i squared, and the coefficient difference is added back to the corresponding E_i. Corollary 3 states that after optimization, the first-order safety effect within the calibration subspace is not lower than the original task update. Proof is in Appendix A.2.

    Periodic Recalibration

    The authors observe that the rank-r safety gradient structure can persist for several steps but changes with optimization (Figure 4). Therefore, multiple task updates are performed between two calibrations, then the top-r structure is re-estimated.

    Retention rate R_t(k) is the normalized Frobenius inner product of top-r gradient matrices at two time points, preserving pairing and direction of singular components; negative values indicate direction reversal. After averaging over target matrices, the maximum step count still above threshold τ is taken as interval K. In experiments, τ=0.8, K=16, shared across all models and tasks.

    Implementation in Training

    Each calibration merges the update directly into the current full model. Then the original task update is parameterized with rank-32 LoRA, the effective update is modified by the closed-form solution, and merged. The rank constraint applies only to the LoRA parameterization; the merged task update need not remain rank 32. After the task phase, adapters are reset.

    All settings share r=32, ρ=0.02, λ=1; each gradient estimation uses N=50 harmful prompts from HarmBench. Qwen2.5 and Llama-3.1 modify attention and MLP projections in each layer; Gemma-3 modifies only the language backbone, excluding vision modules; Qwen3 modifies only shared attention, excluding MoE experts and router. Embeddings, normalization layers, and the language model head are not modified.

  4. What experiments did the paper conduct?

    Across the 16 settings in Table 1, ASCENT has higher utility than all baselines, and JailbreakBench ASR is lower than Original and all baselines.

    Experimental Setup

    • Models tested: Qwen2.5-7B-Instruct, Llama-3.1-8B-Instruct, Gemma-3-12B-it, Qwen3-30B-A3B-Instruct-2507. Includes dense and MoE. Abbreviated in Table 1 as Qwen2.5-7B-it, Llama-3.1-8B-it, Gemma-3-12B-it, Qwen3-30B-A3B-it.
    • Downstream data: SAMSum, AG News, GSM8K, OpenBookQA. 2000 training and 500 test examples randomly sampled per task, with all methods sharing the same split (Appendix B).
    • Fine-tuning protocol: LoRA methods share rank 32, α=64, dropout 0.05, 80 optimization steps, Fused AdamW, learning rate 2.5e-6, batch 64, weight decay 0. SPA selects parameters from low to high ESI until the count is close to rank-32 LoRA. ASCENT additionally uses r=32, ρ=0.02, λ=1, K=16.
    • Utility: SAMSum reports ROUGE-L (%), the other three report accuracy (%), higher is better. Original is the model before downstream fine-tuning, so the Original ASR for the four tasks is the same for a given model.
    • Safety evaluation: The primary metric is JailbreakBench ASR. GPT-4o scores 1–5 according to the prompt in Appendix D, with 4 or 5 counted as success; that appendix gives the full prompt. Gemini-3.1-Pro re-evaluates with the same success criterion. The gradient estimate evaluation uses Llama-Guard-3-8B.
    • Other safety sets and repetitions: JailbreakBench uses 200 jailbreak examples from the judge comparison test split, excluding 100 benign examples. WildJailbreak randomly samples 200 examples from the adversarial harmful subset. The 313 harmful targets of StrongREJECT are run with TAP, PAP, RAINBOW, and AutoDAN-Turbo respectively. The paper does not report the number of repetitions.

    Main Results

    The table below lists only SAMSum and GSM8K; all numbers come from Table 1. Utility is ROUGE-L (%) and accuracy (%), respectively. AG News and OpenBookQA are not listed.

    Swipe horizontally to read the table

    ModelTaskOriginal utilityASCENT utilityOriginal ASRASCENT ASR
    Qwen2.5-7B-itSAMSum31.942.939.514.5
    Llama-3.1-8B-itSAMSum28.045.824.09.0
    Gemma-3-12B-itSAMSum30.846.037.09.5
    Qwen3-30B-A3B-itSAMSum26.546.825.511.5
    Qwen2.5-7B-itGSM8K86.491.239.56.5
    Llama-3.1-8B-itGSM8K82.486.624.09.5
    Gemma-3-12B-itGSM8K90.893.637.01.5
    Qwen3-30B-A3B-itGSM8K92.496.625.511.5
    • Joint improvement: The authors state that all 16 settings simultaneously improve utility and reduce ASR, and that in Figure 2 ASCENT lies in the joint improvement region. In the omitted tasks, Qwen2.5's OpenBookQA utility goes from 86.6 to 88.2 (Δ1.6 in the table), with ASR down to 9.0.
    • Baselines: The four baselines improve utility, but no baseline ASR in Table 1 is lower than the corresponding Original. On Gemma-3's AG News, GuardSpace's ASR is 37.0, the same as Original.
    • Authors' summary: The largest absolute utility change in the table is Δ20.3 for Qwen3 SAMSum; the largest absolute accuracy change for other tasks is Δ16.4 for Llama AG News. The largest absolute ASR decrease is Δ35.5 for Gemma-3 GSM8K. The authors state that relative to the strongest baseline in each setting, ASR is on average reduced by a further 25.9%; the paper does not provide a per-setting calculation table.

    Additional Jailbreak Evaluations

    • What was tested: After GSM8K fine-tuning, evaluated on WildJailbreak, and on StrongREJECT with TAP, PAP, RAINBOW, and AutoDAN-Turbo. Table 6 and Figure 3 are averages over four models.
    • Results: ASCENT is 7.7%, 14.8%, 7.2%, 6.6%, 16.0%; Original is 43.1%, 53.8%, 38.8%, 29.4%, 59.1%. The authors state the five-item average goes from 44.8% to 10.5%.
    • Authors' interpretation: The authors state the improvement is not limited to JailbreakBench. In Table 6, the five-item average ASR of all four baselines is higher than Original.

    Component Ablation

    • What was tested: Table 2 on Llama-3.1-8B-it and Qwen3-30B-A3B-it, adding calibration, task optimization, and periodic recalibration cumulatively from Task FT. The middle column's ΔASR is relative to Task FT.
    • Results: With only calibration added, the authors state average ASR drops 13.4%, but utility drops in all eight settings. With task optimization added, average ASR drop is 20.2%, and utility at least returns to Task FT; the two GSM8K values are 86.0 and 96.0, matching Task FT.
    • Recalibration: The authors state average ASR drop is 24.4%, and utility is higher than Task FT in all eight settings. In Figure 5, the authors state the other two models show the same trend; the numbers in the figure are not listed in the main text.

    Calibration Interval

    • Retention rate: Figure 4 shows R_t(k) for four models and four tasks. Dashed line τ=0.8, dotted line K=16. The authors state that at k=16 all 16 settings are above the threshold, so this interval is shared. Pointwise values are not listed in the main text.
    • Sensitivity: Table 3 is averaged over four models. As K increases from 4 to 16, the four utility values rise, and ASR remains low. The authors state that beyond 16, utility only rises by another 0.1; relative to K=16, ASR at K=20 increases by 1.8–2.4, and at K=24 by 3.6–4.7.
    • Reference point: SAMSum at K=16 is ROUGE-L 45.4, ASR 11.1; at K=24 it is 45.5, 15.8 (Table 3).

    Other Ablations and Analyses

    • Estimator (Table 4): After switching to the ESI estimator, utility is 1.0–1.6 lower and ASR is 6.0–8.0 higher across the 16 settings (range given in Appendix C.2).
    • First-order agreement (Table 5, scale ρ, aggregated over two models): Pearson for Llama-Guard-3-8B is 0.92, sign agreement 94.3%; for GPT-4o it is 0.84, 90.6%. At 2ρ it drops to 0.77/85.7% and 0.68/80.9%. The authors state this is consistent with the locality of the first-order approximation.
    • Matched safety supervision (Appendix F, Table 8, same two models): Full-Grad and Cal.+FT have average utility 12.7 and 6.6 lower, and ASR 15.5 and 13.6 percentage points lower; ASCENT has utility 0.9 higher and ASR 24.4 percentage points lower.
    • Dual evaluation (Table 7): GPT-4o / Gemini-3.1-Pro side by side. In each cell, ASCENT's two ASR values are lower than the same cell's Original and all baselines.
    • Negative results: Calibration alone reduces utility (Table 2); full gradient or periodic calibration alone without selective task optimization also yields utility below Task FT (Table 8). ASR rises after K exceeds 16 (Table 3).
  5. What are some points that can be further explored?

    The paper's Conclusion and appendix do not write limitations or future directions.

    Limitations and Future Directions Noted by the Authors

    The paper does not specifically discuss limitations. The Conclusion only restates the method, the role of theorems, and experimental results, with no Future Work section. The Ethics Statement explains that harmful prompts were used only for controlled calibration and evaluation, not involving human subjects; the Reproducibility Statement notes that the appendix contains proofs, implementation, and additional ablations. These are not limitations or future directions written by the authors.

    Experimental Coverage

    • Models and Modification Scope: The tested models are Qwen2.5-7B-Instruct, Llama-3.1-8B-Instruct, Gemma-3-12B-it, and Qwen3-30B-A3B-Instruct-2507, totaling 4, including dense and MoE (Section 4.1). Gemma-3 excludes the vision module; Qwen3 only modifies shared attention, not MoE experts and router (Appendix B).
    • Downstream Tasks: SAMSum, AG News, GSM8K, OpenBookQA; each task has 2000 training and 500 test examples, with a fixed random seed, and all methods share the same split (Appendix B).
    • Safety Evaluation: JailbreakBench 200 jailbreak examples; WildJailbreak adversarial harmful subset 200 examples; StrongREJECT on all 313 harmful targets with TAP, PAP, RAINBOW, AutoDAN-Turbo. Main ASR uses GPT-4o with success thresholds of 4 or 5; JailbreakBench also uses Gemini-3.1-Pro (Appendix D).
    • Gradients and Intervals: Safety gradients use HarmBench's N=50 and Llama-Guard-3-8B. Table 5 uses 100 held-out HarmBench examples not overlapping with gradient estimation, with models Llama-3.1-8B-it and Qwen3-30B-A3B-it. K=16 is selected by retention rate across these four models and four tasks at τ=0.8, and used for all experiments (Section 5).
    • Information Not Reported in the Paper: The paper does not report the number of repetitions, does not list decoding settings for the main safety evaluation, and does not report the models used internally by TAP, PAP, RAINBOW, AutoDAN-Turbo, nor the agreement between GPT-4o and human judgment. The safety-preserving methods compared are SafeLoRA, SaLoRA, GuardSpace, and SPA (Section 4.1).
  6. Summarize the main content of the paper

    ASCENT alternates between safety calibration and selective task updates, and Table 1 shows both utility increases and ASR decreases.

    ASCENT is a downstream supervised fine-tuning method that aims to improve safety while improving task utility, rather than only preventing safety degradation.

    • Problem: Fine-tuning often weakens existing safety alignment. Existing safety-preserving methods often fix a protective subspace before training and constrain task updates; the paper states they lack characterization of optimal safety subspaces and safety-preserving task updates.
    • Method: Express safety as a function of parameters, use a first-order approximation, and construct calibration updates from the top-r singular components of the safety gradient under fixed rank and Frobenius norm budgets. On the task side, retain safety-compatible components and only suppress components with negative contributions weighted by singular values. Then re-estimate this structure every K steps based on a retention rate.
    • Main Results: In the 16 model–task cells of Table 1, ASCENT achieves higher utility than SafeLoRA, SaLoRA, GuardSpace, and SPA, and lower JailbreakBench ASR than Original and these baselines. Qwen3-30B on SAMSum shows an absolute change in ROUGE-L of 20.3 (from 26.5 to 46.8); Gemma-3 on GSM8K reduces ASR from 37.0 to 1.5, with an absolute decrease of 35.5 in the table.
    • Additional Evaluations: The authors state that relative to the strongest baseline in each setting, ASR decreases by an additional 25.9% on average. Under GSM8K fine-tuning and averaging over four models, the average ASR across five additional evaluations drops from 44.8% to 10.5%; among these, WildJailbreak is 7.7% (Table 6).
    • Components: Safety calibration alone reduces utility. Selective task updates bring utility back to at least the level of Task FT; with periodic recalibration added, all eight settings in Table 2 have higher utility than Task FT, and the authors state an average ASR decrease of 24.4%.
    • Authors' Conclusion: The authors state that first-order optimal calibration, selective task suppression, and periodic recalibration can simultaneously improve safety and utility, and claim state-of-the-art safety and utility across all evaluation settings.

Related papers

Show 2 more papers
Read originalarxiv.org