Cited by 9Software Testing and Debugging TechniquesSoftware Engineering ResearchEvolutionary Algorithms and Applications

Trace is the Next AutoDiff: Generative Optimization with Rich Feedback, Execution Traces, and LLMs

Open access
Cheng, Ching-An, Nie, Allen, Swaminathan, Adith·2024·Advances in Neural Information Processing Systems 37

Abstract

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

Crossref · 10.52202/079017-2287

Cites

0 citation errors · 0 not checkable

Statistics

Nothing to recompute.

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
  • 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 data

    The 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.

    Findingcitation

    Trace 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 given

    The 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.

    Findingnone given

    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.

    “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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing), S4 (based).

    Findingnone given

    The 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Findingreasoning

    Trace 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 claim
  • May combine two claims.

    Findingown data

    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 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 claim
  • May combine two claims.

    Findingreasoning

    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.

    “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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Findingnone given

    Currently, 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 claim
  • May combine two claims.

    Findingown data

    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.

    “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 claim
  • Probably not a substantial claim: may not pass S2 (checkable), S3 (load-bearing), S4 (based).

    Findingreasoning

    This 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Findingnone given

    Stateful 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Findingreasoning

    OptoPrime 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 claim
  • May combine two claims.

    Findingown data

    Trace 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
  • May combine two claims.

    Findingown data

    Trace 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 claim
  • May combine two claims.

    Findingreasoning

    TextGrad 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 claim
  • Classified as probably not a substantial claim.

    Findingnone given

    Trace 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 claim
  • May combine two claims.

    Findingown data

    In 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Findingnone given

    The 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Findingnone given

    OptoPrime 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 claim
  • May combine two claims.

    Findingreasoning

    OptoPrime 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Findingnone given

    Our 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 claim
  • May combine two claims.

    Findingreasoning

    Updating 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 claim
  • May combine two claims.

    Findingnone given

    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.

    “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 claim
  • Classified as probably not a substantial claim. May combine two claims.

    Findingnone given

    Trace 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing), S4 (based).

    Findingnone given

    Such 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Findingreasoning

    This error handling mechanism has two convenient usages.

    “We find that this error handling mechanism has two convenient usages.”
    Quote in the paperNot a substantial claim
  • Classified as probably not a substantial claim. May combine two claims.

    Findingreasoning

    The 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 claim
  • May combine two claims.

    Findingreasoning

    Messages 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 claim
  • May combine two claims.

    Findingcitation

    OPRO 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 data

    Trace 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 claim
  • Classified as probably not a substantial claim.

    Findingreasoning

    The computational graph ends at where the execution error happens.

    “The computational graph ends at where the execution error happens.”
    Quote in the paperSubstantial claim
  • Probably not a substantial claim: may not pass S4 (based). May combine two claims.

    Findingnone given

    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.

    “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 claim
  • May combine two claims.

    Findingown data

    Trace 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing), S4 (based).

    Findingnone given

    All 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing), S4 (based).

    Findingnone given

    The 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 claim
  • Probably not a substantial claim: may not pass S4 (based).

    Findingnone given

    Trace 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Findingown data

    The 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing), S4 (based).

    Findingnone given

    The 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 claim
  • May combine two claims.

    Findingnone given

    Trace 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 claim
  • Classified as probably not a substantial claim.

    Findingown data

    The 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Findingnone given

    The current implementation of Trace is in Python.

    “The current implementation is in Python.”
    Quote in the paperNot a substantial claim
  • May combine two claims.

    Interpretationnone given

    Propagating 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 claim
  • Probably not a substantial claim: may not pass S4 (based).

    Interpretationnone given

    Trace, 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 claim
  • May combine two claims.

    Premisecitation

    Computational 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 given

    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).

    “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 claim
  • May combine two claims.

    Interpretationreasoning

    Execution 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 claim
  • May combine two claims.

    Interpretationnone given

    Workflow 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing), S4 (based).

    Interpretationreasoning

    Since 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 claim
  • Classified as probably not a substantial claim.

    Premisenone given

    The 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 claim
  • May combine two claims.

    Premisenone given

    Black-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 claim
  • Probably not a substantial claim: may not pass S4 (based). May combine two claims.

    Premisenone given

    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.

    “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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing), S4 (based).

    Interpretationreasoning

    Despite 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 claim
  • May combine two claims.

    Interpretationreasoning

    In 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 claim
  • Probably not a substantial claim: may not pass S4 (based). May combine two claims.

    Interpretationnone given

    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.

    “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 claim
  • Classified as probably not a substantial claim.

    Premisenone given

    In 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 claim
  • Classified as probably not a substantial claim.

    Premisenone given

    AutoDiff 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 claim
  • Probably not a substantial claim: may not pass S4 (based).

    Interpretationnone given

    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.

    “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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisecitation

    TextGrad 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 given

    One 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing), S4 (based). May combine two claims.

    Interpretationnone given

    GP 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 claim
  • May combine two claims.

    Premisecitation

    OPRO 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 given

    The 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 claim
  • Probably not a substantial claim: may not pass S2 (checkable), S4 (based). May combine two claims.

    Interpretationnone given

    Not 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 claim
  • Classified as probably not a substantial claim.

    Study design and conductnone given

    The 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Interpretationreasoning

    Different 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 claim
  • Classified as probably not a substantial claim.

    Interpretationreasoning

    Only 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing), S4 (based).

    Premisenone given

    In 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 claim
  • Probably not a substantial claim: may not pass S2 (checkable), S3 (load-bearing).

    Interpretationreasoning

    The 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 claim
  • May combine two claims.

    Premisecitation

    TextGrad 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 given

    Providing 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Interpretationnone given

    In 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 claim
  • May combine two claims.

    Interpretationown data

    Trace 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing), S4 (based).

    Interpretationnone given

    For 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 claim
  • Classified as probably not a substantial claim. May combine two claims.

    Interpretationreasoning

    Abstracting 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisecitation

    SAMMO 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).

    Premisecitation

    DSPy 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).

    Premisecitation

    SAMMO 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.

    Interpretationreasoning

    OptoPrime 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisecitation

    Recent 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.

    Premisecitation

    The 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).

    Premisereasoning

    Backpropagation (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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisenone given

    These 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 claim
  • May combine two claims.

    Premisecitation

    These 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 given

    These algorithms focus on optimizing prompts.

    “These algorithms focus on optimizing prompts.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisecitation

    There 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.

    Premisereasoning

    Through 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisecitation

    OPTO 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).

    Premisereasoning

    This is a framing of a meta LLF problem.

    “This is a framing of a meta LLF problem.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.

    Premisecitation

    Our 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.

    Premisecitation

    Deep 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.

    Premisereasoning

    These 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 claim
  • May 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 given

    Back-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 claim
  • May combine two claims.

    Premisenone given

    Trace 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 claim
  • Classified as probably not a substantial claim.

    Premisecitation

    Deep 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).

    Premisecitation

    Retroformer 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).

    Premisecitation

    If 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).

    Premisereasoning

    The 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing), S4 (based).

    Premisenone given

    Trace 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 claim
  • Classified 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 given

    There 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 claim
  • May combine two claims.

    Premisecitation

    Frameworks 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.

    Interpretationreasoning

    Trace 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Premisereasoning

    OPTO 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 claim
  • May combine two claims.

    Premisenone given

    Trace 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 claim
  • Probably not a substantial claim: may not pass S4 (based).

    Interpretationreasoning

    The 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 claim
  • May combine two claims.

    Premisecitation

    Without 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).

    Premisereasoning

    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.

    “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 claim
  • May combine two claims.

    Interpretationown data

    OPRO 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 claim
  • Classified as probably not a substantial claim.

    Interpretationreasoning

    Using 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 claim
  • Probably not a substantial claim: may not pass S2 (checkable), S4 (based).

    Interpretationnone given

    OPTO 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 claim
  • Probably not a substantial claim: may not pass S2 (checkable).

    Interpretationreasoning

    This 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 claim
  • Probably not a substantial claim: may not pass S4 (based).

    Premisenone given

    Search problems can be NP-hard.

    “However search problems can be NP-hard.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Interpretationreasoning

    The 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.

    Interpretationreasoning

    The 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 claim
  • May combine two claims.

    Interpretationreasoning

    Without 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing), S4 (based).

    Premisenone given

    The 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 claim
  • Probably not a substantial claim: may not pass S2 (checkable).

    Premisecitation

    Classical 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Interpretationreasoning

    There 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 claim
  • Probably not a substantial claim: may not pass S2 (checkable), S3 (load-bearing).

    Interpretationreasoning

    These 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.

    Premisecitation

    In 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 given

    In 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 claim
  • Probably not a substantial claim: may not pass S4 (based).

    Interpretationreasoning

    OPTO 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 claim
  • Probably not a substantial claim: may not pass S4 (based). May combine two claims.

    Interpretationnone given

    Trace 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 claim
  • Classified as probably not a substantial claim.

    Premisereasoning

    The 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 claim
  • Probably not a substantial claim: may not pass S4 (based). May combine two claims.

    Interpretationnone given

    This 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.

    Interpretationreasoning

    This 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 claim
  • Probably not a substantial claim: may not pass S2 (checkable), S3 (load-bearing).

    Interpretationreasoning

    Fully 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Interpretationnone given

    PSO 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.

    Premisecitation

    Out 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.

    Premisereasoning

    Verifiability 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 claim
  • Probably not a substantial claim: may not pass S2 (checkable), S4 (based).

    Premisenone given

    One 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing), S4 (based).

    Premisenone given

    The 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing), S4 (based).

    Premisenone given

    The 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Study design and conductnone given

    Means 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 claim
  • Probably not a substantial claim: may not pass S2 (checkable), S4 (based). May combine two claims.

    Interpretationreasoning

    Trace 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 claim
  • Probably not a substantial claim: may not pass S2 (checkable), S4 (based).

    Interpretationnone given

    We 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing), S4 (based).

    Interpretationnone given

    A 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 claim
  • Classified as probably not a substantial claim.

    Interpretationreasoning

    The 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 claim
  • Classified as probably not a substantial claim.

    Interpretationreasoning

    The 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 given

    Supplementary 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing), S4 (based).

    Study design and conductnone given

    All 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 claim
  • Classified as probably not a substantial claim. May combine two claims.

    Interpretationnone given

    To 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.

    Study design and conductnone given

    The 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 claim
  • Probably not a substantial claim: may not pass S4 (based).

    Interpretationreasoning

    The 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing), S4 (based).

    Study design and conductnone given

    All 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.

    Study design and conductnone given

    In 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing), S4 (based).

    Interpretationnone given

    The 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing). The quote only partly states this claim.

    Study design and conductown data

    The 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing). May combine two claims.

    Study design and conductown data

    The 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 claim
  • Probably not a substantial claim: may not pass S3 (load-bearing), S4 (based).

    Study design and conductnone given

    All experiments include standard error bars from ≥ 10 replications.

    “All experiments include standard error bars from ≥ 10 replications.”
    Quote in the paperNot a substantial claim
  • Probably not a substantial claim: may not pass S3 (load-bearing).

    Study design and conductown data

    The 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 claim
  • May combine two claims.

    Interpretationreasoning

    Running 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
155 of 155
  • 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.”
15 of 15

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

    Minor

    The checklist says all experiments have at least ten replications, but Table 2 states that its results use five seeds.

1 of 1

Cites

The publisher hasn’t deposited this paper’s reference list.

Research works printed but not linked: 5

  1. Peter I Frazier. Bayesian optimization. Recent Advances in Optimization and Modeling of Contemporary Problems, pages 255-278, 2018.
  2. 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.
  3. 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.
  4. Amirreza Shaban, Ching-An Cheng, Nathan Hatch, and Byron Boots. Truncated back- propagation for bilevel optimization. In AISTATS, pages 1723-1732, 2019.
  5. Sham Machandranath Kakade. On the Sample Complexity of Reinforcement Learning. PhD thesis, University College London, 2003.

Cited by

Sorted by citations

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
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