GRIT: General Robust Image Task Benchmark

Tanmay Gupta, Ryan Marten, Aniruddha Kembhavi, Derek Hoiem · DOI

The GRIT benchmark logo.

Abstract

The General Robust Image Task (GRIT) benchmark introduces a rigorous "stress test" for computer vision systems, moving beyond standard accuracy metrics on isolated datasets. GRIT evaluates a model's ability to perform seven diverse tasks—ranging from object categorization to surface normal estimation—while navigating real-world challenges such as image distortions, distribution shifts, and novel concepts. By emphasizing generality, robustness, and calibration, GRIT provides a unified platform to measure the progress of general-purpose vision models.

Introduction: Beyond the "Specialist" Model

Current state-of-the-art computer vision (CV) models are primarily "specialists," often optimized for a single task or a specific dataset. While a model might excel at identifying objects in high-quality stock photos, it frequently fails when asked to segment those same objects or answer natural language questions about them. Furthermore, these models often rely on the independent and identically distributed (i.i.d.) assumption, leading to catastrophic failure when encountering "distribution shifts"—such as different camera sensors or entirely new concepts.

True general-purpose vision should mirror human capability: if an agent understands a concept like "sheep," it should be able to locate it, outline it, and discuss it across various visual contexts and qualities. GRIT addresses this gap by providing a unified evaluation framework for measuring how well models generalize and maintain reliability under pressure.

The GRIT Framework

GRIT is designed as a comprehensive evaluation suite rather than a simple dataset. It integrates seven core vision tasks to test the breadth of a model's capabilities:

  1. Object Categorization
  2. Object Localization
  3. Referring Expression Grounding
  4. Visual Question Answering (VQA)
  5. Segmentation
  6. Human Keypoint Detection
  7. Surface Normal Estimation
Overview of the GRIT benchmark's three pillars and seven core tasks.

Evaluation Pillars

The benchmark evaluates models across three critical dimensions:

  • Generality: Models are tested on "New Source" and "New Concept" partitions. This measures the ability to apply learned knowledge to unfamiliar data distributions and objects not seen during the restricted training phase.
  • Robustness: GRIT applies 20 types of image perturbations (e.g., JPEG compression, motion blur, Gaussian noise) at varying intensities. This assesses how performance degrades as image quality decreases.
  • Calibration: Beyond accuracy, GRIT measures "self-awareness." Using Root Mean Square Error (RMSE) between confidence scores and actual correctness, the benchmark penalizes models that are "confidently wrong," a vital metric for safe real-world deployment.

Methodology and Data

GRIT utilizes a "meta-dataset" approach, sourcing and re-partitioning established datasets such as COCO, Open Images, NYU v2, ScanNet, VQA v2, and RefCOCO. To ensure a fair comparison, the benchmark offers two tracks:

  • Restricted Track: Limits models to a specific set of training data to strictly test generalization to held-out concepts.
  • Unrestricted Track: Allows the use of massive "foundation models" (e.g., CLIP, Flamingo) to determine the current upper bounds of general-purpose vision.

A key innovation is the use of Per-Concept Sampling, which prevents the benchmark from being dominated by common categories like "person," ensuring that the "long tail" of rare concepts is adequately represented in the evaluation.

Key Insights and Results

Initial evaluations using baselines like GPV-1, GPV-2, and Mask-RCNN revealed several critical trends:

  • The Generality Gap: Even high-performing models show significant performance drops (sometimes as high as 80%) when the image source or concept changes, despite the task remaining identical.
  • Brittleness under Distortion: Robustness remains a major hurdle. For instance, Mask-RCNN’s localization accuracy degrades sharply even under moderate image noise.
  • Calibration Failures: Most models struggle with self-calibration, maintaining high confidence levels even when their predictions are incorrect due to out-of-distribution samples or noise.

Conclusion and Future Directions

GRIT serves as a "leaderboard for the real world," shifting the focus from incremental accuracy gains on static datasets toward building robust, general-purpose AI. While currently limited to 2D static images, future iterations of GRIT aim to incorporate video, 3D temporal understanding, and more complex reasoning or generative tasks. As models move toward internet-scale pre-training, defining "restricted" tracks becomes more challenging, yet the need for rigorous, multi-faceted evaluation has never been greater.

Summary updated

BibTeX
@misc{gupta2022grit,
  author = {Tanmay Gupta and Ryan Marten and Aniruddha Kembhavi and Derek Hoiem},
  title = {{GRIT: General Robust Image Task Benchmark}},
  year = {2022},
  eprint = {2204.13653},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2204.13653},
}
Figure