ReLEAP: Upcycling Vision Datasets through Cross-Task Unification and Semi-Supervised Annotation
Organizations: AIT Austrian Institute of Technology, Giefinggasse 4, 1210 Vienna, Austria Center for Vision, Automation & Control
Abstract
Developing robust vision models requires large amounts of annotated data, especially for tasks involving fine-grained class distinctions under variable environmental conditions. Even in domains with numerous existing datasets, differences in annotation formats, label definitions and targeted learning tasks hinder data reuse and integration. To address this challenge, we introduce ReLEAP, a scalable Python framework for unifying heterogeneous image datasets through data-source abstraction, systematic reuse of annotations across learning tasks, and mapping of labels to a shared hierarchical taxonomy. We demonstrate its applicability in precision agriculture by integrating fifteen diverse datasets covering a broad range of plant species and annotation types. Beyond unification, ReLEAP enables systematic recycling of existing data and provides a robust foundation for learning-based annotation upcycling. Leveraging this foundation, we conduct extensive cross-dataset and fine-tuning experiments to investigate how domain-specific models trained on unified data and foundation models can be used to automatically generate higher-level annotations under unsupervised, weakly supervised and semi-supervised settings, and how dataset characteristics influence their effectiveness. Our results show that unified data access and annotation upcycling substantially expand the pool of reusable training data and annotations while improving data transparency, enabling more sustainable and resource-efficient use of existing datasets. We release the framework and trained models for academic use to support accessible and collaborative research, particularly in data-scarce and heterogeneous domains.
Figures & tables
| Dataset | Cls | Det | Seg | ISeg | Stem | Leaf | Img | Inst | Cat | Width | Height | Area |
| CottonWeedID15 [ 17 ] | 5.2 | 15 | 2,789 | 2,800 | 7.1 | |||||||
| EarlyCropWeed [ 35 ] | 0.5 | 4 | 4,256 | 2,832 | 15.4 | |||||||
| PlantSeedlings [ 43 ] | - | 5.5 | 12 | 266 | 266 | 0.2 | ||||||
| SugarbeetsAndWeeds [ 113 ] | 0.1 | 1.0 | 2 | 512 | 512 | 0.3 | ||||||
| LincolnBeet [ 94 ] | 4.4 | 39.2 | 2 | 1,920 | 1,080 | 2.1 | ||||||
| PakistaniWeed [ 48 ] | 9.2 | 42.8 | 7 | 1,280 | 720 | 0.9 | ||||||
| Method | PB | WG | SW | LM | CW | Overall | P | R | t [ms] |
|---|---|---|---|---|---|---|---|---|---|
| Baseline Overall | 27.2 | 17.7 | 12.9 | 57.3 | 21.5 | 27.3 | 69.1 | 34.9 | 34.6 |
| Baseline Best | 45.4 | 20.5 | 18.2 | 82.4 | 29.6 | 39.2 | 83.1 | 50.4 | 31.4 |
| SAM Agn | 45.3 | 22.9 | 16.6 | 85.6 | 38.8 | 41.9 | 76.4 | 68.8 | 682.9 |
| ISEG Agn | 54.9 | 18.9 | 23.3 | 86.8 | 34.3 | 43.6 | 79.0 | 60.9 | 48.2 |
| Method | Supervision | PB | WG | SW | LM | CW | Overall | t [ms] |
|---|---|---|---|---|---|---|---|---|
| Baseline Overall | 9.9 | 4.0 | 0.8 | 0.0 | 0.2 | 3.0 | 34.6 | |
| Baseline Best | 34.8 | 15.6 | 2.3 | 0.0 | 0.5 | 10.6 | 31.4 | |
| ISEG Spec | Unsupervised | 31.9 | 10.6 | 2.7 | 0.0 | 0.9 | 9.2 | 33.9 |
| SAM Agn + CLS | 35.7 | 7.9 | 1.2 | 0.0 | 0.1 | 9.0 | 727.9 | |
| ISEG Agn + CLS | 42.4 | 7.1 | 3.1 | 0.0 | 0.1 | 10.5 | 94.2 | |
| SAM Labels | Weakly supervised | 4.5 | 0.7 | 2.4 | 57.6 | 0.1 | 13.1 | 1,367.4 |
| Target dataset | 0 | 25 | 50 | 100 | 200 |
|---|---|---|---|---|---|
| CropAndWeed [ 100 ] | 1.5 | 1.5 | 2.6 | 2.7 | 3.2 |
| LettuceMOTS [ 51 ] | 0.0 | 48.0 | 90.4 | 91.8 | 92.2 |
Appendix figures & tables22 assets
Supplementary material from the paper’s appendix.
Appendix
| Dataset | Year | Location | Instances | Spec | PA |
|---|---|---|---|---|---|
| AIWeeds [ 33 ] | 2021 | USA/China | 10,000 | 15 | ✕ |
| BeanDiseases [ 67 ] | 2023 | Tanzania | 59,069 | 1 | ✓ |
| CornWeedCls [ 121 ] | 2019 | China | 5,998 | 5 | ✓ |
| CottonLeafDisease [ 12 ] | 2024 | Bangladesh | 2,137 | 1 | ✓ |
| CottonWeedID15 [ 17 ] | 2022 | USA | 5,187 | 15 | ✓ |
| CWD30 [ 53 ] | 2023 | South Korea | 219,778 | 30 | ✓ |
| Dataset | Year | Location | Images | Spec | L/S | PA |
|---|---|---|---|---|---|---|
| BelgiumBeet [ 39 ] | 2020 | Belgium | 652 | 2 | ✕ | |
| BroadleafWeeds [ 22 ] | 2022 | Australia | 78 | 1 | ✓ | |
| CanolaSeedling [ 7 ] | 2024 | Canada | 431 | 1 | ✓ | |
| Chicory [ 38 ] | 2023 | Italy | 3,373 | 1 | ✓ | |
| Chilli [ 91 ] | 2023 | Unknown | 707 | 2 | ✓ | |
| CobbityWheat [ 19 ] | 2021 | Australia | 140 | 3 | ✓ |
| Dataset | Year | Location | Images | Spec | L/S | PA |
|---|---|---|---|---|---|---|
| AgricultureVision [ 18 ] | 2020 | USA | 94,986 | 2 | ✓ | |
| Airphen [ 107 ] | 2020 | France | 275 | 2 | L | ✓ |
| Carrots2017 [ 13 ] | 2019 | UK | 20 | 2 | ✓ | |
| Carrot-Weed [ 70 ] | 2017 | North Macedonia | 39 | 2 | ✓ | |
| CoFly-WeedDB [ 65 ] | 2022 | Greece | 201 | 3 | ✓ | |
| CWFID [ 49 ] | 2014 | Germany | 60 | 2 | ✓ |
| Dataset | Year | Location | Images | Spec | L/S | PA |
|---|---|---|---|---|---|---|
| Aberystwyth [ 9 ] | 2016 | UK | 56 | 1 | L | ✓ |
| ACRECropWeed [ 11 ] | 2023 | Italy | 1,000 | 6 | ✓ | |
| CN20 [ 3 ] | 2022 | Germany | 283 | 9 | ✓ | |
| CropAndWeed [ 100 ] | 2023 | Austria | 8,034 | 74 | S | ✓ |
| Crops3D [ 125 ] | 2024 | China | 1,230 | 8 | ✓ | |
| GrowliFlower [ 63 ] | 2023 | Germany | 2,198 | 1 | LS | ✓ |
| Feature | ReLEAP | Roboflow | FiftyOne | Datumaro | MSeg |
| Open-source core functionality | ✓ | partial | ✓ | ✓ | ✓ |
| Dataset management | ✓ | ✓ | ✓ | ✓ | partial |
| Dataset visualization | ✓ | ✓ | ✓ | partial | – |
| Annotation format conversion | ✓ | ✓ | ✓ | ✓ | – |
| Label remapping | ✓ | ✓ | ✓ | ✓ | ✓ |
| Domain-level taxonomy reuse | ✓ | – | – | – | ✓ |
| Class name | Botanical name | EPPO | Datasets | Instances |
|---|---|---|---|---|
| AnnualMeadowGrass | Poa annua | POAAN | CW | 359 |
| AnnualMercury | Mercurialis annua | MERAN | CW | 894 |
| BarnyardGrass | Echinochloa | 1ECHG | WG, CW | 3,429 |
| BlackBindweed | Fallopia convolvulus | POLCO | CW | 200 |
| BroadBean | Vicia faba | VICFX | CW | 917 |
| CharlockMustard | Sinapis arvensis | SINAR | CW | 330 |
| Class name | Botanical name | EPPO | Instances |
|---|---|---|---|
| AngledLuffa | Luffa acutangula | LUFAC | 2,768 |
| AnnualMeadowGrass | Poa annua | POAAN | 415 |
| AnnualMercury | Mercurialis annua | MERAN | 974 |
| BarnyardGrass | Echinochloa | 1ECHG | 2,262 |
| BitterMelon | Momordica charantia | MOMCH | 2,116 |
| BlackBean | Phaseolus vulgaris ssp. nanus | PHSVN | 1,970 |
| Class name | Botanical name | EPPO | Instances |
|---|---|---|---|
| IndianGoosegrass | Eleusine indica | ELEIN | 216 |
| IvyLeavedSpeedwell | Veronica hederifolia | VERHE | 219 |
| Lentil | Lens culinaris | LENCU | 1,706 |
| Lettuce | Lactuca sativa | LACSA | 17,151 |
| LooseSilkyBent | Apera spica-venti | APESV | 762 |
| Maize | Zea mays | ZEAMX | 11,710 |
| Labels | Instances | ||||
|---|---|---|---|---|---|
| Dataset | Original | Target | Original | Agnostic | Specific |
| CropAndWeed [ 100 ] | 75 | 51 | 109,794 | 74,002 | 70,113 |
| LettuceMOTS [ 51 ] | 1 | 1 | 18,370 | 17,588 | 17,588 |
| PhenoBench [ 114 ] | 3 | 2 | 37,426 | 32,766 | 32,766 |
| SorghumWeedSeg [ 60 ] | 3 | 3 | 5,051 | 4,888 | 4,888 |
| WeedsGalore [ 15 ] | 5 | 5 | 12,779 | 9,957 | 9,957 |
| Labels | Instances | |||
| Dataset | Original | Target | Original | Specific |
| CottonWeedID15 [ 17 ] | 15 | 13 | 5,187 | 5,054 |
| CropAndWeed [ 100 ] | 75 | 56 | 109,794 | 70,811 |
| EarlyCropWeed [ 35 ] | 4 | 3 | 508 | 454 |
| LettuceMOTS [ 51 ] | 1 | 1 | 18,370 | 17,151 |
| LincolnBeet [ 94 ] | 2 | 1 | 39,246 | 16,342 |
| Precision | Recall | t [ms] | |||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PB | WG | SW | LM | CW | PB | WG | SW | LM | CW | PB | WG | SW | LM | CW | |
| Bl Overall | 68.4 | 79.0 | 53.4 | 87.8 | 56.9 | 22.4 | 11.0 | 42.5 | 60.8 | 37.9 | 38.4 | 45.5 | 35.7 | 31.0 | 22.4 |
| Bl Best | 91.2 | 85.7 | 66.0 | 95.0 | 77.4 | 34.3 | 19.2 | 48.5 | 90.1 | 60.1 | 37.5 | 40.4 | 29.3 | 28.6 | 21.0 |
| ISEG Agn | 89.8 | 71.3 | 72.0 | 97.0 | 64.7 | 61.1 | 22.7 | 70.3 | 93.0 | 57.2 | 46.1 | 78.4 | 51.0 | 38.6 | 26.8 |
| SAM Agn | 78.2 | 67.9 | 61.1 | 98.0 | 76.6 | 61.2 | 51.7 | 66.3 | 96.0 | 68.7 | 633.7 | 885.1 | 685.1 | 618.0 | 592.4 |
| PhenoBench | ISEG Spec | ISEG Agn | SAM Agn | SAM Labels | ISEG Agn | SAM Agn | SAM Box | SAM Pt |
|---|---|---|---|---|---|---|---|---|
| + CLS | + CLS | + Box | + Box | |||||
| SugarBeet | 47.5 | 54.7 | 46.3 | 0.0 | 62.1 | 52.1 | 77.9 | 31.7 |
| Weed | 16.3 | 30.0 | 25.1 | 9.0 | 40.0 | 35.7 | 56.6 | 1.6 |
| WeedsGalore | ISEG Spec | ISEG Agn | SAM Agn | SAM Labels | ISEG Agn | SAM Agn | SAM Box | SAM Pt |
|---|---|---|---|---|---|---|---|---|
| + CLS | + CLS | + Box | + Box | |||||
| BarnyardGrass | 0.0 | 0.0 | 0.0 | 0.6 | 6.0 | 10.0 | 18.8 | 7.9 |
| Maize | 26.0 | 16.9 | 17.0 | 0.0 | 22.1 | 25.2 | 35.7 | 1.2 |
| PotatoWeed | 0.0 | 1.0 | 0.0 | 0.8 | 24.3 | 36.1 | 56.8 | 2.1 |
| RedRootAmaranth | 26.2 | 16.0 | 20.8 | 0.0 | 21.5 | 33.5 | 51.6 | 17.1 |
| Weed | 1.0 | 1.6 | 1.8 | 1.9 | 16.6 | 20.7 | 40.0 | 8.3 |
| SorghumWeedSeg | ISEG Spec | ISEG Agn | SAM Agn | SAM Labels | ISEG Agn | SAM Agn | SAM Box | SAM Pt |
|---|---|---|---|---|---|---|---|---|
| + CLS | + CLS | + Box | + Box | |||||
| Dicots | 0.0 | 0.0 | 0.0 | 0.0 | 29.3 | 22.4 | 39.7 | 9.0 |
| Grasses | 8.1 | 5.4 | 3.5 | 7.1 | 21.3 | 15.7 | 21.7 | 0.3 |
| Sorghum | 0.0 | 3.8 | 0.0 | 0.0 | 23.1 | 18.6 | 36.3 | 0.3 |
| LettuceMOTS | ISEG Spec | ISEG Agn | SAM Agn | SAM Labels | ISEG Agn | SAM Agn | SAM Box | SAM Pt |
|---|---|---|---|---|---|---|---|---|
| + CLS | + CLS | + Box | + Box | |||||
| Lettuce | 0.0 | 0.0 | 0.0 | 57.6 | 87.8 | 86.8 | 89.4 | 84.9 |
| CropAndWeed | ISEG Spec | ISEG Agn | SAM Agn | SAM Labels | ISEG Agn | SAM Agn | SAM Box | SAM Pt |
|---|---|---|---|---|---|---|---|---|
| + CLS | + CLS | + Box | + Box | |||||
| AnnualMeadowGrass | 0.0 | 0.0 | 0.0 | 0.0 | 4.4 | 6.8 | 16.3 | 5.3 |
| AnnualMercury | 0.0 | 0.0 | 0.0 | 0.0 | 42.6 | 50.0 | 50.5 | 1.1 |
| BarnyardGrass | 0.2 | 0.0 | 0.0 | 2.3 | 20.4 | 23.0 | 36.3 | 0.4 |
| BlackBindweed | 0.0 | 0.0 | 0.0 | 0.0 | 35.9 | 43.5 | 53.6 | 11.4 |
| BroadBean | 0.0 | 0.0 | 0.0 | 0.0 | 66.4 | 66.1 | 71.9 | 39.8 |
Cross-Dataset Generalization
Cross-dataset generalization studies whether AI models retain accuracy, calibration, and usefulness on data from sources beyond their training set.
See all 142 papers