Research & Papers

UH-NAS uses LLMs to co-design neural networks for exotic hardware

LLM-powered framework optimizes both accuracy and energy for optical chips and beyond.

Deep Dive

Tyler King and Timothee Leleu have introduced UH-NAS (Unconventional Hardware Neural Architecture Search), a framework that leverages large language models (LLMs) to navigate the complex trade-offs of deploying neural networks on unconventional hardware. Traditional NAS methods are tied to single hardware families (e.g., digital GPUs), making cross-platform comparisons nearly impossible. UH-NAS treats hardware as a swappable backend with per-platform energy models, physical constraints, and non-ideality simulators—allowing the same search algorithm to fairly compare optical MZI, analog, or digital backends.

Tested on optical Mach–Zehnder interferometer (MZI) hardware, UH-NAS discovered architectures that were more diverse and robust against physical non-idealities than those from conventional NAS baselines. It also outperformed earlier LLM-to-NAS approaches, demonstrating the power of using LLMs as evolutionary operators in conjunction with hardware-specific constraints. The authors highlight that system prompts play a key role in guiding the LLM's search, and that architecture-hardware co-design is essential as computing platforms diverge from traditional silicon.

Key Points
  • UH-NAS uses LLMs as evolutionary operators to co-optimize accuracy and inference energy for any hardware backend.
  • Framework enables fair system-level comparisons across optical, analog, and digital platforms without modifying the search algorithm.
  • On optical MZI hardware, UH-NAS found more diverse and robust architectures than conventional NAS and prior LLM-to-NAS methods.

Why It Matters

This enables practical AI deployment on emerging hardware, unlocking energy-efficient inference in specialized chips like optical processors.

📬 Get the top 10 AI stories daily