论文解读
AI 辅助整理- 方法
- 7404图、10081条专家指代表达,区域监督动作生成。
- 发现
- 区域监督动作生成精确集准确率优于仅坐标微调。
- 机会点
- 可扩展至更多农业场景与作物类型,探索无目标检测与跨场景泛化。
论文摘要
预印本未经同行评审。构建7404图、10081条专家撰写指代表达的农业视觉定位数据集,覆盖单目标、多目标与无目标;区域监督动作生成框架精确集准确率优于仅坐标微调,场景限于六类农业场景。
全文
arXivAgroVG+: Generalized Visual Grounding in Agriculture with
Region-Supervised Action Generation
Haocheng Li1 Juepeng Zheng2 Guilong Xiao1 Kaiqi Du1
Gengmeng Pu1 Haohuan Fu3 Jianxi Huang4
1 China Agricultural University 2 Sun Yat-sen University
3 Tsinghua University 4 Southwest Jiaotong University
Abstract
Generalized visual grounding in agriculture requires local-
izing all objects that match a natural-language descrip-
tion and recognizing when no matching target is present.
We introduceAgroVG+, a dataset whose referring ex-
pressions are all written and reviewed by agricultural ex-
perts based on image content and corresponding target
sets. The dataset comprises 7,404 images and 10,081
query records across six agricultural scene families, cov-
ering single-target, multi-target, and target-absent cases.
We also proposeReSAG(Region-Supervised Action Gener-
ation), a framework that couples regional evidence supervi-
sion with explicit box-generation and termination decisions.
ReSAG assigns each target an equally weighted supervision
term on a shared spatial evidence distribution computed be-
fore answer generation. The BOX/END protocol exposes
a choice between generating another box and terminating
the response at box boundaries, while coordinates are gen-
erated using the original language vocabulary. Regional
and sequence objectives jointly train a shared language de-
coder. On AgroVG+, ReSAG outperforms coordinate-only
fine-tuning on single- and multi-target exact-set accuracy,
and achieves higher aggregate accuracy than either com-
ponent alone in ablations.
- Introduction
Language-guided perception in agriculture requires a model
to localize every object that matches a referring expression
and recognize when no matching object is present (Fig. 1).
A request to locate weeds, for example, may refer to a sin-
gle plant, several plants scattered among crops, or none in
the image. Repetitive visual patterns, partial occlusion, and
visually similar vegetation make it difficult to distinguish
matching instances from their surroundings [22, 33, 52].
Generalized visual grounding captures this setting by treat-
ing localization as the prediction of a complete target set
Question1
Amongthethreeadjacentlargestrawberries
ontheright,findthehigherpale-greenone
betweenthetworedberries.
Question2
Wherearethetwolargeredstrawberrieson
eithersideoftheelongatedpale-greenfruit?
Question3
Whereistheredstrawberrybetweenthe
tworedstrawberriesontheright?
Output1 ·single target<BOX>c(b₁)<END>
Output2 ·multipletargets
<BOX>c(b₂)<BOX>c(b₃)<END>
Output3 ·notarget<END>
Figure 1.One image, three queries, different target sets.The
queries refer to a single pale-green strawberry (yellow), two flank-
ing red strawberries (purple), or no matching red strawberry be-
tween them. ReSAG represents each target set as<BOX>ac-
tions and coordinate stringsc(b i), followed by<END>; an initial
<END>denotes the empty set.
whose size depends on both the image and the expres-
sion [18, 25, 36].
Recent advances in multimodal large language models
(MLLMs) [13, 34, 37] have brought language understand-
ing and spatial prediction into a shared generative frame-
work [3, 4, 39]. By expressing object locations as co-
ordinate sequences, these models perform visual ground-
1
arXiv:2611.29396v1 [cs.CV] 22 Nov 2026
ing through the same autoregressive interface used for
language generation [6]. Although this formulation sup-
ports variable-length outputs [43], coordinate-only fine-
tuning supervises answer tokens without directly constrain-
ing how spatial evidence is distributed across target regions.
Complete-set prediction also requires deciding whether to
emit a box or terminate the response, both at its beginning
and after each completed box [7]. These observations mo-
tivate coupling regional evidence supervision with explicit
continuation and termination actions within an autoregres-
sive grounding framework.
Bounding-box annotations provide two complementary
training signals for complete-set prediction. Localizing
only prominent instances can omit less salient targets that
also satisfy the expression, whereas generating additional
boxes can introduce false positives. Each annotated box
specifies the spatial region of a matching instance, while
the complete target set provides supervision for continuing
box generation and terminating once all annotated targets
have been generated. An empty target set corresponds to
termination before any box is generated.
Building on this observation, we introduceReSAG
(Region-Supervised Action Generation) for generalized vi-
sual grounding. ReSAG assigns each target an equally
weighted loss term on a shared spatial evidence distribu-
tion computed from the image–expression prefix before an-
swer generation. A target with low regional evidence there-
fore retains its own penalty even when other targets receive
strong evidence. Its BOX/END protocol restricts the de-
coder to<BOX>or<END>at the start of the answer and
after each completed box, while coordinates are generated
using the original language vocabulary. The regional and
sequence losses jointly update the shared language decoder,
allowing spatial supervision to shape the model that gener-
ates coordinates and predicts continuation and termination
actions.
To support learning and evaluating generalized visual
grounding in agriculture, we introduceAgroVG+, a dataset
pairing natural-language expressions with complete target
sets. Building on AgroVG [33], we reselect images based
on visual quality and expand the image collection through
additional sampling from the original agricultural sources.
A team of eight agricultural-domain experts writes all refer-
ring expressions from image content and manually reviews
each expression and its corresponding target set. The re-
sulting dataset contains 7,404 images and 10,081 bilingual
query records across six agricultural scene families, with
English and Chinese expressions sharing the same target
sets. Its single-target, multi-target, and target-absent queries
provide a unified setting for evaluating instance localiza-
tion, complete-set recovery, and target-absence recognition.
Experiments on AgroVG+ show that ReSAG improves
complete-set prediction for both single-target and multi-
target queries compared with the evaluated baselines. Abla-
tion studies further show that combining regional evidence
supervision with the BOX/END protocol yields higher ag-
gregate accuracy than using either component alone. These
results support jointly learning spatial evidence and explicit
box-generation and termination decisions for generalized
agricultural grounding.
In summary, our contributions are as follows:
• We introduceAgroVG+, an agricultural grounding
dataset with expert-written referring expressions and
manually reviewed target sets covering single-target,
multi-target, and target-absent queries.
• We proposeReSAG, a framework that couples regional
evidence supervision with explicit BOX/END actions for
box generation and termination through joint training of
a shared language decoder.
• We evaluate ReSAG against grounding baselines on
AgroVG+ and demonstrate improved single- and multi-
target exact-set accuracy. Controlled ablations and quali-
tative comparisons examine the effects of regional super-
vision and the BOX/END protocol.
2. Related Work
Agricultural Visual Grounding and Benchmarks.Exist-
ing agricultural datasets, including IP102 [62], Agriculture-
Vision [9], and PhenoBench [59], support fine-grained
recognition and spatial analysis across diverse scenes [23,
42, 48]. For vision-language tasks, AgroGPT [2] explores
agricultural instruction tuning, while AgroBench [47] and
AgroMind [35] evaluate multimodal capabilities in agri-
culture. More directly related to localization, gRef-
CW and its associated Weed-VG framework [22] inves-
tigate crop and weed grounding, while AgroGround [1]
couples agricultural recognition with region localization.
AgroVG [33] evaluates single-target, multi-target, and
target-absent grounding across agricultural sources using
annotation-grounded query templates, including category,
spatial, and size-based descriptions. All referring expres-
sions in AgroVG+ are written by agricultural experts based
on the visible content of each scene, drawing on object
appearance, spatial context, and relationships among in-
stances. Each expression and its complete target set are
jointly reviewed for consistency with the image.
Generalized Visual Grounding.Generalized grounding
extends conventional single-instance referring expression
comprehension [10, 17, 29, 41, 68] to multiple and ab-
sent referents. GRES [36] and GREC [25] formalize
this setting for segmentation and box grounding, while
GREx [18] also incorporates referring expression genera-
tion. General-purpose segmentation frameworks, such as
Mask R-CNN [24] and Mask2Former [8], provide comple-
mentary approaches for instance-level and pixel-level mask
prediction. Specialized methods address target coverage
2
Crop /
weed
CropAnd
Weed
507
PhenoBench
886
Fruit
ACFR 587
StrawDI
320MegaFruits
275
LaboroTomato
290
Wheat
head
GWHD 2021
1,049
Pest
IP102
766
LeAF262
Plantdisease
PlantSeg
729
BRACOL252
AppleLesion184 Tree
canopy
Dumortier460 OAM-TCD
629
Brazil
Urban Tree
208
AgroVG+
0 500 1,000 1,500 2,000 2,500 3,000
Crop/weed
Fruit
Wheat head
Pest
Plant disease
Tree canopy
1,723
1,862
1,309
1,264
1,561
2,362
Query regime by family
Single-target
Multi-target
Target-absent
1 2 5 10 20 50 100
Instance density by family
10−4 10−3 10−2 10−1 100 101 102
0
2
4
6
8Target occurrences (%)
Target size distribution
Single-target
Multi-target
(a) (b) (c) (d)
Figure 2.Dataset statistics of AgroVG+.Panels summarize source/family composition, query-regime counts, per-image instance-count
distributions, and queried target-size distributions. The six scene families include single-target, multi-target, and target-absent queries.
and absence through structured decoding: CoHD [40] com-
bines hierarchical mask decoding with count- and category-
level supervision, whereas PropVG [11] integrates pro-
posal generation, referent scoring, and multi-granularity
target discrimination. Complementing these strategies,
InstanceVG [12] uses instance queries to jointly predict
bounding boxes and masks, promoting consistency between
the two representations of each referent. HieA2G [55] com-
bines hierarchical cross-modal alignment with adaptive tar-
get counting.
MLLM-Based Visual Grounding.Multimodal large lan-
guage models formulate grounding as autoregressive pre-
diction of coordinates or location tokens [71], as exempli-
fied by Shikra [6], Kosmos-2 [43], and the Qwen-VL fam-
ily [3, 4]. Region-aware approaches [61], including Fer-
ret [67], RegionGPT [21], and Osprey [69], enhance local-
ized visual understanding through region-level representa-
tions. Complementary work explores explicit spatial su-
pervision [60]: AMC [66] aligns gradient-based explana-
tions with region annotations to improve visual grounding.
Output designs provide another direction [32]: GSV A [63]
uses segmentation and rejection tokens to handle multiple
and absent referents, while GETok [45] represents locations
through learnable grid and offset tokens. Unlike approaches
that align gradient-based explanation maps, ReSAG super-
vises the probability mass assigned to each target in a shared
pre-answer spatial distribution. It retains the original lan-
guage vocabulary for coordinate generation and introduces
action tokens at box boundaries to decide whether to gener-
ate another box or terminate the sequence.
3. The AgroVG+ Dataset
AgroVG+ builds on AgroVG [33] through renewed image-
quality selection and expanded sampling from the original
data sources. Eight agricultural-domain experts manually
write and review all referring expressions and verify their
corresponding target labels. Together, these efforts establish
a resource for generalized agricultural grounding that con-
nects language descriptions with their target sets, including
expressions with no matching referent.
3.1. Dataset Construction
AgroVG+ combines images reselected from AgroVG based
on visual quality with additional samples from the original
data sources. The resulting collection spans six scene fam-
ilies: crops and weeds, fruits, wheat heads, pests, plant dis-
eases, and tree canopies. It comprises 16 source subsets,
with source identities and instance associations preserved
throughout curation.
The annotation team comprised eight experts with inter-
disciplinary backgrounds in agriculture and computer sci-
ence and prior experience in dataset development. Be-
fore annotation began, all participants received standardized
training on the annotation workflow and the use of the an-
notation platform. The annotators wrote every referring ex-
pression from image content, using visible appearance, rel-
ative position, and relationships among objects to specify
individual targets or selected target groups. For each ex-
pression, they manually checked whether the referring cues
were supported by the image and whether the associated
boxes matched the intended target set. Ambiguous expres-
sions and incorrect target associations were revised or re-
moved, and identified annotation errors were corrected.
Each example associates an imageIand an expression
qwith a target setB={b i}ni=1, wheren= 0,n= 1,
andn >1correspond to target-absent, single-target, and
multi-target queries, respectively. English and Chinese ex-
pressions share the same target set and constitute one bilin-
gual record. Query-specific answers are stored separately
from the image-level annotation inventory, since only the
instances satisfying the expression belong to its answer.
Target-absent queries require verifying that no instance
satisfies the complete description. The annotators wrote
these queries using plausible combinations of scene-specific
attributes and relations, and inspected the whole image to
confirm the empty target set. Missing source annotations
alone were not treated as evidence of absence. An empty
3
Table 1.Dataset statistics and split distribution of AgroVG+.
Single, Multi, and Absent count queries, with each bilingual
record counted once.
Split Images Single Multi Absent Queries
Train 4,724 4,627 1,150 576 6,353
Val. 459 525 129 67 721
Test 2,221 2,166 591 250 3,007
Total 7,404 7,318 1,870 893 10,081
answer therefore denotes the absence of a matching referent
rather than the absence of agricultural objects in the scene.
3.2. Dataset Statistics
AgroVG+ contains 7,404 images and 10,081 bilingual
query records, comprising 7,318 single-target, 1,870 multi-
target, and 893 target-absent queries. Figure 2(a,b) summa-
rizes the source composition and query regimes across the
six scene families. All three query regimes are represented
in each family, supporting evaluation of instance localiza-
tion and target-absence recognition across different agricul-
tural contexts.
The collection also captures substantial variation in in-
stance density and target scale. Figure 2(c) shows the dis-
tributions of annotated instances per image, whose medi-
ans range from two for pests to 29 for wheat heads. These
counts describe the available source annotations, whereas
Figure 2(d) characterizes the boxes actually referred to by
queries. The latter comprises 12,261 target occurrences,
including repeated references across queries, with relative
areas spanning several orders of magnitude. These varia-
tions require models to distinguish relevant instances within
crowded scenes and localize targets at different scales.
Dataset splits follow documented image-association
groups, so images within the same group and all their as-
sociated expressions remain in the same partition. Source-
specific split constraints are preserved where applicable. An
internal validation set is held out from the training pool.
Images, query records, and recorded association groups
are disjoint across the training, validation, and test splits.
Table 1 summarizes image counts and the distribution of
queries across target states and splits. Further dataset statis-
tics, annotation protocols, and quality-control procedures
are provided in Supplementary Sec. A.
4. Method
Given an imageIand a referring expressionq, ReSAG
predicts a set of matching bounding boxes that may be
empty. As shown in Fig. 3, a shared autoregressive de-
coder provides the representations for regional evidence
supervision and generates the output sequence under the
BOX/END protocol. During training, annotated boxes su-
pervise a spatial evidence distribution computed from the
image–expression prefix, while action and coordinate to-
kens provide sequence supervision. These objectives jointly
adapt the decoder, which generates boxes and termination
actions from its own output history at inference.
4.1. Regional Evidence Supervision
To provide a direct spatial training signal for every anno-
tated referent, we supervise a shared evidence distribution
over image locations. Leth pre ∈R d denote the decoder
hidden state at the final position of the image–expression
prefix, immediately before answer generation. Letv j ∈R d
denote the hidden state at image-token positionj. Both rep-
resentations are taken from the final language decoder layer,
and theJimage-token positions correspond to spatial cells
{Sj}Jj=1 on the merged visual grid. TheH g ×W g merged
grid partitions the originalW×Himage into cells of size
(W/Wg)×(H/H g), indexed in row-major order.
We project the prefix state and image-position states into
a common space using learnable matricesW q, Wv ∈R p×d.
Their similarities define the spatial evidence distribution:
sj = cos(Wqhpre, Wvvj)τ ,
αj = exp(sj)PJ
ℓ=1 exp(sℓ)
,
(1)
wherecosdenotes cosine similarity andτ >0is a tem-
perature. The resulting distribution assigns evidence mass
to image locations conditioned on the input prefix. Under
causal attention, these prefix representations have no access
to the answer coordinates.
For an annotated target setB={b i}Ki=1, each box de-
fines a separate spatial constraint on this distribution. We
assign cellS j a weight according to the fraction of its area
covered by boxb i:
wij = |bi ∩S j||Sj| ,(2)
where| · |denotes area in the image coordinate system.
These weights preserve partial coverage at box boundaries.
The weighted evidence mass associated with targetiisPJ
j=1 wijαj, yielding the regional objective
Lreg =
− 1K
KX
i=1
log
JX
j=1
wijαj
, K >0,
0, K= 0.
(3)
Each target contributes one equally weighted loss term to
the same prefix evidence distribution. Concentrating evi-
dence on a prominent target therefore leaves a penalty for
4
Large Language Model (LoRA)
Image Encoder
…
RegionalEvidence Supervision
BOX/END Decoding Protocol
Backpropagationto
shared LoRA
<BOX> c(b₁) <BOX> c(b₂) <END>
Output Token Sequence Box annotations Evidence map α
Cosine similarity / τ Spatial softmax
Action boundary
<BOX>
<END>
Trainable action head
Stop.
𝑥!,𝑦!,𝑥",𝑦"
…
𝑾𝒒,𝑾𝒗
x
y
(x₁, y₁)
(x₂, y₂)
Frozen original LM head
V₀ active, BOX/END masked
Multimodal
input prefix
TextEncoder 𝑰𝒏𝒊𝒕𝒊𝒂𝒍<𝑬𝑵𝑫>→∅
Tokenizer
Question:Locatealllargeyellow
fruitshangingbelowthethickbranch
intheforeground,partiallyobscured
bysurroundinglong,narrowgreen
leaves,andreturnaboundingboxfor
eachmatchingfruit.
Joint objective:ℒ=ℒseq +λreg ℒreg
Multimodal Input and Shared Decoding
m2=∑jw2jαj
m1=∑jw1jαj
ℒreg=−(1/K)∑i=1log(mi)
Training
Training
Figure 3.Regional supervision guides action generation through a shared decoder.Left:Image and query embeddings form the
multimodal prefix; the text branch denotes tokenization and embedding lookup. The joint objective combines teacher-forced sequence
loss and regional loss.Upper right:During training, projections of final-layer prefix states yield spatial evidenceα. Box annotations
supervise each target’s evidence massm i = Pj wijαj; the purple dashed arrow denotes backpropagation to the shared LoRA adapters.
This evidence branch is used only during training.Lower right:At each action boundary,<BOX>starts coordinate generation with the
frozen language head, while<END>terminates the sequence; an initial<END>returns∅.
other targets with low regional evidence mass. This objec-
tive uses the available box annotations to encourage spatial
support across the target set without requiring segmentation
masks. For target-absent queries, the regional loss is zero,
and supervision is supplied by the output sequence.
4.2. BOX/END Action Generation
To make box continuation and response termination ex-
plicit, we represent the target set using two atomic action
tokens,<BOX>and<END>. We order the target boxes lex-
icographically by their normalized coordinates to obtain a
deterministic training sequence:
Y=<BOX>c(b 1)· · ·<BOX>c(bK)<END>,(4)
wherec(b i)denotes the tokenized coordinate string
[x1, y1, x2, y2], with(x 1, y1)and(x 2, y2)representing the
top-left and bottom-right corners, respectively. Horizontal
and vertical coordinates are scaled to[0,1000]using the im-
age width and height, respectively. For an empty target set,
the complete sequence is<END>. Coordinates and punc-
tuation use the original language vocabulary, while the two
action tokens have learnable input embeddings and output
vectors.
Generation alternates between an action boundary and a
coordinate body. The answer begins at an action boundary,
where the decoder selects<BOX>to enter coordinate gen-
eration or<END>to terminate. Within a coordinate body,
both action tokens are masked. Once the decoded body ends
with the closing bracket], generation returns to an action
boundary. LetA={<BOX>,<END>}denote the action
vocabulary andV 0 the original tokenizer vocabulary. The
active vocabulary at steptis
Vt =
(
A,at an action boundary,
V0,within a coordinate body. (5)
Leth t denote the decoder hidden state predicting token
yt, withh 1 =h pre. For an action tokenv∈ A, its logit
isℓ t(v) =a ⊤v ht, wherea v is its learnable output vector.
Coordinate-body logits are produced by the pretrained lan-
guage head. Writingp t(v) =p θ(yt =v|I, q, y <t), we
normalize over the active vocabulary:
pt(v) = exp(ℓt(v))P
u∈Vt exp(ℓt(u)) , v∈ V t,(6)
withp t(v) = 0outsideV t. Thus, continuation and termi-
nation compete through a two-way normalization at each
boundary, while coordinate generation retains the original
vocabulary.
The same vocabulary constraints apply during training
and inference. Action and coordinate tokens are supervised
together through the sequence objective described next.
5
no target
empty prediction
GTLoRAFlorence-2ReSAG (Ours)
middle uncut yellow fruit
with black patches
pale-green berry cluster
right of the red strawberry
2 white triangular
insects at opposite ends
horizontal brown lesion,
upper half, right of midrib
bright-green round tree
inside the road bend
3 pale-green wheat heads
amid crossing leaves
Figure 4.Qualitative comparison on AgroVG+.Selected examples illustrate instance confusion, missed or extra targets, and target
absence across agricultural scenes. Green boxes denote ground truth; yellow boxes denote predictions. Queries are abbreviated.
4.3. Joint Training and Inference
We jointly optimize regional evidence learning and action-
based box generation through the shared decoder. For a
target sequenceY= (y 1, . . . , yT ), we use the constrained
probabilities defined in Eq. (6) to compute
Lseq =− 1T
TX
t=1
logp θ(yt |I, q, y<t).(7)
The token average includes both action tokens and all
coordinate-body tokens, while input-prefix tokens are ex-
cluded from the sequence loss. Training uses teacher forc-
ing, so each sequence prediction conditions on preceding
ground-truth answer tokens. The regional evidence distri-
bution uses only input-prefix states, which cannot attend to
answer tokens under causal attention.
For each query, the complete objective is
L=L seq +λ regLreg,(8)
whereλ reg controls the contribution of regional supervi-
sion. Per-query objectives are averaged with equal weights
within each optimization update. Continuation, termina-
tion, and coordinate prediction are all learned throughL seq.
In our implementation, the trainable parametersθcom-
prise language LoRA adapters [26], the regional projections
Wq andW v, and the input embeddings and output vectors
of the two action tokens. The original vision encoder, vi-
sual mergers, and pretrained language-model parameters re-
main frozen. Both objectives update the shared language
adapters, allowing regional supervision to influence gener-
ation through the decoder parameters. The evidence map
serves only as an auxiliary training signal, while inference
uses the adapted decoder.
At inference, we perform greedy decoding with a
key/value cache and the vocabulary constraints described
in Sec. 4.2. Emitting<END>terminates the response, with
immediate termination producing an empty prediction. The
entire response is counted as incorrect if it reaches the to-
ken budget without<END>, violates the BOX/END for-
mat, or contains an invalid box. Valid boxes contain four
finite coordinates satisfying0≤x 1 < x2 ≤1000and
0≤y 1 < y2 ≤1000. No partial recovery, coordinate re-
pair, or duplicate suppression is applied. Further training
and decoding details are provided in Supplementary Sec. B.
5. Experiments
5.1. Settings
All experiments are conducted on AgroVG+ using the train-
ing, validation, and test splits described in Sec. 3. We use
only the English expressions for training, validation, and
testing. The Chinese counterparts are retained in the dataset
but are not used in any experiment.
Evaluation metrics.We report exact-set accuracy (ESA) at
IoU 0.50 and 0.75 for single-target and multi-target queries.
At each threshold, ESA counts a query as correct only
when maximum-cardinality one-to-one matching pairs ev-
ery predicted box with a ground-truth box and leaves no
6
Table 2.Comparison on AgroVG+.Best and second-best distinct scores are bold and underlined, respectively.
Method Adaptation TrainableParams. (M) Single-target Multi-target N-acc Overall@0.50 @0.75 @0.50 @0.75Pr@(F 1 = 1)
Detection and foundation models
MDETR-GREC [25, 28] Full FT 185.16 39.24 30.06 16.07 12.35 9.20 32.19
Grounding DINO-T [38] Full FT 172.25 62.00 54.52 30.63 25.38 40.40 54.04
Florence-2-large-ft [64] Full FT 770.17 77.33 68.8458.8850.4276.40 73.63
LLM-based grounding models
Shikra-7B [6] LoRA 79.95 45.61 19.11 26.06 5.92 72.40 44.00
Ferret-7B [67] None 0.00 19.48 9.46 0.51 0.17 0.00 14.13
Ferret-7B [67] LoRA 79.95 54.52 26.96 34.52 12.18 69.60 51.85
Qwen3-VL-8B [3] None 0.00 51.89 37.12 32.32 20.98 59.20 48.65
Qwen3-VL-8B [3] LoRA 87.29 76.45 55.96 67.51 45.69 82.80 75.22
InternVL3.5-8B [53] LoRA 87.29 75.07 55.72 65.99 44.50 81.60 73.83
ReSAG (Ours)LoRA ∗ 88.3677.8959.14 71.40 50.42 83.60 77.09
∗LoRA with trainable regional projections and BOX/END parameters, introducing 1.06M additional trainable parameters.
box unmatched. N-acc measures the fraction of target-
absent queries correctly predicted as empty. Overall, de-
notedPr@(F 1 = 1), measures exact-set accuracy across
all queries at IoU 0.50, including target-absent queries with
valid empty predictions. Invalid or missing outputs are
counted as incorrect; scores are percentages. Supplemen-
tary Sec. C details the matching and output-validation rules.
Compared methods.We compare ReSAG with two groups
of models (Table 2). Detection and foundation mod-
els include MDETR-GREC [25, 28], Grounding DINO-
T [38], and Florence-2-large-ft [64], adapted through full-
parameter fine-tuning. LLM-based grounding models in-
clude Shikra-7B [6], Ferret-7B [67], Qwen3-VL-8B [3],
and InternVL3.5-8B [53], adapted through language LoRA.
Additional zero-shot results are reported for Ferret-7B and
Qwen3-VL-8B. LoRA-adapted Qwen3-VL-8B serves as
the same-backbone baseline for ReSAG.
Implementation details.We initialized ReSAG from
Qwen3-VL-8B-Instruct and applied LoRA to the attention
and feed-forward projections of the language decoder, with
rank 32,α LoRA = 64, and dropout 0.05. The regional set-
tings werep= 128,τ= 0.1, andλ reg = 0.1. Only the
LoRA adapters, regional projections, and BOX/END pa-
rameters were optimized; all pretrained weights remained
frozen. Training used BF16 on two NVIDIA A100 GPUs
for six epochs (4,770 updates), with an effective batch size
of eight queries. We used AdamW with a learning rate of
5×10 −5 and weight decay 0.01, together with cosine de-
cay and 144 warmup updates. The image processor used
a maximum pixel budget of 524,288, and greedy decoding
generated at most 4,096 tokens. Coordinate values in the
training targets were rounded to three decimal places. The
input embeddings and output vectors of<BOX>and<END>
were initialized from the pretrained[and end-of-response
token rows, respectively. We selected the checkpoint with
the best validation performance on the primary evaluation
metric and used it for final evaluation on the test set.
5.2. Results
ReSAG achieves the highest overall exact-set accuracy of
77.09% among the evaluated methods on AgroVG+ (Ta-
ble 2). The comparison with Florence-2 illustrates the dis-
tinction between single-target localization and complete-
set recovery. Florence-2 achieves the highest single-target
ESA@0.75, but its multi-target ESA@0.50 is 58.88%,
compared with 71.40% for ReSAG. ReSAG also matches
Florence-2 on multi-target ESA@0.75 and achieves the
highest target-absence accuracy. These results show that
ReSAG performs well on both recovering multiple match-
ing instances and identifying queries with no valid target,
key requirements of generalized agricultural grounding.
Compared with the reported LoRA baseline using the
same Qwen3-VL-8B backbone, ReSAG achieves higher
scores across all evaluation metrics. The gains are larger
for multi-target queries, with improvements of 3.89 and
4.74 percentage points in ESA at IoU thresholds of 0.50
and 0.75, respectively. ReSAG introduces approximately
1.06M additional trainable parameters through its regional
projections and BOX/END parameters, while keeping all
pretrained weights frozen. The component comparisons in
Sec. 5.3 further examine the individual and combined ef-
fects of these two designs.
Qualitative comparison.Figure 4 presents selected predic-
tions from LoRA, Florence-2, and ReSAG. ReSAG recov-
ers all three targets in the strawberry and wheat examples,
whereas Florence-2 misses one target in each. For wheat,
7
sl
ender insect with bluish-gray wingsl arger grooved tomato at lower rightsm all broadleaf weed above centerd isease patch right of the leaf veinr
ed strawberries lower-right of the pale oned iagonal red-yellow peaches by the branchh ead-height match to the left insectt wo beetles joined at their rear endsl
ower blueberry partly behind a leafu pper red tomato partly behind a leafr ed strawberry above the mulch teart wo mostly pale diseased wheat heads
Figure 5.Regional evidence learned by ReSAG.Each pair shows an image crop (left) and the query-conditioned regional evidence
computed before answer generation (right). Labels summarize the corresponding queries.
LoRA outputs three boxes but selects the wrong instances,
showing that correct counts alone are insufficient. For the
target-absent lesion query, ReSAG returns an empty predic-
tion, while both baselines produce an incorrect box. These
examples illustrate differences in target selection, instance
coverage, and target-absence recognition.
5.3. Ablation Studies and Analysis
Effect of regional supervision.Adding regional supervi-
sion improves Overall from 75.22% to 76.06%, while in-
creasing all four ESA metrics (Table 3). At IoU 0.75, the
gains reach 2.35 percentage points for single-target queries
and 4.23 points for multi-target queries. When added to
the BOX/END-only variant, regional supervision further
raises Overall from 75.69% to 77.09% and multi-target
ESA@0.75 from 47.55% to 50.42%. These improvements
are consistent with the regional objective, which assigns an
equally weighted term to each annotated target to encourage
evidence coverage across the complete target set.
Effect of the BOX/END protocol.Adding the BOX/END
protocol improves Overall from 75.22% to 75.69% over the
LoRA baseline (Table 3). Its contribution is larger when
combined with regional supervision: Overall increases from
76.06% for the Region variant to 77.09% for ReSAG, a gain
of 1.03 percentage points. The joint configuration achieves
the highest Overall among the four variants, exceeding the
LoRA baseline by 1.86 percentage points. These gains sup-
port combining regional supervision and BOX/END deci-
sions in a shared decoder for complete-set prediction.
Regional evidence analysis.Figure 5 visualizes the query-
conditioned spatial evidence computed before answer gen-
eration. For single-target queries, high responses concen-
trate around the slender insect and small weed. The straw-
berry and beetle examples show elevated evidence across
multiple matching instances, while the partially occluded
blueberry receives strong responses on its visible surface.
Table 3.Component ablation on AgroVG+.∆denotes
percentage-point gains over LoRA, computed before rounding.
Best and second-best scores are bold and underlined, respectively.
Variant Single-target Multi-target Overall
@0.50 @0.75 @0.50 @0.75
LoRA baseline 76.45 55.96 67.51 45.69 75.22
- Region 77.05 58.31 70.05 49.92 76.06
∆vs. LoRA+0.60 +2.35 +2.54 +4.23 +0.83 - BOX/END 77.24 57.99 70.22 47.55 75.69
∆vs. LoRA+0.78 +2.03 +2.71 +1.86 +0.47
ReSAG 77.89 59.14 71.40 50.42 77.09
∆vs. LoRA+1.43 +3.19 +3.89 +4.74 +1.86
These patterns are consistent with the regional objective,
which gives each annotated instance an equally weighted
contribution to learning the shared evidence distribution.
Some responses also extend to neighboring objects and veg-
etation. The regional loss supervises evidence mass within
boxes, without requiring the maps to follow precise object
boundaries. Additional analyses, visualizations, and failure
cases are presented in Supplementary Sec. D.
- Conclusion
We introduced AgroVG+, a dataset for generalized agri-
cultural grounding with expert-written referring expressions
based on scene content and manually reviewed target sets. It
covers single-target, multi-target, and target-absent queries.
We also presented ReSAG, which uses box annotations to
supervise spatial evidence before answer generation and to
learn explicit BOX/END decisions. The regional and se-
quence objectives are jointly optimized through a shared
language decoder to learn where the targets are and when
to continue or stop generating boxes. Experiments on
8
AgroVG+ show that ReSAG achieves the highest over-
all exact-set accuracy among the evaluated methods, while
component ablations show that combining regional supervi-
sion with BOX/END outperforms either component alone.
LLM Usage Statement
We used ChatGPT (GPT-6 Astra, OpenAI) to help organize
and format research data, implement the proposed method,
debug code, and resolve software dependency conflicts and
kernel-related issues. The tool also assisted with prepar-
ing visualizations, refining the presentation of figures and
tables, and polishing author-written text. It was not used
to determine the method design or experimental settings,
which were decided by the authors. All AI-assisted outputs
were reviewed and validated by the authors, and all experi-
mental results were interpreted by the authors. The authors
take full responsibility for the final content of this work.
References
[1] Abdulla Alshehhi, Zongyan Han, and Rao Muhammad An-
wer. AgroGround: Multi-granularity grounded recognition
in agriculture. arXiv preprint arXiv:2610.04425, 2026. 2
[2] Muhammad Awais, Ali Husain Salem Abdulla Alharthi,
Amandeep Kumar, Hisham Cholakkal, and Rao Muhammad
Anwer. AgroGPT: Efficient agricultural vision-language
model with expert tuning. arXiv preprint arXiv:2410.08405,
2025. 2
[3] Shuai Bai, Yuxuan Cai, Ruizhe Chen, Keqin Chen, Xionghui
Chen, Zesen Cheng, Lianghao Deng, Wei Ding, Chang Gao,
Chunjiang Ge, Wenbin Ge, Zhifang Guo, Qidong Huang,
Jie Huang, Fei Huang, Binyuan Hui, Shutong Jiang, Zhao-
hai Li, Mingsheng Li, Mei Li, Kaixin Li, Zicheng Lin, Jun-
yang Lin, Xuejing Liu, Jiawei Liu, Chenglong Liu, Yang Liu,
Dayiheng Liu, Shixuan Liu, Dunjie Lu, Ruilin Luo, Chenxu
Lv, Rui Men, Lingchen Meng, Xuancheng Ren, Xingzhang
Ren, Sibo Song, Yuchong Sun, Jun Tang, Jianhong Tu, Jian-
qiang Wan, Peng Wang, Pengfei Wang, Qiuyue Wang, Yux-
uan Wang, Tianbao Xie, Yiheng Xu, Haiyang Xu, Jin Xu,
Zhibo Yang, Mingkun Yang, Jianxin Yang, An Yang, Bowen
Yu, Fei Zhang, Hang Zhang, Xi Zhang, Bo Zheng, Humen
Zhong, Jingren Zhou, Fan Zhou, Jing Zhou, Yuanzhi Zhu,
and Ke Zhu. Qwen3-VL technical report. arXiv preprint
arXiv:2511.21631, 2025. 1, 3, 7, 13
[4] Shuai Bai, Keqin Chen, Xuejing Liu, Jialin Wang, Wenbin
Ge, Sibo Song, Kai Dang, Peng Wang, Shijie Wang, Jun
Tang, Humen Zhong, Yuanzhi Zhu, Mingkun Yang, Zhao-
hai Li, Jianqiang Wan, Pengfei Wang, Wei Ding, Zheren
Fu, Yiheng Xu, Jiabo Ye, Xi Zhang, Tianbao Xie, Zesen
Cheng, Hang Zhang, Zhibo Yang, Haiyang Xu, and Jun-
yang Lin. Qwen2.5-VL technical report. arXiv preprint
arXiv:2502.13923, 2025. 1, 3
[5] Suchet Bargoti and James Underwood. Deep fruit detection
in orchards. InIEEE International Conference on Robotics
and Automation, pages 3626–3633, 2017. 15
[6] Keqin Chen, Zhao Zhang, Weili Zeng, Richong Zhang,
Feng Zhu, and Rui Zhao. Shikra: Unleashing multi-
modal LLM’s referential dialogue magic. arXiv preprint
arXiv:2306.15195, 2023. 2, 3, 7
[7] Ting Chen, Saurabh Saxena, Lala Li, David J. Fleet, and Ge-
offrey Hinton. Pix2Seq: A language modeling framework
for object detection. InInternational Conference on Learn-
ing Representations (ICLR), 2022. 2
[8] Bowen Cheng, Ishan Misra, Alexander G. Schwing, Alexan-
der Kirillov, and Rohit Girdhar. Masked-attention mask
transformer for universal image segmentation. InProceed-
ings of the IEEE/CVF Conference on Computer Vision and
Pattern Recognition (CVPR), pages 1280–1289, 2022. 2
[9] Mang Tik Chiu, Xingqian Xu, Yunchao Wei, Zilong Huang,
Alexander G. Schwing, Robert Brunner, Hrant Khachatrian,
Hovnatan Karapetyan, Ivan Dozier, Greg Rose, David Wil-
son, Adrian Tudor, Naira Hovakimyan, Thomas S. Huang,
and Honghui Shi. Agriculture-Vision: A large aerial image
database for agricultural pattern analysis. InProceedings of
the IEEE/CVF Conference on Computer Vision and Pattern
Recognition (CVPR), pages 2825–2835, 2020. 2
[10] Ming Dai, Lingfeng Yang, Yihao Xu, Zhenhua Feng, and
Wankou Yang. SimVG: A simple framework for visual
grounding with decoupled multi-modal fusion. InAdvances
in Neural Information Processing Systems, pages 121670–
121698, 2024. 2
[11] Ming Dai, Wenxuan Cheng, Jiedong Zhuang, Jiang-jiang
Liu, Hongshen Zhao, Zhenhua Feng, and Wankou Yang.
PropVG: End-to-end proposal-driven visual grounding with
multi-granularity discrimination. InProceedings of the
IEEE/CVF International Conference on Computer Vision
(ICCV), pages 7058–7068, 2025. 3
[12] Ming Dai, Wenxuan Cheng, Jiang-Jiang Liu, Lingfeng Yang,
Zhenhua Feng, Wankou Yang, and Jingdong Wang. Improv-
ing generalized visual grounding with instance-aware joint
learning.IEEE Transactions on Pattern Analysis and Ma-
chine Intelligence, 48(1):448–465, 2026. 3
[13] Wenliang Dai, Junnan Li, Dongxu Li, Anthony Meng Huat
Tiong, Junqi Zhao, Weisheng Wang, Boyang Li, Pascale
Fung, and Steven Hoi. InstructBLIP: Towards general-
purpose vision-language models with instruction tuning. In
Advances in Neural Information Processing Systems, pages
49250–49267, 2023. 1
[14] Etienne David. Global wheat head dataset 2021. Zenodo,
version 1.0, 2021. DOI10.5281/zenodo.5092309. 15
[15] Etienne David, Simon Madec, Pouria Sadeghi-Tehran, Helge
Aasen, Bangyou Zheng, Shouyang Liu, Norbert Kirchgess-
ner, Goro Ishikawa, Koichi Nagasawa, Minhajul A. Badhon,
Curtis Pozniak, Benoit de Solan, Andreas Hund, Scott C.
Chapman, Fr ´ed´eric Baret, Ian Stavness, and Wei Guo.
Global wheat head detection (GWHD) dataset: A large
and diverse dataset of high-resolution RGB-labelled images
to develop and benchmark wheat head detection methods.
Plant Phenomics, 2020:3521852, 2020.
[16] Etienne David, Mario Serouart, Daniel Smith, Simon Madec,
Kaaviya Velumani, Shouyang Liu, Xu Wang, Francisco
Pinto, Shahameh Shafiee, Izzat S. A. Tahir, Hisashi Tsuji-
9
moto, Shuhei Nasuda, Bangyou Zheng, Norbert Kirchgess-
ner, Helge Aasen, Andreas Hund, Pouria Sadhegi-Tehran,
Koichi Nagasawa, Goro Ishikawa, S ´ebastien Dandrifosse,
Alexis Carlier, Benjamin Dumont, Benoit Mercatoris, Byron
Evers, Ken Kuroki, Haozhou Wang, Masanori Ishii, Min-
hajul A. Badhon, Curtis Pozniak, David Shaner LeBauer,
Morten Lillemo, Jesse Poland, Scott Chapman, Benoit de
Solan, Fr ´ed´eric Baret, Ian Stavness, and Wei Guo. Global
wheat head detection 2021: An improved dataset for bench-
marking wheat head detection methods.Plant Phenomics,
2021:9846158, 2021. 15
[17] Jiajun Deng, Zhengyuan Yang, Tianlang Chen, Wen-
gang Zhou, and Houqiang Li. TransVG: End-to-end vi-
sual grounding with transformers. InProceedings of the
IEEE/CVF International Conference on Computer Vision
(ICCV), pages 1749–1759, 2021. 2
[18] Henghui Ding, Chang Liu, Shuting He, Xudong Jiang, and
Yu-Gang Jiang. GREx: Generalized referring expression
segmentation, comprehension, and generation.International
Journal of Computer Vision, 134(2):79, 2026. 1, 2
[19] Jelle Dumortier. Annotated tree crown bounding boxes
in urban/rural environment. Zenodo, version 1, 2025.
DOI10.5281/zenodo.15155081. 15
[20] Jonatan Fragoso, Cl ´ecio Silva, Thuanne Paix ˜ao, Ana Beat-
riz Alvarez, Olacir Castro J ´unior, Ruben Florez, Facundo
Palomino-Quispe, Lucas Graciolli Savian, and Paulo Andr ´e
Trazzi. Coffee-leaf diseases and pests detection based on
YOLO models.Applied Sciences, 15(9):5040, 2025. De-
tection labels from BRACOL-V ALIDADO v3, Roboflow, 22
November 2024. 15
[21] Qiushan Guo, Shalini De Mello, Hongxu Yin, Wonmin
Byeon, Ka Chun Cheung, Yizhou Yu, Ping Luo, and Sifei
Liu. RegionGPT: Towards region understanding vision lan-
guage model. InProceedings of the IEEE/CVF Conference
on Computer Vision and Pattern Recognition (CVPR), pages
13796–13806, 2024. 3
[22] Mohammadreza Haghighat, Alzayat Saleh, and
Mostafa Rahimi Azghadi. Multi-label instance-level
generalised visual grounding in agriculture. InProceedings
of the European Conference on Computer Vision (ECCV),
pages 448–467, 2026. 1, 2
[23] Nicolai Hani, Pravakar Roy, and V olkan Isler. MinneApple:
A benchmark dataset for apple detection and segmentation.
IEEE Robotics and Automation Letters, 5(2):852–858, 2020.
2
[24] Kaiming He, Georgia Gkioxari, Piotr Doll ´ar, and Ross Gir-
shick. Mask R-CNN. InProceedings of the IEEE Interna-
tional Conference on Computer Vision (ICCV), pages 2961–
2969, 2017. 2
[25] Shuting He, Henghui Ding, Chang Liu, and Xudong Jiang.
GREC: Generalized referring expression comprehension.
arXiv preprint arXiv:2308.16182, 2023. 1, 2, 7
[26] Edward Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-
Zhu, Yuanzhi Li, Shean Wang, Lu Wang, and Weizhu Chen.
LoRA: Low-rank adaptation of large language models. InIn-
ternational Conference on Learning Representations (ICLR),
2022. 6, 13
[27] Xijun Jin. AppleLesion-9: A lesion-level apple leaf dis-
ease detection dataset. Mendeley Data, version 1, 2026.
DOI10.17632/htbd8s567w.1. Version 1 was with-
drawn. AgroVG+ uses a retained copy. 15
[28] Aishwarya Kamath, Mannat Singh, Yann LeCun, Gabriel
Synnaeve, Ishan Misra, and Nicolas Carion. MDETR - mod-
ulated detection for end-to-end multi-modal understanding.
InProceedings of the IEEE/CVF International Conference
on Computer Vision (ICCV), pages 1760–1770, 2021. 7
[29] Sahar Kazemzadeh, Vicente Ordonez, Mark Matten, and
Tamara Berg. ReferItGame: Referring to objects in pho-
tographs of natural scenes. InProceedings of the 2014 Con-
ference on Empirical Methods in Natural Language Pro-
cessing (EMNLP), pages 787–798. Association for Compu-
tational Linguistics, 2014. 2
[30] Renato A. Krohling, Guilherme J. M. Esgario, and Jos ´e A.
Ventura. BRACOL: A brazilian arabica coffee leaf im-
ages dataset to identification and quantification of coffee
diseases and pests. Mendeley Data, version 1, 2019.
DOI10.17632/yy2k5y8mxg.1. 15
[31] Laboro.AI Inc. LaboroTomato: Instance segmentation
dataset. Laboro.AI, 2020. AgroVG+ uses the training split of
the Dataset Ninja export in Supervisely format (unnumbered
release). 15
[32] Xin Lai, Zhuotao Tian, Yukang Chen, Yanwei Li, Yuhui
Yuan, Shu Liu, and Jiaya Jia. LISA: Reasoning segmentation
via large language model. InProceedings of the IEEE/CVF
Conference on Computer Vision and Pattern Recognition
(CVPR), pages 9579–9589, 2024. 3
[33] Haocheng Li, Juepeng Zheng, Zenghao Yang, Kaiqi Du,
Guilong Xiao, Gengmeng Pu, Haohuan Fu, and Jianxi
Huang. AgroVG: A large-scale multi-source bench-
mark for agricultural visual grounding. arXiv preprint
arXiv:2605.22034, 2026. 1, 2, 3, 13
[34] Junnan Li, Dongxu Li, Silvio Savarese, and Steven Hoi.
BLIP-2: Bootstrapping language-image pre-training with
frozen image encoders and large language models. InPro-
ceedings of the 40th International Conference on Machine
Learning (ICML), pages 19730–19742. PMLR, 2023. 1
[35] Qingmei Li, Yang Zhang, Zurong Mai, Yuhang Chen, Shuo-
hong Lou, Henglian Huang, Jiarui Zhang, Zhiwei Zhang,
Yibin Wen, Weijia Li, Haohuan Fu, Jianxi Huang, and
Juepeng Zheng. Can large multimodal models understand
agricultural scenes? benchmarking with AgroMind. InAd-
vances in Neural Information Processing Systems, 2025. 2
[36] Chang Liu, Henghui Ding, and Xudong Jiang. GRES: Gen-
eralized referring expression segmentation. InProceedings
of the IEEE/CVF Conference on Computer Vision and Pat-
tern Recognition (CVPR), pages 23592–23601, 2023. 1, 2
[37] Haotian Liu, Chunyuan Li, Qingyang Wu, and Yong Jae Lee.
Visual instruction tuning. InAdvances in Neural Information
Processing Systems, pages 34892–34916, 2023. 1
[38] Shilong Liu, Zhaoyang Zeng, Tianhe Ren, Feng Li, Hao
Zhang, Jie Yang, Qing Jiang, Chunyuan Li, Jianwei Yang,
Hang Su, Jun Zhu, and Lei Zhang. Grounding DINO: Mar-
rying DINO with grounded pre-training for open-set object
detection. InProceedings of the European Conference on
Computer Vision (ECCV), pages 38–55, 2025. 7
10
[39] Yuqi Liu, Tianyuan Qu, Zhisheng Zhong, Bohao Peng,
Shu Liu, Bei Yu, and Jiaya Jia. VisionReasoner: Uni-
fied reasoning-integrated visual perception via reinforcement
learning. InInternational Conference on Learning Represen-
tations (ICLR), 2026. 1
[40] Zhuoyan Luo, Yinghao Wu, Tianheng Cheng, Yong Liu,
Yicheng Xiao, Hongfa Wang, Xiao-Ping Zhang, and Yu-
jiu Yang. CoHD: A counting-aware hierarchical decoding
framework for generalized referring expression segmenta-
tion. InProceedings of the IEEE/CVF International Confer-
ence on Computer Vision (ICCV), pages 22685–22694, 2025.
3
[41] Junhua Mao, Jonathan Huang, Alexander Toshev, Oana
Camburu, Alan Yuille, and Kevin Murphy. Generation and
comprehension of unambiguous object descriptions. InPro-
ceedings of the IEEE Conference on Computer Vision and
Pattern Recognition (CVPR), pages 11–20, 2016. 2
[42] Alex Olsen, Dmitry A. Konovalov, Bronson Philippa, Peter
Ridd, Jake C. Wood, Jamie Johns, Wesley Banks, Benjamin
Girgenti, Owen Kenny, James Whinney, Brendan Calvert,
Mostafa Rahimi Azghadi, and Ronald D. White. Deep-
Weeds: A multiclass weed species image dataset for deep
learning.Scientific Reports, 9(1):2058, 2019. 2
[43] Zhiliang Peng, Wenhui Wang, Li Dong, Yaru Hao, Shaohan
Huang, Shuming Ma, Qixiang Ye, and Furu Wei. Ground-
ing multimodal large language models to the world. InIn-
ternational Conference on Learning Representations (ICLR),
2024. 2, 3
[44] Isaac P ´erez-Borrero, Diego Mar ´ın-Santos, Manuel E.
Geg´undez-Arias, and Estefan ´ıa Cort ´es-Ancos. A fast and
accurate deep learning method for strawberry instance seg-
mentation.Computers and Electronics in Agriculture, 178:
105736, 2020. 15
[45] Xiangxuan Ren, Zhongdao Wang, Liping Hou, Pin Tang,
Guoqing Wang, and Chao Ma. Grounding everything in to-
kens for multimodal large language models. InProceedings
of the IEEE/CVF Conference on Computer Vision and Pat-
tern Recognition (CVPR), pages 41171–41181, 2026. 3
[46] Aditya Sengupta, Ana Lucic, Rob Kooper, and Vikram Adve.
LeAF pest detection dataset. AIFARMS Data Portal, 2025.
10 March release with YOLO annotations. 15
[47] Risa Shinoda, Nakamasa Inoue, Hirokatsu Kataoka, Masaki
Onishi, and Yoshitaka Ushiku. AgroBench: Vision-
language model benchmark in agriculture. arXiv preprint
arXiv:2507.20519, 2025. 2
[48] Davinder Singh, Naman Jain, Pranjali Jain, Pratik Kayal,
Sudhakar Kumawat, and Nipun Batra. PlantDoc: A dataset
for visual plant disease detection. InProceedings of the 7th
ACM IKDD CoDS and 25th COMAD, pages 249–253. ACM,
2020. 2
[49] Daniel Steininger, Andreas Trondl, Gerardus Croonen, Julia
Simon, and Verena Widhalm. The CropAndWeed dataset: A
multi-modal learning approach for efficient crop and weed
manipulation. InProceedings of the IEEE/CVF Winter Con-
ference on Applications of Computer Vision, pages 3729–
3738, 2023. 15
[50] Josh Veitch-Michaelis, Andrew Cottam, Daniella
Schweizer, Eben Broadbent, David Dao, Ce Zhang,
Angelica Almeyda Zambrano, and Simeon Max. OAM-
TCD: A globally diverse dataset of high-resolution
tree cover maps. Zenodo, version 1.0.0, 2024.
DOI10.5281/zenodo.11617167. 15
[51] Josh Veitch-Michaelis, Andrew Cottam, Daniella Schweizer,
Eben N. Broadbent, David Dao, Ce Zhang, Angel-
ica Almeyda Zambrano, and Simeon Max. OAM-TCD: A
globally diverse dataset of high-resolution tree cover maps.
InAdvances in Neural Information Processing Systems,
pages 49749–49767, 2024. 15
[52] Liqiong Wang, Jinyu Yang, Yanfu Zhang, Fangyi Wang, and
Feng Zheng. Depth-aware concealed crop detection in dense
agricultural scenes. InProceedings of the IEEE/CVF Confer-
ence on Computer Vision and Pattern Recognition (CVPR),
pages 17201–17211, 2024. 1
[53] Weiyun Wang, Zhangwei Gao, Lixin Gu, Hengjun Pu, Long
Cui, Xingguang Wei, Zhaoyang Liu, Linglin Jing, Sheng-
long Ye, Jie Shao, Zhaokai Wang, Zhe Chen, Hongjie Zhang,
Ganlin Yang, Haomin Wang, Qi Wei, Jinhui Yin, Wenhao Li,
Erfei Cui, Guanzhou Chen, Zichen Ding, Changyao Tian,
Zhenyu Wu, Jingjing Xie, Zehao Li, Bowen Yang, Yuchen
Duan, Xuehui Wang, Zhi Hou, Haoran Hao, Tianyi Zhang,
Songze Li, Xiangyu Zhao, Haodong Duan, Nianchen Deng,
Bin Fu, Yinan He, Yi Wang, Conghui He, Botian Shi, Jun-
jun He, Yingtong Xiong, Han Lv, Lijun Wu, Wenqi Shao,
Kaipeng Zhang, Huipeng Deng, Biqing Qi, Jiaye Ge, Qipeng
Guo, Wenwei Zhang, Songyang Zhang, Maosong Cao, Jun-
yao Lin, Kexian Tang, Jianfei Gao, Haian Huang, Yuzhe Gu,
Chengqi Lyu, Huanze Tang, Rui Wang, Haijun Lv, Wanli
Ouyang, Limin Wang, Min Dou, Xizhou Zhu, Tong Lu,
Dahua Lin, Jifeng Dai, Weijie Su, Bowen Zhou, Kai Chen,
Yu Qiao, Wenhai Wang, and Gen Luo. InternVL3.5: Ad-
vancing open-source multimodal models in versatility, rea-
soning, and efficiency. arXiv preprint arXiv:2508.18265,
2025. 7
[54] Yanan Wang. MegaFruits. Kaggle, version 2, 2024. 8 De-
cember release. AgroVG+ uses the blueberry and peach sub-
sets. 15
[55] Yaxian Wang, Henghui Ding, Shuting He, Xudong Jiang,
Bifan Wei, and Jun Liu. Hierarchical alignment-enhanced
adaptive grounding network for generalized referring expres-
sion comprehension. InProceedings of the AAAI Conference
on Artificial Intelligence, pages 8042–8050, 2025. 3
[56] Yanan Wang, Zhenghao Fei, Ruichen Li, and Yibin Ying.
Learn from foundation model: Fruit detection model without
manual annotation.Pattern Recognition, 174:112799, 2026.
15
[57] Tianqi Wei, Zhi Chen, Xin Yu, Scott Chapman, Paul Mel-
loy, and Zi Huang. A large-scale in-the-wild dataset for
plant disease segmentation. Zenodo, version 7, 2025.
DOI10.5281/zenodo.17719108. The COCO splits
match all 729 retained image IDs and the import directory
layout. Versions 5 and 6 also contain these IDs. 15
[58] Tianqi Wei, Zhi Chen, Xin Yu, Scott Chapman, Paul Melloy,
and Zi Huang. A large-scale in-the-wild dataset for plant
disease segmentation.Scientific Data, 13:205, 2026. 15
[59] Jan Weyler, Federico Magistri, Elias Marks, Yue Linn
Chong, Matteo Sodano, Gianmarco Roggiolani, Nived Che-
11
brolu, Cyrill Stachniss, and Jens Behley. PhenoBench – a
large dataset and benchmarks for semantic image interpreta-
tion in the agricultural domain.IEEE Transactions on Pat-
tern Analysis and Machine Intelligence, 46(12):9583–9594,
2024. 2, 15
[60] Pingyu Wu, Wei Zhai, Yang Cao, Jiebo Luo, and Zheng-
Jun Zha. Spatial-aware token for weakly supervised object
localization. InProceedings of the IEEE/CVF International
Conference on Computer Vision (ICCV), pages 1844–1854,
2023. 3
[61] Size Wu, Sheng Jin, Wenwei Zhang, Lumin Xu, Wentao Liu,
Wei Li, and Chen Change Loy. F-LMM: Grounding frozen
large multimodal models. InProceedings of the IEEE/CVF
Conference on Computer Vision and Pattern Recognition
(CVPR), pages 24710–24721, 2025. 3
[62] Xiaoping Wu, Chi Zhan, Yu-Kun Lai, Ming-Ming Cheng,
and Jufeng Yang. IP102: A large-scale benchmark dataset
for insect pest recognition. InProceedings of the IEEE/CVF
Conference on Computer Vision and Pattern Recognition
(CVPR), pages 8779–8788, 2019. 2, 15
[63] Zhuofan Xia, Dongchen Han, Yizeng Han, Xuran Pan, Shiji
Song, and Gao Huang. GSV A: Generalized segmentation
via multimodal large language models. InProceedings of
the IEEE/CVF Conference on Computer Vision and Pattern
Recognition (CVPR), pages 3858–3869, 2024. 3
[64] Bin Xiao, Haiping Wu, Weijian Xu, Xiyang Dai, Houdong
Hu, Yumao Lu, Michael Zeng, Ce Liu, and Lu Yuan.
Florence-2: Advancing a unified representation for a variety
of vision tasks. InProceedings of the IEEE/CVF Conference
on Computer Vision and Pattern Recognition (CVPR), pages
4818–4829, 2024. 7
[65] Qing Yang, Shukai Duan, and Lidan Wang. Efficient identi-
fication of apple leaf diseases in the wild using convolutional
neural networks.Agronomy, 12(11):2784, 2022. 15
[66] Ziyan Yang, Kushal Kafle, Franck Dernoncourt, and Vi-
cente Ordonez. Improving visual grounding by encouraging
consistent gradient-based explanations. InProceedings of
the IEEE/CVF Conference on Computer Vision and Pattern
Recognition (CVPR), pages 19165–19174, 2023. 3
[67] Haoxuan You, Haotian Zhang, Zhe Gan, Xianzhi Du, Bowen
Zhang, Zirui Wang, Liangliang Cao, Shih-Fu Chang, and
Yinfei Yang. Ferret: Refer and ground anything anywhere
at any granularity. InInternational Conference on Learning
Representations (ICLR), 2024. 3, 7
[68] Licheng Yu, Zhe Lin, Xiaohui Shen, Jimei Yang, Xin Lu,
Mohit Bansal, and Tamara L. Berg. MAttNet: Modular
attention network for referring expression comprehension.
InProceedings of the IEEE/CVF Conference on Computer
Vision and Pattern Recognition (CVPR), pages 1307–1315,
2018. 2
[69] Yuqian Yuan, Wentong Li, Jian Liu, Dongqi Tang, Xinjie
Luo, Chi Qin, Lei Zhang, and Jianke Zhu. Osprey: Pixel un-
derstanding with visual instruction tuning. InProceedings of
the IEEE/CVF Conference on Computer Vision and Pattern
Recognition (CVPR), pages 28202–28211, 2024. 3
[70] Pedro Zamboni, Jos ´e Marcato Junior, Jonathan de An-
drade Silva, Gabriela Takahashi Miyoshi, Edson Takashi
Matsubara, Keiller Nogueira, and Wesley Nunes Gonc ¸alves.
Benchmarking anchor-based and anchor-free state-of-the-art
deep learning methods for individual tree detection in RGB
high-resolution images.Remote Sensing, 13(13):2482, 2021.
15
[71] Guanqi Zhan, Changye Li, Zhijian Liu, Yao Lu, Yi Wu, Song
Han, and Ligeng Zhu. EGM: Efficient visual grounding lan-
guage models. InProceedings of the European Conference
on Computer Vision (ECCV), pages 300–317, 2026. 3
12
Supplementary Material
This supplement is organized into four sections. Section A
documents AgroVG+ and its annotations. Section B de-
scribes training and decoding, and Sec. C specifies the eval-
uation protocol. Section D outlines additional analyses and
visualizations, with the scope of interpretation discussed at
the end of the failure-case analysis in Sec. D.3.
A. Additional Dataset Documentation
A.1. Sources and annotation units
We constructed AgroVG+ by rescreening images from
AgroVG [33] for quality and sampling additional images
from the original datasets. AgroVG+ contains 7,404 images
and 10,081 bilingual query records from 16 source subsets
across six scene families. Figure S1 shows one training im-
age from each subset. Table S1 reports image and query
counts by subset, with separate counts for the blueberry and
peach subsets of MegaFruits. For each source dataset, Ta-
ble S2 cites the relevant papers and data releases and de-
scribes how the image-level boxes were obtained.
We count an English referring expressionqand its Chi-
nese counterpart as one bilingual query record for an image
I. Their shared target setBconsists of the boxes of all anno-
tated instances inIthat satisfy the full expression. Different
expressions for the same image can therefore yield a single
box, multiple boxes, or an empty set. Only the English ex-
pressions are used for training, validation, and testing.
A.2. Expert annotation and review
Eight experts with interdisciplinary backgrounds in agri-
culture and computer science annotated the data by scene
family. All had prior experience in image annotation and
dataset development and received the same training on the
annotation workflow and platform. They wrote each expres-
sion directly from the image without a template and identi-
fied its target boxes from cues such as appearance, relative
position, and relationships among objects. The authors re-
viewed each expression and its boxes against the original
image. When the wording or box selection was disputed,
the authors decided whether to retain, revise, or remove the
record.
For queries with targets, the image had to support each
referring cue, and the target set had to contain exactly the
instances that satisfied the full description. For target-absent
queries, the authors inspected the entire image to confirm
that no instance met all the stated conditions, even when the
source annotations contained no matching box.
A.3. Partitioning and record consistency
We assigned images to splits in groups, keeping each image
and all its referring expressions together. We held out com-
plete groups from the training pool for validation. Our Phe-
noBench test subset came from the native validation split,
and our Brazil Urban Tree test subset came from the pub-
lished fold-0 test split. The training split contains 6,353
query records over 4,724 images (3,023 groups), the val-
idation split contains 721 over 459 images (110 groups),
and the test split contains 3,007 over 2,221 images (1,192
groups).
Group membership followed source metadata and links
identified during visual review. We kept images from the
same CropAndWeed recording session together, as well as
crops from the same original frame in PhenoBench and
ACFR. For GWHD 2021, we grouped images by acqui-
sition domain and linked domains from the same site and
season. For OAM-TCD, we kept tiles from the same or-
thomosaic together. For Dumortier, we grouped tiles with
overlapping geographic footprints. LaboroTomato groups
also included frames captured by the same camera within
five seconds of one another. Images with no recorded link
to another image formed single-image groups.
We verified split consistency at both the record and im-
age levels. Specifically, no query ID, image ID, or group ID
was shared across splits, and both images in each recorded
association were assigned to the same split. We further
checked for duplicate image files by comparing SHA-256
hashes across splits and found no matches.
A.4. Distribution of target cardinality
Table S3 shows the distribution of ground-truth target
counts across all 10,081 queries in AgroVG+. We count an
instance once for each query that refers to it. This yields
12,261 target occurrences, with 7,318 from single-target
queries and 4,943 from multi-target queries.
Of the 1,870 multi-target queries, 1,567 (83.8%) refer
to exactly two instances. The 40 queries with ten or more
targets account for 18.3% of all target occurrences in multi-
target queries.
B. Training and Decoding Details
B.1. Optimization and trainable parameters
We initialized ReSAG from Qwen3-VL-8B-Instruct [3] and
applied LoRA [26] to the attention and feed-forward pro-
jections of the language decoder. The vision encoder, visual
mergers, and pretrained language-model weights, including
the original input embeddings and output head, remained
frozen. We optimized the language LoRA adapters, the re-
gional projectionsW q andW v, and the input embedding
and output vector of each of the two added action tokens.
For<BOX>, we initialized these vectors from the corre-
sponding pretrained rows for[. For<END>, we used the
13
Crops and weeds
CropAndWeed
PhenoBench
Fruits
ACFR
StrawDI
MegaFruits
MegaFruits
LaboroTomato
Wheat heads
GWHD 2021
Pests
IP102
LeAF pest detection
Plant diseases
PlantSeg
BRACOL
AppleLesion9
Tree canopies
Dumortier
OAMTCD
Brazil Urban Tree
Figure S1.Visual diversity across AgroVG+ sources.We group the 16 subsets by scene family, showing one training image from each.
Table S1.Source composition of AgroVG+.
Scene family Source subset Images Single Multi Absent Queries
Crops and weeds CropAndWeed 507 445 109 54 608
PhenoBench 886 749 280 86 1,115
Fruits ACFR 587 506 92 24 622
StrawDI 320 232 137 52 421
MegaFruits (blueberry) 138 131 55 25 211
MegaFruits (peach) 137 123 45 20 188
LaboroTomato 290 253 118 49 420
Wheat heads GWHD 2021 1,049 1,043 147 119 1,309
Pests IP102 766 582 245 101 928
LeAF pest detection 262 253 34 49 336
Plant diseases PlantSeg 729 726 152 55 933
BRACOL 252 193 96 60 349
AppleLesion 184 123 122 34 279
Tree canopies Dumortier 460 424 83 60 567
OAM-TCD 629 1,296 113 37 1,446
Brazil Urban Tree 208 239 42 68 349
Total 16 source subsets 7,404 7,318 1,870 893 10,081
rows for the end-of-response token. Each action is repre-
sented by a single token. Coordinate strings use the original
vocabulary and may span multiple tokens.
During teacher-forced training, the decoder predicted
each answer token from the image–expression prefix and
the preceding ground-truth answer tokens. For each query,
we computedL seq as the mean loss over answer tokens,
including actions, coordinates, and punctuation. We then
combined the two objectives asL seq +λ regLreg for each
query and averaged over the queries in each optimizer up-
date. Table S4 summarizes the configuration.
Checkpoint selection.We evaluated the checkpoint from
each of the six epochs on all 721 validation queries. We
compared the results in epoch order, starting with epoch 1.
A later checkpoint was eligible to replace the current choice
only if it matched or exceeded that checkpoint on each of
the four ESA scores for single- and multi-target queries at
IoU 0.50 and 0.75. For an eligible checkpoint, we preferred
the higher unweighted mean of the four scores. Ties were
resolved by higher target-absence accuracy (N-acc), then by
earlier epoch.
14
Table S2.Source annotations and access for AgroVG+.Year refers to the dataset paper or primary data record. Det., seg., and cls.
denote detection, segmentation, and classification. For masks, polygons, and circles,→denotes conversion to an enclosing box.
Source dataset Year Family Original task and labels Box provenance Source URL
CropAndWeed [49] 2023 Crops and weeds Det./seg./localization (boxes, semantic masks, stem points) Native plant boxes GitHub
PhenoBench [59] 2024 Crops and weeds Seg. (semantic and plant/leaf instance masks) Plant instance masks→boxes PhenoBench
ACFR [5] 2017 Fruits Det. (apple circles, almond/mango boxes) Apple circles→boxes Almondxywh→xyxy ACFR
StrawDI [44] 2020 Fruits Instance seg. (fruit masks) Strawberry instance masks→boxes StrawDI
MegaFruits [54, 56] 2026 Fruits Det./seg. (visible-fruit polygons) Blueberry and peach polygons→boxes Kaggle
LaboroTomato [31] 2020 Fruits Det./seg. (instance masks, ripeness labels) Orientation-corrected polygons→boxes GitHub
GWHD 2021 [14–16] 2021 Wheat heads Det. (head boxes) Native wheat-head boxes Zenodo
IP102 [62] 2019 Pests Cls./det. (class labels, boxes) Detection-subset boxes GitHub
LeAF pest detection [46] 2025 Pests Cls./det. (class IDs, YOLO boxes) Pest boxes from annotation export AIFARMS
PlantSeg [57, 58] 2025 Plant diseases Seg. (lesion masks, COCO boxes) COCO lesion boxes Zenodo
BRACOL [20, 30] 2019 Plant diseases Symptom cls./seg. (lesion boxes in det. variant) BRACOL-V ALIDADO v3 boxes Mendeley
AppleLesion-9 [27, 65] 2026 Plant diseases Det. (YOLO lesion boxes) Boxes from the v1 snapshot Mendeley
Dumortier [19] 2025 Tree canopies Det. (urban/rural crown boxes) Native and added crown boxes Zenodo
OAM-TCD [50, 51] 2024 Tree canopies Canopy seg. (instance polygons, semantic masks) Per-tree COCO boxes Zenodo
Brazil Urban Tree [70] 2021 Tree canopies Det. (crown boxes in aerial tiles) Campo Grande crown boxes GitHub
Table S3.Target cardinality in AgroVG+.Kdenotes the num-
ber of ground-truth boxes for a query. Counts cover all three splits.
Target countKQuery records Target occurrences
0 893 0
1 7,318 7,318
2 1,567 3,134
3 192 576
4 47 188
5–9 24 142
≥1040 903
Total 10,081 12,261
Table S4.ReSAG training and inference configuration.
Setting Value
LoRA rankr/α32 / 64
LoRA dropout 0.05
Regional projection sizep= 128
Temperatureτ= 0.1
Regional loss weightλ reg = 0.1
Optimizer AdamW
Learning rate5×10 −5
Weight decay 0.01
Schedule / warmup Cosine decay / 144 updates
Training length 6 epochs
Effective batch size 8 queries
Precision / hardware BF16 / two NVIDIA A100 GPUs
Maximum pixel budget 524,288
Decoding Greedy, with key/value cache
Maximum new tokens 4,096
Training coordinate precision Three decimal places
Input prompt.Training and inference used the same user
message, with the image followed by the text below. We
supplied no separate system message. The placeholder
{query}denotes the English referring expression.
Locate every individual target referred
to by the expression in the image. For
each matching target output <BOX>
followed by [x1,y1,x2,y2], using top-left
and bottom-right coordinates normalized
to 0-1000 relative to the full image
width and height. List boxes in
lexicographic coordinate order, one
separate box per target without
duplicates. Finish with <END>. If no
target matches, output only <END>. Do
not include labels, explanations, JSON
wrapper, or Markdown.
Expression:{query}
B.2. Box serialization and constrained decoding
For an image of widthWand heightH, we normalize each
pixel coordinate(x, y)to(1000x/W,1000y/H). To con-
struct the training sequence, we round the normalized co-
ordinates to three decimal places and sort the boxes lexico-
graphically by(x 1, y1, x2, y2), where(x 1, y1)and(x 2, y2)
denote the top-left and bottom-right corners. The inference
prompt requests the same order. Evaluation uses one-to-one
matching, so the order of the predicted boxes does not affect
the score.
Letc(b i)denote the tokenized coordinate string
[x1,y1,x2,y2]for theith box in sorted order. For
K≥1targets, the supervised response is
Y=<BOX>c(b 1)· · ·<BOX>c(bK)<END>.(S1)
15
For an empty target set, the response consists of the single
token<END>.
At inference, we use greedy decoding with a key/value
cache and a limit of 4,096 new tokens per response. Decod-
ing starts at an action boundary. At each step, the decoder
selects the highest-scoring token allowed by its current state
(Table S5). The same vocabulary constraints apply during
teacher-forced training. The preceding ground-truth tokens
determine the state during training, and the generated tokens
determine it at inference.
Table S5.BOX/END decoding states and transitions.
State Allowed output and transition
Action boundary Emit<BOX>to start a coordinate body
or<END>to terminate the response.
Coordinate body Generate from the original vocabulary
V0 with both action tokens masked.
Return to the action boundary when
the decoded body ends with].
After generation, we parse the complete response and
validate every box. If the response fails to parse, contains
an invalid box, or reaches the token limit without emitting
<END>, the entire query is scored as incorrect (Sec. C).
C. Evaluation Protocol
C.1. One-to-one matching and exact-set accuracy
Let bBdenote the predicted boxes andBthe ground-truth
boxes associated with a query. At IoU thresholdη, we form
a bipartite graph with an edge between ˆb∈ bBandb∈ B
wheneverIoU( ˆb, b)≥η. LetM η be the cardinality of a
maximum matching in this graph. The exact-set indicator is
Cη =1[valid output]1
h
Mη =| bB|=|B|
i
.(S2)
An exact match covers every predicted and ground-truth
box, regardless of their order. Duplicate predictions enter
the graph as separate entries, so each ground-truth box can
match at most one of them. For a target-absent query, a
valid empty prediction givesC η = 1.
We report ESA@0.50 and ESA@0.75 by averagingC η
separately over single-target and multi-target queries. N-
acc is the percentage of target-absent queries with a valid
empty prediction.
Overall, denotedPr@(F 1 = 1), gives every test query
equal weight at IoU 0.50. For the AgroVG+ test split,
Overall = 2166As + 591Am + 250An
3007 ,(S3)
whereA s andA m are the single-target and multi-target
ESA@0.50 scores, respectively, andAn is N-acc. All scores
are expressed as percentages. Percentage-point differences
are computed before rounding.
C.2. Output parsing and validation
For each model, we parse its output and convert the pre-
dicted boxes to corner coordinates in the original image
before computing IoU. The matching evaluator uses these
boxes as supplied, including duplicates, and applies no fur-
ther clipping or coordinate repair. A missing prediction,
a truncated generation, or a parsing failure receives zero
credit for the entire query. Such queries remain in the de-
nominator, including when the ground-truth set is empty.
For ReSAG, a valid response ends with<END>within
the token budget. Each<BOX>must be followed by exactly
four finite coordinates satisfying0≤x 1 < x2 ≤1000and
0≤y 1 < y2 ≤1000. For an image of widthWand
heightH, we scale horizontal coordinates byW/1000and
vertical coordinates byH/1000. An initial<END>gives a
valid empty prediction. A malformed coordinate tuple or a
missing terminator invalidates the entire response.
Table S6 gives the output format and empty-prediction
rule used for each baseline. The two detectors’ score thresh-
olds were selected on the validation split and applied before
IoU matching. For zero-shot Ferret, we rescored the saved
responses with its native coordinate parser after observing
that the JSON parser failed on its free-form outputs.
D. Additional Analyses and Visualizations
D.1. Accuracy by scene family and target count
Scene family.At IoU 0.50, ReSAG achieves higher exact-
set accuracy than the Qwen3-VL-8B LoRA baseline in five
of the six scene families (Table S7). The largest gain is
4.62 percentage points on wheat heads. ReSAG answers
337 of 379 pest queries correctly, three fewer than LoRA.
Tree canopies have the lowest accuracy for both models.
Target count.ReSAG improves on LoRA in every
target-count group (Table S8). For both models, exact-set
accuracy declines as the number of targets increases.
ReSAG recovers the complete set for 76.03% of two-target
queries and 58.90% of three-target queries. Among the
34 queries with four or more targets, ReSAG recovers 11
complete sets and LoRA recovers 10.
16
Table S6.Baseline output parsing on AgroVG+.All boxes are mapped to the original image for scoring. The last column specifies when
a model output counts as a valid empty prediction.
Model Box extraction and coordinate conversion Valid empty prediction
MDETR-GREC Retain detections with1−p(no object)≥0.90. Convert centers and sizes to
corners and clip to the image bounds.
No detection meets the score
threshold.
Grounding DINO-T Retain detections whose maximum sigmoid score over text positions exceeds
0.40. Convert centers and sizes to corners and clip to the image bounds.
No detection exceeds the score
threshold.
Florence-2-large-ft Decode groups of four location tokens with the native phrase-grounding
processor using the original image dimensions.
Generation terminates with an
empty decoded body.
Shikra-7B (LoRA) Read bracketed boxes in[0,1]relative to the square-padded image. Remove the
padding offsets and clip the boxes to the original image bounds.
An explicit[].
Qwen3-VL-8B (zero-shot) Read the JSONboxesfield on the[0,1000]scale. A flat list of four numbers in
this field is also accepted as one box. Scale by the original image dimensions.
An empty list in theboxesfield.
Qwen3-VL-8B, InternVL3.5-8B,
and Ferret-7B (LoRA)
Read the list of boxes from the JSONboxesfield. Scale the[0,1000]corner
coordinates by the original image dimensions.
An empty list in theboxesfield.
Ferret-7B (zero-shot) Extract all bracketed groups of four integer coordinates in[0,1000]. Map them
to integer pixel coordinates with the native decoder.
A complete, nonempty response
containing no square brackets.
Table S7.Exact-set accuracy by scene family.Scores are per-
centages at IoU 0.50 over all test queries in each family, including
target-absent queries. Bold marks the higher score.
Scene family Queries LoRA ReSAG
Crops and weeds 541 81.5284.66
Fruits 553 81.5683.00
Wheat heads 390 79.2383.85
Pests 37989.7188.92
Plant diseases 468 73.9374.79
Tree canopies 676 55.4757.25
All queries 3,007 75.2277.09
Table S8.Exact-set accuracy by ground-truth target count.
Scores are percentages at IoU 0.50. The zero-target row reports
N-acc. Bold marks the higher score.
Targets Queries LoRA ReSAG
0 250 82.8083.60
1 2,166 76.4577.89
2 484 72.3176.03
3 73 53.4258.90
≥434 29.4132.35
D.2. Qualitative grounding examples
Of the two reddish strawberries in Figure S2, ReSAG selects the one to the right of the lower green berry and below and to
the left of the large red berry. For the group requested in Figure S3, ReSAG returns all three apples clustered on the left and
excludes the isolated apple on the right. Both figures show predicted coordinates normalized to[0,1000]along each image
axis and rounded to integers for display.
Answer: <BOX>[317, 226, 612, 915]<END>
Crop and Weeds
Fruits
Wheat Heads
Pest
Plant Diseases
Tree Cover
Where is the fully visible crop with narrower leaves in
the center beside the large crop on the left?
Of the two reddish strawberries on the right, select the one below-left
of the large red berry and right of the lower green berry on the left.
Answer: <BOX>[525, 357, 714, 709]<END>
Where is the large, nearly horizontal wheat head with
especially clear grain outlines in the upper right?
Answer: <BOX>[438, 158, 866, 301]<END>
Locate the striped insect on the yellow petal above the center of
the flower.
Answer: <BOX>[ 338, 353, 543, 547]<END>
Where is the large diseased patch with a dark brown border along
the lower-left edge of the leaf?
Answer: <BOX>[135, 531, 252, 752]<END>
The especially large tree toward the lower-left within the woodland, whose crown
is distinctly brighter yellow-green than the surrounding gray-green trees.
Answer: <BOX>[125, 491, 343, 708]<END>
Figure S2.Single-target grounding across six agricultural scene families.Each orange box marks the instance selected by ReSAG for
the accompanying English test query. The answer below the query gives the predicted corner coordinates between the<BOX>and<END>
actions.
17
Answer:
Crop and Weeds
Fruits
Wheat Heads
Pest
Plant Diseases
Tree Cover
Where are the three fully visible small crops arranged
in a vertical row on the left?
Box the tightly grouped apples on the left, excluding the
apple hanging separately on the right.
Answer:
Where are the two wheat heads separated vertically to the left of
the broad central leaf, with a short horizontal head above a longer
one slanting down to the right?
Where are the two insects touching one above the other on the front
of the dry flower head, with clearly visible red-and-black stripes?
Answer:
Where are the three uncut bananas with black lesions on
their peels on the cutting board?
Answer:
The two broad purplish-black-crowned trees in front of the large
red roof at the top, on opposite sides of the central entrance.
Answer:
<BOX>[107, 438, 298, 615]<BOX>[117, 686, 337, 854]
<BOX>[157, 263, 298, 419]<END>
<BOX>[66, 396, 201, 614]<BOX>[188, 485, 343, 728]
<BOX>[188, 277, 321, 490]<END>
Answer: <BOX>[200, 612, 441, 811]<BOX>[232, 443, 377, 525]<END>
<BOX>[456, 267, 600, 578]
<BOX>[494, 578, 638, 833]<END>
<BOX>[27, 208, 182, 821]<BOX>[327, 217, 473, 777]
<BOX>[650, 163, 810, 796]<END>
<BOX>[334, 168, 508, 317]
<BOX>[713, 330, 831, 428]<END>
Figure S3.Multi-target grounding across the same six scene families.Orange boxes show the predicted set. Each<BOX>action
introduces one box, and<END>terminates the response.
D.3. Failure analysis
In 557 of its 689 errors at IoU 0.50 (80.8%), ReSAG pre-
dicts the correct number of boxes, but the boxes cannot be
matched one-to-one to the full target set. LoRA makes 611
errors of this type. On target-present queries, ReSAG pre-
dicts too few boxes in 77 cases and too many in 14. The
remaining 41 errors are nonempty predictions on target-
absent queries. All 3,007 ReSAG responses pass the output
checks in Sec. C.
Figure S4 shows three of these errors. ReSAG misses
the upper-left blueberry in (a). In (b), it locates the lower
of the two requested wheat heads but places its second box
on a shorter head to their right. In (c), the query specifies
a lesion along the upper-right leaf edge, while the predicted
box encloses a dark patch on the lower edge.
Scope of interpretation.The regional loss pools evidence
within each annotated box, which can include background
or parts of neighboring instances. Our evaluation covers
English queries on the AgroVG+ test split. Grounding in
Chinese and transfer to new farms, sensors, or seasons re-
quire separate evaluation.
Code and Data Availability
The ReSAG code is available on GitHub and Hugging Face.
The accompanying AgroVG+ dataset includes bilingual re-
ferring expressions, query-specific target boxes, and train-
ing, validation, and test splits.
(a) Missed target
Find the blue blueberries around the pink fruit with dried flower
remains in the foreground cluster.
(b) Correct count, wrong instance
Where are the two long wheat heads arranged one above the
other in the center, with the upper one leaning toward the upper
right and the lower one toward the lower right?
(c) False positive on an absent query
Where is the large pale-centered, dark-brown-edged lesion
along the upper-right leaf edge?
Figure S4.Three failures of complete-set grounding.Each pair
shows the ground truth (left, green) and ReSAG predictions (right,
orange) for the query above it. The crop in (a) retains every anno-
tated and predicted box.
18
论文原文与出版信息
arXiv