Skip to main content
QUICK REVIEW

[论文解读] Gradient Atoms: Unsupervised Discovery, Attribution and Steering of Model Behaviors via Sparse Decomposition of Training Gradients

J Rosser|arXiv (Cornell University)|Mar 15, 2026
Topic ModelingComputer Science被引用 0
一句话总结

Gradient Atoms 无监督地将训练梯度分解为稀疏原子,以揭示任务类型行为并在不带标签查询的情况下实现对大语言模型的 steering。

ABSTRACT

Training data attribution (TDA) methods ask which training documents are responsible for a model behavior. However, models often learn broad concepts shared across many examples. Moreover, existing TDA methods are supervised -- they require a predefined query behavior, then score every training document against it -- making them both expensive and unable to surface behaviors the user did not think to ask about. We present Gradient Atoms, an unsupervised method that decomposes per-document training gradients into sparse components ("atoms") via dictionary learning in a preconditioned eigenspace. Each atom captures a shared update direction induced by a cluster of functionally similar documents, directly recovering the collective structure that per-document methods do not address. Among 500 discovered atoms, the highest-coherence ones recover interpretable task-type behaviors -- refusal, arithmetic, yes/no classification, trivia QA -- without any behavioral labels. These atoms double as effective steering vectors: applying them as weight-space perturbations produces large, controllable shifts in model behavior (e.g., bulleted-list generation 33% to 94%; systematic refusal 50% to 0%). The method requires no query--document scoring stage, and scales independently of the number of query behaviors of interest. Code is available at https://github.com/jrosseruk/gradient_atoms.

研究动机与目标

  • Show that per-document training data attribution misses collective gradient structure learned during fine-tuning.
  • Introduce Gradient Atoms to discover shared update directions via sparse dictionary learning in a preconditioned gradient space.
  • Demonstrate that discovered atoms correspond to interpretable task types and can steer model behavior through weight-space perturbations.
  • Provide an unsupervised, query-free alternative to traditional TDA methods for auditing and editing model capabilities.

提出的方法

  • Extract per-document gradients for all training examples.
  • Project gradients into a preconditioned eigenspace using EKFAC to correct for curvature.
  • Normalize projected gradients and apply sparse dictionary learning to decompose into atoms.
  • Compute a coherence score for each atom from top-activating documents to validate shared computational motifs.
  • Unproject atoms back to full parameter space to obtain steering vectors that perturb weights and test behavior changes.
Figure 1: Gradient atoms discovered via sparse dictionary learning over 5,000 training-document gradients. Each point is one atom; high-coherence atoms correspond to tightly defined task types.
Figure 1: Gradient atoms discovered via sparse dictionary learning over 5,000 training-document gradients. Each point is one atom; high-coherence atoms correspond to tightly defined task types.

实验结果

研究问题

  • RQ1Can unsupervised gradient decomposition uncover meaningful, interpretable task-type behaviors without behavioral labels?
  • RQ2Do gradient atoms function as effective steering vectors to controllably alter model behaviors via weight-space perturbations?
  • RQ3How coherent are the discovered atoms, and how does sparsity affect atom quality and steerability?

主要发现

  • 500 gradient atoms were discovered; the highest-coherence ones align with interpretable task types such as short factual QA, grammar editing, yes/no classification, simple arithmetic, and multi-category classification.
  • Top-5 atoms have coherence scores above 0.5 and correspond to distinct task types, not topics.
  • Applying unprojected atoms as weight-space perturbations can steer behavior; several atoms produced large, monotonic shifts in targeted tasks.
  • Bulleted lists and numbered lists are separable atoms, indicating format-specific weight pathways.
  • Suppression of target behaviors is generally easier than amplification across atoms and tasks.
Figure 2: Behavioral steering via unsupervised gradient atoms. Red bars show the “toward” direction ( $\theta-\alpha v$ ), blue bars show “away” ( $\theta+\alpha v$ ), and the dashed line marks the clean baseline. Four of five atoms produce large, monotonic steering effects in at least one direction
Figure 2: Behavioral steering via unsupervised gradient atoms. Red bars show the “toward” direction ( $\theta-\alpha v$ ), blue bars show “away” ( $\theta+\alpha v$ ), and the dashed line marks the clean baseline. Four of five atoms produce large, monotonic steering effects in at least one direction

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。