Paper: 2611.08414
Authors: Chenruo Liu, Zihan Wang, Yijun Dong, Qi Lei (New York University, Institute of Science and Technology Austria)
Categories: cs.LG, stat.ML, cs.AI

The Gap

In post-training foundation models, practitioners commonly chain two distinct stages: Supervised Fine-Tuning (SFT) on curated demonstrations, followed by Reinforcement Learning with Verifiable Rewards (RLVR / GRPO / PPO) on self-generated reasoning rollouts.

To conserve GPU VRAM, Low-Rank Adaptation (LoRA) is standard practice across both stages, adapting frozen weights W0W_0 via low-rank factor matrices: ΔWt=αrBtAt,Bt∈Rdo×r, At∈Rr×di,r≪min⁡(do,di)\Delta W_t = \frac{\alpha}{r} B_t A_t, \quad B_t \in \mathbb{R}^{d_o \times r}, \, A_t \in \mathbb{R}^{r \times d_i}, \quad r \ll \min(d_o, d_i)

However, machine learning practitioners routinely use identical optimizer defaults (standard AdamW, fixed learning rates, and uniform scaling) across both SFT and RL.

This one-size-fits-all approach ignores a fundamental mystery: Why does LoRA behave so erratically between SFT and RL?

  1. The Spectral Mystery: In SFT, models benefit from higher rank utilization and moderate learning rates. In RL, models often suffer from training instability unless trained with tiny learning rates, yet the geometric reason has remained unknown.
  2. The Missing Geometric Diagnostic: While prior work studied differences in output logits or full-weight updates, no one had tracked the low-rank increment ΔWt\Delta W_t itself—specifically its effective rank (singular value spread) and singular subspace rotation (which input/output directions are selected).
  3. Conflating Sampling with Optimization: Is RL’s distinct behavior caused by on-policy exploration, reward hacking, or the mathematical formulation of relative policy gradients?
                     THE UNNOTICED DIVERGENCE IN LORA POST-TRAINING

  Supervised Fine-Tuning (SFT):
  Gold completions ──> Coherent gradients ──> Expands effective rank (SVD spread)
                                              Stable subspace orientation

  Reinforcement Learning (GRPO / RLVR):
  Sampled rollouts ──> Group-mean baseline ──> Collapses effective rank!
                       subtraction (r_i - r̄)  Rotates singular subspaces aggressively!

  Result: Applying identical AdamW configurations causes spectral collapse in RL
          and under-utilizes capacity in SFT.

The Increment

One sentence: NYU researchers track the singular spectrum and subspaces of LoRA updates, proving theoretically and empirically that group-mean baseline subtraction (ri−rˉr_i - \bar{r}) inherently tilts RL dynamics toward spectral concentration and rapid subspace rotation, and introduce stage-tailored optimizers: full spectral flattening for SFT, and orthogonal subspace projection flattening for RL.

                    SPECTRAL FLATTENING IN SFT VS RL

  SFT-Tailored LoRA Update:
  Flatten the full update to distribute capacity across all rank directions:
  B_{t+1} = B_t + η M( D_t^B )              [M(·): Norm-preserving Muon transform]
  A_{t+1} = A_t + η D_t^A                   [Adam direction for factor A]

  RL-Tailored LoRA Update (GRPO):
  Project onto current adapter span P_t = B_t(B_t^T B_t)^† B_t^T;
  Flatten ONLY the orthogonal component to guide subspace rotation:
  B_{t+1} = B_t + η [ P_t D_t^B + M((I - P_t) D_t^B) ]

Core Framework & Mechanisms

The authors construct an experimental and theoretical bridge dissecting the four-stage continuum between SFT and RL: SFT⟶Rejection Sampling (RFT)⟶RFT with Group Baseline (RFT-B)⟶GRPO\text{SFT} \longrightarrow \text{Rejection Sampling (RFT)} \longrightarrow \text{RFT with Group Baseline (RFT-B)} \longrightarrow \text{GRPO}

1. Two Key Diagnostic Lenses

For each LoRA adapter ΔWt=αrBtAt\Delta W_t = \frac{\alpha}{r} B_t A_t, the authors compute its singular value decomposition ΔWt=UtΣtVt⊤\Delta W_t = U_t \Sigma_t V_t^\top and track:

  1. Effective Rank (Roy & Vetterli entropy of normalized squared singular values): erank(t)=exp⁡(−∑i=1rσi,t2∑jσj,t2log⁡σi,t2∑jσj,t2)∈[1,r]\text{erank}(t) = \exp\left( -\sum_{i=1}^r \frac{\sigma_{i, t}^2}{\sum_j \sigma_{j, t}^2} \log \frac{\sigma_{i, t}^2}{\sum_j \sigma_{j, t}^2} \right) \in [1, r] Low erank\text{erank} indicates that singular values are concentrated onto a tiny handful of dominant directions (rank collapse).
  2. Subspace Overlap (measuring how fast input/output subspaces rotate): ovlpL(t1,t2)=1r∥Ut1⊤Ut2∥F2∈[0,1],ovlpR(t1,t2)=1r∥Vt1⊤Vt2∥F2∈[0,1]\text{ovlp}_L(t_1, t_2) = \frac{1}{r} \| U_{t_1}^\top U_{t_2} \|_F^2 \in [0, 1], \quad \text{ovlp}_R(t_1, t_2) = \frac{1}{r} \| V_{t_1}^\top V_{t_2} \|_F^2 \in [0, 1] A rapid decay in overlap signifies fast geometric rotation of the adapted subspace.

2. The Smoking Gun: Group-Mean Baseline Subtraction

By comparing RFT (rejection sampling without baseline) against RFT-B (rejection sampling with group-mean reward subtraction ri−rˉr_i - \bar{r}):

  • SFT and RFT behave identically: at intermediate learning rates (5×10−55 \times 10^{-5} to 5×10−45 \times 10^{-4}), effective rank expands steadily, and subspace rotation is slow.
  • RFT-B and GRPO behave identically: effective rank relentlessly collapses at every single learning rate, and singular subspaces rotate significantly faster.
  • The Mathematical Cause: In the paper’s quadratic multi-index model, baseline subtraction suppresses the shared task-relevant components (ϑa<1/2\vartheta_a < 1/2) while amplifying the contrastive noise components (ϑo>1/2\vartheta_o > 1/2). This tilts the balance from coherent fitting toward gradient noise, concentrating energy onto the single strongest eigenvalue and rotating the remaining coordinates.

3. Dynamics-Informed Optimizer Design

Armed with this geometric understanding, the authors design stage-specific optimizer updates using norm-preserving spectral flattening M(D):=∥D∥Frank(D)D(D⊤D)−1/2M(D) := \frac{\|D\|_F}{\sqrt{\text{rank}(D)}} D (D^\top D)^{-1/2}:

  • For SFT: Apply M(⋅)M(\cdot) to the full SGD update of factor BB. This prevents premature spectral collapse, forcing all rr singular directions to absorb demonstration knowledge evenly.
  • For RL: In GRPO, the model needs to rotate its subspace to discover novel reasoning paths, but must not destabilize existing within-span progress. The algorithm computes the orthogonal projection Pt=Bt(Bt⊤Bt)†Bt⊤P_t = B_t (B_t^\top B_t)^\dagger B_t^\top and applies M(⋅)M(\cdot) strictly to the orthogonal component (I−Pt)DtB(I - P_t) D_t^B: Bt+1=Bt+η[PtDtB+M((I−Pt)DtB)]B_{t+1} = B_t + \eta \left[ P_t D_t^B + M\left( (I - P_t) D_t^B \right) \right]

Key Quantitative Results

The methods were evaluated across 8 foundation models (including Llama-3.2-1B/3B, Qwen2.5-3B, and Qwen2.5-Math-7B) on challenging mathematical reasoning benchmarks (GSM8K and MATH).

1. Dynamics Comparison on Mathematical Reasoning (GSM8K)

Training Stage & SetupOptimizer ConfigurationEffective Rank Trend (erank\text{erank})Subspace Rotation SpeedPreferred Learning Rate
Supervised Fine-Tuning (SFT)Standard AdamWIncreases (erank↑\text{erank} \uparrow after step 25)Slow (ovlp≈0.85\text{ovlp} \approx 0.85)Moderate (5×10−45 \times 10^{-4})
Rejection Sampling (RFT)Standard AdamWIncreases (erank↑\text{erank} \uparrow)Slow (ovlp≈0.82\text{ovlp} \approx 0.82)Moderate (5×10−45 \times 10^{-4})
RFT + Group Baseline (RFT-B)Standard AdamWCollapses (erank↓\text{erank} \downarrow across all LRs)Fast (ovlp≈0.35\text{ovlp} \approx 0.35)Low (5×10−55 \times 10^{-5})
GRPO (Online RL)Standard AdamWCollapses (erank↓\text{erank} \downarrow across all LRs)Very Fast (ovlp≈0.28\text{ovlp} \approx 0.28)Low (5×10−55 \times 10^{-5})
SFT (Ours)Full Spectral FlatteningMaximally Expanded (erank→r\text{erank} \to r)ControlledModerate (5×10−45 \times 10^{-4})
GRPO (Ours)Orthogonal Subspace FlatteningPreserved Active SubspaceOptimally Guided RotationLow (5×10−55 \times 10^{-5})

2. Downstream Performance Gains

  • SFT Mathematical Accuracy: Applying full spectral flattening to factor BB during SFT yielded the highest pass@1 accuracy across tested Llama and Qwen checkpoints, beating vanilla LoRA and standard Muon by up to 2.4 percentage points.
  • RL Exploration & Stability: Under GRPO, orthogonal subspace flattening consistently prevented policy collapse, maintaining steady reward growth and outperforming vanilla GRPO-LoRA across both base and instruction-tuned models.
  • Validation of the Root Cause: The experiments prove that RFT-B perfectly mirrors GRPO’s geometric trajectory, conclusively isolating baseline subtraction—not online data sampling—as the mathematical driver of spectral concentration.

Practical Implications

  1. Never Copy SFT Hyperparameters to RL: The empirical habit of using identical LoRA ranks, learning rates, and optimizers across SFT and RL is fundamentally flawed. RL with baseline subtraction operates in a high-rotation, rank-collapsing regime that requires lower learning rates and targeted orthogonal exploration.
  2. Spectral Surgery for Reinforcement Learning: Rather than blindly increasing nominal LoRA rank rr, practitioners should monitor effective rank erank(t)\text{erank}(t). If effective rank collapses to 1 or 2 during GRPO, nominal rank capacity is being wasted.
  3. Targeted Subspace Exploration: In reasoning agents, applying spectral conditioning specifically to the orthogonal subspace (I−Pt)DtB(I - P_t) D_t^B offers a principled way to encourage policy exploration without overwriting previously mastered reasoning patterns.

论文: 2611.08414
作者: Chenruo Liu, Zihan Wang, Yijun Dong, Qi Lei (纽约大学 NYU, 奥地利科学技术研究所 IST Austria)
分类: cs.LG, stat.ML, cs.AI

问题背景与核心痛点(The Gap)

在大模型后训练(Post-Training)标准流水线中,通常包含两个前后承接的核心阶段:首先是基于专家示范的监督微调(SFT),随后是基于可验证奖励的强化学习(RLVR,如 GRPO、PPO),通过模型自我探索与环境反馈迭代对齐。

为大幅节省云端显存,参数高效微调方法 LoRA(低秩适配) 被全行业普遍部署于这两个阶段,通过低秩分解矩阵对冻结权重 W0W_0 进行增量更新: ΔWt=αrBtAt,Bt∈Rdo×r, At∈Rr×di,r≪min⁡(do,di)\Delta W_t = \frac{\alpha}{r} B_t A_t, \quad B_t \in \mathbb{R}^{d_o \times r}, \, A_t \in \mathbb{R}^{r \times d_i}, \quad r \ll \min(d_o, d_i)

然而,当前的深度学习工程实践中存在一个习以为常但缺乏理论审视的习惯:工程师往往在 SFT 和 RL 中机械沿用完全相同的优化器配置(相同的 AdamW 超参、相同的学习率策略与初始化配置)。

这一“一刀切”的做法掩盖了一个深刻的动力学矛盾:

  1. SFT 与 RL 的学习机制截然不同:SFT 属于离线模仿学习,梯度信号连贯统一;而 RL 属于在线策略优化,依赖差分奖励信号。经验上 RL 必须使用比 SFT 小得多的极低学习率,但其底层几何诱因从未被阐明。
  2. 缺乏针对低秩增量矩阵的几何动力学追踪:过去的研究往往只关注模型最外层的 Logit 分布或全量权重的微弱偏移,却没有人真正透视过 LoRA 实际优化的核心对象——增量矩阵 ΔWt\Delta W_t 的奇异值有效谱(Effective Rank)与奇异子空间旋转(Subspace Rotation)。
  3. 混淆了数据采样与优化目标的作用:究竟是 RL 的“在线生成”导致了行为差异,还是策略梯度中“基线扣除”(Baseline Subtraction)的数学公式从根本上扭曲了低秩更新的几何流形?
                   LORA 后训练阶段未被察觉的几何动力学分裂

  监督微调阶段 (SFT):
  黄金专家数据 ──> 梯度连贯稳定 ──> 有效秩持续扩展 (奇异值能量均匀分布)
                                  奇异子空间旋转极其缓慢平稳

  强化学习阶段 (GRPO / RLVR):
  自采样探索轨迹 ──> 组均值基线扣除 (r_i - r̄) ──> 奇异谱断崖式聚拢 (有效秩严重塌缩!)
                                                 奇异子空间剧烈超速旋转!

  核心痛点:使用同一套通用 AdamW 优化器,会导致 RL 阶段过早发生谱聚拢塌缩,
           而在 SFT 阶段又无法充分激活 LoRA 的全部秩容量。

核心突破与创新(The Increment)

一句话总结:纽约大学团队通过严密追踪数学推理任务中 LoRA 增量矩阵的奇异谱与子空间演化,首次从理论与实验上证明:GRPO 中广泛采用的“组均值基线扣除”(Group-Mean Baseline Subtraction)是导致强化学习发生“谱聚拢塌缩”与“子空间剧烈旋转”的真正数学根源;进而据此量身定制了阶段分立的动力学优化器:在 SFT 中推行全量谱平坦化,在 RL 中推行正交子空间定向平坦化。

                    SFT 与 RL 分立的动力学定制优化方案

  SFT 定制 LoRA 更新策略:
  对全量梯度做谱平坦化,促使奇异值能量均匀铺展到所有低秩方向:
  B_{t+1} = B_t + η M( D_t^B )              [M(·): 保范数 Muon 正交奇异谱平坦化算子]
  A_{t+1} = A_t + η D_t^A                   [A 矩阵保留 Adam 自适应动量更新]

  RL 定制 LoRA 更新策略 (针对 GRPO):
  构建当前适配器列空间的正交投影算子 P_t = B_t(B_t^T B_t)^† B_t^T;
  严格仅对“子空间之外的正交增量”实施谱平坦化,定向引导子空间探索而不破坏已有记忆:
  B_{t+1} = B_t + η [ P_t D_t^B + M((I - P_t) D_t^B) ]

关键机制与架构解析(Core Framework & Mechanism)

研究团队构建了跨越四大训练设置的连续渐变梯度实验阶梯: SFT (监督微调)⟶RFT (纯拒绝采样)⟶RFT-B (带组均值基线扣除的拒绝采样)⟶GRPO (完整强化学习)\text{SFT (监督微调)} \longrightarrow \text{RFT (纯拒绝采样)} \longrightarrow \text{RFT-B (带组均值基线扣除的拒绝采样)} \longrightarrow \text{GRPO (完整强化学习)}

1. 捕捉低秩几何演化的两大核心透镜

针对每一层的 LoRA 增量矩阵 ΔWt=αrBtAt=UtΣtVt⊤\Delta W_t = \frac{\alpha}{r} B_t A_t = U_t \Sigma_t V_t^\top,研究定义了高敏感度的量化指标:

  1. 有效秩(Effective Rank, erank):基于归一化奇异值平方的香农熵构造: erank(t)=exp⁡(−∑i=1rσi,t2∑jσj,t2log⁡σi,t2∑jσj,t2)∈[1,r]\text{erank}(t) = \exp\left( -\sum_{i=1}^r \frac{\sigma_{i, t}^2}{\sum_j \sigma_{j, t}^2} \log \frac{\sigma_{i, t}^2}{\sum_j \sigma_{j, t}^2} \right) \in [1, r] 有效秩越低,说明能量被死死锁死在极少数几个方向上,发生有效容量萎缩;
  2. 子空间重叠度(Subspace Overlap): ovlpL(t1,t2)=1r∥Ut1⊤Ut2∥F2∈[0,1],ovlpR(t1,t2)=1r∥Vt1⊤Vt2∥F2∈[0,1]\text{ovlp}_L(t_1, t_2) = \frac{1}{r} \| U_{t_1}^\top U_{t_2} \|_F^2 \in [0, 1], \quad \text{ovlp}_R(t_1, t_2) = \frac{1}{r} \| V_{t_1}^\top V_{t_2} \|_F^2 \in [0, 1] 重叠度衰减越快,表明更新方向在参数空间中的空间旋转越剧烈。

2. 真凶确诊:组均值基线扣除的几何效应

通过严格控制变量对比 RFT 与 RFT-B:

  • SFT 与 RFT 表现出完全同构的几何行为:在合适的中等学习率(5×10−5∼5×10−45 \times 10^{-5} \sim 5 \times 10^{-4})下,有效秩随着训练步数不断延展爬升,子空间重叠度稳步维持在高位;
  • RFT-B 与 GRPO 表现出完全同构的截然相反行为:在所有测试学习率下,有效秩均发生单调持续暴跌,且子空间重叠度剧烈下降(旋转速度快数倍);
  • 二次多指标模型的理论证明:论文在理论模型中揭示,基线扣除(ri−rˉr_i - \bar{r})极大地抑制了同一 Prompt 下多个采样共享的共性响应(权重 ϑa<1/2\vartheta_a < 1/2),而极度放大了组内的差分扰动对比(权重 ϑo>1/2\vartheta_o > 1/2)。这导致连贯拟合的反馈减弱,随机梯度的方差噪声占据绝对支配,迫使能量向单一优势方向聚拢,并推着子空间大幅度偏转。

3. 动力学导向的阶段适配优化器

针对两种完全不同的几何演变机制,研究利用保模长的谱平坦化算子 M(D):=∥D∥Frank(D)D(D⊤D)−1/2M(D) := \frac{\|D\|_F}{\sqrt{\text{rank}(D)}} D (D^\top D)^{-1/2} 实施精准干预:

  • SFT 阶段:直接对 BB 矩阵的 SGD 更新方向实施全局谱平坦化 M(DtB)M(D_t^B),强行打破能量过早集中,迫使模型充分利用全部 rr 个奇异维度去吸收专家知识;
  • RL 阶段:在 GRPO 中,策略需要旋转子空间去探索新的推理逻辑,但又不能随意抹杀已学到的子空间有效更新。算法计算当前子空间的正交投影矩阵 Pt=Bt(Bt⊤Bt)†Bt⊤P_t = B_t (B_t^\top B_t)^\dagger B_t^\top,仅对落在当前子空间外的正交补分量 (I−Pt)DtB(I - P_t) D_t^B 实施平坦化: Bt+1=Bt+η[PtDtB+M((I−Pt)DtB)]B_{t+1} = B_t + \eta \left[ P_t D_t^B + M\left( (I - P_t) D_t^B \right) \right] 这既保证了子空间内部更新的连续性,又为正交新方向的探索注入了均衡的动力。

关键实验评测与量化对比(Quantitative Results)

研究在涵盖 Llama-3.2-1B/3B、Qwen2.5-3B 以及 Qwen2.5-Math-7B 等 8 款代表性大模型上,针对数学逻辑推理基准 GSM8K 和 MATH 进行了全方位实测:

1. 不同阶段 LoRA 几何动力学全景横向对比

训练阶段与实验配置采用的优化器方案奇异谱有效秩变化趋势 (erank\text{erank})奇异子空间旋转速度 (ovlp\text{ovlp})风险最适宜学习率区间
监督微调 (SFT)标准 AdamW持续增长 (25步后明显上扬)极慢 (ovlp≈0.85\text{ovlp} \approx 0.85)中等偏大 (5×10−45 \times 10^{-4})
纯拒绝采样微调 (RFT)标准 AdamW持续增长 (有效谱分布均匀)极慢 (ovlp≈0.82\text{ovlp} \approx 0.82)中等偏大 (5×10−45 \times 10^{-4})
带基线扣除的 RFT (RFT-B)标准 AdamW单调暴跌 (全学习率区间塌缩)极快 (ovlp≈0.35\text{ovlp} \approx 0.35)极低区间 (5×10−55 \times 10^{-5})
在线强化学习 (GRPO)标准 AdamW单调暴跌 (能量高度聚集)极快 (ovlp≈0.28\text{ovlp} \approx 0.28)极低区间 (5×10−55 \times 10^{-5})
SFT (本文定制方案)全量谱平坦化 (Full M)最大化激活 (erank→r\text{erank} \to r)平稳可控中等偏大 (5×10−45 \times 10^{-4})
GRPO (本文定制方案)正交子空间平坦化 (Ortho M)维持有效子空间高效率定向探索旋转极低区间 (5×10−55 \times 10^{-5})

2. 下游数学推理精度提升表现

  • SFT 阶段显著提效:在 SFT 阶段对 BB 矩阵施加谱平坦化,能够促使大模型更均衡地利用低秩矩阵的所有潜在通道,GSM8K 与 MATH 上的通过率相较原生 LoRA 和标准 Muon 提升高达 2.4 个百分点。
  • 强化学习鲁棒性增强:在 GRPO 训练中,正交补空间平坦化有效规避了策略后期的退化失稳问题,奖励曲线更为陡峭且最终推理准确率全面超越基准 GRPO-LoRA。
  • 严密闭环证明因果链:RFT 与 RFT-B 之间戏剧性的几何反转,从实证上以无可辩驳的证据坐实了“基线扣除算法本身主导了几何变形”,彻底厘清了算法设计与数据分布的混淆边界。

实践启示与行业影响(Practical Implications)

  1. 彻底摒弃 SFT 与 RL 超参套用的陋习:SFT 处于“低旋转、高展宽”的几何环境,适合较大学习率与均匀谱优化;而基于基线扣除的 RL 处于“高旋转、强塌缩”的非平稳流形,必须使用低学习率并针对子空间正交补实施探索约束。
  2. LoRA 适配器的“谱体检”必要性:工程师在微调智能体与推理模型时,不应盲目无脑增加名义 Rank rr。必须定期监控有效秩 erank\text{erank};如果在 RL 过程中 erank\text{erank} 迅速跌落至 1 或 2,设置再大的 Rank 也是对显存与算力的徒劳浪费。
  3. 定向正交探索的新维度:在训练长程推理与复杂规划智能体时,将优化扰动精准约束在已有参数空间的正交补流形(I−PtI - P_t)上,为化解强化学习“灾难性遗忘”与“缺乏有效探索”的经典矛盾开辟了极具前景的几何新解法。