atlas

Research map / Large language models / Language, safety and interpretability

Language Models Are Implicitly Continuous

ICLR 2025 · Large language models › Language, safety and interpretability · approach: Linguistic encoding in LLM representations · 0 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Extends causal Transformers to continuous time (stepwise-constant token durations) and continuous embedding space, showing pretrained LLMs respond smoothly to duration changes and embedding interpolations without weight changes.

Problem

Language is modelled as discrete token sequences, yet LLMs are continuous smooth function approximators; the paper asks whether pretrained LLMs implicitly treat language as continuous in time and space.

Approach

Generalise causal attention to a Continuous Causal Transformer by replacing the sum over positions with an integral over a stepwise-constant input, so token durations and interpolated embeddings can be fed to unmodified pretrained LLMs via floating-point positions and custom attention masks.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Vary the duration of repeated tokensPretrained LLMs · Single-token countingNormalised peak frequency: 0.2600 -> 0.7404Helped
Vary the duration of tutorial stepsPretrained LLMs · Event countingNormalised peak frequency: 0.2186 -> 0.6706Helped
Shrink the duration of a number in a two-digit sumPretrained LLMs · Two-digit sumsP1 frequency: 87.82%Helped
Shrink the duration of a number in a two-digit sumPretrained LLMs · Two-digit sumsP2 frequency: 86.97%Helped
Shrink the duration of a number in a two-digit sumPretrained LLMs · Two-digit sumsP3 frequency: 79.05%Helped
Interpolate between the embeddings of apples and bananasLlama 3 8B and other pretrained LLMs · Spatial interpolation: "Are [interpolation] red?"Output transition between yes and noMixed
Interpolate between the embeddings of apples and bananasLlama 3 8B and other pretrained LLMs · Spatial interpolation: "Are [interpolation] fruits?"Fruit classificationNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: 200 word-counting sentences (synthetic template) sequential how-to tutorial dataset (200 tutorials) 100 sum word problems (synthetic)

Metrics: normalised peak frequency average ratio of observed to counterfactual peaks valid ratio P1/P2/P3 property frequencies

Builds on: Transformer Neural ODE

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy