File size: 5,193 Bytes
ecc0188
 
 
a9418cf
ecc0188
 
3f1bfd0
 
396a933
 
 
 
 
 
 
 
 
 
863904c
 
396a933
03063a4
cdcaea9
e1f698b
 
 
 
 
 
 
 
 
 
 
 
 
 
a40df41
 
 
 
e1f698b
cdcaea9
 
e1f698b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7501380
ecc0188
 
fd6350e
 
 
 
 
 
 
 
 
 
 
 
 
1163ba2
fd6350e
 
 
 
9b4d78f
11c36ec
9b4d78f
6b4e42a
fd6350e
 
 
9b4d78f
11c36ec
9b4d78f
6b4e42a
fd6350e
 
 
 
9a00bce
 
 
 
d1d5473
 
 
b969854
d1d5473
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
b969854
f88c3dd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9a00bce
 
 
 
 
 
 
 
 
 
 
 
 
 
 
fd6350e
9a00bce
 
 
 
 
 
 
 
 
 
f88c3dd
9a00bce
8ddd040
9a00bce
 
 
 
 
 
 
5ad902b
9a00bce
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
---
pretty_name: Fruit Ripeness Dataset
task_categories:
- image-to-text
dataset_info:
  features:
  - name: id
    dtype: string
  - name: fruit_type
    dtype: string
  - name: image
    dtype: image
  - name: growth_stage
    dtype: string
  - name: recommendation
    dtype: string
  - name: consumer_score
    dtype: int32
  - name: local_path
    dtype: string
  splits:
  - name: Apple
  - name: Banana
  - name: DragonFruit
  - name: Grape
  - name: Guava
  - name: Kiwi
  - name: Lychee
  - name: Mango
  - name: Orange
  - name: Papaya
  - name: Peach
  - name: pear
  - name: Pomegranate
  - name: Pomelo
  - name: Strawberry
  - name: Tomato
configs:
- config_name: default
  data_files:
  - split: Apple   
    path:  label/Apple_dataset.parquet
  - split: Banana   
    path: label/Banana_dataset.parquet
  - split: DragonFruit   
    path: label/DragonFruit_dataset.parquet
  - split: Grape   
    path: label/Grape_dataset.parquet
  - split: Guava   
    path: label/Guava_dataset.parquet
  - split: Kiwi   
    path: label/Kiwi_dataset.parquet
  - split: Lychee   
    path: label/Lychee_dataset.parquet
  - split: Mango   
    path: label/Mango_dataset.parquet
  - split: Orange   
    path: label/Orange_dataset.parquet
  - split: Papaya   
    path: label/Papaya_dataset.parquet
  - split: Peach   
    path: label/Peach_dataset.parquet
  - split: pear   
    path: label/pear_dataset.parquet
  - split: Pomegranate   
    path: label/Pomegranate_dataset.parquet
  - split: Pomelo   
    path: label/Pomelo_dataset.parquet
  - split: Strawberry   
    path: label/Strawberry_dataset.parquet
  - split: Tomato   
    path: label/Tomato_dataset.parquet
  
---

# πŸ₯­ FruitBench: A Multimodal Benchmark for Fruit Growth Understanding

**Paper**: *FruitBench: A Multimodal Benchmark for Comprehensive Fruit Growth Understanding in Real-World Agriculture*  
**Conference**: NeurIPS 2025 (submitted)  
**Authors**: Jihao Li*, Jincheng Hu*, Pengyu Fu*, Ming Liu, et al.

---
## πŸ“Œ Dataset Summary

**FruitBench** is the first large-scale multimodal benchmark designed to evaluate vision-language models on real-world agricultural understanding. It focuses on **fruit growth modeling**, supporting:

- 🍎 Fruit Type Classification  
- 🌱 Growth Stage Recognition (`unripe`, `pest-damaged`, `mature`, `rotten`)  
- 🌾 Agricultural Action Recommendation  (`keep for further growth`, `picking it`, `try to recover it`, `discard it`)
- 🍽️ Consumer Score Prediction (1–100)

The dataset contains **3,200 high-quality expert-annotated images** covering **16 fruit categories**, each across **4 growth stages**.

<p align="center">
<img src="fig2.png" alt="Dataset sample" width="80%"/>
</p>

---
## πŸ” Tasks

<p align="center">
<img src="fig1.png" alt="Task Overview" width="80%"/>
</p>

1. **Type Classification**  
2. **Growth Stage Identification**  
3. **Action Recommendation**  
4. **Consumer Score Prediction**
   
All tasks are evaluated under both **zero-shot** and **one-shot** settings using multimodal large language models (MLLMs).

---
## πŸ“‚ Data Structure

The dataset is organized as follow:
```
FruitBench/
β”œβ”€β”€ Data/
β”‚ β”œβ”€β”€ Apple/
β”‚ β”‚ β”œβ”€β”€ Mature/
      β”œβ”€β”€0001.png
      β”œβ”€β”€0002.png
      β”œβ”€β”€0003.png
      β”œβ”€β”€...
      └──0050.png
β”‚ β”‚ β”œβ”€β”€ Unripe/
β”‚ β”‚ β”œβ”€β”€ Rotten/
β”‚ β”‚ └── Pest-damage/
β”‚ β”œβ”€β”€ Banana/
β”‚ β”œβ”€β”€ Mango/
β”‚ └── ...
β”œβ”€β”€ label/
β”‚ β”œβ”€β”€ Apple_dataset.parquet
β”‚ β”œβ”€β”€ Banana_dataset.parquet
β”‚ β”œβ”€β”€ Mango_dataset.parquet
β”‚ └── ...
β”œβ”€β”€ json/
β”‚ β”œβ”€β”€ Apple.json
β”‚ β”œβ”€β”€ Banana.json
β”‚ └── ...
```

## Evaluation
We evaluate a total of **15 multimodal models** of different types and sizes, covering diverse model architectures, parameter scales, and vision-language capabilities. The evaluated models include:

- CogVLM2-Llama3-Chat  
- DeepSeek-VL-Chat  
- DeepSeek-VL2  
- InternVL2_5  
- Janus-Pro  
- Mantis-siglip-llama3  
- Mantis-Idefics2  
- MiniCPM-Llama3-V2_5  
- MiniCPM-o-2.6  
- mPLUG-OWL3  
- Qwen2.5-VL-Instruct  
- Yi-VL  
*(15 models in total, with various types and sizes)*

## βš™οΈ Environment Setup

We provide both `conda` and `pip` setup options (Python 3.11 recommended).

### βœ… Option A: Conda (Recommended)

```bash
conda env create -f environment.yml
conda activate fruitbench
```
### βœ… Option B: pip

```bash
pip install -r requirements.txt
```
---
## πŸš€ Usage

### 1. Clone the Repository

```bash
git lfs install
git clone https://huggingface.co/datasets/TJIET/FruitBench

```
### 3. Evaluate Models
As an example, the evaluation command for **CogVLM2-Llama3-Chat** is:
```bash
python scripts/CogVLM2-0-shot.py
```
## πŸ“Š Benchmark Details
- βœ… 3,200 annotated fruit images
- πŸ“¦ 16 fruit types: strawberry, tomato, guava, dragon fruit, orange, pear, lychee, mango, kiwi, papaya, apple, grape, pomegranate, peach, banana, pomelo
- 🌱 4 growth stages: unripe, pest-damaged, mature, rotten
- πŸ§‘β€πŸŒΎ Expert action labels: keep for growth / pick it / recover / discard
- 🎯 Consumer scores: average of 30 human ratings (range: 1–100)

---