Reproduce “Glia: A Human-Inspired AI for Automated Systems Design and Optimization” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Pouya Hamadanian, Pantea Karimi, Arash Nasr-Esfahany, Kimia Noorbakhsh, Joseph Chandler, Ali ParandehGheibi, Mohammad Alizadeh, Hari Balakrishnan

Glia profiles LLM-serving systems, identifies bottlenecks, and tests designs through experiments. For GPU routing, it combines projected memory headroom with shorter-prompt-first scheduling. In a vLLM testbed, its router reduced slowdown—response time relative to load-free time—by more than 4.5× versus least-loaded-queue routing while serving Llama-3-8B-Instruct on four NVIDIA A10 GPUs at 7.5 queries per second; this result is limited to that setup.

Key insights

  • An AI system can autonomously generate interpretable system designs and principled algorithms by emulating human-like iterative reasoning grounded in empirical feedback.
  • Multi-agent collaboration and multi-context execution are crucial for sustained exploration and mitigating the limitations of single LLM contexts in complex, multi-step design tasks.
  • Beyond optimizing for scalar metrics, the AI can uncover novel mechanisms and insights, such as the Head-Room Allocator for memory management in LLM serving, that are understandable by human experts.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.