A team from Nanyang Technological University in Singapore (NTU Singapore) has presented an artificial intelligence system that automatically creates software for complex decision-making tasks. The development, called LACE (Large Language Model-driven Algorithm Construction via Complementary Evolution), reduces the time from several months of specialist work to about one hour.
A large language model is an AI system trained on vast amounts of text and capable of understanding requests in ordinary language and generating code. LACE lets a user without special training describe an operational problem in simple words. The system then builds, tests and refines a set of specialized heuristics - simplified techniques that help find a good solution quickly without enumerating all possible options.
The work is based on a class of problems known in computer science as combinatorial optimization: choosing the best option from a huge number of possibilities. Such calculations are used in planning berths at seaports, allocating operating rooms in hospitals, routing supplies and managing power grids. Traditionally, engineers break a task into parts using clear rules and then apply separate heuristics to each part. Tuning algorithms to new conditions used to require months of trial and error.
LACE works in two stages: first it breaks the problem into modular blocks, then it successively develops a team of complementary heuristics. The researchers tested the system on four new tasks related to container terminals and tugboat routing. LACE's results ranged from 97% to 99% of the best score achieved by any of the tested methods. Each task took about an hour, and computational costs did not exceed $10. Competing AI systems, including FunSearch from Google, failed to propose workable algorithms satisfying operational constraints.
The work is published in the journal Nature Machine Intelligence. The research was led by Associate Professor Yan Ran and research fellow Dr Gong Huatian from NTU's School of Civil and Environmental Engineering. The authors emphasize that these are laboratory tests on specially constructed tasks, not a ready commercial product. In their view, lower time and costs could make algorithm development accessible to small research groups, regional logistics centers, public hospitals and energy companies that do not have budgets of hundreds of thousands of dollars for engineering development.