Reproduce “Combinatorial Optimization for All: Using LLMs to Aid Non-Experts in Improving Optimization Algorithms” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Camilo Chacón Sartori, Christian Blum

Researchers at the Artificial Intelligence Research Institute (IIIA-CSIC) investigated the ability of Large Language Models (LLMs) to enhance existing combinatorial optimization algorithms for non-expert users, using a simple prompting strategy across ten diverse algorithms. Their methodology improved the performance of nine out of ten tested algorithms, with the best LLM-generated code outperforming originals in solution quality or convergence time, sometimes also reducing code complexity.

Key insights

  • LLMs can effectively act as 'optimization experts' for non-experts, making significant improvements to existing algorithm implementations by incorporating sophisticated techniques without requiring advanced prompt engineering.
  • The in-context provision of complete algorithm code (acting as a 'map') enables LLMs to focus on refining specific areas, facilitating holistic improvements rather than just generating new components.
  • Beyond performance gains, LLMs can also act as code refactorizers, sometimes reducing the cyclomatic complexity of algorithms while simultaneously enhancing their performance, leading to more maintainable code.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.