Searching on a Budget: HW-NAS with 10 Latency Probes
This paper proposes a two-stage hardware-aware NAS framework that trains a controller on synthetic devices using training-free accuracy proxies, enabling it to efficiently adapt to unseen target devices at test-time by searching for latency-efficient architectures with only a few high-fidelity latency probes.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are a chef trying to design the perfect recipe for a dish. You have two goals: the dish must taste amazing (high accuracy), but it also must be cooked quickly enough to serve a hungry crowd before they leave (low latency/energy).
Usually, when chefs (AI researchers) design these recipes for specific kitchens (hardware devices like phones or robots), they face a big problem. They can't just guess how long a dish will take to cook in a new kitchen without actually trying it. But actually cooking every single variation of the recipe is slow, expensive, and risky.
Here is how the authors of this paper solved that problem, using a simple two-step strategy:
The Problem: The "Guessing Game" is Risky
Most current methods try to predict how long a dish will take to cook using a "recipe book" (analytical approximations) or a "fortune teller" (a machine learning predictor).
- The Risk: If your fortune teller is wrong, you might promise the crowd a 5-minute meal, but it actually takes 20 minutes. In critical situations (like a robot needing to react instantly), this error is unacceptable.
- The Cost: To make the fortune teller accurate, you often have to cook hundreds of test dishes first, which takes a lot of time and money.
The Solution: The "Traveling Chef" with a Magic Map
The authors propose a new way to find the perfect recipe that only requires tasting 10 dishes in the new kitchen. They call this a "two-stage" approach.
Stage 1: Training in a "Dream Kitchen" (Synthetic Devices)
Instead of trying to learn the rules of one specific kitchen, the chef trains in a simulated, dream kitchen where the rules change randomly every day.
- The Analogy: Imagine the chef practices in a kitchen where the stove speed, oven temperature, and knife sharpness change randomly every time they cook. One day the stove is super fast; the next, it's slow.
- The Goal: By practicing in this chaotic, changing environment, the chef learns a general skill: "How to adjust my recipe based on how the equipment feels right now." They don't memorize one specific stove; they learn how to adapt to any stove.
- The Shortcut: To save time during this training, they don't actually cook the full dish to taste it. They use a "quick taste test" (a training-free proxy) that estimates if the recipe would taste good without spending hours cooking it.
Stage 2: The Real Kitchen (Deployment)
Now, the chef goes to a real, specific kitchen (like an iPhone or a robot) to cook for real.
- The Strategy: The chef doesn't guess. They only cook 10 specific dishes (candidate networks) and time them exactly.
- The Adaptation: Because the chef spent years training in the "Dream Kitchen" where conditions changed constantly, they are already an expert at reading the room. They look at the timing of those first few dishes, realize, "Ah, this stove is slower than I thought," and immediately adjust the next 9 dishes to fit that specific stove.
- The Result: They pick the best dish from those 10 real tests. No guessing, no fortune tellers, just real data.
Why This is Better (The Results)
The paper tested this against other methods (like the "fortune teller" approach) on 18 different devices and even a real iPhone 13.
- The Fortune Teller: Tried to predict the cooking time for hundreds of dishes based on a few samples. It often got the time wrong, leading to dishes that were slower than promised.
- The "Dream Kitchen" Chef: Only cooked 10 dishes but measured them perfectly.
- The Outcome: The "Dream Kitchen" method found recipes that were 8.7% faster in real-world tests than the prediction-based methods.
The Big Takeaway
If you have a very limited budget for testing (you can only check the clock 10 times), it is better to measure a few things accurately than to guess the outcome of many things.
By training a "smart agent" on a wide variety of fake, random scenarios first, it becomes so good at adapting that it can walk into a brand-new, unknown kitchen, taste just 10 dishes, and instantly know exactly how to cook the perfect meal for that specific environment.
In short: Don't try to predict the future; train your AI to be a master of adaptation, then let it make a few real-world checks to get the job done right.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.