Seeing What Is Not There: Learning Context to Determine Where Objects Are Missing

Jin Sun, David W. Jacobs

Introduction

While most computer vision systems focus on detecting what is in an image, this research introduces a method to identify what should be there but isn't. By training a "Siamese trained Fully convolutional Context network" (SFC) to ignore specific objects and focus solely on their surroundings, the researchers can pinpoint missing urban infrastructure, such as curb ramps, which is vital for city accessibility.

The Challenge of Absence

Standard object detection algorithms are designed to find instances of a class (e.g., "here is a car"). However, they struggle with the concept of absence. In many real-world scenarios, knowing an object is missing is just as important as knowing it is present.

The authors focus on identifying missing curb ramps at city intersections. For individuals with mobility impairments, a missing ramp can turn a simple street crossing into an impassable barrier. Manually auditing every intersection is prohibitively expensive. The computational challenge lies in the fact that "missing" isn't a visual feature; it is a semantic mismatch between the environment (the context) and the actual objects present.

Methodology

The authors propose a standalone context model that predicts the probability of an object's existence based purely on its environment.

The Siamese trained Fully convolutional Context network (SFC)

Initially, a CNN was trained on images where target objects were manually covered by a black mask. However, the model often "cheated" by learning to recognize the artificial edges of the mask. To solve this, the authors moved to a Siamese architecture. During training, the network is fed pairs of images: one with a mask ($I_m$) and the raw image ($I$).

The Siamese training architecture uses a distance loss to ensure the network produces similar output vectors for both masked and raw images, forcing it to rely on surrounding context rather than mask edges.

This architecture employs a Distance Loss that forces the network to produce nearly identical output vectors for both versions, effectively creating an "implicit mask." This allows the network to ignore the central region and rely entirely on the surrounding context.

The "Missing Object" Pipeline

At test time, the SFC generates a "context heatmap" showing where objects ought to be. Simultaneously, a standard object detector scans the image for actual ramps.

The complete pipeline: a context map identifies where objects should be, while a detector finds where they are. The intersection of high context probability and low detection identifies missing objects.

By performing an element-wise "AND" operation between the context map and the inverse of the detection map, the system highlights regions with high context probability but zero detections—the missing objects.

Key Insights

  • Decoupling Context from Content: By creating a standalone context model, the researchers can identify anomalies. If the context says "ramp" but the pixels say "flat curb," the system flags a potential infrastructure gap.
  • Efficiency Gains: The SFC model is significantly faster than a sliding-window approach. It can generate a dense probability map for a large panorama in under 4 seconds, compared to 5 minutes for the base model—a ~75x speedup.
  • Hard Negative Mining: Performance was significantly improved by using the model to find its own false positives during training and feeding those back into the training loop.

Results and Impact

  • Superior Recall: The SFC model with hard negative mining outperformed all baselines, including spatial priors and standard Faster R-CNN detectors trained specifically to find "missing" labels.
  • Real-World Impact: In a test of 543 intersections, the system successfully identified up to 27% of all missing curb ramps by having a human auditor check only the top 500 flagged regions.
  • Localization: Unlike simpler models, the SFC remained accurate even when the search window was restricted, proving it had learned a specific relationship between sidewalk geometry and ramp location.

Limitations and Future Work

The system's accuracy is currently limited by the underlying object detector; 77% of "false" missing ramp reports were actually cases where a ramp existed but the detector failed to see it. Future work may apply this framework to other visual anomaly tasks, such as finding missing safety equipment in industrial settings or identifying out-of-place objects in security footage.

Summary updated

BibTeX
@inproceedings{sun2017seeing,
  author = {Jin Sun and David W. Jacobs},
  title = {{Seeing What Is Not There: Learning Context to Determine Where Objects Are Missing}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2017},
  doi = {10.1109/cvpr.2017.136},
}
Figure