Hierarchical Neural Architecture Search for ML Accelerator Memory Limits

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing neural architecture search (NAS) methods, such as Multi-trial and One-Shot NAS, are inefficient and resource-intensive, particularly on machine learning accelerators, due to long training times, memory constraints, and bias in search algorithms.

Innovation Solution

A hybrid and hierarchical NAS approach that partitions the search space into sub-search spaces, using Multi-trial NAS for initial exploration and One-Shot NAS within each sub-space, with early stopping criteria to optimize resource use and reduce bias.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Loss of time

If One-Shot NAS is used to explore the search space in a single search, then total search cost is reduced significantly, but bias is introduced that causes issues on finding the optimal candidate

Engineering Contradiction:
Improvetotal search costVSAvoidfinding optimal candidate
Core Design Contradiction:
Loss of timeVSMeasurement precision

Solution Approach 1:

The search space is divided into multiple sub-search spaces, and multiple One-Shot NAS searches are performed on different sub-spaces. This segmentation reduces the bias in each individual search while maintaining computational efficiency, allowing the system to find optimal candidates without the excessive cost of exhaustive search.

Inventive Principle:
Principle #1Segmentation

2Adaptability or versatility

If the supernetwork combines all model candidates in one shot, then weight sharing is achieved, but the large model size causes out of memory occurrence on ML accelerators

Engineering Contradiction:
Improveweight sharingVSAvoidmodel size
Core Design Contradiction:
Adaptability or versatilityVSQuantity of substance

Solution Approach 1:

The supernetwork is divided into multiple sub-supernetworks, each corresponding to a sub-search space. This segmentation reduces the model size of each individual supernetwork, preventing out-of-memory errors on ML accelerators while maintaining weight sharing benefits within each sub-supernetwork.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The search space is partitioned along the dimension of model architecture parameters, creating multiple sub-search spaces. This dimensional partitioning allows the system to manage large search spaces without requiring a single large supernetwork, thus avoiding memory overflow while exploring diverse architecture options.

Inventive Principle:
Principle #17Another dimension (Dimensionality change)

3Reliability

If Multi-trial NAS is used to explore the design space with separate trials, then stable results are achieved with no interference among trials, but each trial takes a long time making the search process prohibitively expensive

Engineering Contradiction:
Improvestable resultsVSAvoidsearch process duration
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The search space is segmented into multiple sub-search spaces, and One-Shot NAS is applied to each sub-space. This approach maintains result stability by thoroughly exploring each sub-space while reducing the total search time compared to Multi-trial NAS, as weight sharing within sub-supernetworks accelerates the search process.

Inventive Principle:
Principle #1Segmentation

4Manufacturing precision

If the search space is large and requires 1000 or more samples to converge, then comprehensive exploration is achieved, but the search process becomes too expensive with 5 days training per trial

Engineering Contradiction:
Improveconvergence qualityVSAvoidsearch cost
Core Design Contradiction:
Manufacturing precisionVSLoss of time

Solution Approach 1:

The large search space requiring 1000+ samples is divided into multiple smaller sub-search spaces. Each sub-space requires fewer samples to converge (e.g., 10-100 samples), reducing the training cost per trial from 5 days to a fraction of that time, while the collective exploration of all sub-spaces achieves comprehensive coverage of the original search space.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS12579150B2Hybrid and hierarchical multi-trial and OneShot neural architecture search on datacenter machine learning accelerators
Publication Date: 2026.03.17 GOOGLE LLC
  • US12579150B2 patent drawing
  • US12579150B2 patent drawing
  • US12579150B2 patent drawing

AI summary

According to various implementations, generally disclosed herein is a hybrid and hierarchical neural architecture search (NAS) approach. The approach includes performing a search space partitioning scheme to divide the search space into sub-search spaces. The approach further includes performing a first type of NAS, such as a Multi-trial NAS, to cover a search across the sub-search spaces. The approach also includes performing a second type of NAS, such as a One-Shot NAS, to cover each sub-search space. The approach further includes automatically stopping the second type of NAS based on one or more early stopping criteria.