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

Vehicle Image Generation Going Well with the Surroundings

Jeesoo Kim, Jangho Kim, Jaeyoung Yoo, Daesik Kim, Nojun Kwak

TL;DR

This paper introduces a novel two-stage generative model, ShapeNet and TextureNet, that can synthesize realistic vehicle images within existing scenes using only bounding box annotations. This approach overcomes the limitations of previous methods that required expensive pixel-wise semantic layouts, enabling more efficient and flexible image augmentation for autonomous driving and related fields.

What Problem Does This Paper Address?

Generating realistic synthetic images of objects, particularly in complex real-world environments, has been a significant challenge. While advancements in generative models have been rapid, most existing methods for object generation rely on detailed, pixel-level semantic layouts (e.g., segmentation maps) to guide the synthesis process. Creating these detailed annotations is time-consuming and labor-intensive, limiting their practical application. Furthermore, existing image completion techniques, while capable of filling in missing areas, often struggle to generate coherent and detailed objects without strong contextual clues, and they typically fail to produce sharp, realistic results. This paper addresses the need for a method that can generate plausible vehicle images in arbitrary locations within an existing scene, using only readily available bounding box annotations, thus reducing the annotation burden and improving the flexibility of synthetic data generation.

Methods

The proposed method consists of two sequential networks: ShapeNet (Snet) and TextureNet (Tnet).

  • ShapeNet (Snet): This network is responsible for generating the basic shape and pose of the vehicle. It leverages an image completion approach, similar to Iizuka et al. [9], which uses dilated convolutions to capture context from a wider receptive field. Crucially, Snet takes a grayscale image with a masked region (defined by a bounding box) as input and outputs a grayscale image with the generated object's shape. This network is trained to minimize the L1 distance between the synthesized grayscale image and the original.
  • TextureNet (Tnet): This network refines the generated shape by adding color and details. Tnet has two components:
  • Tcolor: This component is inspired by colorization tasks and learns to predict color distributions for each pixel within the generated shape. It classifies pixels into one of 313 CIELab color bins, making the colorization problem more manageable.
  • Trefine: This component further refines the colorized image, sharpening details and ensuring the generated vehicle blends seamlessly with its surroundings. It uses an adversarial training approach with a global-local discriminator, similar to [9], to achieve realistic textures and contextual consistency.

The key novelty lies in using only bounding box annotations for the generation process, rather than pixel-wise segmentation maps, and the two-stage approach that separates shape generation from texture refinement.

Datasets

  • Berkeley Deep Drive (BDD100K): Used for training and evaluation. This dataset contains road scene images with bounding box annotations for various objects, including vehicles.
  • Cityscape: Used for evaluating the model's generalization capabilities on a different dataset.

Key Insights and Ideas

  • Bounding Boxes Suffice: The most significant insight is that detailed object generation can be achieved using only bounding box annotations, drastically reducing the annotation effort compared to pixel-level segmentation.
  • Shape-then-Texture Decomposition: Separating the generation into shape and texture stages allows for more focused learning. Snet learns the structural aspects, while Tnet focuses on realistic appearance and integration.
  • Adversarial Refinement for Realism: The Trefine module, trained adversarially, is crucial for achieving high-quality results by ensuring the generated object not only looks realistic in isolation but also fits harmoniously within the scene's context.
  • Dilated Convolutions for Context: The use of dilated convolutions in Snet effectively captures broader contextual information, enabling better prediction of object placement and occlusion handling.

Key Results

  • Qualitative Improvement: The generated vehicle images are visually more detailed and better integrated with the background compared to baseline methods like Iizuka et al. [9] and Liu et al.
  • Quantitative Evaluation (Object Detection): Using the Single Shot multibox Detector (SSD), the proposed method achieved significantly higher recall scores (e.g., 73.12% vs. 63.35% at a 0.3 confidence threshold on BDD100K) when detecting generated vehicles, indicating that the generated objects are more realistic and convincing.
  • Quantitative Evaluation (FID Score): The method achieved the lowest Frechet Inception Distance (FID) score (41.04) among the compared methods, suggesting that the generated samples have a distribution most similar to real images.

Limitations and Future Work

  • Manual Box Placement: The current method still requires manual placement of bounding boxes. The authors suggest that a highly predictive scene understanding model could automate this process, leading to fully automated vehicle image augmentation.
  • Wide Boxes and Occlusion: The model struggles with very wide bounding boxes, especially when a significant portion of the object might be outside the camera's view. This is a known limitation of image completion models.
  • Nonsensical Generation: If a bounding box is placed on an inappropriate area (e.g., a building), the model will still attempt to generate a car, highlighting the need for better scene understanding to guide the generation.

Future work could focus on integrating scene understanding to automatically suggest object locations and improving handling of objects that are partially out of frame.

Summary updated

BibTeX
@inproceedings{kim2021vehicle,
  author = {Jeesoo Kim and Jangho Kim and Jaeyoung Yoo and Daesik Kim and Nojun Kwak},
  title = {{Vehicle Image Generation Going Well with the Surroundings}},
  booktitle = {ICONIP},
  year = {2021},
  doi = {10.1007/978-3-030-92273-3\_6},
}
Figure