论文解读
AI 辅助整理- 方法
- 视觉-语言模型空间推理,融合作物、农药与气象数据,MPPI轨迹跟踪控制。
- 发现
- 作物行检测精度至少提升30%,可灵活调节喷洒量与速度并减少农药漂移。
- 机会点
- 预印本未实地验证,可探索真实多变天气地形下的VLM鲁棒性与多模态数据融合优化。
论文摘要
arXiv论文(2610.08807,2026年10月6日提交)提出基于视觉-语言模型(VLM)的上下文自适应喷洒框架,通过空间推理整合作物、农药、气象数据驱动喷洒决策,并结合MPPI轨迹跟踪控制。作物行检测精度至少提升30%,机器人可在两种环境中灵活调节喷洒量与行驶速度并减少农药漂移。[预印本未经同行评议,尚未实地部署验证]。
全文
arXiv 2026-10-06 [预印本]Context-Aware Adaptive Pesticide Spraying for Agricultural Robots
under Changing Weather and Terrain Using Vision–Language Models
Cong-Thanh Vu, Yen-Chen Liu∗
Department of Mechanical Engineering, National Cheng Kung University, Tainan, 70101, Taiwan
ARTICLE INFO
Keywords:
Precision spraying
Vision-language models
Agricultural automation
ABSTRACT
Precision pesticide spraying is essential for optimizing application efficiency and ensuring uniform
chemical distribution. Spraying performance is influenced by multiple factors, including environ-
mental conditions such as temperature and wind speed, pesticide type, and the robot’s capability to
accurately perceive crops and target spray locations. Existing approaches predominantly emphasize
crop detection and rely on predefined spraying parameters, whereas human operators dynamically
adjusttheirsprayingstrategiesbyconsideringenvironmentalconditions,region-specificcropcharac-
teristics, and the type of pesticide being applied. In this study, we propose a context-aware adaptive
spraying framework based on Vision-Language Models (VLMs), which enables robots to leverage
spatialreasoningandintegrateinformationfrommultiplesources,includingcroptype,pesticidetype,
and weather data, to make adaptive and optimized spraying decisions. Subsequently, a trajectory-
tracking controller based on Model Predictive Path Integral (MPPI) control is employed to ensure
precise navigation and accurate spraying at crop locations. The comparative results demonstrate that
the proposed method improves accuracy by at least 30% in detecting crop rows. In addition, the
experimental evaluations conducted in two environments further demonstrate the robot’s ability to
flexibly adjust spraying volume and travel speed, while reducing pesticide drift.
- Introduction
Pesticide application has long been an essential com-
ponent of agricultural production, helping protect crops
frompestsanddiseasesandreducingyieldlosses.However,
current spraying practices, ranging from manual backpack
spraying to autonomous systems, still present several lim-
itations. During manual spraying, human operators can
directly observe crop conditions and adjust spray volume,
modify their movement direction based on wind or weather
conditions, vary walking speed, or alter spraying patterns
whenencounteringdensecanopies,severelyinfectedplants,
or hard-to-reach areas. Although this flexibility is valuable,
it depends heavily on operator experience, is physically
demanding, and often results in inconsistent performance,
which can negatively affect human health (Dasgupta et al.,
2007; Shekhar et al., 2024). In contrast, mechanized and
semi-automatedsprayerslacksuchhuman-likeadaptability;
they typically apply pesticides continuously at fixed rates
without accounting for spatial variability in canopy struc-
ture, leaf density, or disease severity (Gao et al., 2025; Fu
etal.,2026;Zhangetal.,2025;RahimiAzghadietal.,2025;
BerensteinandEdan,2018).Asaresult,excessivepesticide
deposition frequently occurs, increasing production costs,
generating unnecessary chemical waste, and posing risks
to both the environment and human health (Owen-Smith
etal.,2019).Theselimitationsunderscoretheneedformore
intelligent and adaptive spraying solutions that combine
∗Corresponding author
vuthanh.cdt@gmail.com( Cong-Thanh Vu);yliu@mail.ncku.edu.tw
( Yen-Chen Liu)
ORCID(s):
automated operation with decision-making capabilities re-
sembling those of skilled human operators (Liu et al., 2021;
Raja, 2024).
Over the past two decades, numerous studies have fo-
cused on developing automated systems to minimize pesti-
cide waste and improve precision spraying. These systems
aim to detect crops accurately and apply pesticides only
where needed, rather than uniformly across the field. For
example, Nguyen et al. (2023) proposed a camera-based
system that estimates tomato leaf density and selectively
activates nozzles, overcoming the limitations of fixed spray
trajectories, though the number of independently control-
lable spray positions remains limited. To improve coverage,
Fu et al. (2022) introduced adjustable nozzle heights for
consistent deposition across varying plant structures. Fu
etal.(2026)furtherenhanceddetectionbycompensatingfor
cameratiltcausedbyuneventerrain.Despitetheseadvances,
vision-basedsystemsstruggleunderlow-lightconditions;to
address this, Jiang and Ahamed (2025) integrated thermal
imaging with LiDAR for robust crop detection in visually
degraded environments.
Beyondcropdetectionfortargetedspraying,weeddetec-
tion and treatment have also attracted significant attention.
Ahmadi et al. (2024) developed a weeding platform that
identifiesweedsandgeneratessprayplanstoavoiddamaging
nearby crops. Jin et al. (2025) combined ultra-fine needle
injectors with deep learning to treat individual weeds with
high precision. Instead of detecting weeds directly, Hu et al.
(2022)representedweed-infestedareasaslinesegmentsand
optimized nozzle allocation using binary linear program-
mingtomaximizecoverageefficiency.Researchonaccurate
target identification has also expanded to aerial platforms.
Luoetal.(2024)usedLiDARpointcloudstoanalyzecanopy
structures for drone spraying decisions, while Wei et al.
C-.T. Vu et al.:Preprint submitted to ElsevierPage 1 of 13
arXiv:2610.08807v1 [cs.RO] 9 Sep 2026
Short Title of the Article
(2024)employedYOLO-basedfruitdetectiontoenabletree-
specific, highly localized pesticide applications.
Although crop detection and spraying decision-making
systems have proven effective in reducing pesticide usage,
several challenges remain. Variability in crop size and
canopy structure makes maintaining a consistent spray rate
difficult (Hussain et al., 2025; Taseer and Han, 2024).
To address this, Berenstein and Edan (2018) developed a
device that adjusts flow rate and droplet size based on crop
dimensions, but its reliance on color-based target detection
and neglect of environmental factors limited its adaptabil-
ity. Building on this, Hu et al. (2025) proposed a multi-
dimensional prescription map using 3D point clouds, incor-
porating leaf–wood separation via LSTM, nozzle position
optimization, and spraying-unit division. RGB-D imagery
has also been leveraged for real-time canopy segmentation
and dynamic flow-rate adjustment (Gao et al., 2025), while
Zhang et al. (2025) fused camera and laser data to estimate
canopy volumes for adjusting spray flow. Beyond flow
control, regulating spray direction is crucial; Shi et al.
(2024) introduced an active nozzle-orientation mechanism
that aligns sprays with the canopy, minimizing off-target
deposition and environmental impact.
Research on crop recognition and spray-rate adjust-
menthascontributedsignificantlytoreducingpesticideloss
and mitigating environmental impact. However, these ap-
proaches still face many challenges, particularly in adapting
spraying strategies flexibly to varying conditions, as a hu-
man operator would. In agricultural environments, farmers
rely on contextual information, adjusting pesticide amounts
based on variations in plant density, canopy structure, and
disease status. They also consider weather conditions and
thecharacteristicsofeachpesticidetodetermineappropriate
movement directions and speeds, ensuring effective appli-
cation according to temperature and wind. These factors,
which are critical for spray coverage and droplet adhesion,
have been largely overlooked in previous studies that pri-
marily assume fixed movement trajectories. Therefore, de-
velopinganautonomoussprayingsystemcapableofmaking
movement and spraying decisions in a human-like manner
holds significant potential for advancing smart agriculture.
Recently, foundation models, such as Large Language
Models (LLMs) and Vision-Language Models (VLMs),
have achieved significant breakthroughs in human-like de-
cision making and reasoning by leveraging large-scale In-
ternet data. These models have been successfully applied
in various robotics domains, including autonomous driving
(Zhou et al., 2024), natural-language-guided navigation
usinghand-drawnmaps(Tanetal.,2025),andmap-freeout-
door navigation (Song et al., 2025). They also show strong
potential in agriculture, helping overcome the limitations of
previous methods that were often tailored to specific prob-
lems and difficult to generalize (Sapkota et al., 2025; Kuska
et al., 2024). Several studies have explored these reasoning
capabilities to enhance agricultural applications, such as
multi-level tea bud detection with generative AI support
during training, agriculture-specific model designs (Yang
etal.,2025),andLLM-basedanalysisofdatacollectedfrom
agricultural environments (Fang et al., 2025).
In this study, we propose a novel approach for au-
tonomous pesticide application using VLMs. The method
enablestherobottoexecuteacontext-awareadaptivespray-
ingstrategybasedonweatherconditionsandtheoperational
environment. The main contributions of this study are as
follows:
•We introduce a framework that integrates VLMs into
autonomous pesticide spraying, enabling the robot to
generate adaptive pesticide application strategies that
take into account crop types, the operational environ-
ment,andexternalenvironmentalfactorssuchaswind
direction and temperature.
•We propose a crop-row detection method based on
VLMs for global planning and compare it with other
crop-rowdetectionmethodsusingunsupervisedalgo-
rithms such as KMeans (Jiang and Ahamed, 2023),
DBSCAN (Vu et al., 2024), or manual adjustments
(Schönegg et al., 2024). The proposed approach sig-
nificantlyimprovescrop-rowdetectionaccuracybyat
least 30%.
•We develop a path-tracking controller based on the
ModelPredictivePathIntegral(MPPI)frameworkfor
pesticide spraying tasks, enabling the robot to follow
thesprayingtrajectorywhilesimultaneouslyavoiding
obstacles during navigation.
•The proposed method is evaluated in two differ-
ent field environments. The results show that our
approach generates context-aware adaptive spraying
strategiesundervaryingenvironmentalconditionsand
also helps reduce pesticide loss caused by environ-
mental factors.
Theremainderofthispaperisorganizedasfollows.Section
2 describes the system design, including the hardware con-
figuration and component connectivity. Section 3 presents
the proposed methodology. The experimental setup, results,
anddiscussionsareprovidedinSection4.Finally,Section5
summarizes the key findings and future work.
2. System Design
Thissectionpresentstheautonomouspesticide-spraying
robotusedintheexperiments.Therobotisdevelopedbased
on the Bunker Mini platform manufactured by Agilex. This
compact chassis employs a tracked mobility system, en-
abling stable operation on uneven and complex terrains
commonlyfoundinagriculturalfields,asillustratedinFig.1.
At the front of the robot, we integrate a ZED X cam-
era connected to the Jetson Orin onboard computer via a
GMSL2 interface, along with a Livox Mid-360 3D LiDAR
connected through Ethernet to support crop detection and
spatialmapping.Allsensordataprocessingandexecutionof
the proposed algorithms are performed on the NVIDIA Jet-
son Orin edge computing device, which provides real-time
performance through CUDA-accelerated parallel computa-
tion. The control framework is developed based on ROS2
C-.T. Vu et al.:Preprint submitted to ElsevierPage 2 of 13
Short Title of the Article
3D LiDAR
(Livox Mid-360)
Computer
(NVIDIA Jetson Orin)
Stereo camera
(StereoLabs ZED X)
Tank
(20-liter Capacity)
Spray nozzle
(Adjustable Spray Radius)
Pump
(Eagle Power Wa3510)
Platform
(Bunker Mini)
690 mm
570 mm
20-liter Tank
Figure 1:Hardware configuration of the pesticide-spraying robot. The LiDAR sensor supports localization and mapping, while
the camera enables crop recognition. The NVIDIA Jetson Orin–based central processor handles perception, generates movement
commands for the mobile base, and controls the two spraying modules on either side of the robot.
Humble.TherobotcommunicateswiththeJetsonOrinviaa
CAN bus to receive velocity commands and transmit status
information.
For the spraying system, we design two independent
modules mounted on the left and right sides of the robot,
enabling side-specific spraying decisions instead of rely-
ing on a single central pump. This design helps optimize
chemical usage and reduce waste. To control the two pump
modules, an Arduino Uno is used as an intermediary con-
troller,communicatingwiththeJetsonOrinthroughSerialto
receive pump commands. The Arduino then converts these
commandsintoPWMsignalstodrivetheESCsandregulate
the pump speed. The selected pump is the Eagle Power
Wa3510,acompactBLDCmotorcapableofgeneratinghigh
pressure.Eachsideisequippedwithtwoadjustablenozzles,
allowingthespraydiametertobetunedforoptimalchemical
usage and coverage under varying field conditions. These
pumps are connected to a 20-liter pesticide tank mounted
on the robot chassis.
3. Methods
In this section, we present the proposed methodology,
including the system architecture, the VLM-enabled path-
planning module for autonomous crop row detection, the
VLM-based spraying strategy, and finally, the path-tracking
controller
3.1. Architecture Overview
The first step in our approach is to construct a global
mapofthefieldenvironmentfrompointclouddatacaptured
by a 3D LiDAR with a built-in IMU using the Fast-LIO2
algorithm(Xuetal.,2022).Duringthemappingprocess,the
robot pose is continuously estimated and represented in the
global frameas𝐪 𝑟 = [𝑥𝑟,𝑦𝑟,𝜃𝑟]T ∈ℝ 3. In parallel, the
systememploysacrop-detectionmodulebasedonYOLOv8
(Jocher et al., 2023) with a ZED X camera, leveraging the
computational acceleration provided by Tensor Cores on
the Jetson Orin to identify trees and extract their positions
in the robot’s local coordinate frame, with each tree
position represented as𝐪 𝑟𝑡,𝑖 = [𝑥𝑟𝑡,𝑖,𝑦𝑟𝑡,𝑖,𝜃𝑟𝑡,𝑖]T ∈ℝ 3, for
𝑖=1,…,𝑛,where𝑛isthetotalnumberofdetectedtreesand
𝑖denotestheuniqueidentifier(ID)assignedtoeachtree.The
transformation of coordinates between the global and local
framesfortreepositions,whichisstoredintheworkingmap,
can be expressed as:
= {𝐪𝑡𝑖∣𝑖=1,…,𝑛 },𝐪 𝑡𝑖= GR𝐓𝐪𝑟𝑡,𝑖 (1)
where
G
R𝐓=
[
𝐉(𝜃𝑟)𝐪 𝑟
0 1
]
,𝐉(𝜃 𝑟)=
⎡
⎢
⎢⎣
cos𝜃𝑟 −sin𝜃 𝑟 0
sin𝜃𝑟 cos𝜃𝑟 0
0 0 1
⎤
⎥
⎥⎦,
G
R𝐓isthetransformationmatrixfromto,and𝐉(𝜃 𝑟)isthe
rotation transformation matrix.
Following the construction of a working map integrated
with the global positions of individual trees, we propose
a VLM-based tree row recognition method. This method
uses a 2D representation of tree locations as input. By
leveraging a prompt-based technique, the VLM accurately
identifies the tree rows within the environment. Once the
tree rows are recognized, a global path is generated along
the identified rows. Subsequently, this path, together with
the row-classified tree positions represented in 2D space
and the real-world environmental images captured by the
camera, is fed back into the VLM as input. In addition to
therawenvironmentaldata,supplementaryinformationsuch
as weather conditions and pesticide type is incorporated to
provide richer contextual cues for the VLM. Based on the
predictedroute,weatherconditions,pesticidetype,andtree-
related information, the VLM determines the appropriate
travel velocity and spraying flow rate. This approach en-
ables the spraying robot to operate flexibly in a human-like
manner,simultaneouslyconsideringfactorssuchasweather,
chemicaltype,andterraincharacteristicstoderivearational
spraying strategy.
The next stage involves an MPPI-based path-following
controller, which is employed to track the global path. The
C-.T. Vu et al.:Preprint submitted to ElsevierPage 3 of 13
Short Title of the Article
Spraying Strategy
Global Planning
MPPI Controller
Mapping
Global Map
VLM for Row Detection
Localization
Determine robot speed and nozzle flow based
on weather, pesticide type, and crop type.
Path Tracking
CBF
Cost Map
Robot
3D LiDAR
Visual Visualize
Global Path
Velocity Command
Point Cloud Map
Point Cloud
RGB Image
Point Cloud
Stereo Camera Tree Detection
Robot Pose
Local Tree
Location
Robot Pose
Global Planning
How many rows, and which trees belong to each row?
Prompt
VLM for Spraying
Prompt
Actuation Mapper
Spraying Module
Robot Speed
Flow Rate
Global Tree Location
Speed/Flow
Decoder
Tree Position
Pesticide type
Weather
Tree location
Global path
Global map
RGB image
Figure 2:Architecture overview of the proposed method.
Task Description: You are an image-analysis tool specialized in identifying row
structures and listing plant IDs within each row.
Input Representation: The input image displays green plant positions along with
their corresponding numeric IDs.
Instructions: Determine the total number of crop rows based solely on plant
distribution. Group plant IDs by row, ignoring any path lines or auxiliary markings.
Output the results strictly in the following format:
��Total number of rows: X
��Row 1: ID_LIST
��Row 2: ID_LIST
��…
Few-Shot Examples:
Instruction Prompt
Row 1: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16
Row 2: 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32
Row 3: 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48
Row 4: 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64
Row 5: 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81
Row 6: 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98
Output
Global Tree Location 2D Visualization
Sample Image A (3 rows, 15 plants)
��Total number of rows: 3
��Row 1: 1,2,3,4,5
��Row 2: 6,7,8,9,10
��Row 3: 11,12,13,14,15
Sample Image B (4 rows, 20 plants)
��Total number of rows: 4
��Row 1: 1,2,3,4,5
��Row 2: 6,7,8,9,10
��Row 3: 11,12,13,14,15
��Row 4: 16,17,18,19,20
Vision-Language Model
Visualization
Figure 3:Row classification using a VLM.
robot’s state for the controller is determined using the con-
structed working map, the tree map, and local LiDAR data.
This controller is designed to ensure that the robot adheres
closely to the planned trajectory while actively avoiding
obstacles and preventing collisions with crops. The overall
architecture of the proposed methodology is illustrated in
Fig. 2.
3.2. VLM-Based Global Path Planning
In the task of pesticide spraying, the robot needs to
recognize crop rows during navigation to determine the
appropriate path along each row. However, previous studies
have often been limited in row identification, relying solely
on the distances between plants along rows and columns
through clustering algorithms using unsupervised learning
(Vu et al., 2024; Jiang and Ahamed, 2023) or manually
defined parameters to reduce misclassification (Schönegg
etal.,2024).Inpractice,especiallyinsmall-scaleorunstruc-
turedagriculturalenvironments,cropsarenotalwaysevenly
spaced, making distance-based grouping challenging and
pronetoerrorsinrowclassification.Incontrast,humanscan
accurately identify and classify crop rows based on visual
observation alone, without knowing the precise positions of
individual plants. To address this limitation, we propose a
methodbasedonaVLMforcrop-rowclassification,leverag-
ingitsabilitytoprocessdiversedataandperformhigh-level
semantic reasoning, similar to human cognition, to achieve
more accurate row identification.
Therefore, the trees are represented in a 2D space and
includeboththecoordinatesandtheIDsofindividualtrees.
Insteadofrelyingonthefull3Dpointcloud,whichcontains
substantial redundant information and noise, we preserve
only the essential spatial information of the trees. This
compactrepresentationenablestheVLMtofocusontheor-
chardrowstructureandthekeyspatialrelationships,thereby
enhancing its reasoning capability without being influenced
by irrelevant components. The 2D image generated after
preprocessing is used as the input to the VLM, where all
treecoordinatesaremaintainedtohelpthemodelaccurately
interpret the structure and relative arrangement of the trees.
In addition, the image includes both the tree positions and
their IDs, enabling the model to identify tree rows based on
knownIDsratherthanpredictingcoordinatesdirectly,which
is a difficult and error-prone task for VLMs. Formally, the
tree rows inferred by the VLM can be expressed as a set of
row clusters𝐺:
𝐺=VLM row(row,row),(2)
where row is the reconstructed visual representation of
the tree positions annotated with their IDs, androw is a
task-specific prompt that provides contextual information
and guides the model to produce the desired output, as
illustrated in Fig. 3. Rather than relying solely on images
and conventional zero-shot prompts, we adopt prompt engi-
neeringincombinationwithfew-shotpromptingtoguidethe
C-.T. Vu et al.:Preprint submitted to ElsevierPage 4 of 13
Short Title of the Article
Figure 4:Pesticide spraying strategy using VLM for au-
tonomous agricultural robots.
VLMtowardconsistentandaccuratedetectionofcroprows.
Specifically, we first explicitly define the task, ensuring that
the VLM recognizes it must identify tree rows in the image
based on the provided IDs, and we describe the information
encodedwithintheimagetoguaranteecorrectinterpretation
of the input. Subsequently, we establish a set of rules that
the VLM must adhere to, including requirements that all
IDs in the output correspond to the provided dataset and
thattheoutputstrictlyconformstotheprescribedformat.Fi-
nally, illustrative examples and output-format specifications
are incorporated into the prompt to ensure that the model
generatesresultsthatarerigorouslyconstrainedbytheinput
data and fully compliant with the desired output structure.
After the corresponding crop rows are identified, cen-
terlines are generated between adjacent rows, positioned
equidistantly from the trees on either side to allow the robot
to navigate along the middle. These centerlines are then
sequentially connected to form a continuous path, enabling
the robot to traverse the orchard in a systematic zig-zag
pattern, efficiently covering the entire area.
3.3. VLM-Based Spraying Strategy
Previous studies have primarily relied on crop location
information and pre-defined working maps to design rigid
control strategies for pesticide spraying. Such approaches
lack consideration of critical contextual factors, including
crop growth stages, weather conditions, and other environ-
mental variables that human operators typically evaluate
during spraying operations. To address these limitations,
the proposed method adopts a VLM-based framework that
leverages human-like contextual reasoning and integrates
visual perception with prompt engineering, as illustrated in
Fig. 4.
Specifically, the VLM takes two types of visual inputs:
RGB images captured by the onboard camera and a con-
structed 2D visual representation that provides enriched
contextual information. The RGB images enable the VLM
to infer environmental characteristics such as uneven ter-
rain, which may affect robot locomotion, induce instability,
and alter the spraying angle. Based on this perception, the
VLM can make informed decisions on adjusting the robot’s
traveling speed to maintain stability and spraying accuracy.
Moreover, RGB images allow the model to perceive real-
field conditions, including canopy development and sur-
rounding vegetation growth, thereby facilitating context-
aware spraying decisions.
In addition to RGB images, a 2D visual representation
is introduced to further enrich the VLM input. This rep-
resentation encodes crop locations using distinct colors for
eachclassifiedcroprowandoverlaysaglobalpathindicating
the planned robot trajectory for spraying. Notably, wind
direction information obtained from the Windy API is also
embedded in the 2D visualization, illustrating how wind
affects spray dispersion as the robot moves along the global
path. This enables the VLM to adaptively adjust traveling
speed and spraying volume for individual crop rows in a
manner analogous to human operators.
Furthermore, the VLM is provided with auxiliary se-
mantic information, including crop type, geographical cul-
tivation location, current season and time, as well as the
type of pesticide being applied. In particular, by knowing
the pesticide type, the VLM can determine the appropriate
sprayingstrategybasedoncurrentweatherconditions,RGB
imagesfromthereal-worldenvironment,andsuitablespray-
ing locations, such as whether to focus more on the canopy
orthetrunk.Theseinputsallowthemodeltoassesspotential
spraying risks and adjust spraying volume according to
crop-specific characteristics, as the same crop species may
exhibit different cultivation properties across geographical
regions.Additionalenvironmentalfactors,suchashumidity,
temperature, and current wind speed, are also incorporated,
enablingtheVLMtoevaluatewhetherprevailingconditions
aresuitableforpesticidesprayingandtomodifythespraying
strategy accordingly.
To effectively leverage this diverse set of multimodal
information, we employ a chain-of-thought (CoT) prompt
design in place of the few-shot prompting strategy used in
the crop row detection task. The CoT prompting mecha-
nism enables the VLM to perform step-by-step reasoning
in ahuman-like mannerbefore producingthe finaldecision.
The pesticide spraying strategy based on the VLM can be
expressed as:
(𝑠𝑝𝑒𝑒𝑑,𝑣𝑜𝑙𝑢𝑚𝑒)=VLM spray(spray,spray),(3)
C-.T. Vu et al.:Preprint submitted to ElsevierPage 5 of 13
Short Title of the Article
where(𝑠𝑝𝑒𝑒𝑑,𝑣𝑜𝑙𝑢𝑚𝑒)correspond to the robot traveling
speed and the spray nozzle flow rate, respectively. Here,
spray denotes the input visual information, andspray rep-
resents the guiding prompt.
To ensure that the outputs of the VLM are compatible
with the agricultural robot, we define a set of output rules
thattheVLMmustfollowinordertopreventthegeneration
ofinappropriateorunsafecommands.TheVLMoutputsare
constrainedtofollowthespatialstructureoftheglobalpath,
such that each crop row and each plant along the path is
assignedauniqueidentifier.Astherobottraversestheglobal
path,eachidentifiedplantiscontrolledwithacorresponding
traveling speed and spraying volume determined by the
VLM.
The spraying decision sent to the spraying module is
determinedbasedonthedistancebetweentherobotandeach
plant.Specifically,whentheEuclideandistancebetweenthe
robot and a plant falls within a predefined threshold and the
plant lies on the appropriate spraying side of the robot, the
system triggers the spraying action using the volume level
provided by the VLM. Meanwhile, the movement speed
command is forwarded to the path following controller, as
described in Section 3.4.
3.4. Path Following Controller
In challenging agricultural environments, which are
highly nonlinear and involve significant dynamics due to
uneventerrainanddisturbancesaffectingtherobot’stracking
performance, we employ the MPPI controller (Williams
etal.,2018)totracktheglobalpath.MPPIhandlessuchdis-
turbances through its stochastic nonlinear MPC framework,
making it well-suited for highly dynamic environments
such as agriculture. Moreover, we leverage the parallel
computing capabilities of the CUDA provided by the Jetson
Orin to accelerate the computations required by MPPI. The
controller aims to determine the optimal control inputs that
minimizeadesignedcostfunctionoverapredictionhorizon
of𝐾discrete time steps, starting from the current step𝑘.
The robot platform considered in this study is non-
holonomic. Therefore, its discrete-time state for MPPI is
defined as:
𝐪𝑟𝑘+1=𝐪 𝑟𝑘+𝐉(𝜃 𝑟𝑘)𝐯𝑟𝑘Δ𝑡,𝐉(𝜃 𝑟𝑘)=
⎡
⎢
⎢⎣
cos𝜃𝑟𝑘 0
sin𝜃𝑟𝑘 0
0 1
⎤
⎥
⎥⎦,(4)
where𝐪 𝑟𝑘 denotes the robot state at time step𝑘, and𝐯𝑟𝑘 =
[𝑣𝑟𝑘,𝜔𝑟𝑘]T is the control input applied at time step𝑘, for𝑘=0,…,𝐾−1, with sampling periodΔ𝑡. Here,𝑣 𝑟𝑘 representsthe robot’s linear velocity, while𝜔𝑟𝑘 denotes its angularvelocity in the frame. The matrix𝐉(𝜃 𝑟𝑘)is the rotationmatrix that maps the control inputs to the state update for
the non-holonomic platform.
The cost function, designed to optimize the global path
tracking task, is defined as:
𝐶(𝐪𝑟𝑘)=𝐶 tracking(𝐪𝑟𝑘)+𝐶 obs(𝐪𝑟𝑘)+𝐶 vel(𝐪𝑟𝑘),(5)
where𝐶 tracking(𝐪𝑟𝑘)promotes the robot’s adherence to theglobal path,𝐶 obs(𝐪𝑟𝑘)facilitates obstacle avoidance, and𝐶vel(𝐪𝑟𝑘)allows the robot to move at the speed provided bythe VLM. The tracking cost can be expressed as:
𝐶tracking(𝐪𝑟𝑘)=𝑤 𝑝‖‖‖𝐪𝑟𝑘−𝐪𝑙𝑘‖‖‖+𝑤𝑛‖‖‖𝐪𝑟𝑘−𝐪𝑛𝑘‖‖‖,(6)
where𝐪 𝑙𝑘 is the lookahead point on the global path at adistance𝑙ahead of the robot, allowing the robot to progress
forward along the path, while𝐪𝑛𝑘 is the nearest point on theglobal path to the robot’s current position, used to maintain
lateral alignment with the path. Here,𝑤𝑝 and𝑤 𝑛 are the
corresponding weights.
The obstacle avoidance cost allows the robot to nav-
igate without collisions based on observations from the
environment using a 3D LiDAR. To enhance computational
efficiency,weutilizethespatio-temporalvoxellayercostmap
(Macenski et al., 2020) instead of directly evaluating each
point from the raw point cloud data, where𝑙(𝐪)denotes the
function used to determine the cost at a given point𝐪. The
obstacle avoidance cost is defined as:
𝐶obs(𝐪𝑟𝑘)=𝑤 𝑜
{
𝑐collision,if𝑙(𝐪 𝑟𝑘)≥𝜏,
0,otherwise. (7)
Here,theweightingfactor𝑤 𝑜correspondstoobstacleavoid-
ance, and𝜏is a threshold used to detect potential collisions
based on the local costmap.
The movement speed cost,𝐶vel, which allows the robot
to track the speed provided by the VLM is defined as:
𝐶vel(𝐪𝑟𝑘)=𝑤 𝑣‖𝑣𝑟𝑘−𝑣 vlm‖,(8)
where𝑣 vlmisthedesiredspeedfromtheVLM,and𝑤 𝑣 isthe
corresponding weight.
The MPPI controller is implemented using the Numba
libraryandleveragesCUDAparallelcomputation,operating
at a frequency of 100 Hz. The parameters for this module
are set as follows:𝐾= 3.0,Δ𝑡= 0.1,𝜏= 50,𝑤 𝑝 = 20.0,
𝑤𝑛=5.0,𝑤 𝑜=1000.0,𝑤 𝑐 =1000.0,𝑤 𝑣=20.0.
4. Experiments Results and Discussion
This section presents the experimental evaluation of the
proposed method, including the assessment of crop detec-
tion for global path planning, the evaluation of the VLM-
basedsprayingstrategyintworeal-worldenvironments,and
the performance of the controller. Finally, the results are
discussed to highlight key insights and potential areas for
improvement.
4.1. Crop Row Detection Evaluation
To evaluate the capability of tree-row detection for
global path planning in robotic systems, we collected crop
distribution data from 20 different environments, in which
tree rows are arranged according to configurations com-
monly observed in real-world farms. Based on this dataset,
the proposed tree-row detection method is compared with
C-.T. Vu et al.:Preprint submitted to ElsevierPage 6 of 13
Short Title of the Article
59.96
60.80
91.87
100.00
100.00
100.00
100.00
100.00
DBSCAN
KMeans
GPT 4.1 Nano
GPT 4.1 Mini
GPT 4.1
Gemini 2.5 Flash Lite
Gemini 2.0 Flash Lite
Gemini 2.5 Flash
0 20 40 60 80 100
Accuracy (%)
VLM Unsupervised
Figure 5:Comparison results of tree-row detection.
relatedstudiesinVuetal.(2024);JiangandAhamed(2023),
whichemployunsupervisedclusteringalgorithmssuchasK-
meansandDBSCANfortree-rowdetection.Inaddition,we
evaluate the performance of six VLMs, including Gemini
2.0 Flash Lite, Gemini 2.5 Flash Lite, Gemini 2.5 Flash,
GPT-4.1 Nano, GPT-4.1 Mini, and GPT-4.1, on the tree-
row detection task. Each experimental scenario is repeated
10timesforeachmethodtoensureobjectivityandreliability
of the results.
The accuracy is defined as the number of correctly
identified trees belonging to tree rows. The comparative
performance of the VLM-based approaches versus tradi-
tional unsupervised learning methods is presented in Fig. 5.
The experimental results show that the VLMs demonstrate
clear superiority in accuracy over traditional clustering-
based methods. Specifically, Gemini 2.5 Flash, Gemini 2.0
Flash Lite, Gemini 2.5 Flash Lite, GPT-4.1, and GPT-4.1
Mini all achieve high accuracy. VLMs are capable of rec-
ognizing row structures and understanding spatial context,
even in their lightweight variants (Lite/Mini). In contrast,
GPT-4.1 Nano, the smallest model in the GPT family, ex-
hibits a reduced accuracy of91.87%. Although lower than
thatofthelargermodels,thisperformancestillsignificantly
surpassesthatoftraditionalmethods,highlightingthepoten-
tial of compact VLMs for reliable tree-row detection.
It is also notable that clustering algorithms such as K-
means and DBSCAN, used for crop-row recognition, yield
substantially lower accuracies of60.80%and59.96%, re-
spectively. This performance gap (approximately 30–40%)
suggeststhattraditionalmethodsaremoresensitivetonoise
and complex row structures, whereas VLMs exhibit supe-
rior generalization from visual data. In addition, clustering-
basedapproachesrequiremanualtuningofparameters,such
as the number of rows and inter-row distances, which lim-
its their flexibility in diverse real-world environments. By
contrast, the proposed method achieves high accuracy and
enables automatic recognition of crop rows in agricultural
environments, eliminating the need for manual adjustment
as presented by Schönegg et al. (2024).
Inadditiontoaccuracy,weevaluatetheaverageresponse
latencyofthemodelswithintheproposedtree-rowdetection
2.92
3.88 3.93
5.38
7.28
11.65
Gemini 2.5
Flash Lite
Gemini 2.0
Flash Lite
GPT 4.1
Nano
GPT 4.1
Mini
Gemini 2.5
Flash
GPT 4.1
4
8
12
16API Latency (s)
Figure 6:API response latency of the compared VLMs.
framework, as shown in Fig. 6. The results indicate that the
Lite and Nano variants offer clear advantages in response
time.Inparticular,Gemini2.5FlashLiteachievesthelowest
average latency (2.92s), followed by Gemini 2.0 Flash Lite
(3.88s)and GPT-4.1Nano (3.93s).GPT-4.1 Miniprovides
a reasonable trade-off between accuracy and computational
efficiency,withanaveragelatencyof5.38s,whilethemore
computationally intensive models, Gemini 2.5 Flash and
GPT-4.1, exhibit significantly higher latencies (7.28s and
11.65s, respectively), with GPT-4.1 also showing greater
variability in response time.
In the proposed system, tree-row detection is performed
onlyduringtheglobalplanningstage,wherehigh-frequency
executionisnotrequired.Therefore,VLMssuchasGPTand
Gemini can still provide accurate recognition despite their
relatively slower response times. In this study, Gemini 2.5
Flash was selected as the most suitable model because it
offers high recognition accuracy while maintaining efficient
inference performance.
4.2. Spraying Strategy Evaluation
4.2.1. Experimental Setup
To evaluate the effectiveness of the proposed method
underreal-worldconditions,twodistinctfieldenvironments,
shown in Fig. 8, were selected and tested using the robotic
platform described in Section 2. The first environment is
a woodland area characterized by uneven tree density. To
emulateorchard-likeagriculturalconditions,asectionofthis
woodland was selected for its row-like vegetation structure,
covering a total surveyed area of approximately 8,000 m2.
The second environment is a mango farm covering ap-
proximately5,000m 2.Thisenvironmentfeaturesclearlyde-
finedtreerowsbutissignificantlyaffectedbyuneventerrain;
the rows vary in length and alignment, posing substantial
challenges for both perception and navigation.
During the field experiments, wind data acquisition was
conducted using a hybrid approach to overcome the indi-
vidual limitations of the measurement tools. Specifically,
while the Windy API provides reliable macro-level wind
direction, it lacks the localized precision required for accu-
rate micro-climate wind speed estimation near the ground.
Conversely, the onboard anemometer precisely measures
C-.T. Vu et al.:Preprint submitted to ElsevierPage 7 of 13
Short Title of the Article
Environment 2 Environment 1
Global PathVLM-Based Row Clustering
Global Path
N
S
N S
Figure 7:Global maps and global paths of the two environments. The blue lines represent the global paths, while the labeled
spheres indicate the detected tree positions. The colors of the spheres denote row membership as determined by the VLM.
Environment 1 Environment 2
Figure 8:Illustration of the two field environments used in the
experiments.
real-time wind speed but lacks directional sensing capabili-
ties. By combining these two sources, the macro-level wind
directionfromtheWindyAPIwasusedtoinformtheoverall
spraying strategy, while the localized wind speed, which
directly affects spray drift and flow rate adjustments, was
continuouslymonitoredbytheanemometer.Thesensorwas
mountedontherobotataheightof1.67meters,alignedwith
the elevation of the spray nozzles to accurately capture the
aerodynamicconditionsdirectlyinteractingwiththesprayed
droplets.
Three different time points were selected in each envi-
ronmenttoevaluatetheadaptabilityoftheproposedmethod
to changing conditions, such as variations in wind direction
andtemperature.Itshouldbenotedthattherobot’straveling
speedandsprayingflowratewereautomaticallydetermined
basedontheproposedmethodandwerenotmanuallysetby
the user. The VLM model used in this work is Gemini 2.5
Flash.
4.2.2. Experimental Results
The proposed system successfully constructs accurate
global maps and generates precise paths that adapt to the
distinct structural characteristics of different agricultural
environments.AsshowninFig.7,whichpresentstheglobal
map data and the corresponding paths generated for the two
environments, the 3D LiDAR point cloud data effectively
captured the characteristics of each environment. In the
first environment, the system accurately represents the non-
uniform distribution of tree trunks, including cases where
trunks are tilted or trees are misaligned within their respec-
tiverows.Inthesecondenvironment,themangoorchard,the
pointcloudmapreflectsthereal-worldlayout,featuringtree
rowsofvaryinglengths,aninconsistentnumberoftreesper
row, and dense canopy structures.
It is also notable that the detected tree positions align
with their actual spatial distribution in the global map. In
addition,thetreerowsvisualizedusingdifferentcolorswere
accuratelyidentifiedusingtheVLM,demonstratingitsprac-
tical potential for agricultural environments with complex
and irregular tree distributions. Furthermore, by leveraging
accuraterowidentification,theglobalpathsgeneratedalong
the crop rows align correctly with the rows that require
spraying.
The VLM-based strategy effectively adapts the pesti-
cide application rate to accommodate diverse wind con-
ditions and crop densities, thereby minimizing chemical
waste. Specifically, Fig. 9 illustrates the actual spray flow
distributionoftheproposedmethodacrosstwoexperimental
environments under varying wind conditions. Environment
1comprises497treesarrangedin11rows,whereasEnviron-
ment2contains204treesdistributedover14rows.Thenum-
ber of trees per row in Environment 1 varies considerably,
C-.T. Vu et al.:Preprint submitted to ElsevierPage 8 of 13
Short Title of the Article
Environment 1 (497 trees)Environment 2 (204 trees)
Figure 9:Spray rate results in the two environments using the VLM-based spraying strategy. The robot adjusted the flow rate to
reduce pesticide loss, particularly due to the influence of wind direction.
rangingfrom42to64trees,whileEnvironment2hasalower
density,rangingfrom11to17treesperrow.Intheheatmap,
the vertical axis (Row Index) represents the row number,
and the horizontal axis (Plant Index Within Row) indicates
the position of each tree within the row. The right column
(Global Path Segments) depicts the corresponding global
path segments for each row, ensuring that the robot covers
both sides of the canopy to execute the adaptive spraying
strategy effectively. Color variations in the heatmap reflect
adjustments in spray flow rates (L/min) according to wind
direction and target tree positions, minimizing waste and
maintaining uniform coverage.
Theresultsshowthatthesprayflowvariesproportionally
with wind intensity. At low wind speeds (2.0–2.3 m/s), the
system maintains a stable balance between the two nozzles,
with flow rates fluctuating slightly around 2.85–2.90 L/min
duetominimaldrifteffects.Incontrast,understrongerwind
conditions (3.5–4.5 m/s), the amplitude of flow fluctuations
increases significantly. Some regions exhibit higher flow,
approximately3.0L/min(yellow),whileotherregionsshow
lower flow, around 2.7 L/min (dark blue), forming alternat-
ing patterns across the field.
Differences in the geometric structure of the two envi-
ronments lead to distinct wind effects. Environment 1 ex-
hibits relatively favorable aerodynamic conditions, whereas
Environment 2, with a wind direction of350◦, experiences
strongercrosswinds,resultinginpronouncedpressurediffer-
ences. The heatmap shows alternating color bands between
adjacent tree rows, reflecting the robot’s ability to adapt to a
boustrophedon trajectory. A detailed examination indicates
that even when moving against the wind, the robot does
not apply a uniform flow rate across the entire row. Instead,
Spraying based on VLM Fixed spray rate
Figure 10:QualitativeresultsofWSPscomparingtheproposed
VLM-based method with the baseline using a fixed pre-set
spray flow rate when spraying in the windward direction.
the flow is dynamically adjusted according to the position
and density of individual trees. These observations indicate
thattheVLMmodeleffectivelyinterpretstheenvironmental
context, enabling the robot to adjust its spraying strategy in
a manner comparable to human reasoning.
The VLM-based spraying approach significantly im-
proves spray uniformity and mitigates the risk of chemical
runoff compared to conventional methods. This is visually
supported by the enlarged Water Sensitive Papers (WSPs)
samples presented in Fig. 10, which were obtained when
sprayinginthedownwinddirectionusingboththeproposed
method and the fixed-rate baseline. The samples sprayed
with the fixed-rate method exhibit surface oversaturation
with clustered liquid spots, indicating excessive chemical
deposition and a high risk of runoff. In contrast, the VLM-
based spraying approach generates a more uniform and
discrete droplet distribution with adaptive coverage density,
C-.T. Vu et al.:Preprint submitted to ElsevierPage 9 of 13
Short Title of the Article
2
.652 .712 .692 .732 .682 .76L
ow SpeedN ormal SpeedH igh Speed0
.00
.51
.01
.52
.02
.53
.03
.54
.0A
verage Spraying Distance (m)
0
.0300
.0380
.0420
.0590
.0490
.069L
ow SpeedN ormal SpeedH igh Speed0
.000
.020
.040
.060
.08
Environment 1 Environment 2A
verage Error (m)
0
.0050
.0080 .0090
.0110 .0120
.016L
ow SpeedN ormal SpeedH igh Speed0
.000
.010
.020
.030
.04A
verage Error (m)
Figure 11:Quantitative evaluation results of the controller at different velocities.
$YHUDJH7UDYHOOLQJ9HORFLW\PV
PV PV PVPV PV PV
/RZ:LQG 0HGLXP:LQG +LJK:LQG
(QYLURQPHQW (QYLURQPHQW
Figure 12:Traveling speed of the robot in the two environ-
mentsatthreetimepointsaffectedbydifferentwinddirections.
minimizing overlap. Moreover, the WSP samples were col-
lected at various canopy locations and analyzed using Im-
ageJ software (Schneider et al., 2012). The analysis demon-
strates that the VLM-based strategy achieves an average
surfacecoverageof26.4%withanaveragedropletdensityof
62droplets/cm 2,indicatinghighlyuniformandadaptivede-
position. Conversely, the fixed-rate baseline method results
in an average surface coverage of 61.7%, characterized by
excessivedropletoverlapandclustering,whichsignificantly
increases the risk of surface oversaturation and chemical
runoff.
The proposed system proactively adjusts its traveling
speed to maintain operational stability and ensure adaptive
spraying effectiveness in response to changing environmen-
tal factors. As illustrated by the average traveling speed
under varying wind conditions in Fig. 12, the system em-
ploys an inversely proportional speed adjustment strategy
with respect to wind intensity: as wind speed increases,
the robot proactively reduces its speed to prioritize oper-
ational stability and spraying effectiveness. Specifically, in
Environment 1, the average speed decreases from 0.93 m/s
under light wind (2.3 m/s) to 0.73 m/s under moderate wind
(2.7 m/s), reaching a minimum of 0.55 m/s under strong
wind (3.5 m/s). A similar trend is observed in Environment
2, although the overall speed range is lower, varying from
0.71 m/s to 0.47 m/s, reflecting differences in terrain struc-
ture between the two sites.
Furthermore, based on the VLM, the robot detects un-
eventerrainanddensevegetationinEnvironment2,enabling
human-like decision-making by maintaining a lower speed
comparedtoEnvironment1.Thestandarddeviationalsoin-
dicatesthatspeedfluctuationsinEnvironment1aresmaller,
reflecting smoother motion, whereas larger deviations in
Environment 2 suggest that the robot must continuously
adjust its speed to navigate terrain undulations.
4.3. Controller Evaluation
To ensure that the proposed controller operates effec-
tively in agricultural environments with uneven terrain and
dynamicconditions,particularlyundertheinfluenceofsand,
gravel, grass, and rough surfaces, we evaluated its perfor-
mance at three different velocities: low speed (0.5 m/s),
normal speed (1.0 m/s), and high speed (1.5 m/s). These
tests were conducted to analyze tracking errors and to ex-
amine how travel speed affects crop detection and spray-
ing decisions. The experiments were performed in the two
environments described in Section 4.2. The MPPI con-
troller demonstrates robust trajectory tracking performance
and maintains low tracking errors across different operating
speeds and terrains. As illustrated in Fig. 11, the detailed
experimental results validate the robot’s tracking accuracy
and its consistent average spraying distance from the center
to the tree.
The mean tracking errors along the𝑥- and𝑦-directions
show that both the mean errors and their variabilities in-
crease with operating speed. Notably, the lateral error|𝑒𝑦|
is consistently higher than the longitudinal error|𝑒𝑥|, re-
flecting the side-slip phenomenon commonly observed on
agricultural terrains such as sand and grass. Moreover, the
tracking errors in Environment 2 are consistently higher
than those in Environment 1, indicating more nonlinear and
less predictable wheel–terrain interactions. Specifically, in
Environment2,thelateralerror|𝑒 𝑦|increasesfrom3.8±0.36
cm at low speed to6.9±0.54cm at the highest speed (1.5
m/s). In contrast, Environment 1 exhibits a lower standard
deviation, suggesting a more uniform surface condition.
Additionally, the average spraying distance remains stable
within the range of 2.65–2.76 m despite variations in speed
and terrain. The differences in distance across operating
speeds and environments are negligible, demonstrating that
C-.T. Vu et al.:Preprint submitted to ElsevierPage 10 of 13
Short Title of the Article
the system maintains accurate tree detection during motion
and ensures consistent spraying performance under diverse
conditions.
Althoughthetrackingerrorsincreasewiththeoperating
speed,thecontrollermaintainsamaximumerrorbelow8cm
with a stable standard deviation, confirming the effective-
ness and robustness of the proposed system in dynamic
agricultural environments. At low and medium speeds, the
trackingerrorsremainsufficientlysmallforprecisionspray-
ing tasks, demonstrating that the controller not only ensures
stabilitybutalsosatisfiestheaccuracyrequirementsofprac-
tical agricultural operations.
A two-factor ANOVA was also conducted to evaluate
the effects of operating speed and environment on system
performance. Both factors significantly affected the lateral
error|𝑒 𝑦|(𝑝 <0.05), while the longitudinal error|𝑒𝑥|was
mainlyinfluencedbyspeed,withasmallercontributionfrom
the environment. For spraying distance, differences were
statisticallysignificant(𝑝<0.05),buttheeffectofspeedwas
minor and mainly dependent on the terrain characteristics.
4.4. Discussion
4.4.1. Performance of VLMs in Crop-Row Detection
The experimental results highlight the effectiveness and
practical potential of VLMs in agricultural robotics. By
leveraging their capability to interpret visual information
and reason about contextual relationships, the proposed ap-
proachachievessubstantiallyhigherdetectionaccuracythan
conventional methods. The system can identify crop rows
and infer their spatial structure in a manner comparable to
human visual perception. This capability is further demon-
stratedthroughitsintegrationintotheroboticsprayingstrat-
egy.
A key finding of this study is that the VLM-based
approach improves detection accuracy by approximately
30% to 40% compared with traditional unsupervised clus-
tering methods such as K-means and DBSCAN (Vu et al.,
2024; Jiang and Ahamed, 2023). Conventional geometric
approaches rely primarily on spatial point distributions and
are therefore susceptible to environmental noise, including
weeds, occlusions, and overlapping canopies. In contrast,
the VLM is able to infer the underlying crop-row struc-
ture through semantic understanding of the scene. As a
result, the proposed method maintains robust performance
in complex agricultural environments while avoiding the
extensiveparametertuningcommonlyrequiredbyheuristic-
based approaches (Schönegg et al., 2024).
4.4.2. VLM-Driven Context-Aware Spraying Strategy
The incorporation of VLMs into the spraying strategy
enables adaptive and context-aware pesticide application.
Unlike conventional detect-and-spray systems that depend
on instantaneous sensor-triggered actions, the proposed
framework considers multiple environmental factors, in-
cluding wind direction, foliage density, and terrain condi-
tions, when generating spraying decisions. This capability
allows the robot to adjust pesticide flow rates and operating
speed according to the surrounding context. Consequently,
chemicalwastecanbereducedwhilemaintainingconsistent
spraying coverage under varying field conditions.
Furthermore, we evaluated the robustness of the VLM-
based decision-making process against variations in input
prompts. Our experimental testing demonstrates that the
system maintains high stability in spraying decisions; slight
variationsinpromptphrasing,suchasreorderingdescriptive
adjectivesormodifyingsentencestructureswhilepreserving
the core intent, do not significantly alter the output speed
and flow rate, provided that the environmental parameters
remain consistent. This stability is primarily attributed to
Few-Shot and CoT prompting strategies, which guide the
model to prioritize semantic interpretation over superficial
syntax, as well as the contextual understanding capability
of large language models. However, to ensure system-level
reliability, restricting the output format to be compatible
with the system is necessary. This ensures that the robot ex-
ecutes only valid, hardware-compatible commands, thereby
mitigating potential errors arising from model outputs.
Although large-scale VLMs generally exhibit higher
computationallatencythanconventionalalgorithms,theex-
perimental results indicate that this limitation does not hin-
der practical field deployment. Agricultural robots typically
operate at relatively low speeds, allowing sufficient time
for high-level perception and decision-making processes. In
the proposed framework, the VLM performs global scene
understanding and strategic planning at a lower update
frequency, whereas the MPPI controller handles trajectory
tracking and collision avoidance at a higher control fre-
quency. This hierarchical architecture enables the system to
satisfy real-time operational requirements while benefiting
from the advanced reasoning capabilities of the VLM.
Nevertheless,furtherreductionsininferencelatencythrough
model compression, quantization, and edge deployment
remain important directions for future research, particularly
for applications that require faster reactive responses.
4.4.3. System Limitations and Future Work
Despite the promising results, this study has certain
limitations that must be acknowledged. First, the proposed
framework was evaluated in a restricted number of field
environments, test farms, and geographical locations. Be-
causeagriculturalconditions,canopystructures,andmicro-
climates vary significantly across different regions, further
extensive testing in more diverse and unstructured agri-
cultural settings is necessary to fully validate the system’s
generalizability.
Second,fieldexperimentsindicatethatcontrollerperfor-
mance remains sensitive to terrain variability. In the mango
orchard environment, nonlinear wheel–terrain interactions
contributedtoincreasedlateraltrackingerrors.Theseresults
suggest that while the VLM provides effective high-level
planning and decision-making capabilities, overall system
performanceisstillinfluencedbylow-levellocomotionchal-
lenges associated with uneven agricultural terrain. Future
research should therefore investigate terrain-aware trajec-
tory optimization methods that favor smoother traversable
C-.T. Vu et al.:Preprint submitted to ElsevierPage 11 of 13
Short Title of the Article
regions. In addition, hardware improvements, such as chas-
sis designs incorporating passive stabilization or enhanced
suspension mechanisms, may further improve operational
robustness in rugged field environments.
Finally,duetoinstitutionalconstraintsandongoingpro-
prietaryresearch,thecompletesourcecodeandfulldatasets
cannotbepubliclyreleasedatthistime.However,tosupport
replicability and allow other researchers to build upon this
work, detailed pseudocode representing the core method-
ology has been provided and can be found in the Data
Availability section.
5. Conclusion
In this study, we presented a novel context-aware pesti-
cide spraying framework for agricultural robots powered by
VLMs.Byleveragingthehuman-likereasoningcapabilities
of VLMs, the proposed system directly recognizes crop
rows from visual inputs and generates adaptive spraying
strategies. These strategies are formulated by dynamically
synthesizing real-time imagery with critical contextual fac-
tors,includingweatherconditions,time,pesticidetype,geo-
graphicallocation,andcropvariety.Consequently,therobot
selects adaptive spraying parameters tailored to specific
environmental conditions and crop growth stages, thereby
minimizing pesticide waste and reducing adverse environ-
mental impacts. Additionally, an MPPI controller was im-
plementedtoensurepreciseandsafetrajectorytrackingdur-
ing field operations. Experimental evaluations conducted in
twodistinctagriculturalenvironmentsdemonstratedthatour
approach improves crop-row detection accuracy by at least
30% compared to conventional methods. The results also
confirmedthesystem’sabilitytomakeadaptive,human-like
sprayingdecisionsundervaryingconditions.Futureresearch
willfocusonvalidatingtheframeworkinmorecomplex,un-
structured agricultural environments and deploying VLMs
locally on edge devices to reduce inference latency and
achieve high-frequency real-time performance.
Declaration of Generative AI and AI-assisted
technologies in the writing process
During the preparation of this work, the authors used
ChatGPT and Gemini to improve the readability of the
manuscript.Afterusingthesetools,theauthorsreviewedand
edited the content as needed and take full responsibility for
the final manuscript.
CRediT authorship contribution statement
Cong-Thanh Vu:Writing-originaldraft,Methodology,
Investigation, Formal analysis, Data curation, Conceptual-
ization.Yen-Chen Liu:Writing-review&editing,Supervi-
sion, Funding acquisition, Conceptualization.
Declaration of competing interest
The authors declare that they have no known competing
financial interests or personal relationships that could have
influenced the work reported in this paper.
Acknowledgments
ThisworkwassupportedinpartbytheNationalScience
and Technology Council (NSTC), Taiwan, under Grants
NSTC 114-2622-E-006-011 and NSTC 114-2218-E-006-
021.
References
Ahmadi, A., Halstead, M., Smitt, C., McCool, C., 2024. Bonnbot-i plus: A
bio-diversity aware precise weed management robotic platform. IEEE
Robotics and Automation Letters 9, 6560–6567. doi:10.1109/LRA.2024
.3408080.
Berenstein, R., Edan, Y., 2018. Automatic adjustable spraying device for
site-specificagriculturalapplication. IEEETransactionsonAutomation
Science and Engineering 15, 641–650. doi:10.1109/TASE.2017.2656143.
Dasgupta, S., Meisner, C., Wheeler, D., Xuyen, K., Thi Lam, N., 2007.
Pesticide poisoning of farm workers–implications of blood test results
from vietnam. International Journal of Hygiene and Environmental
Health 210, 121–132. doi:10.1016/j.ijheh.2006.08.006.
Fang, L., Xiang, W., Jin, J., Liao, K., Liu, C., Han, Y., Salim, F.D., Chen,
Y.P.P.,2025. Agri-llm:Prompt-basedlargelanguagemodelforemission
data analytics in smart agriculture. IEEE Internet of Things Journal 12,
49186–49197. doi:10.1109/JIOT.2025.3617099.
Fu, H., Zhao, X., Wang, Z., Wu, H., Tan, H., Zheng, S., Zhai, C., Chen, L.,
2026. Design and experimental verification of target-oriented spraying
systemincorporatingcamerapitchangle. ComputersandElectronicsin
Agriculture 240, 111156. doi:10.1016/j.compag.2025.111156.
Fu,Q.,Li,X.,Zhang,G.,Ma,Y.,2022.Improvedgreenhouseself-propelled
precision spraying machine—multiple height and level (mhl) control.
Computers and Electronics in Agriculture 201, 107265. doi:10.1016/j.
compag.2022.107265.
Gao,Q.,Carraro,A.,Huang,Q.,Marinello,F.,Sozzi,M.,2025. Avariable-
rate spraying system for vineyards based on rgb-d imaging and tensor
acceleration. Computers and Electronics in Agriculture 239, 110960.
doi:10.1016/j.compag.2025.110960.
Hu, C., Ru, Y., Fang, S., Rong, Z., Zhou, H., Yan, X., Liu, M., 2025.
Orchard variable rate spraying method and experimental study based
on multidimensional prescription maps. Computers and Electronics in
Agriculture 235, 110379. doi:10.1016/j.compag.2025.110379.
Hu, C., Xie, S., Song, D., Thomasson, J.A., IV, R.G.H., Bagavathiannan,
M.,2022. Algorithmandsystemdevelopmentforroboticmicro-volume
herbicide spray towards precision weed management. IEEE Robotics
andAutomationLetters7,11633–11640. doi:10.1109/LRA.2022.3191240.
Hussain, I., Han, X., Zhang, Z., Mao, X., Guo, J., 2025. Enhancing preci-
sion agriculture with advanced variable-rate spraying and autonomous
vehicles: A comprehensive review. Computers and Electronics in
Agriculture 238, 110812. doi:10.1016/j.compag.2025.110812.
Jiang, A., Ahamed, T., 2023. Navigation of an autonomous spraying robot
for orchard operations using lidar for tree trunk detection. Sensors 23.
doi:10.3390/s23104808.
Jiang, A., Ahamed, T., 2025. Development of an autonomous navigation
system for orchard spraying robots integrating a thermal camera and
lidarusingadeeplearningalgorithmunderlow-andno-lightconditions.
Computers and Electronics in Agriculture 235, 110359. doi:10.1016/j.
compag.2025.110359.
Jin,H.,Arsa,D.M.S.,Ilyas,T.,hoonLee,J.,Won,O.,Park,S.H.,Sandesh,
K., Kim, S.C., Kim, H., 2025. A deep learning-based pin precision
weeding machine with densely placed needle nozzles. Computers and
Electronics in Agriculture 239, 110990. doi:10.1016/j.compag.2025.11
0990.
C-.T. Vu et al.:Preprint submitted to ElsevierPage 12 of 13
Short Title of the Article
Jocher, G., Qiu, J., Chaurasia, A., 2023. Ultralytics YOLO. URL:https:
//github.com/ultralytics/ultralytics.
Kuska, M.T., Wahabzada, M., Paulus, S., 2024. AI for crop production
– where can large language models (llms) provide substantial value?
Computers and Electronics in Agriculture 221, 108924. doi:10.1016/
j.compag.2024.108924.
Liu, Y., Ma, X., Shu, L., Hancke, G.P., Abu-Mahfouz, A.M., 2021. From
industry 4.0 to agriculture 4.0: Current status, enabling technologies,
and research challenges. IEEE Transactions on Industrial Informatics
17, 4322–4334. doi:10.1109/TII.2020.3003910.
Luo, S., Wen, S., Zhang, L., Lan, Y., Chen, X., 2024. Extraction of
crop canopy features and decision-making for variable spraying based
on unmanned aerial vehicle lidar data. Computers and Electronics in
Agriculture 224, 109197. doi:10.1016/j.compag.2024.109197.
Macenski, S.,Tsai, D., Feinberg, M.,2020. Spatio-temporalvoxel layer: A
view on robot perception for the dynamic world. International Journal
of Advanced Robotic Systems 17, 1729881420910530. doi:10.1177/17
29881420910530.
Nguyen, N.T.A., Pham, C.C., Lin, W.C., 2023. Development of a line
following autonomous spraying vehicle with machine vision-based leaf
density estimation for cherry tomato greenhouses. Computers and
Electronics in Agriculture 215, 108429. doi:10.1016/j.compag.2023.
108429.
Owen-Smith, P., Perry, R., Wise, J., Jamil, R.Z.R., Gut, L., Sundin, G.,
Grieshop, M., 2019. Spray coverage and pest management efficacy
of a solid set canopy delivery system in high density apples. Pest
Management Science 75, 3050–3059. doi:10.1002/ps.5421.
RahimiAzghadi,M.,Olsen,A.,Wood,J.,Saleh,A.,Calvert,B.,Granshaw,
T., Fillols, E., Philippa, B., 2025. Precision robotic spot-spraying:
Reducing herbicide use and enhancing environmental outcomes in sug-
arcane. Computers and Electronics in Agriculture 235, 110365. doi:10
.1016/j.compag.2025.110365.
Raja, R., 2024. Software architecture for agricultural robots: Systems,
requirements, challenges, case studies, and future perspectives. IEEE
Transactions on AgriFood Electronics 2, 125–137. doi:10.1109/TAFE.2
024.3366335.
Sapkota, R., Qureshi, R., Usman Hadi, M., Zohaib Hassan, S., Sadak, F.,
Shoman, M., Sajjad, M., Ali Dharejo, F., Paudel, A., Li, J., Meng, Z.,
Shutske, J., Karkee, M., 2025. Multi-modal llms in agriculture: A
comprehensive review. IEEE Transactions on Automation Science and
Engineering 22, 22510–22540. doi:10.1109/TASE.2025.3612154.
Schneider,C.A.,Rasband,W.S.,Eliceiri,K.W.,2012. Nihimagetoimagej:
25 years of image analysis. Nature methods 9, 671–675. doi:10.1038/nm
eth.2089.
Schönegg, T., Tuna, T., Yang, F., Waibel, G., Mattamala, M., Hutter, M.,
2024. Global path planning for autonomous vehicles in orchards and
vineyards, in: 2024 13th International Workshop on Robot Motion and
Control (RoMoCo), pp. 1–8. doi:10.1109/RoMoCo60539.2024.10604355.
Shekhar, C., Khosya, R., Thakur, K., Mahajan, D., Kumar, R., Kumar,
S., Sharma, A.K., 2024. A systematic review of pesticide exposure,
associated risks, and long-term human health impacts. Toxicology
Reports 13, 101840. doi:10.1016/j.toxrep.2024.101840.
Shi, N., Chen, Z., Li, H., Hua, H., Xu, T., Ye, J., 2024. Development
andassessmentofanovelsingle-drivevariableanglesprayingmachine.
Scientific Reports 14, 31264. doi:10.1038/s41598-024-82680-5.
Song, D., Liang, J., Xiao, X., Manocha, D., 2025. Vl-tgs: Trajectory gen-
eration and selection using vision language models in mapless outdoor
environments. IEEE Robotics and Automation Letters 10, 5791–5798.
doi:10.1109/LRA.2025.3559822.
Tan, A.H., Fung, A., Wang, H., Nejat, G., 2025. Mobile robot navigation
using hand-drawn maps: A vision language model approach. IEEE
Robotics and Automation Letters 10, 7667–7674. doi:10.1109/LRA.20
25.3577456.
Taseer, A., Han, X., 2024. Advancements in variable rate spraying for
precise spray requirements in precision agriculture using unmanned
aerial spraying systems: A review. Computers and Electronics in
Agriculture 219, 108841. doi:10.1016/j.compag.2024.108841.
Vu, C.T., Chen, H.C., Liu, Y.C., 2024. Toward autonomous navigation
for agriculture robots in orchard farming, in: 2024 IEEE International
Conference on Recent Advances in Systems Science and Engineering
(RASSE), pp. 1–8. doi:10.1109/RASSE64357.2024.10773736.
Wei,P.,Yan,X.,Yan,W.,Sun,L.,Xu,J.,Yuan,H.,2024. Preciseextraction
of targeted apple tree canopy with yolo-fi model for advanced uav
spraying plans. Computers and Electronics in Agriculture 226, 109425.
doi:10.1016/j.compag.2024.109425.
Williams, G., Drews, P., Goldfain, B., Rehg, J.M., Theodorou, E.A., 2018.
Information-theoreticmodelpredictivecontrol:Theoryandapplications
toautonomousdriving. IEEETransactionsonRobotics34,1603–1622.
doi:10.1109/TRO.2018.2865891.
Xu, W., Cai, Y., He, D., Lin, J., Zhang, F., 2022. Fast-lio2: Fast direct
lidar-inertialodometry. IEEETransactionsonRobotics38,2053–2073.
doi:10.1109/TRO.2022.3141876.
Yang, B., Zhang, Y., Feng, L., Chen, Y., Zhang, J., Xu, X., Aierken, N.,
Li, Y., Chen, Y., Yang, G., et al., 2025. Agrigpt: A large language
model ecosystem for agriculture. arXiv preprint arXiv:2508.08632.
doi:10.48550/arXiv.2508.08632.
Zhang, J., Chen, Y., Gu, C., Li, Z., Huang, J., Lv, X., Zhang, S., Qiu,
W., 2025. A variable-rate spraying method fusing canopy volume and
diseasedetectiontoreducepesticidedosage. ComputersandElectronics
in Agriculture 237, 110606. doi:10.1016/j.compag.2025.110606.
Zhou, X., Liu, M., Yurtsever, E., Zagar, B.L., Zimmer, W., Cao, H., Knoll,
A.C., 2024. Vision language models in autonomous driving: A survey
and outlook. IEEE Transactions on Intelligent Vehicles , 1–20. doi:10.1
109/TIV.2024.3402136.
C-.T. Vu et al.:Preprint submitted to ElsevierPage 13 of 13
论文原文与出版信息
arXiv 2026-10-06 [预印本]