---
title: "UC San Diego's SNAC-Pack Cuts FPGA Neural Network Design From Months to Hours"
subtitle: "SNAC-Pack automates FPGA-ready neural architecture search using hardware surrogate models, cutting months of manual tuning to hours"
url: "https://alphasignal.ai/news/uc-san-diego-s-snac-pack-cuts-fpga-neural-network-design-from-months-to-hours"
author: "AlphaSignal Newsroom"
author_url: "https://alphasignal.ai/editorial-team"
company: "AlphaSignal"
company_url: "https://alphasignal.ai/company/alphasignal"
published: "2026-06-04T00:00:00.000Z"
updated: "2026-06-12T01:13:03.752Z"
type: "Paper"
topics:
  - "Gpus"
  - "Development"
subtopics:
  - "Quantization"
  - "Code Generation"
upvotes: 1180
source_url: "https://arxiv.org/abs/2605.16138"
comments: 0
truncated: true
---

# UC San Diego's SNAC-Pack Cuts FPGA Neural Network Design From Months to Hours

> SNAC-Pack automates FPGA-ready neural architecture search using hardware surrogate models, cutting months of manual tuning to hours

Deploying neural networks on FPGAs is one of the most unforgiving engineering challenges in applied ML. Unlike CPUs or GPUs, where you can roughly predict cost from floating-point operations, FPGAs impose a five-dimensional resource budget: lookup tables (LUTs), digital signal processors (DSPs), block RAM (BRAM), flip-flops (FFs), and clock cycles. Get any one of those wrong and your design simply does not fit. A team from UC San Diego, ETH Zurich, and Fermi National Accelerator Laboratory has now released [SNAC-Pack](https://arxiv.org/abs/2605.16138), an open-source AutoML framework that automates the entire pipeline from architecture search to synthesized FPGA firmware.

## The gap that existing NAS tools leave open

Neural architecture search (NAS) has matured a lot, but almost all existing tools optimize for accuracy or use software-level proxies like FLOPs or bit operations (BOPs) as stand-ins for hardware cost. The [hls4ml library](https://github.com/fastmachinelearning/hls4ml) is open-source software designed to facilitate the deployment of ML models on FPGAs, targeting low-latency and low-power edge applications. But hls4ml is a synthesis tool, not a search system. The missing piece was a framework that could explore thousands of candidate architectures and score them on real FPGA metrics without running a full synthesis pass (which can take minutes to hours per candidate) on every single trial.

Taking a neural network model as input, hls4ml generates C/C++ code designed to be transpiled into FPGA firmware by processing it with a high-level synthesis (HLS) library. That synthesis step is the bottleneck. SNAC-Pack solves this by inserting a fast surrogate model into the search loop that predicts resource utilization and latency without invoking the synthesizer, reserving full synthesis only for the final selected architectures.

## How the pipeline works, step by step

![SNAC-Pack system architecture diagram showing global search, local compression, and hardware synthesis stages](https://arxiv.org/html/2605.16138v2/x1.png) 

SNAC-Pack operates in two main stages: a global search and a local compression pass. Here is the full flow:

1. **Configure via YAML (or an AI agent):** Users specify the dataset, search space (layer depths, widths, activations, regularization), optimization objectives, and target FPGA board in a YAML file. An optional Model Context Protocol (MCP) frontend lets agentic clients drive the same pipeline through natural language.

_Preview only. Full text requires an AlphaSignal Pro account._

## Sources

- [Surrogate Neural Architecture Codesign Package (SNAC-Pack)](https://arxiv.org/abs/2605.16138)
- [SNAC-Pack Paper (HTML)](https://arxiv.org/html/2605.16138)
- [Fast convolutional neural networks on FPGAs with hls4ml](https://arxiv.org/abs/2101.05108)
- [fastmachinelearning/nac-opt (GitHub)](https://github.com/fastmachinelearning/nac-opt)
- [Optuna NSGA-II Sampler Documentation](https://optuna.readthedocs.io/en/stable/reference/samplers/generated/optuna.samplers.NSGAIISampler.html)
