探索大模型内部表征能否用于组合优化的特征恢复与算法选择。
Behavior and Representation in Open-Weight Large Language Models for Combinatorial Optimization: From Feature Extraction to Algorithm Selection
- 用直接查询和探针分析法检验模型隐藏层是否隐含问题结构信息
- 大模型表征预测性能媲美传统特征提取,但显式提取能力有限
- 模型规模越大,隐式编码越强,适合研究优化算法的可解释性
近期大语言模型(LLMs)在优化自动化方面展现新前景,但其内部表征是否捕捉问题结构或算法行为仍不明确。本文研究冻结、开源权重的LLM在组合优化实例上学习的表征,能否支持下游决策任务。目标不是替代精确特征提取器或提出新算法,而是评估这些表征是否可用于特征恢复与算法选择。方法结合直接查询(测试显式特征提取)与探针分析(检测隐藏层中隐含信息)。探针框架进一步扩展至实例级算法选择任务。实验涵盖四个基准问题、三种实例表示和五种3B至120B参数的开放权重模型(Llama instruct与GPT推理系列),包含对Llama模型的思维链研究。结果表明:显式特征恢复能力有限,尤其涉及结构化计算时;部分信息仍隐含于隐藏状态中,隐式编码与显式检索间存在稳定差距。模型规模可缩小该差距,而思维链提示效果强烈依赖模型大小,且所有情况下差距仍存。推理导向模型在无法可靠计算时更倾向回避。值得注意的是,所有五种模型的隐藏层表征预测性能均与传统特征提取相当,表明其可作为下游优化任务的有效代理描述符。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。