Source–prefix balance
How much target context does each region actually need?
Translating between 3D medical imaging modalities requires preserving patient anatomy while recovering target-specific properties. A source-conditioned blockwise autoregressive model uses the source as a fixed anatomical anchor and earlier blocks as an evolving target prefix, and the difference between predictions with and without the prefix defines the prefix correction. The balance between source and prefix evidence varies across regions, while the magnitude of a correction’s prediction change (effect) does not necessarily reveal whether it helps the true target (utility). In this work, we propose Source-Prefix Influence-aware Residual Autoregression (SPIRA), which learns how much of each prefix correction to retain across regions. During training, SPIRA finds the largest removable portion of each correction without increasing target loss at the current prediction states and trains a lightweight gate to reproduce the resulting predictive distribution, thus learning how to balance source and prefix during generation. Extensive experiments across multiple modalities and diverse 3D medical translation tasks demonstrate consistent gains in translation quality. Mechanism analyses show that similar prefix effects can have different utilities depending on target alignment, while SPIRA better matches oracle decisions and achieves larger gains when more prefix correction can be safely retracted.
A strong correction is not always a useful correction.
The source anchors anatomy; the prefix adds target-side context. Their value varies across regions, and a large prediction change can either help or hurt the true target.
Insight. Source–prefix balance varies across regions. A correction’s predictive effect alone cannot determine whether it helps the target.
How should a 3D autoregressive model balance a fixed anatomical source
with an evolving target prefix?
How much target context does each region actually need?
Why can equally strong corrections help or hurt the target?
Can this distinction improve free-running generation?
Keep the anchor. Learn the correction.
Use a shared predictor with and without the target prefix.
Find the largest correction retraction with no increase in local target loss.
Train a lightweight gate to match the oracle distribution for GT-free generation.
Keep half of the prefix correction.












Across all translation tasks
Best on every reported metric8 tasksAutoPET CT → PET
PSNR · vs best external baseline+1.59 dBThree-task RQ4 analysis
Mean MAE · vs Full-prefix AR−6.2%Follow the evidence, from translation quality to mechanism.
Eight tasks. Three datasets. One consistent improvement.
| Method | PSNR ↑ | SSIM ↑ | LPIPS ↓ | FID ↓ |
|---|
Insight. SPIRA improves on both external baselines and matched Full-prefix AR across all eight tasks and all four metrics.
Target-specific appearance with lower local residual errors.
Insight. The illustrated cases show lower local residual errors while maintaining target-specific appearance.
Adaptive correction features and predictive-distribution distillation.
| Variant | PSNR ↑ | SSIM ↑ | LPIPS ↓ | FID ↓ |
|---|---|---|---|---|
| Reference Model | ||||
| Standard AR | 22.16 | 0.696 | 0.137 | 42.5 |
| Retraction Strategy | ||||
| Tuned global scalar s | 22.28 | 0.699 | 0.133 | 42.8 |
| Position-only gate | 22.45 | 0.698 | 0.131 | 41.0 |
| Effect-only gate | 22.31 | 0.700 | 0.131 | 40.3 |
| Gate Design | ||||
| Direct s* regression | 22.60 | 0.701 | 0.129 | 39.9 |
| SPIRAOurs | 22.72 | 0.705 | 0.126 | 38.3 |
Insight. Joint training or effect alone does not explain the gain. Correction-aware gating with distribution matching performs best on both ablation tasks.
Target alignment determines whether to retain, partially retract, or fully retract.
Insight. Target alignment explains different source–prefix balances at similar effects. Even useful prefix corrections need not be retained in full.
A learned balance transfers to generated-prefix states.
Insight. SPIRA better matches oracle decisions and improves generation, with larger gains when more prefix correction can be safely retracted.
Two complementary behaviors in local target regions.
Insight. SPIRA removes harmful corrections while preserving target-useful context, adapting to local prediction needs.
Citation coming soon.