Train What You Run: Probabilistic Convolutions for Learning Token Compaction in State Space Models
Abstract
Visual token compaction reduces inference cost by passing only selected image patches or video tokens to later layers. In sequence models with local convolutions, each removal changes which tokens are neighbors. Learning which tokens to keep therefore requires a training signal that accounts for the new neighborhoods. We introduce ProbConv, which computes the exact expected convolution before activation at a kept position under independent keep decisions. The operator is differentiable in the keep probabilities. With binary decisions, ProbConv and step gating reproduce the compacted Mamba block. Across image, vision--language and video backbones, ProbConv is strongest under strong compaction: its advantage over matched training controls grows as more tokens are removed. In Cobra, it also outperforms adaptations of published vision--language pruning methods at matched inference budgets. ProbConv also improves over matched zero-mask training in video frame selection and speech frame dropping. Our code is available at: https://github.com/gmum/probconv
Create a lesson
Metadata
- Categories
- cs.CV, cs.LG
Related papers
Every Edit Its Own Budget: Per-Instruction Token Freezing for Training-Free Acceleration of Multi-Edit Image Editing
Shared title terminologycs.CVJyotirmoy Nath, Neeraj Kumar, Brejesh Lall
Linear Probes Can Guide: Training-Free Control of Representation Generators
Shared title terminologycs.CVPengwei Wang, José Morano, Botond Fazekas et al.
Training Lightweight Gaze Models without Target Gaze Annotation: What Makes a Good Teacher?
Shared title terminologycs.CVScott J. Lewis, Di Fu
When Repair Accuracy Misleads: Training a VLM on Its Own Failures
Shared title terminologycs.CVAng Qi, Yue Wang
Efficient Video Retrieval Augmented Generation via Token Allocation
Shared title terminologycs.CVAyush Barik, Fan Lai, Francis Y. Yan
Label leakage through file headers: geometry and batch confounds in public mammography datasets, and a pre-training acceptance gate
Shared title terminologycs.CVAchraf Toufah, Rana Saad, Moulay Youssef El Hafidi