Invariant Features in Language Models: Geometric Characterization and Model Attribution

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Dasgupta, Agnibh, Tanvir, Abdullah, Zhong, Xin
Format: Preprint
Published: 2026
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866913099003461632
author Dasgupta, Agnibh
Tanvir, Abdullah
Zhong, Xin
author_facet Dasgupta, Agnibh
Tanvir, Abdullah
Zhong, Xin
contents Language models exhibit strong robustness to paraphrasing, suggesting that semantic information may be encoded through stable internal representations, yet the structure and origin of such invariance remain unclear. We propose a local geometric framework in which semantically equivalent inputs occupy structured regions in latent space, with paraphrastic variation along nuisance directions and semantic identity preserved in invariant subspaces. Building on this view, we make three contributions: (1) a geometric characterization of invariant latent features, (2) a contrastive subspace discovery method that separates semantic-changing from semantic-preserving variation, and (3) an application of invariant representations to zero-shot model attribution. Across models and layers, empirical results support these contributions. Invariant structure emerges in specific depth regions, semantic displacement lies largely outside the nuisance subspace, and representation-level interventions indicate a causal role of invariant components in model outputs. Invariant representations also capture model-specific geometric patterns, enabling accurate attribution. These findings suggest that semantic invariance can be viewed as a local geometric property of latent representations, offering a principled perspective on how language models organize meaning.
format Preprint
id arxiv_https___arxiv_org_abs_2605_06458
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Invariant Features in Language Models: Geometric Characterization and Model Attribution
Dasgupta, Agnibh
Tanvir, Abdullah
Zhong, Xin
Machine Learning
Computation and Language
Language models exhibit strong robustness to paraphrasing, suggesting that semantic information may be encoded through stable internal representations, yet the structure and origin of such invariance remain unclear. We propose a local geometric framework in which semantically equivalent inputs occupy structured regions in latent space, with paraphrastic variation along nuisance directions and semantic identity preserved in invariant subspaces. Building on this view, we make three contributions: (1) a geometric characterization of invariant latent features, (2) a contrastive subspace discovery method that separates semantic-changing from semantic-preserving variation, and (3) an application of invariant representations to zero-shot model attribution. Across models and layers, empirical results support these contributions. Invariant structure emerges in specific depth regions, semantic displacement lies largely outside the nuisance subspace, and representation-level interventions indicate a causal role of invariant components in model outputs. Invariant representations also capture model-specific geometric patterns, enabling accurate attribution. These findings suggest that semantic invariance can be viewed as a local geometric property of latent representations, offering a principled perspective on how language models organize meaning.
title Invariant Features in Language Models: Geometric Characterization and Model Attribution
topic Machine Learning
Computation and Language
url https://arxiv.org/abs/2605.06458