Ranking and Partitioning of Attention Heads for Sparse and Continual Reinforcement Learning Fine-tuning

Ruizhe Shi, Zaiwen Yang, Qiubo Wang, Banghua Zhu, Maryam Fazel
10/15/2026
cs.LGcs.CL

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

We study sparse and continual reinforcement learning fine-tuning of language models through attention-head ranking and partitioning. For sparse learning, we rank attention heads by gradient norm to identify a small subset of heads that can be trained effectively. For continual learning, we partition heads across tasks to reduce cross-task interference and preserve previously learned capabilities. Theoretically, we relate gradient norm to training effectiveness, and further characterize why sparse, separated head updates can remain stable. Empirically, across math, instruction-following, and coding tasks, tuning higher-ranked heads consistently outperforms tuning lower-ranked ones while often matching denser baselines, and head partitioning improves retention while preserving adaptation to new tasks.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{shi2026ranking,
  title  = {Ranking and Partitioning of Attention Heads for Sparse and Continual Reinforcement Learning Fine-tuning},
  author = {Ruizhe Shi and Zaiwen Yang and Qiubo Wang and Banghua Zhu and Maryam Fazel},
  year   = {2026},
  eprint = {2610.21336},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.21336v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.21336.svg)](https://codeofpaper.com/paper/2610.21336)

Discussion