跳到正文
arXiv cs.AI· Lingyun Guo, Ali Bereyhi·· 2 小时前AI 评分40

理解 LLM 作为数值优化器的能力与局限

Understanding Large Language Models as Numerical Optimizers

AI 导读

一项 arXiv 研究构建了区分解质量与执行失败(数值误差、约束违反、输出格式错误)的评估框架,考察 LLM 求解凸优化、分数规划与约束投影问题的能力。结果显示 LLM 能捕捉有用的优化结构并给出近优解,但可靠性随维度上升而下降,且强依赖问题结构。引入针对可行性与解质量的迭代精炼机制可显著提升可靠性、扩展可解维度,但持续存在的数值与结构性误差仍限制其作为独立优化器的应用。

正文 · 原文

View PDF

Abstract:Large language models (LLMs) have emerged as potential tools for numerical optimization. Despite promising results, their intrinsic optimization capabilities and limitations remain poorly understood, particularly in high dimensions. This paper investigates the ability of LLMs to exploit mathematical problem structures and generate feasible, near-optimal solutions. We develop an evaluation framework that distinguishes solution quality from execution failures, including numerical inaccuracies, constraint violations, and output-format errors. Using representative problems from convex optimization, fractional programming, and constrained projection, we assess LLM performance against deterministic reference solvers across different dimensions. Our results reveal that LLMs can capture useful optimization structures and produce near-optimal solutions, even when their outputs fail to satisfy numerical or formatting requirements. However, reliability deteriorates with increasing problem dimension and depends strongly on the underlying optimization structure. To further investigate the limitations, we deploy an iterative refinement mechanism that provides targeted feedback on feasibility and solution quality. The results demonstrate that iterative refinement substantially improves reliability and extends the range of problem dimensions over which LLMs produce valid solutions. Nevertheless, persistent numerical and structural errors limit their applicability as standalone optimizers. These findings provide insights into the capacity and limits of LLM-based optimization and motivate hybrid approaches that combine LLM reasoning with deterministic numerical verification.
Comments: 17 pages, including appendices
Subjects: Artificial Intelligence (cs.AI); Machine Learning (cs.LG); Signal Processing (eess.SP)
Cite as: arXiv:2610.37932 [cs.AI]
  (or arXiv:2610.37932v1 [cs.AI] for this version)
  https://doi.org/10.48550/arXiv.2610.37932

arXiv-issued DOI via DataCite

Submission history

From: Lingyun Guo [view email]
[v1] Tue, 27 Oct 2026 20:20:31 UTC (107 KB)

来源:arXiv cs.AI · arxiv.org