REVIEW 2 major objections 6 minor 11 references
Do Diabetic Foot Ulcer Segmentation Models Generalize? A Cross-Dataset Benchmark of CNN and Transformer Architectures
T0 review · 2 major / 6 minor · reviewed 2026-07-12 · grok-4.5
Pith's one-line read Architecture family, not model complexity, drives how well diabetic foot ulcer segmentation models transfer across hospitals.
desk verdict Solid leakage-screened DFU cross-dataset benchmark with a real ranking; the “family not complexity” slogan overreaches the unmatched training recipe. read the letter →
The pith
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
The reading
What carries the argument
The leakage-screened cross-dataset protocol (train on FUSeg/AZH after image-level overlap audit; zero-shot test on DFUC2022 and Medetec) plus per-image Dice failure analysis and paired Wilcoxon tests on 2,160 external images. This isolates architecture-family effects from data leakage and from mean-only summary scores.
What would settle it
Train the same three architectures (or add a second Transformer) with fully matched optimizers, learning rates, and input resolution—including SegFormer at its designed 512×512—and re-evaluate zero-shot on the same two external sets; if the family ranking reverses or disappears, the claim that architecture family (not recipe or capacity) drives generalization is falsified.
Extended reading notes
Core claim
Under an identical, leakage-screened protocol—training on combined FUSeg/AZH wound data and evaluating without fine-tuning on DFUC2022 and Medetec—SegFormer-B2 generalizes best on both external sets (Dice 0.557 and 0.786) and yields the fewest catastrophic failures on DFUC2022 (31.1% versus 38.5% and 43.0%), while the more complex DeepLabV3+ underperforms the simpler U-Net. The consistent ranking across two independent sources, confirmed by Wilcoxon signed-rank tests (p < 0.001), indicates that architecture family, not model complexity, drives cross-hospital generalization for DFU segmentation.
Load-bearing premise
The three models, trained with family-specific optimizers and learning rates at a fixed 256×256 resolution and without a learning-rate scheduler, are treated as a fair test of architecture family rather than of training recipe or resolution mismatch.
Editorial extensions
If this is right
- High in-domain Dice above 0.80 does not imply clinical deployment readiness; models can lose roughly a third of that performance at a new hospital.
- Choosing a Transformer-style architecture over simply adding convolutional complexity is a more reliable route to cross-site DFU segmentation robustness under the paper’s protocol.
- Validation of wound segmentation tools should report at least two independent external test sets and per-image failure rates, not only in-domain scores.
- Even the best model still loses substantial accuracy across sources, so domain adaptation and test-time adaptation remain necessary next steps the paper itself flags.
Reading between the lines
- If global self-attention is the real driver, the same family-over-complexity pattern may appear in other medical segmentation tasks that suffer strong site-specific appearance shift (skin lesions, endoscopy, wound photography more broadly).
- Because failures concentrate on small, occluded, or poorly lit wounds, hybrid systems that keep a Transformer backbone but add explicit size- or lighting-aware post-processing may close more of the remaining gap than architecture swap alone.
- A controlled ablation that matches optimizer, learning rate, and native resolution across families would be the cleanest follow-up experiment to separate self-attention from training-recipe effects.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The paper benchmarks three DFU segmentation architectures—U-Net and DeepLabV3+ (ResNet-34 CNNs) and SegFormer-B2 (Transformer)—under a single leakage-screened protocol: train on combined FUSeg/AZH, evaluate without fine-tuning on DFUC2022 and Medetec. All models reach strong in-domain Dice (0.80–0.83) but degrade on external data; SegFormer-B2 ranks first on both external sets (DFUC2022 Dice 0.557, Medetec 0.786), with fewer catastrophic failures on DFUC2022 (31.1% vs 38.5%/43.0%) and Wilcoxon signed-rank significance (p < 0.001). The authors conclude that architecture family, not model complexity, drives cross-hospital generalization.
Significance. Cross-dataset robustness is a genuine clinical bottleneck for DFU segmentation, and prior work largely stayed in-domain or omitted modern Transformers under leakage control. The dual external test sets, image-level overlap audit, multi-seed DFUC2022 means, per-image failure histograms, and paired Wilcoxon tests are concrete methodological strengths that make the ranking under this protocol credible and reproducible (code released). If the family-over-complexity claim holds after better-matched controls, the result would usefully guide architecture choice for multi-site wound monitoring; even as a carefully documented negative result on deployment readiness, it is a useful contribution to the medical imaging community.
major comments (2)
- §3.3–3.4 and Table 1: The central claim that “architecture family, not model complexity, drives” generalization is not isolated by the protocol. CNNs use Adam at 1e-3 while SegFormer uses AdamW at 6e-5; no LR scheduler is used; all models are forced to 256×256 despite SegFormer being designed for 512×512 (§3.6 notes this makes its Dice “conservative”). Only one Transformer is tested against two CNNs of different capacity. DeepLabV3+ underperforming U-Net is offered as evidence against complexity, yet without optimizer-matched, capacity-matched, or resolution-matched ablations the ranking can equally be explained by training recipe or resolution mismatch rather than self-attention. The Wilcoxon tests confirm the ranking under this protocol; they do not establish the causal attribution to family. A matched-recipe ablation (or at least a clear re-framing of the claim as “under standard fami
- §3.6 and §4.5: Representativeness of the model set is overstated for a family-level conclusion. A single Transformer (SegFormer-B2) versus two ResNet-34 CNNs cannot support a general “Transformer vs CNN” claim; other Transformers (e.g., Swin-UNet) or foundation models (MedSAM, already cited) may behave differently. The discussion attributes robustness to global self-attention without mechanistic evidence (attention maps, receptive-field controls). Either expand the model set or narrow the claim to “SegFormer-B2 under this protocol” rather than architecture family as such.
minor comments (6)
- Table 1 header: “Gap = in-domain Dice − DFUC2022 Dice” is clear, but Medetec gap is not reported; adding it would make the dual-external comparison symmetric.
- §3.1 / §3.2: State the exact train/val split sizes after treating FUSeg/AZH as one source, and report the number of unique patients if available, to clarify independence from DFUC2022.
- Table 2 / Fig. 2: The Dice < 0.4 failure threshold is reasonable but ad hoc; a short sensitivity note (e.g., at 0.3 and 0.5) would strengthen the failure analysis.
- §3.4: Loss is “combined Dice and binary cross-entropy” without weights; specify the combination (sum, equal weight, etc.) for full reproducibility.
- Fig. 1 caption: Colour-coding of Dice is helpful; ensure the figure itself is high-resolution enough for the three-row qualitative comparison to be readable in print.
- References [10] and [11] are recent SegFormer DFU papers; a one-sentence contrast of their in-domain vs your cross-dataset setting in Related Work would sharpen novelty.
Circularity Check
Empirical cross-dataset benchmark with no circular derivation: external Dice/IoU and Wilcoxon tests are measured, not redefined from inputs.
full rationale
This paper is a controlled empirical benchmark, not a first-principles derivation. Models are trained on FUSeg/AZH and evaluated without fine-tuning on independent external sets (DFUC2022, Medetec) after leakage screening; reported Dice/IoU, failure rates (Dice<0.4), and Wilcoxon signed-rank tests are direct measurements on held-out images. No quantity is fitted then re-presented as a prediction of a closely related quantity; no uniqueness theorem or load-bearing premise is imported via self-citation; and architecture-family conclusions are comparative rankings under a stated protocol, not identities by construction. Concerns about unmatched optimizers/LR, fixed 256×256 resolution, or testing only one Transformer affect causal attribution and experimental fairness (correctness risk), not circularity. The evaluation chain is self-contained against external public datasets.
Assumptions & free parameters
free parameters (6)
- CNN learning rate (Adam)
- SegFormer learning rate (AdamW)
- Training epochs
- Input resolution
- Catastrophic failure threshold (Dice < 0.4)
- Loss weighting (Dice + BCE)
assumptions (5)
- domain assumption After MD5 and dHash screening, FUSeg/AZH may be treated as one training source with no meaningful image-level overlap with DFUC2022 or Medetec.
- domain assumption Dice and IoU on binary wound masks are adequate primary measures of clinical segmentation quality for cross-site comparison.
- ad hoc to paper U-Net and DeepLabV3+ with ResNet-34, versus SegFormer-B2, are representative enough of CNN vs Transformer families to support a family-level conclusion.
- standard math Wilcoxon signed-rank tests on per-image Dice (one-sided, α=0.05) validly establish ranking significance across models.
- domain assumption Medetec masks labeled {0,1} can be thresholded at >0 to match conventional binary masks.
Cite this review
Pith. "Pith review of Do Diabetic Foot Ulcer Segmentation Models Generalize? A Cross-Dataset Benchmark of CNN and Transformer Architectures." pith.science (2026). https://pith.science/paper/5WAPOUOM
@misc{pith2026260702555,
author = {Pith},
title = {Pith review of: Do Diabetic Foot Ulcer Segmentation Models Generalize? A Cross-Dataset Benchmark of CNN and Transformer Architectures},
year = {2026},
howpublished = {\url{https://pith.science/paper/5WAPOUOM}},
note = {Machine review of arXiv:2607.02555}
}
read the original abstract
Deep learning models for diabetic foot ulcer (DFU) segmentation routinely report high accuracy, but they are almost always trained and tested on the same dataset, leaving their behaviour on data from a different clinical source largely unmeasured. We benchmark three representative segmentation architectures -- U-Net and DeepLabV3+ (convolutional) and SegFormer-B2 (Transformer) -- under an identical, leakage-screened protocol: training on the combined FUSeg/AZH wound data and evaluating, without fine-tuning, on two independent external datasets (DFUC2022 and Medetec). All models achieve strong in-domain performance (Dice 0.80--0.83) but degrade substantially across datasets. The degradation is, however, architecture-dependent: SegFormer-B2 generalizes best on both external sets (DFUC2022 Dice 0.557, Medetec Dice 0.786), outperforming both convolutional models, while the more complex DeepLabV3+ generalizes worse than the simpler U-Net. Per-image failure analysis on 2,160 images across both external test sets confirms that SegFormer-B2 produces the fewest catastrophic failures on DFUC2022 (31.1%), compared with U-Net (38.5%) and DeepLabV3+ (43.0%). The consistent ranking across two independent external sources, confirmed by Wilcoxon signed-rank tests (p < 0.001 on both datasets), indicates that architecture family, not model complexity, drives cross-hospital generalization.
Figures
Reference graph
Works this paper leans on
-
[1]
Etiology, Epidemiology, and Disparities in the Burden of Diabetic Foot Ulcers
Armstrong, D.G., Tan, T.-W., Boulton, A.J.M., Bus, S.A.: Diabetic Foot Ulcers: A Review. Etiology, Epidemiology, and Disparities in the Burden of Diabetic Foot Ulcers. Diabetes Care46(1), 209–221 (2023)
2023
-
[2]
IEEE Access12, 173824–173835 (2024)
Lucho, S., Naemi, R., Casta˜ neda, B., Treuillet, S.: Can Deep Learning Wound Seg- mentation Algorithms Developed for a Dataset Be Effective for Another Dataset? A Specific Focus on Diabetic Foot Ulcers. IEEE Access12, 173824–173835 (2024)
2024
-
[3]
In: MICCAI, pp
Ronneberger, O., Fischer, P., Brox, T.: U-Net: Convolutional Networks for Biomed- ical Image Segmentation. In: MICCAI, pp. 234–241 (2015) Cross-Dataset DFU Segmentation Benchmark 9
2015
-
[4]
In: ECCV, pp
Chen, L.-C., Zhu, Y., Papandreou, G., Schroff, F., Adam, H.: Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentation. In: ECCV, pp. 801–818 (2018)
2018
-
[5]
In: NeurIPS, vol
Xie, E., Wang, W., Yu, Z., Anandkumar, A., Alvarez, J.M., Luo, P.: SegFormer: Sim- ple and Efficient Design for Semantic Segmentation with Transformers. In: NeurIPS, vol. 34, pp. 12077–12090 (2021)
2021
-
[6]
Biomedical Signal Pro- cessing and Control (2024)
Dhar, M.K., Zhang, T., Patel, Y., Gopalakrishnan, S., Yu, Z.: FUSegNet: A Deep Convolutional Neural Network for Foot Ulcer Segmentation. Biomedical Signal Pro- cessing and Control (2024). arXiv:2305.02961
arXiv 2024
-
[7]
Information15(3), 140 (2024)
Wang, C., Mahbod, A., Ellinger, I., Galdran, A., Gopalakrishnan, S., Niezgoda, J., Yu, Z.: FUSeg: The Foot Ulcer Segmentation Challenge. Information15(3), 140 (2024)
2024
-
[8]
Nature Communications15, 654 (2024)
Ma, J., He, Y., Li, F., Han, L., You, C., Wang, B.: Segment Anything in Medical Images. Nature Communications15, 654 (2024)
2024
Show all 11 references
-
[9]
GitHub repository (2019).https: //github.com/qubvel/segmentation_models.pytorch
Iakubovskii, P.: Segmentation Models PyTorch. GitHub repository (2019).https: //github.com/qubvel/segmentation_models.pytorch
2019
-
[10]
In: 2025 IEEE 13th International Conference on Intelligent Data Acquisition and Advanced Computing Systems: Technology and Applica- tions (IDAACS), pp
Kairys, A., Raudonis, V.: Effective SegFormer Ensemble for Diabetic Foot Ul- cer Segmentation. In: 2025 IEEE 13th International Conference on Intelligent Data Acquisition and Advanced Computing Systems: Technology and Applica- tions (IDAACS), pp. 674–678 (2025).https://doi.org...
2025 doi
-
[11]
IEEE Signal Processing Letters 32, 4194–4198 (2025).https://doi.org/10.1109/LSP.2025.3617370
Kumar, M., Kaur, T., Gandhi, T.K.: UlcerMTL: Multi-Task Learning for Classi- fication and Segmentation of Diabetic Foot Ulcers. IEEE Signal Processing Letters 32, 4194–4198 (2025).https://doi.org/10.1109/LSP.2025.3617370
2025 doi
Reviewed July 12, 2026 · model on record in the stance chip above.
Discussion (0). Continue with ORCID to comment.