Mamba × TTT · IRSTD
The same learner, a two-dimensional problem.
Understand sequence order, position, bidirectional context and dense prediction before choosing visual TTT for IRSTD.
About 25 min
Course chapters
Text order is not image geometry
| Question | Autoregressive text | Single-frame vision |
|---|---|---|
| Available context | Future tokens must not be read | The whole image is usually available; noncausal learning is possible |
| Sequence meaning | A linear token order | Flattened 2D patches; order is a design choice |
| Required output | Next token or sequence representation | Spatially localized dense features for IRSTD |
| State boundary | Sequence or document | Independent image and layer boundaries must be defined |
Bidirectional scans, multiple directions and whole-image key/value fitting are possible designs, not universal components of every visual TTT model. Textual causal masks are not mandatory for image detection; future leakage remains forbidden in genuinely causal tasks.
Two similarly named visual candidates
ViT³ / ViTTT studies inner models and inner training for visual TTT, including classification and dense tasks. It is an entry point for studying internal objectives, architectures and optimization choices. Vision-TTT, in the fixed v1 text, uses bidirectional processing and Conv2d for 2D relations and compares CLS placement and pooling. These are different papers, authors and implementations.
ViT³ · arXiv 2025 / CVPR 2026 ↗ · Official ViTTT code ↗ · Vision-TTT · arXiv 2026 v1 ↗
A classification head is not a segmentation head
preserve coordinate mapping → reshape / multiscale features → fixed decoder → H×W probabilities
A CLS vector or globally pooled vector has summarized spatial information. Changing the last classifier to one output channel does not recover pixel locations. First identify each stage’s stride, token grid, special-token removal and positional-embedding interpolation; then attach the segmentation decoder.
Where can a tiny target disappear?
Possible failure points include initial coarse patch compression, repeated downsampling, background-dominated inner objectives and prototype aggregation that removes rare details. A feature-space prototype is not the spatial centroid of a mask component. Trace token coordinates and compare original/prototype responses for small and low-contrast targets.
One hypothesis is to retain a lightweight local path and fuse it with global TTT features. Diagnose the baseline failure first. This general idea is neither a verified gain nor an established novel contribution.
Account for the full computation
Doubling both H and W makes N approximately four times larger
Linear scaling in token count assumes fixed state size, inner steps and other settings. Wall-clock cost also depends on inner gradients, the decoder, memory traffic, kernel fusion and utilization. Report forward/training time, peak memory, precision, batch, tokens and every inner update. A reported high-resolution advantage is not an IRSTD replication result.
Six questions for code handoff
- Which paper and commit define the model?
- Is W a linear map, an MLP or another state model?
- What are the inner objective, learning rate and update steps?
- Do prototypes compress inputs, parameterize the inner model or aggregate outputs?
- Are spatial tokens retained, and where is state reset?
- What task, pretraining, metric and configuration produced the checkpoint?
Pause and check your understanding
Connect this unit to your IRSTD work
Progress and notes stay in this browser.
