TODE-Trans: Transparent Object Depth Estimation with Transformer

Kang Chen, Shaochen Wang, Beihao Xia, Dongxu Li, Zhen Kan, Bin Li

TL;DR

TODE-Trans is a new transformer-based model designed to accurately estimate the depth of transparent objects, which typically "confuse" standard 3D sensors. By leveraging the global context-awareness of Vision Transformers, the model achieves a 25% improvement in depth accuracy over previous state-of-the-art convolutional methods.

What Problem Does This Paper Address?

If you’ve ever tried to use a depth camera (like a Microsoft Kinect or Intel RealSense) on a glass of water or a plastic bottle, you’ve likely seen the sensor fail. Because transparent objects refract and reflect light, IR-based depth sensors often "see through" them to the background or produce a chaotic mess of noisy data.

This is a major hurdle for robotics. If a service robot can't perceive the depth of a glass, it can't pick it up or avoid hitting it. Traditional Convolutional Neural Networks (CNNs) struggle here because they have a "local" focus; they look at small patches of pixels at a time. However, to understand a transparent object, a system needs to look at the global context—how the background is warped across the entire object and where the subtle edges lie.

Methods

The authors introduce TODE-Trans, an encoder-decoder architecture that treats depth estimation as a dense regression problem.

  • The Transformer Encoder: Instead of standard convolutional layers, the model uses a Swin Transformer backbone. This allows the model to capture long-range dependencies and global relationships across the image, which is essential for "inferring" the shape of something you can't directly see.
  • Feature Fusion Module (FFM): To ensure the model doesn't lose fine-grained details while looking at the big picture, the authors designed an FFM. This module uses global average pooling to model correlations between feature channels, effectively "highlighting" important geometric cues.
  • Lightweight CNN Decoder: While the encoder is a Transformer, the decoder uses convolutional layers. The authors found that CNNs are still superior at restoring fine-grained spatial information for the final depth map.
  • The Loss Function: The model isn't just trained on pixel distance ($L_2$ loss); it also includes a term that penalizes inconsistencies in surface normals, forcing the model to produce "smooth" and physically plausible surfaces.

Datasets

The model was trained and evaluated on several key benchmarks:

  • ClearGrasp: A popular dataset containing both synthetic data and real-world images of transparent plastic objects.
  • Omniverse Object Dataset (OOD): Used to augment the training process.
  • TransCG: A large-scale real-world dataset (over 57,000 RGB-D images) featuring 51 different common objects. This was used to test how well the model generalizes to "novel" objects it hasn't seen before.

Key Insights and Ideas

  • Global is Better than Local: The "aha moment" here is that Transformers are inherently better suited for transparency than CNNs. Because transparent objects lack texture, their identity is defined by how they relate to their surroundings. The Transformer’s self-attention mechanism captures these relationships naturally.
  • The RGB-D Synergy: The authors found that using both the RGB image and the "broken" raw depth map is critical. The raw depth map, even if inaccurate, provides a spatial "hint" that the RGB image then refines.
  • Generalization is the Goal: Unlike many models that overfit to specific shapes, TODE-Trans showed remarkable robustness when moved from synthetic training data to real-world testing (cross-domain generalization).

Key Results

TODE-Trans sets a new benchmark for the field:

  • Accuracy Boost: On the ClearGrasp dataset, it achieved a 25% gain in RMSE (Root Mean Squared Error) and a 21% gain in REL (Absolute Relative Difference) compared to the previous best CNN-based models.
  • Real-World Performance: In "Real-Novel" tests (objects the model never saw during training), it maintained high accuracy, whereas older models saw significant performance drops.
  • Qualitative Quality: Visualizations of the 3D point clouds show that TODE-Trans reconstructs the bottoms and sides of transparent cups that are completely missing in raw sensor data.

Limitations and Future Work

  • Computational Weight: While the decoder is lightweight, Transformers are generally more computationally expensive than pure CNNs. The paper doesn't deeply explore the inference latency for real-time robotics.
  • Extreme Lighting: While the model handles different lighting better than predecessors, extreme glare or total darkness would still pose a challenge for the RGB-dependent encoder.
  • Future Directions: The authors suggest that this global contextual approach could be extended to other "difficult" materials, such as highly reflective metallic surfaces or very dark, light-absorbing objects.

Summary updated

BibTeX
@inproceedings{chen2023tode,
  author = {Kang Chen and Shaochen Wang and Beihao Xia and Dongxu Li and Zhen Kan and Bin Li},
  title = {{TODE-Trans: Transparent Object Depth Estimation with Transformer}},
  booktitle = {IEEE International Conference on Robotics and Automation},
  year = {2023},
  url = {https://openreview.net/forum?id=wT5jktmHyw},
}

Loading related content...

Figure