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 via low-rank factor matrices:
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?
- 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.
- The Missing Geometric Diagnostic: While prior work studied differences in output logits or full-weight updates, no one had tracked the low-rank increment itself—specifically its effective rank (singular value spread) and singular subspace rotation (which input/output directions are selected).
- 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 () 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:
1. Two Key Diagnostic Lenses
For each LoRA adapter , the authors compute its singular value decomposition and track:
- Effective Rank (Roy & Vetterli entropy of normalized squared singular values): Low indicates that singular values are concentrated onto a tiny handful of dominant directions (rank collapse).
- Subspace Overlap (measuring how fast input/output subspaces rotate): 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 ):
- SFT and RFT behave identically: at intermediate learning rates ( to ), 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 () while amplifying the contrastive noise components (). 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 :
- For SFT: Apply to the full SGD update of factor . This prevents premature spectral collapse, forcing all 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 and applies strictly to the orthogonal component :
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 & Setup | Optimizer Configuration | Effective Rank Trend () | Subspace Rotation Speed | Preferred Learning Rate |
|---|---|---|---|---|
| Supervised Fine-Tuning (SFT) | Standard AdamW | Increases ( after step 25) | Slow () | Moderate () |
| Rejection Sampling (RFT) | Standard AdamW | Increases () | Slow () | Moderate () |
| RFT + Group Baseline (RFT-B) | Standard AdamW | Collapses ( across all LRs) | Fast () | Low () |
| GRPO (Online RL) | Standard AdamW | Collapses ( across all LRs) | Very Fast () | Low () |
| SFT (Ours) | Full Spectral Flattening | Maximally Expanded () | Controlled | Moderate () |
| GRPO (Ours) | Orthogonal Subspace Flattening | Preserved Active Subspace | Optimally Guided Rotation | Low () |
2. Downstream Performance Gains
- SFT Mathematical Accuracy: Applying full spectral flattening to factor 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
- 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.
- Spectral Surgery for Reinforcement Learning: Rather than blindly increasing nominal LoRA rank , practitioners should monitor effective rank . If effective rank collapses to 1 or 2 during GRPO, nominal rank capacity is being wasted.
- Targeted Subspace Exploration: In reasoning agents, applying spectral conditioning specifically to the orthogonal subspace 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(低秩适配) 被全行业普遍部署于这两个阶段,通过低秩分解矩阵对冻结权重 进行增量更新:
然而,当前的深度学习工程实践中存在一个习以为常但缺乏理论审视的习惯:工程师往往在 SFT 和 RL 中机械沿用完全相同的优化器配置(相同的 AdamW 超参、相同的学习率策略与初始化配置)。
这一“一刀切”的做法掩盖了一个深刻的动力学矛盾:
- SFT 与 RL 的学习机制截然不同:SFT 属于离线模仿学习,梯度信号连贯统一;而 RL 属于在线策略优化,依赖差分奖励信号。经验上 RL 必须使用比 SFT 小得多的极低学习率,但其底层几何诱因从未被阐明。
- 缺乏针对低秩增量矩阵的几何动力学追踪:过去的研究往往只关注模型最外层的 Logit 分布或全量权重的微弱偏移,却没有人真正透视过 LoRA 实际优化的核心对象——增量矩阵 的奇异值有效谱(Effective Rank)与奇异子空间旋转(Subspace Rotation)。
- 混淆了数据采样与优化目标的作用:究竟是 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)
研究团队构建了跨越四大训练设置的连续渐变梯度实验阶梯:
1. 捕捉低秩几何演化的两大核心透镜
针对每一层的 LoRA 增量矩阵 ,研究定义了高敏感度的量化指标:
- 有效秩(Effective Rank, erank):基于归一化奇异值平方的香农熵构造: 有效秩越低,说明能量被死死锁死在极少数几个方向上,发生有效容量萎缩;
- 子空间重叠度(Subspace Overlap): 重叠度衰减越快,表明更新方向在参数空间中的空间旋转越剧烈。
2. 真凶确诊:组均值基线扣除的几何效应
通过严格控制变量对比 RFT 与 RFT-B:
- SFT 与 RFT 表现出完全同构的几何行为:在合适的中等学习率()下,有效秩随着训练步数不断延展爬升,子空间重叠度稳步维持在高位;
- RFT-B 与 GRPO 表现出完全同构的截然相反行为:在所有测试学习率下,有效秩均发生单调持续暴跌,且子空间重叠度剧烈下降(旋转速度快数倍);
- 二次多指标模型的理论证明:论文在理论模型中揭示,基线扣除()极大地抑制了同一 Prompt 下多个采样共享的共性响应(权重 ),而极度放大了组内的差分扰动对比(权重 )。这导致连贯拟合的反馈减弱,随机梯度的方差噪声占据绝对支配,迫使能量向单一优势方向聚拢,并推着子空间大幅度偏转。
3. 动力学导向的阶段适配优化器
针对两种完全不同的几何演变机制,研究利用保模长的谱平坦化算子 实施精准干预:
- SFT 阶段:直接对 矩阵的 SGD 更新方向实施全局谱平坦化 ,强行打破能量过早集中,迫使模型充分利用全部 个奇异维度去吸收专家知识;
- RL 阶段:在 GRPO 中,策略需要旋转子空间去探索新的推理逻辑,但又不能随意抹杀已学到的子空间有效更新。算法计算当前子空间的正交投影矩阵 ,仅对落在当前子空间外的正交补分量 实施平坦化: 这既保证了子空间内部更新的连续性,又为正交新方向的探索注入了均衡的动力。
关键实验评测与量化对比(Quantitative Results)
研究在涵盖 Llama-3.2-1B/3B、Qwen2.5-3B 以及 Qwen2.5-Math-7B 等 8 款代表性大模型上,针对数学逻辑推理基准 GSM8K 和 MATH 进行了全方位实测:
1. 不同阶段 LoRA 几何动力学全景横向对比
| 训练阶段与实验配置 | 采用的优化器方案 | 奇异谱有效秩变化趋势 () | 奇异子空间旋转速度 () | 风险最适宜学习率区间 |
|---|---|---|---|---|
| 监督微调 (SFT) | 标准 AdamW | 持续增长 (25步后明显上扬) | 极慢 () | 中等偏大 () |
| 纯拒绝采样微调 (RFT) | 标准 AdamW | 持续增长 (有效谱分布均匀) | 极慢 () | 中等偏大 () |
| 带基线扣除的 RFT (RFT-B) | 标准 AdamW | 单调暴跌 (全学习率区间塌缩) | 极快 () | 极低区间 () |
| 在线强化学习 (GRPO) | 标准 AdamW | 单调暴跌 (能量高度聚集) | 极快 () | 极低区间 () |
| SFT (本文定制方案) | 全量谱平坦化 (Full M) | 最大化激活 () | 平稳可控 | 中等偏大 () |
| GRPO (本文定制方案) | 正交子空间平坦化 (Ortho M) | 维持有效子空间 | 高效率定向探索旋转 | 极低区间 () |
2. 下游数学推理精度提升表现
- SFT 阶段显著提效:在 SFT 阶段对 矩阵施加谱平坦化,能够促使大模型更均衡地利用低秩矩阵的所有潜在通道,GSM8K 与 MATH 上的通过率相较原生 LoRA 和标准 Muon 提升高达 2.4 个百分点。
- 强化学习鲁棒性增强:在 GRPO 训练中,正交补空间平坦化有效规避了策略后期的退化失稳问题,奖励曲线更为陡峭且最终推理准确率全面超越基准 GRPO-LoRA。
- 严密闭环证明因果链:RFT 与 RFT-B 之间戏剧性的几何反转,从实证上以无可辩驳的证据坐实了“基线扣除算法本身主导了几何变形”,彻底厘清了算法设计与数据分布的混淆边界。
实践启示与行业影响(Practical Implications)
- 彻底摒弃 SFT 与 RL 超参套用的陋习:SFT 处于“低旋转、高展宽”的几何环境,适合较大学习率与均匀谱优化;而基于基线扣除的 RL 处于“高旋转、强塌缩”的非平稳流形,必须使用低学习率并针对子空间正交补实施探索约束。
- LoRA 适配器的“谱体检”必要性:工程师在微调智能体与推理模型时,不应盲目无脑增加名义 Rank 。必须定期监控有效秩 ;如果在 RL 过程中 迅速跌落至 1 或 2,设置再大的 Rank 也是对显存与算力的徒劳浪费。
- 定向正交探索的新维度:在训练长程推理与复杂规划智能体时,将优化扰动精准约束在已有参数空间的正交补流形()上,为化解强化学习“灾难性遗忘”与“缺乏有效探索”的经典矛盾开辟了极具前景的几何新解法。