Skip to main content
QUICK REVIEW

[Paper Review] PS-Transformer: Learning Sparse Photometric Stereo Network using Self-Attention Mechanism

Satoshi Ikehata|arXiv (Cornell University)|Nov 21, 2022
Color Science and ApplicationsPhysics and Astronomy13 citations
TL;DR

This paper proposes PS-Transformer, a self-attention-based deep learning model for sparse photometric stereo that captures high-order inter-image interactions through a dual-branch architecture combining pixel-wise and image-wise features. By leveraging multi-head self-attention without downsampling and using intermediate supervision on surface normals, it achieves state-of-the-art accuracy even with as few as 8 input images, outperforming dense-method baselines using 10× more images.

ABSTRACT

Existing deep calibrated photometric stereo networks basically aggregate observations under different lights based on the pre-defined operations such as linear projection and max pooling. While they are effective with the dense capture, simple first-order operations often fail to capture the high-order interactions among observations under small number of different lights. To tackle this issue, this paper presents a deep sparse calibrated photometric stereo network named {\it PS-Transformer} which leverages the learnable self-attention mechanism to properly capture the complex inter-image interactions. PS-Transformer builds upon the dual-branch design to explore both pixel-wise and image-wise features and individual feature is trained with the intermediate surface normal supervision to maximize geometric feasibility. A new synthetic dataset named CyclesPS+ is also presented with the comprehensive analysis to successfully train the photometric stereo networks. Extensive results on the publicly available benchmark datasets demonstrate that the surface normal prediction accuracy of the proposed method significantly outperforms other state-of-the-art algorithms with the same number of input images and is even comparable to that of dense algorithms which input 10$ imes$ larger number of images.

Motivation & Objective

  • Address the limitation of existing deep photometric stereo networks in sparse settings where low image counts hinder feature learning.
  • Overcome the failure of first-order aggregation (e.g., max pooling, linear projection) to capture complex, high-order interactions among sparse lighting observations.
  • Design a model that preserves fine surface details while effectively fusing multi-light information in a permutation-invariant manner.
  • Introduce a new synthetic dataset, CyclesPS+, to support training and evaluation of sparse photometric stereo networks.
  • Demonstrate that self-attention mechanisms can outperform conventional CNN-based and set-pooling approaches in low-data regimes.

Proposed method

  • Propose a dual-branch network: one branch processes per-pixel observations across lights using multi-head self-attention, the other encodes image-level features via convolutional layers.
  • Use a learnable self-attention mechanism to model complex, non-linear relationships between observations under different lighting directions without assuming fixed grid or input size.
  • Apply intermediate supervision on predicted surface normals at the feature level to enforce geometric consistency and improve training stability.
  • Integrate a learnable multi-head self-attention module (PMA) for decoding that adaptively fuses features across images in a data-driven way.
  • Train the model on a newly introduced synthetic dataset, CyclesPS+, which provides diverse, realistic lighting and surface variations for robust generalization.
  • Avoid downsampling during attention processing to preserve spatial resolution and fine surface details throughout the network.

Experimental results

Research questions

  • RQ1Can self-attention mechanisms effectively model high-order interactions among sparse photometric stereo observations where traditional pooling and linear operations fail?
  • RQ2How does a dual-branch design that separates pixel-wise and image-wise feature learning improve performance in low-image-count photometric stereo?
  • RQ3To what extent can a transformer-based architecture generalize to sparse settings while maintaining fine surface detail recovery?
  • RQ4Does intermediate supervision on surface normals improve geometric feasibility and final prediction accuracy in sparse photometric stereo?
  • RQ5How does the performance of a self-attention-based model compare to CNN-based and set-pooling baselines when the number of input images is limited?

Key findings

  • PS-Transformer achieves state-of-the-art surface normal prediction accuracy on benchmark datasets, even with only 8 input images, outperforming existing methods trained on 10× more images.
  • The model significantly reduces prediction error compared to SPS-Net (8×8), demonstrating the effectiveness of the dual-branch design and attention-based feature fusion.
  • On the DiLiGenT-MV dataset, PS-Transformer produces less noisy and more detailed surface normal maps than all baselines, with consistent qualitative superiority.
  • The model maintains stable performance when tested on images with more than 10 input views, though no significant improvement is observed, indicating limited generalization to dense setups.
  • The ablation study confirms that the self-attention mechanism and intermediate supervision are key contributors to performance gains in sparse settings.
  • The performance of SPS-Net (8×8) outperforming (32×32) suggests that local shading variation modeling is more effective than global feature aggregation, supporting the design choice in PS-Transformer.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.