MACE: Memory-Augmented Crop-Disease Evaluation of Frozen Vision-Language Models

Tirtho Roy, Shreyan Ganguly, Muhammad Arbab Arshad, Nikhil Bhattacharya, Soumik SarkararXiv 2026

Imagine a botanist who has seen a thousand blighted leaves. When they look at a new, sickly plant, they aren't just reciting a textbook definition of "Bacterial Wilt." They are subconsciously comparing the specific yellowing pattern on this leaf to a mental gallery of every other wilted leaf they’ve ever encountered.

Current AI models for agriculture usually lack this "mental gallery." They either rely on rigid, pre-trained rules or generic knowledge bases that describe diseases in broad strokes. MACE (Memory-Augmented Crop-Disease Evaluation) changes that by giving frozen Vision-Language Models (VLMs) a textual "memory" of specific past cases to help them diagnose the present.

TL;DR

MACE is a training-free method that boosts crop disease diagnosis by giving AI a "memory" of text descriptions from previously labeled images. By retrieving specific past examples rather than just relying on generic textbook definitions, it improves diagnostic accuracy by nearly 20 percentage points on familiar data.

What Problem Does This Paper Address?

Diagnosing crop diseases is a high-stakes game for global food security, but expert human scouts are in short supply. While we have powerful AI models (VLMs like Claude or GPT-4o) that can "see" and "reason," they often struggle with the messy reality of the field.

A disease like Anthracnose might look one way on a mango leaf and completely different on a cucumber. Standard approaches use a Knowledge Base (KB)—essentially a digital textbook—but these general descriptions fail to capture how symptoms vary across individual cases. On the flip side, "Retrieval-Augmented" models that feed actual reference images into the AI are computationally expensive and prone to "cheating" by matching pixels rather than understanding symptoms.

Methods

The authors introduce a training-free framework called MACE. Instead of feeding the model a pile of reference images at runtime, they convert those images into a searchable text memory.

  1. Building the Memory: A VLM looks at a library of labeled disease images and writes a detailed, label-free caption for each (e.g., "small round specks with yellowish margins"). These captions are stored alongside their known disease labels.
  2. The Query: When a new "mystery" image arrives, the system first asks the VLM to describe it.
  3. Retrieval: MACE uses a classic text-search algorithm (BM25) to find the four most similar descriptions in its memory.
  4. Diagnosis: Finally, the VLM is given the original query image, the general textbook knowledge (KB), and the four retrieved "memory" entries (text descriptions + labels). Crucially, the model never sees the reference images, only the text descriptions of them.
Figure 1: MACE on a recorded query. (A) The KB holds one generalized entry per disease. (B) The memory holds image- driven captions with labels. (C) MACE retrieves four memory entries and adds KB claims, and a frozen VLM answers.

Datasets

The researchers evaluated MACE across ten different crops spanning field crops, staples, fruits, and vegetables.

  • Crops: Corn, Soybean, Wheat, Rice, Potato, Apple, Grape, Mango, Tomato, and Cucumber.
  • MACE-Bench: A compiled benchmark of 1,600 queries drawn from diverse sources like PlantVillage, LeafNet, and Bugwood.
  • Evaluation Splits: They tested both "In-Distribution" (images similar to the memory) and "Held-Out" collections (images from entirely different geographic or lighting conditions) to see how well the system generalizes.
Figure 2: The ten evaluated crops by crop group, each shown with one test image and its disease label.

Key Insights and Ideas

  • Labels are the Secret Sauce: The biggest jump in accuracy came from simply showing the model the labels of similar past cases. It acts like a "few-shot" prompt, telling the AI, "Hey, things that look like this are usually Bacterial Wilt."
  • Captions Add Context: While labels do the heavy lifting, the text descriptions provide an extra ~6% boost in accuracy. They help the model understand why a case is a match, pointing out specific features like "shot-hole perforations."
  • Text as Compression: By using text captions instead of images for the memory, MACE avoids the high computational cost of processing multiple high-res images during every single diagnosis.
  • The "Bugwood" Challenge: The model struggled more on the "Bugwood" dataset, which looks visually different from other collections. This highlights that even with a memory, AI still struggles when the "new" world looks nothing like the "remembered" one.

Key Results

Using Claude 3.5 Sonnet as the backbone, MACE showed impressive gains over the standard "textbook-only" (SAGE) baseline:

  • In-Distribution Accuracy: Jumped from 42.8% to 62.2%.
  • Held-Out Accuracy: Improved from 50.7% to 57.0%.
  • Consistency: MACE improved accuracy on all ten crops tested.
  • Comparison: It outperformed traditional visual search methods (like 1-Nearest Neighbor using DINOv2 embeddings), proving that the VLM's reasoning over text is more powerful than simple pixel-similarity.

Limitations and Future Work

While MACE is a significant step forward, the authors note a few hurdles:

  • Domain Shift: When the test images come from a very different source (like the Bugwood collection), the retrieval system often misses the correct disease, causing the model's accuracy to drop.
  • VLM Dependency: The system's "memory" is only as good as the VLM's ability to describe the initial reference images. If the captioner misses a subtle symptom, the retriever won't find it later.
  • Scaling the Memory: Future work could involve drawing memory cases from more varied sources to ensure the "mental gallery" is diverse enough to handle any field condition.

Summary updated

Abstract

In plant phenotyping, crop disease diagnosis has traditionally relied on expert assessment of visible symptoms and on models tailored to specific crops or diseases, and both are difficult to scale across field conditions. Recent methods provide frozen vision-language models with source-grounded knowledge bases that summarize the typical symptoms of each disease but describe little of how symptoms vary across individual cases. We introduce MACE (Memory-Augmented Crop-Disease Evaluation), a training-free method that supplements the knowledge base with a memory of symptom descriptions paired with known disease labels. MACE matches a description of the query image against this memory and retrieves only text descriptions and disease labels, so the query is the only image that the diagnosis model sees. Across ten crops, MACE with Claude Sonnet 5.5 improved accuracy over the knowledge-base baseline from 42.8% to 62.2% in distribution and from 50.7% to 57.0% on held-out image collections. Retrieved disease labels accounted for most of the gain, and adding the corresponding text descriptions improved in-distribution accuracy by about six percentage points.
BibTeX
@misc{roy2026mace,
  author = {Tirtho Roy and Shreyan Ganguly and Muhammad Arbab Arshad and Nikhil Bhattacharya and Soumik Sarkar},
  title = {{MACE: Memory-Augmented Crop-Disease Evaluation of Frozen Vision-Language Models}},
  year = {2026},
  eprint = {2611.28573},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.28573},
}
Figure