← Latest papers
🤖 machine learning

Context Is King: How In-Context Specification Shapes the Geometry of Concepts

This paper demonstrates that the geometric structure of concepts in large language models is dynamically determined by in-context specifications rather than fixed pretrained priors, with the ability to cleanly override these priors and causally utilize the imposed geometry emerging only in larger models.

Original authors: Elad David, Max Fomin

Published 2026-07-28
📖 6 min read🧠 Deep dive

Original authors: Elad David, Max Fomin

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

Imagine you are trying to understand how a giant, super-smart robot thinks. For a long time, scientists believed that inside this robot's brain, there was a giant, unchanging library of facts. If you asked about the days of the week, the robot would pull out a pre-made, perfect circle from its shelves where Monday always sits next to Tuesday. If you asked about months, it would pull out a different circle. This idea suggested that the robot's brain was like a static map, fixed forever once it was built, waiting to be looked up whenever a question was asked.

But what if that library isn't as rigid as we thought? What if the robot doesn't just look up a map, but actually draws a new one every time you talk to it, based on exactly what you just said? This is the big question scientists are asking about "Large Language Models" (the fancy name for these giant AI robots). They want to know: Is the robot's understanding of the world a permanent, stored fact, or is it a flexible shape that changes depending on the conversation? Understanding this helps us figure out if these robots truly "know" things or if they are just incredibly good at following the rules of the moment.


The Paper's Big Discovery: The "Context is King" Rule

A team of researchers at Zenity decided to test this idea with a fun, slightly mischievous experiment. They asked a simple question: If you tell a robot a completely made-up rule about how the world works, will it believe you, or will it stick to what it learned before?

They took models like Gemma and Qwen (which are like very advanced versions of the robots mentioned above) and gave them a "redefined" calendar. Imagine telling the robot: "Hey, forget everything you know. In this new world, the only valid order of the days is Wednesday, then Monday, then Friday." They didn't give the robot any examples to learn from; they just stated the rule as a fact.

The Shocking Result: The robot didn't just pretend to follow the rule; it actually rewired its brain to match it.

When the researchers looked inside the robot's "mind" (specifically, the mathematical patterns it creates right before it answers), they found something amazing. The robot didn't just say the words "Wednesday, Monday, Friday." It actually arranged the concepts of those days into a brand-new shape in its brain that matched the new rule.

  • The Old View: The robot has a fixed circle of days.
  • The New View: The robot draws a new shape on the spot. If you tell it the days are in a circle, they form a circle. If you tell them they are in a straight line, they form a line. If you tell them they are a family tree, they become a tree.

The paper calls this "Context is King." The most important thing isn't what the robot learned in the past (its "pretrained prior"); it's what you tell it right now (the "in-context specification"). The robot's brain is so flexible that when you give it a strong new rule, the new shape it builds dominates the old stored structure. The old map doesn't disappear forever; it's still real and stored in the weights, but the moment the context contradicts it, the robot switches to using the new, context-defined map.

How They Proved It (The "Magic Trick")

To make sure the robot wasn't just bluffing, the researchers did a "causal patching" experiment. This is like a magic trick where you swap the brain of one character with another to see what happens.

  1. They told the robot the new, weird order of the days.
  2. They took the "brain signal" for the day "Monday" and swapped it with the signal for "Wednesday."
  3. They asked the robot, "What comes after Monday?"

If the robot was just looking up a stored list, it would have gotten confused or given the wrong answer. But because the robot had built a new map based on your rule, it answered based on the new map. It said the day after "Monday" was whatever the new rule said came after "Monday," even though "Monday" was now acting like "Wednesday." This proved that the robot was actually using the new shape it just built, not just reciting old facts.

The Catch: It Depends on How Big the Robot Is

Here is the twist: Not all robots are equally good at this. The researchers found that this ability to completely redraw its world map depends heavily on the size of the robot.

  • The Big Robots (like Gemma-31B and Qwen-27B): These are the super-smart ones. They can hear your new rule, override the old map, and draw a perfect, clean new shape. In direct, simple prompts, they follow the new order with near-perfect accuracy (hitting 100% success in tests). However, even for these big models, the performance can dip if the task gets harder (like taking many steps in the new order) or if they are allowed to think out loud in a "free-form" way without strict instructions.
  • The Small Robots (like Gemma-2B or Qwen-4B): These are the younger, smaller models. They can hear the rule and try to draw a new shape, but it's messy. It's like they are trying to draw a perfect circle with a shaky hand. They might get the general idea, but they can't fully let go of their old memories. Sometimes, they even get confused and revert to the old way of thinking, or they fail to build a usable map at all.

The paper suggests that "building" a new shape is easy for even small robots, but "using" that shape perfectly and cleanly is a skill that only comes with size. It's like how a child can learn a new game, but only a master can play it perfectly without making mistakes.

What This Means for the Future

This study changes how we think about AI. It suggests that these models don't have a single, fixed "world view" locked inside them. Instead, their understanding of the world is fluid. It's like a chameleon that changes its colors not just to match the background, but to match the story you are telling it.

If you tell a capable AI that the world is flat, it might temporarily arrange its thoughts as if the world is flat. If you tell it the days of the week are in a tree, it will build a tree. The "truth" inside the AI isn't a static fact; it's a computation that happens right then and there, shaped by the conversation.

The researchers are careful to say they don't know exactly how the robot builds these shapes from scratch or if it's just rearranging old furniture. But one thing is clear: the robot is listening to you, and it is changing its mind to match your story. The context you provide is the king, and the robot is its loyal, shape-shifting subject.

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 →