BananaVLM: A Domain-Adapted Vision Language Model for Banana Crop Disease Diagnosis
Organizations: Department of Cyber-Physical Systems Indian Institute of Science Bangalore 560 012, India
Abstract
Banana crop diseases threaten food security across the world, yet field diagnosis remains difficult because of limited expert access and visual similarity among disease classes. We present BananaVLM, a domain-adapted vision-language model for banana disease diagnosis built on LLaVA-v1.5-7B and fine-tuned with Low-Rank Adaptation (LoRA). To address the lack of multimodal agricultural instruction data, we introduce BananaInstruct, an automated pipeline that converts raw disease images into 80,000 question--answer pairs without manual annotation, using LLaVA-1.5-13B for symptom descriptions and Mistral-7B for agricultural Q&A generation and label grounding. Evaluated against 14 open-source and 5 closed-source VLMs on a nine-class benchmark, BananaVLM achieves 92.21% in-domain and 83.28% out-of-domain (OOD) classification accuracy, outperforming the best closed-source baseline, Gemini2.5Pro, by 49.8 and 63.3 percentage points, respectively. Binary healthy/diseased identification reaches 98.38% OOD accuracy with 1.00 recall. A controlled LoRA--DoRA comparison shows that DoRA performance degrades across epochs, while LoRA remains more effective for fine-grained classification. Qualitative evaluation using nine LLM judges yields G-Eval win rates of 0.81--0.96, while five domain experts prefer BananaVLM in 98.48% of 990 blind pairwise comparisons. These results show that lightweight domain adaptation with automated instruction tuning is an effective and scalable approach for specialized agricultural AI. Code, datasets, and model weights are available at https://github.com/samy101/banana-vlm
Figures & tables
| Disease / Condition | Images |
|---|---|
| Bract Mosaic Virus | 399 |
| Cordana | 558 |
| Insect Pest | 688 |
| Moko | 445 |
| Panama | 1,117 |
| Sigatoka | 1,368 |
| Stage | Model | Prompt Template | Output |
|---|---|---|---|
| 1 | LLaVA-1.5-13B | “You are an agricultural assistant. Describe visible symptoms in this image of a { crop } plant affected by { disease } . Focus only on what is visible.” | Image-grounded symptom description covering lesion morphology, chlorosis, necrosis, streak formation, and tissue collapse. Speculation and hallucination avoided by restricting to observable features only. |
| 2 | Mistral-7B | “[Stage 1 description] + [Disease attributes] + [External agricultural knowledge]. Generate 3–5 Q&A pairs covering symptom interpretation, disease aetiology, progression dynamics, yield impact, climatic risk factors, and integrated management strategies. No speculation; no dataset references; no scientific names.” | 3–5 multi-turn Q&A pairs per image; agronomist-style diagnostic and management dialogue spanning multiple agronomic dimensions. |
| 3 | Mistral-7B | “[Disease label + crop]. Generate 3–5 concise Q&A pairs. Answers must be single words only. Focus on distinguishing visually similar disease pairs (e.g., Sigatoka vs. Yellow & Black Sigatoka).” | 3–5 short-form Q&A pairs for deterministic label grounding and fine-grained class discrimination; critical for substring matching evaluation. |
| Parameter | Value |
|---|---|
| Base Model | LLaVA-v1.5-7B |
| Vision Encoder | CLIP ViT-L/14-336 (frozen) |
| LoRA Rank ( ) | 64 |
| LoRA Alpha ( ) | 16 |
| LoRA Dropout | 0.05 |
| LoRA Target Modules | q, k, v, o projections |
| Class | In-Domain | OOD |
|---|---|---|
| Bract Mosaic Virus | 40 | 50 |
| Cordana | 56 | 162 |
| Insect Pest | 69 | 86 |
| Moko | 45 | 55 |
| Panama | 112 | 41 |
| Pestalotiopsis | 58 | 173 |
| Model | In-Domain | Out-of-Domain | ||
|---|---|---|---|---|
| ID (%) | Cls (%) | ID (%) | Cls (%) | |
| LLaVA-7B [ 5 ] | 67.40 | 12.15 | 27.55 | 9.59 |
| LLaVA-13B [ 5 ] | 68.95 | 10.72 | 7.61 | 20.85 |
| LLaVA-34B [ 5 ] | 80.44 | 8.73 | 79.15 | 17.35 |
| Qwen2.5-VL-7B [ 35 ] | 71.05 | 0.00 | 90.72 | 21.92 |
| Qwen3-VL-8B [ 36 ] | 85.97 | 12.04 | 99.24 | 21.46 |
| Model | In-Domain | Out-of-Domain | ||
|---|---|---|---|---|
| ID (%) | Cls (%) | ID (%) | Cls (%) | |
| Gemini 2.5 Flash Lite | 90.01 | 22.98 | 97.14 | 13.24 |
| Gemini 2.5 Flash | 91.22 | 40.87 | 93.36 | 14.76 |
| Gemini 3 Flash Preview | 93.90 | 40.08 | 96.44 | 23.90 |
| Gemini 3.1 Flash Lite | 92.90 | 42.28 | 98.10 | 13.85 |
| Gemini 2.5 Pro | 93.22 | 42.42 | 95.01 | 20.09 |
| In-Domain (797 imgs) | Out-of-Domain (743 imgs) | ||||||
|---|---|---|---|---|---|---|---|
| Class | P | R | F1 | Class | P | R | F1 |
| Bract Mosaic V. | .97 | .95 | .96 | Cordana | .99 | .92 | .96 |
| Insect Pest | .90 | .44 | .59 | Pestalotiopsis | .96 | .77 | .85 |
| Cordana | .96 | .93 | .95 | Moko | .95 | 1.00 | .97 |
| Moko | 1.00 | .96 | .98 | Panama | .74 | .90 | .81 |
| Panama | .95 | .91 | .93 | Bract Mosaic V. | .67 | .98 | .80 |
| Epoch | In-Domain | Out-of-Domain | ||
|---|---|---|---|---|
| ID (%) | Cls (%) | ID (%) | Cls (%) | |
| 3 | 99.62 | 34.5 | 97.57 | 9 |
| 5 | 97.73 | 20.2 | 96.97 | 9 |
| 7 | 96.96 | 19.5 | 96.96 | 9 |
| Method | In-Domain | Out-of-Domain | ||
|---|---|---|---|---|
| ID (%) | Cls (%) | ID (%) | Cls (%) | |
| DoRA | 96.96 | 19.5 | 96.96 | 9 |
| LoRA | 96.90 | 92.21 | 98.38 | 83.28 |
| Task | Latency | Throughput | GPU Mem. |
|---|---|---|---|
| (s/img) | (img/s) | (MB) | |
| Q&A (Cls., Symp., Mgmt.) | 12.04 | 0.083 | 15,644.6 |
| Classification & ID | 8.83 | 0.113 | 14,844.6 |
| Judge | Dis.ID | Cls | Symp. | Mgmt | Win |
|---|---|---|---|---|---|
| Llama 3.1 | 1.47/4.28 | 1.87/4.45 | 2.86/4.63 | 2.87/4.61 | 0.92 |
| Mistral | 1.16/4.72 | 1.13/4.46 | 2.60/4.23 | 2.79/3.97 | 0.83 |
| Mistral-Small | 0.72/3.70 | 0.80/3.57 | 2.17/3.95 | 2.93/3.75 | 0.89 |
| Gemma3-12B | 1.17/3.70 | 1.01/3.61 | 2.03/3.68 | 2.25/3.70 | 0.96 |
| Qwen2.5-14B | 0.81/3.87 | 0.55/3.56 | 1.48/3.86 | 2.75/3.81 | 0.90 |
| Qwen2.5-32B | 1.27/3.53 | 0.98/3.30 | 1.95/3.57 | 3.03/3.66 | 0.82 |
| Evaluator | Base | BananaVLM | Win Rate |
|---|---|---|---|
| Evaluator 1 | 1/198 | 197/198 | 99.49% |
| Evaluator 2 | 0/198 | 198/198 | 100.00% |
| Evaluator 3 | 7/198 | 191/198 | 96.46% |
| Evaluator 4 | 4/198 | 194/198 | 97.98% |
| Evaluator 5 | 3/198 | 195/198 | 98.48% |
| Aggregate | 15/990 | 975/990 | 98.48% |
| User | Identify the disease and visible symptoms. |
| Ground Truth | Disease : MOKO. Symptoms : Leaf yellowing, wilting, vascular browning, fruit rot, plant collapse. Action : Remove infected plants, disinfect tools, control insects, use clean seedlings. |
| BananaVLM | Classified as Moko . Symptoms include discoloration and deformation of leaves, which may turn yellow or brown, become curled or twisted, and exhibit wilting or drying out . |
| Gemini 3.1 Pro | Most likely Sigatoka Leaf Spot (Yellow Sigatoka) . |
| GPT-5.3 | Resembles severe leaf drying / senescence or environmental damage rather than a fungal or bacterial infection. |