arXiv Machine Learning

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

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

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
arXiv Machine Learning
Nov 16

Efficient Poincar\'e Convolutions through Patch-Statistics Factorization

The paper introduces a factorized Poincaré convolution layer that computes the clipped score of image patches using only two statistics—squared norm and inner products with filters—thereby avoiding explicit mapping of patches into the Poincaré ball. This approach yields exact score evaluation with single‑precision outputs and gradients that match double‑precision results, and it accelerates training of Poincaré U‑Net and ResNet‑20 models by 1.5–1.8× on an RTX A6000 and maintains speed gains on a V100. The method also reduces peak memory usage by 38–55% and speeds up the official PyTorch Hyperbolic U‑Net training step by 1.4× while preserving segmentation and classification quality.

By Luk\'a\v{s} Jochymek, Mark\'eta Va\v{s}inkov\'a, Petr Gajdo\v{s}
arXiv Machine Learning
Oct 19

Flat Loss, Evolving Features: Grokking in Modular Addition

The paper demonstrates that neural networks can maintain perfect training accuracy while their training cross‑entropy remains nearly flat at a positive level, a phenomenon observed on modular addition tasks. Using ReLU networks with supported‑Polar hidden updates, normalized output‑layer updates, and weight decay, the authors show that hidden features evolve and held‑out accuracy can rise from zero to above 90% even as cross‑entropy stays flat. Theoretical results for one‑hidden‑layer networks and empirical evidence from deeper networks and transformers confirm that correct classification need not coincide with minimal cross‑entropy, challenging conventional assumptions about loss plateaus.

By Akash Kumar, Karthik Sankaranarayanan