# GEM: Interpretable Language Models via Geometric Embedding Alignment

*Dimitrios Tsaras, Yankun Hong, Lei Chen, Zhiyao Xie, Mingxuan Yuan*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/148804) · [OpenReview](https://openreview.net/forum?id=v0zubhBiC2) · [Open on the map](../papers.html#p148804)

Category: [Interpretability & Model Adaptation](../pcat/15.md) › [Language Model Interpretability](../pgroup/624.md) · Type: new method · Keywords: geometric embedding alignment, language model interpretability, predictive uncertainty, representation anisotropy, self-supervised regularization

Areas: [Interpretability](../areas/interpretability.md) › Mechanistic Interpretability › Mechanistic Interpretability

## Summary
GEM aligns transformer hidden states with vocabulary geometry via a self-supervised regularization, improving predictive uncertainty and enabling native interpretability.

## Explained to a 5-year-old
Big computers learn to understand words by reading lots of text. They keep secret thoughts inside, called hidden states. These thoughts are not easy to see or understand. The new idea makes those thoughts look like the words themselves. It does this by mixing the words together in a special way.

## Explained to a 5-year-old, longer
Big computers learn to understand words by reading lots of text. They keep secret thoughts inside, called hidden states. These thoughts are not easy to see or understand. The new idea makes those thoughts look like the words themselves. It does this by mixing the words together in a special way. This helps the computer guess the next word more accurately. It also makes the computer's guesses more honest when it is unsure. Because the thoughts are now similar to the words, we can see what the computer is thinking without extra tools. This makes the computer easier to trust. It also helps us understand how the computer decides things. All of this makes the computer smarter and more open.

## For a technical reader
The authors add a regularization term during pre-training that encourages the transformer’s final hidden representation to be close to a weighted average of the token embeddings. This pulls the hidden states into the convex hull of the vocabulary, reducing representation anisotropy and improving calibrated uncertainty. As a result, the model achieves lower perplexity on standard benchmarks and provides directly interpretable hidden states without extra probing tools. The technique also enables better causal faithfulness when using the model’s existing output head. Overall, the method yields a more transparent and reliable language model.

## Problem
Large language models produce hidden representations that are opaque and not aligned with the geometry of the vocabulary, making them hard to interpret and uncertain.

## Method
The approach regularizes pre-training by encouraging the final hidden state to approximate a probability-weighted mixture of token embeddings, effectively minimizing free energy and pulling representations into the convex hull of the vocabulary.

## Results
The approach reduces perplexity by up to 53% on benchmarks and improves representation isotropy, enabling direct layer-wise decoding and better causal faithfulness.

## Contributions
It introduces a geometric regularization that aligns hidden states with vocabulary embeddings, improves predictive uncertainty, mitigates anisotropy, and provides native interpretability without auxiliary probes.

## Practical relevance
This makes language models more transparent and trustworthy for applications requiring reliable uncertainty estimates and interpretability.

## Research questions this paper is counted under

- [How do internal representations in language models encode and express capabilities during training and inference?](../q/28.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/148804)
