WeedNet AI names 1,593 weed species at 91% accuracy, authors say

In short

~14 million iNaturalist images, 1,593 species, 813 genera; 91.02% accuracy across all 1,593 species; 97.38% fine-tuned Iowa model, 84 weeds; 25.71% to 72.33% unadapted model on nine outside datasets

What is WeedNet?

Weeds that look alike can need different treatments, and the paper notes that herbicide resistance differs even between two related pigweeds, Palmer amaranth and common waterhemp. Identifying the species early matters, but the authors write that farmers usually know only three or four dominant weeds in a field, while a field can hold up to 20. Earlier weed-recognition models, they say, were trained on small, local or greenhouse image sets.

WeedNet is the team's answer: one model that knows a very wide range of weeds, which can then be tuned to a region. The authors call this global-to-local. The global model is trained on photos of 1,593 species and 813 genera. The most photographed species, common yarrow, has 150,154 training images, the least, common salt tree, 182. The median is 3,347 per species.

How it was trained

The following is our plain-English summary of the paper. Training ran in three stages. The model, a vision transformer (a kind of image network that looks at a whole picture at once), first learned general visual patterns from 3.5 billion Instagram hashtag images that had nothing to do with weeds. It then did a second round of self-supervised learning on the iNaturalist weed photos, which means learning visual features from the pictures alone, without using the species labels. Last came supervised fine-tuning with the labels.

The authors use this to soften a known weakness of citizen-science photos, which carry some wrong labels. They had experts check 20 images for each of 84 Iowa species: 51 were mislabelled, an error rate of 3.04%.

To make the answers more trustworthy, the team added two wrapper models. One flags images that look unlike anything the model was trained on. The other returns a short list of likely species instead of one guess when it is unsure: in the paper's example, Amaranthus palmeri at 56% and Amaranthus spinosus at 44%.

What it scored

The training-image count did not explain much. The paper reports that adding 1,000 training images raised a species' accuracy by only about 0.22%, and that species with few images could still reach 100%. The weak species were mostly the ones confused with a better-photographed relative in the same genus, such as members of the pigweed genus Amaranthus. The authors conclude that the quality and variety of images matter more than their number.

How well does WeedNet work in real fields?

This is where the numbers change. The authors tested the unadapted global model on nine outside, expert-annotated datasets whose images look very different from iNaturalist photos, and got top-1 accuracies of 25.71% to 72.33%, which they call the expected domain shift. A few labelled examples from the new domain helped a lot: on the PlantSeedlingV2 dataset accuracy rose from 25.71% with none to 86.25% with 10 examples per class and 91.25% with 20. On another set (CWD30) the fine-tuned model scored 88.8%, 94.3% and 85.0% at early, middle and late growth stages, against 34.1%, 54.1% and 50.0% for the unadapted one.

Drone and ground-robot images came from field trials in Ames, Iowa, in 2024, on four dates from 17 August to 16 September. The drone images had a resolution of 0.1 to 0.12 cm per pixel. The model identified weeds well on the two early dates, 17 and 24 August, including small plants. For 15 targeted weeds, scored inside marked boxes, accuracy stayed stable through the season. For an untargeted survey it fell on 30 August and 16 September, when weeds were dense and leaves overlapped.

WeedNet is an image classifier, not a detector. It was run offline on workstation-class hardware, and phone access goes through a browser app (WeedID) that sends the photo to a remote server. Nothing here shows it running in real time on a drone or a rover.

What the authors say limits it

Terms in plain English

Where things stand

The authors plan a follow-up that attaches a detection model so several weeds in one frame can be located and named, which they describe as a path toward species-specific spraying. They also plan compact versions for phones, drones and robots and models for forest and prairie plants. The WeedID app combines WeedNet with a language-model chatbot for management advice; we did not test it, and the paper gives no field results for that advice. We found no later primary report that changes the picture.

Sources

Sources

Related stories

More from Seed to Snack

All stories from Seed to Snack