Models that segment 3D CT and MRI scans are easy to break. Prior work shows the most damaging perturbations are smooth, low-frequency distortions that run across many adjacent slices, not fine-grained pixel noise. The known fix is adversarial training: during training, repeatedly search for the worst such distortion and teach the model to resist it. That fix is expensive, because every training step runs an inner search of many forward and backward passes through a full 3D network. This note proposes a cheaper version of the inner search. Restrict it to a small set of low-frequency 3D cosine coefficients and take only one gradient step there.
The bet is that the restriction is not only cheaper but more stable. Single-step adversarial training on natural images often collapses through catastrophic overfitting: the model learns to resist the one-step attack it trains on while staying completely open to stronger multi-step attacks. We hypothesize that the loss surface is much closer to linear inside the low-dimensional, cross-slice subspace where volumetric models are actually vulnerable. If so, one step finds nearly the worst case, and fast training no longer collapses. If this holds, robust 3D segmentation would cost roughly two forward-backward passes per step instead of many. That matters most for the efficient state space models now used precisely to avoid 3D compute, which are also the most fragile.
Core Claim
Frequency Domain Adversarial Training for Robust Volumetric Medical Segmentation supplies the threat model and the method we start from. That paper perturbs 3D Discrete Cosine Transform (DCT) coefficients of volume patches to attack segmenters, an attack it calls VAFA. It defends with a multi-step min-max scheme called VAFT, which includes a frequency consistency loss. On Synapse with UNETR, VAFA drops Dice from 74.3% to 32.2%, while VAFT recovers 66.33% under attack and 75.66% clean. On Evaluating Adversarial Robustness of Volumetric Medical Segmentation Models motivates the specific subspace. It finds 3D segmenters fail mainly under low-frequency perturbations, and that frequency attacks transfer far better than voxel attacks on BTCV (43.42% versus 3.38% attack success). It also finds that Mamba-style models are the most fragile architecture tested.
Neither paper asks whether the inner maximization can be shortened. The fast adversarial training literature constrains our design. Understanding Catastrophic Overfitting in Single-step Adversarial Training, ZeroGrad, and Rethinking Fast Adversarial Training: A Splitting Technique to Overcome Catastrophic Overfitting all show that naive single-step training collapses in 2D and needs extra fixes. Preventing Catastrophic Overfitting in Fast Adversarial Training: A Bi-level Optimization Perspective makes the same point. All of that work operates in full pixel space on 2D classification.
Our claim is narrower and testable. In native 3D volumetric segmentation, single-step training restricted to the lowest $k^3$ DCT coefficients per patch will do three things. It will avoid catastrophic overfitting without extra regularizers. It will match multi-step VAFT robustness to within a few Dice points. It will cut training compute by roughly the number of inner steps VAFT uses.
Concretely, the perturbation is
$$\delta = \mathrm{IDCT}_{3D}\big(M_k \odot c\big), \qquad c \leftarrow \Pi\big(c_0 + \alpha\,\mathrm{sign}(\nabla_c \mathcal{L}_{\text{Dice}})\big).$$
Here $M_k$ is a binary mask keeping the $k \times k \times k$ lowest-frequency coefficients of each 3D patch, and $c$ are those coefficients. The starting point $c_0$ is a random initialization, $\alpha$ is the step size, and $\Pi$ projects back onto the budget. The budget is a coefficient bound together with the structural-similarity constraint VAFA uses. The model is then updated on $x+\delta$ with Dice loss plus VAFT's frequency consistency term.
Research Program
The first part is a mechanistic study of why fast training does or does not collapse in 3D. For UNETR on Synapse we sweep the subspace size $k$ from very small up to the full coefficient set, which recovers ordinary voxel-space single-step training. At each $k$ we measure a linearity gap: the loss reached by one step, divided by the loss reached by a 20-step search in the same subspace. We track this gap over training together with robust Dice under multi-step VAFA and voxel PGD. The hypothesis predicts three things. The gap should stay small for low $k$. It should grow as $k$ approaches full voxel space. And catastrophic overfitting should appear only at large $k$, where robust Dice under multi-step attack suddenly falls toward the undefended value. This establishes the mechanism, not just the result.
The second part is the efficiency comparison on the Synapse and ACDC benchmarks VAFT used, with BTCV added. Because each training step involves only two passes, low-frequency perturbations change slowly across epochs. We therefore also test a warm-start variant that stores each volume's coefficient vector $c$ and reuses it as $c_0$ in the next epoch, accumulating search effort across the epochs at no extra per-step cost.
The third part is the application regime that motivates the cost argument: Mamba-based segmenters, UMamba-B and Swin-UMamba from Swin-UMamba. These are adopted for their linear cost, and the robustness benchmark found them the most fragile. Multi-step adversarial training erases their cost advantage, so a two-pass defense is the only kind consistent with why people use them.
Baselines
The naive reference is the undefended model. For UNETR on Synapse, Frequency Domain Adversarial Training for Robust Volumetric Medical Segmentation reports 74.3% clean Dice, 62.7% under PGD, and 32.2% under VAFA. We retrain it with the same pipeline so that every number is reproduced in-house.
The strongest existing method is full multi-step VAFT from the same paper, which reports 66.33% Dice under VAFA and 75.66% clean on Synapse with UNETR. Its training cost is not stated; no reported result found on Lacuna for VAFT wall-clock training cost. We run it with its published inner-loop settings on identical data splits, crops, and epochs, and log GPU-hours and total forward-backward passes. Beating VAFT means one of two things. Either we come within two Dice points of it under multi-step VAFA and PGD at no more than a third of its GPU-hours, or we match it at equal compute. To make the second comparison possible, we also run a compute-matched VAFT that is given the same GPU-hour budget as our method, by using fewer epochs or fewer inner steps. That is the comparison that matters in practice.
The ablation that isolates the key ingredient is single-step training in full voxel space, with random initialization and the same frequency consistency loss. It differs from our method only in the subspace restriction. A second ablation keeps the subspace and replaces the single step with the multi-step search. That separates what the subspace buys in robustness from what it buys in stability.
Why not just…?
Why not just run ordinary single-step voxel adversarial training in 3D? This is the real threat. No one has tested it in volumetric segmentation, and it might not collapse; that possibility is exactly Gap 5 in the source material. It is our main ablation. If it matches our method under both multi-step VAFA and PGD, the subspace restriction is unnecessary. We would then report the finding as "fast training already works in 3D," which is still new. The benchmark study's evidence that voxel and frequency vulnerabilities differ sharply (43.42% versus 3.38% transfer success) suggests that voxel-space single steps will poorly approximate the frequency worst case. That is a prediction, not a result, and the experiment settles it.
Why not just attach Robustness Tokens to a frozen 3D backbone? Robustness Tokens trains about ten extra input tokens on a frozen vision transformer, recovering 63.1% white-box ImageNet accuracy from 0.3% within 200 steps. That method cuts cost in the outer loop. Our method cuts the inner search, which is the dominant cost in adversarial training; the token approach still needs a strong attack at every step. The tokens also depend partly on staying secret, and they target the extreme activation outliers of large natural-image models, not cross-slice shape distortions. They also do not apply directly to convolutional or Mamba segmenters. We run them on UNETR's 3D patch sequence as a secondary baseline, trained with multi-step VAFA, and compare robust Dice at matched compute. The two ideas are complementary: if tokens trained with our single-step inner search match full tokens, that is a further result.
Why not just defend at inference with randomization or low-pass filtering? Mitigating Adversarial Effects Through Randomization restores 98.2% accuracy under DeepFool on Inception-v3 without retraining. In segmentation, though, random resizing alters physical voxel spacing. Its own authors note it can be bypassed by attacks that average over the random transformations, an approach called Expectation Over Transformation (EOT). A low-pass filter leaves untouched the low-frequency components the attack actually uses. We evaluate both against adaptive EOT versions of VAFA and expect them to fail there.
Proposed Experiments
We train UNETR, UNETR++, SegResNet, UMamba-B, and Swin-UMamba on Synapse, ACDC, and BTCV, with Hecktor as a held-out modality check. Each architecture gets six training regimes: no defense, full VAFT, compute-matched VAFT, voxel single-step training, our subspace single-step method, and its warm-start variant. Robustness Tokens are added for UNETR. Evaluation reports mean Dice and HD95 (the 95th-percentile surface distance between predicted and true boundaries) under several conditions. These are clean inputs, 20-step VAFA, 20-step voxel PGD, and attacks that use DCT coefficients outside our training subspace, which probes whether robustness generalizes beyond $k$. We also run black-box transfer from other architectures and EOT-adaptive variants. All of this is reported alongside GPU-hours and forward-backward passes per step.
We also measure inter-slice prediction consistency. Low-frequency attacks may fragment segmentations across depth, as the slice-wise failures in Deep convolutional networks for pancreas segmentation in CT imaging illustrate. We want to know whether the defense restores continuity, not just average Dice.
Three outcomes would decide the question. First, robust Dice under multi-step attack must never collapse during subspace single-step training, while it does collapse at large $k$. Second, the linearity gap must predict where that collapse happens. Third, on UMamba-B, the method must close most of the gap to VAFT at a small fraction of VAFT's training cost.
Two results would refute the proposal. One is voxel single-step training performing equally well. The other is collapse at small $k$, or loss of robustness to perturbations outside the training subspace. Either would push the method back toward multi-step training, with only an efficiency trade-off left to report.
References
- Frequency Domain Adversarial Training for Robust Volumetric Medical Segmentation
- On Evaluating Adversarial Robustness of Volumetric Medical Segmentation Models
- Understanding Catastrophic Overfitting in Single-step Adversarial Training
- ZeroGrad : Mitigating and Explaining Catastrophic Overfitting in FGSM Adversarial Training
- Rethinking Fast Adversarial Training: A Splitting Technique to Overcome Catastrophic Overfitting
- Preventing Catastrophic Overfitting in Fast Adversarial Training: A Bi-level Optimization Perspective
- Swin-UMamba: Mamba-Based UNet with ImageNet-Based Pretraining
- Robustness Tokens: Towards Adversarial Robustness of Transformers
- Mitigating Adversarial Effects Through Randomization
- Deep convolutional networks for pancreas segmentation in CT imaging