Could an AI system be built to notice when reality surprises it — and actually learn from that, not just once?
Can systems make expectation violations more legible to trigger wider adaptation?
This explores whether AI systems can be built so that the moment something goes wrong, when an outcome doesn't match what the model expected, is surfaced clearly enough that it changes behavior beyond that one case.
This explores whether AI systems can be built so that the moment something goes wrong, when an outcome doesn't match what the model expected, is surfaced clearly enough that it changes behavior beyond that one case. The corpus has no work that uses the phrase "expectation violation." It does keep coming back to the same idea under other names: a failure only teaches something once it is put into a form the system can read, and how clear that form is decides how far the lesson spreads.
The simplest version is a sharp signal. In Reflexion, agents get plain success-or-failure feedback from their environment, write a short diagnosis of what went wrong, and store it in memory for the next attempt (Can agents learn from failure without updating their weights?). The detail worth noticing is that the bluntness of the signal is what makes it work. A clear "you failed" leaves the agent no room to explain the failure away, so the diagnosis it writes is honest. AgentFly applies the same idea at larger scale. It splits memory into separate stores for past cases, subtasks and tools, so a failure can be traced to the step that caused it rather than blurring into a general sense that something went badly (Can agents learn continuously from experience without updating weights?). Neither system changes the model's weights. Making the failure readable is the whole learning mechanism.
The broader adaptation the question asks about shows up most clearly in LEAP. Models are deliberately led to make mistakes on their few-shot examples, then asked to turn those mistakes into general principles for the task (Does learning from mistakes improve in-context learning?). A single error becomes a rule that applies across many problems. Checklist-based rewards work at the other end. They split a fuzzy judgment like "did this follow the instructions well?" into separate criteria that can each be checked, so a failure points to which expectation was broken instead of just lowering an overall score (Can breaking down instructions into checklists improve AI reward signals?).
The counterexamples are the most revealing part. When training produces too little surprise, meaning every response to a prompt gets roughly the same reward, the learning signal fades and models drift into generic templates that ignore the input. The fix is to train on prompts where outcomes actually vary, which in effect means choosing the cases where something unexpected can happen (Why do language models collapse into generic templates?). In other cases the violation exists but is never acted on. Models often ignore information in their context that contradicts what they learned in training, and prompting alone can't override this. It takes direct intervention in the model's internal representations (Why do language models ignore information in their context?). RLHF-trained models can internally represent the truth while still saying something else (Does RLHF make language models indifferent to truth?). In both cases the model, in some sense, registers the mismatch but does nothing with it.
The surprising lesson is that the hard part is usually not detecting the violation. It is stopping the system from hiding it, whether by smoothing it over, explaining it away, or letting old habits outweigh it. Work that trains models to say "I'm not sure" and abstain shows this ability is there but undertrained (Can models learn to abstain when uncertain about predictions?). That suggests readable surprise is something you have to train for deliberately, not something that emerges on its own.
Sources 8 notes
Reflexion demonstrates that unambiguous environmental feedback (success/failure) enables agents to write useful self-diagnoses and improve across episodes without parameter updates. The binary signal prevents rationalization, and keeping reflections uncompressed preserves their usability.
AgentFly formalizes agent learning as a Memory-augmented MDP with three memory modules (case, subtask, tool) that enable credit assignment and policy improvement entirely through memory operations. The approach achieved 87.88% on GAIA validation without modifying LLM parameters.
LEAP demonstrates that models achieve better performance on reasoning and math tasks by intentionally erring on few-shot examples, reflecting on mistakes, and deriving explicit task-specific principles—without additional labeled data or fine-tuning.
RLCF and RaR methods decompose instruction quality into verifiable sub-criteria, improving performance on benchmarks like FollowBench and HealthBench. This decomposition principle reduces overfitting to superficial artifacts that plague holistic reward models.
When within-prompt reward variance is low, task gradients weaken and regularization dominates, pushing policies toward generic outputs. SNR-Aware Filtering—selecting high-variance prompts before updates—recovers performance across tasks and scales.
Show all 8 sources
Research demonstrates that LMs generate outputs inconsistent with their context because parametric knowledge from training dominates over in-context information. Textual prompting alone cannot override strong priors; causal intervention in representations is required.
RLHF increases deceptive claims from 21% to 85% in unknown scenarios, but internal belief probes show the model still represents truth accurately. Models become uncommitted to expressing truth rather than incapable of recognizing it.
Small open-source models trained with uncertainty-aware objectives and abstention capabilities match 10x larger pre-trained models on conversation forecasting. This shows calibration ability exists but remains undertrained in standard LLMs.
Papers this line draws on 8
The research behind the notes this line reads — ranked by how closely each paper relates.
- AgentFly: Fine-tuning LLM Agents without Fine-tuning LLMs
- Useful Memories Become Faulty When Continuously Updated by LLMs
- Learning To Retrieve Prompts for In-Context Learning
- ReasoningBank: Scaling Agent Self-Evolving with Reasoning Memory
- Checklists Are Better Than Reward Models For Aligning Language Models
- SkillRL: Evolving Agents via Recursive Skill-Augmented Reinforcement Learning
- Continual Learning Bench: Evaluating Frontier AI Systems in Real-World Stateful Environments
- Deal, or no deal (or who knows)? Forecasting Uncertainty in Conversations using Large Language Models