llm4ad  by Optima-CityU

Platform for LLM-based algorithm design

created 8 months ago
408 stars

Top 72.5% on sourcepulse

GitHubView on GitHub
Project Summary

LLM4AD is an open-source Python platform designed for Automatic Algorithm Design (AD) using Large Language Models (LLMs). It targets researchers and developers seeking to automate the creation and optimization of algorithms across various domains like optimization, machine learning, and scientific discovery, offering a unified interface and accelerated evaluation.

How It Works

LLM4AD leverages LLMs to generate and refine algorithmic solutions. It supports various search methods, including Evolution of Heuristics (EoH), FunSearch, and Hill Climbing, which guide the LLM's exploration of the algorithm design space. The platform provides a structured framework for defining tasks, integrating LLMs (via API or local deployment), and evaluating generated algorithms, aiming for efficient and secure experimentation.

Quick Start & Requirements

Highlighted Details

  • Supports unified interfaces for methods, tasks, and LLMs.
  • Features multiprocessing for evaluation acceleration and secure evaluation with process protection.
  • Offers logging support (local, Wandb, Tensorboard) and a GUI for method/task selection.
  • Includes implementations for various search methods (EoH, FunSearch, (1+1)-EPS) and algorithm design tasks (Optimization, ML, Science Discovery).

Maintenance & Community

The project is actively maintained and welcomes contributions and collaborations. Community engagement is facilitated through QQ groups and issue reporting. Key contributors include Fei Liu, Rui Zhang, and others from City University of Hong Kong and Southern University of Science and Technology.

Licensing & Compatibility

Licensed under the MIT License. Parts of the project utilize code licensed under the Apache License 2.0. Commercial use is permitted, but contact is requested for profit-making purposes.

Limitations & Caveats

Support for other programming languages and additional search methods are listed as "Coming soon." The gym dependency may require careful version management to avoid conflicts with existing Python environments.

Health Check
Last commit

3 days ago

Responsiveness

1 week

Pull Requests (30d)
8
Issues (30d)
1
Star History
80 stars in the last 90 days

Explore Similar Projects

Starred by Chip Huyen Chip Huyen(Author of AI Engineering, Designing Machine Learning Systems), Nathan Lambert Nathan Lambert(AI Researcher at AI2), and
1 more.

tianshou by thu-ml

0.1%
9k
PyTorch RL library for algorithm development and application
created 7 years ago
updated 1 day ago
Feedback? Help us improve.