Neuroevolution-Enhanced Multi-Objective Optimization for Mixed-Precision Quantization

Santiago Miret, Vui Seng Chua, Mattias Marder, Mariano Phielipp, Nilesh Jain, Somdeb Majumdar

Researchers at Intel Labs have introduced NEMO (Neuroevolution-Enhanced Multi-Objective Optimization), a framework designed to navigate the massive search space of mixed-precision quantization (MPQ) for deep neural networks. By leveraging evolutionary strategies and Graph Neural Networks (GNNs), NEMO identifies optimal trade-offs between model accuracy, memory footprint, and computational complexity.

The Challenge of Mixed-Precision Quantization

As deep learning models grow in complexity, deploying them on edge devices or efficient data centers requires significant compression. Quantization—reducing the bit-width of weights and activations (e.g., from 32-bit float to 4-bit integer)—is a standard solution. However, a uniform bit-width across all layers often leads to unacceptable accuracy loss.

Mixed-precision quantization assigns different bit-widths to different layers based on their sensitivity, but this creates a "combinatorial explosion." For a large model like ResNeXt-101, there are approximately $10^{206}$ possible configurations. Most existing tools optimize for a single metric (like model size) while treating others as hard constraints. NEMO instead seeks to find the best trade-offs across multiple objectives simultaneously.

Methodology: The NEMO Framework

NEMO treats quantization as a multi-objective evolutionary problem. Instead of searching for a single "best" model, it seeks a Pareto frontier—a set of configurations where one metric (e.g., size) cannot be improved without degrading another (e.g., accuracy).

Overview of the NEMO framework, from layer-wise graph representation to the multi-objective Pareto set.

Key components of the framework include:

  • Search Species: NEMO maintains a population of different "species" that explore the search space using various strategies, including traditional direct search and novel Neuroevolution species.
  • GNNs as Searchers: The target neural network is represented as a graph. GNNs are trained to "look" at this graph and predict optimal bit-widths for each layer. These GNNs are themselves evolved over generations.
  • Dynamic Resource Allocation: Using a "multi-armed bandit" approach (the UCB algorithm), NEMO dynamically allocates more resources (offspring) to the species that contribute most effectively to the current Pareto frontier.

Experimental Setup and Results

The framework was evaluated on the ImageNet classification benchmark using three diverse architectures: MobileNet-V2 (lightweight), ResNet50 (industry standard), and ResNeXt-101-32x8d (large-scale complexity).

NEMO demonstrated significant improvements over existing state-of-the-art methods like HAQ and HMQ:

  • Superior Compute Compression: On MobileNet-V2, NEMO achieved 6.5x compute compression (bit-ops reduction) compared to HAQ’s 1.0x, while maintaining similar accuracy and memory compression (~15x).
  • ResNet50 Efficiency: For ResNet50, NEMO reached an 8x compute compression ratio, doubling the efficiency of previous methods.
  • Scalability: The framework successfully navigated the $10^{206}$ search space of ResNeXt-101, a scale that often causes simpler search algorithms to fail.
Pareto frontiers for MobileNet-V2, ResNet50, and ResNeXt101-32x-8d, showing trade-offs between compute (Bit-Ops), memory (Size), and accuracy.

Key Insights

  1. Species Diversity: No single search strategy wins every time. NEMO’s ability to shift resources between species automatically is a major strength. For instance, "Floor-Rounding" search was effective for ResNeXt-101 but poor for MobileNet-V2.
  2. Compute vs. Memory: Optimizing for model size does not automatically optimize for bit-operations (compute). NEMO explicitly optimizes both, finding solutions that are significantly faster than size-only optimizers.
  3. Graph-Aware Search: Representing workloads as graphs allows GNNs to leverage structural relationships (like residual connections), which is more effective than treating layers as an independent list.

Conclusion and Future Work

NEMO provides developers with a flexible Pareto frontier, allowing them to choose between high-accuracy or high-compression versions of a model from a single search run. While the current study uses bit-operations as a hardware-agnostic proxy for speed, future work will involve incorporating actual hardware latency and expanding the framework to Transformer models and other domains like object detection.

Summary updated

BibTeX
@inproceedings{miret2021neuroevolution,
  author = {Santiago Miret and Vui Seng Chua and Mattias Marder and Mariano Phielipp and Nilesh Jain and Somdeb Majumdar},
  title = {{Neuroevolution-Enhanced Multi-Objective Optimization for Mixed-Precision Quantization}},
  booktitle = {GECCO},
  year = {2021},
  doi = {10.1145/3512290.3528692},
}
Figure