Weakly Supervised Attended Object Detection Using Gaze Data as Annotations

Michele Mazzamuto, Francesco Ragusa, Antonino Furnari, Giovanni Signorello, Giovanni Maria Farinella · DOI

Introduction

In the field of egocentric (first-person) vision, "attended object detection" is a critical task. It involves identifying the specific object a wearer is focusing on within their field of view. This capability is foundational for developing intelligent systems such as augmented reality (AR) museum guides, industrial training assistants, and assistive technologies for the visually impaired. However, the primary obstacle to scaling these systems is the "annotation bottleneck": the immense human effort required to manually draw bounding boxes around objects in thousands of video frames to train deep learning models.

This research explores a weakly supervised approach to overcome this bottleneck. By leveraging eye-tracking (gaze) data—which is naturally collected by many modern smart glasses—the authors propose a method to train object detectors using only gaze coordinates and simple frame-level labels, significantly reducing the cost of data preparation.

The Challenge of Full Supervision

Standard object detection models, such as Faster R-CNN, rely on full supervision. This requires annotators to provide precise spatial boundaries (bounding boxes) for every object of interest in every frame. In dynamic, first-person video, this process is prohibitively slow and expensive. The authors pose a fundamental question: Can we achieve functional detection performance by treating gaze data as a "free" pointer, combined with a single label indicating what the user is looking at, rather than where the boundaries are?

Proposed Methodology

The researchers developed and compared three weakly supervised architectures designed to operate without bounding box training data:

1. Sliding Window Approach

This baseline uses a ResNet-18 model trained to classify small image patches (300x300 pixels) centered on the user's gaze points. During inference, the model slides across the entire frame to generate a probability map. While this method achieves high classification accuracy for specific patches, it is computationally inefficient, requiring over two minutes to process a single frame.

2. Fully Convolutional Network (FCN)

To address the latency of the sliding window method, the authors converted the ResNet-18 into a Fully Convolutional Network. This architecture allows the model to process the entire image in a single forward pass, producing a dense "attention map" in just 0.31 seconds. However, because the FCN is trained on full frames but lacks the localized focus of the sliding window, the resulting maps are often "noisy" and less precise.

3. Fine-tuned FCN (Teacher-Student Model)

To bridge the gap between the accuracy of the sliding window and the speed of the FCN, the authors implemented a fine-tuning strategy. They used the sliding window model as a "teacher" to guide the FCN "student." By employing Kullback-Leibler (KL) Divergence, the FCN was trained to produce cleaner, more homogeneous segmentation masks that better reflect the localized object features identified by the patch-based model.

To generate final detections, the system fits a bounding box around the largest predicted class "blob" located near the user's gaze point.

The Museum Dataset

To evaluate these methods, the researchers introduced "The Museum Dataset," a new public benchmark captured using Microsoft HoloLens 2 at the Palazzo Bellomo in Siracusa. The dataset includes:

  • Scale: 14 egocentric videos from 7 different subjects, totaling over 178,000 frames.
  • Content: 15 distinct objects of interest, primarily artworks and specific architectural details.
  • Modality: Synchronized gaze data across both "guided tour" and "free exploration" scenarios.

While the models were trained using weak labels (gaze + class name), the test set was manually annotated with bounding boxes to ensure a rigorous and standard evaluation of the detection performance.

Key Results and Insights

The study compared the weakly supervised models against a fully supervised Faster R-CNN baseline:

  • Performance Trade-offs: The best-performing weakly supervised model (Fine-tuned FCN) achieved a 0.19 mean Average Precision (mAP). While this is lower than the 0.42 mAP achieved by the fully supervised Faster R-CNN, it represents a viable middle ground given the massive reduction in annotation effort.
  • Inference Efficiency: The FCN-based models are significantly faster, running at approximately 3 frames per second (0.31s/frame) on an NVIDIA K80 GPU. This is a 62% reduction in inference time compared to the Faster R-CNN baseline and a massive improvement over the 168 seconds required by the sliding window approach.
  • Contextual Challenges: The research highlighted a "context gap." Models often struggled to distinguish between a specific detail (e.g., an angel in a painting) and the larger artwork containing it. The fine-tuning strategy helped mitigate this by forcing the model to learn more localized features.

Conclusion and Future Work

This work demonstrates that gaze data can serve as an effective, low-cost supervision signal for attended object detection in complex real-world environments. While a performance gap remains between weak and full supervision, the efficiency gains in both training (annotation time) and inference (speed) make this a promising path for practical AR applications.

Future research will focus on refining the "box fitting" logic to better handle non-rectangular or thin objects and improving the model's ability to distinguish between foreground objects and complex, cluttered backgrounds in gallery settings.

Summary updated

BibTeX
@inproceedings{mazzamuto2022weakly,
  author = {Michele Mazzamuto and Francesco Ragusa and Antonino Furnari and Giovanni Signorello and Giovanni Maria Farinella},
  title = {{Weakly Supervised Attended Object Detection Using Gaze Data as Annotations}},
  booktitle = {ICIAP},
  year = {2022},
  doi = {10.1007/978-3-031-06430-2\_22},
}
Figure