arXiv Computer Vision By Opegbemi Matthias Busoye, Tolulope Matthew Busoye, Eghonghon-aye Eigbe

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

Read the original on arXiv Computer Vision →

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.

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 Computer Vision.

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