NLOST: Non-Line-of-Sight Imaging with Transformer

Yue Li, Jiayong Peng, Juntian Ye, Yueyi Zhang, Feihu Xu, Zhiwei XiongOpenReview 2023

Abstract

Time-resolved non-line-of-sight (NLOS) imaging is based on the multi-bounce indirect reflections from the hidden objects for 3D sensing. Reconstruction from NLOS measurements remains challenging especially for complicated scenes. To boost the performance, we present NLOST, the first transformer-based neural network for NLOS reconstruction. Specifically, after extracting the shallow features with the assistance of physics-based priors, we design two spatial-temporal self attention encoders to explore both local and global correlations within 3D NLOS data by splitting or downsampling the features into different scales, respectively. Then, we design a spatial-temporal cross attention decoder to integrate local and global features in the token space of transformer, resulting in deep features with high representation capabilities. Finally, deep and shallow features are fused to reconstruct the 3D volume of hidden scenes. Extensive experimental results demonstrate the superior performance of the proposed method over existing solutions on both synthetic data and real-world data captured by different NLOS imaging systems.

Introduction

Non-Line-of-Sight (NLOS) imaging enables the visualization of objects hidden from direct view by analyzing multi-bounce light reflections off a visible relay surface. Typically, a laser pulse is directed at a relay wall, scatters toward a hidden object, and returns to a detector. Reconstructing the 3D geometry from these weak, time-resolved signals is a significant challenge due to extreme signal attenuation and noise. While traditional physics-based methods like Filtered Back Projection (FBP) and recent CNN-based approaches have made strides, they often struggle with fine textures or fail to maintain global scene consistency. NLOST addresses these limitations by being the first to apply transformer architectures to the NLOS reconstruction problem, leveraging spatial-temporal attention to capture both local details and global geometric relationships.

Methodology

The NLOST architecture is designed to process 3D spatial-temporal data through a four-stage pipeline.

Physics-Based Feature Extraction

To provide the network with a strong inductive bias, raw time-of-flight data is first processed using Frequency-Wavenumber (FK) migration. This physics-based step transforms the transient data into an initial 3D spatial volume, serving as "shallow features" ($F_S$) that guide the subsequent learning process.

Spatial-Temporal Self-Attention Encoders

The core of NLOST consists of a dual-branch encoder system:

  • Local Encoder: Utilizes window-based multi-head self-attention to focus on small spatial-temporal patches. This preserves high-frequency details and sharp edges.
  • Global Encoder: Operates on downsampled features to capture long-range dependencies, ensuring the overall structural consistency of the reconstructed scene.
The NLOST architecture overview, illustrating the flow from transient data to the final hidden scene reconstruction.

Spatial-Temporal Cross-Attention Decoder

The local ($F_L$) and global ($F_G$) features are integrated using a cross-attention mechanism. By querying one feature set against the other in a 3D token space, the network refines local details using global context, leading to highly representative deep features.

Feature Fusion and Reconstruction

Finally, the deep features are fused with the initial shallow features to produce a high-fidelity 3D volume. From this volume, the system derives both an intensity image and a corresponding depth map of the hidden scene.

Experimental Evaluation

The model was trained on a synthetic dataset of approximately 6,900 measurements derived from ShapeNet motorcycle models. To test generalization, evaluations were conducted on unseen object categories (e.g., cars, helmets) and real-world datasets.

Quantitative Results

NLOST demonstrates superior performance across standard metrics. On synthetic "Seen" data, it achieved a PSNR of 28.17 dB, outperforming the previous state-of-the-art LFE (26.90 dB). Furthermore, it achieved a 19% reduction in depth map RMSE compared to standard UNet architectures.

Qualitative Analysis and Real-World Performance

The model shows remarkable zero-shot generalization to real-world data. In tests using both public benchmarks and a custom-built confocal NLOS system, NLOST successfully reconstructed complex objects like bike frames and bookshelves with significantly higher clarity than baseline methods.

Qualitative comparison of NLOST against baseline methods (FBP, LCT, FK, RSD, UNet, LFE) on synthetic and real-world data.

Conclusion

NLOST represents a significant advancement in NLOS imaging by introducing a transformer-based framework that effectively balances local and global information. While currently optimized for confocal setups, its ability to generalize from synthetic training to real-world hardware suggests a robust understanding of light transport physics. Future work will focus on extending this architecture to non-confocal imaging scenarios and optimizing computational efficiency for real-time applications.

Summary updated

BibTeX
@misc{li2023nlost,
  author = {Yue Li and Jiayong Peng and Juntian Ye and Yueyi Zhang and Feihu Xu and Zhiwei Xiong},
  title = {{NLOST: Non-Line-of-Sight Imaging with Transformer}},
  year = {2023},
  url = {https://openreview.net/forum?id=2HC40reI8h},
  howpublished = {OpenReview},
}
Figure