LLMatic: Neural Architecture Search Via Large Language Models And Quality Diversity Optimization

Muhammad Umair Nasir, Sam Earle, Julian Togelius, Steven James, Christopher Cleghorn

    Research output: Chapter in Book/Report/Conference proceedingConference contribution

    Abstract

    Large language models (LLMs) have emerged as powerful tools capable of accomplishing a broad spectrum of tasks. Their abilities span numerous areas, and one area where they have made a significant impact is in the domain of code generation. Here, we propose using the coding abilities of LLMs to introduce meaningful variations to code defining neural networks. Meanwhile, Quality-Diversity (QD) algorithms are known to discover diverse and robust solutions. By merging the code-generating abilities of LLMs with the diversity and robustness of QD solutions, we introduce LLMatic, a Neural Architecture Search (NAS) algorithm. While LLMs struggle to conduct NAS directly through prompts, LLMatic uses a procedural approach, leveraging QD for prompts and network architecture to create diverse and high-performing networks. We test LLMatic on the CIFAR-10 and NAS-bench-201 benchmarks, demonstrating that it can produce competitive networks while evaluating just 2, 000 candidates, even without prior knowledge of the benchmark domain or exposure to any previous top-performing models for the benchmark. The open-sourced code is available at https://github.com/umair-nasir14/LLMatic.

    Original languageEnglish (US)
    Title of host publicationGECCO 2024 - Proceedings of the 2024 Genetic and Evolutionary Computation Conference
    PublisherAssociation for Computing Machinery, Inc
    Pages1110-1118
    Number of pages9
    ISBN (Electronic)9798400704949
    DOIs
    StatePublished - Jul 14 2024
    Event2024 Genetic and Evolutionary Computation Conference, GECCO 2024 - Melbourne, Australia
    Duration: Jul 14 2024Jul 18 2024

    Publication series

    NameGECCO 2024 - Proceedings of the 2024 Genetic and Evolutionary Computation Conference

    Conference

    Conference2024 Genetic and Evolutionary Computation Conference, GECCO 2024
    Country/TerritoryAustralia
    CityMelbourne
    Period7/14/247/18/24

    Keywords

    • large language models
    • neural architecture search
    • neural networks
    • quality-diversity optimization

    ASJC Scopus subject areas

    • Logic
    • Software
    • Control and Optimization
    • Artificial Intelligence
    • Computational Theory and Mathematics
    • Computer Science Applications

    Fingerprint

    Dive into the research topics of 'LLMatic: Neural Architecture Search Via Large Language Models And Quality Diversity Optimization'. Together they form a unique fingerprint.

    Cite this