---
title: "Marr Revisited: 2D-3D Alignment via Surface Normal Prediction"
description: "How predicting surface orientation from a single photograph helps estimate an object's viewpoint and retrieve a matching 3D shape."
canonical: "https://research.elamur.ai/free/en/papers/bansal-2016-marr-revisited-2d-3d-alignment/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/bansal-2016-marr-revisited-2d-3d-alignment/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2016](https://md.research.elamur.ai/free/en/papers/2016/) / Marr Revisited: 2D-3D Alignment via Surface Normal Prediction

# Marr Revisited: 2D-3D Alignment via Surface Normal Prediction

Paper · 2016 · Aayush Bansal, Bryan Russell and Abhinav Gupta

**Authors:** [Aayush Bansal](https://md.research.elamur.ai/free/en/authors/aayush-bansal/), Bryan Russell and [Abhinav Gupta](https://md.research.elamur.ai/free/en/authors/abhinav-gupta/) · **Year:** 2016 · **Venue:** IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · **Licence:** [arXiv — non-exclusive license to distribute](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

[**213** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W2341204628) · [Cited by **12** papers in our library of more than 163,000 papers whose bibliographies we read](https://md.research.elamur.ai/free/en/papers/bansal-2016-marr-revisited-2d-3d-alignment/cited-by/) · [IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings](https://openalex.org/S4210176548) · [licence](http://arxiv.org/licenses/nonexclusive-distrib/1.0/)

- [PDF](https://arxiv.org/pdf/1604.01347)
- [DOI 10.1109/cvpr.2016.642](https://doi.org/10.1109/cvpr.2016.642)
- [arXiv 1604.01347](https://arxiv.org/abs/1604.01347)
- [OpenAlex](https://openalex.org/W2341204628)

Citations: OpenAlex, 2026-10-14.

## Summary

A photograph of a chair shows enough to recognize it, but matching it to a 3D shape requires a more specific judgment. Which way is the chair facing? How does its back meet its seat? Which parts of a candidate shape could explain the surfaces that are visible? A photograph and a rendering of the same kind of chair can differ in color, lighting, and background even when their geometry agrees. The authors use a map of surface normals to give the comparison a geometric basis. A surface normal is a direction perpendicular to a surface. Predicting that direction at each visible pixel describes how the surfaces face the camera.

The paper revisits David Marr’s proposal that vision can proceed through an intermediate description of visible surfaces before recovering the shape of an object. The authors first train a neural network to predict surface normals from a color image. At each pixel, the network combines responses from several depths of a pretrained convolutional network. Early responses retain local image detail, while deeper responses give the predictor a wider view of the scene. On the NYUv2 test set, the resulting predictions have a mean angular error of 19.8°, compared with 23.7° for the version of Eigen and Fergus’s method tabulated in the paper. The authors also measure accuracy separately on chair, sofa, and bed pixels. The gains in these regions matter for matching furniture whose thin legs or changes in surface direction can occupy little of the image.

A second network receives an object crop and its normal map. It learns to estimate the object’s horizontal viewing angle from renderings of computer-aided design (CAD) shapes, for which the orientation and surface directions are known. At test time it can use either normals predicted from the color image or normals derived from measured depth. In the NYUD2 test comparison on chairs with more than 50% valid depth pixels, its area under the pose accuracy curve is 0.43 with color alone and 0.55 with color and measured depth. The RGB-only result is close to the strongest depth-based nearest-neighbor result in that comparison, which is 0.44.

The authors also use the pose network to retrieve candidate CAD shapes, then train a separate ranking stage using examples of chairs judged visually similar or dissimilar. In the examples shown, reranking can bring chairs with matching features, such as wheels, closer to the top. The normal and pose experiments quantify performance against earlier methods. The style experiment shows what can change in individual rankings. Together, they establish a way to infer visible geometry from a photograph and use it to search a collection of complete shapes.

## Deep dive: Marr Revisited: 2D-3D Alignment via Surface Normal Prediction

How predicting surface orientation from a single photograph helps estimate an object's viewpoint and retrieve a matching 3D shape. · about 33 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### From a visible surface to a complete shape

An indoor photograph contains different kinds of evidence about an object. Color and texture help distinguish a chair from its surroundings. The directions of its surfaces help distinguish the seat from the back, and the edges or slender supports help constrain which side of it the camera sees. The photograph can also leave some of the chair hidden behind other parts of the chair. Inferring what a complete object might look like therefore involves two related judgments. The first concerns the geometry visible in the image. The second concerns which complete shape could have produced that partial view.

In the account of Marr’s theory that the authors revisit, a visual system first moves from the image to a description of its visible surfaces. The paper calls this a 2.5D representation. It is still indexed by positions in the image, but it adds information about the scene at those positions. A depth map gives distance information along the view. A normal map gives local orientation. A complete 3D representation would go further by describing the object as a whole, including parts that the current view hides. Marr’s proposed sequence proceeded from visible surfaces through a volumetric description to recognition of the object’s category.

The authors give three reasons why that sequence had been difficult to realize computationally. Inferring the orientation of a surface from its appearance is itself a hard vision problem. Learning to go from visible surfaces to a complete object calls for 3D training examples, which are harder to acquire than ordinary images. And successful image-based object detection reduced the practical need to pass through a geometric description simply to assign a category. Knowing that a picture contains a chair can often be the whole task. Finding a chair shape that could account for the picture asks for additional information about the kind of chair and the view from which it was seen.

The paper identifies changes on both sides of this problem. Recent methods could estimate visible geometry from a single color image, and CAD repositories supplied collections of complete objects. A repository, however, supplies synthetic shapes. Rendering them yields image-like views with known geometry, but their appearance can differ from that of photographed furniture. A surface orientation can be estimated from a photograph and computed directly from a rendering. The authors see this shared description as a way to carry geometric evidence across the difference between the two sources.

#### Scene layout and the geometry of individual objects

The paper traces 3D scene understanding back to approaches that described what was visible in terms of solids and shape components. In the work it discusses more immediately, one line of research sought to recover the layout of indoor scenes. A system might represent a room by a large box or infer its boundaries from informative edges. The Manhattan-world assumption used in some of these approaches describes indoor structure through dominant perpendicular directions. Such a constraint helps explain the arrangement of major surfaces, including walls and floors.

Furniture creates a different demand on a geometric description. A room layout can be plausible even when the recovered shape of a chair is poor. A thin leg takes up little image area, while the large wall behind it may dominate a scene-level result. The orientations that distinguish the front and side of a sofa, or the separate parts of a chair, can also occur close together in the image. The authors therefore ask for surface predictions that are useful at the scale of an object, where the geometric evidence needed for retrieval may come from fairly small regions.

Earlier methods cited by the paper pursued finer geometry through intermediate cues such as learned 3D primitives, convex and concave edges, or recurring style elements. Other work learned to predict surface directions or depth more directly, including approaches that used hand-designed image features. Convolutional networks brought several ways to combine large-scale context with local evidence. Eigen and Fergus used a coarse-to-fine network for related prediction tasks, including depth and surface normals. Their architecture initialized its coarse part from image classification and trained the subsequent scales for the geometric task. Wang and colleagues combined a description of room layout with information from local image patches.

Bansal and colleagues frame their alternative around where useful detail already exists in a pretrained network. A convolutional network computes successive layers of responses to an image. As the layers get deeper, a response can reflect a wider region, while the spatial detail available at earlier layers can become less accessible. The authors draw on the hypercolumn representation introduced by Hariharan and colleagues. A hypercolumn collects activations from several layers at a single image location. Previous uses included object segmentation and fine localization. The new task is to turn that collection of features into a continuous direction for the surface at the location.

#### From an image region to a CAD match

A second line of earlier work sought explicitly to align 3D shapes to images. The paper describes parametric representations such as cuboids, as well as retrieval methods that search among individual CAD examples. Methods given a depth image can compare the measured geometry with aspects of a rendered candidate. Some previous systems rendered depth views of exemplar shapes, matched scene regions to proposals, or trained networks on renderings to infer object pose. For ordinary color photographs, the paper discusses methods based on contours, hand-designed features, and features from convolutional networks. Some retrieved whole shapes, while another approach considered a composition assembled from several shapes.

A canonical orientation makes a CAD collection useful for training a pose estimator. It is a common reference orientation assigned to shapes in a category. Rendering a chair from a specified angle relative to this reference gives a view with a known pose. Repeating the procedure over a shape collection provides examples of how different chairs appear from the same direction and how a given chair changes as the viewpoint moves. What a synthetic view looks like in relation to a real photograph remains a separate question. Surface normals give the network information about the surfaces in both views, while color gives it access to visual cues that the normal map alone may omit.

Pose and style play different roles in choosing a CAD match. In this paper, pose prediction concerns the horizontal viewing angle relative to the object’s reference orientation. In the retrieval examples, style concerns the visible design of the object, such as whether a chair has wheels. A candidate can face the right way and still depict a different design. Conversely, a similar chair seen from another angle may give a poor visual alignment. The authors use the pose task to learn a representation that is sensitive to viewpoint. They then adapt it using human judgments about photograph and CAD pairs. The design draws on Bell and Bala’s learned similarity for product imagery, with a different starting task and a different kind of pair to compare.

### The method, step by step

#### What happens to a photograph

The system first estimates a normal map for the image. A pixel on a chair seat should receive a direction consistent with the orientation of that part of the seat. A pixel on the back can receive a different direction just across the boundary between the parts. The prediction at a given pixel draws both on features near the pixel and on deeper features that carry information from a larger part of the image. The result is a map in which pixels have surface directions alongside the color values in the original photograph.

The CAD stage takes a selected region depicting an object. The image region and the corresponding region of the normal map go through separate streams of a network. Their responses are combined when the network estimates the viewing angle. A representation learned for this task also supports retrieval of CAD candidates. For style reranking, the system compares the photograph with candidates using a representation further trained on human-labeled pairs. The geometric intermediate is thus available both when the network considers how the object is facing and when it compares candidate examples of the object.

From a photograph to a ranked CAD shortlist The steps in order.

#### Collecting features at a pixel

The normal predictor begins with a convolutional network pretrained for image recognition. A convolutional layer yields a spatial array of responses, with multiple channels at each location. Different layers supply different views of the same image. Relatively early features can retain fine spatial changes, which is useful near object boundaries. Later features carry context from a broader area, which helps interpret a local pattern whose appearance alone could have several geometric explanations. For instance, a color change can occur where two surfaces meet, but it can also occur on a single surface with varying texture. Other image evidence can help the network interpret which kind of change it is seeing.

The feature extractor is VGG-16, pretrained on [ImageNet](https://md.research.elamur.ai/free/en/papers/russakovsky-2014-imagenet-large-scale-visual-recognition/). The authors convert its fully connected part to convolutional form so it can supply spatial responses. VGG-16 has 13 convolutional layers and 3 fully connected layers before this conversion. The paper calls the converted layers corresponding to fc-6 and fc-7 conv-6 and conv-7, distinguishing them from the fully connected layers of the new regression head. The reported predictor uses the final convolutional response from each of the early through late VGG groups, together with conv-7. The architecture starts from the image-recognition network described in [Very Deep Convolutional Networks for Large-Scale Image Recognition](https://md.research.elamur.ai/free/en/papers/simonyan-2014-very-deep-convolutional-networks-large/).

A hypercolumn puts the selected responses for the same pixel into one vector. The layer names specify which responses to gather. In the formula below, the brackets denote concatenation, which places the vectors alongside one another and keeps their individual entries.

```
hₚ(I) = [cₚ^(j₁)(I), …, cₚ^(jᵅ)(I)]
```

Here, I is the input image and p is a pixel location. The vector hₚ(I) is the hypercolumn at p. The term cₚ^(j)(I) is the response vector associated with that pixel in layer j of the convolutional network. The indices j₁ through jᵅ identify the chosen layers, and α is the number of those layers. The ellipsis represents the intervening response vectors in the selected order.

The hypercolumn is a feature description. It becomes a surface normal only after a regression network maps those features to a direction. Regression here means predicting continuous components for the direction at a pixel. The authors use a multilayer perceptron, a sequence of learned transformations of the feature vector. Training this sequence jointly with the feature extractor allows both the combinations of features and the features themselves to change in response to the normal prediction task. This is the [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/) step that adapts image-classification features to geometry.

#### Learning to output a direction

The authors formulate the training problem using images paired with reference normal maps. The regression objective compares the predicted direction at each supervised pixel with the corresponding direction estimated using depth. The same prediction function is applied across image locations. Its output at a pixel still depends on image context through the convolutional features that feed the hypercolumn.

```
min over θ  ∑ᵢ₌₁ᴺ ∑ₚ ‖nₚ(Iᵢ; θ) − n̂ᵢ,ₚ‖₂
```

Here, θ denotes the trainable parameters of the normal predictor. The index i ranges over N training image and normal-map pairs, with Iᵢ denoting the image in pair i. The inner sum runs over pixel locations p used for supervision. The function nₚ(Iᵢ; θ) is the predicted normal at that pixel, and n̂ᵢ,ₚ is its depth-derived reference normal. The double bars with subscript ₂ denote Euclidean distance between the two vectors. The minimization chooses parameters that reduce the summed discrepancies.

The perceptron learns successive transformations of the hypercolumn. Each transformation has a matrix of weights and a vector of biases. The rectified linear unit, or ReLU, gives this sequence nonlinear behavior. In the paper’s description of a layer, the rectifier acts on each component of the transformed vector.

```
fₖ(x) = ReLU(Aₖx + bₖ)
```

Here, k identifies a regression layer and x is the vector entering it. The matrix Aₖ multiplies that vector, and the bias vector bₖ shifts the resulting components. The function ReLU applies rectification component by component. The vector fₖ(x) is the resulting layer response.

```
ReLU(z) = max(0, z)
```

Here, z is a scalar component before rectification. The maximum operation passes positive z through and gives 0 for a nonpositive input. The authors use three regression layers, with the final output supplying the predicted normal.

The authors normalize the final output to unit length. Length would otherwise make two vectors different even if they pointed in the same direction. With unit vectors, the distance for an individual pair increases as the angle between the directions grows, so bringing the vectors closer also encourages directional agreement. The paper describes this normalization in terms of cosine loss. Its evaluation measures the angle itself, which lets the reported errors be understood as differences in orientation.

An important part of the design is where the layers are combined. The regression head receives the feature responses themselves, before there is a separate normal prediction from each selected layer. It can learn how to interpret a local response in the context of deeper responses. The authors distinguish this from combining predictions already made at different layers. They also compare the design with earlier uses of hypercolumns in which the gathered features went through a single learned layer, and with an approach that stored features before training the next stage. Here the deeper head and the feature extractor are trained together.

#### Constructing the normal training examples

The normal predictor learns from NYU Depth v2, an indoor dataset with paired color and depth information. The study describes a split with 795 training images and 654 test images. It also draws training frames from the raw depth videos supplied with the dataset. For the designated image sets, the normal targets come from the Kinect depth data processed by Ladicky and colleagues. Those targets were unavailable for the extra video frames. For that material the authors compute directions from depth using the procedure of Fouhey and colleagues, which includes first-order TGV denoising. The extra examples therefore still derive their targets from measured depth.

A missing depth value prevents the corresponding pixel from supplying the normal target needed by the experiment. The authors exclude such pixels in training and evaluation. The distinction between the training input and the target is important. The input to the normal predictor is the color image. The reference direction comes from a depth measurement available while constructing the dataset. Once the network is trained, it can make the same kind of prediction on an image with no depth channel.

For optimization, the authors resize training images to 224 × 224 and sample pixels from 5 images in a mini-batch, with 1000 pixels drawn per image. Pixel sampling makes it possible to train the regression head over a limited set of hypercolumns in each update. The authors also motivate it by the similarity of nearby responses. A contiguous patch can contain many neighboring pixels that convey nearly the same training signal. Random locations expose the network to a wider variety of positions within the images selected for the batch.

Training uses stochastic gradient descent, which updates parameters from a sampled batch of examples, with a starting learning rate of 0.001. The update passes through the regression head and back into the convolutional layers. The authors apply [dropout](https://md.research.elamur.ai/free/en/papers/srivastava-2014-dropout-simple-way-prevent/) in the fully connected regression layers as a training regularizer. They use left-right flips and color augmentation on the NYU trainval frames, while the video frames enter without that augmentation. They implement the optimization in the publicly available [Caffe](https://md.research.elamur.ai/free/en/papers/jia-2014-caffe-convolutional-architecture-fast-feature/) framework. At prediction time, the image passes through the network and the final directions are returned at unit length.

#### Making pose labels with CAD views

The pose stage starts with the geometry already available in Princeton ModelNet. For each object shape, the authors can choose a camera view relative to its canonical orientation and render the shape from there. They use 1260 chairs, 526 sofas, and 196 beds. Each shape is rendered in 144 views spanning 4 elevations and 36 azimuth angles. Elevation describes how high or low the viewing direction is. Azimuth describes its horizontal direction around the object. The rendered training views cover changes in both, and the output classes represent azimuth.

The known geometry also produces a normal map for each view. The authors compute it by ray casting against the CAD faces. A ray associated with a pixel determines the visible surface intersected along that view, and the orientation of that face supplies the surface normal. The direction is represented with respect to the view. The training example thus contains a rendered appearance image, a corresponding map of surface directions, and a known azimuth from the rendering setup.

This use of synthetic data gives the network viewpoint labels across many designs. It can see several possible forms of a chair at a given angle, as well as how each form looks as the viewing angle changes. The authors train separate pose networks for chairs, sofas, and beds. For a benchmark object, the selected region and its category are established before the category-specific network estimates its azimuth.

#### Combining appearance and surface orientation

Both input streams use a CaffeNet-style architecture through pool5, a late pooling layer whose activations become the features passed onward. One stream processes the color image and the other processes the normal map. The streams start with parameters learned on ImageNet. The authors use the same kind of initialization for the normal stream even though its input channels represent directions and the original training used images. The CaffeNet design is related to the network described in [ImageNet Classification with Deep Convolutional Neural Networks](https://md.research.elamur.ai/free/en/papers/krizhevsky-2012-imagenet-classification-deep-convolutional/).

The authors transform the normal components from the interval [−1, 1] to [0, 255] so their numerical range resembles the range expected for image input. The direction is still encoded by its components. The transformation adapts how those values enter the pretrained network. The paper also describes subtracting mean values before the forward pass and reports that the means for the normal channels were calculated using 381 images from the NYUD2 training set.

The two streams each compute features from their own input. Their pool5 vectors are concatenated, and the joint representation passes through two fully connected layers. A softmax converts the final scores into probabilities over the 36 azimuth classes. Training is supervised by the angle used to produce each rendering. The objective favors probability on the correct class, and the resulting training error updates the layers in both streams.

```
min over Θ  −∑ᵢ₌₁ᴺ φᵢᵀ log(g(Iᵢ, n̂ᵢ; Θ))
```

Here, Θ is the set of trainable pose-network parameters. The index i runs over N rendered training examples, and Iᵢ and n̂ᵢ denote the rendered image and its CAD-derived normal map. The function g returns the softmax probabilities for the pose classes. The vector φᵢ encodes the known azimuth as the target class. The superscript T transposes that vector so its product with the componentwise logarithm selects the log probability for the target. The minus sign turns a larger probability for that class into a smaller loss.

On photographed objects, the normal input can be the first network’s prediction. This is the RGB-only path. When the input includes measured depth, the system can instead derive a normal map from the depth channel and pair it with the color crop. Both paths produce pose scores from the same kind of joint representation. The predicted angle is the one with the largest score.

Synthetic rendering also affects the appearance stream. The authors found that directly joining the pool5 representations was problematic when training views had an appearance unlike that of photographs. They render the objects over backgrounds sampled from natural images as part of the training procedure. This introduces photographic content around the rendered shape while retaining the known pose. The pose task itself is trained using the synthetic views. Its application to the annotated indoor photographs tests whether the learned representation transfers to real objects.

#### Adapting the representation to compare styles

The features learned for pose give the authors an initial retrieval method. They compare object and rendered candidate representations from the pose network’s fc-7 layer, then send a shortlist to a style network. A representation trained to identify an azimuth has a reason to retain features relevant to viewpoint. Its training labels alone give it no direct instruction about which of two similarly oriented chairs a person would judge to have more similar designs. The style stage adds this form of supervision while starting from the pose network’s parameters.

The training pairs contain a natural photograph and a rendered CAD candidate, with a human label about whether their styles are similar. To collect the labels, the authors use the pose network to propose candidates for chairs from the NYUD2 training set. They inspect the top-30 retrievals for each query and label the candidates for similarity. This supplies examples from the kinds of shortlists the style system will actually encounter. A rendered candidate can already resemble the photographed chair in some ways while differing in the design feature that matters to the eventual ranking.

The style architecture is Siamese. Each member of a pair is processed by a branch with shared parameters. A branch itself still has the two streams, one for appearance and one for normals. Thus the photograph and the rendered candidate are encoded by the same learned transformation, and the contrastive objective acts on the distance between their resulting features. The pose representation is the initialization for this training. The authors use mini-batch stochastic gradient descent and update all the layers of the matching network.

```
L(Θ) = ∑₍q,p₎ Lₚ(f_q, f_p) + ∑₍q,n₎ Lₙ(f_q, f_n)
```

Here, L(Θ) is the total style loss for the trainable parameters Θ. The index q identifies the query example, p identifies a similar candidate, and n identifies a dissimilar candidate. Their encoded features are f_q, f_p, and f_n. The first sum runs over labeled similar pairs and applies Lₚ, the positive-pair loss. The second runs over labeled dissimilar pairs and applies Lₙ, the negative-pair loss. The indices p and n belong to the pairing notation in this objective.

```
Lₚ(f_q, f_p) = ‖f_q − f_p‖₂
```

Here, Lₚ is the cost of the similar pair, f_q is the query feature vector, and f_p is the feature vector for its similar candidate. The Euclidean norm measures their separation. Minimizing this term brings the representations of the similar pair closer.

```
Lₙ(f_q, f_n) = max(m − ‖f_q − f_n‖₂, 0)
```

Here, Lₙ is the cost of the dissimilar pair and f_n is the feature vector for its dissimilar candidate. The norm measures its distance from the query feature f_q. The margin m is 1. The maximum gives a positive loss when the distance is below that margin and gives 0 when the two representations meet or exceed it.

The two terms give different roles to the two kinds of labels. Similar examples keep contributing a distance cost as long as they are separated. Dissimilar examples contribute when the network has placed them too close. Once labels have shaped this representation, the style stage uses it to reorder the pose shortlist. At that point the candidate remains a CAD shape viewed from a particular angle. The revised position reflects how the learned comparison rates it against the query and against the other retrieved candidates.

### Experiments and results

#### How well the normals describe the whole image

The normal evaluation uses the NYUv2 test split. The reference directions are the depth-derived normals of Ladicky and colleagues. For each evaluable pixel, the experiment measures the angle between its predicted and reference directions. The mean angular error describes the average size of that disagreement, and the median identifies the middle of the error distribution. Root mean square error, or RMSE, gives large discrepancies more influence by squaring the errors before averaging and taking a square root. Lower values are preferable for all of these statistics.

The other measures ask how frequently a prediction lies within a specified angle of the reference normal. The thresholds are 11.25°, 22.5°, and 30°. Higher percentages indicate that more of the evaluated pixels meet the corresponding tolerance. A method can do well under a tight tolerance on many pixels and still make large mistakes elsewhere. Reporting the threshold rates alongside the aggregate errors gives a way to see both kinds of behavior.

For the comparison without Manhattan-world rectification, the paper reports mean angular errors of 23.7° for Eigen and Fergus and 35.3° for Fouhey and colleagues. Rectification is a separate operation that adjusts the normals using estimated dominant scene directions. The authors give both versions of their own predictor because the comparison methods differ in whether they use such an adjustment. The results below compare the systems evaluated without that operation.

Whole-image normal prediction on the NYUv2 test split by mean angular error The skip network has the lowest mean angular error among the unrectified systems shown.

**The numbers**

| System or setting | degrees |
| --- | --- |
| Fouhey et al. | 35.3 |
| Eigen and Fergus | 23.7 |
| Skip network (this paper) | 19.8 |

The unrectified skip network has a median angular error of 12.0° and an RMSE of 28.2° on this split. Its rates within the strict, intermediate, and widest angular thresholds are 47.9%, 70.0%, and 77.8%, respectively. The tabulated Eigen and Fergus results have corresponding rates of 39.2%, 62.0%, and 71.1%. The paper identifies that comparator as an earlier version of Eigen and Fergus’s work. It says an updated version using VGG-16 narrowed the comparison and describes its own reported advantage over that version as 1-3% across the criteria. It does not give the updated cells alongside the earlier ones.

The qualitative examples give the angular statistics a visible counterpart. The authors point to a sofa whose back is better captured by their predictor, and to an indoor scene in which the desk and chair show more distinct detail. The comparison displays the input photograph, directions obtained from Kinect depth, and the outputs of the different predictors. The examples illustrate what greater local precision looks like in an image. The benchmark scores provide the broader comparison across the available reference pixels.

#### What changes when the evaluation looks only at furniture

The authors run a separate evaluation restricted to pixels that belong to a chair, sofa, or bed. This changes the question being asked of the normal maps. A whole-image score includes large surfaces such as the wall and floor. A score computed on chair pixels gives the estimated chair geometry direct influence. It also matches the scale of the downstream task, where the pose network receives the region occupied by the object.

The paper compares its method with Wang and colleagues and with Eigen and Fergus for each furniture category. On chairs, the mean angular errors on the NYUv2 test split are 44.7°, 38.2°, and 32.0° for Wang and colleagues, Eigen and Fergus, and the skip network, respectively. The corresponding sofa errors are 36.0°, 27.0°, and 20.9°. On beds they are 28.6°, 23.1°, and 19.6°. Within each category the paper’s predictor gives the smallest reported mean error. The ordering of the category results also shows that the absolute error still depends substantially on which kind of furniture is being evaluated.

Chair normal prediction on the NYUv2 test split by share of pixels within 30° The skip network places the largest share of evaluated chair pixels within the angular tolerance.

**The numbers**

| System or setting | % |
| --- | --- |
| Wang et al. | 44.3 |
| Eigen and Fergus | 46.6 |
| Skip network (this paper) | 58.5 |

For the most stringent threshold of 11.25°, the skip network scores 21.2% on chair pixels, 34.8% on sofa pixels, and 43.5% on bed pixels. The matching Eigen and Fergus values are 14.4%, 25.5%, and 36.4%. The authors report improvements across all the measured statistics for each category. The tighter criterion illustrates the scale of the residual problem. Many chair pixels still have a sizable directional error even with the best method in the comparison. A predictor can improve the geometry available to the pose stage while remaining imperfect on individual parts.

#### Pose accuracy on the validation and test splits

The pose evaluation uses Guo and Hoiem’s annotations, which align CAD shapes to instances of the furniture categories in NYUD2. The prediction for an instance is the horizontal angle selected by the network. The reported curves vary an angular tolerance and record the fraction of instances whose prediction error falls below that tolerance. A curve that rises sooner reflects more predictions close to the annotated direction. Integrating the curve gives a single summary for the nearest-neighbor comparison.

The validation and test comparisons have different baselines because the earlier methods reported on different splits. On validation, the comparison is with Gupta and colleagues, whose method uses geometry from measured depth. For this setup the authors train their normal predictor using the 381 images in the NYUD2 training set. The validation comparison follows the depth-coverage condition of the earlier experiment, with Gupta and colleagues’ reported subset described as having at least 50% valid depth pixels. On chairs and sofas, the paper reports stronger pose results with both its RGB-only and RGB-D inputs. The evidence is given as class-specific curves over the angular tolerances.

On the separate NYUD2 test split, the comparison is with Papon and Schoeler. The authors train the normal predictor using the NYUD2 trainval set for that comparison. The figure considers objects with more than 50% valid depth pixels and reports separate results for chairs, sofas, and beds. The authors describe their method as competitive with both RGB and RGB-D inputs. Because these figures show curves, the conclusions from the validation and test comparisons concern how the methods behave over tolerances and categories. The paper supplies directly tabulated numerical results for the more restricted chair experiment.

#### What the nearest-neighbor comparison measures

The nearest-neighbor experiment asks how far direct matching can go in estimating a chair’s pose. The authors compare the observed crop with rendered CAD views, using geometry, appearance, or a weighted combination of their scores. The geometric search slides the candidate within the given bounding box to find a location and scale. The renderings used for this search are resized so their maximum dimension is 40 pixels. One scoring method compares the normals by dot product. The other, called Geom, measures the share of pixels at which the normals agree within 30°.

The window score also incorporates its overlap with the annotated box, measured by intersection over union. This overlap is the area shared by the two regions relative to the area covered by either region. Multiplying by the overlap discourages a very small placement that obtains a favorable geometric score on a limited patch of the object. The authors also prune similar CAD candidates within a 20° azimuthal angle. Appearance is assessed separately using cosine distance between CaffeNet pool-5 features for the crop and the rendered view. The table includes single-neighbor and multiple-neighbor settings, with K = 35 for the latter.

The metric is the area under the curve relating angular-error tolerance to the fraction of correctly estimated chair poses. The test subset consists of chairs with more than 50% valid depth pixels. This restriction enables comparisons with methods using normals derived from depth, including the depth-only geometric matches. Selected configurations show how the learned predictor compares with both appearance and geometric matching on this subset.

Chair pose on the NYUD2 depth-qualified test subset by area under the accuracy curve The learned RGB-D predictor leads the comparison, while its RGB-only counterpart is close to the strongest nearest-neighbor result.

**The numbers**

| System or setting | area under the curve |
| --- | --- |
| Random baseline | 0.13 |
| Appearance only, multiple neighbors | 0.28 |
| Predicted normals, Geom single neighbor | 0.31 |
| Depth normals, Geom multiple neighbors | 0.44 |
| PoseNet, RGB only (this paper) | 0.43 |
| PoseNet, RGB-D | 0.55 |

The RGB-only PoseNet score of 0.43 can be read against the direct matching result of 0.31 using predicted normals with Geom and a single neighbor. It is also close to the strongest depth-based nearest-neighbor score of 0.44. The RGB-D PoseNet result of 0.55 is higher than all the nearest-neighbor configurations in the table. This makes the input condition important when interpreting the claimed gains. With measured depth, the learned predictor leads the comparison. With a color image alone, it approaches the strongest result obtained by direct matching with depth.

#### What the style results show

The authors assess style retrieval on chairs because their designs vary enough to give the experiment meaningful alternatives. The paper first shows candidate views returned using the pose network’s fc-7 features and candidates returned using nearest-neighbor matching on predicted normals. These examples display two ways of using the estimated geometry, one through a representation learned for pose and the other through matching the directions themselves.

The separate style figure compares the top-5 reranked candidates with the original retrievals from the pose network. The authors draw attention to examples in which the photograph depicts a chair with wheels. The initial results mix chairs of differing styles, while the reranker moves wheeled designs toward the top. This is evidence about the content and order of the displayed candidate lists. The paper evaluates pose with angular accuracy and style with these qualitative examples. They support different degrees of precision about the performance of the respective stages.

### What the ablations show

#### Selecting layers for the normal predictor

The architecture ablation varies the VGG layers included in the hypercolumn and evaluates the resulting normals on the NYUv2 test split. The settings begin with only very early features, then bring in responses from farther through the network. This tests whether fine localization can be supported by early responses alone, and which gains accompany adding a representation with broader image context. The experiment keeps the task and its evaluation fixed while changing the feature inputs available for predicting each direction.

Using the two early responses alone yields a mean angular error of 44.4° and a median error of 42.7°. With a middle-stage response added, those errors are 30.2° and 24.7°. An alternative that adds a deeper response to the early pair gives 22.6° mean error and 15.3° median error. The largest improvements among these configurations occur when the predictor moves beyond the very local features. This supports the interpretation that a fine spatial description benefits from knowing something about the larger surface or object around a pixel.

The value of combining several stages is also visible in the settings near the top of the comparison. An early, middle, and deep combination gives a mean error of 21.3°. A setting spanning the convolutional groups through the final convolutional block, before adding conv-7, gives 20.9°. The authors’ full selection, including conv-7, gives 19.8°. At the 11.25° threshold the last two settings have scores of 43.1% and 47.9%. The deeper feature therefore helps even after the representation already includes earlier and intermediate features. The ablation measures the effect of the tested sets of layers as a whole. It does not assign a separate geometric function to every layer or channel.

The paper also describes an observed benefit from more than a single regression layer over the hypercolumn. The detailed numerical comparison concerns which convolutional responses are supplied to the head. The authors’ explanation is that the multilayer head can learn nonlinear relationships among responses, such as giving the same local feature a different interpretation depending on wider context. The layer-selection results supply the more direct quantitative evidence about the importance of the network’s depth at the input to that head.

#### Rectifying scene directions

For the full network the authors evaluate a version with Manhattan-world rectification as well as the original output. The rectified setting uses vanishing point estimates to adjust surface directions. Vanishing points are image locations associated with projections of parallel lines, and their estimated directions support a regular layout for a room. A correction based on this information could help when the predicted orientations disagree with a reliable estimate of a dominant scene direction.

For the authors’ own NYUv2 test results, rectification raises mean angular error from 19.8° to 23.9° and RMSE from 28.2° to 35.9°. Some scores move in the other direction. The median changes from 12.0° to 11.9°, and the share within 11.25° changes from 47.9% to 48.4%. The shares within the wider tolerances fall. The adjustment thus gives slightly better values on the median and tightest threshold, alongside a larger average error and worse results on several other measures. The authors interpret the overall outcome as evidence that the network already infers room orientation well enough that the estimated vanishing points can degrade its output.

#### Changing the normals supplied to the pose network

The paper also varies the normal-prediction method at the input to the trained pose network. It compares its skip network with the predictions of Eigen and Fergus and of Wang and colleagues. This is possible because the pose network was trained on CAD renderings and their computed normals. Its pose labels and learned weights were therefore independent of which of those real-image normal predictors the authors would choose during this comparison.

The resulting curves show better pose estimates with the authors’ improved surface normal predictions. This links a change in the geometric input to a change in downstream angular accuracy. The experiment observes the whole normal map as it passes into the pose stage. The paper’s qualitative examples make thin supports and detailed furniture surfaces plausible contributors. The comparison itself leaves open which particular pixels or object parts contribute most to the pose improvement.

There is a second comparison in which the authors remove the depth-coverage filter and include all annotated objects in the NYUD2 test set. This changes the evaluation population. A prediction from RGB can be produced without a sufficiently complete depth map for the object, so the authors can compare the RGB normal predictors on cases omitted by the depth-qualified evaluation. The curves describe behavior on the enlarged test population. They also demonstrate the practical difference between requiring depth for supervision during training and requiring it on the particular object whose orientation is being estimated.

#### What appearance adds to direct matching

The nearest-neighbor table helps distinguish the effect of the normal scoring rule from that of adding image appearance. For depth-derived normals, the multiple-neighbor score is 0.31 with dot-product matching and 0.44 with Geom. For normals predicted from RGB, those multiple-neighbor scores are 0.22 and 0.30. On this NYUD2 test subset of chairs, measuring how frequently orientations agree within the angular threshold provides a better basis for pose retrieval than the tested dot-product score.

The effect of adding appearance depends on the geometry entering the match. In the multiple-neighbor Geom setting, adding the pool-5 appearance score moves the area under the curve from 0.30 to 0.32 for predicted normals. With depth-derived normals, the corresponding change is from 0.44 to 0.38. Other entries qualify a general claim about the effect of appearance. For example, predicted normals with single-neighbor Geom score 0.31 alone and 0.29 with appearance. The contribution of appearance depends on the scoring rule and neighbor setting, as well as on the source of the directions. These comparisons are for weighted direct matching. PoseNet has a separate training procedure that learns how to use the two sources jointly.

The authors also discuss two changes without supplying matched numerical results in the experiment tables. They report better pose performance after compositing rendered furniture with natural backgrounds, addressing the difficulty of transferring the appearance features. And they say the pixelwise normal predictor achieves comparable results when trained using only the 795 designated training images. In their interpretation, useful variation across individual pixels helps explain the latter observation. Both reports describe behavior of the training setup, while the tabulated feature and input comparisons give a more precise basis for judging the size of particular effects.

### Limitations

#### Limits identified by the authors

The authors describe the difference between photographs and synthetic views as a central difficulty. Using normals gives the two sources a common geometric description, but the pose network still receives color images, and the authors report trouble with directly combining the appearance and geometry features when training renderings differ in appearance from real scenes. Compositing with natural backgrounds improves their setup. The resulting evidence concerns the transfer achieved with this training procedure and these indoor object categories.

The authors also point out that their data augmentation for normal prediction is limited. They use flips and color changes on the designated trainval frames, with the extra video frames left unaugmented. They suggest that more extensive augmentation might yield better accuracy. That is a possibility they identify, while the reported metrics come from the augmentation schedule they actually evaluate. They likewise distinguish the earlier tabulated Eigen and Fergus baseline from an updated one whose reported performance is stronger.

For pose estimation, the authors state why the two principal prior methods cannot be compared on a single split using the published numbers. One reports on validation and the other on test. The separate comparisons preserve the applicable split and the associated normal-predictor training setup. Several of the earlier comparisons also require enough valid depth for each object, so the paper evaluates the RGB approach on the unrestricted test examples separately. The results from a depth-qualified cohort and the results from all test objects characterize different sets of instances.

#### Limits of what the setup can establish

The normal scores concern agreement with directions computed from Kinect depth wherever a reference direction can be formed. The experiment excludes missing-depth pixels, even though the RGB predictor can output directions there. Test performance therefore describes the available reference locations. The furniture-specific evaluation narrows that claim further to chair, sofa, and bed regions. It shows that the improvement is present on those object pixels, while leaving performance on other object categories and kinds of scenes open.

The pose setup assumes a selected object region and uses a separate network for each category. Its quantitative results concern the recovery of a discretized azimuth given that input. The renderings vary in elevation, but the predicted label is one of the 36 horizontal angles. The study therefore isolates a particular aspect of alignment. It supplies no corresponding benchmark of detecting the furniture, assigning its category, or estimating all the spatial parameters needed to position a recovered shape in a scene.

A CAD match explains some hidden geometry by supplying a complete candidate from a repository. Recovering that candidate is different from measuring the hidden surfaces of the photographed object. More than one shape could agree with its visible orientations, and the types of shape available to the system are limited by the collection it searches. The paper reports accuracy for estimated normals and viewpoint. Its examples of complete shapes illustrate plausible retrievals without testing the fidelity of unseen geometry against a complete physical measurement of each object.

Style adds another dependency because the comparison begins with a shortlist. Human labels are collected from candidates already retrieved by the pose network, and the style stage reorders candidates supplied by that initial search. A good candidate outside the shortlist is unavailable to the reranker. The examples show that it can promote chairs with a design cue that better matches the query. They supply no aggregate ranking score, coverage estimate, or comparison of human judgments about style across categories. The evidence supports a qualitative claim about chair retrieval. A broader claim about jointly recovering pose and style would require measurements of both properties on the returned shapes.

Taken together, the experiments test important parts of the sequence that motivated the paper. They show that useful visible geometry can be inferred from color and that the quality of that geometry matters for an ensuing pose decision. Retrieval demonstrates how a complete candidate can then be brought into comparison with the photograph. Marr’s wider account also includes volumetric recovery and eventual category recognition. The paper takes the category as given for its pose experiment and uses a CAD collection for complete shapes, so its tests address a specific computational interpretation of that sequence.

### What came after

The later citing work is [Scaling and Benchmarking Self-Supervised Visual Representation Learning](https://md.research.elamur.ai/free/en/papers/goyal-2019-scaling-benchmarking-self-supervised-visual/). Its stated subject is how visual representation learning without direct task labels can be scaled and benchmarked. The citation places the surface-normal paper in that later discussion. It establishes a connection between the works, while the specific role of the citation and any reuse of the normal predictor, pose network, or CAD retrieval procedure are unspecified.

## Cite

Cite as Aayush Bansal, Bryan Russell and Abhinav Gupta. 2016. Marr Revisited: 2D-3D Alignment via Surface Normal Prediction. IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.1109/cvpr.2016.642](https://doi.org/10.1109/cvpr.2016.642) · [arXiv 1604.01347](https://arxiv.org/abs/1604.01347)

```bibtex
@inproceedings{bansal2016marr,
  title = {{Marr Revisited: 2D-3D Alignment via Surface Normal Prediction}},
  author = {Aayush Bansal, Bryan Russell and Abhinav Gupta},
  booktitle = {IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings},
  year = {2016},
  doi = {10.1109/cvpr.2016.642},
  eprint = {1604.01347},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.1109/cvpr.2016.642}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
