[Paper Review] Gradient Atoms: Unsupervised Discovery, Attribution and Steering of Model Behaviors via Sparse Decomposition of Training Gradients
Gradient Atoms unsupervisedly decompose per-document training gradients into sparse atoms to reveal shared update directions; these atoms align with interpretable task types and can steer model behavior when perturbed in weight space without supervision.
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.
Motivation & Objective
- 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.
Proposed method
- 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.

Experimental results
Research questions
- 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?
Key findings
- 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.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.