Towards Open-Ended Visual Quality Comparison

Haoning Wu, Hanwei Zhu, Zicheng Zhang, Erli Zhang, Chaofeng Chen, Liang Liao, Chunyi Li, Annan Wang, Wenxiu Sun, Qiong Yan, Xiaohong Liu, Guangtao Zhai, Shiqi Wang, Weisi Lin

Introduction

Traditional Image Quality Assessment (IQA) has long relied on assigning scalar scores to individual images. However, this approach is inherently subjective; a "high quality" rating from one observer might be considered "medium" by another. To address this ambiguity, researchers have introduced Co-Instruct, an open-source model designed for open-ended visual quality comparison. By training on a massive dataset of 562,000 comparison samples, Co-Instruct enables Large Multi-modality Models (LMMs) to rank multiple images and provide detailed natural language justifications for their quality differences.

The Limitations of Absolute Scoring

The core problem with traditional IQA is the ambiguity of absolute labels. While a single image might receive conflicting ratings from different observers, humans are remarkably consistent when asked to rank images relative to one another. This consistency suggests that comparative evaluation is a more reliable metric for visual quality.

Comparison of single-image quality evaluation versus multi-image quality ranking. While observers disagree on absolute exposure levels, they reach a consensus on the relative ranking.

Existing LMMs like GPT-4V, while capable of detailed reasoning, often struggle with simultaneous multi-image comparison. They are typically trained on single-image instructions, leading to memory issues (context window saturation) or confusion when distinguishing between multiple visual inputs in a single prompt. Co-Instruct aims to bridge this gap by optimizing how models process and compare multiple images.

The Co-Instruct Methodology

To overcome these hurdles, the authors developed a multi-pronged strategy focused on efficiency and collaborative data generation.

Visual Token Reduction and Interleaving

Standard models represent a single image with over 1,000 tokens, making multi-image comparison computationally expensive. Co-Instruct utilizes a "visual abstractor" to compress each image into just 65 tokens. This allows the model to process up to four images simultaneously within its context window. Furthermore, an interleaved image-text format (e.g., "The first image: <img0>...") ensures the model correctly associates descriptions with specific images.

Collaborative Instruction Tuning

High-quality, human-labeled comparison data is scarce and expensive. Co-Instruct leverages two innovative "weak supervision" methods to build its training set:

  1. Merge2Compare: This method uses a text-only LLM (Mixtral) to synthesize existing human descriptions of single images into comparative analyses.
  2. Teach2Compare: This approach uses GPT-4V to generate comparison labels and question-answer pairs for thousands of unlabeled images, effectively "teaching" the student model through a more capable teacher.
Overview of the Co-Instruct-562K dataset construction, highlighting the Merge2Compare and Teach2Compare strategies.

Evaluation and Key Results

The model was evaluated using MICBench, a new benchmark for Multi-Image Comparison containing 2,000 multiple-choice questions across groups of three or four images. The results demonstrate the effectiveness of the Co-Instruct approach:

  • Superior Accuracy: Co-Instruct achieved approximately 30% higher accuracy than state-of-the-art open-source LMMs on comparison tasks.
  • Surpassing the Teacher: On the Q-Bench (Pairwise) benchmark, Co-Instruct achieved an accuracy of 80.18%, outperforming its teacher, GPT-4V (78.07%).
  • Single-Image Improvement: Interestingly, learning to compare also boosted the model's performance on single-image tasks by 5%, suggesting that comparative reasoning deepens the model's overall understanding of visual quality.

Conclusion

Co-Instruct represents a significant step toward more robust and human-like visual quality assessment. By prioritizing relative comparison over absolute scoring and optimizing token efficiency, the model provides a scalable framework for open-ended IQA. While currently limited to comparing 3-4 images, future work aims to extend these capabilities to larger image sets and video quality comparison.

Source: Towards Open-Ended Visual Quality Comparison (Wu et al., 2024).

Summary updated

BibTeX
@inproceedings{wu2024towards,
  author = {Haoning Wu and Hanwei Zhu and Zicheng Zhang and Erli Zhang and Chaofeng Chen and Liang Liao and Chunyi Li and Annan Wang and Wenxiu Sun and Qiong Yan and Xiaohong Liu and Guangtao Zhai and Shiqi Wang and Weisi Lin},
  title = {{Towards Open-Ended Visual Quality Comparison}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-72646-0\_21},
}
Figure