Task Context Shapes Component Roles in Language Models

Paper / preprint arXiv cs.AI · Reported findings, not independently verified by us.

A study finds that shared components in language models can respond to facts differently across tasks and have different effects on later computation. This offers a network perspective on how models use the same components for different tasks.

The researchers compared fixed model components using identical graph facts—that is, statements about which directed connections are present. They measured how interventions affected attention heads and activation states in later layers, as well as how important the components were to the answer. Across five open-weight models from four families, ranging from 1.5 to 14 billion parameters, influence shifted with the task.

In Gemma-2-9B and Qwen3-14B, an edit to an early internal activation changed which graph facts the model processed, while the written instruction stayed the same. The relevant attention heads then responded to different facts and affected later components differently. In a separate factual intervention, a matching linear response map reduced mean squared prediction error relative to the average of the two maps by 53.6% for Gemma and 5.0% for Qwen.

The findings concern the models and interventions studied; they do not establish that this approach can already change one behavior reliably while preserving others. The original paper describes the comparison and measurements in more detail: https://arxiv.org/abs/2610.13895v1

🇬🇧 https://arxiv.org/abs/2610.13895v1

Leave a Comment

The weekly brief: selected developments, projects and videos