Trace is the Next AutoDiff: Generative Optimization with Rich Feedback, Execution Traces, and LLMs
Open accessAbstract
We study a class of optimization problems motivated by automating the design and update of AI systems like coding assistants, robots, and copilots. AutoDiff frameworks, like PyTorch, enable efficient end-to-end optimization of differentiable systems. However, general computational workflows can be non-differentiable and involve rich feedback (e.g. console output or user's responses), heterogeneous parameters (e.g. prompts, codes), and intricate objectives (beyond maximizing a score). We investigate end-to-end generative optimization -- using generative models such as LLMs within the optimizer for automatic updating of general computational workflows. We discover that workflow execution traces are akin to back-propagated gradients in AutoDiff and can provide key information to interpret feedback for efficient optimization. Formally, we frame a new mathematical setup, Optimization with Trace Oracle (OPTO). In OPTO, an optimizer receives an execution trace along with feedback on the computed output and updates parameters iteratively. We provide a Python library, Trace, that efficiently converts a workflow optimization problem into an OPTO instance using PyTorch-like syntax. Using Trace, we develop a general LLM-based generative optimizer called OptoPrime. In empirical studies, we find that OptoPrime is capable of first-order numerical optimization, prompt optimization, hyper-parameter tuning, robot controller design, code debugging, etc., and is often competitive with specialized optimizers for each domain. We envision Trace as an open research platform for devising novel generative optimizers and developing the next generation of interactive learning agents. Website: https://microsoft.github.io/Trace/.
AI snapshot
Written from the paper’s full text.
TL;DR
The paper introduces Optimization with Trace Oracle (OPTO), a mathematical framing in which an optimizer receives a workflow's execution trace (a DAG) plus rich output feedback rather than a scalar score, and argues execution traces play the role that back-propagated gradients play in AutoDiff. It implements this as the Python library Trace and a general LLM-based optimizer OptoPrime, which is competitive with specialized optimizers across numerical optimization, prompt/code optimization, hyperparameter tuning, and robot control.
Key findings
- OptoPrime matched Adam on synthetic first-order numerical optimization over 30 randomly generated computation graphs, while a variant with the graph masked ("Trace Masked") struggled to find the optimum.
- On Big-Bench Hard (0-shot), Trace+CoT reached 78.6 overall, 75.8 on NLP tasks, and 80.6 on algorithmic tasks, versus DSPy-PO+CoT at 71.6/73.9/70.0 — the paper reports ~10% higher accuracy on algorithmic tasks than DSPy's hand-designed COPRO optimizer.
- In traffic-signal hyperparameter tuning (UXSim four-way intersection, 2 integer parameters in [15,90]), Trace became quickly competitive with the SCATS heuristic within 50 iterations, whereas OPRO did not; memory was crucial for Trace here.
- On LLF-Bench Meta-World (Reach, Pick-place, Push; 10-step horizon, 30 iterations, 10 seeds), OptoPrime was the top optimizer, especially with memory; masking the execution trace caused a significant decline in performance and stability.
- Against TextGrad on reasoning tasks, all algorithms achieved similar success rates, but OptoPrime used less wall-clock time (e.g., BBH Word Sorting 82.5 min vs TextGrad's 211.1 min).
- Token counts at first iteration: OptoPrime uses substantially more tokens than OPRO (e.g., 918 vs 175 numerical; 7101 vs 470 MetaWorld), yet OPRO plateaus at worse performance even with 7–10x more iterations.
Methods
- Formal setup: OPTO instance (Θ, ω, T), where the optimizer selects heterogeneous parameters θ, the Trace Oracle returns trace feedback τ = (f, g) — an execution DAG g plus output feedback f — and the optimizer updates θ using context ω.
- Trace library: `node` wraps Python objects as graph nodes (optionally trainable), `bundle` turns methods into operators (optionally trainable, making code a parameter); a backward pass with the Minimal Subgraph Propagator (Algorithm 1 + 2) extracts the minimal subgraph between parameters and output, with proven O(WN² log N) time and O(WN) space complexity.
- OptoPrime: formats the subgraph as a pseudo-algorithm report and prompts GPT-4 (ReAct-CoT prompt) to produce reasoning and parameter suggestions, with an optional memory module of past parameter–feedback pairs; experiments use GPT-4-0125-Preview on a standard PC with 16 GB RAM.
Limitations
- Stated: OPTO requires specifying a solution concept and feedback source; Trace cannot convert all workflows (stateful in-place functions, distributed/parallel computing, recursive bundle operators); OptoPrime is preliminary, not provably optimal, token-heavy, limited by LLM debugging ability and context limits, and cannot handle non-textual parameters/nodes or very large graphs (thousands of nodes); no rigorous notion of step size; LLM does not always respect textual constraints.
- Stated (experiments): Meta-World success rates vary largely across random seeds (often near 1.0 or 0.0), so plots roughly indicate time-to-find-a-working-policy; task-related context is necessary, and without an added explanatory line none of the LLM-based optimizers worked.
- Evident from the text: the numerical-optimization validation uses only one-dimensional inputs and basic arithmetic operators, and the paper notes OptoPrime cannot scale like Adam and does not replace classical AutoDiff for large-scale numerical problems.
Model-written summary. Check it against the paper before relying on it.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
0 of 46 cited sources checked · 0 supported · 0 flagged
- Findingreasoning
OptoPrime is a general LLM-based generative optimizer.
“Using Trace, we develop a general LLM-based generative optimizer called OptoPrime.”
Quote in the paperSubstantial claim - Findingreasoning
Trace is a new framework for jointly optimizing all of the heterogeneous parameters in general computational workflows, which may not be differentiable.
“We extend the idea of AutoDiff and design a new framework, Trace, for jointly optimizing all of the heterogeneous parameters in general computational workflows, which may not be differentiable.”
Quote in the paperSubstantial claim - Findingnone given
OptoPrime is a general-purpose efficient generative optimizer for OPTO.
“We design a general-purpose efficient generative optimizer called OptoPrime, for OPTO.”
Quote in the paperSubstantial claim - Findingnone given
Trace is a Python library that efficiently converts a workflow optimization problem into an OPTO instance using PyTorch-like syntax.
“We provide a Python library, Trace, that efficiently converts a workflow optimization problem into an OPTO instance using PyTorch-like syntax.”
Quote in the paperSubstantial claim - Findingnone given
OptoPrime is a tractable OPTO optimizer.
“We created Trace that can convert a computational workflow optimization problem into an OPTO problem, and we demonstrated a tractable OPTO optimizer, OptoPrime.”
Quote in the paperSubstantial claim
- Findingown data
Masking out the execution trace leads to a significant decline in performance and stability.
“To validate that the performance of OptoPrime is indeed due to using the execution trace, we include an ablation where we mask out the execution trace, which leads to a significant decline in performance and stability.”
Quote in the paperSubstantial claim - Findingown data
OptoPrime, TextGrad, and a reimplementation of TextGrad as an optimizer in Trace achieve similar success rates in the reasoning tasks experiments.
“We find that all these algorithms achieve similar success rates in these experiments.”
Quote in the paperNot a substantial claim - Findingcitation
OPRO's performance degraded over iterations.
“OPRO is able to solve Reach at the start, but its performance degraded over iterations (this instability was mentioned in [13]) and gets a similar performance as OptoPrime (without memory) in Push.”
Quote in the paperNot a substantial claim0 of 1 sources checked- cites [13]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- Findingnone given
OptoPrime is an LLM-based generative optimization algorithm for any text-based OPTO problem.
“We introduce an LLM-based generative optimization algorithm OptoPrime for any text-based OPTO problem.”
Quote in the paperNot a substantial claim - Findingnone given
Trace introduces no measurable overhead on executing the workflow.
“We run the experiments on a standard PC with 16 GB RAM, and Trace introduces no measurable overhead on executing the workflow.”
Quote in the paperNot a substantial claim - Findingnone given
Workflows with recursive bundle operators are not compatible with the current implementation of Trace.
“Workflows with recursive bundle operators or those requiring distributed/parallel computing are not compatible with the current implementation.”
Quote in the paperNot a substantial claim - Findingown data
OptoPrime could work well with moderate-size graphs.
“Although we demonstrated that OptoPrime could work well with moderate-size graphs, it is not a provably optimal algorithm and uses more tokens than OPRO, though, in our experiments, OPRO's performance does not improve even when given a large token budget.”
Quote in the paperNot a substantial claim - Findingown data
OptoPrime uses more tokens than OPRO.
“Although we demonstrated that OptoPrime could work well with moderate-size graphs, it is not a provably optimal algorithm and uses more tokens than OPRO, though, in our experiments, OPRO's performance does not improve even when given a large token budget.”
Quote in the paperNot a substantial claim - Findingown data
OPRO gets similar performance as OptoPrime without memory in Push.
“OPRO is able to solve Reach at the start, but its performance degraded over iterations (this instability was mentioned in [13]) and gets a similar performance as OptoPrime (without memory) in Push.”
Quote in the paperNot a substantial claim - Findingown data
OPRO is able to solve Reach at the start.
“OPRO is able to solve Reach at the start, but its performance degraded over iterations (this instability was mentioned in [13]) and gets a similar performance as OptoPrime (without memory) in Push.”
Quote in the paperNot a substantial claim - Findingown data
Trace is able to optimize a DSPy program beyond what DSPy's COPRO optimizer can, especially on algorithmic tasks.
“In Table 1, we show that Trace is able to optimize a DSPy program beyond what DSPy's COPRO optimizer can, especially on algorithmic tasks.”
Quote in the paperSubstantial claim - Findingreasoning
Trace will automatically generate the workflow-specific information while the same context ω is shared across many workflows.
“Then Trace will automatically generate the workflow-specific information while the same context ω is shared across many workflows.”
Quote in the paperSubstantial claim - Findingnone given
The current implementation of Trace does not trace the execution within an operator defined by bundle.
“In addition, the current implementation of Trace does not trace the execution within an operator defined by bundle, though in principle this is possible.”
Quote in the paperNot a substantial claim - Findingreasoning
Distributed/parallel computing workflows are incompatible with the current implementation of Trace.
“Also, Trace cannot convert all computational workflows into OPTO problems, e.g., stateful functions that modify their state in place cannot be represented as a DAG without modification, and distributed/parallel computing workflows are incompatible with the current implementation (though in theory Trace can run in an asynchronous way so long as the overall graph does not end up with cycles).”
Quote in the paperNot a substantial claim - Findingreasoning
Running Algorithm 1 with MSP (Algorithm 2) together implements the Trace Oracle of OPTO, which extracts the minimal subgraph between parameter nodes and output.
“Running Algorithm 1 with MSP (Algorithm 2) together implements the Trace Oracle of OPTO, which extracts the minimal subgraph between parameter nodes and output.”
Quote in the paperSubstantial claim - Findingown data
In the experiments, Trace was more efficient than black-box methods by using a generalization of back-propagation.
“In the experiments, we saw that Trace was more efficient than black-box methods by using a generalization of back-propagation.”
Quote in the paperSubstantial claim - Findingreasoning
Trace consumes extra overhead compared to other methods, since Trace has to materialize the resulting computation graph and query an LLM with effectively a longer prompt than that of OPRO.
“But we note that Trace consumes extra overhead compared to other methods, since Trace has to materialize the resulting computation graph and query an LLM with effectively a longer prompt than that of OPRO.”
Quote in the paperNot a substantial claim - Findingown data
OptoPrime is the top-performing optimizer in the Meta-World robot experiments, especially the version with memory.
“OptoPrime is clearly the top-performing optimizer, especially the version with memory.”
Quote in the paperSubstantial claim - Findingreasoning
Trace cannot convert all computational workflows into OPTO problems.
“Also, Trace cannot convert all computational workflows into OPTO problems, e.g., stateful functions that modify their state in place cannot be represented as a DAG without modification, and distributed/parallel computing workflows are incompatible with the current implementation (though in theory Trace can run in an asynchronous way so long as the overall graph does not end up with cycles).”
Quote in the paperNot a substantial claim - Findingreasoning
There are ambiguities in how an existing workflow can be traced and represented as a DAG.
“There are also ambiguities in how an existing workflow can be traced and represented as a DAG.”
Quote in the paperSubstantial claim - Findingreasoning
For generic computational graphs of N nodes, in the worst case, the propagated feedback needs a description length Ω(N) to construct an improvement direction.
“Theorem 2. For generic computational graphs of N nodes, in the worst case, the propagated feedback needs a description length Ω(N ) to construct an improvement direction.”
Quote in the paperSubstantial claim - Findingown data
Memory is crucial for Trace to perform well for the traffic control task.
“Moreover, we find that memory is crucial for Trace to perform well for this task.”
Quote in the paperSubstantial claim - Findingown data
In our experiments, OPRO's performance does not improve even when given a large token budget.
“Although we demonstrated that OptoPrime could work well with moderate-size graphs, it is not a provably optimal algorithm and uses more tokens than OPRO, though, in our experiments, OPRO's performance does not improve even when given a large token budget.”
Quote in the paperNot a substantial claim - Findingown data
OptoPrime can compete with ADAM in small problems.
“While we show in Section 5.1, that OptoPrime can compete with ADAM in small problems, OptoPrime is not as computational efficient and cannot scale as well as ADAM; therefore, for large-scale numerical problems, Trace and OptoPrime with the current design does not replace classical AutoDiff.”
Quote in the paperNot a substantial claim - Findingown data
LLMs do not always follow constraints represented as part of the text description.
“Lastly, right now OptoPrime represents the constraints on parameters as part of the text description, but we have observed that LLMs do not always follow it.”
Quote in the paperSubstantial claim - Findingown data
In the LLFBench Meta-World experiments, Trace can be used to learn policy for LLF problems grounded to an application.
“In the LLFBench Meta-World experiments of this paper (Section 5), we show Trace can be used to learn policy for LLF problems grounded to an application too.”
Quote in the paperSubstantial claim - Findingown data
OPRO, by only accessing the history of input and output and changing the meta-prompt, is able to eventually discover the correct solution in numerical optimization.
“To our surprise, OPRO, by only accessing the history of input and output, as well as changing the meta-prompt, is able to eventually discover the correct solution.”
Quote in the paperSubstantial claim - Findingown data
OptoPrime consumes significantly more tokens than OPRO at the first iteration of optimization.
“We can see that indeed OptoPrime consumes significantly more tokens than OPRO.”
Quote in the paperSubstantial claim - Findingnone given
Trace automatically optimizes heterogeneous parameters (multiple codes) to train an agent to Battleship.
“Trace automatically optimizes heterogeneous parameters (multiple codes) to train an agent to Battleship.”
Quote in the paperSubstantial claim - Findingreasoning
The minimal subgraph conveys exactly the k bits of information needed to interpret the feedback correctly.
“Propagated feedback must communicate k bits of information to interpret the feedback correctly; and the minimal subgraph conveys exactly that information.”
Quote in the paperSubstantial claim - Findingnone given
Memory is crucial for OptoPrime to perform well at the traffic control task.
“Moreover, we find that memory is crucial for OptoPrime to perform well at this task.”
Quote in the paperNot a substantial claim - Findingown data
Providing task-related context is necessary in these experiments.
“In addition, in these experiments, we find that providing task-related context is necessary.”
Quote in the paperSubstantial claim - Findingreasoning
In the Battleship experiment, reward plateaued at 60%.
“The reward plateaued at 60%”
Quote in the paperNot a substantial claim - Findingown data
The ablation where information in #Inputs, #Others, #Code, #Definition in the LLM context is masked out leads to significant degrade in performance and stability.
“we include an ablation where we mask out information in #Inputs, #Others, #Code, #Definition in the LLM context (see Fig. A.1b), which lead to significant degrade in performance and stability.”
Quote in the paperSubstantial claim - Findingown data
Even allowing 7-10x more iterations of OPRO to equalize token costs, OPRO performance plateaus to a worse level than OptoPrime.
“However, we observe consistently that even allowing 7-10x more iterations of OPRO so as to equalize token costs, the OPRO performance plateaus to a worse level than OPTOPrime (e.g. ).”
Quote in the paperSubstantial claim - Findingreasoning
OPRO struggles even more when the computation graph gets more complex.
“We show OPRO struggles even more when the computation graph gets more complex.”
Quote in the paperSubstantial claim - Findingown data
The success rate of the learned policy varies largely across random seeds.
“We find that the success rate of the learned policy varies largely across random seeds.”
Quote in the paperNot a substantial claim - Findingnone given
When execution error happens within a method decorated by bundle, Trace adds a special exception node to the global computational graph and throws a TraceExecutionError to stop the computation.
“When execution error happens within a method decorated by bundle, Trace would adds a special exception node to the global computational graph and throw an TraceExecutionError to stop the computation.”
Quote in the paperSubstantial claim - Findingnone given
Trace can optimize code and LLM prompt jointly to successfully deliver the response expected by an automatic evaluation method.
“However, Trace can optimize code and LLM prompt jointly to successfully deliver the response expected by an automatic evaluation method.”
Quote in the paperNot a substantial claim - Findingcitation
On average, Trace is able to match the best-in-class first-order gradient optimizer Adam.
“On average, Trace is able to match the best-in-class first-order gradient optimizer Adam [25].”
Quote in the paperSubstantial claim0 of 1 sources checked- cites [25]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- Findingown data
Except for Reach, in a seed, often either it finds a policy close to 1.0 success rate or 0.0 success rate.
“Except for Reach (the simplest task), in a seed, often either it finds a policy close to 1.0 success rate or 0.0 success rate.”
Quote in the paperSubstantial claim - Findingreasoning
This O(W N) space complexity leads to the extra W N log N factor in the time complexity of MSP compared with back-propagation.
“This O(W N ) space complexity leads to the extra W N log N factor in the time complexity of MSP compared with back-propagation, which is the time needed for merging W subgraphs of size O(N ).”
Quote in the paperNot a substantial claim - Findingreasoning
Algorithm 2 has space complexity O(W N).
“This leads to the space complexity of O(W N ).”
Quote in the paperSubstantial claim - Findingown data
OptoPrime is clearly the top-performing optimizer in LLFBench Meta-World, especially the version with memory.
“OptoPrime is clearly the top-performing optimizer, especially the version with memory.”
Quote in the paperSubstantial claim - Findingreasoning
Propagated feedback must communicate k bits of information to interpret the feedback correctly.
“Propagated feedback must communicate k bits of information to interpret the feedback correctly; and the minimal subgraph conveys exactly that information.”
Quote in the paperSubstantial claim - Findingnone given
The TraceGraph is independent of optimizers and LLMs.
“This graph is independent of optimizers and LLMs.”
Quote in the paperSubstantial claim - Findingown data
Without the extra information added to the task instructions, none of the LLM-based optimizers works in the experiments.
“Without this extra information, none of the LLM-based optimizers works in the experiments.”
Quote in the paperSubstantial claim - Findingreasoning
Trace provides a clean separation between the infrastructure (a platform akin to PyTorch) and a generative optimizer (OptoPrime akin to the Adam optimizer).
“Trace provides a clean separation between the infrastructure (a platform akin to PyTorch) and a generative optimizer (OptoPrime akin to the Adam optimizer).”
Quote in the paperSubstantial claim - Findingnone given
Such independent computation graph objects do not exist in TextGrad.
“Such independent computation graph objects do not exist in TextGrad.”
Quote in the paperNot a substantial claim - Findingown data
Trace learns the feedback control policy (code) for a simulated Sawyer manipulator in LLF-Bench Meta-World.
“Learning the feedback control policy (code) for a simulated Sawyer manipulator in LLF-Bench Meta-World.”
- Also stated in: § # Iteration 1 { · plain
“Learning the feedback control policy (code) for a simulated Sawyer manipulator in LLF-Bench Metawrold.”
Quote in the paperSubstantial claim - Also stated in: § # Iteration 1 { · plain
- Interpretationnone given
The Trace optimizer figures out all the details through interactions as the computational graph unfolds and the feedback on the output is observed.
“The Trace optimizer figures out all the details through interactions as the computational graph unfolds and the feedback on the output is observed.”
Quote in the paperSubstantial claim - Interpretationown data
Framing computational workflow optimization as OPTO can lead to faster convergence than a black-box approach.
“We argue that framing computational workflow optimization as OPTO can lead to faster convergence than a black-box approach.”
Quote in the paperSubstantial claim - Interpretationown data
Trace can concretely improve upon existing LLM prompt optimization libraries.
“This result shows how Trace can concretely improve upon existing LLM prompt optimization libraries.”
Quote in the paperSubstantial claim - Interpretationreasoning
OPTO differs from a black-box setup in that the execution trace g shows the computational path toward the output, which provides information to construct a parameter update direction from f and ω.
“OPTO differs from a black-box setup in that the execution trace g shows the computational path toward the output, which provides information to construct a parameter update direction from f and ω.”
Quote in the paperSubstantial claim - Premisenone given
Trace can convert a computational workflow optimization problem into an OPTO problem.
“We created Trace that can convert a computational workflow optimization problem into an OPTO problem, and we demonstrated a tractable OPTO optimizer, OptoPrime.”
Quote in the paperSubstantial claim - Interpretationreasoning
Trace can use rich feedback (e.g. language) to extract more signal for learning.
“Finally, Trace can use rich feedback (e.g.language) to extract more signal for learning.”
Quote in the paperSubstantial claim - Premisereasoning
Trace can be applied to directly trace a given computational workflow without rewriting it using pre-defined templates.
“In addition, unlike TextGrad, Trace supports jointly optimizing heterogeneous parameters and can be applied to directly trace a given computational workflow without the need to rewrite the workflow using pre-defined templates.”
Quote in the paperSubstantial claim - Interpretationnone given
OPTO requires specification of operator descriptions and output feedback source to guide optimization effectively.
“The OPTO framework captures an abstraction of rich feedback, called trace feedback (the execution trace and the output feedback), but it requires specification of operator descriptions and output feedback source to guide the optimization effectively.”
Quote in the paperSubstantial claim - Interpretationreasoning
When the execution trace g is missing, it is unclear how the parameter can be improved given only a point evaluation of f.
“In the minimization example above, when the execution trace g is missing, it is unclear how the parameter can be improved given only a point evaluation of f .”
Quote in the paperSubstantial claim - Interpretationreasoning
Trace enables the development of new learning algorithms that incorporate rich feedback to update heterogeneous parameters.
“Trace enables the development of new learning algorithms (e.g. through OptoPrime) that incorporate rich feedback to update heterogenous parameters.”
Quote in the paperSubstantial claim - Interpretationnone given
OptoPrime is not a provably optimal algorithm.
“Although we demonstrated that OptoPrime could work well with moderate-size graphs, it is not a provably optimal algorithm and uses more tokens than OPRO, though, in our experiments, OPRO's performance does not improve even when given a large token budget.”
Quote in the paperNot a substantial claim - Interpretationnone given
With different propagators, Algorithm 1 can implement various forward-backward schemes including back-propagation.
“With different propagators, Algorithm 1 can implement various forward-backward schemes including back-propagation.”
Quote in the paperSubstantial claim - Premisereasoning
TextGrad couples the infrastructure and the optimization algorithm together.
“In fact, we easily implemented TextGrad as an optimizer in the Trace framework, but the reverse is not possible (because TextGrad couples the infrastructure and the optimization algorithm together).”
Quote in the paperSubstantial claim0 of 1 sources checked- cites [24]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- Premisereasoning
The structure of the computational graph g returned by the Trace Oracle T can be different in each iteration in the general case.
“We highlight that the structure of the computational graph g returned by the Trace Oracle T can be different in each iteration in the general case (as in Fig. 3) because some workflows can change with different inputs and parameters.”
Quote in the paperNot a substantial claim - Interpretationreasoning
With g documenting the functions used to create the output, an update direction (e.g., a gradient) can be derived.
“On the other hand, with g documenting the functions used to create the output, an update direction (e.g., a gradient) can be derived.”
Quote in the paperSubstantial claim - Premisenone given
The Trace framework automates the generation of the execution trace in OPTO when users decorate the workflow end-to-end.
“The Trace framework automates the generation of the execution trace in OPTO, when users of Trace decorate the workflow end-to-end.”
Quote in the paperSubstantial claim - Premisenone given
Trace supports jointly optimizing heterogeneous parameters.
“In addition, unlike TextGrad, Trace supports jointly optimizing heterogeneous parameters and can be applied to directly trace a given computational workflow without the need to rewrite the workflow using pre-defined templates.”
Quote in the paperSubstantial claim - Interpretationreasoning
The debugging ability and context limits of the LLM used in OptoPrime crucially determine the scale of problems that can be practically addressed today.
“The debugging ability and context limits of the LLM used in OptoPrime crucially determine the scale of problems that we can practically address today.”
Quote in the paperSubstantial claim - Interpretationreasoning
In principle, one can apply Trace to decorate and tune a workflow based on a mix of Autogen, LangChain, and DSPy codes.
“In principle, one can apply Trace to decorate and tune a workflow based on a mix of Autogen, LangChain, DSPy codes.”
Quote in the paperNot a substantial claim - Interpretationreasoning
The current design of OptoPrime has several scalability limitations due to its summary approach that updates parameters through one call to an LLM.
“The current design of OptoPrime has several scalability limitations due to its summary approach that updates parameters through one call to an LLM.”
Quote in the paperSubstantial claim - Interpretationnone given
In Trace, providing the graph to the LLM-based optimization through the pseudo-algorithm representation and consuming rich language feedbacks on the output accelerates hyper-parameter optimization.
“In Trace, we provide the graph to the LLM-based optimization (through the pseudo-algorithm representation), and we consume rich language feedbacks on the output, both of which accelerates hyper-parameter optimization.”
Quote in the paperSubstantial claim - Premisereasoning
Users of Trace are free to specify which parameters they want to automatically optimize via online interactions.
“Users of Trace are free to specify which parameters they want to automatically optimize via online interactions.”
Quote in the paperNot a substantial claim - Premisereasoning
For adapting these LLM-based optimizers to new problems, users need to design new prompts.
“For adapting them to new problems, users need to design new prompts.”
Quote in the paperSubstantial claim - Premisecitation
OPTO is a generalization of partial monitoring games.
“OPTO is a generalization of partial monitoring games [45].”
Quote in the paperNot a substantial claim0 of 1 sources checked- cites [45]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- Interpretationreasoning
OptoPrime likely cannot handle large graphs (with thousands of nodes) at the moment.
“Similarly, it likely cannot handle large graphs (with thousands of nodes) at the moment, as such a large graph would result in a huge context which may be beyond what LLMs can understand and reason about reliably.”
Quote in the paperNot a substantial claim - Interpretationreasoning
OptoPrime is not scalable for large problems.
“However, we remark that OptoPrime is just the first step; it is akin to the vanilla gradient descent algorithm, which shows a proof of concept but is not scalable for large problems.”
Quote in the paperSubstantial claim - Interpretationreasoning
For large-scale numerical problems, Trace and OptoPrime with the current design do not replace classical AutoDiff.
“While we show in Section 5.1, that OptoPrime can compete with ADAM in small problems, OptoPrime is not as computational efficient and cannot scale as well as ADAM; therefore, for large-scale numerical problems, Trace and OptoPrime with the current design does not replace classical AutoDiff.”
Quote in the paperSubstantial claim - Interpretationreasoning
OptoPrime is limited by the ability of LLMs.
“OptoPrime is also limited by the ability of LLMs.”
Quote in the paperSubstantial claim - Premisereasoning
These LLM-based optimizers focus on an isolated problem rather than considering a non-trivial workflow or agent with multiple components.
“Different from the works mentioned above, here the focus has been on an isolated problem (e.g., changing the behavior of a single LLM or improving the code generation in the question-answering format) rather than considering a non-trivial workflow or agent with multiple components like above.”
Quote in the paperSubstantial claim - Interpretationreasoning
The limitation of OptoPrime with large graphs is aggravated when dealing with noisy feedback or systems, as multiple graphs and feedback need to be presented in the context at once.
“This limitation is aggravated when dealing with noisy feedback or systems, as we need to present multiple graphs and feedback in the context at once.”
Quote in the paperNot a substantial claim - Interpretationnone given
The proposed OptoPrime optimizer shows the possibility of designing a single optimization algorithm to solve a range of OPTO problems from diverse domains.
“The proposed OptoPrime optimizer shows the possibility of designing a single optimization algorithm to solve a range OPTO problems from diverse domains.”
Quote in the paperNot a substantial claim - Interpretationreasoning
All other baselines in numerical optimization perform worse due to a lack of access to the computation graph.
“It is not entirely surprising that all the other baselines are performing worse due to a lack of access to the computation graph.”
Quote in the paperSubstantial claim - Interpretationreasoning
When the output feedback is just a scalar loss and the context plus execution trace feedback does not provide enough information to compute a descending direction, OPTO reduces back to a black box problem.
“For example, when the output feedback back is just a scalar loss, and yet the context + execution trace feedback does not provide enough information to compute a descending direction then OPTO reduces back to a black box problem.”
Quote in the paperSubstantial claim - Interpretationreasoning
The second usage is to enforce constraints the workflow has to satisfy at different stages of computation.
“The second usage is to enforce constraints the workflow has to satisfy at different stags of computation.”
Quote in the paperNot a substantial claim - Interpretationreasoning
Trace can be more expensive per LLM call compared to OPRO.
“Thus it can also be more expensive per LLM call compared to OPRO.”
Quote in the paperNot a substantial claim - Interpretationreasoning
OPRO is not an efficient optimizer because it lacks access to the Trace oracle.
“However, OPRO is not an efficient optimizer because it lacks access to the Trace oracle.”
Quote in the paperSubstantial claim - Premisereasoning
With Trace, if an intermediate computed result does not satisfy the constraint, one can throw an exception which states the desired constraint.
“With Trace, if an intermediate computed result does not satisfy the constraint, we can simply throw an exception which states the desired constraint.”
Quote in the paperSubstantial claim - Premisecitation
In many workflows today, enabled by LangChain and DSPy, only a small part of the workflow, predominantly the input to an LLM API call, is optimized.
“In many workflows today, enabled by LangChain [29] and DSPy [22], only a small part of this workflow, predominantly, the input to an LLM API call, is optimized.”
Quote in the paperSubstantial claim0 of 2 sources checked- cites [29]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- cites [22]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- Interpretationreasoning
By calling an OPTO optimizer, the parameters can be updated to avoid causing the same execution error.
“By calling an OPTO optimizer, the parameters can be updated to avoid causing the same execution error.”
Quote in the paperSubstantial claim - Premisereasoning
Execution error can be directly used as feedback to optimize parameters in Trace.
“It is worth mentioning that execution error can be directly used as feedback to optimize parameters in Trace.”
Quote in the paperSubstantial claim - Interpretationreasoning
Without the execution trace, there are search problem instances modeled by some ω and oracle giving f that cannot be efficiently solved.
“In other words, we know that, without the execution trace, there are search problem instances modeled by some ω and oracle giving f that cannot be efficiently solved.”
Quote in the paperSubstantial claim - Interpretationreasoning
This allows using Trace to automatically debug issues in the workflow due to incorrect parameter settings.
“First, this allows using Trace to automatically debug issues in the workflow due to incorrect parameter settings.”
Quote in the paperSubstantial claim - Interpretationown data
Additionally using the execution trace provides more informed search direction compared with just using the output feedback.
“This ablation shows that additionally using the execution trace provides more informed search direction compared with just using just the output feedback, which agrees with our hypothesis.”
Quote in the paperSubstantial claim - Interpretationreasoning
If OPTO can be efficiently solved, then many complex workflows can be efficiently optimized.
“This shows that if OPTO can be efficiently solved, then many complex workflows can be efficiently optimized.”
Quote in the paperNot a substantial claim - Interpretationnone given
GP appears bad in traffic control because even when it converged, the exploration heuristic randomly samples parameters rather than pick the converged parameter.
“GP appears to be bad because even when it converged, the exploration heuristic randomly samples parameters rather than pick the converged parameter.”
Quote in the paperNot a substantial claim - Interpretationnone given
OptoPrime is a new general-purpose LLM-based optimizer.
“We use a new general-purpose LLM-based optimizer OptoPrime that we detail in Section 4.”
Quote in the paperSubstantial claim - Interpretationreasoning
The strategy taken by OptoPrime can scale better to larger graphs (both in terms of error accumulation across multiple LLM calls, and the costs of multiple LLM calls) compared to requiring one LLM call per computation node.
“The strategy taken by OptoPrime can scale better to larger graphs (both in terms of error accumulation across multiple LLM calls, and the costs of multiple LLM calls) compared to requiring one LLM call per computation node”
Quote in the paperNot a substantial claim
- May combine two claims. 67
- Classified as probably not a substantial claim. 113
- The quote only partly states this claim. 2
May combine two claims.
Findingown dataThe general purpose OptoPrime is competitive with specialized optimizers for each domain, e.g., achieving 10% higher accuracy on BigBenchHard when optimizing a DSPy program compared to their hand-designed optimizer.
“We find that the general purpose OptoPrime is competitive with specialized optimizers for each domain, e.g., achieving 10% higher accuracy on BigBenchHard [21] when optimizing a DSPy [22] program compared to their hand-designed optimizer.”
Quote in the paperSubstantial claim0 of 2 sources checked- cites [21]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- cites [22]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.
FindingcitationTrace is available as a Python library with an API inspired by PyTorch.
“Trace is available as a Python library with an API inspired by PyTorch [19].”
Quote in the paperNot a substantial claim0 of 1 sources checked- cites [19]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
May combine two claims.
Findingnone givenThe agent can quickly improve its performance and learn strategies that are increasingly complex.
“The agent can quickly improve its performance and learn strategies that are increasingly complex.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.
Findingnone givenThere is no mention of the specific Battleship environment API, nor details on how the functions reason and act should behave or adapt in Fig. 2a.
“Remarkably, there is no mention of the specific Battleship environment API, nor details on how the functions reason and act should behave or adapt in Fig. 2a.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing), S4 (based).
Findingnone givenThe design of bundle allows tracing most Python codes, except for those modifying the content of an object reference in place.
“The design of bundle allows tracing most Python codes, except for those modifying the content of an object reference in place.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
FindingreasoningTrace logs the source code of decorated methods.
“Currently, OptoPrime uses the docstring of operators in the execution trace to understand the operators; nonetheless, Trace logs also the source code of the decorated methods, which can also be used in the future to design optimizers that uses more details of the operators.”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown dataFor a graph with N nodes and maximum degree W, Algorithms 1 and 2 have time complexity O(W N^2 log N) and space complexity O(W N).
“Theorem 1.For a graph with N nodes and maximum degree W , Algorithms 1 and 2 have time complexity O(W N 2 log N ) and space complexity 8 O(W N ).”
Quote in the paperSubstantial claimMay combine two claims.
FindingreasoningOptoPrime optimizes most workflows reasonably well using just the traced graph and feedback, but it can run into issues when single feedback alone is not informative.
“OptoPrime optimizes most workflows reasonably well using just the traced graph and feedback, but it can run into issues when single feedback alone is not informative (e.g., the output feedback is rewards, but there is no description of how the rewards are generated).”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
Findingnone givenCurrently, OptoPrime uses the docstring of operators in the execution trace to understand the operators.
“Currently, OptoPrime uses the docstring of operators in the execution trace to understand the operators; nonetheless, Trace logs also the source code of the decorated methods, which can also be used in the future to design optimizers that uses more details of the operators.”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown dataTextGrad can be easily implemented as an optimizer in Trace, and OptoPrime achieves similar or better performance than TextGrad while using much less computation time.
“We show that TextGrad can be easily implemented as an optimizer in Trace, and OptoPrime achieves similar or better performance than TextGrad while using much less computation time.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S2 (checkable), S3 (load-bearing), S4 (based).
FindingreasoningThis level of abstraction in our experiments strikes a good balance between the ease of documentation and the graph size.
“This level of abstraction in our experiments strikes a good balance between the ease of documentation and the graph size.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
Findingnone givenStateful functions that modify their state in place cannot be represented as a DAG without modification.
“Also, Trace cannot convert all computational workflows into OPTO problems, e.g., stateful functions that modify their state in place cannot be represented as a DAG without modification, and distributed/parallel computing workflows are incompatible with the current implementation (though in theory Trace can run in an asynchronous way so long as the overall graph does not end up with cycles).”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
FindingreasoningOptoPrime has a basic memory module that tracks the past parameter-feedback pairs as in-context examples.
“For robustness, we have a basic memory module in OptoPrime, which tracks the past parameter-feedback pairs as in-context examples.”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown dataTrace is quickly competitive with the SCATS heuristic, whereas OPRO is not.
“Trace is quickly competitive with the SCATS heuristic, whereas OPRO is not.”
- Also stated in: § I.4 Traffic Control · plain
“Trace is quickly competitive with the SCATS heuristic, whereas OPRO is not.”
Quote in the paperSubstantial claim- Also stated in: § I.4 Traffic Control · plain
May combine two claims.
Findingown dataTrace is able to match the best-in-class Adam; without access to the full computational graph, the feedback-alone optimizer struggles to find x*.
“Trace is able to match the best-in-class Adam; on the other hand, without access to the full computational graph, the feedback-alone optimizer struggles to find x * (Figure 5a).”
Quote in the paperSubstantial claimMay combine two claims.
FindingreasoningTextGrad can be implemented as an optimizer in the Trace framework, but the reverse is not possible.
“In fact, we easily implemented TextGrad as an optimizer in the Trace framework, but the reverse is not possible (because TextGrad couples the infrastructure and the optimization algorithm together).”
Quote in the paperSubstantial claimClassified as probably not a substantial claim.
Findingnone givenTrace provides a lightweight Python tool to implement the Trace Oracle of OPTO for optimizing computational workflows.
“Trace provides a lightweight Pythonfoot_2 tool to implement the Trace Oracle of OPTO for optimizing computational workflows.”
Quote in the paperSubstantial claimMay combine two claims.
Findingown dataIn the experiments, Trace + OptoPrime can effectively learn hyperparameters, faster than Bayesian optimization.
“Here in the experiments we show that Trace + OptoPrime also can effectively learn hyperparamters, faster than Bayesian optimization.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
Findingnone givenThe current design of OptoPrime does not handle non-textual content in parameters, inputs, or feedbacks.
“While Trace can handle this feedback, the current design of OptoPrime does not handle non-textual content (either in parameters, inputs or feedbacks).”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
Findingnone givenOptoPrime represents constraints on parameters as part of the text description.
“Lastly, right now OptoPrime represents the constraints on parameters as part of the text description, but we have observed that LLMs do not always follow it.”
Quote in the paperNot a substantial claimMay combine two claims.
FindingreasoningOptoPrime is not as computationally efficient and cannot scale as well as ADAM.
“While we show in Section 5.1, that OptoPrime can compete with ADAM in small problems, OptoPrime is not as computational efficient and cannot scale as well as ADAM; therefore, for large-scale numerical problems, Trace and OptoPrime with the current design does not replace classical AutoDiff.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
Findingnone givenOur experiments in Appendix I use workflows declared using both AutoGen and DSPy.
“In fact, our experiments in Appendix I use workflows declared using both AutoGen and DSPy.”
Quote in the paperNot a substantial claimMay combine two claims.
FindingreasoningUpdating the parameter using the minimal subgraph is trivial, whereas without it there are 2^k possibilities to check.
“Updating the parameter using the minimal subgraph is trivial, whereas without it there are 2 k possibilities to check.”
Quote in the paperSubstantial claimMay combine two claims.
Findingnone givenTrace consumes additional overhead compared to black-box methods; beyond the space and time complexity for running the traffic simulation, Trace additionally materializes the computation graph per iteration.
“Finally, Trace consumes additional overhead compared to black-box methods; beyond the space and time complexity for running the traffic simulation, Trace additionally materializes the computation graph per iteration.”
Quote in the paperNot a substantial claimClassified as probably not a substantial claim. May combine two claims.
Findingnone givenTrace builds a DAG as the workflow executes and updates the parameters.
“Trace then builds a DAG as the workflow executes and updates the parameters”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S3 (load-bearing), S4 (based).
Findingnone givenSuch errors can happen frequently especially when codes are parameters, as during optimization codes not satisfying syntax or downstream API requirements can happen.
“Such errors can happen frequently especially when codes are parameters, as during optimization codes not satisfying syntax or downstream API requirements can happen.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
FindingreasoningThis error handling mechanism has two convenient usages.
“We find that this error handling mechanism has two convenient usages.”
Quote in the paperNot a substantial claimClassified as probably not a substantial claim. May combine two claims.
FindingreasoningThe exception node becomes the new output of the inputs to the decorated method and is the output of the truncated computational graph.
“This exception node becomes the new output of the inputs to the decorated method (since the original method raises an error) and is the output of the truncated computational graph.”
Quote in the paperSubstantial claimMay combine two claims.
FindingreasoningMessages in TraceExecutionError can be used as the feedback f in OPTO and propagated from the exception node to the parameters.
“Messages in TraceExecutionError can then be used as the feedback f in OPTO and propagated from the exception node to the parameters.”
Quote in the paperSubstantial claimMay combine two claims.
FindingcitationOPRO is able to solve Reach at the start but its performance degraded over iterations and gets similar performance as OptoPrime without memory in Push.
“OPRO is able to solve Reach at the start but its performance degraded over iterations (this instability was observed in [13]) and gets similar performance as OptoPrime (without memory) in Push.”
Quote in the paperNot a substantial claim0 of 1 sources checked- cites [13]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
May combine two claims.
Findingown dataTrace is able to learn a complex control logic in dozens of interactions, not only working on the training initial conditions but also on the held-out testing ones.
“The experimental results here are quite impressive, showing that Trace is able to learn a complex control logic in a dozens of interactions, not only working on the training initial conditions but also on the held-out testing ones too.”
Quote in the paperSubstantial claimClassified as probably not a substantial claim.
FindingreasoningThe computational graph ends at where the execution error happens.
“The computational graph ends at where the execution error happens.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S4 (based). May combine two claims.
Findingnone givenEven though DSPy's meta-prompt optimization is trained on each task individually, the output of LLM to the evaluation method is still not post-processed, resulting in low performances of these tasks.
“Even though DSPy's meta-prompt optimization is trained on each task individually, the output of LLM to the evaluation method is still not post-processed, resulting in low performances of these tasks.”
Quote in the paperNot a substantial claimMay combine two claims.
Findingown dataTrace optimizes both DSPy's original design and outperforms their own optimizer COPRO by 10% on algorithmic tasks.
“Trace optimizes both DSPy's original design and outperforms their own optimizer COPRO by 10% on algorithmic tasks.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S3 (load-bearing), S4 (based).
Findingnone givenAll algorithms in Trace see the same graph, which is slightly different from the graph of TextGrad.
“All algorithms in Trace see the same graph, which is slightly different from the graph of TextGrad.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing), S4 (based).
Findingnone givenThe real program and the traced execution graph are different.
“Note that the real program and the traced execution graph are different.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S4 (based).
Findingnone givenTrace encapsulates all Python datatypes as node, including numbers, floats, strings, etc.
“Trace encapsulates all Python datatypes as node, including numbers, floats, strings, etc.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
Findingown dataThe problem horizon is set to 10 steps because expert policies implemented in LLF-Bench can solve these problems within 10 steps.
“We set the problem horizon to be 10 steps, as we find the expert policies implemented in LLF-Bench can solve these problems within 10 steps.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing), S4 (based).
Findingnone givenThe numbers in the original paper cannot be reproduced exactly despite using the released TextGrad code.
“The numbers in the original paper cannot be reproduced exactly despite using the released TextGrad code.”
Quote in the paperNot a substantial claimMay combine two claims.
Findingnone givenTrace automatically constructs a computation graph and represents the optimization problem as a debugging report.
“Trace automatically constructs a computation graph and represent the optimization problem as a debugging report.”
Quote in the paperSubstantial claimClassified as probably not a substantial claim.
Findingown dataThe task name alone, except for Reach, is too vague even for humans to understand how to read the observation dictionary is related to the problem.
“We find this task name alone, except for Reach, is too vague even for humans to understand how to read the observation dictionary is related to the problem”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
Findingnone givenThe current implementation of Trace is in Python.
“The current implementation is in Python.”
Quote in the paperNot a substantial claimMay combine two claims.
Interpretationnone givenPropagating the execution trace subsumes back-propagation for differentiable workflows, and remains applicable even for non-differentiable workflows.
“We show that propagating the execution trace subsumes back-propagation for differentiable workflows, and remains applicable even for non-differentiable workflows.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S4 (based).
Interpretationnone givenTrace, OPTO, and OptoPrime together provide the first tractable algorithm for optimizing general computational workflows end-to-end.
“Trace, OPTO, and OptoPrime together provide the first tractable algorithm for optimizing general computational workflows end-to-end.”
Quote in the paperNot a substantial claimMay combine two claims.
PremisecitationComputational workflow optimization is usually framed as a black-box or algorithm configuration problem, and is tackled by general techniques like Bayesian Optimization, Evolutionary Algorithms, Reinforcement Learning using scalar scores as feedback.
“Due to its complexity, computational workflow optimization is usually framed as a black-box [6] or algorithm configuration [7] problem, and is tackled by general techniques like Bayesian Optimization [8], Evolutionary Algorithms [9], Reinforcement Learning (RL) [10] using scalar scores as feedback.”
Quote in the paperSubstantial claim0 of 5 sources checked- cites [6]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- cites [7]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- cites [8]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- cites [9]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- cites [10]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
May combine two claims.
Interpretationnone givenOne observation of scalar feedback alone does not provide an improvement signal, so these algorithms are very inefficient when the parameter space is large (e.g. codes or natural language prompts).
“But one observation of scalar feedback alone does not provide an improvement signal, so these algorithms are very inefficient when the parameter space is large (e.g.codes or natural language prompts).”
Quote in the paperNot a substantial claimMay combine two claims.
InterpretationreasoningExecution traces enable end-to-end generative optimization, because they provide the information needed to relate rich feedback to the parameters in general workflows.
“Our novel insight is that execution traces also enable end-to-end generative optimization, because they provide the information needed to relate rich feedback to the parameters in general workflows.”
Quote in the paperSubstantial claimMay combine two claims.
Interpretationnone givenWorkflow execution traces are akin to back-propagated gradients in AutoDiff and can provide key information to interpret feedback for efficient optimization.
“We discover that workflow execution traces are akin to back-propagated gradients in AutoDiff and can provide key information to interpret feedback for efficient optimization.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S3 (load-bearing), S4 (based).
InterpretationreasoningSince MSP only involves merging priority queues of references, most actual computation happens in the forward pass (and also the optimizer's step method).
“Since MSP only involves merging priority queues of references, most actual computation happens in the forward pass (and also the optimizer's step method).”
Quote in the paperNot a substantial claimClassified as probably not a substantial claim.
Premisenone givenThe OPTO framework captures an abstraction of rich feedback called trace feedback (the execution trace and the output feedback).
“The OPTO framework captures an abstraction of rich feedback, called trace feedback (the execution trace and the output feedback), but it requires specification of operator descriptions and output feedback source to guide the optimization effectively.”
Quote in the paperSubstantial claimMay combine two claims.
Premisenone givenBlack-box optimization techniques can use numerical feedback to optimize heterogeneous parameters, though they are inefficient.
“Black-box optimization techniques (e.g.Reinforcement Learning) can use numerical feedback to optimize heterogenous parameters (e.g.codes, hyper-parameters as well as tensors), though they are inefficient.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S4 (based). May combine two claims.
Premisenone givenBack-propagation has time and space complexities of O(W N d^2) and O(d) respectively, where d is the maximal dimension of tensors.
“By contrast, back-propagation has time and space complexities of O(W N d 2 ) and O(d) respectively, where d is the maximal dimension of tensors.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing), S4 (based).
InterpretationreasoningDespite the worst case complexity of MSP, in practice the difference is negligible.
“Despite the worst case complexity of MSP, in practice the difference is negligible.”
Quote in the paperNot a substantial claimMay combine two claims.
InterpretationreasoningIn the most general setting of computational graphs and feedback, the propagated feedback does not have a constant size and needs the full subgraph.
“The difference is because in the most general setting of computational graphs and feedback, the propagated feedback (no matter how it is represented) does not have a constant size and needs the full subgraph.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S4 (based). May combine two claims.
Interpretationnone givenOPTO can be more efficiently solvable than black-box problems only when the trace feedback provides information beyond reward signals; otherwise, information-wise, OPTO is no easier than black-box problems.
“OPTO can be more efficiently solvable than black-box problems only when the trace feedback provides information beyond reward signals; otherwise, information-wise, OPTO is no easier than black-box problems.”
Quote in the paperNot a substantial claimClassified as probably not a substantial claim.
Premisenone givenIn OptoPrime, optimization is connected to an LLM's reasoning capability.
“In OptoPrime, we connect optimization to an LLM's reasoning capability.”
Quote in the paperSubstantial claimClassified as probably not a substantial claim.
Premisenone givenAutoDiff for deep neural networks uses numerical feedback to optimize numerical parameters.
“In contrast, AutoDiff for deep neural networks uses numerical feedback (e.g.rewards or loss functions) to optimize numerical parameters (e.g.tensors).”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S4 (based).
Interpretationnone givenThrough the OPTO framing, Trace separates the design of optimizers and domain-specific components so that general-purpose optimizers can be built that work across diverse domains.
“Through the OPTO framing, Trace separates the design of optimizers and domain-specific components so that general-purpose optimizers can be built that work across diverse domains.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
PremisecitationTextGrad shares the same goal of end-to-end optimizing AI workflows as Trace.
“After the submission of our work to NeurIPS, another AutoDiff-like framework, TextGrad [24], was released, which shares the same goal of end-to-end optimizing AI workflows as Trace.”
Quote in the paperNot a substantial claim0 of 1 sources checked- cites [24]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
Probably not a substantial claim: may not pass S4 (based).
Premisenone givenOne core challenge of designing an LLM-based OPTO optimizer is how to represent the execution trace subgraph g to LLMs, in a way that LLMs can understand and reason about the downstream effects of parameter updates.
“One core challenge of designing an LLM-based OPTO optimizer is how to represent the execution trace subgraph g (which can involve various graph structures and heterogenous data) to LLMs, in a way that LLMs can understand and reason about the downstream effects of parameter updates.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing), S4 (based). May combine two claims.
Interpretationnone givenGP and PSO appear bad because 50 iterations are insufficient for their convergence; given enough iterations, both will eventually perform well.
“GP and PSO appear bad because 50 iterations are insufficient for their convergence; given enough iterations, both will eventually perform well.”
Quote in the paperNot a substantial claimMay combine two claims.
PremisecitationOPRO does not use the execution trace but relies on the memory of parameter and feedback pairs.
“We implement the state-of-the-art LLM optimizer OPRO [13] as a baseline; in comparison with OptoPrime, OPRO does not use the execution trace but relies on the memory of parameter and feedback pairs.”
Quote in the paperNot a substantial claim0 of 1 sources checked- cites [13]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
May combine two claims.
Interpretationnone givenThe Trace framework leverages a workflow's structure and can incorporate rich feedback beyond scores, extending AutoDiff to complicated, non-differentiable computational workflows.
“The Trace framework a) leverages a workflow's structure and b) can incorporate rich feedback beyond scores, extending AutoDiff to complicated, non-differentiable computational workflows.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S2 (checkable), S4 (based). May combine two claims.
Interpretationnone givenNot all details matter in optimization, so exposing every low-level operator can make the graph unnecessarily cluttered.
“On the other hand, not all details matter in optimization, so exposing every low-level operator can make the graph unnecessarily cluttered.”
Quote in the paperNot a substantial claimClassified as probably not a substantial claim.
Study design and conductnone givenThe experimental design makes the comparison fair by allowing each optimizer to access the same LLM APIs around the same time.
“This experimental design makes the comparison fair by allowing each optimizer to access the same LLM APIs around the same time, and showcases the flexibility of Trace framework to optimize any computational workflow.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
InterpretationreasoningDifferent abstraction choices trade off the graph complexity and the description needed for each operator.
“Different abstraction choices trade off the graph complexity and the description needed for each operator.”
Quote in the paperNot a substantial claimClassified as probably not a substantial claim.
InterpretationreasoningOnly allowing the change to one part of a workflow but not others can be limiting for building self-adapting agents that can modify their own behavior.
“However, for building self-adapting agents that can modify their own behavior, only allowing the change to one part of a workflow but not others can be limiting.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S3 (load-bearing), S4 (based).
Premisenone givenIn Trace, the chosen propagator (MSP) maximally preserves information for a general computation graph.
“In Trace, we chose a specific propagator (MSP), which maximally preserves information for a general computation graph.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S2 (checkable), S3 (load-bearing).
InterpretationreasoningThe best representation depends on the application and OPTO optimizer at hand.
“The best representation depends on the application and OPTO optimizer at hand.”
Quote in the paperNot a substantial claimMay combine two claims.
PremisecitationTextGrad propagates text feedback, whereas Trace propagates minimal subgraphs.
“In comparison, TextGrad propagates text feedback, whereas Trace propagates minimal subgraphs (see Section 3.3).”
Quote in the paperNot a substantial claim0 of 1 sources checked- cites [24]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
Classified as probably not a substantial claim.
Interpretationnone givenProviding details of all operators in g through the context ω will require manually crafting a context for every workflow.
“However, this will require manually crafting a context for every workflow.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
Interpretationnone givenIn theory Trace can run asynchronously so long as the overall graph does not end up with cycles.
“Also, Trace cannot convert all computational workflows into OPTO problems, e.g., stateful functions that modify their state in place cannot be represented as a DAG without modification, and distributed/parallel computing workflows are incompatible with the current implementation (though in theory Trace can run in an asynchronous way so long as the overall graph does not end up with cycles).”
Quote in the paperNot a substantial claimMay combine two claims.
Interpretationown dataTrace is able to learn a sophisticated control logic in dozens of interactions, working on both training and held-out testing initial conditions.
“The experimental results here are quite impressive, showing that Trace is able to learn a sophisticated control logic in dozens of interactions, not only working on the training initial conditions but also on held-out testing ones too.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S3 (load-bearing), S4 (based).
Interpretationnone givenFor a single problem, there is no difference in principle; one can choose to provide details of all operators in g through the context ω.
“For a single problem, there is no difference in principle; one can choose to provide details of all operators in g through the context ω.”
Quote in the paperNot a substantial claimClassified as probably not a substantial claim. May combine two claims.
InterpretationreasoningAbstracting everything into a single operator makes a trivial graph but requires more descriptions to faithfully capture the workflow.
“Abstracting everything into a single operator makes a trivial graph but requires more descriptions to faithfully capture the workflow.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
PremisecitationSAMMO represents the prompt parameter itself as a program to enable more efficient black-box search through the space of programs.
“SAMMO represents the prompt parameter itself as a program so as to enable more efficient black-box search through the space of programs.”
Quote in the paperNot a substantial claim0 of 1 sources checked- cites [14]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.
Premisecitation[37] frames LLM systems as a graph where nodes are operations and edges are messages/connections, and optimizes for the connection on edges by REINFORCE using scalar reward feedback and prompts by LLMs.
“[37] frames LLM systems as graph where nodes are operations and edges are messages/connections. (Note that this is different from the DAG used in Trace; here nodes are messages and edges are input-output of operators) and optimizes for the connection on edges (binary variables) by REINFORCE using scalar reward feedback and prompts by LLMs .”
Quote in the paperNot a substantial claim0 of 1 sources checked- cites [37]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
Probably not a substantial claim: may not pass S3 (load-bearing).
PremisecitationDSPy can optimize directly the prompts or the few-shot examples to include using scalar reward feedback.
“DSPy [22] can optimize directly the prompts or the few-shot examples to include using scalar reward feedback.”
Quote in the paperNot a substantial claim0 of 1 sources checked- cites [22]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
Probably not a substantial claim: may not pass S3 (load-bearing).
PremisecitationSAMMO is an example for prompts that uses additional graph structure to make the optimizer efficient.
“SAMMO [14] is an example for prompts that uses additional graph structure to make the optimizer efficient.”
Quote in the paperNot a substantial claim0 of 1 sources checked- cites [14]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
May combine two claims.
InterpretationreasoningOptoPrime has difficulty handling parameters or nodes that cannot be compactly represented in text, which prevents it from optimizing neural network weights or reasoning with large, stateful objects like a database.
“It has difficulty in handling parameters or nodes that cannot be compactly represented in text, which prevents it from optimizing neural network weights, or reasoning with large, stateful objects like a database.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
PremisecitationRecent works use LLMs to optimize numerical hyperparameters as an alternate to Bayesian optimization.
“Recent works like [43,44] use LLMs to optimize numerical hyperparameters, as an alternate to Bayesian optimization.”
Quote in the paperNot a substantial claim0 of 2 sources checked- cites [43]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- cites [44]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.
PremisecitationThe gradient can be computed in a forward mode, and there are techniques of Checkpointing and Truncated Back-Propagation approximation for efficiency.
“For example, the gradient can be computed in a forward mode (Forward Mode Differentiation) as well, and there are also techniques of Checkpointing [46] and Truncated Back-Propagation approximation [47] for efficiency.”
Quote in the paperNot a substantial claim0 of 2 sources checked- cites [46]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- cites [47]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
Probably not a substantial claim: may not pass S3 (load-bearing).
PremisereasoningBackpropagation (Backward Mode Differentiation) is not the only AutoDiff algorithm.
“Nonetheless, we highlight that backpropagation (Backward Mode Differentiation) is not the only AutoDiff algorithm.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
Premisenone givenThese frameworks support tracing of the workflow to aid in profiling, debugging and visualization.
“They support tracing of the workflow to aid in profiling, debugging and visualization.”
Quote in the paperNot a substantial claimMay combine two claims.
PremisecitationThese LLM-based optimizers, including OPRO, often propose only principles of how prompts should be designed and require crafting problem-specific prompts.
“In addition, these LLM-based optimizers, including OPRO [13], often propose only principles of how prompts should be designed and requires crafting problem specific prompts (as opposed to a single optimization prompt that can be applied to different problems).”
Quote in the paperSubstantial claim0 of 1 sources checked- cites [13]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
Probably not a substantial claim: may not pass S3 (load-bearing).
Premisenone givenThese algorithms focus on optimizing prompts.
“These algorithms focus on optimizing prompts.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
PremisecitationThere is a huge and fast growing literature on using LLMs as optimizers to improve prompts or codes.
“There is a huge and fast growing literature on using LLMs as optimizers to improve prompts [12,11,[38][39][40] or codes [41,15,42,38].”
Quote in the paperNot a substantial claim0 of 5 sources checked- cites [12,11,[38][39][40]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- cites [41]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- cites [15]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- cites [42]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- cites [38]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
May combine two claims.
PremisereasoningThrough the OPTO framing, Trace supports joint optimization of all parameters (prompts, hyperparameters, codes) with rich feedback, and is agnostic to graph structures.
“In contrast to these works, through the OPTO framing, Trace supports joint optimization of all parameters (prompts, hyperparameters, codes) with rich feedback, and is agnostic to graph structures (e.g., changing these parameters can dynamically change the graph structure and connections between nodes).”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
PremisecitationOPTO can be viewed as a special case of Learning from Language Feedback (LLF) setup defined in [23] with observations as the trace feedback.
“On the other hand, OPTO can be also viewed as a special case of Learning from Language Feedback (LLF) setup defined in [23] with observations as the trace feedback.”
Quote in the paperNot a substantial claim0 of 1 sources checked- cites [23]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
Probably not a substantial claim: may not pass S2 (checkable), S3 (load-bearing).
PremisereasoningThis is a framing of a meta LLF problem.
“This is a framing of a meta LLF problem.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.
PremisecitationOur design of Trace is inspired by back-propagation and the ease of use of the AutoDiff framework PyTorch.
“Our design of Trace is inspired by back-propagation and the ease of use of the AutoDiff framework PyTorch [19].”
Quote in the paperNot a substantial claim0 of 1 sources checked- cites [19]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.
PremisecitationDeep Language Networks view all of the prompts in an LLM workflow as tunable parameters and jointly optimizes them.
“Deep Language Networks [36] view all of the prompts in an LLM workflow as tunable parameters and jointly optimizes them.”
Quote in the paperNot a substantial claim0 of 1 sources checked- cites [36]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
May combine two claims.
PremisereasoningThese LLM-based optimizers do not consider optimizing prompts or codes as one component of a bigger workflow, which is harder and requires the right credit assignment.
“They do not consider optimizing prompts or codes as one component of a bigger workflow (e.g.implementing an autonomous agent), which is harder and requires the right credit assignment.”
Quote in the paperSubstantial claimMay combine two claims.
Premisecitation[37]'s prompt optimization part does not take output feedback, but uses an LLM to self-check whether the prompt meets the need of generating desired functions the user specified.
“Their prompt optimization part also does not take output feedback, but simply use an LLM to self-check whether the prompt meets the need of generating desired functions the user specified.”
Quote in the paperSubstantial claim0 of 1 sources checked- cites [37]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
Probably not a substantial claim: may not pass S3 (load-bearing), S4 (based).
Premisenone givenBack-propagation has been shown to be a very effective tool in optimizing differential computational workflows.
“Back-propagation has been shown to be a very effective tool in optimizing differential computational workflows.”
Quote in the paperNot a substantial claimMay combine two claims.
Premisenone givenTrace is designed to be general-purpose and agnostic to the underlying frameworks of computational workflows users choose.
“Moreover, Trace is designed to be general-purpose and agnostic to the underlying frameworks of computational workflows users choose.”
Quote in the paperSubstantial claimClassified as probably not a substantial claim.
PremisecitationDeep Language Networks discovered that optimizing each parameter in isolation produces subpar results.
“They discovered that optimizing each parameter in isolation instead produces subpar results.”
Quote in the paperSubstantial claim0 of 1 sources checked- cites [36]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
Probably not a substantial claim: may not pass S3 (load-bearing).
PremisecitationRetroformer uses another small language model to provide suggestions/feedback to improve the behavior of an actor LLM, where the small LM is tuned by offline RL.
“Retroformer [35] uses another small language model (LM) to provide suggestions/feedback (i.e.changing prompts) to improve the behavior of an actor LLM, where the small LM is tuned by offline RL.”
Quote in the paperNot a substantial claim0 of 1 sources checked- cites [35]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
Probably not a substantial claim: may not pass S3 (load-bearing).
PremisecitationIf there exists a latent loss function that the feedback f adheres to, those OPTO instances can be written as partial monitoring game.
“If there exists a latent loss function that the feedback f adheres to (e.g. as in [23]), those OPTO instances can be written as partial monitoring game.”
Quote in the paperNot a substantial claim0 of 1 sources checked- cites [23]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
Probably not a substantial claim: may not pass S3 (load-bearing).
PremisereasoningThe main difference between Trace and the aforementioned hyperparameter optimization work is the representation of the problem.
“The main difference between Trace and the aforementioned work is the representation of the problem.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing), S4 (based).
Premisenone givenTrace can also be applied to optimize trivial OPTO problems where the returned graph has just a single node of the parameter.
“Trace can also be applied to optimize trivial OPTO problems where the returned graph has just a single node of the parameter (which are the scenarios considered by these works).”
Quote in the paperNot a substantial claimClassified as probably not a substantial claim.
Premisecitation[37] optimizes each component separately without considering each other.
“They optimize each component separately without considering each other; for example, the prompts are optimized individually without considering the graph topology or how they are used down the road.”
Quote in the paperSubstantial claim0 of 1 sources checked- cites [37]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
Probably not a substantial claim: may not pass S3 (load-bearing).
Premisenone givenThere are multiple efforts to optimize the computational graph of LLM workflows, which is a special case of the OPTO problem.
“There are multiple efforts to optimize the computational graph of LLM workflows, which is a special case of the OPTO problem.”
Quote in the paperNot a substantial claimMay combine two claims.
PremisecitationFrameworks such as LangChain, Semantic Kernels, AutoGen, and DSPy allow composing computational workflows and provide hand-engineered optimizers to tune an LLM's context using scalar feedback with black-box search techniques.
“Frameworks such as LangChain [29], Semantic Kernels, AutoGen [5], DSPy [22] allow composing computational workflows and provide handengineered optimizers to tune an LLM's context (i.e.prompt templates, few shot examples, or tool libraries) using scalar feedback with black-box search techniques.”
Quote in the paperSubstantial claim0 of 3 sources checked- cites [29]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- cites [5]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
- cites [22]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
May combine two claims. The quote only partly states this claim.
InterpretationreasoningTrace achieves efficient optimization as the graph becomes nontrivial and for diverse applications by using the abstract OPTO problem framing.
“Trace achieves this by using the abstract OPTO problem framing.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
PremisereasoningOPTO admits a more general notion of feedback f than partial monitoring games.
“However OPTO admits a more general notion of feedback f , and we discuss solution concepts for them in Appendix F.”
Quote in the paperNot a substantial claimMay combine two claims.
Premisenone givenTrace uses tracing for automatic optimization and constructs a different representation of the computational graph suited for that purpose.
“In contrast, Trace uses tracing for automatic optimization, and constructs a different representation of the computational graph which is suited for that purpose.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S4 (based).
InterpretationreasoningThe verification of a solution depends only on the output of computation.
“That is, the verification of a solution depends only on the output of computation.”
Quote in the paperNot a substantial claimMay combine two claims.
PremisecitationWithout the execution trace, tabular RL has exponential complexity due to the size of the policy space; using the execution trace, tabular RL can be solved approximately in polynomial time.
“Without the execution trace (i.e., not seeing the Markovian structure and trajectories), the problem has an exponential complexity (due to the size of the policy space) and we know by using the execution trace here, tabular RL can be solved approximately in polynomial time [49].”
Quote in the paperSubstantial claim0 of 1 sources checked- cites [49]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
Probably not a substantial claim: may not pass S4 (based).
PremisereasoningThe formulation of the Trace Oracle abstracts the details of a computational workflow, so problems from different domains can be framed in the unified framework.
“The formulation of the Trace Oracle abstracts the details of a computational workflow, so problems from different domains can be framed in the unified framework.”
Quote in the paperNot a substantial claimMay combine two claims.
Interpretationown dataOPRO is suboptimal not due to a token limit but instead a lack of information, which is captured and represented using Trace.
“OPRO is suboptimal not due to a token limit but instead a lack of information, which is captured and represented using Trace.”
Quote in the paperSubstantial claimClassified as probably not a substantial claim.
InterpretationreasoningUsing information in the execution trace is the key to unlock efficient OPTO.
“From these observations, we conjecture using information in the execution trace is the key to unlock efficient OPTO.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S2 (checkable), S4 (based).
Interpretationnone givenOPTO covers a wide range of complicated optimization problems.
“We show that OPTO covers a wide range of complicated optimization problems.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S2 (checkable).
InterpretationreasoningThis abstraction allows designing the computational tool Trace for various applications.
“This abstraction allows us to design the computational tool Trace for various applications.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S4 (based).
Premisenone givenSearch problems can be NP-hard.
“However search problems can be NP-hard.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
InterpretationreasoningThe plots can roughly be interpreted as how long it takes to find a working policy.
“Therefore, the plots can roughly be interpreted as how long it takes to find a working policy.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.
InterpretationreasoningThe generality of OPTO raises fundamental questions such as if OPTO is well defined and when OPTO can be efficiently solved.
“However, the generality of OPTO also raises some fundamental questions, such as if OPTO is well defined and when OPTO can be efficiently solved.”
Quote in the paperNot a substantial claimMay combine two claims.
InterpretationreasoningWithout the execution trace, training neural networks is a complex black-box optimization with a loss value and no gradients; an execution trace allows implementation of back-propagation to compute gradients at the parameters.
“Without the execution trace, we have a complex black-box optimization with a loss value, without gradients, whereas an execution trace allows implementation of back-propagation to compute the gradients at the parameters.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S3 (load-bearing), S4 (based).
Premisenone givenThe rollout length in the RL problem can be randomly determined.
“Similarly, the rollout length of in the RL problem can be randomly determined.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S2 (checkable).
PremisecitationClassical mathematical optimization problems have a problem definition which itself is the solution concept.
“Classical mathematical optimization problems have a problem definition which itself is the solution concept.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
InterpretationreasoningThere are clearly problems where no solution exists (no parameter in Θ can be verified by the verification oracle).
“There are clearly problems where no solution exists (that is, no parameter in Θ can be verified by the verification oracle).”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S2 (checkable), S3 (load-bearing).
InterpretationreasoningThese questions stem from the generality of the context ω and the output feedback f in OPTO, since they can be anything describable as texts.
“These questions stem from its generality of the context ω and the output feedback f in OPTO, since e.g. they can be anything descriable texts.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.
PremisecitationIn a minimization problem, the solution concept is to find the minimum of an objective function; in an equilibrium problem, the solution concept is finding a point/set satisfying an equilibrium inequality.
“For example, in a minimization problem, it is clear we want to find the minimum of an objective function; even for problems as abstract and general as an equilibrium problem, the problem setup clearly states the solution concept of finding a point/set satisfying an equilibrium inequality [48].”
Quote in the paperNot a substantial claim0 of 1 sources checked- cites [48]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
Probably not a substantial claim: may not pass S4 (based).
Premisenone givenIn an OPTO problem, by varying the context ω, the desired parameter can change from one extreme to another.
“By contrast, in a OPTO problem (Θ, ω, T ), by varying the context ω, the desired parameter can change from one extreme to another.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S4 (based).
InterpretationreasoningOPTO is efficiently solvable when the context and the trace feedback provide information to construct a corrective search direction.
“More precisely, we conjecture that OPTO is efficiently solvable when the context and the trace feedback need to provide information to construct a corrective search direction.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S4 (based). May combine two claims.
Interpretationnone givenTrace abstracted away the different data types and enabled direct update and optimization of them.
“Trace abstracted away the different data types and enabled direct update and optimization of them.”
Quote in the paperNot a substantial claimClassified as probably not a substantial claim.
PremisereasoningThe verification oracle in Axiom 1 is not limited to just algorithms.
“Notice the verification oracle in Axiom 1 is not limited to just algorithms.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S4 (based). May combine two claims.
Interpretationnone givenThis assumption rules out problems where the feedback is adversary to the context, and makes solving OPTO a well-defined search problem.
“This assumption would rule out problems, e.g., where the feedback is adversary to the context, and makes solving OPTO is a well-defined search problem.”
Quote in the paperNot a substantial claim- The authors state this as an assumption: For an OPTO problem, there exists at least one parameter that the verification oracle can verify as a solution.
May combine two claims.
InterpretationreasoningThis error signal is caught by Trace and can provide early feedback to efficiently improve the parameters, since the graph is truncated at the error.
“This error signal would be caught by Trace and can then provide early feedback to efficiently improve the parameters, since the graph is truncated at the error.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S2 (checkable), S3 (load-bearing).
InterpretationreasoningFully characterizing the properties of OPTO is beyond the scope of this paper and would require years of future research.
“Fully characterize the properties of OPTO, due to its generality, is beyond the scope of this paper and would require years of future research to come.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
Interpretationnone givenPSO appears bad in traffic control because 10 iterations is insufficient for its convergence.
“PSO appears bad because 10 iterations is insufficient for its convergence.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.
PremisecitationOut of 23 Big-Bench Hard tasks, 14 require a multiple-choice answer, 4 require yes/no, 1 requires True/False, 1 requires valid/invalid, and 3 require answers that contain words or numbers.
“Out of 23 tasks, 14 tasks require a multiple-choice answer with options provided in the question.4 of them require yes/no. 1 task requires True/False, while 1 task requires valid/invalid.And the 3 remaining tasks require answers that contain words or”
Quote in the paperNot a substantial claim0 of 1 sources checked- cites [21]
Couldn’t be matched to a paper in Crossref, so it can’t be checked.
Classified as probably not a substantial claim.
PremisereasoningVerifiability is only defined with respect to the context ω and the output feedback f, not the execution trace g.
“Lastly we note the verifiability is only defined with respect to the context ω and the output feedback f , not the execution trace g.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S2 (checkable), S4 (based).
Premisenone givenOne common pattern of classical optimization problems is that the solution concept can be described as conditions on feedback that the parameter should satisfy.
“One common pattern of these problems is that the solution concept is something that can be described as conditions on feedback that the parameter should satisfy.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing), S4 (based).
Premisenone givenThe length of the execution trace depends on how far the code executes.
“The length of the execution trace, e.g., in the debugging example above depends on how far the code executes.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing), S4 (based).
Premisenone givenThe computational graph g returned by the Trace Oracle T may have different graph structures.
“As mentioned, the computational graph g returned by the Trace Oracle T may have different graph structures.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
Study design and conductnone givenMeans and standard errors are computed over 10 random seeds.
“Means and standard errors are computed over 10 random seeds.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S2 (checkable), S4 (based). May combine two claims.
InterpretationreasoningTrace allows us to unify prompt optimization and code generation, which enables the creation of agents capable of fast learning.
“Trace allows us to unify prompt optimization and code generation, which enables the creation of agents capable of fast learning.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S2 (checkable), S4 (based).
Interpretationnone givenWe currently do not have algorithms intelligent enough to process the wide range of contexts and feedback that OPTO allows.
“This is intentional because we currently do not have algorithms that are intelligent enough to process the wide range of contexts and feedback that OPTO allows.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing), S4 (based).
Interpretationnone givenA multi-output operator can always be modeled by a single-output operator and single-output indexers.
“A multi-output operator can always be modeled by a single-output operator and single-output indexers.”
Quote in the paperNot a substantial claimClassified as probably not a substantial claim.
InterpretationreasoningThe difference in computation costs between the two strategies can be large, especially when not all operators in the graph are as complex as querying LLM.
“The difference in terms of computation costs between the two strategies can be large, especially when not all operators in the graph are as complex as querying LLM.”
Quote in the paperSubstantial claimClassified as probably not a substantial claim.
InterpretationreasoningThe paper extends OPRO to use parameter-feedback pairs for the more general setup of OPTO.
“Since we're interested in the more general setup of OPTO, we extend it to use parameter-feedback pairs.”
Quote in the paperSubstantial claim- Rests on an assumption: The original version of OPRO uses parameter-score pairs.
Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.
Study design and conductnone givenSupplementary material provides the exact code that was run to produce all results, and only requires user to supply an OpenAI API key.
“Supplementary material additionally provides the exact code that was run to produce all results, and only requires user to supply an OpenAI API key.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing), S4 (based).
Study design and conductnone givenAll of the experiments described in the paper are reproducible with the supplied code.
“All of the experiments described in the paper are reproducible with the supplied code.”
Quote in the paperNot a substantial claimClassified as probably not a substantial claim. May combine two claims.
Interpretationnone givenTo build a self-adapting agent with Trace, one only needs to annotate some empty functions (reason, act) and set up an optimizer following PyTorch semantics.
“To build a self-adapting agent with Trace, we only need to annotate some empty functions (reason, act) and set up an optimizer following PyTorch semantics.”
Quote in the paperSubstantial claimProbably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.
Study design and conductnone givenThe optimizer used in Table 2 is GPT-4o-2024-08-06, and the student model is GPT-35-turbo-1106.
“The optimizer is GPT-4o-2024-08-06, and the student model is GPT-35-turbo-1106.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S4 (based).
InterpretationreasoningThe bundle functionality of Trace is more flexible in representing computations to an LLM than pre-defined templates used in other optimization frameworks.
“The bundle functionality of Trace is more flexible in representing computations to an LLM than pre-defined templates used in other optimization frameworks.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing), S4 (based).
Study design and conductnone givenAll of the code to implement Trace and OptoPrime are provided in the supplementary material.
“All of the code to implement Trace and OptoPrime are provided in the supplementary material.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.
Study design and conductnone givenIn each iteration, one episode of rollout (10 steps) is performed, and then the policy is updated.
“In each iteration (x-axis), one episode of rollout (10 steps) is performed, and then the policy is updated.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing), S4 (based).
Interpretationnone givenThe DAG-based design of Trace can be adapted to other programming languages also, just like AutoDiff libraries that are available in C++.
“The DAG-based design of Trace can be adapted to other programming languages also, just like AutoDiff libraries that are available in C++.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing). The quote only partly states this claim.
Study design and conductown dataThe mean and standard error of the success rate over 10 seeds are shown for the Sawyer manipulator experiments.
“The mean and standard error of the success rate over 10 seeds are shown.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.
Study design and conductown dataThe experiment time reported in Table 2 is in minutes, involving training, validation and testing by running TextGrad's original pipeline; the time of GSM8K experiment is omitted as the experiment time (>8hrs) is determined primarily by the evaluation not optimization.
“The experiment time reported is in minutes (the time involves not just training but also validation and testing by running TextGrad's original pipeline); the time of GSM8K experiment is omitted as the experiment time (>8hrs) is determined primarily by the evaluation not optimization.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing), S4 (based).
Study design and conductnone givenAll experiments include standard error bars from ≥ 10 replications.
“All experiments include standard error bars from ≥ 10 replications.”
Quote in the paperNot a substantial claimProbably not a substantial claim: may not pass S3 (load-bearing).
Study design and conductown dataThe results in Table 2 show the mean and the standard error of success rate of the last iterate computed by 5 seeds.
“The results show the mean and the standard error of success rate of the last iterate computed by 5 seeds.”
Quote in the paperNot a substantial claimMay combine two claims.
InterpretationreasoningRunning numerical optimization experiments, or optimizing code alongwith prompts and hyper-parameters can be challenging to set up in libraries that restrict variables to strings.
“consequently running numerical optimization experiments, or optimizing code alongwith prompts and hyper-parameters can be challenging to set up.”
Quote in the paperSubstantial claim
The paper relies on this without support.
Designing a computational workflow requires laborious engineering because many heterogeneous parameters are involved.
“However designing a computational workflow requires laborious engineering because many heterogeneous parameters (e.g.prompts, orchestration code, and ML hyper-parameters) are involved.”
The paper relies on this without support.
After deployment any erroneous behaviors of the workflow persist unless a developer manually updates it.
“Moreover, after deployment any erroneous behaviors of the workflow persist unless a developer manually updates it.”
The paper relies on this without support.
Computational workflows produce optimization problems with heterogeneous parameters, rich feedback, and intricate objectives.
“Computational workflows produce optimization problems with heterogeneous parameters, rich feedback (e.g.console output and user's verbal responses), and intricate objectives (beyond maximizing a score).”
The paper relies on this without support.
A workflow can have interdependent steps and/or involve non-differentiable, semi-black-box, stochastic operations whose behavior cannot be succinctly captured.
“Moreover, a workflow can have interdependent steps (e.g.adaptive orchestration, feedback control loops) and/or involve non-differentiable, semi-black-box, stochastic operations (e.g.ML models, simulations) whose behavior cannot be succinctly captured.”
The paper relies on this without support.
The structure of the computation may change as the parameters and the inputs of the workflow vary.
“As a result, the structure of the computation may change as the parameters and the inputs of the workflow vary.”
The authors state this as an assumption.
For an OPTO problem, there exists at least one parameter that the verification oracle can verify as a solution.
“In the following, we assume solutions of OPTO under consider exist.”
“Assumption 1.For an OPTO problem (θ, ω, T ), we assume there is at least a parameter θ ∈ Θ such that it can be verified as a solution by the verification oracle.”
The authors state this as an assumption.
There is a verification oracle (a human, a machine learning model, or a polynomial-time algorithm) that, given (θ, ω, f), can verify whether θ is a solution or not.
“Axiom 1 (Verifiability). There is an verification oracle (a human, a machine learning model, or a polynomial-time algorithm) when given (θ, ω, f ) can verify whether θ is a solution or not.”
The paper relies on this without support.
Any classical numerical optimization problem can be framed as an OPTO problem.
“Any classical numerical optimization problem can be framed as an OPTO problem.”
The paper relies on this without support.
The most useful corrective feedback to change x is the gradient ∇h_x.
“we know the most useful corrective f feedback to change x is the gradient ∇ h x.”
The paper relies on this without support.
Given enough number of iterations, black-box approaches will eventually perform well.
“Note that given enough number of iterations, black-box approaches will eventually perform well.”
The paper relies on this without support.
The output of an LLM can be highly stochastic and can often change over time.
“The output of an LLM can be highly stochastic and can often change over time;”
The paper relies on this without support.
Whenever a major distribution shift happens in the LLM output, the code used to extract the response needs to be rewritten by a human engineer.
“Whenever a major distribution shift happens in the LLM output, this code needs to be rewritten by a human engineer”
The paper relies on this without support.
It is hard for humans to anticipate all of LLM's output patterns.
“and it is hard for humans to anticipate all of LLM's output patterns.”
The paper relies on this without support.
The original version of OPRO uses parameter-score pairs.
“The original version of OPRO uses parameter-score pairs.”
The paper relies on this without support.
The original instructions in the v2 environments of LLF-Bench do not contain task specific background, but only the task name.
“The original instructions in the v2 environments of LLF-Bench does not contain task specific background, but only the task name.”
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
Each contradiction between two passages listed here was confirmed by an independent check.
Claim of at least ten replications conflicts with Table 2
MinorThe checklist says all experiments have at least ten replications, but Table 2 states that its results use five seeds.
“Justification: All experiments include standard error bars from ≥ 10 replications.”
“The results show the mean and the standard error of success rate of the last iterate computed by 5 seeds.”
Cites
The publisher hasn’t deposited this paper’s reference list.
Research works printed but not linked: 5
- Peter I Frazier. Bayesian optimization. Recent Advances in Optimization and Modeling of Contemporary Problems, pages 255-278, 2018.
- Atilim Gunes Baydin, Barak A. Pearlmutter, Alexey Andreyevich Radul, and Jeffrey Mark Siskind. Automatic differentiation in machine learning: a survey. Journal of Machine Learning Research, 18(153):1-43, 2018.
- Karthik Nagaraj, Charles Killian, and Jennifer Neville. Structured comparative analysis of systems logs to diagnose performance problems. In USENIX Symposium on Networked Systems Design and Implementation, pages 353-366, 2012.
- Amirreza Shaban, Ching-An Cheng, Nathan Hatch, and Byron Boots. Truncated back- propagation for bilevel optimization. In AISTATS, pages 1723-1732, 2019.
- Sham Machandranath Kakade. On the Sample Complexity of Reinforcement Learning. PhD thesis, University College London, 2003.
Cited by
Sorted by citations
Darwin Gödel Machine: Open-Ended Evolution of Self-Improving Agents
Zhang, J., Hu, S., Lu, C., Lange, R., & Clune, J. (2025) · SuperIntelligence - Robotics - Safety & Alignment · doi:10.70777/si.v2i3.15063 · Cited by 34 · see citing works
Automated Design of Agentic Systems
Hu, S., Lu, C., & Clune, J. (2024) · arXiv · doi:10.48550/arxiv.2408.08435 · Cited by 10 · see citing works
“For example, DyLAN (Liu et al., 2023) uses FMs to optimize connections between nodes in a network, DSPy (Khattab et al., 2024) and Trace (Cheng et al., 2024) optimizes across the Cartesian product of a set of possible nodes, and GPT-Swarm (Zhuge et al., 2024) uses reinforcement learning to optimize node connections.”
Darwin Godel Machine: Open-Ended Evolution of Self-Improving Agents
Zhang, J., Hu, S., Lu, C., Lange, R., & Clune, J. (2025) · arXiv · doi:10.48550/arxiv.2505.22954 · Cited by 5 · see citing works
UXsim: lightweight mesoscopic traffic flow simulator in pure Python
Seo, T. (2025) · The Journal of Open Source Software · doi:10.21105/joss.07617 · Cited by 4 · see citing works
DarwinX: Evolving Agent Harnesses Through Natural Selection
Zhang, Y., Dai, Y., Tan, J., Yang, L., Mullur, R., Hoang, T., Hu, Z., Zhu, J., Mui, P., Savarese, S., et al. (2026) · arXiv · doi:10.48550/arxiv.2608.07545 · Cited by 1 · see citing works
“Prompt optimizers search over instructions [12, 14, 49, 54, 60], and reflective variants reuse verbal feedback and trajectory distillation [2, 29, 34, 42], while DSPy and related programs compile prompts, demonstrations, or textual parameters against data [9, 23, 36].”
HarnessOpt-Bench: Evaluating LLMs at Harness Optimization
Ursekar, V., Shanker, A., Maurya, Y., Yasser, S., Kalmath, V. S., Chatrath, V., & Xue, Y. (2026) · arXiv · doi:10.48550/arxiv.2608.06301
“TextGrad [34], Trace [7], and LLM-AutoDiff [32] optimize arbitrary text components in chained workflows by back-propagating textual feedback using LLMs. GEPA [1] optimizes textual artifacts by using reflective feedback to guide an evolutionary process.”
Mitigating Memory Consistency Bias in Deep Language Models With Memory Augmented Gradient
Song, Y., Han, G., Fu, X., et al. (2026) · International Conference on Computer Communication and Artificial Intelligence (CCAI) · doi:10.1109/ccai69603.2026.11642087
A Flexible Multi-Agent LLM-Human Framework for Fast Human Validated Tool Building
Daull, X., Bellot, P., Bruno, E., Martin, V., & Murisasco, É. (2025) · IEEE/WIC/ACM International Conference on Web Intelligence and Intelligent Agent Technology (WI-IAT) · doi:10.1109/wi-iat67162.2025.00058
Skill VM: Write Once, Run Everywhere Efficiently
Chen, L., Feng, E., Xia, Y., & Chen, H. (2026) · ACM SIGOPS Symposium on Operating Systems Principles (SOSP) · doi:10.1145/3830418.3843874
- Authors
- Cheng, C.-A., Nie, A., & Swaminathan, A.
- Venue
- Advances in Neural Information Processing Systems 37
- Published
- 2024
- Pages
- 71596-71642
- ISSN
- 1049-5258 (ISSN-L)
- OpenAlex
- W4415797156
- Cited by
- 4
- References
- 0
- Citations by year
- 2026: 2 · 2025: 2
- FWCI
- 1.10
- Type
- conference paper
- Language
- en
- Open access
- green
- arxiv.org
- Licence
- cc-by
- Locations
- neural information processing systems (publishedVersion)
- arXiv (Cornell University) (submittedVersion, cc-by)
- arXiv (Cornell University)
- Funders
- Microsoft Research
- Topics
- Physical Sciences › Computer Science › Software › Software Testing and Debugging Techniques
- Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- Physical Sciences › Computer Science › Artificial Intelligence › Evolutionary Algorithms and Applications
- Keywords
- traces, automatic differentiation, execution traces, large language models, program optimization, feedback-driven optimization
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Claims read by deepseek-v4.1-flash under definition version 3 (extract-v3) on 2026-10-24.
Classified by jev-1.13-20260917 (gold-guideline-v0.2) on 2026-10-24.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review