Quality-agnostic Image Captioning to Safely Assist People with Vision Impairment

Lu Yu, Malvina Nikandrou, Jiali Jin, Verena Rieser

Introduction

Image captioning technology holds immense potential for assisting people with vision impairments (VI) in navigating their daily lives. However, a significant gap exists between the performance of state-of-the-art models on curated datasets and their utility in real-world assistive contexts. Most models are trained on "clean" datasets like MS-COCO, which consist of well-framed, high-resolution photographs. In contrast, images captured by users with vision impairments often suffer from quality issues such as motion blur, poor lighting, or improper framing.

When standard models encounter these low-quality inputs, they frequently fail. More dangerously, they tend to be overconfident in their errors, leading to "hallucinations" that can pose serious safety risks—such as misidentifying a bottle of medication. This research introduces a "quality-agnostic" framework designed to provide accurate descriptions and reliable confidence scores, even when faced with significant photographic noise.

The Challenge of Overconfident Hallucinations

In assistive technology, the reliability of a model is as important as its accuracy. Standard captioning models are typically optimized for metrics like CIDEr, which reward linguistic similarity to ground-truth captions but do not account for the model's internal certainty. This leads to a lack of calibration: a model might assign a high probability to an incorrect caption because it has not been trained to handle the specific artifacts found in VI-captured images.

To address this, the researchers focused on Expected Calibration Error (ECE). A well-calibrated model ensures that its confidence score reflects its actual likelihood of being correct. For a user who cannot see the image, knowing that a model is "unsure" is critical information that prevents reliance on potentially dangerous misinformation.

Methodology: The Dual-Network Approach

The proposed framework utilizes a three-pronged strategy to achieve robustness and reliability:

1. Synthetic Noise Augmentation

To bridge the gap between clean training data and noisy real-world data, the researchers developed synthetic noise functions that mimic the specific errors found in the VizWiz dataset. These include random cropping (to simulate poor framing) and defocus blur. By applying these augmentations during training, the model is "stress-tested" against the types of degradation it will encounter in the field.

2. Dual-Network Architecture

The architecture employs two identical branches of a state-of-the-art model (AoANet). During training, one branch processes the original image while the other processes a noise-augmented version of the same image. This setup allows the model to learn features that are invariant to image quality.

3. Consistency Regularization

To ensure the model reaches the same conclusion regardless of image quality, the authors introduced consistency losses. They evaluated three types:

  • Latent Consistency (LAC): Matching internal feature representations.
  • Logit Consistency (LOC): Matching raw output scores.
  • Label Consistency (LBC): Matching the final probability distribution of words.

The Label Consistency (LBC) approach was found to be the most effective, successfully teaching the model that the semantic content (e.g., "a bottle of pills") remains the same even if the visual input is degraded.

Key Results and Safety Impact

The model was evaluated primarily on the VizWiz-Captions dataset, which contains approximately 39,000 images taken by people with vision impairments. The results demonstrate that the quality-agnostic approach significantly outperforms standard baselines:

  • Performance Gains: The DualNet+cons model achieved a 2.15-point absolute improvement in CIDEr scores over state-of-the-art baselines.
  • Robustness on Difficult Inputs: On images categorized as "hard" (where even human annotators struggled), the model showed a 3-point CIDEr improvement.
  • Improved Calibration: Most importantly for safety, the model reduced the ECE by 44% on hard images. This means the system is much more likely to report low confidence when it encounters a low-quality image, signaling to the user that the generated caption may be unreliable.

Conclusion and Future Directions

This research highlights that for specialized domains like assistive technology, domain-specific data and calibration are more valuable than simply scaling up models with general-purpose data. While the framework significantly closes the gap, a performance disparity remains between "easy" and "hard" images.

Future work aims to integrate "hedge phrases" (e.g., "I think this might be...") into the natural language output when confidence is low, further enhancing the user's ability to make informed decisions. This work, conducted in partnership with the Royal National Institute of Blind People (RNIB), represents a vital step toward safer, more reliable AI assistants for the VI community.

Summary updated

BibTeX
@inproceedings{yu2023quality,
  author = {Lu Yu and Malvina Nikandrou and Jiali Jin and Verena Rieser},
  title = {{Quality-agnostic Image Captioning to Safely Assist People with Vision Impairment}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2023},
  doi = {10.24963/ijcai.2023/697},
}
Figure