Adaptive Systems Learn From Results, Not From Logs Alone

A log records the past. Only a closed loop reveals what your choices actually cost.

Adaptive AI · Systems Engineering · Neurosymbolic AI · Reinforcement Learning
Adaptive Systems Learn From Results, Not From Logs Alone
The systems pulling ahead all share one design principle: they observe the consequences of their own decisions. A log records what happened. Only a closed loop teaches a system what its choices actually cost.
2026

A log is a record of what already happened. It captures the states a system visited, the actions some earlier policy took, and the results that followed from those choices under that policy. What it structurally cannot contain is the answer to a counterfactual: what would have happened if the system had done something different. This is not a data quality problem. It is an architectural one. A system that only reads a frozen record can never observe the consequences of its own new decisions.

The formal name for this in machine learning is distribution shift. When a model trained on a fixed dataset is deployed, the situations it encounters in the real world do not match the ones its training data covered. For a system making sequential decisions where each choice shapes the next situation, small errors compound. The model becomes confidently wrong at exactly the moments it should be most cautious, because nothing in its training ever corrected it on territory it had never seen.

The gap between a system that learns from results and one that learns from logs alone is the gap between a closed loop and an open one. The second type optimizes against frozen data and ships into the world with no further feedback. The first acts, observes what happens because of that action, and updates. Most of the consequential progress in AI and systems software over the last several years traces back to that single architectural difference.

01 Open loop vs closed loop
A system trained on logs alone has no path back from the world it enters. A closed-loop system acts, observes the consequence, and corrects. The feedback path is the entire difference.
Open loop Closed loop Fixed log Past policy decisions only Train on log Optimize loss on frozen data Deploy policy Encounters unseen states Outcome occurs Result unobserved by model No update path Errors compound silently Distribution shift widens Policy acts Generates real decisions Environment Returns verifiable outcome Observe result Reward, error, pass/fail, latency Update policy Weights or symbolic layer Errors corrected on contact Counterfactuals explored The feedback path is the entire difference
No update path (open loop)
Verifiable outcome (closed loop)
Policy layer
I. What reinforcement learning actually teaches

The strongest demonstration that outcomes teach what logs cannot came from a mathematical competition. DeepSeek-R1-Zero was trained without human-annotated reasoning traces of any kind. It learned by being given problems, producing responses, and receiving a single feedback signal: whether the final answer was correct. Its accuracy on the AIME 2024 benchmark rose from 15.6 percent to 71.0 percent under that loop, reaching 86.7 percent with majority voting. Behaviors like self-verification and mid-solution course correction emerged on their own, because the reward structure selected for them rather than because any training example demonstrated them.

The contrast with offline methods is specific. Supervised fine-tuning trains a model to imitate a curated set of human outputs, which means its output distribution is bounded by what humans chose to write down. Reinforcement learning from human feedback extends this but, when the preference dataset is fixed, the policy is again bounded. The step that produces the largest gains is making the feedback loop live: generating new responses during training, scoring them, and letting the model explore past the distribution of its starting data. Online reinforcement learning consistently outperforms offline methods because the model sees the consequences of decisions it was never shown how to make.

Verifiable rewards sharpen this further. When the reward is machine-checkable, a passing unit test or a correct numeric answer, the signal is unambiguous and cannot be gamed by producing outputs that a learned preference model would score highly without actually solving the problem. Wherever a computation has an objectively evaluable outcome, routing that outcome back into training is more informative than any volume of logs recording what earlier systems decided to do.

02 The outcome feedback loop across three domains
Reinforcement learning, neurosymbolic AI, and runtime software engineering all run the same act-observe-update cycle. The outcome must reach the part of the system that decides what to do next.
Act Observe outcome reward, pass/fail, latency Update consequence correction Reinforcement learning Model generates response Verifier checks correctness Reward updates weights Neurosymbolic AI Neural proposes programs Symbolic verifier checks Library grows from successes Runtime software Compiler makes decisions Binary size or latency measured Policy updated from result Same loop, three domains The outcome must reach the part of the system that decides what to do next
Reinforcement learning
Neurosymbolic AI
Runtime software
II. When symbolic systems learn to rewrite themselves

Classical symbolic AI encodes the beliefs of the engineer who built it and does not revise when those beliefs turn out to be incomplete. Neural networks learn from data but are opaque: they cannot export a piece of solved reasoning as a reusable module or explain their conclusions in terms a verification tool can check. Neurosymbolic systems attempt to get both adaptability and structure in the same architecture. The most consequential recent work takes this further by letting outcomes update not just the neural component but the symbolic layer itself.

MIT's DreamCoder maintains an explicit symbolic library, a set of program abstractions written in a domain-specific language, and runs a two-phase loop. In the first phase it searches for programs that actually solve tasks defined by input-output examples. Which programs succeed then drives a refactoring pass that extracts common sub-patterns and adds them to the library as new reusable routines. The symbolic layer grows based on what worked, not based on what a designer anticipated. On generative domains where no alternative solved more than 60 percent of held-out tasks, DreamCoder solved close to 100 percent. It independently rediscovered higher-order programming constructs like filter because those abstractions kept appearing in solutions to problems it was rewarded for solving.

A related approach uses symbolic tools as the feedback mechanism rather than the learner. Georgia Tech's RLSF treats compilers, algebra systems, and domain-specific verifiers as the reinforcement learning environment. Instead of a pass-fail reward, the tool returns a certificate identifying which tokens or lines are wrong, and that fine-grained signal updates the neural model. On translating pseudocode to correct C++, this produced a 31.43 percent improvement in functional correctness over supervised fine-tuning, not from seeing more correct examples, but from being told precisely where its own outputs failed by a tool that does not guess.

Engineer's glass board infographic on adaptive systems and feedback loops

A working engineer's diagram on a glass board, naturally lit in a research lab. The rough hand-drawn sketch shows the structural difference between open-loop systems trained on logs and closed-loop systems that observe the consequences of their own decisions. Daice Labs, 2026.

III. Runtimes that learn from execution

Systems software has for decades been tuned by hand. Engineers studied execution traces, formed hypotheses about which heuristics performed well, and encoded those hypotheses as rules. This cycle is closed-loop in the broadest sense: humans observed results and changed the system. It is not closed-loop in any useful engineering sense, because the humans in the middle are slow, expensive, and cannot attend to every code change that shifts the optimal decision.

Google's MLGO replaced part of that cycle with a reinforcement learning system embedded inside the LLVM compiler. The problem it targeted was inlining for size: deciding, for each function call, whether to substitute the function body at the call site or leave it as a call. Good inlining decisions require predicting downstream effects that propagate through an entire program, which is exactly the kind of judgment that degrades when heuristics written for one codebase encounter another. MLGO trained its decision network with a loop that alternated between compiling and training, measuring the resulting binary size and routing that measurement back as a reward. The trained policy achieved up to a 7 percent size reduction compared to the hand-tuned LLVM optimization setting, generalized to targets it had not trained on, and stayed effective as the codebase evolved underneath it.

DeepMind's AlphaDev pushed the same principle to the instruction level, framing the search for faster sorting routines as a game where the system adds one CPU instruction at a time and receives a reward based on measured execution latency and correctness on real hardware. Because the optimization target was actual execution, not a proxy metric, the system found routines that beat decades of human-engineered benchmarks. Its five-element sort dropped from 46 instructions to 42. The routines were translated into C++ and merged into the LLVM standard library, used by millions of developers every day.

IV. Building systems that close the loop

The design principle underlying every system described here is the same one control engineers have applied for over a century. An open-loop system executes a plan and stops. A closed-loop system executes a plan, senses the result, and corrects. Open-loop designs are cheaper to build and fail badly when conditions shift. Closed-loop designs absorb disturbances and adapt. That tradeoff now applies to AI systems and production software in a way it did not a decade ago, because we have the tooling to measure outcomes at machine speed and route them back into the learning process without a human in the middle.

The first practical implication is to instrument for outcomes, not just events. Logging what a system did is easy. Capturing what happened because it did it, the latency, the pass rate, the error message from the symbolic checker, is rarer and more valuable. Where a ground-truth check exists, wire it back in. Unit tests, compilers, solvers, and execution timers produce signals that are far harder to game than a learned quality proxy. The instinct is often to minimize feedback surface to reduce complexity. The better instinct is to find the smallest, most trustworthy outcome signal available and route it into the update loop as early as possible.

The second implication concerns memory. A system that reads from a static index and forgets at session end is open-loop with respect to its own accumulated experience. Even lightweight feedback mechanisms show measurable gains. Reflexion stores a written critique of its own failures and reads it before the next attempt, raising code generation accuracy from an 80 percent baseline to 91 percent with no weight updates at all. The gain came entirely from closing the feedback loop at the reasoning level. The closed loop does not have to be elaborate. It has to be real: the system must observe the consequence of what it did, and that observation must reach the part of the system that decides what to do next.

03 The loop closure spectrum
From fully open to fully closed: how systems progressively close the feedback loop, with the three design principles that follow from closing it completely.
Open loop Closed loop Stage 1 Fully open Static dataset No feedback path Errors unobserved Supervised fine-tune on fixed log Stage 2 Static retrieval Reads a fixed index Forgets at session end No write-back RAG with read-only vector store Stage 3 Reflection Stores failure critique Reads before next try No weight updates Reflexion: 80% to 91% HumanEval pass@1 Stage 4 Fully closed Live outcome signal routed back in Policy updates live MLGO, AlphaDev, DeepSeek-R1 Design principles Instrument outcomes Not just events Find the ground-truth signal Prefer verifiable rewards Pass/fail beats a proxy Harder to game Use read-write memory Static retrieval is open loop Updates compound over time The loop does not have to be elaborate. It has to be real.
Static retrieval (partially open)
Reflection (lightweight closed)
Fully closed loop

Key references: DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learning, DeepSeek AI, 2025. Published in Nature, 2025. Google MLGO: A Machine Learning Guided Compiler Optimizations Framework, Google, 2022. AlphaDev: Faster Sorting Algorithms Discovered Using Deep Reinforcement Learning, DeepMind, Nature, 2023. DreamCoder: Bootstrapping Inductive Program Synthesis with Wake-Sleep Library Learning, MIT, PLDI 2021. RLSF: Reinforcement Learning from Symbolic Feedback, Georgia Tech, 2024. Reflexion: Language Agents with Verbal Reinforcement Learning, Northeastern University, NeurIPS 2023. Offline Reinforcement Learning: Tutorial, Review, and Perspectives on Open Problems, Berkeley AI Research, NeurIPS 2020.