Token-Selective Propagation in Deep Models
- Token-Selective Propagation (TSP) is a family of mechanisms that selectively forward salient tokens to lower quadratic attention costs while maintaining task-relevant accuracy.
- It encompasses various approaches—including FastKV, TPC-ViT, MambaMixer, GTP-ViT, and ToSA—that differ in where and how token selection is computed and applied.
- Empirical results across LLMs, vision transformers, and time series models demonstrate TSP’s effectiveness in accelerating processing and reducing FLOPs with minimal performance drops.
Searching arXiv for the cited TSP-related papers to ground the article in current literature. Token-Selective Propagation (TSP) denotes a family of token-selection and token-routing mechanisms that reduce sequence-level computation by allowing only a subset of tokens, or token-derived states, to participate in expensive downstream operations while attempting to preserve task-relevant information. In the recent literature, the term does not identify a single canonical algorithm. In FastKV, TSP is a late-layer decoder mechanism that propagates only salient context tokens beyond a designated layer while decoupling propagated hidden states from KV-cache retention (Jo et al., 3 Feb 2025). In MambaMixer, the role corresponds to a Selective Token Mixer that gates tokenwise signals before a data-dependent state-space scan (Behrouz et al., 2024). In vision transformers, related formulations include token pausing and restarting in TPC-ViT (Zhu, 2024), graph-based propagation from pruned to retained tokens in GTP-ViT (Xu et al., 2023), and top- token selection with layer bypass and re-concatenation in ToSA (Singh et al., 2024).
1. Scope, terminology, and recurring design pattern
Across these works, TSP addresses a common systems problem: full token participation imposes quadratic attention cost in transformers or otherwise forces all tokens through a uniform computation path. The proposed remedies differ in where the selection signal is computed, whether dropped tokens can re-enter, and whether information is discarded, cached, summarized, or bypassed.
| Paper | Selection signal | Propagation rule |
|---|---|---|
| FastKV | attention from the last “window” tokens | top tokens plus window tokens are forwarded after |
| MambaMixer | gated token stream is processed by a selective SSM | |
| TPC-ViT | pause probability , restart probability | tokens may pause in layer and restart later |
| GTP-ViT | score | pruned-token features are propagated to kept neighbors |
| ToSA | predicted next-layer attention maps | top-0 tokens attend; the rest bypass the layer |
A central empirical premise recurs across the papers: token relevance is depth-dependent rather than static. FastKV states that early decoder layers have highly unstable attention focus, whereas deeper layers exhibit stabilization of critical context (Jo et al., 3 Feb 2025). TPC-ViT explicitly argues that “tokens that are redundant in one layer can be useful in later layers” (Zhu, 2024). ToSA and GTP-ViT similarly avoid equating non-attended or pruned tokens with useless tokens: ToSA keeps skipped tokens in the representation via bypass, and GTP-ViT injects pruned-token information into retained tokens through graph propagation (Singh et al., 2024, Xu et al., 2023).
2. FastKV: late-layer Token-Selective Propagation in decoder LLMs
In FastKV, TSP is the mechanism that reduces prefill computation by forwarding only salient tokens after a dedicated TSP layer 1, while KV cache compression is performed independently at retention rate 2 (Jo et al., 3 Feb 2025). The saliency score is computed from the attention received by each token from the most recent 3 query positions. For head 4 and token 5,
6
and the head-averaged saliency is
7
Tokens are ranked by 8, and the top 9 tokens are selected, with all 0 window tokens always included in the propagation set.
The TSP layer index is chosen as the earliest layer at which TSP remains close to the full-context baseline in the final hidden states. With 1 as the full-context final hidden state for calibration input 2, and 3 the counterpart obtained when TSP is applied at layer 4, FastKV chooses
5
subject to 6 being as small as possible. In practice, the sweep is performed in middle layers, for example 7 in a 32-layer model.
Algorithmically, the model processes the full prompt of length 8 up to 9. At every layer, KVCompress is applied to 0 at retention rate 1. When 2, TSP computes 3, selects the propagation set, and HiddenCompress forms a reduced hidden state of length approximately 4. All later layers then operate only on that reduced hidden state. The resulting prefill complexity drops from
5
to
6
The per-token decoding cost becomes 7 rather than 8.
The two hyper-parameters serve different budgets. The TSP rate 9 sets the fraction of propagated tokens and therefore the prefill compute rate; smaller 0 increases prefill speedup but risks discarding critical tokens. The KV retention rate 1 sets the fraction of KV pairs stored per layer for decoding; smaller 2 reduces memory bandwidth and generation cost. FastKV emphasizes that 3 and 4 are independently tunable, unlike GemFilter and PyramidInfer where 5 by design.
Empirically, on LLaMA-3.1-8B-Instruct with 6 tokens, FastKV reports prefill speedup up to 7 at 8 and 9, decoding speedup up to 0 at 1, and LongBench average accuracy within 2 of the full-context baseline, with one example reported as 3 at 4. Ablations show that accuracy plateaus around 5, that large accuracy loss occurs if 6, and that prefill savings vanish if 7.
3. MambaMixer: selective token propagation through a data-dependent SSM
In MambaMixer, the component corresponding to TSP is the Selective Token Mixer, which operates on an input tensor 8 with expansion dimension 9 and uses data-dependent weights together with a selective SSM (Behrouz et al., 2024). Its unidirectional layer-0 update is: 1
2
3
4
5
6
7
Here the primary selection signal is the gate tensor
8
while 9, 0, and 1 provide data-dependent selection of the continuous-time SSM. The stated interpretation is that tokens are first scored by depth-wise 2D convolution plus sigmoid, then those scores are used to mask or compress the sequence before the selective SSM, and the MLP path adds non-recurrent mixing.
MambaMixer does not isolate token selection from the rest of the block. Instead, the Selective Token Mixer and the Selective Channel Mixer are coupled by weighted averaging across layers. If 3 and 4 denote the outputs of the 5-th token and channel mixers, then the next inputs are
6
7
where 8 are scalar learnable weights and 9. This gives later layers direct access to early features and to any earlier token- or channel-filtered representation.
The per-block complexity is reported as approximately 0 for the Token Mixer and 1 for the Channel Mixer, for total time 2. Working memory per block is approximately 3, with the text emphasizing linear dependence on 4 and 5. The implementation uses the GPU-friendly parallel associative scan for the recurrent S6 block, and memory is described as scaling roughly linearly in 6 and 7, without an 8 term as in self-attention.
As a proof of concept, MambaMixer instantiates Vision MambaMixer (ViM2) and Time Series MambaMixer (TSM2). On ImageNet-1K, ViM2-Tiny is reported at approximately 9M parameters and 0G FLOPs with 1 top-1 accuracy, ViM2-Small at approximately 2M and 3G with 4, and ViM2-Base at approximately 5M and 6G with 7. The comparison quoted in the summary includes ViM-Small at 8M and approximately 9G with 00, and swin-Tiny at 01M and approximately 02G with 03. For long-series forecasting, TSM2 is reported to outperform prior transformers and MLP mixers on 04 public benchmarks, often reducing MSE by 05–06 while using 07–08 fewer FLOPs.
4. TPC-ViT: pause, restart, and cumulative halting
TPC-ViT formulates TSP as an adaptive halting mechanism in which a token can be paused in one layer and restarted in a later layer, rather than being discarded permanently (Zhu, 2024). For token 09 at layer 10, two Bernoulli variables are introduced: 11 for pause, with 12, and 13 for restart, with 14. The break probability is
15
The probabilities 16 and 17 are derived from two scalar components of the token representation 18, with no new parameters except learned scale 19 and shift 20: 21 Cumulative break determines halting. Once
22
token 23 is removed at layer 24.
TPC-ViT adds two stabilizing components. First, a smoothing mechanism regularizes 25 toward the layerwise mean over the active token set 26. With
27
the smoothed break probability is
28
An equivalent penalty is
29
Second, a model stabilizer injects local bias by sparse attention: for each query 30, only the 31 nearest keys by Euclidean distance are attended, with
32
Training combines classification loss, a ponder loss that encourages early stopping, a layer-level distribution loss that encourages a bell-shaped halting distribution, and the smoothing regularizer: 33 The simplified algorithm initializes the token mask, cumulative break, and remainder; applies StabilizerAttention at each layer; computes 34, 35, and 36; smooths them; updates cumulative break; and uses the resulting mask in the following self-attention.
On ImageNet-1K, the reported results include DeiT-S 37 TPC-DeiT-S, with top-1 accuracy 38, GFLOPs 39, throughput at 40 41, and average tokens per layer from 42 to approximately 43. For DeiT-T, accuracy is reported as 44 and GFLOPs as 45. For Swin-T, the summary reports 46 with GFLOPs 47. For LV-ViT-S, it reports 48 with GFLOPs 49. Ablations show that on DeiT-S, the stabilizer improves top-1 from 50 to 51, and the token distribution regularizer improves TPC-DeiT-S from 52 to 53. On DeiT-T, 54 yields the best reported top-1 accuracy of 55, compared with 56 at 57.
5. GTP-ViT: graph-based propagation after token selection
GTP-ViT instantiates token propagation as graph summarization: less significant tokens are not simply removed, but their features are propagated to spatially and semantically connected retained tokens (Xu et al., 2023). After patch embedding, the input is 58, where each token 59 becomes a node 60 in a weighted graph 61.
Two sparse graphs are built and then combined. The spatial graph uses adjacency 62 with 63 when tokens 64 and 65 correspond to spatially adjacent patches and 66 otherwise. The semantic graph uses cosine similarity in the initial embedding 67: 68 If 69 is the 70-th largest cosine similarity between 71 and all other tokens, then
72
The mixed adjacency is
73
with 74.
Token importance is computed from the multi-head attention map in a transformer block. With a permutation-invariant reducer 75 across heads, regeneration difficulty is
76
broadcasting ability is
77
and the combined score is
78
If 79 tokens are to be pruned from 80, GTP sorts tokens by 81, excludes the 82 token, retains the top 83 tokens as 84, and marks the bottom 85 as propagated tokens 86.
Propagation is then a single sparse-matrix update. If 87 is the kept-by-pruned block of 88, the summarized tokens are
89
with 90 as a small hyper-parameter. This avoids one-to-one token matching: each kept token can absorb information from all adjacent pruned tokens.
The complexity analysis contrasts GTP with vanilla MHSA and token merging. Vanilla MHSA costs 91 per layer. After pruning to 92 tokens, self-attention costs
93
plus propagation cost
94
The summary states that token-selection cost 95 is negligible and that, with 96, GTP reduces quadratic attention cost by approximately 97 per layer.
On ImageNet-1K, for DeiT-S with baseline top-1 98, pruning 99 tokens per layer yields 00 GMACs, a 01 reduction from 02, throughput 03, and top-1 04, corresponding to 05. For DeiT-B with baseline 06, the same 07 yields 08 GMACs, 09 reduction, throughput 10, and top-1 11, also 12. The summary further states that at approximately 13 GMACs, GTP on DeiT-S achieves 14 without finetuning, outperforming ToMe at 15 and EViT at 16 at similar or higher throughput.
6. ToSA: selective attention with bypassed tokens and full-token reconstruction
ToSA implements token selectivity on pairs of consecutive ViT layers, where the first layer remains standard and the second is replaced by a ToSA transformer layer (Singh et al., 2024). Between them, a token selector takes the unnormalized attention maps
17
predicts the next-layer attention maps 18, and extracts token-importance scores from those predictions.
For each head 19,
20
For token index 21, the importance score is the column sum
22
after which the top
23
tokens are selected as attention tokens. The remaining tokens are skip tokens.
If 24 is the output of the first layer, the selected and skipped subsets are
25
Only 26 participates in the second layer’s self-attention: 27
28
The skip tokens bypass the layer unchanged,
29
and the full token set is reconstructed by concatenation: 30 This preservation of one feature per original patch is the stated reason ToSA remains compatible with dense prediction tasks.
Training of the selector uses a frozen pretrained ViT to provide ground-truth attention maps 31, with selector loss
32
Only the small convolutional selector is updated at that stage; the full ToSA-modified network is then finetuned end-to-end.
The FLOPs reduction follows directly from replacing 33-token attention by 34-token attention in each ToSA layer. A standard multi-head self-attention layer costs approximately 35, whereas a ToSA layer costs approximately 36. If ToSA is applied to 37 out of 38 self-attention layers, the total self-attention cost becomes
39
for a relative reduction
40
The summary gives an example for DeiT-Tiny with 41, 42, and 43, yielding a 44 self-attention FLOPs reduction.
The reported empirical configuration applies ToSA to DeiT-Tiny layers 45 with 46. On ImageNet-1K, the baseline DeiT-Tiny has top-1 47 and 48 GFlops, whereas the ToSA version has top-1 49 and 50 GFlops, corresponding to 51 points and 52 GFlops. On NYU Depth V2 with a NeWCRFs decoder, the baseline DeiT-Tiny encoder yields 53 and 54, while the ToSA encoder yields 55 and 56. The summary states that KITTI results are virtually identical.
7. Comparative interpretation and points of clarification
The literature shows that TSP is not synonymous with a single operation such as irreversible token pruning. FastKV performs one-time token selection after full-context early processing and continues later layers on a reduced hidden state, while separately compressing the KV cache (Jo et al., 3 Feb 2025). TPC-ViT allows pausing and later restarting, making token exclusion explicitly reversible at the architectural level (Zhu, 2024). GTP-ViT propagates features from removed tokens to retained tokens rather than bypassing them unchanged (Xu et al., 2023). ToSA bypasses skipped tokens and re-concatenates them, so token count in the representation remains constant even when only a subset participates in self-attention (Singh et al., 2024). MambaMixer, by contrast, uses token selection as a gating operation inside a selective SSM rather than as an attention-pruning rule (Behrouz et al., 2024).
A second recurring distinction is between selection for computation and selection for memory. FastKV makes this explicit by decoupling the TSP rate 57 from the KV retention rate 58, arguing that prefill compute reduction need not be tied to the decoding KV budget (Jo et al., 3 Feb 2025). This suggests a broader interpretation of TSP as a resource-allocation mechanism that can target hidden-state propagation, attention participation, state-space scanning, or cache storage, depending on the model family.
A third point concerns when token saliency should be measured. FastKV chooses the earliest layer at which critical-token sets have stabilized, and reports substantial degradation when TSP is applied too early. TPC-ViT states that redundancy at one layer does not imply redundancy at later layers. ToSA predicts next-layer attention from current attention, and GTP-ViT computes importance within each block from attention-derived criteria. Taken together, these results suggest that token selectivity is fundamentally depth-aware, and that methods assuming a fixed early pruning boundary or permanent redundancy may be mismatched to the observed dynamics.
Finally, the surveyed works reflect two distinct preservation strategies once full participation is curtailed. One strategy preserves information by carrying fewer but more salient units forward, as in FastKV and MambaMixer. The other preserves information by redistributing or retaining the representation of omitted tokens, as in GTP-ViT and ToSA. TPC-ViT occupies an intermediate position, since paused tokens are removed from immediate computation yet remain eligible for later restart. This suggests that the phrase “Token-Selective Propagation” functions less as a single named primitive than as a family resemblance term for architectures that make token flow conditional, depth-dependent, and explicitly tied to efficiency.