omniview-zero-shot-eval
Omniview-Tuning: Boosting Viewpoint Invariance of Vision-Language Pre-training Models — Shouwei Ruan et al. (2024) (arXiv:2404.12139, 2024)
What this evaluates
This evaluation probes the viewpoint invariance and robustness of vision-language pre-training models. It measures how well models maintain classification accuracy on clean data, common out-of-distribution shifts, and specifically challenging viewpoint-variant images compared to standard baselines.
Datasets
- ImageNet-1K — total ?; splits: test (-1)
- ImageNet-V+ — total ?; splits: test (-1)
- ImageNet-V — total ?; splits: test (-1)
- OOD-CV — total ?; splits: test (-1)
- MIRO — total ?; splits: test (-1)
Metrics
Top-1 accuracy (primary) — range: percent
- Calculated as the number of correctly predicted samples divided by the total number of samples in the benchmark, multiplied by 100.
Input / output format
Input: Single RGB image per instance.
Output: Predicted class label (and confidence scores).
Scoring recipe
correct = 0
for img, gold_label in dataset:
logits = model.encode(img)
pred_label = argmax(logits)
if pred_label == gold_label:
correct += 1
top1_acc = (correct / len(dataset)) * 100
Common pitfalls
- Confusing viewpoint-OOD benchmarks (e.g., ImageNet-V, MIRO) with standard distribution-shift benchmarks (e.g., ImageNet-V2, ImageNet-Sketch), which measure different robustness properties.
- Failing to follow the standard CLIP prompting and candidate category name conventions, which significantly impacts zero-shot classification performance.
- Reporting average accuracy across all benchmarks without separating clean, common-OOD, and viewpoint-OOD domains, obscuring the model's specific viewpoint invariance gains.
Evidence (verbatim from paper)
Datasets and Metrics. We employ a various set of benchmarks for evaluation, including clean data distributions (ImageNet [13] and CIFAR [28]), common 2D-OOD (ImageNet-V2 [43], ImageNet-Sketch [56], ImageNet-O [22], ImageNet-R [20] and OOD-CV [60]), and most importantly, viewpoint-OOD (ImageNet-V [15], ImageNet-V+ [47], OOD-CV(Pose) [60] and MIRO [7]) datasets. For each benchmark, we report Top-1 and Top-5 accuracy and average accuracy across all benchmarks. The evaluations follow the standard prompting engineering and candidate category names conventions of CLIP [41].
Citation
@misc{ruan2024omniviewtuning,
title={Omniview-Tuning: Boosting Viewpoint Invariance of Vision-Language Pre-training Models},
author={Shouwei Ruan et al. (2024)},
year={2024},
note={arXiv:2404.12139}
}
1---2name: omniview-zero-shot-eval3description: This evaluation probes the viewpoint invariance and robustness of vision-language pre-training models. It measures how well models maintain classification accuracy on clean data, common out-of-distribution shifts, and specifically challenging viewpoint-variant images compared to standard baselines. Use when the user wants to benchmark on ImageNet-1K, ImageNet-V+, ImageNet-V, OOD-CV, MIRO, or asks about evaluating this task. Reports Top-1 accuracy.4metadata:5 source: https://skillmd.com/skills/qhjqhj00/omniview-zero-shot-eval6 skill_kind: dataset_eval7 source_arxiv: 2404.121398 bibtex_key: ruan2024omniviewtuning9 confidence: high10---1112# omniview-zero-shot-eval1314> Omniview-Tuning: Boosting Viewpoint Invariance of Vision-Language Pre-training Models — Shouwei Ruan et al. (2024) (arXiv:2404.12139, 2024)1516## What this evaluates1718This evaluation probes the viewpoint invariance and robustness of vision-language pre-training models. It measures how well models maintain classification accuracy on clean data, common out-of-distribution shifts, and specifically challenging viewpoint-variant images compared to standard baselines.1920## Datasets2122- **ImageNet-1K** — total ?; splits: test (-1)23- **ImageNet-V+** — total ?; splits: test (-1)24- **ImageNet-V** — total ?; splits: test (-1)25- **OOD-CV** — total ?; splits: test (-1)26- **MIRO** — total ?; splits: test (-1)2728## Metrics2930- `Top-1 accuracy` **(primary)** — range: percent31 - Calculated as the number of correctly predicted samples divided by the total number of samples in the benchmark, multiplied by 100.3233## Input / output format3435**Input**: Single RGB image per instance.3637**Output**: Predicted class label (and confidence scores).3839## Scoring recipe4041```python42correct = 043for img, gold_label in dataset:44 logits = model.encode(img)45 pred_label = argmax(logits)46 if pred_label == gold_label:47 correct += 148top1_acc = (correct / len(dataset)) * 10049```5051## Common pitfalls5253- Confusing viewpoint-OOD benchmarks (e.g., ImageNet-V, MIRO) with standard distribution-shift benchmarks (e.g., ImageNet-V2, ImageNet-Sketch), which measure different robustness properties.54- Failing to follow the standard CLIP prompting and candidate category name conventions, which significantly impacts zero-shot classification performance.55- Reporting average accuracy across all benchmarks without separating clean, common-OOD, and viewpoint-OOD domains, obscuring the model's specific viewpoint invariance gains.5657## Evidence (verbatim from paper)5859> Datasets and Metrics. We employ a various set of benchmarks for evaluation, including clean data distributions (ImageNet [13] and CIFAR [28]), common 2D-OOD (ImageNet-V2 [43], ImageNet-Sketch [56], ImageNet-O [22], ImageNet-R [20] and OOD-CV [60]), and most importantly, viewpoint-OOD (ImageNet-V [15], ImageNet-V+ [47], OOD-CV(Pose) [60] and MIRO [7]) datasets. For each benchmark, we report Top-1 and Top-5 accuracy and average accuracy across all benchmarks. The evaluations follow the standard prompting engineering and candidate category names conventions of CLIP [41].6061## Citation6263```bibtex64@misc{ruan2024omniviewtuning,65 title={Omniview-Tuning: Boosting Viewpoint Invariance of Vision-Language Pre-training Models},66 author={Shouwei Ruan et al. (2024)},67 year={2024},68 note={arXiv:2404.12139}69}70```7172- arXiv: 2404.12139