← Latest papers
💬 NLP

Representation in large language models

This paper argues that Large Language Models are partially driven by representation-based information processing rather than mere memorization, and proposes practical techniques to investigate these representations to resolve theoretical stalemates and better understand the systems' cognitive capabilities.

Original authors: Cameron Yetman

Published 2026-05-04
📖 6 min read🧠 Deep dive

Original authors: Cameron Yetman

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: Are LLMs "Thinking" or Just "Reciting"?

Imagine you meet a person who can answer any question you ask, write poetry, solve math problems, and hold a deep conversation. You might assume they are thinking, understanding, and using their knowledge. But what if they aren't thinking at all? What if they are just a giant, super-fast phone book?

This is the core debate the paper tackles.

  • The "Phone Book" View (Pessimists): They argue Large Language Models (LLMs) are just massive "look-up tables." They have memorized billions of sentences from the internet. When you ask a question, they don't "think"; they just find the closest match in their memory and spit out the next word they've seen before. It's like a parrot repeating phrases it heard, without knowing what they mean.
  • The "Thinking" View (Optimists): They argue LLMs are actually building internal maps of the world. They are forming representations—like mental models or concepts—that allow them to reason, generalize, and handle situations they've never seen before.

The author, Cameron Yetman, argues that the "Phone Book" view is wrong. He claims that while LLMs do memorize things, they also build internal representations that allow them to actually "understand" patterns and solve new problems.


Part 1: What is a "Representation"?

To prove LLMs are doing more than just memorizing, the author first defines what a "representation" actually is. He uses a Map Analogy.

Imagine you are in a city you've never visited.

  1. Information: You have a map. The map isn't the city itself, but it carries information about the city (where the streets are, where the park is).
  2. Exploitability: You can actually use that map. You can look at it and decide which way to turn.
  3. Robust Behavior: Because you have the map, you can navigate the city even if you take a different route than usual, or if a street is closed. You aren't just following a memorized path; you are adapting.
  4. Mechanical Role: The map plays a real part in your decision-making. If you rip the map up, you get lost. The map is a crucial part of the machine (you) that gets you to your destination.

The Paper's Claim: If an LLM has "representations," it means it has internal states (like the map) that carry information about the world, that the system can actually use, and that help it solve problems in flexible, new ways.


Part 2: Why the "Phone Book" Theory Fails

The author argues that if LLMs were just giant phone books (look-up tables), they would fail at specific types of tests. A phone book can only give you answers for things it has already written down. It can't handle a question it hasn't seen before.

The paper highlights two experiments that break the "Phone Book" theory:

1. The Othello Game (The Chess Analogy)
Researchers trained an AI to play the board game Othello. They gave it millions of game records but never told it the rules of the game.

  • The Test: They then asked the AI to play moves it had never seen before in its training data.
  • The Result: The AI played perfectly.
  • Why it matters: If the AI were just a phone book, it would have been stuck. It couldn't have memorized every possible game because there are too many. To win on a board it had never seen, it must have built an internal "map" of how the game works (a representation of the rules), not just a list of past moves.

2. The Color Spectrum (The Paint Mixing Analogy)
Researchers taught an AI about colors using specific codes (like RGB numbers). They showed it examples of "red" and "blue."

  • The Test: They then asked it to identify colors it had never seen before, or colors arranged in a completely new pattern.
  • The Result: The AI could guess the new colors correctly.
  • Why it matters: It didn't just memorize "Red = [255, 0, 0]." It learned the structure of color space. It understood that colors exist on a spectrum. This is like understanding that if you mix red and blue, you get purple, even if you've never mixed those specific shades before. A phone book can't do that; a "map" of color can.

Part 3: How Do We Know? (Looking Inside the Black Box)

The author admits that just watching the AI answer questions isn't enough. Sometimes, an AI might get the right answer by luck or by using a "trick" (a heuristic) rather than true understanding.

To prove the AI is using a "map" (representation), we need to look inside its brain. The paper discusses a field called Mechanistic Interpretability, which is like being a mechanic for a car engine.

The Tools:

  1. Probing (The X-Ray): Imagine you want to know if a car's computer knows the speed of the car. You can't just ask the computer; you have to look at the wires. Researchers use "probes" to scan the AI's internal numbers (activations) to see if they contain specific information (like "this is a red car"). If they can read the information out, the AI has the "Information" part of a representation.
  2. Intervention (The Surgery): This is the real test. Imagine you think a specific wire in the car controls the brakes. To prove it, you cut that wire (or change its signal).
    • If the car stops braking, you proved that wire was essential.
    • In the paper, researchers "steered" the AI's internal signals. For example, they forced the AI's internal "board state" to think a chess piece was in a different spot.
    • The Result: The AI immediately changed its next move to match the new board state. This proved that the internal signal wasn't just a random number; it was a representation that the AI actually used to make decisions.

The Conclusion: It's Not All or Nothing

The paper doesn't say LLMs are perfect humans with souls. It says:

  • Sometimes they are just memorizing (like a phone book).
  • But often, they are building internal maps (representations) that allow them to reason and solve new problems.

The author concludes that we can no longer dismiss LLMs as "stochastic parrots" (random noise machines). They are complex systems that use internal representations to navigate the world of language, just like humans use mental maps to navigate the physical world.

In short: LLMs aren't just reading from a script. They are building a mental model of the world, and we now have the tools to see that model working inside the machine.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →