TL;DR
Fine-tuning Large Language Models (LLMs) for specialized tasks like Generative Retrieval often completely destroys their general reasoning capabilities early in training. To solve this, the authors introduce ORBIT, a dynamic regularization method that tracks parameter drift from the initial model and applies an adaptive weight-averaging schedule to preserve foundational language skills without sacrificing task performance.
What Problem Does This Paper Address?
Generative Retrieval (GenRetrieval) is a powerful paradigm that treats recommendation or retrieval as an autoregressive sequence generation task, predicting unique item IDs based on context. However, when LLMs are fine-tuned for GenRetrieval, they suffer from severe catastrophic forgetting.
The authors demonstrate that within just the first 2,000 steps of fine-tuning, nearly all general text-reasoning capabilities are lost. Standard solutions like post-hoc model merging (averaging the initial and final weights after training) fail because the degradation happens too rapidly and severely for a simple one-shot fix to recover.
Methods
The authors propose ORBIT (Origin-Regulated Back-merging of Intermediate Trajectories). Instead of merging weights at a fixed interval (like previous methods such as Soup-to-Go), ORBIT dynamically monitors the distance between the current fine-tuned parameters ($\theta_{current}$) and the initial pre-trained parameters ($\theta_{init}$).
The distance is measured using either standard $L_2$ distance or Sign Dissimilarity (SD), which tracks the fraction of parameters that have changed signs (efficiently computed via bitwise XOR). Whenever the model drifts past a predefined distance threshold ($\epsilon$), ORBIT triggers a "back-merging" step, averaging the current weights with the initial weights:
$$\theta^* = \frac{\theta^* + \theta_{init}}{2}$$
This ensures the model stays bounded within a specific locality of the original weight space, preserving foundational knowledge while allowing task-specific adaptation.
Datasets
- GenRetrieval / Recommendation: Subsets of the Amazon Product Reviews dataset (Beauty, Sports and Outdoors, Toys and Games).
- General Language & Reasoning Capabilities: Evaluated across 8 diverse text benchmarks: BBH (Big-Bench Hard), GSM8K, MMLU-Pro, Drop, TriviaQA, HellaSwag, BoolQ, and ARC-C.
Key Insights and Ideas
- Forgetting is immediate and brutal: General capabilities drop to near-random chance almost instantly during GenRetrieval fine-tuning, meaning intervention must happen during training, not after.
- Sign Dissimilarity is a strong proxy for forgetting: The authors found a high correlation ($R^2 = 0.83$) between the fraction of parameter sign flips (Sign Dissimilarity) and the loss of text performance. This makes SD an excellent, data-free, gradient-free metric to guide regularization.
- Adaptive schedules naturally stabilize: As ORBIT trains, the number of steps between required merges naturally increases (e.g., from every ~1,500 steps early on to settling around every 3,000 steps). This shows that fixed-cadence merging schedules are sub-optimal compared to distance-regulated ones.
Key Results
- ORBIT consistently outperforms standard baselines (no intervention, $L_2$ weight decay) and fixed-interval merging (Soup-to-Go) across all three Amazon datasets.
- Using the Distance To Ideal Point (DTIP) metric (where 0 is perfect retention of both text and retrieval skills), ORBIT achieved scores of 0.40 to 0.41 on the Toys and Games dataset, significantly outperforming the baseline retrieval model (DTIP = 1.00) and Soup-to-Go (DTIP = 0.50).
- ORBIT successfully scales from 1B parameters to 4B parameters (using Gemma3-1B IT and Gemma3-4B IT), showing improved overall performance with larger base models.
Limitations and Future Work
- Full Fine-Tuning Only: The study focuses exclusively on full parameter fine-tuning. The authors note that Parameter-Efficient Fine-Tuning (PEFT) methods like LoRA might exhibit different forgetting behaviors and were not evaluated.
- Model Scale: Experiments were limited to 1B and 4B parameter models; validation on larger frontier models (e.g., 7B+ or 70B+) remains an open area for verification.
Summary updated