Behavior and Representation in Open-Weight Large Language Models for Combinatorial Optimization: From Feature Extraction to Algorithm Selection
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 32 of its 69 references that are in the map. First posted on arXiv 15 Dec 2025.
Builds on
32 of 69 references.
References · 32
- 2017Attention Is All You Needcited by 59,932
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,359
- 2023A Survey on Evaluation of Large Language Modelscited by 1,227
- 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 831
- 2023The Geometry of Truth: Emergent Linear Structure in Large Language Model Representations of True/False Datasetscited by 673
- 2019Do NLP Models Know Numbers? Probing Numeracy in Embeddingscited by 157
- 2020Probing Pretrained Language Models for Lexical Semanticscited by 156
- 2023NL4Opt Competition: Formulating Optimization Problems Based on Their Natural Language Descriptionscited by 133
- 2024OptiMUS: Scalable Optimization Modeling with (MI)LP Solvers and Large Language Modelscited by 105
- 2024LLaMEA: A Large Language Model Evolutionary Algorithm for Automatically Generating Metaheuristicscited by 92
- 2024Summary of a Haystack: A Challenge to Long-Context LLMs and RAG Systemscited by 87
20 more
- 2024A Systematic Survey on Large Language Models for Algorithm Designcited by 65
- 2024How Large Language Models Encode Context Knowledge? A Layer-Wise Probing Studycited by 64
- 2019Probing What Different NLP Tasks Teach Machines about Function Word Comprehensioncited by 44
- 2025A Survey on Large Language Models with some Insights on their Capabilities and Limitationscited by 41
- 2021Discourse Probing of Pretrained Language Modelscited by 38
- 2023Holy Grail 2.0: From Natural Language to Constraint Modelscited by 24
- 2024Pooling And Attention: What Are Effective Designs For LLM-Based Embedding Models?cited by 19
- 2025Large Language Models for Combinatorial Optimization: A Systematic Reviewcited by 18
- 2021Syntactic Perturbations Reveal Representational Correlates of Hierarchical Phrase Structure in Pretrained Language Modelscited by 14
- 2022Automated Algorithm Selection: from Feature-Based to Feature-Free Approachescited by 13
- 2023Identifying Linear Relational Concepts in Large Language Modelscited by 12
- 2024Artificial Intelligence for Operations Research: Revolutionizing the Operations Research Processcited by 11
- 2024Exploring Multilingual Probing in Large Language Models: A Cross-Language Analysiscited by 11
- 2025Code Evolution Graphs: Understanding Large Language Model Driven Design of Algorithmscited by 10
- 2025Beyond the Hype: Benchmarking LLM-Evolved Heuristics for Bin Packingcited by 9
- 2024Large Language Models for the Automated Analysis of Optimization Algorithmscited by 5
- 2025The Impact of Persona-based Political Perspectives on Hateful Content Detectioncited by 5
- 2025Combinatorial Optimization for All: Using LLMs to Aid Non-Experts in Improving Optimization Algorithmscited by 5
- 2025Behaviour Space Analysis of LLM-driven Meta-heuristic Discoverycited by 4
- 2025Are Large Language Models Good Data Preprocessors?cited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Fine-tuning Large Language Model for Automated Algorithm Design
- 2026DRAGON: LLM-Driven Decomposition and Reconstruction Agents for Large-Scale Combinatorial Optimization
- 2025A Systematic Survey on Large Language Models for Evolutionary Optimization: From Modeling to Solving
- 2026Reasoning in a Combinatorial and Constrained World: Benchmarking LLMs on Natural-Language Combinatorial Optimization
- 2025LLMize: A Framework for Large Language Model-Based Numerical Optimization
- 2025Peering Inside the Black Box: Uncovering LLM Errors in Optimization Modelling through Component-Level Evaluation
- 2025OPT-BENCH: Evaluating LLM Agent on Large-Scale Search Spaces Optimization Problems
- 2026OPT-Engine: Benchmarking the Limits of LLMs in Optimization Modeling via Complexity Scaling