# Language Models Are Implicitly Continuous

- **ID:** 553
- **Kind:** paper
- **URL:** https://arxiv.org/abs/2504.03933
- **Authors:** Samuele Marro, Davide Evangelista, X. Angelo Huang, Emanuele La Malfa, Michele Lombardi, Michael Wooldridge
- **Venue:** arXiv / University of Oxford / University of Bologna / ETH Zurich
- **Published:** 2025
- **Tags:** continuous-llm, token-duration, embedding-interpolation, iclr, oxford, interpretability, cct
- **Topics:** interpretability, continuous representations, Transformer theory
- **Added:** 2026-10-01
- **Research status:** done
- **Page:** https://papers.projxon.ai/entries/553

## Summary

Defines a Continuous Causal Transformer (integral attention) that recovers discrete Transformers at unit duration. On Llama2/3, Phi-3, Gemma 1/2, and Mistral, shrinking token or sentence duration smoothly changes counts (about 190–205% more unique numeric peaks than a discrete model would allow). Linear interpolations of embeddings (apples–bananas) are treated as valid concepts (color, fruit-ness) even when they map to no vocabulary token. Shift-invariant, not scale-invariant. Published at ICLR 2025. Code https://github.com/samuelemarro/continuous-llm-experiments.

## Attributes

- **Purpose:** Show pretrained decoder LLMs already behave as continuous-time/space functions over token duration and embeddings
- **Scale:** Llama2-13B-Chat, Llama3-8B, Phi-3-Medium, Gemma-1-7B, Gemma-2-9B, Mistral-7B; 200 word-count prompts; 200 tutorial-step counts; 100 two-digit sums; 50 object-pair interpolations
- **Time period:** 2025-04-04 (arXiv 2504.03933 v1). Published at ICLR 2025. HF paper publishedAt 2025-04-04.

## From the source (fetched 2026-10-03)

- **Published:** Apr 4, 2025 (arXiv)
- **arXiv categories:** cs.CL, cs.LG (arXiv)
- **Author comment:** Published at ICLR 2025 (arXiv)
- **Citations:** 5 (Semantic Scholar)
- **References:** 56 (Semantic Scholar)
- **Published in:** International Conference on Learning Representations (Semantic Scholar)

## Abstract

Language is typically modelled with discrete sequences. However, the most successful approaches to language modelling, namely neural networks, are continuous and smooth function approximators. In this work, we show that Transformer-based language models implicitly learn to represent sentences as continuous-time functions defined over a continuous input space. This phenomenon occurs in most state-of-the-art Large Language Models (LLMs), including Llama2, Llama3, Phi3, Gemma, Gemma2, and Mistral, and suggests that LLMs reason about language in ways that fundamentally differ from humans. Our work formally extends Transformers to capture the nuances of time and space continuity in both input and output space. Our results challenge the traditional interpretation of how LLMs understand language, with several linguistic and engineering implications.

## Research notes

- Primary: arxiv abs (cs.CL; also cs.LG). License not stated on abs/HTML at check. Comment: Published at ICLR 2025. Oxford / Bologna / ETH Zurich. Correspondence samuele.marro@eng.ox.ac.uk. Code https://github.com/samuelemarro/continuous-llm-experiments (18 stars at check). HF paper page 3 upvotes; githubRepo linked; no linked models/datasets. Discord posted abs. Prompt experiments only; no new corpus, so no datasets_local row. License field left blank per catalog convention.

## Similar entries

- [Verbalizable Representations Form a Global Workspace in Language Models](https://papers.projxon.ai/entries/1093) (paper, #1093)
- [Natural Language Autoencoders Produce Unsupervised Explanations of LLM Activations](https://papers.projxon.ai/entries/615) (paper, #615)
- [Shared Circuits for Shared Grammar: Tracing Subject-Verb Agreement Across Languages](https://papers.projxon.ai/entries/1247) (paper, #1247)
- [Predictive Data Debugging: Reveal and Shape What Your Model Learns, Before You Train](https://papers.projxon.ai/entries/1101) (post, #1101)
- [Capability Provenance in Language Models: A Case Study in Social Reasoning](https://papers.projxon.ai/entries/693) (paper, #693)
- [Inducing language models to assert their own consciousness restores human beliefs and values](https://papers.projxon.ai/entries/464) (paper, #464)
