Pith. sign in

REVIEW 3 major objections 6 minor 8 cited by

The Geometry of Tokens in Internal Representations of Large Language Models

T0 review · 3 major / 6 minor · reviewed 2026-08-10 · deepseek-v4-flash

Pith's one-line read Token geometry carries the signature of prediction difficulty: intrinsic dimension correlates with next-token loss.

desk verdict A solid, honest token-level study of how intrinsic dimension tracks next-token loss, but the ID estimator is unvalidated at this scale, so the headline correlation needs an independent sanity check before I'd fully trust it. read the letter →

arxiv 2501.10573 v1 pith:N42RQLVK submitted 2025-01-17 cs.CL cs.LG

classification cs.CLcs.LG
keywords intrinsicdimensiontokenrepresentationscross-entropylossnext-tokenpredictionempiricalmeasuretransformerinterpretabilityneighborhoodoverlapGRIDE
verification ladder T0 review T1 audit T2 compute T3 formal

The pith

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

The reading

This paper tries to show that the geometry of a prompt's tokens inside a large language model encodes how hard the next-token prediction is. By measuring the intrinsic dimension of 1024-token point clouds in the residual stream, the vector representation the model carries from layer to layer, the authors find that prompts with higher average cross-entropy loss are represented in higher-dimensional token manifolds, with the strongest correlation in the early-to-middle layers. They support this with a chain of observations: the intrinsic dimension of the last-layer representations tracks the intrinsic dimension of the logits, the logits' intrinsic dimension tracks the entropy of the softmax distribution, and that contextual entropy approximates the cross-entropy loss. If the claim holds, intrinsic dimension becomes an unsupervised geometric proxy for prediction difficulty and model performance, measurable from the activations alone.

What carries the argument

The central object is the empirical measure of the token cloud at each layer: the probability distribution that puts equal mass on every token's position in the residual stream. To probe that measure the paper relies on the GRIDE intrinsic-dimension estimator, a likelihood-based nearest-neighbor method whose range-scaling-2 special case is the TWO-NN estimator, which converts the ratios of second-to-first nearest-neighbor distances into a local dimension estimate. That estimate carries the argument: the intrinsic-dimension profile across layers, the higher peak for shuffled prompts, and the correlation between intrinsic dimension and loss are all computed with it. Neighborhood overlap between adjacent layers and cosine similarity serve as complementary probes of how coherent token neighborhoods are and how aligned the token vectors become, and a chain through logits and softmax entropy connects the geometric quantity to the information-theoretic loss.

What would settle it

Run the same GRIDE/TWO-NN estimator on synthetic point clouds of known intrinsic dimension, using 1024 points embedded in 4096 dimensions with realistic anisotropy, correlated directions, and nonuniform density; if the estimate systematically misses the true dimension in this regime, the quantitative claims lose their support. A second check is to compare prompts matched for cross-entropy loss but with different syntactic or semantic structure: if their token-level intrinsic-dimension profiles differ substantially despite equal loss, then the intrinsic-dimension-loss correlation is not a stable signature of prediction difficulty.

Watch

Extended reading notes

Core claim

On the paper's own account, the central discovery is stated in Section 5: the intrinsic dimension of token representations across hidden layers is correlated with the average cross-entropy loss of the next-token probability distribution for a given prompt. Across the three decoder-only models studied, the Pearson correlation between $\log(\mathrm{ID})$ and loss is positive and significant, especially around the early-to-middle-layer intrinsic-dimension peak. The paper also establishes a layer-by-layer chain: the last-layer token representation is linearly unembedded into logits, the intrinsic dimension of the logits tracks the intrinsic dimension of the last layer ($\rho = 0.96$), the logits' intrinsic dimension correlates with the contextual entropy of the softmax output ($\rho = 0.43$ for one of the models), and the contextual entropy, averaged over a long prompt, is nearly the cross-entropy loss. Toy calculations with logits supported on a $D_M$-dimensional unit box or probability simplex give $\langle S\rangle \sim \log D_M$, suggesting that softmax entropy grows logarithmically with the intrinsic dimension of the logit manifold.

Load-bearing premise

The load-bearing premise is that the GRIDE/TWO-NN intrinsic-dimension estimate, computed from 1024 tokens in a 4096-dimensional residual stream, genuinely measures the local manifold dimension of the token representations; the estimator assumes locally uniform density and independent nearest-neighbor ratios, and if those assumptions fail in this regime, the intrinsic-dimension peak, the shuffle contrasts, and the intrinsic-dimension-loss correlation could be artifacts of the estimator rather than properties of the representations.

Editorial extensions

If this is right

  • If the central claim is right, intrinsic dimension can serve as an unsupervised metric for evaluating model performance: prompts with higher loss are represented in higher-dimensional manifolds, and the correlation holds across three different model families.
  • The shuffle experiments imply that natural syntactic and semantic structure compresses token representations: disrupting that structure raises the intrinsic-dimension peak, increases cosine alignment among tokens, and lowers neighborhood overlap around the peak.
  • Because last-layer intrinsic dimension correlates with logit intrinsic dimension ($\rho = 0.96$), the correlation can be read off the residual stream without evaluating the full softmax distribution.
  • The toy-model relation $\langle S\rangle \sim \log D_M$ suggests the softmax entropy is bounded by the intrinsic dimension of the logit manifold, giving a concrete geometric mechanism for the loss correlation.

Reading between the lines

Editorial extensions of the paper, not claims the author makes directly.

  • A natural extension the paper leaves implicit is a per-token version of the correlation: if prompt-level loss is tracked by token-cloud dimensionality, then per-token difficulty maps could be read off hidden states alone, flagging high-surprisal tokens without computing the output distribution.
  • The shuffling contrast suggests that the geometry of the empirical measure acts as a structure detector that should transfer to non-text token streams, such as protein or image-patch sequences, and could flag distribution shift or out-of-domain inputs.
  • The $\langle S\rangle \sim \log D_M$ calculation hints that constraining the logit manifold to a lower-dimensional subspace would reduce predictive entropy, a testable prediction about confidence and calibration that the paper does not make.
  • Because the correlation is strongest near the early-to-middle-layer intrinsic-dimension peak, the layer at which the peak occurs could serve as a diagnostic of where a model commits to its prediction, connecting this work to layerwise latent-prediction analyses.
Share X Bluesky LinkedIn Reddit HN

Signed reviews

No signed human review yet.

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, and a circularity audit.

Referee Report

3 major / 6 minor

Summary. The manuscript studies token-level geometry of internal representations in three decoder-only LLMs (Llama 3 8B, Mistral 7B, Pythia 6.9B) through the lens of empirical measures. It computes intrinsic dimension (GRIDE/TWO-NN), neighborhood overlap, and cosine similarity across layers for 2244 Pile-10K prompts of 1024 tokens, compares structured prompts with block-shuffled versions, and reports a layerwise Pearson correlation between log intrinsic dimension and average next-token cross-entropy loss. Section 5.1 proposes an explanatory chain from last-layer ID to logits ID to contextual entropy to loss, supported by a toy softmax model. The abstract and conclusions additionally suggest that ID could be a metric for evaluating model performance across models.

Significance. If the central correlation is real, the paper makes a meaningful empirical contribution: it extends prior prompt-level studies (e.g., Cheng et al., 2023, 2024) to token-level point clouds inside a prompt and shows a consistent layerwise association across three independently trained models, with p-values mostly below 0.01. The analysis is direct rather than circular: the main quantity is a measured correlation, not a fitted parameter, and the authors are careful to label the softmax-box and Dirichlet calculations as toy examples. The scale analysis in Appendix C and the comparison with ESS-based prompt-level correlations in Table 1 are useful consistency checks. The reproducibility statement gives a code repository. However, the result is currently gated by two issues: the ID estimator is not validated in the specific regime used, and the pooled correlation is not shown to be robust to the Pile-10K source-domain structure. These are the main reasons the central claim is not yet secured.

major comments (3)
  1. [Section 3, Eq. (2)-(3)] The load-bearing premise that GRIDE/TWO-NN estimates the true local manifold dimension in this regime is not validated. The distribution in Eq. (2) requires local uniform density and independence of the neighbor ratios across points, and the paper applies it to N=1024 points in d=4096 without any synthetic test at this sample size and ambient dimension. The footnote asserting that local homogeneity 'is generally true' is not evidence. Because Fig. 6 correlates the log of this ID estimate with loss, an estimator artifact—say, sensitivity to distance concentration or to non-uniform density at second-neighbor scale in high dimension—could produce the reported layerwise correlations even if the true geometric dimension is unrelated to loss. The shuffling contrasts do not resolve this, since shuffling changes the point-cloud distribution in ways that could alter the estimator's bias. Required: validate GRIDE on synthetic manifolds of known dimension embedded in 4096 dimensions with N=1024, including non-uniform and anisotropic densities, and/or reproduce the ID profiles and correlations with an independent estimator (e.g., ESS, correlation dimension, or local PCA).
  2. [Section 5.1, Eqs. (11)-(15)] The toy model connects softmax entropy to the number of active logits D_M, not to the GRIDE estimate of the intrinsic dimension of the logit point cloud. The identification between the estimated ID and the parameter D_M is not established; in the empirical analysis, ID is estimated from a point cloud of logits in a vocabulary-sized ambient space, whereas the toy model presumes an explicit coordinate box of dimension D_M. The reported rho=0.43 between log ID and contextual entropy is therefore consistent with mechanisms other than the toy model. A concrete test is to generate synthetic logit clouds with known D_M at the relevant ambient dimension and sample size, and verify that GRIDE recovers D_M; alternatively, the text should explicitly state that the toy model is only an analogy and not a derivation of the observed correlation.
  3. [Section 5, Fig. 6] The Pearson correlation is computed on 2244 prompts pooled over the 22 source domains of Pile-10K. If both the average loss and the ID estimates vary systematically by source, the pooled correlation can be inflated by a domain-level confound, and the statement that 'prompts with a higher cross-entropy loss have token representations lying in higher dimensional manifolds' would not follow within domains. Please report source-stratified correlations or a partial correlation controlling for the Pile source, and show that the correlation holds for at least the most frequent sources.
minor comments (6)
  1. [Section 5.1, item 1] The Pearson coefficient rho=0.96 between the log ID of the last layer and the log ID of the logits is stated without a scatter plot, confidence interval, or model breakdown; please provide the supporting figure or at least the per-model values.
  2. [Section B.2] The text says Pythia has a lower ID peak than the other models 'though the significance is low'; because this is an explicit statement of low significance, either provide a formal significance test (e.g., a permutation test over prompts) or refrain from treating the difference as a model-level property.
  3. [Figure 7 caption] The sentence 'analysis of the correlation between the logits ID at scaling = 2 ... and the contextual entropy to the average contextual entropy' is grammatically garbled; please state explicitly which quantity is plotted on each axis in each panel.
  4. [Section 4.2] The variables x_{i,k} and r_{i,k} are used in the 'Distribution of tokens at the ID peak' paragraph but defined only in the footnote of the following paragraph; move the definition to the first occurrence.
  5. [Reproducibility section] The repository URL 'https://github.com/RitAreaSciencePark/token geometry' contains a space and could not be resolved during review; please ensure the link is valid and includes a README with the exact model revisions, filtering code, and GRIDE implementation needed to reproduce all figures.
  6. [Section 6] The claim that ID 'could be an important metric for evaluating model performance across different models' goes beyond the within-model, across-prompt correlation reported in Fig. 6; either add a cross-model analysis (e.g., relating peak ID to per-model loss while controlling for model identity) or soften the conclusion to the within-model setting actually tested.

Circularity Check

0 steps flagged · score 0.0 of 10

No significant circularity: the central ID–loss correlation is a directly measured empirical relation, and the explanatory chain is supported by independent measurements and an explicitly labeled toy model.

full rationale

The paper's central claim (Section 5) is a measured Pearson correlation between the GRIDE/TWO-NN intrinsic dimension of token representations and average next-token cross-entropy loss across 2244 prompts. This quantity is computed directly from the residual-stream point clouds and from the model's next-token probabilities; no parameter is fitted to the loss and then reported as a prediction, and no equation defines ID in terms of loss or vice versa. The explanatory chain in Section 5.1 uses empirically measured correlations (last-layer ID vs. logits ID, ρ=0.96; logits ID vs. contextual entropy, ρ=0.43) and a clearly labeled toy model relating softmax entropy to the dimension of a unit box or simplex. The toy model is an independent mathematical example, not an inference from the data, and it is not used to manufacture the main correlation. The observation that higher ID corresponds to nearest-neighbor ratios closer to unity follows directly from Equation (3), but it is presented as an interpretation of the estimator, not as a load-bearing derivation. Self-citations in the related-work section (e.g., [18], [21], [22]) motivate the geometric approach but do not supply the central result, which is internally computed and benchmarked against external models and prior prompt-level findings. The concern that the TWO-NN estimator may be unreliable at N=1024 in a 4096-dimensional residual stream is a correctness or validity risk, not a circularity: even if the estimator were biased, the correlation would still be between two independently computed empirical quantities. Therefore the derivation chain is self-contained and no circular step can be exhibited.

Assumptions & free parameters 1 free parameters · 4 assumptions · 0 invented entities

The central empirical result depends on the reliability of the GRIDE estimator and on a clean comparison across prompts. The paper introduces no new physical entities and fits no constants to data; the hand-chosen GRIDE scale and the toy logits model are the main discretionary ingredients. The mean-field framing is motivational. The explanatory chain relies on an unproven linear-preservation assumption for ID under the unembedding map.

free parameters (1)
  • GRIDE range scaling n2/n1 = 2 (variants 4, 8)
    Controls the nearest-neighbor window for intrinsic dimension estimation. The main text uses range scaling 2; appendices show results for 4 and 8. Reported correlations strengthen with scaling, so the choice affects the magnitude of the central result, though it is not fitted to maximize it.
assumptions (4)
  • domain assumption GRIDE/TWO-NN estimator assumptions: local uniform density and independent nearest-neighbor ratios
    Invoked in Section 3 (Intrinsic Dimension) to justify the ID estimates; not validated for 4096-dimensional residual stream representations.
  • domain assumption Mean-field interaction picture: token dynamics depend on the current token representation and empirical measure, not on token labels
    Adopted from the cited analytical framework (Section 2, [2,4]) as motivation for probing the empirical measure; the observational analysis does not depend on this dynamics being exact.
  • ad hoc to paper Linear unembedding approximately preserves intrinsic dimension between last-layer representations and logits
    Step 1 of Section 5.1 assumes this to bridge last-layer ID to logits ID; it is justified only by the empirical Pearson coefficient rho = 0.96, not by a theorem.
  • ad hoc to paper Toy logits model: D_M active entries uniform in [0,1] and remaining entries at -infinity
    Section 5.1 uses this to derive softmax entropy approximately equal to log D_M. The authors state the relation might not hold for a generic manifold, so this is an illustration, not a general input.

how reviews work

0 comments
Cite this review

Pith. "Pith review of The Geometry of Tokens in Internal Representations of Large Language Models." pith.science (2026). https://pith.science/paper/N42RQLVK

@misc{pith2026250110573,
  author       = {Pith},
  title        = {Pith review of: The Geometry of Tokens in Internal Representations of Large Language Models},
  year         = {2026},
  howpublished = {\url{https://pith.science/paper/N42RQLVK}},
  note         = {Machine review of arXiv:2501.10573}
}
read the original abstract

We investigate the relationship between the geometry of token embeddings and their role in the next token prediction within transformer models. An important aspect of this connection uses the notion of empirical measure, which encodes the distribution of token point clouds across transformer layers and drives the evolution of token representations in the mean-field interacting picture. We use metrics such as intrinsic dimension, neighborhood overlap, and cosine similarity to observationally probe these empirical measures across layers. To validate our approach, we compare these metrics to a dataset where the tokens are shuffled, which disrupts the syntactic and semantic structure. Our findings reveal a correlation between the geometric properties of token embeddings and the cross-entropy loss of next token predictions, implying that prompts with higher loss values have tokens represented in higher-dimensional spaces.

Figures

Figures reproduced from arXiv: 2501.10573 by the authors.

Figure 1
Figure 1. The shuffling algorithm with an example. Top Panel: Algorithmic description of the shuffling procedure described in Section 4. Bottom Panel: An example of the shuffling algorithm using N = 16 tokens. The first row (S = 0) corresponds to the unshuffled sequence. When S = 1, the tokens are split into 4 1 blocks first and then, the blocks are shuffled. The last row S = 2 shows the fully shuffled case where the tokens a… view at source ↗
Figure 2
Figure 2. Average Cosine Similarity. Left Panel: average cosine similarity among tokens for a single prompt as a function of model layers. Right Panel: average cosine similarity averaged over 2244 prompts as a function of layers for the full shuffle (S = 5) and the structured case (S = 0). The color bar indicates the shuffle index S. The shaded regions indicate the standard deviation from the mean. All curves have been calcul… view at source ↗
Figure 3
Figure 3. Intrinsic Dimension. Left Panel: intrinsic dimension for a single random prompt as a function of model layers. Right Panel: intrinsic dimension averaged over 2244 prompts as a function of layers for the full shuffle (S = 5) and the structured case (S = 0). The shaded regions indicate the standard deviation from the mean. The color bar indicates the shuffle index S. All curves have been calculated for the LLAMA model… view at source ↗
Figures from the paper (18 more)
Figure 4
Figure 4. Figure 4: Angle distribution between nearest neighbors. Left Panel: histogram of the angles between the first and second nearest neighbor at layer 10 of the LLAMA model for a single prompt for the full shuffle case and structured case. The dotted vertical lines indicate the aver…
Figure 5
Figure 5. Figure 5: Neighborhood Overlap. Left Panel: neighborhood overlap for a single random prompt as a function of model layers for kNN = 2. The colorbar indicates the shuffle index S. Right Panel: neighborhood overlap averaged over 2244 prompts as a function of layers for the full sh…
Figure 6
Figure 6. Figure 6: Correlation between intrinsic dimension and the average cross-entropy loss. Pearson coefficient be￾tween the logarithm of the intrinsic dimension and model loss for different models as a function of layers. The shaded regions indicate the standard deviation from the me…
Figure 7
Figure 7. Figure 7: Correlating intrinsic dimension at the last layer to cross-entropy loss. The points in the following plots are calculated using the 2244 prompts considered in this paper for the LLAMA model. - (a) Left Panel: analysis of the correlation between the logits ID at scaling…
Figure 8
Figure 8. Figure 8: ID profiles of 6 random prompts for LLAMA. The prompts are taken from the filtered version of Pile described in the dataset section 3.1, but the prompt numbers refer to the Pile-10K dataset. The ID profiles are calculated using GRIDE at scaling = 2 [PITH_FULL_IMAGE:fi…
Figure 9
Figure 9. Figure 9: ID profiles for shuffling for different models. (a) ID profiles for prompt number 3218 from Pile-10K for different models across different levels of shuffling. Lighter colors represent a higher shuffle index, and darker colors indicate a more structured prompt, and (b)…
Figure 10
Figure 10. Figure 10: Structured vs Shuffled ID for different range scalings. Intrinsic dimension at scaling = 2, 4, 8 as a function of layer for the full shuffle and structured case for the average over all the prompts for LLAMA. Neighborhood Overlap. We compute the neighborhood overlap f…
Figure 11
Figure 11. Figure 11: Structured vs Shuffled NO for different kNN. Neighborhood overlap at kNN = 1 to kNN = 6 as a function of layer for the full shuffle and structured case for the average over all the prompts for LLAMA. B Token Geometry of Prompts in Different Models In the previous sect…
Figure 12
Figure 12. Figure 12: Intrinsic Dimension. Left Panel: intrinsic dimension for a single prompt as a function of layers. Right Panel: intrinsic dimension averaged over 2244 prompts as a function of layers. The shaded regions indicate standard deviation from the mean. The curves correspond t…
Figure 13
Figure 13. Figure 13: Neighborhood Overlap. Left Panel: neighborhood overlap for a single prompt as a function of layers. Right Panel: intrinsic dimension averaged over 2244 prompts as a function of layers. Shaded regions indicate standard deviation from the mean. The curves correspond to …
Figure 14
Figure 14. Figure 14: Scale analysis for GRIDE estimation across models for shuffled and unshuffled prompts. (a) Results for a single shuffled prompt (prompt number 3218), (b) Results for a single prompt (prompt number 3218), and (c) averaged results across unshuffled prompts, both showing…
Figure 15
Figure 15. Figure 15: Scale analysis for average ID profile. The ID profile averaged over 2244 prompts for range scaling = 2, 4, 8, with shaded regions indicating the standard deviation from the mean [PITH_FULL_IMAGE:figures/full_fig_p020_15.png]
Figure 16
Figure 16. Figure 16: Scale analysis for average NO profile. The neighborhood overlap profile averaged over 2244 prompts for range scaling = 2, 4, 8, with shaded regions indicating the standard deviation from the mean [PITH_FULL_IMAGE:figures/full_fig_p020_16.png]
Figure 17
Figure 17. Figure 17: Scale analysis for the correlation between intrinsic dimension and loss. Pearson coefficient between the logarithm of intrinsic dimension and model loss at scalings = 2, 4, 8 for different models. 20 [PITH_FULL_IMAGE:figures/full_fig_p020_17.png]
Figure 18
Figure 18. Figure 18: Scale analysis for the correlation between intrinsic dimension of logits and contextual entropy. Pear￾son coefficient between the logarithm of the intrinsic dimension of the logits and model contextual entropy for scalings = 2, 4, 8 for LLAMA. 21 [PITH_FULL_IMAGE:fig…
Figure 19
Figure 19. Figure 19: Prompt geometry and token geometry. A qualitative comparison of last-token representations at the prompt level (top panel) and the token level (bottom panel) geometry at layer 11 using t-SNE projections. All the plots are obtained using the representations from LLAMA.…
Figure 20
Figure 20. Figure 20: Summary of results for Opt-6.7B at the token-level. Left panel: The ID curve for Opt-6.7B for scaling = 2, 4, 8 for prompt number 3218 from Pile-10K. We observe a peak around layer 20 as in the prompt level [20]. Middle panel: Spearman correlation between ID and loss …
Figure 21
Figure 21. Figure 21: Intrinsic Dimension profile over training for PYTHIA. Left Panel: intrinsic dimension profile for a single random prompt as a function of layers for different levels of training. Right Panel: intrinsic dimension averaged over 50 prompts as a function of layers for the…

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 8 Pith papers

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

  1. Metaphor Tracer: A Theory-Informed Analysis of Hidden States

    cs.AI 2026-07 conditional novelty 7.0 of 10

    Hidden-state aggregator and differentiator scores, frozen on one text, track within-text organization across models and align with engineered registers and psychoanalytic marks while dissociating from information and ...

  2. Attention's forward pass and Frank-Wolfe

    math.OC 2025-08 conditional novelty 6.0 of 10

    Hardmax self-attention is shown to be a Frank-Wolfe iteration; with positive-definite key-query it converges to Voronoi-cell vertices, and a Markov-chain version of soft attention is metastable there for exponential-i...

  3. Geometric Configurations of Perturbed Jailbreak Prompts

    cs.CR 2026-07 conditional novelty 5.0 of 10

    In six small open-weight LLMs, jailbreak prompts are linearly separable in last-token embeddings by surface form, but not by refusal/compliance behavior.

  4. An Analysis of Residual-Stream Geometry Across Transformer Depth

    cs.LG 2026-07 conditional novelty 5.0 of 10

    Across six instruction-tuned transformers, residual-stream layer transitions follow a model-specific, condition-stable depth curve: large early and late updates, a quiet middle, near-flat rotation, and a rising final ...

  5. Geometric Metrics and LLMs: What They Measure and When They Work

    cs.CL 2025-09 reject novelty 5.0 of 10

    The paper's abstract claims that Schatten Norm and MOM reflect output length and that geometric features add modest classifier accuracy over text statistics, but the body instead reports consistent generator rankings ...

  6. What's in a prompt? Language models encode literary style in prompt embeddings

    cs.CL 2025-05 conditional novelty 5.0 of 10

    Deep-layer embeddings of short literary excerpts carry enough information to identify their source book and author, with same-author works more confused, indicating style is encoded in the prompt representation.

  7. Physics- and geometry-aware spatio-spectral graph neural operator for time-independent and time-dependent PDEs

    cs.LG 2025-08 unverdicted novelty 4.0 of 10

    A submission whose abstract describes a new graph neural operator for PDEs but whose full text is a different paper, leaving the claimed method and results unverifiable.

  8. Position: Foundation Models Need Digital Twin Representations

    cs.LG 2025-05 conditional novelty 4.0 of 10

    A position paper proposes replacing token-based representations in foundation models with outcome-driven digital twin representations that explicitly encode physical and semantic structure.

Reference graph

Works this paper leans on

60 extracted references · 46 canonical work pages · cited by 8 Pith papers

  1. [1]

    A mathematical theory of attention,

    J. Vuckovic, A. Baratin, and R. T. des Combes, “A mathematical theory of attention,” 2020. https://arxiv.org/abs/2007.02876

  2. [2]

    A mathematical perspective on transformers,

    B. Geshkovski, C. Letrouit, Y . Polyanskiy, and P. Rigollet, “A mathematical perspective on transformers,” 2024. https://arxiv.org/abs/2312.10794

  3. [3]

    Geometric dynamics of signal propagation predict trainability of transformers,

    A. Cowsik, T. Nebabu, X.-L. Qi, and S. Ganguli, “Geometric dynamics of signal propagation predict trainability of transformers,” 2024. https://arxiv.org/abs/2403.02579. 11 A PREPRINT - JANUARY 22, 2025

  4. [4]

    Generic controllability of equivariant systems and applications to particle systems and neural networks

    A. Agrachev and C. Letrouit, “Generic controllability of equivariant systems and applications to particle systems and neural networks,” 2024. https://arxiv.org/abs/2404.08289

  5. [5]

    The emergence of clusters in self-attention dynamics,

    B. Geshkovski, C. Letrouit, Y . Polyanskiy, and P. Rigollet, “The emergence of clusters in self-attention dynamics,” in Advances in Neural Information Processing Systems, A. Oh, T. Naumann, A. Globerson, K. Saenko, M. Hardt, and S. Levine, eds., vol. 36, pp. 57026–57037. Curran Associates, Inc., 2023. https://proceedings.neurips.cc/paper_files/paper/2023/...

  6. [6]

    Signal propagation in transformers: Theoretical perspectives and the role of rank collapse,

    S. Anagnostidis, L. Biggio, L. Noci, A. Orvieto, S. P. Singh, and A. Lucchi, “Signal propagation in transformers: Theoretical perspectives and the role of rank collapse,” in Advances in Neural Information Processing Systems, A. H. Oh, A. Agarwal, D. Belgrave, and K. Cho, eds. 2022. https://openreview.net/forum?id=FxVH7iToXS

  7. [7]

    Revisiting over-smoothing in BERT from the perspective of graph,

    H. Shi, J. GAO, H. Xu, X. Liang, Z. Li, L. Kong, S. M. S. Lee, and J. Kwok, “Revisiting over-smoothing in BERT from the perspective of graph,” inInternational Conference on Learning Representations. 2022. https://openreview.net/forum?id=dUV91uaXm3

  8. [8]

    Demystifying oversmoothing in attention-based graph neural networks,

    X. Wu, A. Ajorlou, Z. Wu, and A. Jadbabaie, “Demystifying oversmoothing in attention-based graph neural networks,” in Thirty-seventh Conference on Neural Information Processing Systems. 2023. https://openreview.net/forum?id=Kg65qieiuB

Show all 60 references
  1. [9]

    Deep transformers without shortcuts: Modifying self-attention for faithful signal propagation,

    B. He, J. Martens, G. Zhang, A. Botev, A. Brock, S. L. Smith, and Y . W. Teh, “Deep transformers without shortcuts: Modifying self-attention for faithful signal propagation,” in The Eleventh International Conference on Learning Representations. 2023. https://openreview.net/for...

  2. [10]

    On the role of attention masks and layernorm in transformers,

    X. Wu, A. Ajorlou, Y . Wang, S. Jegelka, and A. Jadbabaie, “On the role of attention masks and layernorm in transformers,” in The Thirty-eighth Annual Conference on Neural Information Processing Systems. 2024. https://openreview.net/forum?id=lIH6oCdppg

  3. [11]

    Eliciting latent predictions from transformers with the tuned lens,

    N. Belrose, Z. Furman, L. Smith, D. Halawi, I. Ostrovsky, L. McKinney, S. Biderman, and J. Steinhardt, “Eliciting latent predictions from transformers with the tuned lens,” 2023. https://arxiv.org/abs/2303.08112

  4. [12]

    Residual connections encourage iterative inference,

    S. Jastrzebski, D. Arpit, N. Ballas, V . Verma, T. Che, and Y . Bengio, “Residual connections encourage iterative inference,” in International Conference on Learning Representations. 2018. https://openreview.net/forum?id=SJa9iHgAZ

  5. [13]

    interpreting gpt: the logit lens,

    nostalgebraist, “interpreting gpt: the logit lens,” LessWrong (2020) . https://www.lesswrong.com/ posts/AcKRB8wDpdaN6v6ru/interpreting-gpt-the-logit-lens

  6. [14]

    A mathematical framework for transformer circuits,

    N. Elhage, N. Nanda, C. Olsson, T. Henighan, N. Joseph, B. Mann, A. Askell, Y . Bai, A. Chen, T. Conerly, N. DasSarma, D. Drain, D. Ganguli, Z. Hatfield-Dodds, D. Hernandez, A. Jones, J. Kernion, L. Lovitt, K. Ndousse, D. Amodei, T. Brown, J. Clark, J. Kaplan, S. McCandlish, a...

  7. [15]

    Intrinsic dimension of data representations in deep neural networks,

    A. Ansuini, A. Laio, J. H. Macke, and D. Zoccolan, “Intrinsic dimension of data representations in deep neural networks,” in Proceedings of the 33rd International Conference on Neural Information Processing Systems. Curran Associates Inc., Red Hook, NY , USA, 2019

  8. [16]

    Hierarchical nucleation in deep neural networks,

    D. Doimo, A. Glielmo, A. Ansuini, and A. Laio, “Hierarchical nucleation in deep neural networks,” in Advances in Neural Information Processing Systems, H. Larochelle, M. Ranzato, R. Hadsell, M. F. Balcan, and H. Lin, eds., vol. 33, pp. 7526–7536. Curran Associates, Inc., 2020

  9. [17]

    The intrinsic dimension of images and its impact on learning,

    P. Pope, C. Zhu, A. Abdelkader, M. Goldblum, and T. Goldstein, “The intrinsic dimension of images and its impact on learning,” in International Conference on Learning Representations. 2021. https://openreview.net/forum?id=XJk19XzGq2J

  10. [18]

    The geometry of hidden representations of large transformer models,

    L. Valeriani, D. Doimo, F. Cuturello, A. Laio, A. Ansuini, and A. Cazzaniga, “The geometry of hidden representations of large transformer models,” in Advances in Neural Information Processing Systems, A. Oh, T. Naumann, A. Globerson, K. Saenko, M. Hardt, and S. Levine, eds., v...

  11. [19]

    Bridging information-theoretic and geometric compression in language models,

    E. Cheng, C. Kervadec, and M. Baroni, “Bridging information-theoretic and geometric compression in language models,” in Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, H. Bouamor, J. Pino, and K. Bali, eds., pp. 12397–12420. Association ...

  12. [20]

    Emergence of a high-dimensional abstraction phase in language transformers,

    E. Cheng, D. Doimo, C. Kervadec, I. Macocco, J. Yu, A. Laio, and M. Baroni, “Emergence of a high-dimensional abstraction phase in language transformers,” 2024. https://arxiv.org/abs/2405.15471

  13. [21]

    The representation landscape of few-shot learning and fine-tuning in large language models,

    D. Doimo, A. P. Serra, A. ansuini, and A. Cazzaniga, “The representation landscape of few-shot learning and fine-tuning in large language models,” in The Thirty-eighth Annual Conference on Neural Information Processing Systems. 2024. https://openreview.net/forum?id=nmUkwoOHFO

  14. [22]

    Persistent topological features in large language models,

    Y . Gardinazzi, G. Panerai, K. Viswanathan, A. Ansuini, A. Cazzaniga, and M. Biagetti, “Persistent topological features in large language models,” 2024. https://arxiv.org/abs/2410.11042

  15. [23]

    Levels of analysis for machine learning,

    J. B. Hamrick and S. Mohamed, “Levels of analysis for machine learning,” CoRR abs/2004.05107 (2020) , 2004.05107. https://arxiv.org/abs/2004.05107

  16. [24]

    A primer in BERTology: What we know about how BERT works,

    A. Rogers, O. Kovaleva, and A. Rumshisky, “A primer in BERTology: What we know about how BERT works,” Transactions of the Association for Computational Linguistics 8 (2020) 842–866. https://aclanthology.org/2020.tacl-1.54

  17. [25]

    Probing classifiers: Promises, shortcomings, and advances,

    Y . Belinkov, “Probing classifiers: Promises, shortcomings, and advances,”Computational Linguistics 48 no. 1, (Mar., 2022) 207–219. https://aclanthology.org/2022.cl-1.7

  18. [26]

    Interpretability and analysis in neural NLP,

    Y . Belinkov, S. Gehrmann, and E. Pavlick, “Interpretability and analysis in neural NLP,” inProceedings of the 58th Annual Meeting of the Association for Computational Linguistics: Tutorial Abstracts, A. Savary and Y . Zhang, eds., pp. 1–5. Association for Computational Lingui...

  19. [27]

    Learning Overcomplete Representations,

    M. S. Lewicki and T. J. Sejnowski, “Learning Overcomplete Representations,” Neural Computation 12 no. 2, (Feb., 2000) 337–365. https://doi.org/10.1162/089976600300015826. eprint: https://direct.mit.edu/neco/article-pdf/12/2/337/814391/089976600300015826.pdf

  20. [28]

    Efficient sparse coding algorithms,

    H. Lee, A. Battle, R. Raina, and A. Ng, “Efficient sparse coding algorithms,” in Advances in Neural Information Processing Systems, B. Sch¨olkopf, J. Platt, and T. Hoffman, eds., vol. 19. MIT Press, 2006. https://proceedings.neurips.cc/paper_files/paper/2006/file/ 2d71b2ae158c...

  21. [29]

    Sparse overcomplete word vector representations,

    M. Faruqui, Y . Tsvetkov, D. Yogatama, C. Dyer, and N. A. Smith, “Sparse overcomplete word vector representations,” in Proceedings of the 53rd Annual Meeting of the Association for Computational Linguistics and the 7th International Joint Conference on Natural Language Process...

  22. [30]

    Transformer feed-forward layers build predictions by promoting concepts in the vocabulary space,

    M. Geva, A. Caciularu, K. Wang, and Y . Goldberg, “Transformer feed-forward layers build predictions by promoting concepts in the vocabulary space,” in Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, Y . Goldberg, Z. Kozareva, and Y . Zh...

  23. [31]

    Future lens: Anticipating subsequent tokens from a single hidden state,

    K. Pal, J. Sun, A. Yuan, B. Wallace, and D. Bau, “Future lens: Anticipating subsequent tokens from a single hidden state,” in Proceedings of the 27th Conference on Computational Natural Language Learning (CoNLL), J. Jiang, D. Reitter, and S. Deng, eds., pp. 548–560. Associatio...

  24. [32]

    Clustering in causal attention masking,

    N. Karagodin, Y . Polyanskiy, and P. Rigollet, “Clustering in causal attention masking,” inThe Thirty-eighth Annual Conference on Neural Information Processing Systems. 2024. https://openreview.net/forum?id=OiVxYf9trg

  25. [33]

    Measure-to-measure interpolation using transformers,

    B. Geshkovski, P. Rigollet, and D. Ruiz-Balet, “Measure-to-measure interpolation using transformers,” 2024. https://arxiv.org/abs/2411.04551

  26. [34]

    Dynamic metastability in the self-attention model,

    B. Geshkovski, H. Koubbi, Y . Polyanskiy, and P. Rigollet, “Dynamic metastability in the self-attention model,”

  27. [35]

    Goodfellow, Y

    I. Goodfellow, Y . Bengio, A. Courville, and Y . Bengio,Deep learning, vol. 1. MIT Press, 2016

  28. [36]

    Classification and geometry of general perceptual manifolds,

    S. Chung, D. D. Lee, and H. Sompolinsky, “Classification and geometry of general perceptual manifolds,” Physical Review X 8 no. 3, (2018) 031003

  29. [37]

    Separability and geometry of object manifolds in deep neural networks,

    U. Cohen, S. Chung, D. D. Lee, and H. Sompolinsky, “Separability and geometry of object manifolds in deep neural networks,” Nature communications 11 no. 1, (2020) 746. 13 A PREPRINT - JANUARY 22, 2025

  30. [38]

    Unsupervised detection of semantic correlations in big data,

    S. Acevedo, A. Rodriguez, and A. Laio, “Unsupervised detection of semantic correlations in big data,” 2024. https://arxiv.org/abs/2411.02126

  31. [39]

    Implicit geometry of next-token prediction: From language sparsity patterns to model representations,

    Y . Zhao, T. Behnia, V . Vakilian, and C. Thrampoulidis, “Implicit geometry of next-token prediction: From language sparsity patterns to model representations,” 2024. https://arxiv.org/abs/2408.15417

  32. [40]

    Intrinsic dimension estimation for robust detection of AI-generated texts,

    E. Tulchinskii, K. Kuznetsov, K. Laida, D. Cherniavskii, S. Nikolenko, E. Burnaev, S. Barannikov, and I. Piontkovskaya, “Intrinsic dimension estimation for robust detection of AI-generated texts,” inThirty-seventh Conference on Neural Information Processing Systems. 2023. http...

  33. [41]

    Estimating the intrinsic dimension of datasets by a minimal neighborhood information,

    E. Facco, M. d’Errico, A. Rodriguez, and A. Laio, “Estimating the intrinsic dimension of datasets by a minimal neighborhood information,” Scientific Reports 7 no. 1, (Sep, 2017) 12140

  34. [42]

    Distributional results for model-based intrinsic dimension estimators,

    F. Denti, D. Doimo, A. Laio, and A. Mira, “Distributional results for model-based intrinsic dimension estimators,” 2021. https://arxiv.org/abs/2104.13832

  35. [43]

    Hierarchical nucleation in deep neural networks,

    D. Doimo, A. Glielmo, A. Ansuini, and A. Laio, “Hierarchical nucleation in deep neural networks,” in Proceedings of the 34th International Conference on Neural Information Processing Systems, NIPS ’20. Curran Associates Inc., Red Hook, NY , USA, 2020

  36. [44]

    Introducing meta llama 3: The most capable openly available llm to date,

    Meta, “Introducing meta llama 3: The most capable openly available llm to date,” 2024. https://ai.meta.com/blog/meta-llama-3/

  37. [45]

    Mistral 7b,

    A. Q. Jiang, A. Sablayrolles, A. Mensch, C. Bamford, D. S. Chaplot, D. de las Casas, F. Bressand, G. Lengyel, G. Lample, L. Saulnier, L. R. Lavaud, M.-A. Lachaux, P. Stock, T. L. Scao, T. Lavril, T. Wang, T. Lacroix, and W. E. Sayed, “Mistral 7b,” 2023. https://arxiv.org/abs/2...

  38. [46]

    Pythia: a suite for analyzing large language models across training and scaling,

    S. Biderman, H. Schoelkopf, Q. Anthony, H. Bradley, K. O’Brien, E. Hallahan, M. A. Khan, S. Purohit, U. S. Prashanth, E. Raff, et al., “Pythia: a suite for analyzing large language models across training and scaling,” in Proceedings of the 40th International Conference on Mach...

  39. [47]

    The Pile: An 800GB dataset of diverse text for language modeling,

    L. Gao, S. Biderman, S. Black, L. Golding, T. Hoppe, C. Foster, J. Phang, H. He, A. Thite, N. Nabeshima, et al., “The Pile: An 800GB dataset of diverse text for language modeling,” arXiv preprint arXiv:2101.00027 (2020)

  40. [48]

    Pile-10k dataset,

    N. Nanda, “Pile-10k dataset,” 2022. https://huggingface.co/datasets/NeelNanda/pile-10k

  41. [49]

    How contextual are contextualized word representations? Comparing the geometry of BERT, ELMo, and GPT-2 embeddings,

    K. Ethayarajh, “How contextual are contextualized word representations? Comparing the geometry of BERT, ELMo, and GPT-2 embeddings,” in Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural ...

  42. [50]

    Mind the gap: Understanding the modality gap in multi-modal contrastive representation learning,

    V . W. Liang, Y . Zhang, Y . Kwon, S. Yeung, and J. Y . Zou, “Mind the gap: Understanding the modality gap in multi-modal contrastive representation learning,” Advances in Neural Information Processing Systems 35 (2022) 17612–17625

  43. [51]

    Abid: Angle based intrinsic dimensionality,

    E. Thordsen and E. Schubert, “Abid: Angle based intrinsic dimensionality,” in Similarity Search and Applications: 13th International Conference, SISAP 2020, Copenhagen, Denmark, September 30 – October 2, 2020, Proceedings, p. 218–232. Springer-Verlag, Berlin, Heidelberg, 2020....

  44. [52]

    Estimating functions of probability distributions from a finite set of samples,

    D. H. Wolpert and D. R. Wolf, “Estimating functions of probability distributions from a finite set of samples,” Phys. Rev. E 52 (Dec, 1995) 6841–6854. https://link.aps.org/doi/10.1103/PhysRevE.52.6841

  45. [53]

    Entropy and inference, revisited,

    I. Nemenman, F. Shafee, and W. Bialek, “Entropy and inference, revisited,” in Proceedings of the 15th International Conference on Neural Information Processing Systems: Natural and Synthetic, NIPS’01, p. 471–478. MIT Press, Cambridge, MA, USA, 2001

  46. [54]

    On the harmonic number (hn) upper and lower

    M. V . (https://math.stackexchange.com/users/218419/mark viola), “On the harmonic number (hn) upper and lower ”classical” bounds: which of those is closest to hn?” Mathematics stack exchange. https://math.stackexchange.com/q/2534095. URL:https://math.stackexchange.com/q/253409...

  47. [55]

    The developmental landscape of in-context learning,

    J. Hoogland, G. Wang, M. Farrugia-Roberts, L. Carroll, S. Wei, and D. Murfet, “The developmental landscape of in-context learning,” 2024. https://arxiv.org/abs/2402.02364. 14 A PREPRINT - JANUARY 22, 2025

  48. [56]

    The shape of learning: Anisotropy and intrinsic dimensions in transformer-based models,

    A. Razzhigaev, M. Mikhalchuk, E. Goncharova, I. Oseledets, D. Dimitrov, and A. Kuznetsov, “The shape of learning: Anisotropy and intrinsic dimensions in transformer-based models,” in Findings of the Association for Computational Linguistics: EACL 2024, Y . Graham and M. Purver...

  49. [57]

    Evidence from fmri supports a two-phase abstraction process in language models,

    R. Antonello and E. Cheng, “Evidence from fmri supports a two-phase abstraction process in language models,” in UniReps: 2nd Edition of the Workshop on Unifying Representations in Neural Models

  50. [58]

    Lines of thought in large language models,

    R. Sarfati, T. J. B. Liu, N. Boull ´e, and C. J. Earls, “Lines of thought in large language models,” 2024. https://arxiv.org/abs/2410.01545

  51. [59]

    Low bias local intrinsic dimension estimation from expected simplex skewness,

    K. Johnsson, C. Soneson, and M. Fontes, “Low bias local intrinsic dimension estimation from expected simplex skewness,” IEEE transactions on pattern analysis and machine intelligence 37 no. 1, (Jan, 2015) 196–202. 15 A PREPRINT - JANUARY 22, 2025 A Consistency Checks for the S...

  52. [2024]

    https://arxiv.org/abs/2410.06833

Pith tools

Reviewed August 10, 2026 · model on record in the stance chip above.