Adaptivity Under Realizability Constraints: Comparing In-Context and Agentic Learning
This paper demonstrates that while adaptivity never hinders approximation performance, the specific advantage of adaptive (agentic) learning over fixed-query (in-context) learning varies across four distinct scenarios depending on whether the operations are unrestricted or constrained by ReLU neural network realizability.
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 guess a secret map hidden inside a large, dark room. You have a limited number of "flashlights" (queries) to shine on the floor to figure out the layout. The paper compares two ways of using these flashlights:
- The "Fixed Plan" (In-Context Learning): You decide exactly where to shine your flashlights before you enter the room. You can't change your mind based on what you see.
- The "Adaptive Agent" (Agentic Learning): You shine a flashlight, look at what you see, and then decide where to shine the next flashlight based on that information.
The authors ask a simple question: Is the "Adaptive Agent" always better? And more importantly, does this advantage hold up if we force the agent to be built with a specific, limited type of "brain" (a ReLU neural network, which is a standard building block for modern AI)?
Here is the breakdown of their findings using everyday analogies:
The Two Worlds
The paper tests these methods in two different "universes":
- The "Magic World" (Unrestricted): The learner can be any mathematical function imaginable. It has infinite computing power and no limits on how it thinks.
- The "Realistic World" (Realizable): The learner must be built using a specific, limited toolkit (ReLU neural networks). This is like trying to build a robot out of Lego bricks instead of magic.
The Four Scenarios
The authors discovered that the answer to "Is adaptive learning better?" depends entirely on the task and the toolkit. They found four distinct outcomes:
1. The "No Difference" Scenario
The Analogy: Imagine trying to guess a single, simple number (like "5").
The Result: Whether you plan your guesses in advance or adapt as you go, it doesn't matter. If the task is simple enough, a fixed plan works just as well as an adaptive one.
Paper Claim: For very simple tasks (single-task families), adaptivity offers no advantage.
2. The "Adaptivity Wins, Even with Limits" Scenario
The Analogy: Imagine a "Whac-A-Mole" game where the mole hides in a specific sequence of holes.
- Fixed Plan: You have to guess all the holes in advance. If you miss the sequence, you fail.
- Adaptive Agent: You hit a hole, see the mole pop up, and immediately know exactly where to hit next.
The Result: The adaptive agent wins easily. Even if you force the agent to use a "Lego brain" (ReLU network), it can still figure out the sequence step-by-step.
Paper Claim: For "cubical-path" tasks, adaptivity reveals strictly more information, and this advantage survives even when the learner is restricted to standard neural networks.
3. The "Adaptivity Only Wins with Limits" Scenario
The Analogy: Imagine a treasure hunt where the map is written in a code that is incredibly hard to crack (a "hard computation").
- Magic World: Both the Fixed Plan and the Adaptive Agent are "magic." They can both crack the code instantly. So, they tie.
- Realistic World (Lego Brain): Now, the "Fixed Plan" learner is stuck. It has to carry the whole complex code in its head to solve the puzzle. Its "Lego brain" is too small to hold the code, so it fails.
- However, the Adaptive Agent is clever. It doesn't need to carry the code. It can use its first few flashlights to find a "key" (a specific location) that unlocks the answer directly. It bypasses the need to do the hard math internally.
The Result: In the magic world, they are equal. In the realistic world, the adaptive agent wins because it can "outsource" the hard work by asking the right question, whereas the fixed planner has to do the hard work itself.
Paper Claim: For "pointed-value" tasks, adaptivity creates an advantage only when the learner is constrained by a limited neural network size.
- However, the Adaptive Agent is clever. It doesn't need to carry the code. It can use its first few flashlights to find a "key" (a specific location) that unlocks the answer directly. It bypasses the need to do the hard math internally.
4. The "Adaptivity Loses Under Limits" Scenario
The Analogy: Imagine a "Where's Waldo?" game, but Waldo's location is determined by a super-complex formula based on the other characters in the picture.
- Magic World: The Adaptive Agent looks at the picture, runs the super-complex formula in its infinite brain, finds Waldo's exact spot, and shines the flashlight there. It wins.
- Realistic World (Lego Brain): The Adaptive Agent tries to run that super-complex formula to find Waldo. But its "Lego brain" is too small to calculate the formula. It gets stuck.
- The Fixed Plan learner, realizing it can't calculate the formula, just shines its flashlights everywhere randomly (or in a fixed pattern). Since the Adaptive Agent is also stuck and can't find Waldo, they both fail equally.
The Result: In the magic world, adaptivity is a huge win. In the realistic world, the advantage disappears because the adaptive agent can't compute the "next step" fast enough.
Paper Claim: For "address-spike" tasks, adaptivity provides a massive advantage in theory, but this advantage vanishes when the learner is restricted to a standard neural network because the "next step" is too hard to compute.
- The Fixed Plan learner, realizing it can't calculate the formula, just shines its flashlights everywhere randomly (or in a fixed pattern). Since the Adaptive Agent is also stuck and can't find Waldo, they both fail equally.
The Big Takeaway
The paper concludes that adaptivity is not a magic bullet.
- Sometimes it helps, sometimes it doesn't.
- Crucially, constraints matter. What looks like a superpower in a theoretical, unlimited world can become a weakness or a useless feature when you have to build the system with real, limited tools (like current AI models).
The authors show that the interaction between "how you ask questions" (adaptivity) and "what tools you use to answer them" (neural network constraints) creates a complex landscape where the best strategy changes depending on the specific problem.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.