arXiv Machine Learning

Distributed Sparse Interventions in Language Models

arXiv:2607. 07128v1 Announce Type: new Abstract: Language models perform a wide range of tasks at varying levels of abstraction with the capacity to flexibly infer tasks from context, execute multiple tasks simultaneously, and select among competing tasks.

arXiv Computation and Language
Oct 1

MetaSteer: Context-Conditioned, nonlinear Steering via Attention-Projection Adaptation

MetaSteer is a new method for steering large language models that learns nonlinear, context-dependent interventions applied to attention projection matrices. Unlike traditional linear, context-independent techniques, MetaSteer adapts its effects based on the input, requiring no linear concept-geometry assumption. Trained once on a pooled preference corpus, it transfers zero‑shot to unseen concepts and out‑of‑distribution contexts, matching or surpassing strong task‑specific baselines on multiple benchmarks and model families.

By Mehdi Jafari, Hao Xue, Flora Salim
arXiv AI
Nov 5

Farther the Shift, Sparser the Representation: Analyzing OOD Mechanisms in LLMs

The paper examines how Large Language Models’ internal representations become sparser as task difficulty rises, finding that harder inputs lead to more concentrated activation patterns in the last hidden state. This sparsity–difficulty relationship holds across various models and domains, indicating that models learn dense representations for familiar patterns but default to sparse activations for unfamiliar ones. Leveraging this insight, the authors propose Sparsity‑Guided Curriculum In‑Context Learning (SG‑ICL), which selects few‑shot demonstrations based on sparsity and outperforms standard CoT and Auto‑CoT baselines on the MATH‑500 benchmark.

By Mingyu Jin, Yutong Yin, Jingcheng Niu, Qingcheng Zeng, Wujiang Xu, Mengnan Du, Wei Cheng, Zhaoran Wang, Tianlong Chen, Dimitris N. Metaxas
arXiv Computation and Language
5d ago

Large-scale Neuron Community Discovery Reveals Neuron-Sparse Behaviors in Language Models

The paper introduces an unsupervised neuron community discovery method that identifies small, reusable groups of neurons in language models. Applied to Llama‑3.1‑8B with ten million prompts, the method finds thousands of communities that are causally necessary and sufficient for common computations, such as grammatical agreement and arithmetic operations. Evaluation on held‑out prompts shows that up to 10.3% of predictions can be explained by neuron‑sparse communities of at most 128 neurons across all layers.

By Igor Shilov, Thomas Fel, Tal Haklay, Lucius Bushnaq, Owen Lewis
arXiv Machine Learning
4d ago

Gradients for Interventions and Activation Values for Detection: Targeted Feature Learning in Language Models

The paper investigates targeted feature learning in language models, focusing on constructing a single feature for a pre‑specified concept. It compares six methods derived from three model signals (activation values, activation gradients, parameter gradients) and two estimators (contrastive mean and a learned encoder‑decoder). Results across 15 tasks and ten models show that contrastive activation value methods excel at detection, while gradient‑based methods, especially contrastive mean with activation gradients, perform best at causal intervention.

By Jonathan Drechsel, Steffen Herbold
Hugging Face Trending Papers
Jul 2

Neuron-Aware Data Selection for Annotation-Free LLM Self-Distillation

Post-training large language models (LLMs) without real-world interaction feedback or human-labeled supervision remains challenging, particularly in specialized domains where expert annotations are costly to obtain. Recent annotation-free self-evolution methods address this by using the model's own outputs as supervision signals, constructing a teacher via additional context and aggregating predictions across multiple rollouts through majority voting to produce pseudo-labels.