NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Representations as Language: An Information-Theoretic Framework for Interpretability

Henry Conklin, Kenny SmitharXiv 2024 · DOI

Introduction

Neural models are often criticized as "black boxes." While they excel at inducing high-dimensional vector representations, the internal structure of these spaces remains poorly understood. This paper proposes a framework that treats the mapping between input and internal representations as a "language," allowing for the application of information-theoretic measures to quantify interpretability and track the emergence of structure during training.

The Information-Theoretic Framework

The core innovation lies in discretizing the continuous vector space of hidden representations. By binning each dimension into discrete symbols, the authors can calculate entropy-based metrics that describe the model's internal language. This approach moves beyond traditional "probing" techniques by quantifying the inherent system-level structure of the representational space itself.

Conceptual framework for measuring representational structure through information-theoretic quantities.

The framework identifies four primary quantities:

  1. Information (Compression): The extent to which the model utilizes its representational space. Lower entropy indicates higher compression.
  2. Variation: The diversity of representations for a specific label (e.g., a token or POS tag) across different contexts.
  3. Regularity: The predictability of a representation given a label (the inverse of variation).
  4. Disentanglement: The degree to which different labels occupy distinct, well-separated regions of the vector space.

Training Dynamics: The Two-Phase Trajectory

By tracking these metrics throughout training on semantic parsing tasks like SLOG and CFQ-MCD, a distinct two-phase learning trajectory emerges. This macro-structure reveals that learning task-specific patterns and developing robust representations are separate processes.

Evolution of representational metrics over training, distinguishing between in-distribution learning (Phase 1) and robustness to noise (Phase 2).

Phase 1: In-Distribution Learning

In the initial stages of training (up to approximately $10^2$ steps), models rapidly learn to disentangle tokens and align them with linguistic features like parts of speech. During this phase, higher token disentanglement and regularity correlate strongly with the sharpest drops in training loss ($p < 0.001$).

Phase 2: Robustness to Noise

Long after training loss plateaus, the model enters a second phase characterized by "contextualization and compression." Here, the model aggressively compresses its representations, making them more resilient to the noisy updates that occur late in training. Crucially, out-of-distribution (OOD) generalization performance only begins to improve during this phase, suggesting that simple task mastery is insufficient for true generalization.

Scale and the "Morse Code" Analogy

A key finding is that larger models achieve better generalization by compressing their representations more significantly per dimension than smaller models. The authors liken this to Morse code: a longer signal (more dimensions) allows for a simpler, more compressed "alphabet" (clustered values), which is inherently more robust to noise than a complex signal packed into fewer dimensions. Models exhibiting higher "bigram regularity" at the end of training show a strong correlation with OOD generalization ($r = 0.61$).

Conclusion

This framework provides a quantitative lens for observing the emergence of structure in neural representations. It demonstrates that true generalization is a "late bloomer," occurring during a compression phase that follows initial task mastery. While current entropy estimators assume dimension-wise independence, this work sets the stage for deeper analysis of large-scale foundation models and their internal linguistic structures.

Summary updated

BibTeX
@misc{conklin2024representations,
  author = {Henry Conklin and Kenny Smith},
  title = {{Representations as Language: An Information-Theoretic Framework for Interpretability}},
  year = {2024},
  eprint = {2406.02449},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.02449},
}
Figure