TRANSMISSION // 2608.03015v2

What Numerical Patterns Look Like Inside Language Models

Source published

A graph signal processing study examines how numerical sequence complexity relates to attention graphs and hidden states in language models.

AI-generated conceptual illustration for What Numerical Patterns Look Like Inside Language Models
AI-generated conceptual illustration; not documentary evidence.

Language models can infer patterns from numerical sequences written as text, but their answers reveal only part of what happens inside. An arXiv preprint uses graph signal processing to examine internal patterns associated with this ability.

Looking beyond the answer

Large language models can make numerical inferences from sequences presented as text, a capability known as in-context learning. Such evaluations can focus on the model’s output; they do not, by themselves, show how numerical information is organized inside the model. In this preprint, Jiajun Bao and colleagues investigate that internal organization using a graph-based approach.

Treating attention as a graph

The researchers view attention as inducing a weighted graph over tokens. In this picture, tokens are nodes and attention defines their connections. The model’s hidden state for each token is treated as a signal on the graph. The authors use quantitative graph-spectral diagnostics and token-graph visualizations to examine how these structures relate to input dynamical complexity and context length.

The evidence available for this account is the paper’s abstract, which does not specify the models, datasets, tasks, or detailed procedures. Those details—and the scope of the comparisons—cannot be evaluated here.

Complexity and context are associated with different patterns

The authors report that representations become more clearly differentiated by input dynamical complexity as context length increases. For simpler inputs, attention-induced token graphs show stronger global connectivity. Their hidden-state signals are smoother and more concentrated in the graph spectrum.

For more complex inputs, the graphs are described as more localized, while hidden-state signals have broader spectral support and greater high-frequency energy. Put simply, the reported diagnostics associate differences in sequence dynamics with differences in both graph connectivity and the distribution of signals across the graph’s frequencies.

The authors also report that these patterns are qualitatively conserved across model families. The abstract does not name the families or explain how broadly they were compared, so this finding should not be taken as establishing generality across all language models.

What the findings can tell us

The approach offers a way to examine internal structure associated with numerical in-context learning, beyond looking only at model outputs. The abstract describes associations between input complexity, context length, graph structure, and hidden-state signals. It does not establish that these graph properties cause better predictions, or explain the mechanisms behind numerical inference. Those questions are beyond what the abstract’s reported findings can establish.

The abstract also does not provide effect sizes or enough methodological detail to assess the robustness of the patterns, or how they relate to prediction accuracy. This account is therefore limited to the authors’ summary rather than a full assessment of the paper. The work is an arXiv preprint; the available source does not establish whether it has undergone peer review.

Reviewed cross-references

These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.

  • Few-shot examples may help tested LLMs use world representations

    Supporting evidence: Both papers report that in-context conditions are associated with changes in hidden-state representations: the numerical-sequence study reports complexity-related graph and signal patterns that become clearer with longer contexts, while the graph-tracking study reports that few-shot demonstrations shift a probed world representation and increase its predictive use. This supports the bounded point that context can shape internal representations, not that the representations or mechanisms are the same; the tasks and analyses differ.

    Model review: · openai-codex/gpt-6-luna

    Evidence and provenance

    Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.

    • 2608.03015v2 — Original paper

      Excerpt reference: content/articles/2608.03015v2.md#extra.abstract
      Basis: Abstract only; full paper text was not used for this evidence
      Source SHA-256: 489a08bcf81df48de999d3e50b1cea086fc50bb0b00e0a2fef3f396700455ab8

    • 2609.24352v2 — Original paper

      Excerpt reference: content/articles/2609.24352v2.md#extra.abstract
      Basis: Abstract only; full paper text was not used for this evidence
      Source SHA-256: f52a8d2e82e3173d370987c296599f69ae04aa3badd6a0c3580e00c6ee731aa9

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.