JAQ: Joint Efficient Architecture Design and Low-Bit Quantization with Hardware-Software Co-Exploration

Authors

  • Mingzi Wang Tsinghua University
  • Yuan Meng Tsinghua University
  • Chen Tang Tsinghua University
  • Weixiang Zhang Tsinghua University
  • Yijian Qin Tsinghua University
  • Yang Yao Tsinghua University
  • Yingxin Li Tsinghua University
  • Tongtong Feng Tsinghua University
  • Xin Wang Tsinghua University
  • Xun Guan Tsinghua University
  • Zhi Wang Tsinghua University
  • Wenwu Zhu Tsinghua University

DOI:

https://doi.org/10.1609/aaai.v39i20.35415

Abstract

The co-design of neural network architectures, quantization precisions, and hardware accelerators offers a promising approach to achieving an optimal balance between performance and efficiency, particularly for model deployment on resource-constrained edge devices. In this work, we propose the JAQ Framework, which jointly optimizes the three critical dimensions. However, effectively automating the design process across the vast search space of those three dimensions poses significant challenges, especially when pursuing extremely low-bit quantization. Specifical, the primary challenges include: (1) Memory overhead in software-side: Low-precision quantization-aware training can lead to significant memory usage due to storing large intermediate features and latent weights for backpropagation, potentially causing memory exhaustion. (2) Search time-consuming in hardware-side: The discrete nature of hardware parameters and the complex interplay between compiler optimizations and individual operators make the accelerator search time-consuming. To address these issues, JAQ mitigates the memory overhead through a channel-wise sparse quantization (CSQ) scheme, selectively applying quantization to the most sensitive components of the model during optimization. Additionally, JAQ designs BatchTile, which employs a hardware generation network to encode all possible tiling modes, thereby speeding up the search for the optimal compiler mapping strategy. Extensive experiments demonstrate the effectiveness of JAQ, achieving approximately 7% higher Top-1 accuracy on ImageNet compared to previous methods and reducing the hardware search time per iteration to 0.15 seconds.

Downloads

Published

2025-04-11

How to Cite

Wang, M., Meng, Y., Tang, C., Zhang, W., Qin, Y., Yao, Y., … Zhu, W. (2025). JAQ: Joint Efficient Architecture Design and Low-Bit Quantization with Hardware-Software Co-Exploration. Proceedings of the AAAI Conference on Artificial Intelligence, 39(20), 21171–21179. https://doi.org/10.1609/aaai.v39i20.35415

Issue

Section

AAAI Technical Track on Machine Learning VI