Step-Resolved Data Attribution for Looped Transformers
Abstract
Lay Summary
Some AI models solve hard problems by repeatedly refining their internal representations instead of writing out every intermediate reasoning step in text. This paper introduces Step-Decomposed Influence, a method for understanding which training examples affect each internal refinement step of such looped transformers. The method decomposes a standard training-data influence score into a trajectory over recurrent steps and uses TensorSketch to make the computation practical without storing full per-example gradients. Experiments on algorithmic reasoning tasks and a looped chat model show that this step-by-step view can reveal when training examples matter, detect cancellation hidden by scalar influence scores, and help explain why harder problems benefit from more internal computation.