TL;DR
By merging a verbose "slow-thinking" (Chain-of-Thought) recommender model with a concise "fast-thinking" (direct prediction) counterpart at the individual attention-head level, the proposed REAM framework reduces reasoning length by up to 24.3% without sacrificing recommendation accuracy. This training-free approach offers a highly efficient alternative to costly fine-tuning or brittle inference-time prompting methods for compressing LLM reasoning.
What Problem Does This Paper Address?
Large Language Models (LLMs) have revolutionized recommender systems by treating user histories and item descriptions as rich textual context. To boost accuracy, modern recommenders often employ "slow-thinking" paradigms—generating step-by-step Chain-of-Thought (CoT) reasoning before outputting a final rating.
While effective, this deliberate thinking comes with a massive computational tax: the generated reasoning traces are often unnecessarily verbose, significantly increasing inference latency and token costs. Traditional compression techniques like knowledge distillation or reinforcement learning require expensive retraining and data curation. Conversely, inference-time fixes (like setting token budgets) are brittle and degrade performance.
The authors explore model merging as a training-free alternative. However, standard model merging applies uniform coefficients across the entire network, which inadvertently destroys the delicate parameter structures responsible for accurate reasoning. The challenge is figuring out how to selectively inject the conciseness of a fast model into a slow model without breaking its predictive capabilities.
Methods
The authors introduce REAM (Reasoning-HEad-Aware Merging), the first model merging framework tailored for reasoning compression in recommenders. Instead of merging uniformly, REAM operates at the granular level of individual attention heads.
The framework calculates a distinct merge coefficient for each head based on three core metrics:
- Retrieval Criticality ($\kappa$): Measures how frequently a specific head retrieves segment-relevant evidence (e.g., user preferences or item characteristics) from the context to support subsequent reasoning steps.
- Decision Faithfulness ($faith$): Quantifies how strongly a head connects the final rating step to the preceding reasoning trace (specifically the compatibility
matchsegment). - Update Sensitivity ($d$): Uses a diagonal empirical Fisher information matrix to estimate how vulnerable a head's parameters are to disruption.
REAM combines these signals into a perturbation weight for each head and solves a constrained optimization problem using Karush-Kuhn-Tucker (KKT) conditions. This "water-filling" allocation ensures that heads critical to the reasoning process are protected (receiving conservative updates), while less critical heads absorb more of the fast-thinking model's concise behavior. Additionally, the authors discover that late-layer Feed-Forward Networks (FFNs) are highly sensitive to changes in the reasoning-to-rating mapping, so they exclude the final six FFN layers from the merge.
Datasets
The framework was evaluated using the rating-prediction splits from three standard benchmark datasets provided by Reason4Rec:
- Amazon Book
- Amazon Music
- Yelp
Each dataset includes a user's historical ratings/reviews and a target item, with the goal of predicting a 1–5 rating.
Key Insights and Ideas
- Extreme Sparsity in Reasoning: Reasoning importance is not distributed evenly. On the Amazon Book dataset, the top 5% of retrieval-critical heads account for a staggering 78% of the total retrieval mass. This explains why uniform merging fails—it treats these vital needle-in-a-haystack heads the same as redundant ones.
- Functional Independence of Heads: There is a near-zero correlation between a head's retrieval criticality and its decision faithfulness. They capture entirely disjoint, complementary roles: some heads act as information gatherers, while others act as decision synthesizers.
- FFN Gatekeepers: The late FFN layers act as a bridge transforming reasoning into the final numerical rating. Perturbing them severely degrades the accuracy-efficiency trade-off, making a selective exclusion window vital for stable merging.
Key Results
REAM consistently outperformed general-purpose merging baselines (like Task Arithmetic and DARE) across all datasets:
- Token Reduction: REAM cut down the mean generated tokens per response by 24.3% on Amazon Book, 17.9% on Yelp, and 21.1% on Amazon Music relative to the slow-thinking baseline.
- Accuracy Preservation: Unlike standard arithmetic merging methods which frequently degraded Mean Absolute Error (MAE), REAM maintained or even slightly improved both MAE and RMSE.
- Compute Efficiency: Computing REAM's entire pipeline takes roughly 41 minutes on a single NVIDIA A40 GPU—amounting to just 4% of the combined training budget required to fine-tune the source models.
Limitations and Future Work
While REAM generalizes well across different model families (Qwen, Llama) and scales, the authors note a remaining accuracy gap when scaling up to larger architectures (e.g., 7B parameters). Furthermore, REAM currently relies on structured, segment-based reasoning templates (e.g., <analyze_user>, <match>). Adapting this head-level allocation to completely unstructured, free-form CoT traces remains an open challenge for future work.
Summary updated