Influence dynamics and staged data attributionInfluence Dynamics and Stagewise Data Attribution
The authors use Bayesian influence functions for stagewise data attribution, stating that influence can change non-monotonically, with induction-type influence showing an inflection point as early as step 128.
- Classical training data attribution treats sample influence as a static, global quantity. The authors argue that the degenerate loss landscape of deep networks gives rise to staged development, and sample influence should change with the learning stage.
- The authors use singular learning theory to view Bayesian influence functions as responses to phase transitions, decomposing them into within-phase and between-phase covariances. Estimation uses RMSProp-SGLD with localization. They first perform analytic and leave-one-out comparisons on a hierarchical linear network, then trace the influence of structural tokens on Pythia.
- On the toy model, all three measures are non-monotonic and can change sign, with peaks aligning with hierarchical branches. Pythia's induction-class BIF shows an inflection point as early as step 128, then continues strengthening for 30k steps. The authors state that upweighting when BIF is more negative accelerates formation, while too early upweighting delays or disrupts; the control peak is written as 9k in the main text, and formation at ∼7k in the caption.
- The authors note that Bayesian learning and SGD non-equilibrium dynamics are still not connected, and hope to explain how influence shapes circuits. Experiments cover an 8-point hierarchical linear network, Pythia-14M, and 3M with temporal upweighting; they do not report correlation coefficients between BIF and leave-one-out, nor numerical comparisons with TracIn, HyDRA, or SOURCE.
- Evaluated models
- 2-layer deep linear networkPythia-14MPythia-14M (trained from scratch)3-million parameter transformer
- Benchmarks
- hierarchical semantic dataset (Saxe et al., 2019a)The Pilesynthetic repeated sequences
- Metrics
- BIFnormalized BIFLOO loss differenceclassical influence functioninduction score
A study proposes a staged training data attribution framework based on singular learning theory, predicting that sample influence varies non-monotonically across training stages, with sign flips and spikes at developmental transitions. This prediction is first verified analytically and empirically in toy models, where the influence dynamics correspond to the model's progressive learning of semantic hierarchies; on language models, token-level influence changes align with known developmental stages.
Paper analysis
What problem does this paper attempt to solve?
Static influence functions ignore staged learning; the authors say influence can change non-monotonically at phase transitions and even change sign.
Static training data attribution treats the influence of one sample on another as a quantity that does not change during training.
- Scenario: The authors consider training data attribution a core problem in interpretability and AI safety. When a sample enters training changes how the model learns from it; data helpful for coarse categories early on may hinder finer distinctions later.
- Existing limitations: Classical influence functions assume data order does not affect influence, making influence static and global throughout (Cook, 1977; Cook & Weisberg, 1980). The authors claim this perspective from regular models fails catastrophically on deep networks (Section 2.1).
- Assumption: The network loss landscape is degenerate, critical points are not isolated, and the Fisher information matrix is not invertible everywhere. Singular learning theory predicts this degeneracy leads to stagewise development, with the posterior undergoing phase transitions between regions (Watanabe, 2009; 2018; Figure 1).
- This paper proposes: Stagewise data attribution. The authors connect influence functions to developmental phase transitions, predicting influence can change non-monotonically, including sign changes and spikes at developmental transitions, and test this on hierarchical toy models and language models.
What related research exists?
The authors place this paper within developmental interpretability, distinguishing it from static influence functions and trajectory-integrated attribution.
The paper has no separate Related Work section. The introduction, Section 2, and Section 5 divide related work into the following groups.
Influence functions and training data attribution
- Classical influence functions: Cook (1977), Cook & Weisberg (1980) quantify the change in an observable at the final parameters after infinitesimally upweighting a training point. The paper notes that this relies on a single stable minimum and an invertible Hessian, which singular models do not satisfy.
- Bayesian influence functions: Giordano et al. (2017), Kreer et al. (2025) write the influence as the derivative of the posterior expectation with respect to sample weight, equal to the negative covariance of the loss and the observable. Our sampling estimate comes from Kreer et al. (2025). Appendix B also compares the computational structure with EK-FAC (Grosse et al., 2023): the authors say BIF is more tractable with many checkpoints and targeted token subsets, while on large datasets classical approximations can amortize the cost of Hessian fitting; the paper does not report query counts or wall-clock time.
- Problem framing: Cheng et al. (2025), Lehalleur et al. (2025) treat how training data shapes behavior as an interpretability and alignment problem. The paper uses them for framing and does not compare specific algorithms.
Singular learning and developmental interpretability
- SLT: Watanabe (2009; 2018) characterizes degeneracy with the local learning coefficient and describes staged learning and phase transitions. The authors use this narrative to predict non-monotonic changes in influence.
- Developmental interpretability: Lehalleur et al. (2025), Wang et al. (2025b) approximate SGD or Adam with idealized Bayesian trajectories, then use SLT for predictions, and test on networks trained with stochastic optimization.
- Reported developmental phenomena: The paper lists Chen et al. (2023), Carroll et al. (2025), Urdshals & Urdshals (2025), Hoogland et al. (2024), Wang et al. (2025a;b), Baker et al. (2025), covering superposition, algorithm selection, and structures such as n-grams, induction, bracket matching, and space counting. The authors say this paper applies the phase transition narrative to how sample influence changes over development.
Attribution by integrating along the trajectory
- TracIn, HyDRA, SOURCE: Pruthi et al. (2020), Chen et al. (2021), Bae et al. (2024) integrate gradients or local influences along checkpoints to obtain a cumulative score. The authors argue that if influence changes sign midway, contributions from different stages can cancel during integration; these methods treat the learning process as a black box, whereas this paper treats the trajectory itself as the object of study. The paper does not provide numerical comparisons.
Hierarchical learning and curricula
- Hierarchical semantic models: Saxe et al. (2019a)'s deep linear networks first learn coarse categories, then fine categories. This paper uses them for analytical derivations and experiments.
- Curricula: Bengio et al. (2009), Wang et al. (2021), Lee et al. (2024) discuss easy-to-hard; Wu et al. (2020), Mannelli et al. (2024) say the effect in practice is limited. Graves et al. (2017), Rahaman et al. (2019), Saxe et al. (2019a), Valle-Perez et al. (2018) view gradient descent itself as an implicit curriculum. The authors say the staged evolution of influence gives a finer mechanism: different data become important at different times.
Baselines and data: The toy model baselines are leave-one-out retraining, analytical influence functions, and the damped classical influence function in Appendix C.4. The language model token classification follows Baker et al. (2025); the data are Saxe et al.'s hierarchical semantic set and a subset of The Pile.
The authors place this paper within developmental interpretability: not just giving each sample a global influence score at the end of training, but tracking which segment of development the influence acts in.
How does the paper address this problem?
The authors use a covariance decomposition to predict that influence can change sign at phase transitions and may peak.
The authors use singular learning theory to describe staged development, then use the Bayesian Influence Function (BIF) to write sample influence as a quantity that changes over training, rather than computing a classical influence function once at the final parameters.
From regular learning to staged development
- Regular picture: When there is a unique maximum likelihood and the Fisher information matrix is invertible, the Bernstein–von Mises theorem gives a posterior that narrows smoothly around a single solution (Van der Vaart, 2000; Figure 1a).
- Singular models: Networks do not have a unique minimum, and the Fisher information matrix is not invertible everywhere. Development is written as a competition between the empirical loss and the local learning coefficient λ(w); at a first-order phase transition the posterior moves from one region to another, and generalization behavior can change (Section 2.1, Appendix A).
- Analytical route: Following the developmental interpretability approach, the authors first approximate the SGD or Adam trajectory with idealized Bayesian learning, then use SLT for predictions, and finally test on networks trained with stochastic optimization.
Bayesian influence function
- Applicability of the classical formula: The classical influence function is the derivative of an observable at the final solution with respect to infinitesimal upweighting of a training point, involving the inverse of the loss Hessian. The authors say that at unconverged checkpoints, far from a minimum and with a rank-deficient Hessian, the formula theoretically does not hold and in practice requires damping (Section 2.2, Appendix C.4).
- Definition: BIF instead uses the derivative of the posterior expectation, equal to the negative covariance of the sample loss and the observable, BIF(zi,ϕ)=−Covp(w|D)(ℓi(w),ϕ(w)). The authors' justification is that it is defined on the posterior, does not require inverting the Hessian, and is defined at any point along the trajectory. The language model experiments use Pearson correlation instead of covariance, which the authors say is more stable over time; when aggregating into group influence, pairs from the same token are removed (Appendix B).
- Relation to the classical formula: The authors say that when regularity holds and the data are large, BIF asymptotically returns to the classical influence function (Kreer et al., 2025).
Covariance decomposition at phase transitions
- Bimodal posterior: A first-order phase transition is written as a mixture of neighborhoods U, V with weights πU, πV summing to 1. At the transition peak both are about 0.5; away from the transition one is near 1 and the other near 0.
- Two terms: The loss covariance of samples i, j splits into an intra-phase average and an inter-phase term. The intra-phase term is the weighted average of the two phase covariances; without a phase transition only this term remains. The inter-phase term comes from the change in expected loss itself during the phase switch, and is πUπV(μi,U−μi,V)(μj,U−μj,V), where μ is the expected loss of that sample in a given phase.
- Two predictions: If the intra-phase influences of the two phases differ greatly, or if the inter-phase term dominates the baseline at the transition, influence can change substantially or even change sign. The inter-phase term is largest when the posterior mass is roughly evenly split; the authors say that under some conditions total influence may peak at the critical point, with the largest peaks for samples where the two phases diverge most.
Estimation and staged attribution
- Sampling: At each checkpoint, a local posterior is estimated with RMSProp-preconditioned SGLD, where the localization strength γ in the update pulls the chain toward that checkpoint (Appendix B, Algorithm 1). For samples not yet in the optimizer, the current weights can be viewed as 0, and the derivative represents sensitivity to first introducing that sample.
- Computational trade-offs: The authors say that relative to EK-FAC, BIF has no upfront cost of fitting an inverse Hessian, but each query is more expensive. They prioritize covering many checkpoints and say dense per-token influence can be obtained in one batch. The paper does not report query counts or wall-clock time.
- Phenomena to test: Attribute learned behavior to data, and also to the time during which that data acts. The rest of the paper tests whether influence is non-monotonic, can change sign, and whether peaks align with developmental transitions in behavior. The toy model also has an analytical influence function on the singular mode basis; the analytical curve approximates ablation with downweighting ε=-0.1 (Appendix C.6).
What experiments did the paper conduct?
Three influence measures agree on the toy model; the authors state that in language models, influence changes with stages such as induction.
Experimental setup
- Toy model: 2-layer deep linear network without bias, 50 hidden units, MSE. Data is the hierarchical semantic set of Saxe et al. (2019a): N=8, hierarchy H=3, input is the N×N identity matrix, output dimension O=15. Initialization standard deviation 1e-3, learning rate 5e-3, full batch 10K epochs (Appendix C.1). No LLM evaluation.
- Influence estimation: At each checkpoint, the local posterior is estimated with RMSProp-SGLD. In Figure 3, BIF uses β=1000, ε=1e-3, γ=5e+3. Baselines are the analytical influence function and leave-one-out: at time t, the loss difference for query point j is the loss after removing i minus the full-data loss. Appendix C.4 additionally computes classical influence functions under a damped Hessian and a damped Gauss-Newton-Hessian.
- Pythia: The experiments specify a 14M-parameter Pythia, computing normalized per-token BIF on a subset of The Pile. Classes include left delimiters, right delimiters, format tokens, word fragments, word endings, and induction patterns; the classification is non-exhaustive and non-mutually exclusive (Section 4, D.1.1). The grid is n=600 sequences, length J=55, ε=1e-6, nβ either 256 or 1024, γ either 500 or 1000, batch 64, 4 chains, chain length 200, burn-in 0 (Table 2). Main-text figures select hyperparameters by KNN average class recall; the authors say overall dynamics vary little within this grid.
- Synthetic induction: The from-scratch Pythia-14M is not the same run as the public checkpoints, with different data order and hardware. Checkpoints are saved every 100 steps for the first 20,000 steps. The second half of each sequence repeats the first half, and tokens are not shared between sequences. SGLD samples from The Pile; the synthetic loss does not enter the sampling trajectory (D.3). The authors say the public checkpoints are too sparse around 1k to 10k, so they performed this training run.
- Timed intervention: A 3M-parameter transformer, 13 million sequences on The Pile, 15,000 steps total. The authors say they performed five experimental runs, and list the 500-step windows as 0–500, 1k–1.5k, 2k–2.5k, 3k–3.5k, 4k–4.5k, and 5k–5.5k; within a window the loss on induction pattern tokens is upweighted by 4×, compared to no upweighting. Initialization and data order are the same. They also report the induction score, and the induction-class average BIF for the unweighted model over the first 6k steps, after removing the same token. Figure 17 shading is the 90% CI from 100-sample block bootstrap.
Main results
The paper has no overall model×metric table. The table below lists only time points stated in the main text or figure captions.
Swipe horizontally to read the table
Setting Paper statement Number Source Pythia, induction class average BIF inflection point as early as 128 steps Section 4, Figure 5 Same continues strengthening after inflection, then peaks and declines the following 30k training steps Section 4 3M transformer, no upweighting induction score reaches peak timestep 9k D.4 main text Same induction head forms naturally step ∼7k Figure 17 caption Upweighting in late window in caption head forms earliest step 5k Figure 17 caption - Authors' interpretation of induction: The authors say the non-monotonic peak in this class's influence aligns with the known development of the induction circuit, and say this echoes Tigges et al. (2024)'s finding that Pythia learns this circuit in the same period. The two comparison time points in the main text and figure caption use different wording, and the paper does not state whether they are the same event.
- Delimiters: The authors say left and right delimiters have negative influence on each other very early, called constructive, then the relationship reverses and influence on the opposite class becomes increasingly positive. The relationships of left delimiters with word fragments and right delimiters with word endings develop over training, and word fragments and left delimiters have a spike later in training (Section 4).
- Toy model: Figure 3 caption says BIF, the analytical influence function, and leave-one-out agree, and the influence of one sample on another can change non-monotonically over training. The times on the hierarchical branches are in the next section.
Hierarchy and short-window ablation in the toy model
- What was measured: For dog and other points, three influence measures are compared, and multidimensional scaling of hidden representations marks the hierarchical branches (Figure 4). Separately, dog is removed in short windows of D=100 epochs with start intervals of 200 epochs, and the loss difference relative to baseline is integrated within the window (C.5).
- Results: The authors say that when learning a given level of discrimination, upweighting the same class helps, corresponding to negative influence; upweighting a different class hurts, corresponding to positive influence. dog's influence on sparrow is negative early and turns positive when learning the mammal vs. bird distinction. Figure 4 caption says the peaks align with the branch points in the MDS trajectory, with branches in order animals vs. plants, mammals vs. birds, dog vs. cat. When removing dog, cat's integrated loss difference is largest near t=6000, with the negative extreme near t=3000; sparrow's critical window is earlier.
- Authors' interpretation: The authors say influence is a function of the strength of the singular mode of the input–output covariance, and therefore changes over time (C.6). The maximum loss difference in the short-window ablation falls in the stage where BIF peaks; the authors use this to say the measure marks the critical time window in which a sample drives learning. Sparrow, sharing the higher level (animals), has its critical point earlier than cat, which shares the lower level (mammals).
Induction formation and timed upweighting
- What was measured: On the custom Pythia-14M, normalized BIF is compared for repeated, non-repeated, and cross-segment tokens, and the induction score of the attention head that will become the induction head is recorded (Figure 16, D.3). D.4 upweights the same induction pattern class in different windows.
- Results: The authors say BIF between repeated segments suddenly increases, peaks, then stabilizes, while non-repeated and cross-segment tokens show no such change. The main text says the induction score starts rising before the repeated-segment BIF rises; Figure 16 caption says it rises together with the posterior correlation, while other heads remain inactive. In the intervention, early windows with more positive BIF delay or interrupt learning; the 2k–2.5k window is similar to the control, but the post-peak score stays higher longer; windows after BIF declines rapidly accelerate learning, with scores rising quickly in the 4k–4.5k and 5k–5.5k windows.
- Authors' interpretation: The authors say the results support that static end-of-training analysis is insufficient to understand influence, and say more negative BIF means the loss on induction tokens is more correlated, upweighting is faster and stronger, while more regular means interference. Figure 17 caption says declining BIF corresponds to faster learning, consistent with this prediction.
Other ablations and analyses
- BIF–leave-one-out correlation: Figure 6 scans β, γ, ε. The authors say the correlation varies smoothly with hyperparameters; high γ and low ε correlate most with leave-one-out, and β is less important on this toy model. The main text does not give correlation values. Figure 3 uses the set with the highest correlation.
- Classical influence function: The damping factor γ is swept on a log grid from 1e-3 to 10, added to both the Hessian and the Gauss-Newton-Hessian (C.4). The authors say the damped trajectories agree in trend with BIF and leave-one-out; the main text does not list influence values for each γ.
- Sampling sweep: Table 1 includes ε from 1e-7 to 1e-2, β from 1e+1 to 1e+4, γ from 1e-2 to 1e+6, chain counts 2, 4, 8, and chain lengths 200, 400, 800, 1000. The authors say RMSPropSGLD outperforms vanilla SGLD and is insensitive to the decay rate b and stability constant α within a range. No LLC estimates are given.
- KNN: The structural class is predicted by majority vote over the 30 other tokens with highest BIF, corrected by class frequency. Figure 14 uses 0 as the random baseline. The authors say at the end of training all classes have recall above random, and recall generally improves over training. Per-class recall percentages are not given.
- Delimiter subclasses: Figure 15 splits delimiters into parentheses, braces, brackets, and angle brackets, then left and right, for 8 classes total, excluding tokens containing multiple types. The authors say same-subtype delimiters can still help each other later even with different directions, except parentheses.
- Exceptions: Upweighting too early can delay or interrupt induction (D.4). In synthetic sequences, non-repeated and cross-segment BIF do not show the rise seen in repeated segments (Figure 16). Group influence excludes the same token to avoid what the authors call potentially inflated covariance (Appendix B).
What are some points that can be further explored?
The authors note that Bayesian learning and SGD non-equilibrium dynamics are still not connected, and hope to move toward mechanistic explanations.
Limitations and future directions noted by the authors
- Bayesian vs. SGD: The authors write that the main theoretical gap remains the connection between the Bayesian learning process of SLT and the non-equilibrium dynamics of SGD (Section 5, Limitations and future work).
- From behavior to mechanism: The authors write that one empirical direction is to move from behavioral-level influence narratives to mechanistic narratives (Section 5).
- Looking at three things together: The authors write that a more complete interpretability requires knowing simultaneously which samples are most influential, when they are most influential, and how they shape features and circuits (Section 5).
Experimental coverage
- Toy system: The tested network is a 2-layer deep linear network without bias, with 50 hidden units; data N=8, H=3, output dimension O=15; MSE, full batch, 10K epochs (C.1). Influence comparisons include local BIF, analytical influence functions, leave-one-out, and damped classical influence functions (Section 3, C.4, C.6). The short-window ablation uses a window length of 100 epochs, start intervals of 200 epochs, and queries include cat and sparrow (C.5).
- Public checkpoints: The language model experiments specify a 14M-parameter Pythia and a subset of The Pile, with tokens aggregated by the structural classes of Baker et al. (2025); these classes are non-exhaustive and non-mutually exclusive (Section 4, D.1.1).
- Training from scratch: There is also a Pythia-14M, which the authors say differs from the public run in data order and hardware; checkpoints are saved every 100 steps for the first 20,000 steps. The loss on synthetic repeated sequences does not enter the SGLD sampling (D.3).
- Intervention: A 3M-parameter transformer, 13 million sequences, 15,000 steps; upweighting factor 4. The authors write "five experimental runs" and list six 500-step windows. Figure 17 gives 90% CIs from 100-sample block bootstrap (D.4).
- Quantities not reported in the paper: The specific BIF–leave-one-out correlation values in Figure 6; numerical comparisons with TracIn, HyDRA, SOURCE, or EK-FAC; the per-class recall percentages for KNN; the specific nβ and γ selected by recall in the Pythia grid.
Summarize the main content of the paper
Staged attribution tracks which segment of training a sample affects; the authors say the influence can be non-monotonic and can change sign.
Stagewise data attribution extends "which samples have influence" to "during which part of training they have influence."
- Problem: Classical influence functions assign each training point a static score and assume order independence. The authors argue that the degenerate landscape of deep networks leads to phase transitions, so influence is not a constant across training.
- Method: Use idealized Bayesian learning to connect stochastic optimization with singular learning theory, then measure the sensitivity of posterior expectations to sample weights via Bayesian influence functions. Under a bimodal posterior, total covariance splits into within-phase and between-phase terms; the authors predict sign changes and possible spikes at transitions. Estimation uses RMSProp-SGLD with localization, and on language models a normalized per-token version is used.
- Toy model: On an 8-point hierarchical semantic set, Figure 3 caption states BIF, analytic influence functions, and leave-one-out agree, and influence can change non-monotonically. The authors state negative influence corresponds to help in distinguishing within the same layer, positive to harm; Figure 4 caption states peaks align with hierarchical branches on MDS. When dog is removed in a short window, cat's loss difference is largest around t=6000.
- Language models: On Pythia-14M, the authors state that between-class influence for induction, separators, and token fragments changes in magnitude and sign. The average BIF for induction class shows an inflection point as early as step 128, then continues strengthening for 30k training steps before declining. The relationship between left and right separators shifts from negative to increasingly positive.
- Intervention: On a 3M transformer, the authors state that upweighting the loss of induction patterns by 4x in windows where BIF is more negative leads to faster induction head formation than earlier windows; upweighting too early delays or disrupts it. The control's induction score peaks at timestep 9k; Figure 17 caption also states formation at step ∼7k, and the paper does not clarify whether these are the same event.
- Authors' conclusion: The authors advocate shifting from pointwise attribution at the end of training to stagewise attribution, to connect data structure, loss landscape, learning dynamics, and model internals. They also state that the connection between Bayesian learning and SGD non-equilibrium dynamics remains a theoretical gap.