Search papers, labs, and topics across Lattice.
The paper introduces LongAct, a training strategy for long-context RL that leverages the observation that high-magnitude activations in query and key vectors are critical for effective model optimization. LongAct selectively updates weights associated with these significant activations, shifting from uniform to saliency-guided sparse updates. Experiments show LongAct improves performance by approximately 8% on LongBench v2 and enhances generalization on the RULER benchmark, while also boosting performance across diverse RL algorithms.
Forget reward engineering: selectively updating the most "active" weights in LLMs can unlock significant gains in long-context reinforcement learning.
Reinforcement Learning (RL) has emerged as a critical driver for enhancing the reasoning capabilities of Large Language Models (LLMs). While recent advancements have focused on reward engineering or data synthesis, few studies exploit the model's intrinsic representation characteristics to guide the training process. In this paper, we first observe the presence of high-magnitude activations within the query and key vectors when processing long contexts. Drawing inspiration from model quantization -- which establishes the criticality of such high-magnitude activations -- and the insight that long-context reasoning inherently exhibits a sparse structure, we hypothesize that these weights serve as the pivotal drivers for effective model optimization. Based on this insight, we propose LongAct, a strategy that shifts from uniform to saliency-guided sparse updates. By selectively updating only the weights associated with these significant activations, LongAct achieves an approximate 8% improvement on LongBench v2 and enhances generalization on the RULER benchmark. Furthermore, our method exhibits remarkable universality, consistently boosting performance across diverse RL algorithms such as GRPO and DAPO. Extensive ablation studies suggest that focusing on these salient features is key to unlocking long-context potential.