One model. Three questions a clinician asks about a wound. One look at the photo.
Gopi Trinadh Maddikunta Peizhu Qian
Department of Computer Science
College of Natural Sciences and Mathematics, University of Houston
No sound needed. Every scene carries its own words, so it plays fine on mute.
Then scroll on for the detail, or go straight to the paper.
That is close to one in seven. The conservative estimate of what Medicare spent treating them in 2014 was $28.1 billion, and the share of beneficiaries affected has risen since.
Where wound specialists are scarce, assessment gets delayed. Delay turns into infection, hospitalization, sometimes amputation.
They are not separate jobs. Size hints at type. Type tells you what the edges should look like. A clinician does all three in one glance.
Nobody could answer whether solving them together helps, because there was nowhere to run the comparison.
Merging them forced one decision that mattered more than any other: a single set of five labels that every image has to fit.
Now all three questions get asked of the same images, scored the same way, against the same held out test set. Results become comparable for the first time.
The official AZH test split of 234 images is held out across every fold and used only for final classification scoring. Segmentation uses the official FUSeg release, 610 training and 400 validation images, because the FUSeg test labels are not public.
Localization boxes are derived from FUSeg masks and supplemented with negative images from AZH, giving 810 training images and 400 validation images, 1,210 in total.
We did try the other way. A dedicated detection head inside the same architecture reached 6.6%. Reading boxes off the mask reached 96.2%.
The obvious objection, and we agree with it: YOLOv8m reaches 91.22 on these same boxes, so detection is plainly learnable on this data. What failed is narrower than detection. It is a box head sharing one backbone with a classification objective and a segmentation objective, where box regression pulled the shared features away from what the other two tasks needed. Read the 6.6 as evidence about joint optimisation, not about detectors.
Frozen pretrained backbones feed bidirectional cross attention between backbones, a feature pyramid, and task specific scale routing. Classification runs through a mixture of experts head. The segmentation decoder is modulated by the predicted wound type, so diagnosis conditions the mask.
Wide figure. Drag sideways on a phone, or open it full size.
| Size | Backbones | Params | Trainable |
|---|---|---|---|
| MINI | DINOv2-S | 34.3M | 35.7% |
| BASE | plus ConvNeXt-L | 520.4M | 3.8% |
| XL | plus SAM2-Hiera-L | 762.5M | 47.3% |
We are not claiming to beat everyone. A dedicated segmentation model still traces edges slightly better than we do, and it is in the paper and on this page. The claim is that one model reaches specialist level on all three at once, from a single look.
| Type | Acc | F1 | AUC |
|---|---|---|---|
| WILLIE-BASE (TTA) | 91.88 | 91.14 | 0.992 |
| WILLIE-XL (TTA) | 91.88 | 90.73 | 0.986 |
| WILLIE-MINI (ens) | 88.90 | 87.60 | 0.976 |
| ResNet-50 | 88.03 | 87.82 | 0.973 |
| DINOv2 + Linear | 86.75 | 87.01 | 0.986 |
| EfficientNet-B4 | 83.76 | 83.36 | 0.975 |
| VGG-19 | 78.63 | 78.14 | 0.956 |
| Position | AP@0.5 | Prec | Recall |
|---|---|---|---|
| WILLIE-XL | 96.23 | 96.23 | 94.64 |
| YOLOv8m | 91.22 | 87.45 | 88.47 |
| WILLIE-BASE | 89.91 | 92.40 | 95.40 |
| RT-DETR-L | 87.95 | 88.15 | 89.38 |
| WILLIE-MINI | 84.60 | 89.03 | 88.66 |
Fair warning on the position number. Ground truth boxes come from traced masks, and every method including YOLOv8m and RT-DETR is scored against those same boxes. This is evidence that box training is unnecessary when the target is one solid region. It is not a general claim that detectors are unnecessary.
How the two WILLIE annotations read. TTA means test time augmentation, which multiplies inference cost. "ens" means a cross validation fold ensemble, so WILLIE-MINI's 88.90 is not a single forward pass and its real inference cost is higher than 34.3M parameters suggests.
A single pass of XL runs at about 88 ms per image and 9.3 GB of GPU memory on a V100.
Removing any one internal component changes results within cross validation noise. The pretrained backbones and multi scale features account for most of the performance. The contribution is the unified benchmark, not a claim that every module is essential.
Two things we found ourselves and are not hiding. A byte level check turned up one image identical between the AZH train and test splits. Worst case that moves the headline accuracy from 91.88% to 91.45%. Nine image pairs are identical between FUSeg train and validation. Every edge and position score on this page, ours and the baselines', is measured on that validation set, because the FUSeg test labels are not public. It is also the set we used to pick checkpoints. Both can make those scores look better than they would on truly unseen images.
One correction against our own paper. The published abstract describes the 8.2 million figure as patients in the United States. It is 8.2 million Medicare beneficiaries, from 2014 claims data in Nussbaum et al. The number is right and the denominator is wrong. This page uses the corrected wording, so it reads differently from the abstract on PMLR and on arXiv v1. Nothing in the method or the results depends on it.
All training images are foot, pressure, venous and surgical wound photographs from a small number of clinical sources. Performance across skin tones has not been measured. Generalisation to other cameras, lighting and wound types is untested. This is research code, not a medical device.
Put one WILLIE-XL against the strongest single task classifier on five axes. On the first three they are close. On the last two the specialist is not slightly behind. It is not there at all.
A classifier is not bad at tracing edges. It cannot trace edges. Comparing on accuracy alone hides that, which is exactly why the three tasks needed one benchmark before anyone could argue about them honestly.
MINI carries 4.5% of XL's parameters and still lands above every baseline, including a VGG-19 nearly four times its size. One caveat we should state rather than bury: MINI's 88.90 is a fold ensemble, so a bedside deployment running a single MINI would pay less compute and score somewhat lower. The point stands about parameter count, not about a free lunch.
Type flattens the moment the model reaches medium. Edges and position keep climbing all the way to the top.
That matters if you are paying for GPUs. The 762 million parameter version buys you nothing on diagnosis over the 520 million one. Size the model to the task, not to a hunch.
Some of that is real. The two look alike, and a photo does not carry the patient history, the vascular assessment, or the body site a clinician uses to tell them apart.
Nobody could have spotted that while the datasets sat apart. That is the argument for building the benchmark, stated as plainly as we can.
| Class | Prec | Recall | F1 | n |
|---|---|---|---|---|
| No wound | 98.0 | 100.0 | 99.0 | 50 |
| Venous | 91.0 | 98.4 | 94.6 | 62 |
| Surgical | 88.9 | 95.2 | 92.0 | 42 |
| Diabetic | 97.3 | 78.3 | 86.7 | 46 |
| Pressure | 76.5 | 76.5 | 76.5 | 34 |
Diabetic recall is the other soft spot: precision 97.3 but recall 78.3, meaning the model is cautious about calling something diabetic and misses roughly a fifth of them.
None of these are about wounds specifically. They are what we would carry into the next multi-output medical imaging problem.
One model can do all three jobs. Whether it works depends less on sharing a brain than on how you ask each question. Type and edges learn well together. Position is better derived from the edges than trained alongside them. And the only reason we could see the hidden bias in our own data is that we finally put the datasets in the same room.
That last part travels past wounds. If you are building one model for several clinically linked outputs, the benchmark is not paperwork you do before the science. It is where the science happens.
@InProceedings{pmlr-v340-maddikunta26a,
title = {WILLIE: A Unified Framework and Benchmark for Wound
Classification, Segmentation, and Localization.},
author = {Maddikunta, Gopi Trinadh and Qian, Peizhu},
booktitle = {Proceedings of the 11th Machine Learning for Healthcare
Conference},
pages = {1243--1263},
year = {2026},
volume = {340},
series = {Proceedings of Machine Learning Research},
month = {12--14 Aug},
publisher = {PMLR},
url = {https://proceedings.mlr.press/v340/maddikunta26a.html}
}
This is the official PMLR entry with the editor list and abstract fields removed for length. The complete record is on the PMLR page. Please also cite FUSeg, AZH and Medetec on their own terms if you use the benchmark.
Or tell me you work on wound care and want to talk. Either is welcome. I answer all of these.
Form not loading? Email gmaddiku@cougarnet.uh.edu or open it in a new tab.
