arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2512.13374cs.AI
收藏

大语言模型在组合优化中的行为与表示:从特征提取到算法选择

Behavior and Representation in Open-Weight Large Language Models for Combinatorial Optimization: From Feature Extraction to Algorithm Selection

University of Udine(乌迪大学)

Francesca Da Ros, Luca Di Gaspero, Kevin Roitero

AI总结:

本研究探讨了大语言模型在组合优化中的内部表示能力,通过直接查询和探测分析,评估其提取特征和预测最佳求解器的效果。

摘要:

近年来,大语言模型(LLMs)的进步为优化领域的自动化开辟了新的视角。尽管已有几项研究探讨了LLMs如何生成或解决优化模型,但关于这些模型实际学习的问题结构或算法行为仍知之甚少。本研究调查了LLMs如何内部表示组合优化问题,以及这种表示是否能支持下游决策任务。我们采用双重方法,结合直接查询,评估LLMs提取实例特征的能力,以及探测分析,检验此类信息是否隐含编码在其隐藏层中。探测框架进一步扩展到实例级别的算法选择任务,评估LLMs衍生的表示是否能预测最佳性能的求解器。实验覆盖四个基准问题和三种实例表示。结果表明,LLMs在恢复问题实例的特征信息方面具有中等能力,无论是通过直接查询还是探测。值得注意的是,LLM隐藏层表示的预测能力与传统特征提取所获得的能力相当,表明LLMs捕捉了与优化性能相关的有意义的结构信息。

英文摘要:

Recent advances in Large Language Models (LLMs) open new perspectives for automation in optimization, yet little is known about whether their internal representations capture problem structure or algorithmic behavior. We investigate whether representations learned by frozen, open-weight LLMs for combinatorial optimization instances can support downstream decision tasks. The goal is not to replace exact feature extractors or to propose a new algorithm, but to assess whether such representations are reusable for feature recovery and algorithm selection. Our methodology combines direct querying, which tests explicit feature extraction, with probing analyses of whether this information is implicitly encoded in the hidden layers. The probing framework is further extended to a per-instance algorithm selection task. Experiments span four benchmark problems, three instance representations, and five open-weight models from 3B to 120B parameters across the Llama instruct and GPT reasoning families, including a chain-of-thought study on Llama models. Results show a limited ability to recover features explicitly, particularly those requiring structured computation, while part of this information remains implicitly encoded in the hidden states. A consistent gap separates implicit encoding from explicit retrieval. Model scale attenuates this gap, whereas the effect of chain-of-thought prompting depends strongly on model size, and in all cases the gap remains open. Reasoning-oriented models also tend to abstain more when reliable computation is not possible. Notably, the predictive power of LLM hidden-layer representations is comparable to traditional feature extraction across all five models, indicating they can act as effective surrogate descriptors for downstream optimization tasks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑