arXiv Machine Learning By Quentin Luquet de Saint-Germain, Massil Ait Abdeslam, Jean Pierre David

Threshold-Based Early Stopping of Accumulations in Neural Networks with Binary Activation

Read the original on arXiv Machine Learning →

arXiv:2608. 06177v1 Announce Type: new Abstract: Binary neural networks are very attractive for constrained deployment, enabling small footprint and low-power inference.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv Machine Learning.

arXiv Computer Vision
Oct 2

Right In-Place (RiP) Convolution: A Simple, General, and Near-Optimal Strategy for Memory-Efficient CNN Inference

The paper introduces Right In-Place (RiP) convolution, a memory‑efficient strategy that corrects and generalizes previous in‑place convolution formulations to arbitrary stride, dilation, padding, and rectangular kernels. RiP aligns each layer’s input and output within a shared workspace, enabling safe, row‑major access with minimal memory overhead. Experiments on 10,000 random layers and 84 layers from 25 architectures show no corruption, matching or improving on existing herringbone workspaces while reducing memory usage by up to 24.8% and lowering peak activation memory on Raspberry Pi Pico MCUs by 12.5–33.3% without affecting cycle counts.

By Opegbemi Matthias Busoye, Tolulope Matthew Busoye, Eghonghon-aye Eigbe
arXiv Machine Learning
Oct 9

Grokking or Glitching? How Low-Precision Drives Slingshot Loss Spikes

Deep neural networks can exhibit periodic loss spikes known as the "Slingshot Mechanism" during long‑term training. This paper shows that such spikes arise from finite‑precision floating‑point arithmetic: when the correct‑class logit becomes much larger than the others, the gradient for that class is rounded to zero while others remain nonzero, breaking the zero‑sum constraint and creating a positive feedback loop that inflates feature and classifier norms. The authors term this Numerical Feature Inflation (NFI) and demonstrate that it explains the rapid norm growth, reappearance of gradients, and loss spikes, while also showing that partial absorption can still cause hidden norm growth without visible spikes.

By Hanqing Liu, Jianjun Cao, Yuanze Li, Zijian Zhou
arXiv AI
4d ago

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

BeFit is an end‑to‑end framework that shifts neural network capacity from weights to learnable Bernstein polynomial activations, enabling compact convolutional models (BeCNNs) suitable for resource‑constrained microcontrollers. The approach uses hardware‑aware architecture search, knowledge distillation, and weight projection to multiplication‑free codes, then recovers accuracy loss through the activations and generates kernels for efficient multiplication‑free convolutions. On human activity recognition tasks, BeCNNs outperform ReLU CNNs of the same architecture, and on a TI Cortex‑M4 microcontroller they achieve significant speedups and lower memory usage while maintaining near‑float32 accuracy. whyItMatters":"The framework demonstrates that shifting complexity to activations allows deployment of accurate neural networks on microcontrollers without relying on multipliers, addressing a key challenge in edge AI."

By Malak Gamal El-Din, Yasser Shoukry, Salma Elmalaki