Evaluation

September 28, 2025 · View on GitHub

We evaluate AutoPrune with different LLaVA models on a diverse set of 10 benchmarks. To ensure the reproducibility, we evaluate the models with greedy decoding following the originial LLaVA.

Scripts

Before preparing task-specific data, you MUST first download eval.zip. It contains custom annotations, scripts, and the prediction files with vanilla LLaVA-1.5. Extract it to ./playground/data/eval. This also provides a general structure for all datasets.

VQAv2

  1. Download test2015 and put it under ./playground/data/eval/vqav2.
  2. Multi-GPU inference.
CUDA_VISIBLE_DEVICES=0,1,2,3 bash scripts/v1_5/eval/vqav2.sh 64
  1. Submit the results to the evaluation server: ./playground/data/eval/vqav2/answers_upload.

GQA

  1. Download the data and evaluation scripts following the official instructions and put under ./playground/data/eval/gqa/data. You may need to modify eval.py as this due to the missing assets in the GQA v1.2 release.
  2. Multi-GPU inference.
CUDA_VISIBLE_DEVICES=0,1,2,3,4 bash scripts/v1_5/eval/gqa.sh 64

ScienceQA

  1. Under ./playground/data/eval/scienceqa, download images, pid_splits.json, problems.json from the data/scienceqa folder of the ScienceQA repo.
  2. Single-GPU inference and evaluate.
CUDA_VISIBLE_DEVICES=0 bash scripts/v1_5/eval/sqa.sh 64

TextVQA

  1. Download TextVQA_0.5.1_val.json and images and extract to ./playground/data/eval/textvqa.
  2. Single-GPU inference and evaluate.
CUDA_VISIBLE_DEVICES=0 bash scripts/v1_5/eval/textvqa.sh 64

POPE

  1. Download coco from POPE and put under ./playground/data/eval/pope.
  2. Single-GPU inference and evaluate.
CUDA_VISIBLE_DEVICES=0 bash scripts/v1_5/eval/pope.sh 64

MME

  1. Download the data following the official instructions here.
  2. Downloaded images to MME_Benchmark_release_version.
  3. put the official eval_tool and MME_Benchmark_release_version under ./playground/data/eval/MME.
  4. Single-GPU inference and evaluate.
CUDA_VISIBLE_DEVICES=0 bash scripts/v1_5/eval/mme.sh 64

MMBench

  1. Download mmbench_dev_20230712.tsv and put under ./playground/data/eval/mmbench.
  2. Single-GPU inference.
CUDA_VISIBLE_DEVICES=0 bash scripts/v1_5/eval/mmbench.sh 64
  1. Submit the results to the evaluation server: ./playground/data/eval/mmbench/answers_upload/mmbench_dev_20230712.

MMBench-CN

  1. Download mmbench_dev_cn_20231003.tsv and put under ./playground/data/eval/mmbench.
  2. Single-GPU inference.
CUDA_VISIBLE_DEVICES=0 bash scripts/v1_5/eval/mmbench_cn.sh 64
  1. Submit the results to the evaluation server: ./playground/data/eval/mmbench/answers_upload/mmbench_dev_cn_20231003.

Scripts with LLaVA-NeXT (LLaVA-1.6)

To evaluate AutoPrune with LLaVA-NeXT, you just need to replace the v1_5 with v1_6 in the shell scripts. For example, to evaluate VQAv2 with LLaVA-NeXT, you can run:

CUDA_VISIBLE_DEVICES=0,1,2,3 bash scripts/v1_6/eval/vqav2.sh 160

Results

LLaVA-1.5-7B

MethodPresent atAvg. tokensMMEMMBSQAGQATextVQARatioFLOPs
LLaVA-1.5-7BNeurIPS’24576186264.769.561.958.2100%100%
Avg. tokens 192
ToMe [15]arXiv’22192156360.565.254.352.189.9%44.3%
FastV [18]ECCV’24192161261.267.352.752.590.6%45.7%
SparseVLM [20]arXiv’24192172162.569.157.666.395.5%46.3%
PDrop [13]CVPR’25192179763.369.257.356.596.8%43.9%
Ours-192183264.969.660.457.799.0%42.9%
Avg. tokens 128
ToMe [15]arXiv’22128134353.359.652.449.181.1%35.1%
FastV [18]ECCV’24128149056.160.249.650.683.9%36.8%
SparseVLM [20]arXiv’24128169660.067.156.054.993.0%37.3%
PDrop [13]CVPR’25128176161.668.457.156.695.6%35.1%
Ours-128178564.369.759.957.498.1%33.7%
Avg. tokens 64
ToMe [15]arXiv’2264113843.750.048.645.370.5%25.7%
FastV [18]ECCV’2464125648.051.146.147.873.7%27.9%
SparseVLM [20]arXiv’2464150556.262.252.751.885.9%28.2%
PDrop [13]CVPR’2564156158.869.047.550.687.6%25.5%
Ours-64174563.669.657.757.196.7%23.2%
MethodPresent atAvg. tokens GQASQATextVQAPOPEMMEMMBMMBCNRatio (%)
LLaVA-1.5-7BNeurIPS’2457661.969.558.285.9151164.758.3100.0
Avg. tokens 128
ToMeICLR’2312852.459.649.162.8108853.348.880.9%
FastVECCV’2412849.660.250.659.6120956.151.482.6%
SparseVLMICML’2512856.067.154.980.5137660.051.192.4%
PruMerge+arXiv’2412857.867.654.381.5142161.354.794.5%
VisionZipCVPR’2512857.668.956.883.2143262.056.796.4%
FasterVLMarXiv’2412858.269.157.084.6146162.757.397.4%
Ours-12859.969.657.785.2145864.358.398.7%
Avg. tokens 64
ToMeICLR’236448.650.045.352.592243.738.969.2%
FastVECCV’246446.151.147.848.0102048.042.771.6%
SparseVLMICML’256452.762.251.875.1122156.246.185.4%
PruMerge+arXiv’246454.968.653.077.4119859.351.089.6%
VisionZipCVPR’256455.169.055.577.0136660.155.493.1%
FasterVLMarXiv’246455.469.155.880.4137061.355.194.0%
Ours-6457.769.657.182.5144563.657.197.1%

LLaVA-1.5-13B

MethodPresent at# Token VQAV2GQATextVQAPOPEMMERatio (%)
LLaVA-1.5-13B-57680.063.361.286.01531100%
Tokens 288
FastVECCV’2428879.562.660.985.2154599.6%
SparseVLMICML’2528878.559.959.571.3149794.1%
FasterVLMarXiv’2428879.061.060.086.0153098.6%
Ours-28879.863.060.986.1153099.8%
Tokens 144
FastVECCV’2414477.259.960.079.4149495.8%
SparseVLMICML’2514476.158.057.968.6149991.8%
FasterVLMarXiv’2414477.458.759.083.1146795.7%
Ours-14479.061.560.286.7150698.7%
Tokens 58
FastVECCV’245870.354.955.667.3136086.5%
SparseVLMICML’255868.354.452.662.6128582.8%
FasterVLMarXiv’245873.156.057.474.7137190.0%
Ours-5877.258.559.083.6147895.8%

LLaVA-NeXT-7B

MethodPresent atTokensVQAV2GQATextVQAPOPEMMERatio
LLAVA-NeXT-7BNeurIPS’24288081.262.959.686.31513.8100.0%
Tokens 640
FastVECCV’2464078.960.458.483.11477.397.0%
SparseVLMarXiv’2464078.259.156.280.91456.394.9%
VisionZipCVPR’2564079.260.158.582.21468.496.7%
FasterVLMarXiv’2464079.861.659.385.91480.798.6%
Ours64080.562.659.686.71515.799.7%
Tokens 320
FastVECCV’2432071.955.955.771.71282.987.7%
SparseVLMarXiv’2432071.456.552.473.51342.787.9%
VisionZipCVPR’2532074.258.155.375.01348.890.5%
FasterVLMarXiv’2432075.758.457.680.41370.193.3%
Ours32078.961.359.585.61471.698.2%
Tokens 160
FastVECCV’2416061.849.851.951.71079.574.7%
SparseVLMarXiv’2416062.250.245.154.61167.174.9%
VisionZipCVPR’2516067.354.354.759.41239.782.3%
FasterVLMarXiv’2416070.654.756.072.91226.086.7%
Ours16076.459.457.281.41457.094.9%