pith. sign in

arxiv: 2606.04123 · v1 · pith:GEYQF432new · submitted 2026-06-02 · 🧮 math.OC · cs.AI· cs.RO

Semantic Constraint Synthesis for Adaptive Trajectory Optimization via Large Language Models

Pith reviewed 2026-06-28 08:40 UTC · model grok-4.3

classification 🧮 math.OC cs.AIcs.RO
keywords trajectory optimizationlarge language modelsspacecraft rendezvoussemantic constraintsconvex optimizationmission requirementsautonomous operations
0
0 comments X

The pith

Large language models can translate natural language mission requirements into executable trajectory optimization code for spacecraft.

A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.

The paper develops a framework that uses large language models to turn natural language descriptions of mission requirements into mathematical formulations and executable code for trajectory optimization. This is motivated by the increasing complexity of space missions, which demands quick and accurate setup of optimization problems. Experiments on spacecraft rendezvous demonstrate that the method achieves a high success rate in creating convex optimization problems from semantic inputs. If this holds, it could streamline the process of designing trajectories by reducing the need for repeated expert intervention.

Core claim

The central claim is that LLMs can translate natural language descriptions of mission requirements and constraints into executable trajectory optimization code and corresponding mathematical formulations, enabling the reconditioning of convex trajectory optimization problems from semantic mission requirements with high success rates in spacecraft rendezvous scenarios.

What carries the argument

The LLM-based framework for semantic constraint synthesis that generates convex trajectory optimization problems and code from natural language mission descriptions.

If this is right

  • Formulating trajectory optimization problems becomes faster and less dependent on specialized expertise.
  • Space missions can more easily adapt optimization setups to changing requirements and constraints.
  • Autonomous spacecraft operations gain support from automated translation of high-level intent into formal models.
  • Trajectory design processes scale better to higher mission frequency and complexity.

Where Pith is reading between the lines

These are editorial extensions of the paper, not claims the author makes directly.

  • Applying this to other domains like robotic path planning could yield similar benefits in reducing expert workload.
  • Adding automated verification steps after LLM generation might mitigate risks from incorrect formulations.
  • Testing in non-convex or more uncertain environments would reveal the limits of the current approach.

Load-bearing premise

Large language models can consistently produce mathematically correct and complete optimization formulations that fully capture the intended mission objectives.

What would settle it

A set of mission requirements where the LLM-generated optimization problem leads to trajectories that fail to meet the specified constraints in a simulated rendezvous scenario.

Figures

Figures reproduced from arXiv: 2606.04123 by Daniele Gammelli, Eleanor Brosius, Marco Pavone, Simone D'Amico, Yuji Takubo.

Figure 1
Figure 1. Figure 1: Automated constraint synthesis from natural-language mission requirements. A structured input consisting of (i) the baseline LATEX formulation of the OCP, (ii) the corresponding baseline code, and (iii) a text-based mission requirement is provided as input to the proposed framework to initialize a structured generation process. First, a pretrained LLM translates the requirement into a formal mathematical e… view at source ↗
Figure 2
Figure 2. Figure 2: Distributions of failure modes in the three prompt inputs across four frameworks: (A) Single-Shot, No OCP Formulation, (B) [PITH_FULL_IMAGE:figures/full_fig_p004_2.png] view at source ↗
read the original abstract

Trajectory optimization is a critical component for enabling safe and reliable autonomous operations in space exploration. As space missions increase in frequency, complexity, and scope, there is a growing need to rapidly formulate mathematically sound trajectory optimization problems that accurately reflect mission objectives and operational constraints. However, translating mission intent into tractable analytical formulations for trajectory optimization requires substantial domain expertise. This paper presents a framework that leverages large language models (LLMs) to translate natural language descriptions of mission requirements and constraints into executable trajectory optimization code and corresponding mathematical formulations. Experiments in spacecraft rendezvous scenarios demonstrate a high success rate in reconditioning a convex trajectory optimization problem from semantic mission requirements. Ultimately, this work highlights the potential of LLMs to bridge high-level intent and formal optimization models, enabling more flexible and efficient trajectory design of spacecraft.

Editorial analysis

A structured set of objections, weighed in public.

Desk editor's note, referee report, simulated authors' rebuttal, and a circularity audit. Tearing a paper down is the easy half of reading it; the pith above is the substance, this is the friction.

Referee Report

2 major / 0 minor

Summary. The paper presents a framework that uses large language models to translate natural language descriptions of spacecraft mission requirements and constraints into executable trajectory optimization code and corresponding mathematical formulations. It reports experiments on spacecraft rendezvous scenarios claiming a high success rate in reconditioning convex trajectory optimization problems from semantic inputs.

Significance. If the experimental claims hold with proper verification of mathematical soundness, the work could meaningfully lower the barrier to formulating trajectory optimization problems by bridging natural language intent and formal models, with potential applications in rapid mission design for space systems.

major comments (2)
  1. [Abstract] Abstract: the central claim of a 'high success rate' in reconditioning convex problems is unsupported by any quantitative metrics, baselines, error analysis, success criteria definitions, or verification that LLM-generated formulations are mathematically correct and complete; this is load-bearing for the framework's asserted reliability.
  2. [Abstract] The pipeline description provides no mechanism or reported procedure for post-generation expert auditing of the LLM outputs for omissions, hallucinations, or fidelity to mission intent, which directly undermines the weakest assumption that the generated formulations are sound without such checks.

Simulated Author's Rebuttal

2 responses · 0 unresolved

We thank the referee for the detailed and constructive feedback. The comments highlight important areas where the abstract and pipeline description can be strengthened with additional quantitative support and explicit procedures. We address each point below and will revise the manuscript accordingly.

read point-by-point responses
  1. Referee: [Abstract] Abstract: the central claim of a 'high success rate' in reconditioning convex problems is unsupported by any quantitative metrics, baselines, error analysis, success criteria definitions, or verification that LLM-generated formulations are mathematically correct and complete; this is load-bearing for the framework's asserted reliability.

    Authors: We agree that the abstract would benefit from greater specificity to support the 'high success rate' claim. The experiments section of the manuscript defines success criteria (formulation solvability via a convex solver plus semantic fidelity checked against mission requirements), reports trial counts, and includes basic verification via manual review of generated problems for mathematical completeness. However, these details are not reflected in the abstract. We will revise the abstract to incorporate quantitative metrics (e.g., success rate, number of scenarios), a brief definition of success, and reference to the verification approach used. revision: yes

  2. Referee: [Abstract] The pipeline description provides no mechanism or reported procedure for post-generation expert auditing of the LLM outputs for omissions, hallucinations, or fidelity to mission intent, which directly undermines the weakest assumption that the generated formulations are sound without such checks.

    Authors: The current pipeline description does not include an explicit post-generation auditing step. We acknowledge this as a substantive limitation for claims of reliability. In the reported experiments, a subset of outputs was manually inspected by the authors for omissions and fidelity, but this is not formalized as a pipeline component. We will revise the manuscript to describe this verification procedure, discuss its role in mitigating hallucinations, and note it as a recommended practice for deployment. revision: yes

Circularity Check

0 steps flagged

No circularity; experimental claims rest on reported outcomes, not self-referential definitions or derivations

full rationale

The paper presents an LLM-based framework for translating natural language mission requirements into trajectory optimization code and formulations, with the central claim being a high experimental success rate in spacecraft rendezvous scenarios. No equations, fitted parameters, self-citations, or derivation steps appear in the abstract or description that would reduce any result to its inputs by construction. The success metric is framed as an empirical outcome rather than a prediction derived from the framework itself or prior self-work. This is the most common honest finding for papers whose contribution is a tool plus validation experiments.

Axiom & Free-Parameter Ledger

0 free parameters · 0 axioms · 0 invented entities

Only the abstract is available; no free parameters, axioms, or invented entities are identifiable from the provided text.

pith-pipeline@v0.9.1-grok · 5673 in / 981 out tokens · 24283 ms · 2026-06-28T08:40:57.392155+00:00 · methodology

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Reference graph

Works this paper leans on

28 extracted references · 5 canonical work pages

  1. [1]

    Cambridge university press, 2004

    Stephen Boyd and Lieven Vandenberghe.Convex optimiza- tion. Cambridge university press, 2004. 1

  2. [2]

    Nl2tl: Transforming natural languages to temporal log- ics using large language models

    Yongchao Chen, Rujul Gandhi, Yang Zhang, and Chuchu Fan. Nl2tl: Transforming natural languages to temporal log- ics using large language models. InProceedings of the 2023 Conference on Empirical Methods in Natural Language Pro- cessing, pages 15880–15903, 2023. 2

  3. [3]

    Chernick.Optimal Impulsive Control of Spacecraft Rel- ative Motion

    M. Chernick.Optimal Impulsive Control of Spacecraft Rel- ative Motion. PhD thesis, Stanford University, 2021. 1

  4. [4]

    D’Amico.Autonomous Formation Flying in Low Earth Orbit.PhD Thesis, Delft University, 2010

    S. D’Amico.Autonomous Formation Flying in Low Earth Orbit.PhD Thesis, Delft University, 2010. 3

  5. [5]

    Cvxpy: A python- embedded modeling language for convex optimization.Jour- nal of Machine Learning Research, 17(83):1–5, 2016

    Steven Diamond and Stephen Boyd. Cvxpy: A python- embedded modeling language for convex optimization.Jour- nal of Machine Learning Research, 17(83):1–5, 2016. 3, 4

  6. [6]

    Ecos: An socp solver for embedded systems

    Alexander Domahidi, Eric Chu, and Stephen Boyd. Ecos: An socp solver for embedded systems. In2013 European control conference (ECC), pages 3071–3076. IEEE, 2013. 1

  7. [7]

    An optimal guidance law for planetary landing

    Christopher D’Souza and Christopher D’Souza. An optimal guidance law for planetary landing. InGuidance, Naviga- tion, and Control Conference, page 3709, 1997. 1

  8. [8]

    Foundation models in robotics: Applications, challenges, and the future.The International Journal of Robotics Research, 44(5):701–739,

    Roya Firoozi, Johnathan Tucker, Stephen Tian, Anirudha Majumdar, Jiankai Sun, Weiyu Liu, Yuke Zhu, Shuran Song, Ashish Kapoor, Karol Hausman, et al. Foundation models in robotics: Applications, challenges, and the future.The International Journal of Robotics Research, 44(5):701–739,

  9. [9]

    Space-llava: A vision-language model adapted to extraterrestrial applications

    Matthew Foutter, Daniele Gammelli, Justin Kruger, Ethan Foss, Praneet Bhoj, Tommaso Guffanti, Simone D’Amico, and Marco Pavone. Space-llava: A vision-language model adapted to extraterrestrial applications. In2025 IEEE Aerospace Conference, pages 1–23, 2025. 2

  10. [10]

    Transformers for trajectory optimiza- tion with application to spacecraft rendezvous

    Tommaso Guffanti, Daniele Gammelli, Simone D’Amico, and Marco Pavone. Transformers for trajectory optimiza- tion with application to spacecraft rendezvous. InIEEE Aerospace Conference, pages 1–13, 2024. 2

  11. [11]

    Deep reinforcement learn- ing for spacecraft proximity operations guidance.Journal of Spacecraft and Rockets, 58(2):254–264, 2021

    Kirk Hovell and Steve Ulrich. Deep reinforcement learn- ing for spacecraft proximity operations guidance.Journal of Spacecraft and Rockets, 58(2):254–264, 2021. 2

  12. [12]

    Autonomous reasoning for spacecraft control: A large language model framework with group relative policy optimization.arXiv preprint arXiv:2601.04334, 2026

    Amit Jain and Richard Linares. Autonomous reasoning for spacecraft control: A large language model framework with group relative policy optimization.arXiv preprint arXiv:2601.04334, 2026. 2

  13. [13]

    Canonical intermediate representation for llm- based optimization problem formulation and code genera- tion.arXiv preprint arXiv:2602.02029, 2026

    Zhongyuan Lyu, Shuoyu Hu, Lujie Liu, Hongxia Yang, and Ming LI. Canonical intermediate representation for llm- based optimization problem formulation and code genera- tion.arXiv preprint arXiv:2602.02029, 2026. 2

  14. [14]

    Zhi Ma, Cheng Wen, Zhexin Su, Xiao Liang, Cong Tian, Shengchao Qin, and Mengfei Yang. Bridging natural lan- guage and formal specification–automated translation of software requirements to ltl via hierarchical semantics de- composition using llms.arXiv preprint arXiv:2512.17334,

  15. [15]

    Fast homotopy for spacecraft rendezvous trajectory optimization with discrete logic.Journal of Guidance, Control, and Dynamics, 46(7): 1262–1279, 2023

    Danylo Malyuta and Behçet Açıkme¸ se. Fast homotopy for spacecraft rendezvous trajectory optimization with discrete logic.Journal of Guidance, Control, and Dynamics, 46(7): 1262–1279, 2023. 1

  16. [16]

    Malyuta, T

    D. Malyuta, T. P. Reynolds, M. Szmuk, T. Lew, R. Bonalli, M. Pavone, and B. Açıkme¸ se. Convex Optimization for Tra- jectory Generation: A Tutorial on Generating Dynamically Feasible Trajectories Reliably and Efficiently.IEEE Control Systems Magazine, 42(5):40–113, 2022. 1

  17. [17]

    Nc2c: Au- tomated convexification of generic non-convex optimization problems.arXiv preprint arXiv:2601.04789, 2026

    Xinyue Peng, Yanming Liu, Yihan Cang, Yuwei Zhang, Xinyi Wang, Songhang Deng, and Jiannan Cao. Nc2c: Au- tomated convexification of generic non-convex optimization problems.arXiv preprint arXiv:2601.04789, 2026. 1, 2

  18. [18]

    Nl4opt competition: Formulating optimiza- tion problems based on their natural language descriptions

    Rindranirina Ramamonjison, Timothy Yu, Raymond Li, Haley Li, Giuseppe Carenini, Bissan Ghaddar, Shiqi He, Mahdi Mostajabdaveh, Amin Banitalebi-Dehkordi, Zirui Zhou, et al. Nl4opt competition: Formulating optimiza- tion problems based on their natural language descriptions. InNeurIPS 2022 competition track, pages 189–203. PMLR,

  19. [19]

    Michael Szmuk, Taylor P Reynolds, and Behçet Açık- me¸ se. Successive convexification for real-time six-degree- of-freedom powered descent guidance with state-triggered constraints.Journal of Guidance, Control, and Dynamics, 43(8):1399–1413, 2020. 1

  20. [20]

    Towards robust spacecraft trajectory optimization via transformers

    Yuji Takubo, Tommaso Guffanti, Daniele Gammelli, Marco Pavone, and Simone D’Amico. Towards robust spacecraft trajectory optimization via transformers. InIEEE Aerospace Conference, 2025. 2

  21. [21]

    Pabon, Daniele Gammelli, Marco Pavone, and Simone D’Amico

    Yuji Takubo, Arpit Dwivedi, Sukeerth Ramkumar, Luis A. Pabon, Daniele Gammelli, Marco Pavone, and Simone D’Amico. Language-conditioned safe trajectory generation for spacecraft rendezvous.AIAA Journal of Guidance, Con- trol, and Dynamics (accepted), 2026. 2

  22. [22]

    Vernacopter: Disambiguated natural- language-driven robot via formal specifications.arXiv preprint arXiv:2409.09536, 2024

    Teun van de Laar, Zengjie Zhang, Shuhao Qi, Sofie Haesaert, and Zhiyong Sun. Vernacopter: Disambiguated natural- language-driven robot via formal specifications.arXiv preprint arXiv:2409.09536, 2024. 2

  23. [23]

    Chatstl: A frame- work of translation from natural language to signal temporal logic specifications for autonomous vehicle navigation out of blocked scenarios

    Yujin Wang, Zhaoyan Huang, Shiying Dong, Hongqing Chu, Xiang Yin, and Bingzhao Gao. Chatstl: A frame- work of translation from natural language to signal temporal logic specifications for autonomous vehicle navigation out of blocked scenarios. In2024 16th International Conference on Computer and Automation Engineering (ICCAE), pages 483–487. IEEE, 2024. 2

  24. [24]

    Plug in the safety chip: Enforcing constraints for llm- driven robot agents

    Ziyi Yang, Shreyas S Raman, Ankit Shah, and Stefanie Tellex. Plug in the safety chip: Enforcing constraints for llm- driven robot agents. In2024 IEEE International Conference on Robotics and Automation (ICRA), pages 14435–14442. IEEE, 2024. 2 Semantic Constraint Synthesis for Adaptive Trajectory Optimization via Large Language Models Supplementary Material

  25. [25]

    You will take in 2 files:

    Generation Prompts LATEX Generation Prompt Example You are an expert in optimal control problem formulation and convex optimization using cvxpy. You will take in 2 files:

  26. [26]

    Problem Spec: LATEX file that lays out a given optimal control problem

  27. [27]

    Problem Prompt: A description of a change to the given control problem in that will result in a new constraint or set of constraints for the problem Your job is to output a new Latex document with a section for each new constraint that includes: -The minimal mathematical formulation of the constraint in terms of the variables and parameters defined in the...

  28. [28]

    Generated LATEX Output for Prompt 1 Observation Distance Constraint Letd max = 30m be the maximum allowable relative posi- tion norm for observation

    Example Output 7.1. Generated LATEX Output for Prompt 1 Observation Distance Constraint Letd max = 30m be the maximum allowable relative posi- tion norm for observation. LetT obs = 15000s be the required observation duration. Let∆tbe the time step duration in seconds. Define the number of discrete time steps for observation as M= Tobs ∆t , M∈N. Lett start...