Invariant Atoms: Sparse Coordinates of Local Semantic Geometry in Language Model Representations

Muhammad Ahtesham, Xin Zhong
9/29/2026
cs.LGcs.CL

No confident code implementation found for this paper.

Abstract

Large language models often preserve meaning despite substantial changes in wording, style, and syntax, while small semantic edits can systematically alter their hidden representations. This suggests that semantic variation may be organized along recurring local directions.

Show full abstract

We propose the Invariant Atom Hypothesis: local semantic motion admits preferred sparse coordinates along directions that remain stable under meaning-preserving transformations. We learn a shared semantic frame and sparse coordinates that reconstruct semantic displacements while suppressing nuisance variation, with anchor-dependent diagonal modulation adjusting atom strengths without sample-specific rotations. Empirically, the atoms exhibit strong semantic--nuisance separation, sparse reconstruction, reproducible directions, and causal effects on model predictions. The learned geometry generalizes to unseen semantic neighborhoods and nuisance families, while local reweighting improves semantic selectivity and preserves a consistent global-to-local structure. Atom signatures also remain stable under model modification. These findings support reusable invariant directions as a sparse coordinate system for local semantic geometry in language models.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ahtesham2026invariant,
  title  = {Invariant Atoms: Sparse Coordinates of Local Semantic Geometry in Language Model Representations},
  author = {Muhammad Ahtesham and Xin Zhong},
  year   = {2026},
  eprint = {2609.36451},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.36451v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2609.36451.svg)](https://codeofpaper.com/paper/2609.36451)

Discussion