[Paper Review] BARS: Joint Search of Cell Topology and Layout for Accurate and Efficient Binary ARchitectures
BARS proposes a joint differentiable neural architecture search (NAS) framework that jointly optimizes cell topology (micro-level) and network depth/width layout (macro-level) for binary neural networks (BNNs). By designing a tailored two-level search space and incorporating Gumbel sampling and entropy regularization, BARS discovers fully binarized architectures that achieve state-of-the-art accuracy with significantly reduced floating-point operations—surpassing hand-crafted and prior NAS-based BNNs on CIFAR-10 and ImageNet.
Binary Neural Networks (BNNs) have received significant attention due to their promising efficiency. Currently, most BNN studies directly adopt widely-used CNN architectures, which can be suboptimal for BNNs. This paper proposes a novel Binary ARchitecture Search (BARS) flow to discover superior binary architecture in a large design space. Specifically, we analyze the information bottlenecks that are related to both the topology and layout architecture design choices. And we propose to automatically search for the optimal information flow. To achieve that, we design a two-level (Macro & Micro) search space tailored for BNNs and apply a differentiable neural architecture search (NAS) to explore this search space efficiently. The macro-level search space includes width and depth decisions, which is required for better balancing the model performance and complexity. We also design the micro-level search space to strengthen the information flow for BNN. %A notable challenge of BNN architecture search lies in that binary operations exacerbate the "collapse" problem of differentiable NAS, for which we incorporate various search and derive strategies to stabilize the search process. On CIFAR-10, BARS achieves 1.5% higher accuracy with 2/3 binary operations and 1/10 floating-point operations comparing with existing BNN NAS studies. On ImageNet, with similar resource consumption, BARS-discovered architecture achieves a 6% accuracy gain than hand-crafted binary ResNet-18 architectures and outperforms other binary architectures while fully binarizing the architecture backbone.
Motivation & Objective
- To address the performance degradation in BNNs caused by information bottlenecks due to 1-bit quantization of weights and activations.
- To overcome the suboptimality of transferring full-precision CNN architectures to BNNs, which often leads to poor information flow.
- To develop a unified differentiable NAS framework that jointly searches micro-level topology and macro-level layout for BNNs.
- To minimize full-precision operations while maximizing accuracy by fully binarizing the backbone, including downsampling layers.
- To stabilize the search process in a large search space through improved strategies like Gumbel sampling and entropy regularization.
Proposed method
- Design a two-level search space: macro-level for depth and width decisions, and micro-level for cell topology with binary convolutions and skip connections.
- Extend differentiable NAS (DARTS) to jointly optimize macro and micro search spaces using a unified differentiable formulation.
- Introduce Gumbel sampling with temperature scheduling to encourage exploration in early search stages and confident decisions in later stages.
- Apply entropy regularization to stabilize the architecture search by promoting diverse and confident operation choices.
- Design an improved binary downsample layer that maintains information flow while enabling full binarization of the network.
- Use warm-up training and hyperparameter scheduling to prevent the 'collapse-to-shortcuts' problem common in differentiable NAS.
Experimental results
Research questions
- RQ1Can joint search of macro-level layout and micro-level topology improve BNN performance beyond hand-crafted or FP-NAS-adapted architectures?
- RQ2How does the information bottleneck in BNNs affect performance, and can it be mitigated through architectural design at both micro and macro levels?
- RQ3Can a differentiable NAS framework be effectively adapted to BNNs with a fully binarized backbone, including downsampling layers?
- RQ4What search strategies are most effective in stabilizing the search process in a large, complex BNN search space?
- RQ5How do architectural choices like skip connections and downsample operations impact information flow and final accuracy in BNNs?
Key findings
- On CIFAR-10, BARS achieves 93.0% top-1 accuracy with 1/10 of the floating-point operations and 2/3 of the binary operations compared to prior BNN NAS methods.
- On ImageNet, the BARS-discovered architecture achieves a 6% accuracy gain over the fully binarized ResNet-18, while consuming significantly fewer resources.
- The BARS-discovered architecture fully binarizes the backbone, including the downsampling layers, unlike prior works that retain FP layers for performance.
- Ablation studies show that removing the op-level shortcut or improved downsample layer causes a 0.2% and 0.3% accuracy drop in BARS-B, respectively, indicating strong architectural synergy.
- The macro-level joint search of depth and width achieves a better performance-complexity trade-off than uniform width expansion, as shown by Pareto frontier analysis.
- The discovered cells on ImageNet show more convolutions and complex skip connections than those on CIFAR-10, reflecting dataset-specific architectural preferences.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.