LongAct: Harnessing Intrinsic Activation Patterns for Long-Context Reinforcement Learning

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Ping, Bowen, Chen, Zijun, Hui, Tingfeng, Yu, Qize, Li, Chenxuan, Yan, Junchi, Chang, Baobao
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866914479700180992
author Ping, Bowen
Chen, Zijun
Hui, Tingfeng
Yu, Qize
Li, Chenxuan
Yan, Junchi
Chang, Baobao
author_facet Ping, Bowen
Chen, Zijun
Hui, Tingfeng
Yu, Qize
Li, Chenxuan
Yan, Junchi
Chang, Baobao
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2604_14922
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle LongAct: Harnessing Intrinsic Activation Patterns for Long-Context Reinforcement Learning
Ping, Bowen
Chen, Zijun
Hui, Tingfeng
Yu, Qize
Li, Chenxuan
Yan, Junchi
Chang, Baobao
Machine Learning
Computation and Language
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.
title LongAct: Harnessing Intrinsic Activation Patterns for Long-Context Reinforcement Learning
topic Machine Learning
Computation and Language
url https://arxiv.org/abs/2604.14922