ResoLUT: Distilling Residual Networks into Lookup-Table Networks
Katarzyna Fojcik, Aidas Mikalauskas, Matthias Kampa, Renaldas Zioma, Jogundas Armaitis
Abstract
Logic networks built from Boolean gates or lookup tables (LUTs) promise efficient hardware inference, but training them at depth and learning their connectivity remain difficult. We do not train logic as logic. Instead, ResoLUT distills a trained residual network (ResNet) layer by layer into LUT trees, preserving its multi-bit residual stream and BatchNorm while extracting connectivity from the teacher rather than learning it. To our knowledge, ResoLUT is the first convolutional logic network in computer vision to retain a ResNet-style multi-bit residual stream. Hard LUT decisions are used throughout training and inference, avoiding a discretization gap in the logic. ResoLUT-20 reaches 95.66% on CIFAR-10 with twice the trees, and ResoLUT-56 reaches 78.87% on CIFAR-100 and 53.69% on ImageNet at 64px, the best results of logic and lookup-table networks on CIFAR-10 and CIFAR-100, showing that LUT networks can scale in depth. We explore and quantify the role of the residuals and the tree budget and shape. The most optimized model, a ResoLUT-8 with one eighth of the trees and further optimizations, fits on an FPGA and reaches 90.04% at 189k images per second, the highest throughput among the compared models above 85% on CIFAR-10.
Create a lesson
Related papers
LAF-ECG: Multi-Resolution Lead-Aware Fusion of Time-Series and Language Foundation Models for ECG Classification
Shared title terminologycs.LGKiana Taktehrani, Maryam Hosseini, Amir Keynia et al.
HKD-ACPA: Heterogeneous Knowledge Distillation Adversarial Cyber-Physical Attacks in Power Grids
Shared title terminologycs.LGJunhao Ren, Honglin Gao, Shuo Feng et al.
OAT3D: A Generative Model for 3D Shape- and Resolution-Free Structural Topology Optimization
Shared title terminologycs.LGHongrui Chen, Kittipong Thiamchaiboonthawee, Zhen Wei et al.
HME-PFD: Heterogeneous Mixture-of-Experts Privileged Feature Distillation
Shared title terminologycs.LGWen Xu, Xiaomin Zhang, Yucheng Yang et al.
Improving Imitation Policies for Multi-Phase Tasks through Residual Learning Allocation
Shared title terminologycs.LGClinton Enwerem, Saleh Kemal, John S. Baras et al.
Synthesizing hyperspectral Data using generative Models to train spectral Unmixing Methods for low-cost Crop Residue Cover Mapping
Shared title terminologycs.LGEge Artan, Shuo Chen, Andrew Peng et al.