NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Identifying Candidate Spaces for Advert Implantation

Soumyabrata Dev, Hossein Javidnia, Murhaf Hossari, Matthew Nicholson, Killian McCabe, Atul Nautiyal, Clare Conran, Jian Tang, Wei Xu, François Pitié · DOI

Abstract

Virtual advertising is an important and promising feature in the area of online advertising. It involves integrating adverts onto live or recorded videos for product placements and targeted advertisements. Such integration of adverts is primarily done by video editors in the post-production stage, which is cumbersome and time-consuming. Therefore, it is important to automatically identify candidate spaces in a video frame, wherein new adverts can be implanted. The candidate space should match the scene perspective, and also have a high quality of experience according to human subjective judgment. In this paper, we propose the use of a bespoke neural net, DeepAds, that can assist video editors in identifying candidate spaces. We benchmark our approach against several deep-learning architectures on a large-scale image dataset of candidate spaces of outdoor scenes. Our work is the first of its kind in this area of multimedia and augmented reality applications, and achieves the best results.

Introduction

Virtual advertising—the practice of digitally inserting products or billboards into existing video content—is a significant frontier for targeted marketing. This technology allows for dynamic ad placement, such as background billboards in a television show displaying products tailored to a viewer's recent search history or geographic location.

Currently, this process is a manual bottleneck. Video editors must identify "candidate spaces" in post-production that match the scene's perspective and appear natural. Poorly placed ads break immersion and ruin the viewing experience. This research addresses the challenge of automating this detection process for outdoor scenes, ensuring suggested spots align with human subjective judgment of aesthetic suitability.

Examples of advert implantation on (a) floating candidate spaces and (b) wall surfaces.

Methodology: The DeepAds Architecture

The identification of ad spaces is framed as a semantic segmentation problem. Instead of simple bounding boxes, the network classifies every pixel based on its suitability for an advertisement. The core contribution is DeepAds, a bespoke, "minimalist" encoder-decoder architecture:

  • Encoder: Extracts high-level features from an RGB image (fixed at 200x200 pixels) by gradually reducing spatial dimensions through convolutional and max-pooling layers.
  • Decoder: Recovers spatial resolution using upsampling and convolutional layers.
  • Output: Produces a probabilistic heatmap. Rather than a binary classification, it provides a likelihood score for every pixel, indicating its suitability for an ad.

DeepAds is designed to be lightweight, making it faster to train and more efficient for high-volume video processing compared to massive state-of-the-art models.

Datasets and Benchmarking

The study utilizes the CASE dataset, which consists of a large-scale collection of outdoor scene images. Ground-truth annotations were provided by human volunteers who identified the "best" single location for an advertisement in each scene. These were converted into binary maps (white for the candidate space, black for the background).

The model was benchmarked against several established segmentation architectures: FCN, U-Net, ENet, and PSPNet.

Key Insights

  • Localization Precision: Standard models like FCN and ENet were often too "optimistic," suggesting ads could be placed almost anywhere. PSPNet showed a bias toward placing ads in the sky. DeepAds produced much more localized and plausible suggestions that closely mirrored human choices.
  • Subjective Aesthetics: Finding an ad space is not just a geometric task; it is a subjective aesthetic choice. By training on human-annotated "best" spots, the model learns to mimic human preference rather than just identifying flat surfaces.
  • Task-Specific Efficiency: The "minimalist" DeepAds architecture demonstrates that a smaller, task-specific network can outperform generalized, deeper architectures like U-Net in this specific domain.

Results

Performance was evaluated using standard segmentation metrics and Receiver Operating Characteristic (ROC) curves:

  • Mean Intersection Over Union (mIoU): DeepAds achieved the highest score of 0.518, outperforming FCN (0.498) and significantly beating U-Net (0.327) and PSPNet (0.284).
  • ROC Curve: DeepAds showed the largest Area Under the Curve (AUC), indicating superior performance across various discrimination thresholds.
  • Qualitative Success: Visually, the heatmaps generated by DeepAds were the most "human-like," identifying specific walls or roadside areas rather than highlighting entire buildings or the sky.

Limitations and Future Work

While a significant step forward, several areas for growth remain:

  • Multi-Space Detection: Currently, the model focuses on identifying the single best spot. Future iterations aim to detect multiple candidate spaces within a single frame.
  • Visual Saliency: The authors intend to integrate visual saliency to ensure ads are placed where viewers are actually looking, maximizing marketing value.
  • Indoor Scenes: Expanding the work to indoor environments (e.g., sitcom sets or offices) is a high priority.
  • Temporal Consistency: Applying this frame-by-frame to video requires ensuring the candidate space remains stable across frames, avoiding jitter.

Summary updated

BibTeX
@misc{dev2019identifying,
  author = {Soumyabrata Dev and Hossein Javidnia and Murhaf Hossari and Matthew Nicholson and Killian McCabe and Atul Nautiyal and Clare Conran and Jian Tang and Wei Xu and François Pitié},
  title = {{Identifying Candidate Spaces for Advert Implantation}},
  year = {2019},
  eprint = {1910.03227},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1910.03227},
}
Figure