Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Pyramid Stereo Matching Network

Pyramid pooling and a stacked 3D CNN improve stereo depth estimation

  • Problem Patch-based stereo networks fail in occluded, textureless, repeated-pattern and reflective regions. A single patch holds too little evidence to decide the match there.
  • Method PSMNet pools features at four grid sizes to add wider context. It builds a 4D cost volume and regularizes it with a stacked hourglass 3D CNN.
  • Results PSMNet reaches 1.83% three-pixel error on the KITTI 2015 validation set in its best setting. On the KITTI 2015 test leaderboard it reaches 2.32% overall error.

Why patch matching fails in ill-posed regions

The task takes a rectified stereo pair and assigns each pixel of the reference image a disparity, the horizontal offset to its match in the other view. With the focal length and the distance between the two cameras, that disparity converts directly into depth.

Earlier CNN methods scored pairs of image patches for similarity. This works where texture is informative, but occlusions, repeated patterns, textureless regions and reflective surfaces give a patch too little evidence to decide the match. Intensity consistency alone does not settle these cases, so the matching needs support from a wider area of the image.

Prior work brings in context in different ways: Displets uses 3D vehicle models, ResMatchNet estimates reflective confidence, and GC-Net merges multiscale features with an encoder-decoder. PSMNet instead builds region-level context from spatial pyramids and dilated convolutions, then regularizes the cost volume with a stacked hourglass 3D CNN.

Spatial pyramid pooling for region-level context

The left and right images pass through the same weights in two parallel pipelines, each starting with a CNN that produces feature maps. The first layer uses three cascaded 3×3 convolutions in place of one 7×7 filter, which gives a deeper network with the same receptive field. Dilated convolution is applied in conv3_x and conv4_x, with dilation 2 and 4, to widen the receptive field of the later layers.

The SPP module pools the feature maps at four fixed grid sizes, 64×64, 32×32, 16×16 and 8×8. Each pooled map goes through a 3×3 convolution with 32 filters, is upsampled bilinearly to the common feature size, and is concatenated with conv2_16 and conv4_3 features into a 320-channel map.

The module's design draws on segmentation work: ParseNet pools globally, and PSPNet uses a hierarchical pyramid of four scales followed by a 1×1 convolution. PSMNet keeps the 1×1 convolution and upsampling of that design, but uses fixed-size average pools and applies the result to a stereo cost volume. The authors motivate the module with object-part relations, such as a car and its windows, tires and hoods, which a single patch cannot express.

Cost volume and the stacked hourglass 3D CNN

For every disparity level, the left SPP features are concatenated with the correspondingly shifted right features, giving a 4D volume over height, width, disparity and feature size. The authors follow GC-Net in building this volume and let a network learn the matching score, rather than use a fixed distance metric.

The basic 3D CNN is twelve 3×3×3 convolutional layers built from residual blocks. Its output is upsampled back to H×W×D by bilinear interpolation, and disparity regression then produces the map at H×W.

The stacked hourglass version is an encoder-decoder that processes the volume top-down and bottom-up several times in a row. It has three hourglass stages, and each stage produces a disparity map with its own loss, Loss 1, Loss 2 and Loss 3. During training the three losses are combined as a weighted sum; at test time only the last output is used.

Disparity regression and the smooth L1 loss

Each disparity level has a predicted cost c_d. A softmax applied to the negated costs gives the probability of each disparity, and the estimate is the probability-weighted sum of the disparities. The estimate is computed as follows.

\[ \hat{d} = \sum_{d=0}^{D_{max}} d \times \sigma(-c_d) \] Because the output is a weighted average rather than a hard choice, it stays continuous, and the authors report it as more robust than classification-based matching, following GC-Net.

Training minimizes a smooth L1 loss over the labeled pixels, averaging the loss of each pixel's error between the ground-truth disparity d and the predicted disparity d̂. \[ L(d,\hat{d}) = \frac{1}{N}\sum_{i=1}^{N} \text{smooth}_{L1}(d_i-\hat{d}_i) \] Here N is the number of labeled pixels. The authors choose this loss for its robustness and lower sensitivity to outliers than L2 loss.

Datasets and training schedule

Scene Flow is a synthetic dataset with 35454 training and 4370 testing images at H = 540 and W = 960, with dense ground-truth disparity. Pixels whose disparity exceeds the limits set in the experiment are excluded from the loss.

The training pairs are split 80% for training and 20% for validation, and the ablations use that validation split.

KITTI 2012 contains 194 training pairs with sparse LiDAR disparity and 195 test pairs at the same size, with color images used. Its training pairs are split into 160 for training and 34 for validation.

The model is implemented in PyTorch and trained end to end with Adam, using β1 = 0.9 and β2 = 0.999, after color normalization of the dataset. Training crops are H = 256 and W = 512, and the maximum disparity D is set to 192.

For KITTI, the Scene Flow model is fine-tuned on the KITTI training set for 300 epochs, with learning rate 0.001 for the first 200 epochs and 0.0001 for the last 100. Training uses batch size 12 on four Titan-Xp GPUs, taking about 13 hours on Scene Flow and 5 hours on the KITTI datasets. For the final KITTI model and the submitted test results, the training was extended to 1000 epochs.

Which PSMNet components help on KITTI 2015 validation

The ablation varies dilated convolution, the pooling sizes, and the stacked hourglass 3D CNN, and reports three-pixel error on the KITTI 2015 validation split. The default 3D CNN in these runs is the basic architecture.

Dilated convolution gives lower validation error when combined with the SPP module. Pooling at more levels also gives lower error. The stacked hourglass 3D CNN outperformed the basic 3D CNN when combined with dilated convolution and the SPP module. The best setting reaches a 1.83% error rate on the KITTI 2015 validation set.

The SPP study uses the basic 3D CNN because that design does not learn extra context through encoding and decoding, so the effect of the pooling module is isolated from the hourglass. Within the study, lower error for a setting means that setting is better, and the removal of a component is judged against the full setting.

Choosing the loss weights

Because the stacked hourglass produces three outputs, the weights on Loss 1, Loss 2 and Loss 3 were varied in combinations between 0 and 1.

The weights 0.5 for Loss 1, 0.7 for Loss 2 and 1.0 for Loss 3 give the lowest validation error in the table, 1.98%. The authors chose these weights empirically from the combinations they tried.

Leaderboard results on KITTI 2015 and KITTI 2012

The best model was run on the 200 KITTI 2015 test images and submitted to the evaluation server, reaching 2.32% overall three-pixel error. On the leaderboard dated March 18, 2018, PSMNet is ranked first among the listed published methods.

In Table 4, the All column gives D1-bg 1.86, D1-fg 4.62 and D1-all 2.32, while the Noc column gives D1-all 2.14, with a runtime of 0.41 s. The next listed methods are iResNet-i2e2 at 2.36, iResNet at 2.50, CRL at 2.67 and GC-Net at 2.87 on the All D1-all measure.

On KITTI 2012, the submitted model reaches 1.89% overall three-pixel error, and the authors report that the leaderboard places it first among the listed published methods. Table 6 gives the >3 px error as 1.49 for Noc and 1.89 for All, with the next entries at 2.16 for iResNet-i2 and 2.30 for GC-Net on All. Its runtime of 0.41 s is higher than the 0.12 s of iResNet-i2, which the caption notes as the one measure where PSMNet is not best.

Scene Flow results and qualitative comparisons

On the Scene Flow test set, PSMNet reaches an end-point error of 1.09, against 1.32 for CRL, 1.68 for DispNetC and 2.51 for GC-Net. Here lower end-point error is better, and each method is evaluated as the test result under the Scene Flow setting.

The authors describe PSMNet's Scene Flow disparity maps as accurate for delicate and intricately overlapped objects in three test examples. On KITTI 2012 test images, they describe PSMNet as more robust in the car-window and wall regions.

Limits of the evidence

The component ablations and the loss-weight study are run on the KITTI 2015 validation split, which is 20% of the training pairs. The validation results are therefore not the same measurement as the leaderboard results, which use test images submitted to the server.

The leaderboard model was trained for 1000 epochs, while the schedule given for the KITTI fine-tuning is 300 epochs, and the training schedule of each ablation run is not described separately. The Scene Flow result comes from a model trained on Scene Flow and tested directly, without KITTI fine-tuning.

The leaderboard comparisons include only published methods, and the runtime of PSMNet is 0.41 s, not the lowest listed. The authors conclude that ill-posed regions remain hard to estimate, and they describe the reduction of errors there as shown in their estimated maps.

Paper info

Authors
Jia-Ren Chang, Yong-Sheng Chen
Venue
arXiv · Preprint
First published
2018-3-23
Added
2026-11-12
Updated
2018-3-23
Version
v1
arXiv
1803.08669
Category
cs.CV
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Jia-Ren Chang, Yong-Sheng Chen (2018). Pyramid Stereo Matching Network. arXiv:1803.08669v1. https://arxiv.org/abs/1803.08669v1

BibTeX
@misc{chang2018pyramid,
  title = {{Pyramid Stereo Matching Network}},
  author = {Jia-Ren Chang and Yong-Sheng Chen},
  year = {2018},
  eprint = {1803.08669},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1803.08669v1}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up