NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Agri-R1: Empowering Generalizable Agricultural Reasoning in Vision-Language Models with Reinforcement Learning

Wentao Zhang, Lifei Wang, Lina Lu, MingKun Xu, Shangyang Li, Yanchao Yang, Tao Fang · OpenReview

TL;DR

This paper introduces Agri-R1, a novel framework that uses automated reasoning synthesis and reinforcement learning to improve agricultural disease diagnosis in vision-language models (VLMs). Agri-R1 achieves strong performance with a compact 3B-parameter model, outperforming larger models and demonstrating significant gains in accuracy and cross-domain generalization, even with limited training data.

What Problem Does This Paper Address?

Diagnosing agricultural crop diseases is crucial for global food security, but current VLMs struggle with this task. Traditional methods like supervised fine-tuning (SFT) require vast amounts of labeled data, are often opaque ("black boxes"), and generalize poorly to new scenarios. While incorporating reasoning can improve robustness, existing approaches rely on expensive manual annotation of reasoning steps, which is impractical for agriculture. Furthermore, evaluating open-ended, linguistically diverse agricultural queries is challenging, as simple binary rewards are insufficient. This paper aims to bridge this gap by developing a data-efficient, interpretable, and robust VLM for agricultural disease diagnosis that can handle complex, open-ended questions.

Methods

Agri-R1 employs a two-stage framework:

  1. Generative Reasoning Enhancement Engine: This stage automates the creation of high-quality reasoning data.
  2. Automated Reasoning Generation: A state-of-the-art VLM generates structured reasoning chains (e.g., <think>...</think><answer>...</answer>) for agricultural VQA pairs.
  3. LLM-based Quality Filtering: An independent LLM acts as a judge, evaluating these reasoning chains based on a rubric (accuracy, completeness, detail, relevance, clarity) and retaining only those that score above a threshold (8.0/10.0). This process significantly reduces the need for manual annotation, using only 19% of the original data.
  4. GRPO Reinforcement Learning: This stage fine-tunes the VLM using Group Relative Policy Optimization (GRPO) with a novel reward function.
  5. Domain Vocabulary Construction: Custom vocabularies for plant and disease synonyms are created to handle linguistic variability.
  6. Three-Component Reward Function: The reward function evaluates responses based on:
  7. Format: Adherence to structured output tags.
  8. Answer: Factual correctness using weighted, five-tier fuzzy matching against domain vocabularies.
  9. Reasoning: Quality of the reasoning chain (logical coherence, professionalism, completeness).
  10. Group Relative Advantage Normalization: GRPO uses group-based advantage estimation to stabilize learning and reduce computational costs.

Datasets

  • Training Data: The framework utilizes the CDDMBench dataset, a large-scale agricultural VQA benchmark with approximately 1.05 million samples across 16 crop species and 60 disease categories. For GRPO training, a subset of 200K samples (19% of the original corpus) was used, with strict preservation of class distribution.
  • Evaluation Data:
    • CDDMBench Test Set: Used for in-distribution evaluation, including crop/disease recognition and disease knowledge QA.
  • AgMMU Benchmark: Used for cross-scenario generalization evaluation.

Key Insights and Ideas

  • Automated Reasoning Synthesis is Key: Manually creating reasoning data is a major bottleneck. Agri-R1 demonstrates that automated synthesis and LLM-based filtering can generate high-quality reasoning data efficiently, making RL-based VLM adaptation feasible in data-scarce domains.
  • Domain-Specific, Multi-Component Rewards Matter: Simple binary rewards are insufficient for open-ended agricultural VQA. A reward function that considers format, factual accuracy (with fuzzy matching), and reasoning quality is crucial for effective policy optimization.
  • Reasoning Amplifies RL Benefits: While GRPO alone improves performance, the explicit reasoning component in Agri-R1 significantly boosts gains, especially for complex, knowledge-intensive tasks. This suggests that RL helps learn better representations, while explicit reasoning guides the model to utilize them effectively for multi-step inference.
  • Frequency-Induced Bias is a Challenge: Standard GRPO can suffer from gradient competition, leading to poor performance on rare crops and diseases. This highlights the need for frequency-aware reward mechanisms or other strategies to address long-tail issues in RL.

Key Results

  • Compact Model, Big Performance: Agri-R1, a 3B-parameter model, achieves performance competitive with or exceeding 7B-13B parameter SFT baselines.
  • Accuracy Gains:
    • Crop Recognition: 92.58% accuracy (1.61 pp absolute gain over SFT).
  • Disease Recognition: 75.30% accuracy (+27.9% relative gain over SFT).
  • Knowledge QA: 84.0 points (+33.3% relative gain over SFT).
  • Cross-Domain Generalization: Agri-R1 shows a significant +26.10-point improvement on the AgMMU benchmark compared to SFT, demonstrating superior generalization capabilities.
  • Reasoning Quality: Human evaluation shows Agri-R1 significantly outperforms SFT and standard GRPO in diagnostic accuracy, reasoning validity, and practical utility.
  • Task Complexity Matters: The benefits of explicit reasoning are most pronounced on complex questions requiring multi-step inference, with gains reaching up to +61% on difficult knowledge QA tasks.

Limitations and Future Work

  • Frequency-Induced Bias: The paper identifies frequency-induced gradient competition as a failure mode for rare categories under standard GRPO. While a frequency-aware weighting scheme partially mitigates this, it's noted as an area for further principled solutions.
  • Future Directions:
    • Developing principled solutions for frequency-induced collapse, such as dynamic curriculum learning rewards.
  • Incorporating temporal modeling (e.g., recurrent architectures) to capture disease progression.
  • Enabling richer, multi-turn diagnostic dialogues for more natural farmer-AI interaction.

Summary updated

BibTeX
@misc{zhang2026agri,
  author = {Wentao Zhang and Lifei Wang and Lina Lu and MingKun Xu and Shangyang Li and Yanchao Yang and Tao Fang},
  title = {{Agri-R1: Empowering Generalizable Agricultural Reasoning in Vision-Language Models with Reinforcement Learning}},
  year = {2026},
  eprint = {2601.04672},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2601.04672},
}
Figure