arXiv AI By Gurbir Arora, Toni J. B. Liu, Jiajun Bao, Rapha\"el Sarfati, Christopher J. Earls

Causal and Interpretable Structures in LLM Compositional Tasks

Read the original on arXiv AI →

The paper investigates how large language models encode and use relational information among tokens across transformer layers. By analyzing activations from prompts that require inferring relationships among three cyclic tokens (months, hours, weekdays, musical notes), the authors find a consistent layerwise progression: intermediate layers capture pairwise relationships, while later layers encode the full three‑token relationship to predict the next token. They also identify geometrically structured token relationships that do not influence prediction, and show that constraining models to use only causally relevant joint representations improves next‑token accuracy.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv AI.

arXiv Computation and Language
Nov 11

Stagewise and interpretable emergence of inside-outside computation in Transformer-based language models

The paper investigates how Transformer-based language models learn inside‑outside parsing algorithms by training on synthetic context‑free grammars with variable parse tree topologies. It shows that the learning process unfolds in clear, analytically tractable stages, each linked to the representation of a hidden latent tree variable that resolves ambiguity and leverages broader context. Probing the model’s representations reveals a gradual emergence of inside‑outside computation: early layers capture local bigram/trigram patterns, while deeper layers develop an encoder‑decoder structure that encodes abstract latent information in the middle and refines token predictions in the later layers, mirroring patterns seen in real‑world LLMs.

By Jack T. Parley
arXiv Machine Learning
Oct 7

A theory of platonic representations in language models

arXiv:2610.07168v1 Announce Type: new Abstract: Representations of translated sentences are similar in the inner layers of multilingual language models -- an observation connected to the platonic rep...

By Darshil Doshi, Wenjie Zhou, Corinna Elena Wegner, Daniel J. Korchinski, Santiago Acevedo, Matthieu Wyart