cs.LGAug 20, 2026

Bern2Edge: A Neurosymbolic Compiler for Edge Deployment via Bernstein Polynomial Networks

Authors: Malak Gamal El-Din, Yifan Zhang, Yasser Shoukry, Sitao Huang, Salma Elmalaki

Organizations: Department of Electrical Engineering and Computer Science, University of California, Irvine, CA 92697 USA

Abstract

Deploying high-accuracy neural networks on resource-constrained edge devices remains challenging, as existing approaches treat training, compression, and hardware synthesis as separate stages, leaving a gap between software-trained models and efficient end-to-end deployment with limited support for interpretability. We propose Bern2Edge, an end-to-end framework that uses knowledge distillation to convert a pretrained teacher feed-forward network into hardware-efficient representations via Bernstein polynomial activations. This representation enables two deployment paths: (i) a high-fidelity LUT-based realization that preserves model fidelity under compression, and (ii) a symbolic rule-based representation derived from Bernstein activation geometry, enabling interpretable inference with explicit input-space constraints. The resulting BNNs achieve up to 2.12 percentage-point (pp) accuracy improvement over ReLU under identical compression constraints. At the system level, Bern2Edge achieves up to 99.8% latency reduction and 95.2% BRAM reduction relative to a W8A8 quantized teacher on an AMD Xilinx KV260 FPGA, while maintaining accuracy within 0.5 pp, and further deploys on a low-power Spartan-7 XC7S15 FPGA. The rule-based path reduces DSP usage by up to 89.0% at a cost of 1.5 pp in total accuracy.

Figures & tables

Explore similar work

CardsList
  1. Federated Learning of Binary Neural Networks: Enabling Low-Cost Inference

    Mar 16, 2026Nitin Priyadarshini Shankar, Soham Lahiri, Sheetal Kalyani +1Binary Neural NetworksFederated Learning

  2. Quantization Effects of Artificial Neural Networks for Embedded Edge-Computing Applications

    Nov 7, 2025Alperen Aksoy, Ilja Bekman, Vesselin Dimitrov +6Neural Network QuantizationBinary Neural Networks

  3. EvoLP: Self-Evolving Latency Predictor for Model Compression in Real-Time Edge Systems

    Jul 10, 2026Shuo Huai, Hao Kong, Shiqing Li +5Efficient Neural Network InferenceEdge Computing