FakeMix Augmentation Improves Transparent Object Detection

Yang Cao, Zhengqiang Zhang, Enze Xie, Qibin Hou, Kai Zhao, Xiangui Luo, Jian TuoarXiv 2021

Abstract

Transparent object detection remains a significant challenge in computer vision due to the lack of distinct textures and the tendency of objects to inherit background appearances. This paper introduces FANet, featuring FakeMix, a content-dependent data augmentation technique designed to address the "boundary-related imbalance problem." By synthesizing "hard negative" background edges, FakeMix trains models to distinguish real transparent boundaries from confusing background features. Combined with an AdaptiveASPP module for dynamic multi-scale feature fusion, FANet achieves state-of-the-art performance on the Trans10K dataset and demonstrates robust generalization across mirror, glass, and camouflaged object detection tasks.

Introduction

Detecting transparent objects like windows, glassware, and doors is difficult because they lack inherent color or brightness, instead reflecting or refracting their surroundings. Recent methods have turned to boundary clues to localize these objects. However, this approach introduces a "boundary-related imbalance problem." In real-world scenarios, background features—such as architectural lines or reflections—can mimic the appearance of transparent boundaries. These "Fake T-Boundaries" are underrepresented in training data, leading models to over-rely on simple edge detection and produce frequent false positives.

Methods: FANet and FakeMix

The authors propose the FANet framework, which integrates two core innovations:

FakeMix Augmentation

Unlike standard augmentations like Mixup or Cutout, which are content-agnostic, FakeMix is content-dependent. It extracts the boundaries of transparent objects (T-Boundaries) from one image and overlays them onto the background of another. This process creates synthetic "hard negatives"—regions that possess the edge characteristics of transparent objects but lack the internal optical cues (like refraction). This forces the model to learn the subtle differences required to distinguish a genuine glass edge from a background line.

The FakeMix augmentation process creates synthetic hard negatives by pasting transparent boundaries onto new backgrounds, contrasting with standard content-agnostic methods.

AdaptiveASPP

Standard Atrous Spatial Pyramid Pooling (ASPP) uses fixed dilation rates. FANet introduces AdaptiveASPP, which employs an attention mechanism to dynamically weight multi-scale features. This module allows the network to adjust its focus between boundary detection and region segmentation based on the specific context of the image, enhancing representations for both tasks.

Experimental Results

The primary benchmark for evaluation was Trans10K, a large-scale dataset of 10,428 images of transparent objects. FANet, powered by FakeMix, significantly outperformed previous state-of-the-art methods like TransLab.

On the Trans10K "All" set, FANet achieved an mIoU of 90.86% and an Accuracy of 94.93%, compared to TransLab's 87.63% and 92.69%, respectively. Notably, the Mean Boundary Error (mBer) was reduced from 5.46 to 3.89, indicating much more precise object localization.

Qualitative comparison showing FANet (Ours) successfully avoiding false positives in background regions (highlighted in orange) where previous methods like TransLab failed.

Beyond transparent objects, FANet demonstrated strong generalization to related tasks, including mirror detection (MSD/PMD), glass detection (GDD), and camouflaged object detection (COD10K). This suggests that the "confusing region" problem addressed by FakeMix is a general challenge in foreground-background separation.

Conclusion

FANet addresses the fundamental challenge of transparent object detection by improving the model's discriminative capabilities rather than just its edge detection. FakeMix provides a robust solution to the boundary imbalance problem, while AdaptiveASPP ensures optimal feature fusion across scales. Future work may explore more sophisticated blending techniques for FakeMix and extending these boundary-aware methods to video sequences to ensure temporal consistency.

Summary updated

BibTeX
@misc{cao2021fakemix,
  author = {Yang Cao and Zhengqiang Zhang and Enze Xie and Qibin Hou and Kai Zhao and Xiangui Luo and Jian Tuo},
  title = {{FakeMix Augmentation Improves Transparent Object Detection}},
  year = {2021},
  eprint = {2103.13279},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2103.13279},
}
Figure