Knowledge Distillation from Neural Networks to Differentiable Logic Networks
Abstract
Differentiable logic networks (DLNs) are interpretable, edge-friendly classifiers that learn both their logic operators and their connections through gradient descent, achieving accuracy competitive with multi-layer perceptrons at orders-of-magnitude lower inference cost. Their accuracy, however, is bounded by the problems of vanishing gradients, scalability, and lack of an ecosystem, leaving a gap relative to conventional neural networks on several datasets. We introduce knowledge distillation for DLNs to narrow this gap. We distill from a trained multi-layer perceptron teacher into a DLN student, integrating the distillation objective into a two-phase training loop without altering the architecture or the inference procedure. The teacher is discarded after training. Hence, the distilled model retains the interpretability, sparsity, and inference cost of a conventionally trained DLN. We investigate this approach through four variants: a joint hyperparameter search that optimizes the distillation weight and temperature alongside the architecture, a grid search over these two hyperparameters with the architecture fixed, and two single-phase variants that employ distillation during only the neuron-function or only the connection phase. On 20 public tabular classification tasks, distillation improves balanced-class accuracy at negligible cost to gate-level operation counts and model size, though the benefit varies by dataset. Performance improvements of up to 15% are observed, in some cases surpassing the teacher itself.
Create a lesson
Related papers
SOC-Net: Second-Order-Cone-Constrained Neural Networks
Shared title terminologycs.LGSeungseok Oh, Youngjae Min, Navid Azizan et al.
InstructTTS-OPD: On-Policy Distillation for Multi-Objective Instruction-Following TTS
Shared title terminologycs.LGHaitao Li, Tian Tan, Yuguang Yang et al.
Differentially Private Policy Optimization in Linear MDPs with Adversarial Rewards
Shared title terminologycs.LGYi He
Fast Muscle-Driven Whole-Body Motion Tracking with a Differentiable World Model
Shared title terminologycs.LGKaibo He, Maciej Bakowicz, Shihe Zhou et al.
Sequentially Acquiring Concept Knowledge to Guide Continual Learning
Shared title terminologycs.LGShivanand Kundargi, Kowshik Thopalli, Tejas Gokhale
Fast and Scalable Abstract Interpretation for Deep Neural Networks
Shared title terminologycs.LGAvaljot Singh, Dushyant Bharadwaj, Yasmin Chandini Sarita et al.