Generating Image Descriptions via Sequential Cross-Modal Alignment Guided by Human Gaze

Ece Takmaz, Sandro Pezzelle, Lisa Beinborn, Raquel Fernández

Introduction: Bridging the Gap Between AI and Human Perception

When humans describe a visual scene, their eyes move in a deliberate, sequential pattern. We typically fixate on an object just moments before naming it, a phenomenon known as sequential cross-modal alignment. In contrast, most state-of-the-art image captioning systems rely on "bottom-up" attention, identifying all objects in a scene simultaneously or viewing the image as a static whole. While effective at generating accurate labels, these models often lack the natural flow and descriptive nuance of human speech.

Researchers have addressed this by integrating human eye-tracking data directly into the captioning process. By teaching models to "see" the world through a human's eyes, they have developed a system that produces more diverse, natural, and detailed descriptions.

The Concept of Sequential Alignment

The core idea is that the temporal order of visual fixations provides a roadmap for natural language generation. As shown in the figure below, there is a clear synchronization between what a person looks at and the words they utter.

Sequential alignment of gaze fixations, audio, and text in the DIDEC dataset.

Methods: Integrating Gaze into Deep Learning

The researchers built upon the "Bottom-Up and Top-Down Attention" framework, introducing several variants to test the impact of gaze data:

  1. NO-GAZE (Baseline): A standard model using only object detection features.
  2. GAZE-AGG: Uses a static "saliency map" (a heat map of all fixations combined) to guide attention.
  3. GAZE-SEQ: A dynamic approach where the model receives a sequence of masked images corresponding to specific fixations at each time step.
  4. GAZE-2SEQ: The most sophisticated variant, which utilizes a dedicated Gaze LSTM to process fixation sequences independently before language generation.
The GAZE-2SEQ model architecture, featuring a Gaze LSTM and attention over bottom-up regions.

To evaluate these models, the team introduced a new metric: SSD (Semantic and Sequential Distance). Unlike traditional metrics like BLEU or CIDEr, SSD measures how well the order and meaning of generated words align with human-produced references.

Datasets and Training

The study utilized the Dutch Image Description and Eye-tracking Corpus (DIDEC), which contains 4,604 descriptions of 307 images from the MS COCO dataset, complete with synchronized eye-tracking and audio data. To overcome the small size of DIDEC, the models were pre-trained on a translated version of the massive MS COCO dataset.

Key Insights: Why Gaze Matters

  • Sequentiality is Key: While static heat maps (GAZE-AGG) help identify objects, only sequential models (GAZE-SEQ/2SEQ) successfully captured the natural flow of human descriptions.
  • Capturing the "Small Stuff": Gaze-guided models were significantly better at noticing small, background details—such as donuts on a table—that standard models often ignore in favor of prominent subjects.
  • Natural Disfluencies: Interestingly, the models occasionally produced "disfluencies" (e.g., uh uh uh). While typically considered errors, these reflected the model's uncertainty when visual input was unclear, mimicking human cognitive load during speech.

Results and Performance

The GAZE-2SEQ model outperformed all other variants:

  • Alignment: It achieved the lowest (best) SSD score of 5.81, compared to 5.86 for the baseline.
  • Diversity: It produced nearly double the unique vocabulary (109 unique tokens) of the baseline (63 tokens).
  • Variation: By following different human "scanpaths" (eye movement patterns), the model generated an average of 4.4 distinct descriptions per image, whereas standard models tend to produce repetitive, singular captions.

Conclusion and Future Directions

This research demonstrates that human gaze is a powerful signal for making AI more "human-like." By mimicking the sequential nature of human perception, models can generate descriptions that are not only accurate but also feel more natural and intuitive.

Future work aims to scale this approach beyond the Dutch language and explore gaze prediction. If a model can learn to simulate a human scanpath without needing real-time eye-tracking data, it could generate high-quality, natural captions for any image at scale.

Summary updated

BibTeX
@inproceedings{takmaz2020generating,
  author = {Ece Takmaz and Sandro Pezzelle and Lisa Beinborn and Raquel Fernández},
  title = {{Generating Image Descriptions via Sequential Cross-Modal Alignment Guided by Human Gaze}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2020},
  doi = {10.18653/v1/2020.emnlp-main.377},
}
Figure