LLMs Automate Feature Design for Learning-to-Optimize Methods

Bingheng Li, Junyang Cai, Yupeng Zhang, Bistra Dilkina, Jayant Kalagnanam, Dzung T. Phan· July 31, 2026 View original

Key takeaways

  • LLMs can automate the design of feature functions for Learning-to-Optimize (L2O) methods.
  • LLM-evolved features consistently outperform hand-crafted ones in various optimization tasks.
  • This approach reduces manual feature engineering effort in complex optimization.
  • FunL2O enhances the efficiency and adaptability of L2O solutions.

Who benefits

LogisticsManufacturingFinanceAI/ML DevelopmentOperations Research

Summary

This paper introduces FunL2O, a novel framework that uses large language models (LLMs) to automatically design feature functions for Learning-to-Optimize (L2O) methods. It demonstrates that LLM-evolved features consistently outperform hand-crafted representations across various continuous and discrete optimization tasks.

Learning-to-Optimize (L2O) techniques aim to accelerate complex optimization problems by training models to predict solutions or guide solvers. A crucial but often overlooked aspect of these methods is the design of feature functions, which map problem instances into inputs for machine learning models. Traditionally, these features are manually crafted and remain fixed, limiting adaptability across different domains. Researchers have developed FunL2O, a unified framework that leverages large language models (LLMs) to automate this feature design process. Operating in a FunSearch-style loop, an LLM proposes executable feature functions. These functions are then evaluated by retraining the L2O model and measuring its performance on downstream optimization tasks. Evaluations on linear, quadratic, and mixed-integer programming tasks, including solution prediction and warm-starting, showed that the LLM-evolved features consistently surpassed traditional hand-crafted representations. This establishes LLM-driven feature evolution as a general and effective approach for automating representation design in L2O, enhancing the efficiency and applicability of optimization methods.

Why it matters

Professionals in fields relying on complex optimization can significantly reduce the manual effort and expertise required for feature engineering, leading to faster development and more effective L2O solutions.

How to implement this in your domain

  1. 1Explore integrating LLM-driven feature generation into existing L2O pipelines for complex optimization problems.
  2. 2Pilot FunL2O-like approaches for specific tasks where hand-crafted features are proving insufficient or time-consuming.
  3. 3Evaluate the performance gains of LLM-evolved features against current manual feature engineering efforts.
  4. 4Consider the computational resources needed for the LLM-driven evolution loop.

Original post by Bingheng Li, Junyang Cai, Yupeng Zhang, Bistra Dilkina, Jayant Kalagnanam, Dzung T. Phan

"arXiv:2607.27389v1 Announce Type: new Abstract: Learning-to-optimize (L2O) methods accelerate repeated optimization by training models to predict solutions, warm starts, branching decisions, or other forms of solver guidance. A critical yet largely overlooked component of these p…"

View on X

Originally posted by Bingheng Li, Junyang Cai, Yupeng Zhang, Bistra Dilkina, Jayant Kalagnanam, Dzung T. Phan on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses