Discover and explore top open-source AI tools and projects—updated daily.
ai4coLLMs as hyper-heuristics for algorithm generation
Top 98.2% on SourcePulse
<2-3 sentences summarising what the project addresses and solves, the target audience, and the benefit.> ReEvo introduces Language Hyper-Heuristics (LHHs) and the Reflective Evolution (ReEvo) framework, leveraging Large Language Models (LLMs) to automate the generation of state-of-the-art algorithms for complex optimization problems. This approach targets researchers and engineers seeking to rapidly develop high-performance heuristics with minimal manual intervention, benefiting from LLM-driven exploration of vast heuristic spaces.
How It Works
ReEvo employs a novel "Reflective Evolution" process, where LLMs act as hyper-heuristics. The framework emulates human expert design by iteratively generating, evaluating, and refining heuristic algorithms. This approach capitalizes on LLMs' broad domain knowledge and scalable inference capabilities to explore an open-ended space of heuristics, aiming to surpass human-designed algorithms in performance and efficiency for various optimization tasks.
Quick Start & Requirements
Installation is recommended via uv for efficient dependency management. After cloning the repository, create a Python 3.12 virtual environment (uv venv --python 3.12), activate it, and synchronize dependencies (uv sync --all-extras). Alternatively, use pip install -e ".[gls,aco,nco]". A Python version >= 3.11 is required. Users must configure LLM API keys (e.g., OpenAI, Zhipu, Llama) via environment variables or command-line arguments. Datasets are generated dynamically. Test notebooks are available in ./problems/*/test.ipynb. Further details on uv can be found at https://github.com/astral-sh/uv.
Highlighted Details
Maintenance & Community
The project was accepted at NeurIPS 2024. Community interaction and support are available via a Slack channel. The developers encourage users to star the repository and cite the accompanying paper.
Licensing & Compatibility
The specific open-source license for this repository is not explicitly stated in the provided README. Consequently, compatibility for commercial use or closed-source linking cannot be determined without further clarification.
Limitations & Caveats
Successful operation necessitates access to and configuration of external LLM APIs, which may incur costs and require API key management. The effectiveness of generated heuristics is contingent on the chosen LLM and the problem's complexity.
1 month ago
1 day
CarperAI
WecoAI
algorithmicsuperintelligence