PaperarXiv:2611.23520

BeFit: Shifting Complexity from Weights to Bernstein Activations for Resource-Constrained Sensing

PreprintDated Nov 17, 2026Added Nov 20, 2026

  • ME

Authors: Malak Gamal El-Din; Yasser Shoukry; Salma Elmalaki

arXiv preprint (cs.AI, cs.AR), 2026-11-17

First page or project page of “BeFit: Shifting Complexity from Weights to Bernstein Activations for Resource-Constrained Sensing” (opens in a new tab)

El-Din, Malak Gamal et al., "BeFit: Shifting Complexity from Weights to Bernstein Activations for Resource-Constrained Sensing", arXiv:2611.23520, CC BY 4.0

TL;DR

Moves model capacity from weights into learnable Bernstein-polynomial activations (BeCNNs), found by hardware-aware NAS and trained by distillation; then projects weights to multiplication-free codes, freezes them, and recovers accuracy through the activations; generates model-specific kernels. HAR: BeCNNs +2.75 pp over identical-architecture ReLU CNNs on average.

Abstract

Time-series sensing increasingly relies on neural networks, yet deployment on resource-constrained microcontrollers remains challenging. Aggressive model compression can reduce accuracy, while restricting weights to multiplication-free representations introduces further losses. We present BeFit, an end-to-end framework that shifts model capacity from weights to learnable Bernstein polynomial activations. BeFit (i) finds compact Bernstein-activated convolutional neural networks (BeCNNs) through hardware-aware neural architecture search and trains them via knowledge distillation; (ii) projects their weights to multiplication-free codes, freezes the codes, and recovers the resulting accuracy loss through the learnable activations; and (iii) generates model-specific kernels that exploit the projected weights for multiplication-free convolutions. On human activity recognition, BeCNNs are 2.75 percentage points (pp) more accurate on average than ReLU CNNs of identical architecture. On a TI CC3220SF (Cortex-M4), weight projection speeds BeCNNs up by 2.2x on average while losing 0.8 pp, compared with 2.4 pp for ReLU CNNs. Against the MLPerf Tiny DS-CNN reference model running on TensorFlow Lite Micro with CMSIS-NN, the unprojected BeCNN achieves 1.0 pp higher accuracy, 2.2x lower latency, and 6.4x lower flash, while the projected model remains within 1.0 pp of the reference accuracy and runs 5.9x faster. In emulation on a RISC-V core without a hardware multiplier, the instruction-count reduction relative to the DS-CNN increases from 5.2x on the Cortex-M4 to 147x. BeFit also extends to transformers and MLPs, and across all tasks the final models stay within 1.56 pp of their float32 teachers on average.

Verbatim from arXiv (opens in a new tab) · arXiv metadata (abstracts are released under CC0)

Results on ChatPPG leaderboards

All leaderboards

No results from this paper on ChatPPG leaderboards yet. Browse the leaderboards.

Tasks & signals

Tasks

Activity recognition

Signals

Keywords

TinymlOn DeviceCortex M4MicrocontrollerMultiplication FreeQuantizationBernstein PolynomialLearnable Activation

Models

How it works

How BeFit / BeCNN (Bernstein-activation CNNs, multiplication-free) works: Setup → Method → TargetSetup: Signals (acc, imu). Method: BeFit / BeCNN (Bernstein-activation CNNs, multiplication-free). Target: Activity recognition.SetupSignals: acc, imuxyzSignalsacc, imuMethodBeFit / BeCNN (Bernstein-activ…TargetActivity recognitionActivity recognition

Cite this paper

Cite this paper with the fields recorded here. Check it against the publisher before submitting.

El-Din, M. G., Shoukry, Y., & Elmalaki, S. (2026). BeFit: Shifting Complexity from Weights to Bernstein Activations for Resource-Constrained Sensing. arXiv preprint. https://arxiv.org/abs/2611.23520
El-Din, Malak Gamal, Yasser Shoukry, and Salma Elmalaki. 2026. "BeFit: Shifting Complexity from Weights to Bernstein Activations for Resource-Constrained Sensing." arXiv preprint. https://arxiv.org/abs/2611.23520.
El-Din, M. G., Shoukry, Y. and Elmalaki, S. (2026) 'BeFit: Shifting Complexity from Weights to Bernstein Activations for Resource-Constrained Sensing', arXiv preprint. Available at: https://arxiv.org/abs/2611.23520
El-Din, Malak Gamal, et al. "BeFit: Shifting Complexity from Weights to Bernstein Activations for Resource-Constrained Sensing." arXiv preprint, 2026. https://arxiv.org/abs/2611.23520.
M. G. El-Din, Y. Shoukry, and S. Elmalaki, "BeFit: Shifting Complexity from Weights to Bernstein Activations for Resource-Constrained Sensing," arXiv preprint, 2026, [Online]. Available: https://arxiv.org/abs/2611.23520.
@misc{eldin2026befit,
  title         = {{BeFit: Shifting Complexity from Weights to Bernstein Activations for Resource-Constrained Sensing}},
  author        = {El-Din, Malak Gamal and Shoukry, Yasser and Elmalaki, Salma},
  year          = {2026},
  howpublished  = {arXiv preprint},
  eprint        = {2611.23520},
  archivePrefix = {arXiv}
}

Source metadata: 2026

Record updated Nov 20, 2026

Added to the ChatPPG research hub