The reviewed record of science sign in
Pith

arxiv: 2301.06758 · v1 · pith:JATT3KOO · submitted 2023-01-17 · cs.LG · cs.AI· cs.CL

Tracing and Manipulating Intermediate Values in Neural Math Problem Solvers

Reviewed by Pith T0 review T1 audit T2 compute T3 formal T4 kernel pith:JATT3KOOrecord.jsonopen to challenge →

classification cs.LG cs.AIcs.CL
keywords intermediatevaluesmodelinformationmodelsactivationsencodedinference
0
0 comments X
read the original abstract

How language models process complex input that requires multiple steps of inference is not well understood. Previous research has shown that information about intermediate values of these inputs can be extracted from the activations of the models, but it is unclear where that information is encoded and whether that information is indeed used during inference. We introduce a method for analyzing how a Transformer model processes these inputs by focusing on simple arithmetic problems and their intermediate values. To trace where information about intermediate values is encoded, we measure the correlation between intermediate values and the activations of the model using principal component analysis (PCA). Then, we perform a causal intervention by manipulating model weights. This intervention shows that the weights identified via tracing are not merely correlated with intermediate values, but causally related to model predictions. Our findings show that the model has a locality to certain intermediate values, and this is useful for enhancing the interpretability of the models.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Cell-Based Representation of Relational Binding in Language Models

    cs.CL 2026-04 unverdicted novelty 7.0

    Large language models encode relational bindings via a cell-based representation: a low-dimensional linear subspace in which each cell corresponds to an entity-relation index pair and attributes are retrieved from the...