Representational Capacity: Geometric Limits on Feature Representation in Transformer Language Models
This paper proposes a framework for estimating the representational capacity of transformer language models by analyzing the geometric limits of near-orthogonal feature directions, revealing that capacity is exponentially sensitive to orthogonality constraints and introducing an adjusted formula that significantly improves prediction accuracy over traditional bounds.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
The Big Question: How Many Things Can a Brain Hold?
Imagine you have a giant, empty warehouse (this is the AI model's "brain" or latent space). The size of the warehouse is determined by its dimensions ().
For a long time, people thought: "If I have a warehouse with 4,000 shelves, I can only store 4,000 distinct items." If one item is "Cat" and another is "Dog," they would need to be on completely different, non-touching shelves.
But this paper argues that AI models are much smarter. They use a trick called Superposition. Instead of putting "Cat" on one shelf and "Dog" on another, they arrange them so they are almost on different shelves, but slightly overlapping. It's like stacking books in a library so tightly that they lean against each other, yet you can still tell them apart.
The paper asks: How many items can we actually stack in this warehouse before they start crashing into each other and becoming a mess?
The Key Discovery: The "Leaning" Limit
The authors found that for these "leaning" items to work, they can't lean too much. They have to be nearly straight up and down (orthogonal). If they lean too far, the AI gets confused.
They measured this "leaning" limit, which they call (epsilon).
- Low (Strict): The items are standing almost perfectly straight. They can pack a huge number of items in, but they have to be very careful not to bump.
- High (Loose): The items are leaning all over the place. They can't pack many items without them crashing.
The Surprise: The researchers looked at dozens of AI models and found they fall into two distinct groups:
- The "Messy" Group: These models have high . Their "books" are leaning so much they aren't really using the superposition trick effectively.
- The "Organized" Group: These models have very low . They keep their "books" standing almost perfectly straight, allowing them to pack millions of concepts into a small space.
The Old Math Was Wrong
Previously, scientists used a famous math rule (the Johnson-Lindenstrauss lemma) to guess how many items could fit. This rule was based on how random items behave if you just throw them into a room.
The paper says: "This math is totally wrong for trained AI."
- The Old Math: Predicted that a model with a 4,000-shelf warehouse could only hold about 8 to 300 distinct items.
- The Reality: That same model holds 32,000 words (its vocabulary) plus millions of other concepts.
The old math failed because it assumed the items were placed randomly. But AI models are trained to be optimizers. They don't just throw items in; they carefully arrange them to fit as many as possible, like a master Tetris player.
The New Formula: It's About the Ratio
The authors created a new formula to fix the math. They found that the number of things you can fit doesn't just depend on the number of items, but on the ratio of items to the size of the warehouse.
Think of it like this:
- If you have a small room, you can only fit a few people standing close together.
- If you have a huge stadium, you can fit a massive crowd, but the density (people per square foot) matters more than the total count.
Their new formula shows that trained models can pack orders of magnitude more items than the old random math predicted.
The Trade-Off: Stability vs. Capacity
Here is the most interesting finding about bigger models (the ones with more "shelves"):
You might think bigger models would try to pack in as many items as possible by letting them lean a little more (increasing ). But the paper found the opposite.
Bigger models actually stand straighter.
They choose to keep their items very strictly separated (low ) even though this technically reduces the total number of items they could fit.
- Why? The authors suggest it's a trade-off between Capacity (how many things you can store) and Stability (how reliably you can find them).
- If you lean too much, you might store more things, but you risk them crashing into each other when the AI tries to use them. Bigger models seem to prioritize not crashing over maximizing storage.
Summary in a Nutshell
- The Warehouse: AI models store concepts as directions in a multi-dimensional space.
- The Trick: They pack these concepts by making them "near-orthogonal" (almost straight up, but slightly leaning).
- The Limit: There is a strict limit to how much they can lean before they get confused. This limit is called .
- The Classes: Some models are messy (high ), but the best ones are very organized (low ).
- The Math Fix: Old math said they could only hold a few things. New math (based on how they actually train) says they can hold millions.
- The Lesson: As models get bigger, they don't try to pack the warehouse to the brim. Instead, they keep things very neatly organized to ensure they don't get confused, valuing stability over raw capacity.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.