Train What You Run: Probabilistic Convolutions for Learning Token Compaction in State Space Models
Organizations: Faculty of Mathematics and Computer Science, Jagiellonian University, Kraków, Poland · Doctoral School of Exact and Natural Sciences, Jagiellonian University, Kraków, Poland · Centre for Credible Artificial Intelligence, Warsaw University of Technology, Poland
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
Figures & tables
| 2,000 steps | Equal time | ||
| Selection rule | 10% | 25% | 10% |
| Uniform | 57.4 | 62.0 | – |
| Layer-0 | 58.6 | 63.0 | – |
| DTP | 57.5 | 61.4 | – |
| FastV | 56.2 | 62.3 | – |
| DART | 54.9 | 58.7 | – |
| Tokens kept per cut | |||
| Selection rule | |||
| Token norm, no FT | 65.81 | 73.75 | 75.87 |
| Token norm, FT | 73.25 0.07 | 75.24 0.11 | 76.11 0.08 |
| Zero mask + step gating | 73.15 0.17 | 74.77 0.02 | 75.49 0.11 |
| DyVM forward | 74.78 0.13 | 75.93 0.11 | 76.19 0.12 |
| ProbConv (ours) | 75.35 0.04 | 75.97 0.13 | 76.23 0.14 |
| Frames kept of 10 | |||
| Frame selection | 2 | 4 | 6 |
| All 10 frames | 73.69 | 79.36 | 80.20 |
| Uniform | 61.78 | 72.22 | 75.59 |
| OCSampler, released | 68.99 | 75.98 | 79.09 |
| OCSampler reproduction | 69.45 0.13 | 75.59 0.31 | 78.74 0.27 |
| Zero mask, top- | 60.53 0.92 | 71.87 0.63 | 77.07 0.32 |
| WER (%) | Causal encoder | Bidir. | |
| Frame selection | scratch | from dense | scratch |
| All frames | 23.9 0.7 | 22.6 0.9 | 14.3 0.3 |
| Uniform | 30.3 0.3 | 34.8 1.0 | 20.2 0.4 |
| CTC peaks (Soundwave) | 27.5 1.2 | 28.6 0.6 | 14.8 0.7 |
| Zero mask | 36.9 8.3 | 48.2 3.1 | 21.8 2.6 |
| REINFORCE | 26.2 2.8 | 27.9 0.4 | 14.2 0.2 |
| Host | GPU | Unit | Dense | Compacted | Speedup |
| Vim | RTX 4090 | ms | 45.9 | 28.5 | 1.61 |
| VideoMamba | RTX 4090 | clips/s | 555.3 | 1133.1 | 2.04 |
| Cobra prefill | H100 | img/s | 49.5 | 140.9 | 2.84 |
| Vim, | Cobra, 10% | ||
| Training computation | top-1 | gap | average |
| ProbConv (ours) | 71.59 0.12 | 0.05 | 61.1 0.2 |
| Stop convolution gradient | 71.72 0.16 | 0.06 | 55.3 2.4 |
| Remove step gating | 64.42 0.35 | 0.40 | 61.2 0.1 |
| Soft forward | 70.40 0.07 | 0.07 | ProbConv † |
| Zero mask + step gating | 67.87 0.32 | 0.25 | 58.4 0.2 |
Appendix figures & tables56 assets
Supplementary material from the paper’s appendix.
Appendix
| Tokens kept | GMACs, analytic | GFLOPs, published convention | |||||
| Host | Budget | per cut | final % | per input | % | per input | % |
| Vim-Tiny | dense | 196 | 100 | 1.53 | 100 | 1.45 | 100 |
| , 2 cuts | 59 / 18 | 9.2 | 0.87 | 56.8 | 0.83 | 57.1 | |
| , 2 cuts | 69 / 24 | 12.2 | 0.91 | 59.4 | 0.86 | 59.6 | |
| , 2 cuts | 78 / 31 | 15.8 | 0.94 | 61.8 | 0.90 | 62.1 | |
| , 2 cuts | 98 / 49 | 25.0 | 1.03 | 67.5 | 0.98 | 67.8 | |
| Check (RTX 4090, fp32 unless noted) | relative error |
| Mamba-1 (HuBERT block): vs. dense | |
| Mamba-1: binary vs. physical compaction | |
| Mamba-2: binary vs. physical compaction | |
| ASR encoder, STE training forward vs. compacted inference | |
| Expected dechunker vs. Monte Carlo (causal / bidir.) | / |
| H-Net / LDARNet: STE forward vs. published forward | / |
| Patches kept per cut ( ) | 0.3 | 0.35 | 0.4 | 0.5 | 0.6 | 0.7 | 0.75 | 0.8 | 0.9 |
| Patches kept after blocks 10 / 20 | 59 / 18 | 69 / 24 | 78 / 31 | 98 / 49 | 118 / 71 | 137 / 96 | 147 / 111 | 157 / 126 | 176 / 158 |
| Final retention | 9.2% | 12.2% | 15.8% | 25.0% | 36.2% | 49.0% | 56.6% | 64.3% | 80.6% |
| Dense (all 196 patches) | 83.25 | 83.25 | 83.25 | 83.25 | 83.25 | 83.25 | 83.25 | 83.25 | 83.25 |
| Pruned, no fine-tuning | 26.93 | 31.41 | 37.01 | 47.94 | 58.41 | 67.50 | 71.52 | 74.59 | 79.72 |
| Compaction in training | 70.77 0.25 | 71.73 0.28 | 72.74 0.39 | 74.47 0.40 | 76.84 0.29 | 78.38 0.08 | 79.02 0.16 | 79.67 0.18 | 80.47 0.05 |
| Compaction in training, ToP-ViM score | 72.13 0.52 | 73.22 0.35 | 74.08 0.20 | 75.94 0.40 | 77.58 0.09 | 79.05 0.21 | 79.66 0.12 | 80.29 0.25 | 81.02 0.06 |
| Patches kept per cut ( ) | 0.3 | 0.35 | 0.4 | 0.5 | 0.6 | 0.7 | 0.75 | 0.8 | 0.9 |
| Patches kept after blocks 10 / 20 | 59 / 18 | 69 / 24 | 78 / 31 | 98 / 49 | 118 / 71 | 137 / 96 | 147 / 111 | 157 / 126 | 176 / 158 |
| Final retention | 9.2% | 12.2% | 15.8% | 25.0% | 36.2% | 49.0% | 56.6% | 64.3% | 80.6% |
| Dense (all 196 patches) | 76.07 | 76.07 | 76.07 | 76.07 | 76.07 | 76.07 | 76.07 | 76.07 | 76.07 |
| Pruned, no fine-tuning | 24.36 | 29.08 | 33.77 | 43.18 | 52.85 | 61.10 | 64.82 | 67.98 | 72.89 |
| Compaction in training | 65.55 0.27 | 66.37 0.11 | 67.23 0.16 | 68.96 0.35 | 70.66 0.21 | 72.17 0.07 | 72.85 0.08 | 73.37 0.13 | 74.37 0.11 |
| Compaction in training, ToP-ViM score | 66.70 0.18 | 67.63 0.30 | 68.31 0.12 | 69.83 0.14 | 71.46 0.11 | 72.77 0.12 | 73.27 0.13 | 73.95 0.09 | 74.73 0.14 |
| Patches after blocks 10 / 20 | 59 / 18 (9.2%) | 69 / 24 (12.2%) | 98 / 49 (25.0%) | 109 / 61 |
| Dense | 80.48 | 80.48 | 80.48 | 80.48 |
| No fine-tuning | 55.98 | 61.15 | 70.37 | 72.53 |
| Learned, zero mask | 75.14 0.19 | 75.33 0.29 | 76.13 0.51 | 77.03 0.28 |
| Learned, ProbConv (ours) | 76.88 0.09 | 77.03 0.02 | 77.59 0.07 | 77.81 0.25 |
| ProbConv zero mask, paired | 0.25 | 0.27 | 0.58 | 0.47 |
| Soft compacted, zero mask | 0.13 | 0.35 | 0.56 | 0.29 |
| Patches kept per cut ( ) | 0.4 | 0.5 | 0.7 |
| Patches after the last cut | 12 (6.1%) | 24 (12.2%) | 67 (34.2%) |
| ProbConv (ours) | 68.40 0.23 | 70.90 0.20 | 73.59 0.09 |
| without budget schedule | 68.40 0.30 | 71.24 0.13 | 73.74 0.11 |
| without token MSE | 68.68 0.21 | 70.85 0.46 | 74.28 0.09 |
| DyVM [ 64 ] , adapted | 67.01 0.23 | 70.44 0.07 | 73.77 0.07 |
| with our budget schedule | 66.80 0.30 | 70.03 0.08 | 73.84 0.04 |
| training signal | patches kept after blocks 10 / 20 (final retention) | ||||||
| Selector trained | deployed forward | grad. via conv. taps | grad. via step gate | 69 / 24 (12.2%) | 98 / 49 (25.0%) | 118 / 71 (36.2%) | 147 / 111 (56.6%) |
| ProbConv (ours) | ✓ | ProbConv | ✓ | 71.59 0.12 | 73.13 0.05 | 73.71 0.13 | 74.43 0.13 |
| ProbConv, no conv. grad. (ours) | ✓ | – | ✓ | 71.72 0.16 | 73.12 0.19 | 73.81 0.14 | 74.45 0.13 |
| ProbConv, straight-through from step 1 (ours) | ✓ | ProbConv | ✓ | 71.28 0.13 | 71.94 0.88 | 73.46 0.18 | 74.21 0.15 |
| ProbConv, straight-through from step 1, no conv. grad. (ours) | ✓ | – | ✓ | 71.55 0.16 | 71.90 1.14 | 72.51 0.42 | 74.28 0.22 |
| ProbConv, soft forward (ours) | – | ProbConv | ✓ | 70.40 0.07 | 73.12 0.15 | 74.04 0.20 | 74.76 0.09 |
| Image | class | learned | agrees | smallest | retention |
| 0 | 7 | 26 | yes | 22 | 11.22% |
| 1 | 123 | 24 | yes | 11 | 5.61% |
| 2 | 224 | 24 | yes | 13 | 6.63% |
| 3 | 303 | 20 | yes | 7 | 3.57% |
| 4 | 437 | 20 | yes | 4 | 2.04% |
| 5 | 527 | 25 | yes | 14 | 7.14% |
| Kinetics-400, 3 seeds | K400 at reported FLOPs | HMDB51, 3 splits | |||||||||
| Tokens kept per cut ( ) | 0.4 | 0.5 | 0.6 | 0.7 | 0.8 | 0.85 | 0.9 | 0.681 | 0.861 | 0.5 | 0.7 |
| MACs removed | 58% | 52% | 45% | 36% | 26% | 20% | 14% | 38% | 19% | 52% | 36% |
| GMACs per view | 5.07 | 5.82 | 6.72 | 7.78 | 9.03 | 9.73 | 10.48 | 7.56 | 9.89 | 5.82 | 7.78 |
| GFLOPs, R-MeeTo counter | 4.86 | 5.57 | 6.42 | 7.44 | 8.63 | 9.29 | 10.01 | 7.23 | 9.44 | 5.57 | 7.44 |
| Dense (12.15 GMACs, 11.54 GFLOPs) | 76.65 | 76.65 | 76.65 | 76.65 | 76.65 | 76.65 | 76.65 | 76.65 | 76.65 | 72.77 | 72.77 |
| Token norm, no fine-tuning | 58.16 | 65.81 | 70.74 | 73.75 | 75.49 | 75.87 | 76.33 | 73.32 | 75.99 | 62.31 | 70.78 |
| ( % MACs) | ( % MACs) | |||
| Selector trained | top-1 | top-1 | ||
| ProbConv (ours) | 72.59 0.19 | – | 74.81 0.32 | – |
| no conv. grad. | 71.53 0.50 | 0.50 | 73.81 0.62 | 0.42 |
| w/o step gating | 67.58 0.56 | 0.39 | 72.61 0.46 | 0.48 |
| Zero mask + step gating | 71.44 0.51 | 0.44 | 72.81 0.62 | 0.70 |
| Compaction (token norm) | 68.41 0.51 | 0.69 | 72.64 0.33 | 0.51 |
| , 2nd | |||||
| Frame selection | mAP | to REINFORCE | classifier | ||
| Training-free rules with the stage-I classifier | |||||
| All 10 frames, dense | 73.69 | 79.36 | 79.49 | 80.20 | |
| Uniform | 61.78 | 72.22 | 72.00 | 75.59 | |
| Random (3 draws) | 60.13 | 71.03 | 71.13 | 75.70 | |
| MGSampler [ 72 ] | 61.66 | 72.60 | 72.35 | 76.23 | |
| Consecutive kept candidates | Against REINFORCE | ||||||
| Frame selection | 2 | 3 | 4 | First or last | In action | Shared frames | Same top-1 |
| Random 4 of 10 | 83.3 | 23.3 | 3.3 | 66.7 | 65.6 | 1.60 | – |
| Uniform | 0.0 | 0.0 | 0.0 | 0.0 | 69.9 | 1.69 0.01 | 72.4 0.2 |
| Zero mask, top- | 92.6 0.8 | 37.7 1.5 | 9.0 0.9 | 10.6 1.7 | 73.6 0.2 | 1.80 0.07 | 72.1 1.1 |
| REINFORCE (OCSampler) | 90.1 0.2 | 33.1 1.1 | 8.0 0.3 | 41.7 0.5 | 73.4 0.2 | 3.37 0.01 | 89.0 0.1 |
| ProbConv, sampled (ours) | 90.5 0.1 | 33.9 0.8 | 8.1 0.5 | 43.9 0.2 | 73.4 0.1 | 3.37 0.03 | 88.8 0.6 |
| OCSampler’s sampler | train. | fixed weights | ||||||
| Gradient | cond. Poisson | systematic | tr Cov | tr Cov | cos | |||
| Unbiased for | ||||||||
| REINFORCE (OCSampler) | 75.59 | 75.70 | 74.51 | 75.68 | 71.97 | 15.2 | 27.2 | 0.81 |
| REINFORCE, ProbConv baseline | 75.56 | 75.70 | 75.58 | 75.93 | 72.44 | 9.2 | 18.8 | 0.82 |
| MuProp with ProbConv, | 75.65 | 75.87 | 75.29 | 75.73 | 72.29 | 8.3 | 17.0 | 0.83 |
| MuProp with ProbConv, | 75.76 | 75.85 | 75.65 | 75.79 | 72.63 | 6.8 | 14.5 | 0.85 |
| dev | val, mean over 3 seeds | ||||
| Policy signal | lr ratio | mAP | mAP | uniform rule | local only |
| No policy (uniform) | – | 84.04 | 82.73 0.10 | – | 78.04 |
| (Uni-AdaFocus) | 0.4 | 86.39 | 83.93 0.23 | 82.78 | 79.52 |
| REINFORCE (reward of OCSampler) | 0.4 | 85.79 | 83.58 0.66 | 83.18 | 77.09 |
| Policy pass through the local X3D-L, | |||||
| + ProbConv, soft forward ( ) | 1.2 | 85.57 | 83.78 0.20 | 82.62 | 79.56 |
| Policy signal | lr ratio | mAP | local only | mAP | local only | mAP | local only |
| No policy (uniform) | – | 82.59 0.11 | 61.57 | 82.74 0.05 | 71.80 | 82.73 0.10 | 78.04 |
| (Uni-AdaFocus) | 0.4 | 82.54 0.03 | 64.43 | 82.74 0.05 | 73.33 | 83.93 0.23 | 79.52 |
| REINFORCE (reward of OCSampler) | 0.4 | 82.51 0.10 | 62.83 | 82.79 0.42 | 72.78 | 83.58 0.66 | 77.09 |
| Policy pass through the local X3D-L, | |||||||
| + ProbConv, quantile selector | 0.12 | 82.75 0.10 | 65.52 | 83.00 0.20 | 74.44 | 83.90 0.20 | 79.52 |
| Vim-Ti block | Mamba-130M block | k | ||||
| Implementation (fp32, + bias + SiLU) | fwd | fwd+bwd | fwd | fwd+bwd | fwd | fwd+bwd |
| cuDNN conv1d (dense, ignores ) | 0.11 | 0.27 | 0.57 | 1.87 | 1.07 | 3.62 |
| causal-conv1d (dense, ignores ) | 0.06 | 0.20 | 0.26 | 0.61 | 0.49 | 1.16 |
| ProbConv (ours), PyTorch scan | 0.19 | 0.66 | 1.06 | 3.84 | 2.08 | 10.36 |
| ProbConv (ours), earlier CUDA prototype | 0.10 | 0.60 | 0.68 | 4.15 | 1.35 | 36.44 |
| ProbConv (ours), fused CUDA kernel | 0.05 | 0.16 | 0.24 | 0.61 | 0.49 | 1.20 |
| Dropped frames recovered, | BPE from kept frames | ||||
| Frame selection | causal | causal, from dense | bidirectional | ||
| Dense (all frames) | 23.9 0.7 | 22.6 0.9 | 14.3 0.3 | 24.2 0.7 | 24.2 0.7 |
| Uniform subsampling | 30.3 0.3 | 34.8 1.0 | 20.2 0.4 | 26.1 0.2 | 23.0 0.6 |
| CTC top- | 27.6 1.2 | 28.5 0.5 | 14.8 0.8 | 32.5 0.6 | 24.5 0.6 |
| CTC peaks (Soundwave rule) | 27.5 1.2 | 28.6 0.6 | 14.8 0.7 | 32.8 0.6 | 24.6 0.5 |
| Learned, zero mask | 36.9 8.3 | 48.2 3.1 | 21.8 2.6 | 80.4 4.7 | 41.0 1.9 |
| Causal, from scratch | Causal, fine-tuned from dense | Bidirectional, from scratch | ||||
| Frame selection | clean | other | clean | other | clean | other |
| Dense (all frames) | 23.9 0.7 | 50.1 0.8 | 22.6 0.9 | 49.0 0.9 | 14.3 0.3 | 38.6 0.7 |
| Uniform subsampling | 30.3 0.3 | 56.9 0.4 | 34.8 1.0 | 59.0 1.8 | 20.2 0.4 | 46.3 0.5 |
| CTC top- | 27.6 1.2 | 54.1 1.5 | 28.5 0.5 | 53.1 0.6 | 14.8 0.8 | 38.5 0.9 |
| CTC peaks (Soundwave rule) | 27.5 1.2 | 54.1 1.6 | 28.6 0.6 | 53.2 0.5 | 14.8 0.7 | 38.7 0.8 |
| Learned, zero mask | 36.9 8.3 | 59.6 5.3 | 48.2 3.1 | 63.9 1.8 | 21.8 2.6 | 44.0 2.2 |
| Frame selection | clean | other | clean | clean | other | clean |
| Dense (all frames) | 24.2 0.7 | 49.2 0.7 | – | 24.2 0.7 | 49.2 0.7 | – |
| Uniform subsampling | 26.1 0.2 | 51.0 0.2 | 0.4 | 23.0 0.6 | 48.1 0.6 | 0.1 |
| CTC top- | 32.5 0.6 | 54.4 0.4 | – | 24.5 0.6 | 49.5 0.6 | – |
| CTC peaks (Soundwave rule) | 32.8 0.6 | 54.4 0.4 | 0.2 | 24.6 0.5 | 49.5 0.5 | 0.2 |
| Learned, zero mask | 80.4 4.7 | 84.7 3.5 | 5.0 | 41.0 1.9 | 59.4 1.0 | 2.3 |
| From scratch | Fine-tuned, | Bidir. | ||||
| Frame selection | from dense | from CTC top- | ||||
| CTC top- (WER) | 28.9 2.1 | 27.6 1.2 | 26.1 1.2 | 28.5 0.5 | 26.3 1.7 | 14.8 0.8 |
| Uniform subsampling | 1.9 | 1.2 | 0.9 | 0.8 | 0.4 | 1.1 |
| CTC peaks (Soundwave rule) | 0.3 | 0.3 | 0.5 | 0.2 | 0.2 | 0.1 |
| Learned, zero mask | 12.7 | 8.1 | 0.4 | 2.9 | 0.2 | 1.8 |
| Learned, REINFORCE | 1.0 | 1.6 | 0.3 | 0.6 | 0.0 | 1.0 |
| causal, | ||||
| Learned selector | sel. LR 1 | sel. LR 0.1 | causal | bidir. |
| CTC top- (WER) | 28.9 2.1 | 28.9 2.1 | 27.6 1.2 | 14.8 0.8 |
| ProbConv (ours), | 12.3 | 2.5 | 1.1 | 1.2 |
| ProbConv (ours), | 9.4 | 7.6 | 1.1 | 1.8 |
| ProbConv (ours), | 14.6 | 7.4 | 2.3 | 1.4 |
| ProbConv, no conv. grad. (ours), | 12.6 | 1.5 | 1.5 | 0.6 |
| bits/base at target (bases per chunk) | bits/base at matched compression | |||||
| H-Net routing (published) | ProbConv (ours) | ProbConv, no conv. grad. (ours) | ProbConv (ours) | no conv. grad. (ours) | REINFORCE | |
| 2 | 1.5133 0.0010 (1.98) | 1.5150 0.0005 (1.87) | 1.5137 0.0010 (1.91) | out of range | ||
| 3 | 1.5172 0.0020 (2.95) | 1.5159 0.0010 (2.54) | 1.5137 0.0006 (2.71) | out of range | ||
| 4 | 1.5222 0.0013 (3.95) | 1.5174 0.0013 (3.15) | 1.5151 0.0002 (3.42) | |||
| 6 | 1.5319 0.0012 (5.86) | 1.5222 0.0006 (4.21) | 1.5202 0.0015 (4.80) | |||
| 8 | 1.5428 0.0039 (7.71) | 1.5262 0.0013 (5.09) | 1.5264 0.0008 (5.92) | out of range | out of range | |
| Router training | relax. | training fwd | inference fwd | bases/chunk | seeds |
| H-Net routing (published) | n/a | 1.5172 0.0020 | 1.5172 0.0020 | 2.95 0.02 | 3 |
| Isotropic (no chunking) | n/a | 1.5244 0.0006 | 1.5244 0.0006 | 1 | 3 |
| ProbConv (ours) | STE | 1.5159 0.0010 | 1.5159 0.0010 | 2.54 0.03 | 3 |
| ProbConv, no conv. grad. (ours) | STE | 1.5137 0.0006 | 1.5137 0.0006 | 2.71 0.01 | 3 |
| ProbConv w/o step gating (ours) | STE | 1.5146 0.0002 | 1.6000 0.0140 | 2.55 0.01 | 3 |
| Zero mask | STE | 1.5178 0.0007 | 1.6730 0.0239 | 2.57 0.06 | 3 |
| Router training | ||
| H-Net routing (published, ) | 1.5172 0.0020 (2.95) | 1.5222 0.0013 (3.95) |
| ProbConv (ours), | 1.5159 0.0010 (2.54) | 1.5174 0.0013 (3.15) |
| ProbConv (ours), | 1.5173 0.0012 (2.82) | 1.5199 0.0004 (3.61) |
| ProbConv (ours), | 1.5168 0.0012 (2.91) | 1.5205 0.0009 (3.82) |
| ProbConv (ours), | 1.5147 0.0008 (2.64) | 1.5160 0.0007 (3.37) |
| ProbConv (ours), | 1.5146 0.0009 (2.69) | 1.5156 0.0009 (3.41) |
| Router training | 20k steps | 60k steps | 20k steps | 60k steps |
| H-Net routing (published, ) | 1.5222 0.0013 (3.95) | 1.4839 0.0007 (3.91) | 1.5428 0.0039 (7.71) | 1.5017 0.0066 (7.59) |
| ProbConv, no conv. grad. (ours), | 1.5168 0.0003 (3.92) | 1.4801 0.0010 (3.91) | 1.5325 0.0012 (7.51) | 1.4943 0.0012 (7.46) |
| bits/base | ||||
| published routing | ours | ours reproduced | ||||
| Task | reported | reproduced | ProbConv | no conv. grad. | ProbConv | no conv. grad. |
| H3 | 81.7 0.8 | 81.4 0.5 | 82.3 0.7 | 82.3 0.6 | ||
| H3K14ac | 64.0 0.7 | 64.8 0.9 | 64.6 0.7 | 64.3 0.7 | ||
| H3K36me3 | 68.7 0.4 | 68.1 0.6 | 68.2 1.0 | 68.3 0.3 | ||
| H3K4me1 | 59.5 0.7 | 59.6 0.9 | 59.4 0.9 | 59.9 0.9 | ||
| H3K4me2 | 54.2 0.9 | 54.3 0.8 | 54.3 1.0 | 53.0 1.9 | ||
| published routing | ours | |||
| NT tasks (MCC 100) | reported | reproduced | ProbConv | no conv. grad. |
| Histone marks (10) | 66.93 | 66.96 | 67.10 | 66.92 |
| Enhancers (2) | 49.24 | 50.08 | 50.88 | 50.63 |
| Promoters (3) | 93.40 | 93.42 | 93.46 | 93.42 |
| Splice sites (3) | 93.54 | 94.16 | 95.02 | 95.57 |
| Mean over 18 tasks | 73.81 | 74.03 | 74.34 | 74.30 |
| Fine-tuning | MCC 100 | tasks better | (folds) | bases/chunk | |
| Router without learning signal (6 tasks, 60 folds) | |||||
| published routing | 67.25 | – | – | – | 4.41 |
| frozen router | 66.86 | 1/6 | 0.162 | 3.56 | |
| ProbConv (ours) | 67.48 | 3/6 | 0.448 | 3.72 | |
| ProbConv, no conv. grad. (ours) | 67.23 | 3/6 | 0.900 | 3.89 | |
| Ratio loss of pre-training ( , ), all tasks (18 tasks, 180 folds) | |||||
| published routing | ours | ours reproduced | ||||
| Task | reported | reproduced | ProbConv | no conv. grad. | ProbConv | no conv. grad. |
| Coding vs. intergenomic | 95.6 | 95.5 0.1 | 95.6 0.1 | 95.5 0.1 | ||
| Drosophila enhancers Stark | 80.3 | 80.5 0.4 | 80.3 0.7 | 80.9 0.6 | ||
| Human Ensembl regulatory | 93.9 | 94.3 0.1 | 94.2 0.1 | 94.2 0.1 | ||
| Human OCR Ensembl | 80.1 | 79.8 0.4 | 80.2 0.4 | 80.1 0.4 | ||
| Human enhancers Cohn | 74.7 | 74.7 0.3 | 74.3 0.5 | 74.7 0.5 | ||
| task family | |||||||
| Selection | QA | Summ. | Few-shot | Synth. | Code | Avg. | |
| Published models [ 66 ] | |||||||
| Mamba-2.8B fine-tuned without compression, reported | 21.8 | 19.2 | 37.9 | 2.3 | 38.1 | 24.63 | |
| ReMamba, reported | 21.2 | 19.3 | 46.7 | 5.0 | 44.3 | 27.86 | |
| ReMamba, released adapter, our evaluation | 21.2 | 19.1 | 46.3 | 4.3 | 44.3 | 27.62 | |
| Published training schedule | |||||||
| reported | published schedule | single cosine schedule | single cosine schedule, second series | ||||||||
| Family | Task (metric) | ReMamba | reproduced | soft forward | reproduced | soft forward | reproduced | zero mask | |||
| QA | Qasper (F1) | 16.76 | 17.31 | 18.12 | 16.48 | 17.50 | 16.63 | 17.65 | |||
| MultiFieldQA (F1) | 26.39 | 26.83 | 26.08 | 25.99 | 26.21 | 26.49 | 26.35 | ||||
| HotpotQA (F1) | 20.56 | 20.83 | 20.61 | 18.32 | 17.42 | 18.48 | 16.44 | ||||
| 2WikiMQA (F1) | 21.18 | 19.79 | 18.13 | 16.31 | 16.02 | 16.91 | 15.25 | ||||
| Summ. | GovReport (ROUGE-L) | 19.67 | 18.40 | 18.88 | 18.52 | 19.02 | 18.27 | 19.29 | |||
| Rule | Native regime | Run here | Remedy |
| Uniform, random, of layer 0 | training-free | frozen backbone, hard gather at the projector | + pruning-aware LoRA |
| DTP [ 49 ] | training-free, in-network at layers (16,45) | faithful; reproduces its Table 1 | + LoRA; on dense + LoRA |
| FastV, DART, VTW [ 7 , 62 , 37 ] | training-free | DTP’s adaptations to Cobra | reference rows only |
| DyVM [ 64 ] | predictor + 30-epoch full fine-tuning, token rearrangement, two distillation losses, three stages | one stage, frozen backbone, its five-term objective (block selection has no causal analogue); plain masking and rearranged | GPU-hour matching; LoRA |
Visual Token Pruning
Visual token pruning reduces the image and video patches processed by transformers to lower inference cost while preserving task-relevant information.
See all 313 papers