TRACE proposes a practical change in the way AI agents learn: instead of just remembering which solution worked, they store Which action changed which result?. In materials discovery, this means that every evaluated modification becomes reusable knowledge for the next step, without the prediction replacing the actual measurement.
The work by Kang Zhou, Yujia Tong, Yong Tao, and Jingling Yuan examines a challenging multi-criteria problem: finding materials that must simultaneously meet multiple, often conflicting objectives. For a business, the interest is not limited to chemistry. TRACE offers a useful framework for agentic workflows that must learn from validated outcomes, preserve what already works, and make decisions based on more than one KPI.
What is TRACE, and what is changing?
TRACE, from the Transition-Aware Residual Control, is a search control framework for multi-criteria material discovery using LLM agents. It is not presented as an autonomous «scientist» and does not replace experimental validation. Its role is more specific: to make better use of each precise evaluation of a candidate material.
The central idea is that a final score hides the path that led to it. In contrast, a transition record links the initial candidate, the change made, the new candidate, and the measured differences in their attributes. Thus, the agent not only remembers «what it achieved,» but also gains insight into «what happened when we made that change.».
This memory model complements the broader discussion on AI agents that collaborate in research environments: Autonomy is valuable when the history of actions is verifiable, reusable, and linked to actual results.
The short answer
TRACE converts every confirmed change into structured memory. The memory suggests the next move, but only the new evaluation updates the system's truth.
Why the final score isn't enough
In a simple search, ranking candidates from best to worst may suffice. In materials discovery, however, a candidate may be strong in one property and unsuitable in another. A chemical modification that improves electrical, mechanical, or thermal behavior may simultaneously compromise an already satisfactory property.
The authors describe the environment as oracle-limited: Evaluation is performed using simulation, a trained surrogate model, reference data, or experimental measurement, and is considered a limited resource. Each numerical objective is converted into a normalized violation score. The sum of these violations is the total residual, that is, a measure of the distance from the feasible region.
The real goal isn’t a good average score, but a candidate who passes all the quantitative and non-quantitative assessments. The same logic applies to business workflows. An e-commerce system shouldn’t just increase the conversion rate if, at the same time, it undermines profit margins, inventory availability, returns, or the customer experience. This is a business analogy rather than an experimental result of the study, but it illustrates the same design problem.
TRACE records every successful local modification as a transition parent–edit–child. The commit includes the original candidate, the executable edit, the new candidate, the before and after properties, and their difference. Only a change that has been successfully built and evaluated provides verified information about its effect. Failed attempts remain in a backup file but are not used for property change monitoring.
Each completed transition also receives a utility that combines three elements: whether the candidate entered or remained within the numerically feasible region, how many constraints were satisfied or violated, and by how much the total residual was reduced. This distinguishes the physical change in properties from how useful that change was for the current mission.
When there are enough observations for the same edit, the system uses the average change in the properties. If there is little data, it falls back hierarchically to the average of the broader “operator” category and, if necessary, to the set of all available transitions. This logic allows for more general guidance at the outset and more specific guidance once sufficient support has been gathered.
Three Different Memories
What Does the Agent Really Know?
The quality of the next decision depends on the level of detail in the feedback.
An important safety measure is that the prediction is used only for ranking. It is not written to memory as the truth. Only the actual result of the oracle after execution updates the history. This is the same principle that makes feedback at the level of a specific energy or function: The diagnosis must be linked to the location where the change occurred.
Residual-aware selection without loss of progress
The most interesting part of TRACE occurs near the limits of feasibility. When a candidate fails to meet a single objective, simply reducing the total residual can be misleading. An edit might correct the last problematic target, but at the same time violate another one that had already been satisfied.
To address this, the framework divides the constraints into two groups: those that are still being violated and those that are already being met. An edit’s score rewards progress on the unmet criteria, imposes a penalty for damage to those already met, and adds a bonus when the proposed change exceeds the entire numerical feasibility threshold.
The same action, therefore, does not have a fixed value in every situation. Its usefulness depends on which problems remain unsolved and which achievements must be protected. For a production system, this means that the decision-making policy cannot simply ask, «Which action has historically been associated with a good outcome?» It must also ask, «Is it appropriate for the current situation?».
Design Rule
Don't just reward improvement. Also measure the damage done to what's already right.
In any agentic workflow with multiple KPIs, the decision incurs a separate cost for downgrading constraints that have already been satisfied.
Global Exploration and Local Improvement
Local memory has a natural limitation: it is primarily aware of the regions of material space that have already been visited. The LLM’s global proposals can be moved to new compositions and families, but they do not, on their own, provide clear accountability at the edit level. TRACE maintains both paths.
The global path uses the LLM for broader suggestions. The local path selects actionable modifications based on evaluated parents, utilizing the transition memory. New global candidates can later become parents for local edits, while summaries of the experience are fed back as mild statistical guidance to the LLM’s prompt. If the local path cannot complete the scheduled tasks, the capacity is returned to global production.
In the budget allocation study for solid-state electrolytes, the balanced 1:1 ratio between LLM and Delta edits yielded a hit rate of 50.19%. The LLM-only approach achieved 32.4%, while the Delta-only approach achieved 27.7%. The balanced configuration produced 154 structures and 73 unique valid formulas, compared to 83 and 22, respectively, in the Delta-only version. The results pertain to this specific task and configuration; they do not prove that the 1:1 ratio is universally optimal.
What the LLEMABench experiments showed
The researchers evaluated TRACE on 14 multi-criteria tasks from LLEMABench, which cover electronic, dielectric, energy, mechanical, acoustic, and structural applications. The closest controlled comparisons with LLEMA kept the task, backbone, and oracle constant, with roughly the same number of candidates reaching the property evaluation stage.
Two 8-bit quantized backbones were used—Qwen2.5-14B-Instruct and Mistral-Small-3.2-24B-Instruct-2506—with five runs per combination of task and backbone. With Qwen, TRACE improved the hit rate in 12 of the 14 tasks. The macro-average hit rate increased from 18.13% to 25.96%, while the average stability rate increased from 5.90% to 8.97%.
With Mistral, the hit rate improved in 10 of the 14 tasks. The macro-average hit rate rose from 25.39% to 28.74%, and the stability rate from 11.29% to 12.25%. The results were not uniform: there were decreases in certain task–backbone settings and a mixed picture for piezo energy harvesters. The greatest cross-backbone improvements were observed in solid-state electrolytes, where the hit rate increased by 21.22 and 28.10 percentage points with Qwen and Mistral, respectively.
The Key Metrics of TRACE
Results of this specific experimental setup; not general guarantees for every agentic system.
12/14Projects aimed at improving the hit rateWith the Qwen backbone
10/14Projects aimed at improving the hit rateWith a Mistral backbone
25,96%macro-average hit rateFrom 18.13% with Qwen
2,47–4,79×more valid discoveriesIn four tests consisting of 1,000 trials
In the four long-horizon tests involving 1,000 scheduled attempts, valid discoveries increased from 182 to 449 for wide-bandgap semiconductors, from 61 to 292 for high-k dielectrics, from 97 to 439 for hard, stiff ceramics, and from 65 to 212 for toxic-free perovskite oxides. The analysis attributes the gain to both a greater number of completed evaluations and a higher percentage of candidates that met the constraints.
At the same time, TRACE had a lower rate of formula repetition. In wide-bandgap semiconductors, the repetition rate decreased from 43.96% to 9.58% in long-horizon trajectories, while in high-k dielectrics it decreased from 14.75% to 4.79%. Most of the valid findings, therefore, did not result simply from the repetition of the same formulas.
What Do Ablations Reveal?
The ablation study on solid-state electrolytes compared candidate-level feedback, random edits, history-guided selection, and full TRACE. Random edits increased the generation rate by 10.62 percentage points compared to candidate-level feedback, but reduced the hit rate by 4.35 points. The ability to perform edits helps complete more suggestions, but it is not sufficient for better search quality.
The addition of a transition history improved the hit rate by 7.21 units and the stability rate by 3.93 compared to random edits. The full residual-aware TRACE added another 10.04 and 10.23 units, respectively, while maintaining a generation rate of 96.63%. The edits contribute to the completion of the search, while the transition history and the residual-aware selection account for the main quality gains.
A direct analysis of 882 post-warm-up transitions across four tasks supports this explanation. The directional accuracy of the predicted change ranged from 61.12% to 76.49%, while the offline selection advantage ranged from 54.31% to 64.16%, above the random benchmark of 50%.
What We Shouldn't Read Into the Percentages
TRACE is an arXiv preprint, and the controlled comparisons use approximately—not exactly—matched numbers of evaluations. The findings provide strong experimental evidence for this specific benchmark, not proof of universal superiority.
The Limitations and Risks of the Approach
The TRACE estimator learns empirical regularities from observed transitions. If the effect of an edit varies significantly depending on the candidate, aggregating mean effects may overlook important differences. The authors suggest more parent-specific context and uncertainty modeling as future directions.
The examples in the paper itself illustrate the risk. Replacing B with Al converted B2S3 to Al2S3 and reduced the normalized residual from 0.298 to zero. Conversely, replacing Al with B in MgAl₂O₄ produced Mg(BO₂)₂ and increased the residual from zero to 2.816. There is no «good edit» regardless of the parent and the state of the constraints.
The local scope of action is primarily limited to chemically safe, structure-preserving substitutions of elements within the same group. It does not cover the creation of vacancies, lattice reconstruction, or larger structural changes. Furthermore, properties are derived from reference data where a correspondence exists, and otherwise from a task-specific surrogate oracle. Computationally valid candidates are not automatically converted into laboratory-confirmed materials.
This distinction is also critical in commercial applications. An action log without an initial state, a final result, provenance, and metrics can be misleading. The audit trail in production environments It must link every decision to the data and checks that supported it.
What Does TRACE Mean for Business AI Agents?
The immediate focus is on the discovery of materials, but the architectural concept applies to any agent that makes sequential decisions based on precise feedback. A team can examine whether its memory records only outputs and scores, or whether it links each action to the previous state, the new state, changes per KPI, and confirmation from the actual system.
The first lesson is that feedback must be properly analyzed. For a customer service agent, for example, the final CSAT score alone is not enough. We need to know which response, which knowledge retrieval, or which handoff changed the resolution time, accuracy, and satisfaction. For an e-commerce agent, the system must link a specific action to conversion, margin, returns, and stock-out risk.
The second lesson is to distinguish between exploration and optimization. A creative or global proposal opens up new solution spaces. The local approach capitalizes on what the system has already learned. The balance between them must be assessed on a per-use-case basis and not dictated by a fixed ratio.
The third lesson is to evaluate the entire funnel: how many efforts were planned, how many were executed, how many were evaluated, how many met all the criteria, and how different they were from one another. This complements the economic perspective of AI ROI per task: Value is not only the quality of the final output, but also the cost of failed actions, rework, and human review.
Finally, monitoring does not end with deployment. The NIST AI RMF emphasizes logging and monitoring behavior in production, because conditions and risks change. For agentic systems, this means clear boundaries, measurable interventions, and a mechanism for revocation or human approval when actual performance deviates from design specifications.
Practical Framework for Implementation
Implementing TRACE in a business system does not require replicating the algorithm behind the task. It requires the design of a reliable chain of state, action, result, and verification. The following sequence serves as an architectural check for Repeatable work systems using AI agents.
Six Steps for Consequence Memory in an Agentic Workflow
- GoalsHere are all the KPIs and non-negotiable limits
Make a list of what needs to be improved and which criteria must not be compromised, such as cost, accuracy, time, compliance, and customer experience.
- StatusSave the context before each action
The same action may have the opposite effect on a different customer, inventory, market, or stage of the process. Without a baseline, there is no reliable justification.
- EnergyGive actions a fixed, executable identity
Don't just save plain text. Record the tool, parameters, policy version, and exact point of intervention so that similar actions can be compared.
- MeasurementLink the result to confirmed changes
Measure the before and after for each KPI. Estimates can help with ranking, but they should not be recorded as actual results.
- ControlProtect the existing restrictions
Rate each proposed action both in terms of progress toward the unmet goal and the risk of harm to what is already working.
- ProductionWatch for drift, failures, and feedback loops
Compare production metrics with testing metrics, reserve human review for high-impact actions, and update the model only with verified outcomes.
The visual presentation of multiple KPIs is also important. One A dashboard designed to support decision-making It must distinguish between improvements, the deterioration of targets that had already been met, and the percentage of actions that were never subject to a valid evaluation.
From the Memory of Results to the Memory of Consequences
TRACE proposes a shift worth noting: from remembering «what worked» to remembering «what changed when we did this.» On LLEMABench, this approach improved search performance on the majority of tasks and produced significantly more valid discoveries in four long-horizon tests. At the same time, the results remained task-dependent, and the local action language was limited.
Mature interpretation does not mean that an LLM «discovers on its own» new material. It means that an agentic workflow can become more effective when it maintains a verified, structured transition memory, protects already satisfied goals, and combines broad exploration with controlled local optimization. For a business, this is more useful than a general promise of autonomy: it transforms feedback into a controllable decision-making framework.
AI automation with measurable feedback
Design agents that learn without losing control
TWO DOTS organizes workflows, data, guardrails, and metrics so that every automation is linked to a verifiable business outcome.
Frequently Asked Questions (FAQs)
What is TRACE?
It is a transition-aware residual control framework for multi-criteria material discovery. It records evaluated parent–edit–child transitions and uses the observed property changes to classify subsequent local edits.
What is the difference from candidate-level feedback?
Candidate-level feedback records the candidate and its attributes. Transition feedback additionally links the change that was made to the initial state, the new result, and the difference in attributes before and after.
Does TRACE replace actual evaluations?
No. The predicted effects are used for ranking. The transition memory is updated only with the actual result from the oracle after the edit has been executed and evaluated.
By how much has the macro-average hit rate improved?
In the controlled comparisons, it increased from 18.13% to 25.96% with Qwen and from 25.39% to 28.74% with Mistral. The gains varied by task and did not appear in all settings.
Why is global LLM exploration necessary?
Local search is limited to the available variations around already known candidates. Global proposals allow for the exploration of new compositions and families beyond this space.
What kinds of edits does the current implementation support?
Primarily structure-preserving replacements of elements within the same group, with safety and duplicate filters. It does not yet handle vacancies, lattice reconstruction, or large-scale structural changes.
Does the study demonstrate that the materials are laboratory-viable?
No. This is a computational search benchmark using reference data and surrogate oracles. Physical synthesis and experimental validation are a different stage.
What is the core course for business AI agents?
When feedback is precise and there are multiple objectives, it is necessary to track the impact of each action per KPI, to preserve constraints that are already met, and to update the database only with verified results.