arXiv Computer Vision

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.

arXiv Machine Learning
Oct 19

Peak-Memory Schedules You Can Trust: Exact Realization, Certified Optimality, and the Limits of Recomputation for Inference

The paper presents a method for reliably scheduling operator execution in real‑time inference on small devices, achieving exact peak‑memory predictions and certified optimality. By profiling the generated program and modeling its memory usage, the authors can permute statements to match the modeled peak, guaranteeing bitwise‑identical results on CPUs and characterizing GPU limitations. They also provide efficient lower‑bound traps and analyze selective recomputation, showing it is NP‑hard in general but can reduce peak memory on certain architectures.

By Ivan Fomin, Ivan Koryabkin, Boris Sheludko
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
Sep 3

FORGE: Forward-Only Test-Time Adaptation for Integer-Only Vision Models on Microcontrollers

FORGE is a forward‑only test‑time adaptation technique designed for integer‑only vision models running on microcontrollers. It restores batch‑normalization statistics after BN folding by re‑normalizing each convolution’s per‑channel output using only forward‑pass estimates, enabling adaptation on deployed, folded integer models. The method achieves accuracy gains comparable to gradient‑based TENT, requires adapting only a few layers, works with single‑sample streaming, and has been validated on an ESP32‑S3 with minimal energy and latency overhead.

By Muhammad Rehan, Haider Ali, Muhammad Ali Munir, Moaz Amjad
arXiv Machine Learning
5d ago

Why Sub-4-Bit Vision CNNs Collapse and Where Mixed-Precision Recovery Stops

The paper investigates why Vision CNNs collapse when weights are quantized below 4 bits and where mixed‑precision recovery can help. It shows that accuracy loss is highly non‑linear, concentrated in late‑stage pointwise and depthwise layers, and that keeping less than 5 % of critical activations in 8‑bit precision can recover up to 92 % of the lost accuracy. The study also evaluates real‑world deployment on ARM and x86 CPUs, revealing that low‑bit quantization can cause significant runtime slowdowns due to software bit‑unpacking, underscoring a trade‑off between model size and edge throughput.

By Michael Schroeder
arXiv Machine Learning
Jun 30

SparsePixels: Efficient Convolution for Sparse Data on FPGAs

arXiv:2512. 06208v3 Announce Type: replace-cross Abstract: Inference of standard convolutional neural networks (CNNs) on FPGAs often incurs high latency and a long initiation interval due to the deep nested loops required to densely convolve every input pixel regardless of its feature value.

By Ho Fung Tsoi, Dylan Rankin, Vladimir Loncar, Philip Harris