论文解读

AI 辅助整理
方法
构建带标签症状描述记忆库,检索增强冻结视觉语言模型,评测10种作物病害。
发现
Claude Sonnet 5.5域内准确率从42.8%升至62.2%,留存集57.0%,增益主要来
机会点
可探索记忆库自动构建与跨作物迁移,并研究检索噪声对诊断可靠性的影响。

论文摘要

预印本未经同行评审。免训练方法为冻结视觉语言模型补充带标签症状描述记忆,评测10种作物病害;Claude Sonnet 5.5域内准确率由42.8%升至62.2%,留存集57.0%,增益主要来自检索标签。

全文

arXiv

MACE: Memory-Augmented Crop-Disease Evaluation
of Frozen Vision-Language Models
Tirtho Roy1∗, Shreyan Ganguly1∗, Muhammad Arbab Arshad1, Nikhil Bhattacharya1,
Soumik Sarkar1
1Iowa State University, Ames, IA, USA
tirtho@iastate.edu, soumiks@iastate.edu
Abstract
In plant phenotyping, crop disease diagnosis has tradition-
ally 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
providefrozenvision-languagemodelswithsource-grounded
knowledgebasesthatsummarizethetypicalsymptomsofeach
disease but describe little of how symptoms vary across in-
dividual cases. We introduceMACE(Memory-Augmented
Crop-Disease Evaluation), a training-free method that sup-
plementstheknowledgebasewithamemoryofsymptomde-
scriptions paired with known disease labels. MACE matches
a description of the query image against this memory and re-
trieves only text descriptions and disease labels, so the query
is the only image that the diagnosis model sees. Across ten
crops,MACEwithClaudeSonnet5.5improvedaccuracyover
the knowledge-base baseline from 42.8% to 62.2% in distri-
bution and from 50.7% to 57.0% on held-out image collec-
tions.Retrieveddiseaselabelsaccountedformostofthegain,
and adding the corresponding text descriptions improved in-
distribution accuracy by about six percentage points.
Website and code— https://mace-bench.github.io/
Dataset— https://hf.co/datasets/tirtho149/MACE-Bench
1 Introduction
Food security remains a global challenge, with 2.1 bil-
lion people experiencing moderate or severe food insecurity
worldwide(FoodandAgricultureOrganizationoftheUnited
Nations et al. 2026). Timely crop disease diagnosis can help
protect agricultural productivity, particularly where access
to expert scouting is limited. However, task-specific neural
networks require labeled disease images and often general-
ize poorly beyond the collections used for training (Xu et al.
2023; Wu et al. 2023; Xu et al. 2024).
Frontier vision-language models (VLMs) offer a flexible
alternative because broad pretraining and in-context learn-
ing allow them to address new tasks with few labeled ex-
amples. In agriculture, instruction-tuned models (Liu et al.
2024;Awaisetal.2025),broadbenchmarkevaluations(Shin-
oda et al. 2025; Gauba et al. 2025), and adaptation through
labeled examples (Arshad et al. 2025) have been studied
(Table 1). AgEval (Arshad et al. 2025) showed that VLMs
∗These authors contributed equally.
Table 1:Prior workby evidence and evaluation setting.✓:
reported; –: not reported.
Method Labeled Source Query KB Cited Text
refs shift retrieval evidence memory
CDDM (Liu et al. 2024) – – – – – –
AgroGPT (Awais et al. 2025) –✓– – – –
AgroBench (Shinoda et al. 2025) – – – – – –
AgMMU (Gauba et al. 2025) – – – – – –
Tip-Adapter (Zhang et al. 2022)✓ ✓ ✓– – –
AgEval (Arshad et al. 2025)✓– – – – –
SAGE (Arshad et al. 2026)✓ ✓ ✓ ✓ ✓–
MACE (ours)✓ ✓ ✓ ✓ ✓ ✓
can adapt to plant stress phenotyping without task-specific
training, while AgroBench (Shinoda et al. 2025) showed
that fine-grained agricultural recognition remains challeng-
ing across expert-annotated tasks. For crop disease diagno-
sis, SAGE provides a frozen VLM with candidate diseases,
source-groundedsymptomknowledge,andlabeledreference
images (Arshad et al. 2026).
While reference images provide useful case-specific evi-
dence,processingthemduringdiagnosisincreasesinference
cost, and reference pools drawn from test collections can
contain near-copies (Lee et al. 2022; Abbas et al. 2023). In
suchcases,accuracymayreflectlabellookupratherthandi-
agnosis,asdocumentedfordataleakageanddataset-specific
shortcuts (Kapoor and Narayanan 2023; Xu et al. 2024). A
source-grounded symptom knowledgebase (KB) avoidsim-
age matching, but it describes each disease at the class level
and does not describe how symptoms vary across individ-
uallabeledcases.Retrieval-augmentedmodelsaddretrieved
casesordocumentstotheinputatinferencetime,andrecent
work applies this idea to plant disease diagnosis and to dis-
ease classification with multimodal large language models
(Chanetal.2026;Zhanetal.2026).Acaptionmemoryuses
thesameprinciplewithtextalone:itdescribeseachreference
image once and reuses the instance-level symptoms and the
disease label without processing the reference image again
or comparing it with the query image.
WeintroduceMACE(Memory-AugmentedCrop-Disease
Evaluation),atraining-freemethodthataddsacaptionmem-
oryoflabeledreferenceimagestothesymptomKBofSAGE
(Figure 1). A VLM describes each reference image once,
arXiv:2611.28573v1 [cs.MA] 21 Nov 2026

/book-openA. KB: class level, generalized
/gl⌢beOne entry per disease, with its source
♂quote-leftT ypical symptoms, quoted verbatim
/tagBacterial Wilt 🔗extension.iastate.edu
“leaves turn a dull green color, and
a progressive wilting of lateral leaves
occurs”
/tagAnthracnose 🔗ces.ncsu.edu
“spots start as water soaked areas and
expand into brown spots which are roughly
circular”
/tagGummy Stem Blight 🔗ces.ncsu.edu
“ovate stem and vine cankers . . . with a
characteristic brown gummy exudate”
Generalized: the same text for every image
♂layer-groupB. Memory: image driven, case level
/filterMACE-Benchimages, near-copies removed
♂penA VLM captions each image once,without its label
/tagBacterial Wilt
“dried patches spreading from leaf edges”
/tagAnthracnose
“small round specks with yellowish
margins”
/tagAnthracnose
“irregular torn holes with dark edges”
/tagGummy Stem Blight
“shot-hole perforations, interveinal
yellowing”
Adds how each image looks; 32 entries for cucumber
♂searchC. One MACE query, online: frozen VLM, no training
/user Which disease does this cucumber plant have?
candidates: the crop’s diseases
/cog
1
Captionthe test image, without labels:“Green centers, yellow patches, tan-brown dried edges and surfaces. ”
/cog
2
Retrievefrom B the four entries whose captions best match the test caption (BM25)
Gummy Stem
Blight
“tan to pale brown
dry edges”
Bacterial Wilt
“dried patches
spreading from
leaf edges”
Bacterial Wilt
“dry , papery ,
wrinkled,
shriveled”
Anthracnose
“irregular holes
and necrotic
patches”
/book-open
3
SAGE KBadds source-grounded symptom claims:“Bacterial Wilt affects the leaf of cucumber. ”
/brain
4
Frozen VLMreads the four captions with their labels,never the memory images
note:“. . . dry , papery , tan desiccated margins with yellow blotches . . . , resembling Bacterial Wilt references”
/check-circleMACE: Bacterial Wiltcorrect /times-circleSAGE, KB only:Downy Mildew wrong
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.
withoutitslabel,instructuredvisualfields,andMACEstores
the description together with the disease label. At test time,
MACE describes the query image in the same way, retrieves
themostsimilarmemoryentries,andprovidestheirdescrip-
tionsandlabelstoafrozendiagnosisVLM,whichneversees
the memory images.
The main contributions of this work are as follows:

  1. We introduce MACE, a training-free method that de-
    scribes each labeled reference image with a structured,
    label-free caption and retrieves these captions with their
    disease labels for a frozen diagnosis VLM.
  2. We establish an evaluation across ten crops, two frozen
    diagnosis models, and held-out image collections, with
    near-duplicate removal and comparisons against source-
    grounded diagnosis and visual nearest-neighbor lookup.
  3. We analyze how caption content, retrieved labels, mem-
    ory construction, and repeated disease evidence con-
    tribute to diagnosis, and we find that retrieved labels ac-
    count for most of the gain.
  4. We introduce a memory retriever whose weights a large
    language model (LLM) writes without gradient training,
    andwecompareitwithfitted,lexical,andvisualselection
    rules on both coverage and diagnosis accuracy.
    2 Method
    Data.We use the crop-disease images, labels, and KB en-
    triescompiledbyArshadetal.(2026).Weremoveexactand
    perceptualduplicates,imageswithvisiblediseasenames,and
    within-disease near-copies with an OpenCLIP cosine simi-
    larity of at least 0.90 (Cherti et al. 2023; Abbas et al. 2023).
    For each crop, we hold out one complete source collection
    and split the remaining images into five folds. For each of
    three memory selections, we chooseKimages per disease
    fromthetrainingfoldswithafacility-locationobjective,and
    the selections are nested across memory sizes.
    Caption memory.For each reference image, we use
    Claude Sonnet to generate a structured, label-free caption
    from visible symptoms alone. We store this caption with the
    image’s known disease label as one caption-memory entry
    (Figure1B).Attesttime,weusethesameprompttocaption
    the query image, while the diagnosis model receives only
    memory captions and labels and never sees the reference
    images.
    Compared methods.We pair the caption memory
    with two frozen frontier models from the Claude
    family, Sonnet and Haiku (claude-sonnet-5-5,
    claude-haiku-5-5), as diagnosis models. Sonnet is
    evaluatedundereverycondition,whileHaikuisevaluatedun-
    der SAGE, MACE retrieval, and labels only. Because Haiku
    readsthesamecaptionswrittenbySonnet,theHaikurunsdif-
    ferfromtheSonnetrunsonlyinthediagnosismodel.Wesend
    512-pixel images to both models through the Claude Code
    command-line interface with default decoding, and we dis-
    able prompt caching and external tools.SAGE, the KB-only
    baseline, receives the test image, the candidate labels, and
    KB claims (up to 3,000 tokens) ranked against a label-free
    caption of the test image, andMACE retrievaladds the re-
    trieved memory entries described above. The KB, candidate
    labels,prompts,andoutputschemastayfixed,sothecontent
    controls differ from MACE only in the memory content:la-
    belsonlyomitscaptions,captionsonlyomitslabels,shuffled
    labelspermutes labels, andrandom referencespresents ran-
    dommemoryentries.LabellookupdoesnotuseaVLMand
    predicts either by a majority or score-weighted vote over the
    retrieved labels or by the label of the nearest memory image
    (1-NN) under OpenCLIP or DINOv2 (Oquab et al. 2024)
    similarity. Table 2 lists these methods with their accuracy
    per crop and their equal-crop mean on the full evaluation.
    Unless stated otherwise, intervals are paired, crop-stratified
    95%bootstrapintervals,p-valuesareHolm-correctedwithin
    eachfamilyofcontrasts,andpairedanswerchangesaretested
    with exact McNemar tests.
    Ablations.The labels-only ablation removes the caption
    textfromMACE,andweevaluateitonthefullquerysetwith
    both diagnosis models. In addition, aDINOv2-onlyablation
    retrieves the four highest-ranked DINOv2 entries from the
    same memory instead of using BM25, the default caption
    retrieval described below.
    Selection rules.A selection rule determines which four
    memory entries the diagnosis model sees for a query. The

Field Crops
Staple Crops
Fruits
Vegetables
Corn
Common Rust
Soybean
Bacterial Pustule
Wheat
Rust
Rice
Brown Spot
Potato
Alternaria Black
Molds Stem Cankers
Apple
Cedar Apple Rust
Grape
Black Rot
Mango
Sooty Mold
Tomato
Verticillium Wilt
Cucumber
Belly Rot
Figure 2:The ten evaluated cropsby crop group, each shown with one test image and its disease label.
rule scores every entry in the query’s memory against the
query and keeps the four highest. By default, MACE uses
BM25(RobertsonandZaragoza2009),whichranksmemory
captions by the words they share with the query caption and
weightswordsthatarerareinthememorymoreheavily.Our
BM25implementationreproducestherecordedselectionfor
every query, so the recorded runs serve as its baseline.
Alternative rules.Each alternative changes only the scor-
ing step, while one memory selection, the diagnosis model,
the prompt, the KB, and the four-entry format stay fixed.
Text-embedding cosinecompares frozen sentence embed-
dingsofthetwocaptions,andrankfusionmergestheBM25
and cosine rankings.BM25 + DINOv2adds the image sim-
ilarity between the query and each memory image, rescaled
within the memory, to a retuned BM25 score, and the diag-
nosismodelstillreceivesonlycaptionsandlabels.Thefitted
scorers combine five caption features (shared rare words,
word overlap, character overlap, embedding similarity, and
length ratio) through a linear model or a multilayer percep-
tron (MLP) with 29 parameters trained on labeled pairs.
These supervised scorers are comparison baselines and are
not part of the training-free MACE method. In theLLM-
written MLP, Sonnet writes the weights of the same MLP
without gradient training, given a description of the features
aloneortogetherwith16memorycaptions,16labeledexam-
ple triplets, or both. The architecture, features, and prompt
were fixed during development.
Tuning and coverage.We selected every tuned parameter
and generated weight on 2,215 training-fold images that are
disjoint from all evaluation queries and from the memory
against which they are scored, and we fixed these values
before testing. We measure coverage with hit@4, the share
of queries for which at least one of the four references is
labeled with the true disease.
Crops and queries.We selected ten crops from metadata
beforeexaminingcomparativeaccuracy.Thecropsspanfield
crops, staple crops, fruits, and vegetables (Figure 2). Soy-
bean, corn, and tomato were fixed in advance, and the re-
maining crops are the eligible ones with the most held-out
diseases. A crop is eligible if it has a held-out collection, at
least 60 held-out images, four in-distribution (IID) diseases,
andtwoIIDcollections.Theheld-outcollectionisBugwood
forsevencropsandLeafNet,SBRD,andCDDMformango,
rice, and tomato, respectively. Each crop contributes up to
100 IID and 60 held-out queries drawn round-robin across
diseases, and a query never appears in its own memory. Ta-
ble2reportsthefirstmemoryselection;withtheothertwose-
lections, Sonnet MACE accuracy changes by less than three
points. In total, the full evaluation contains 1,600 queries,
thenested ablationset contains400, anda targetedselection
check uses 200 ablation queries from five crops.
3 Results
Accuracyacrosscrops.MACEimprovesoverSAGEwith
bothdiagnosismodelsonbothsplits,andthegainislargestin
distribution(Table2).AgainstitsownSAGEbaseline,Haiku
gains18.5pointsIIDand11.0held-out(bothp<0.001),and
every∆inTable2iscomputedagainstSonnetSAGE.Indis-
tribution, MACE raises accuracy on all ten crops with both
models, with every per-crop 95% interval above zero (sign
testp=0.002),sothebenefitisnotlimitedtoonecropgroup.
The largest in-distribution gains appear for mango, cucum-
ber, and corn with Sonnet and for potato and mango with
Haiku. MACE also exceeds DINOv2 1-NN with Sonnet on
both splits and with Haiku on held-out collections, whereas
the Haiku in-distribution comparison remains inconclusive.
InTable2,thelabel-lookupbaselinesexceedSAGEindis-
tributionbutfallbelowitonheld-outcollections,asexpected
from their reliance on near neighbors from the same collec-
tions. SAGE is more accurate on held-out collections than
in distribution, consistent with its KB not depending on the
memoryimages.WithSonnet,MACEexceedseverylookup
baseline in distribution and SAGE on held-out collections.
Labels only falls between SAGE and MACE on both splits,
and Haiku follows the same ordering at lower accuracy.
On held-out collections, the gain depends on the source
of the held-out images. For rice, mango, and tomato, whose
held-out images do not come from Bugwood, retrieval usu-
ally finds the true disease, and MACE gains about 21 points
withbothmodels(Sonnet:+21.1[14.4,27.8]).Ontheseven
Bugwood crops, Sonnet MACE matches SAGE on average
(+0.0[−3.6,+3.6])andfallsbelowitforwheat,potato,apple,
and grape, whereas Haiku gains on these crops on average
(+6.4[1.7,11.2])andoneveryoneofthemexceptgrape.On
Bugwood, a true-disease reference appears among the four
forabouttwo-thirdsofqueries,18points[12,25]fewerthan
for the other sources. When retrieval misses, MACE falls
below SAGE, and with Sonnet, MACE corrects as many
SAGE errors on Bugwood as it introduces (31 each).Sonnet
SAGE is also more accurate on Bugwood than on the other
sources, by 12.9 points [4.4, 21.2], whereas Haiku, whose
SAGE baseline is weaker, gains more on the same queries.
The low DINOv2 1-NN accuracy on Bugwood suggests that
these images differ visually from the memory collections.
Because the same crops gain strongly in distribution, the

Table 2:Accuracy (%) per cropon in-distribution (IID) and held-out (HO) queries (K=4).∆: points from Sonnet SAGE
(bootstrap, Holm;∗p<0.05, ∗∗p<0.01, ∗∗∗p<0.001). †: Bugwood held-out. Green bold: best; underlined: second.
Field Staple Fruits Vegetables Mean ∆vs baseline
Method VLM Corn† Soybean† Wheat† Rice Potato† Apple† Grape† Mango Tomato Cucumber† All crops SAGE, Sonnet
In-distribution (IID) queries
Label majority vote – 32.0 23.0 63.0 54.0 76.0 60.0 56.0 66.0 25.0 71.0 52.6 +9.8∗∗∗
Score-weighted vote – 35.0 37.0 65.0 52.0 74.0 60.0 59.0 72.0 29.0 74.0 55.7 +12.9∗∗∗
OpenCLIP 1-NN – 38.0 34.0 60.0 56.0 73.0 59.0 66.072.0 31.0 58.0 54.7 +11.9∗∗∗
Non-VLM
lookup
DINOv2 1-NN – 28.0 36.0 61.0 64.074.0 49.0 57.0 69.0 29.0 58.0 52.5 +9.7∗∗∗
SAGE (KB only) Sonnet 22.0 33.0 59.0 37.0 66.0 58.0 46.0 43.0 22.0 42.0 42.8 ref.
Haiku 21.0 29.0 61.0 37.0 35.0 43.0 43.0 39.0 22.0 40.0 37.0 −5.8∗∗∗
Labels only Sonnet 38.0 46.0 74.0 54.0 80.0 68.0 50.0 60.0 32.0 56.0 55.8 +13.0∗∗∗
Haiku 27.0 42.0 71.0 46.0 64.0 57.0 49.0 51.0 29.0 55.0 49.1 +6.3∗∗∗
MACE Sonnet 45.0 45.0 77.0 54.0 84.0 73.0 63.0 77.0 34.0 70.0 62.2 +19.4∗∗∗
Frozen frontier
VLMs (Claude) Haiku 32.0 41.0 71.0 55.0 78.0 63.0 57.0 66.0 33.0 59.0 55.5 +12.7∗∗∗
Held-out collection (HO) queries
Label majority vote – 16.7 23.3 46.7 65.0 53.3 26.7 30.0 73.3 31.7 48.3 41.5 −9.2∗∗
Score-weighted vote – 18.3 26.7 45.0 70.058.3 33.3 31.7 78.3 36.7 46.7 44.5 −6.2∗
OpenCLIP 1-NN – 13.3 30.0 35.0 58.3 48.3 31.7 25.0 76.7 31.7 26.7 37.7 −13.0∗∗∗
Non-VLM
lookup
DINOv2 1-NN – 13.3 26.7 40.0 58.3 45.0 33.3 31.7 71.7 35.0 26.7 38.2 −12.5∗∗∗
SAGE (KB only) Sonnet 15.0 46.7 63.3 33.3 68.3 66.770.0 53.3 38.3 51.7 50.7 ref.
Haiku 23.3 40.0 60.0 43.3 21.7 51.7 76.755.0 15.0 38.3 42.5 −8.2∗∗∗
Labels only Sonnet 16.7 40.0 68.365.0 71.7 63.3 63.3 56.7 41.7 61.7 54.8 +4.2∗
Haiku 25.0 46.7 68.348.3 38.3 50.0 73.3 66.7 26.7 60.0 50.3 −0.3
MACE Sonnet 20.0 46.7 61.7 66.7 61.7 61.7 66.7 78.3 43.3 63.3 57.0 +6.3∗∗∗
Frozen frontier
VLMs (Claude) Haiku 28.3 43.3 66.7 63.3 31.7 58.3 71.7 81.7 33.3 56.7 53.5 +2.8
failureisassociatedwiththeheld-outsourceratherthanwith
the crop. All seven crops share Bugwood, however, so crop
and source effects cannot be separated with these data.
Labels and captions.Retrieved labels account for most
of the improvement with both models (Table 2; Figure 3).
CaptionsonlyandrandomreferencesremainclosetoSAGE,
while shuffled labels reduce accuracy. On the 400-query ab-
lationset,labelsalonematchMACEwithinthe95%intervals
on both splits and equal it on held-out collections. This set
is too small to separate captions from labels, whereas the
captioneffectindistributionisdetectedonthefullqueryset,
analyzedbelow.Thememorythereforehelpsmainlythrough
its labeled cases, and the descriptions add accuracy mainly
when memory and query come from the same collections.
Figure 3:Sonnet accuracy on 400 ablation queriesby
memory content (labels: accuracy±half the 95% interval).
Onthefullqueryset,weseparatethecontributionofcap-
tions from the choice of retriever (Table 3). Caption text
adds an IID gain under both BM25 and DINOv2-only re-
trieval, with no detectable interaction between captions and
the retriever. Only the IID caption effects remain significant
under the paired bootstrap with Holm correction, and Haiku
shows the same IID caption gain under BM25. In contrast,
the caption effects on held-out collections remain inconclu-
sive, neither retriever is detectably better, and both effects
vary across crops.
Table 3:Sonnet caption and retriever effectson 1,600
queries (points, 95% intervals).
Contrast IID Held-out
Captions, BM25 +6.4[+4.1, +8.9]+2.2[−0.8, +5.2]
Captions, DINOv2-only +6.3[+3.8, +8.7]+0.5[−2.7, +3.5]
DINOv2-only−BM25, labels−0.6[−2.9, +1.8]+1.0[−2.0, +4.0]
DINOv2-only−BM25, captions−0.7[−3.1, +1.8]−0.7[−3.5, +2.2]
Interaction−0.1[−3.0, +2.7]−1.7[−5.7, +2.0]
Effect on individual predictions.MACE corrects more
SAGE errors than it introduces for both models and on both
splits(Figure4a;exactMcNemarp<0.001inallfourmodel–
split pairs). Accuracy rises with the number of retrieved ref-
erenceslabeledwiththetruedisease(Figure4b),andSAGE
accuracyonthesamequeriesalsoriseswiththisnumber,so
part of the trend reflects query difficulty. Even so, the gain
over SAGE is 10 to 20 points larger with two or more true-
diseasereferencesthanwithone,significantlyinthreeoffour
model–splitpairsunderthepairedbootstrap.Whenretrieval
omits the true disease, MACE falls below SAGE in all four
pairs, significantly in three, and the exception is Sonnet on
held-outcollections(−6.7[−13.6,+0.2]).Thesefindingsin-
dicate that the diagnosis model benefits both from receiving
the true disease and from receiving it more than once. The
samefindingsexplaintheBugwoodpatterninTable2,where

Figure4:MACEversusSAGE.(a)Answersfixedorbroken.
(b) Sonnet accuracy by true-disease references.
frequent misses offset the gains on the remaining queries.
Howthememoryisbuilt.Memoryfromthequery’sown
collectiongivesthehighestIIDaccuracy(Figure5a),mainly
because removing that collection leaves many queries with-
out a reference labeled with their true disease. A smaller
advantage remains even when the disease is retained, sug-
gesting that same-collection similarity also helps. Across
crops and splits, larger gains over SAGE are associated with
higher retrieval coverage for both models (Figure 5b). How-
ever, coverage does not explain every result: Sonnet loses
accuracy on held-out potato images despite high coverage,
while Haiku improves on the same images.
Figure 5:Memory.(a) Sonnet IID accuracy by memory
source (±half the 95% interval). (b) Gain versus coverage.
Exploratory evaluation: choosing the four references.
We next ask whether a better rule for choosing the four
references can raise accuracy. BM25 places a true-disease
referenceamongitstop20candidatesfornearlyeveryquery
(Figure 6a), so a better rule can change only which of these
candidates enter the final four.
An LLM-written retriever.Sonnet can write the weights
of a retriever without gradient training: in a single call, it
writesthe 29parametersof theMLP.All twelvewrittenver-
sions, including the three given only the feature description,
placeatrue-diseasereferenceamongthefouratleastasoften
as BM25 in distribution, although no version is significantly
better under the paired bootstrap. The locked version, cho-
sen on development data, received the description, memory
captions,and16labeledtriplets.ThesameMLPfittedbygra-
dient descent on those 16 triplets falls about twenty points
below BM25 in IID coverage, so writing the weights is far
moredata-efficientthanfittingthemonthesameexamples.In
diagnosis, the locked LLM-written retriever stays level with
BM25 for Sonnet and gives Haiku an in-distribution gain of
abouttwopointsthatisnotsignificantunderthepairedboot-
strap (Figure 6b). An LLM can therefore write competitive
retrieverweightswithoutgradienttraining,althoughthefea-
tures, architecture, and prompt were chosen on development
data.
Figure 6:Selection rules.(a) BM25 coverage by candidates
retrieved. (b) Accuracy change from BM25.
Addingimagesimilarity.AddingDINOv2imagesimilar-
ity to a retuned BM25 score improves coverage modestly,
mainly on in-distribution queries, and the accompanying di-
agnosis changes are small and positive for both models but
notsignificantafterHolmcorrection(Figure6b).Bothrules
mostly reorder references that BM25 already finds. A rule
that raises coverage can also lower accuracy. In a targeted
check with Sonnet, keeping at most one reference per dis-
ease places the true disease among the four more often but
lowers IID accuracy by about eight points, with a paired in-
tervalthatexcludeszero.Therestrictionchangesbothwhich
labels appear and how often they appear, and it removes
the repeated true-disease references that are associated with
the steepest accuracy gains in Figure 4b. Losing repeated
evidence for the correct disease is therefore a plausible ex-
planation, although the change in the selected set may also
contribute. The check also covers only one rule on a subset
ofqueries.Thesefindingsindicatethathit@4alonedoesnot
determine reference quality and that a selection rule should
also be assessed on diagnosis accuracy.
4 Conclusion
We introduced MACE, a training-free method that adds a
captionmemoryoflabeledreferenceimagestofrozenVLM
diagnosis. Across ten crops and two frozen frontier models,
MACE improves over the source-grounded SAGE baseline
on every crop in distribution and on held-out collections on
average, with strong variation across held-out sources. With
Sonnet, MACE also exceeds visual nearest-neighbor lookup
on both splits.
The memory helps mainly as labeled case evidence. Re-
trievedlabelsaccountformostofthegain,captiontextaddsa
furtherin-distributionimprovement,andaccuracyriseswith

the number of retrieved references labeled with the true dis-
ease. When retrieval misses the true disease, as it often does
forBugwoodimages,thememorylowersaccuracy,sodraw-
ing memory cases from more varied sources is a promising
way to improve transfer to new collections.
In an exploratory evaluation, a retriever whose weights
Sonnet writes without gradient training matches BM25 in
coverage and far exceeds the same model fitted on the same
few examples. Image similarity adds only modest coverage,
and selection rules should be judged on diagnosis accuracy,
not on coverage alone.
Limitations.Ourevaluationcoverstencrops,fourheld-out
sources, and two Claude models evaluated once per query,
and no plant pathologist reviewed the labels.
Image credits.Images in Figures 1 and 2 were cropped
andresizedfromPlantDoc,LeafNet(Quoc,Dao,andQuach
2026), PlantVillage, MangoLeafBD (Ahmed et al. 2023),
and the datasets of Menco Tovar, Puertas, and Martinez-
Santos(2025)andRaghavendrad60(2025),togetherwiththe
Iowa State plant-stress phenotyping collection. Each image
remains subject to its source license; the website provides
the original source and license for every image.
Acknowledgments
This work was supported by COALESCE: COntext Aware
LEarningfor SustainableCybEr-Agricultural Systems(NSF
#1954556) and the AI Institute for Resilient Agriculture
(USDA-NIFA #2021-67021-35329).
References
Abbas, A.; Tirumala, K.; Simig, D.; et al. 2023. SemD-
eDup:Data-EfficientLearningatWeb-ScalethroughSeman-
tic Deduplication. https://arxiv.org/abs/2303.09540.
Ahmed, S. I.; Ibrahim, M.; Nadim, M.; et al. 2023. Man-
goLeafBD: A comprehensive image dataset to classify dis-
eased and healthy mango leaves.Data in Brief, 47. https:
//doi.org/10.1016/j.dib.2023.108941.
Arshad,M.A.;Jubery,T.Z.;Roy,T.;etal.2025. Leveraging
visionlanguagemodelsforspecializedagriculturaltasks. In
WACV. https://doi.org/10.1109/WACV61041.2025.00616.
Arshad,M.A.;Roy,T.;Shen,Y.;etal.2026. SAGE:Scalable
AgenticGroundedEvaluationforCropDiseaseDiagnosis.In
CVPR Workshop on Data for Multimodal Foundation Mod-
els. https://arxiv.org/abs/2605.09768.
Awais, M.; Alharthi, A. H. S. A.; Kumar, A.; et al. 2025.
AgroGPT: Efficient Agricultural Vision-Language Model
with Expert Tuning. InWACV. https://arxiv.org/abs/2410.
08405.
Chan, Y.-C.; Fan, Y.-C.; Li, H.-C.; et al. 2026. SMART:
Structured Multimodal Agricultural Retrieval-Augmented
Transformer for Plant Disease Diagnosis.Computers and
Electronics in Agriculture, 250: 111882. https://doi.org/10.
1016/j.compag.2026.111882.
Cherti, M.; Beaumont, R.; Wightman, R.; et al. 2023. Re-
producible Scaling Laws for Contrastive Language-Image
Learning. InCVPR. https://arxiv.org/abs/2212.07143.
FoodandAgricultureOrganizationoftheUnitedNations;In-
ternational Fund for Agricultural Development; United Na-
tions Children’s Fund; World Food Programme; and World
Health Organization. 2026. The State of Food Security
and Nutrition in the World 2026. Technical report, FAO,
IFAD, UNICEF, WFP, and WHO. https://doi.org/10.4060/
cd8306en.
Gauba,A.;Pi,I.;Man,Y.;etal.2025. AgMMU:ACompre-
hensiveAgriculturalMultimodalUnderstandingBenchmark.
InNeurIPS. https://doi.org/10.52202/085713-2540.
Kapoor,S.;andNarayanan,A.2023. LeakageandtheRepro-
ducibility Crisis in Machine-Learning-Based Science.Pat-
terns, 4(9): 100804. https://doi.org/10.1016/j.patter.2023.
100804.
Lee,K.;Ippolito,D.;Nystrom,A.;etal.2022. Deduplicating
Training Data Makes Language Models Better. InACL.
https://arxiv.org/abs/2107.06499.
Liu,X.;Liu,Z.;Hu,H.;etal.2024.Amultimodalbenchmark
dataset and model for crop disease diagnosis. InECCV.
https://arxiv.org/abs/2503.06973.
Menco Tovar, A. C.; Puertas, E.; and Martinez-Santos,
J. C. 2025. Cucumber Disease and Freshness Classifica-
tion Dataset: Curated Annotations. Zenodo. https://doi.org/
10.5281/zenodo.16816441.
Oquab, M.; Darcet, T.; Moutakanni, T.; et al. 2024. DI-
NOv2: Learning Robust Visual Features without Supervi-
sion.Transactions on Machine Learning Research. https:
//arxiv.org/abs/2304.07193.
Quoc, K. N.; Dao, P. D.; and Quach, L.-D. 2026. LeafNet:
A Large-Scale Dataset and Comprehensive Benchmark for
Foundational Vision-Language Understanding of Plant Dis-
eases. https://arxiv.org/abs/2602.13662.
Raghavendrad60. 2025. VQA Plant-Disease Classifi-
cation Merged Dataset. Hugging Face Datasets. https:
//huggingface.co/datasets/Raghavendrad60/vqa_plant-
disease-classification-merged-dataset.
Robertson, S.; and Zaragoza, H. 2009. The Probabilis-
tic Relevance Framework: BM25 and Beyond.Founda-
tions and Trends in Information Retrieval, 3(4). https:
//doi.org/10.1561/1500000019.
Shinoda,R.;Inoue,N.;Kataoka,H.;etal.2025. AgroBench:
Vision-Language Model Benchmark in Agriculture. In
ICCV. https://doi.org/10.1109/ICCV51701.2025.00716.
Wu, X.; Fan, X.; Luo, P.; et al. 2023. From Laboratory to
Field: Unsupervised Domain Adaptation for Plant Disease
Recognition in the Wild.Plant Phenomics, 5. https://doi.
org/10.34133/plantphenomics.0038.
Xu, M.; Kim, H.; Yang, J.; et al. 2023. Embracing Limited
and Imperfect Training Datasets: Opportunities and Chal-
lenges in Plant Disease Recognition Using Deep Learning.
Frontiers in Plant Science, 14. https://doi.org/10.3389/fpls.
2023.1225409.
Xu, M.; Park, J.-E.; Lee, J.; et al. 2024. Plant Disease
Recognition Datasets in the Age of Deep Learning: Chal-
lenges and Opportunities.Frontiers in Plant Science, 15.
https://doi.org/10.3389/fpls.2024.1452551.

Zhan, Z.; Zhou, S.; Zhou, X.; et al. 2026. Retrieval-
AugmentedIn-ContextLearningforMultimodalLargeLan-
guageModelsinDiseaseClassification.JournalofBiomed-
ical Informatics, 178: 105017. https://doi.org/10.1016/j.jbi.
2026.105017.
Zhang, R.; Zhang, W.; Fang, R.; et al. 2022. Tip-Adapter:
Training-FreeAdaptionofCLIPforFew-ShotClassification.
InECCV. https://arxiv.org/abs/2207.09519.

论文原文与出版信息

arXiv
查看论文原文

继续探索