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

Learning Visual Reasoning Without Strong Priors

Conditional Batch Normalization lets a general network learn visual reasoning from language

  • Problem Standard deep models often exploit dataset biases instead of learning multi-step visual reasoning. Leading reasoning methods work well but are hand-crafted for reasoning, so they embed a strong prior.
  • Method Conditional Batch Normalization predicts the scale and shift of each image feature map from the question. Unlike the usual fixed values, the same image features get modulated differently for each question.
  • Results The model reaches 97.6 overall accuracy on CLEVR, compared to 96.9 for PG+EE trained with 700K program labels. It uses no program labels.

Why deep models struggle with multi-step visual reasoning

Answering a language question about an image often takes several reasoning steps rather than one glance. Standard deep learning models handle this poorly, even when they do well on simpler visual question answering. Such models can score well by exploiting dataset biases instead of reasoning about the scene. Recent work responds with architectures that model reasoning or relations explicitly, and some of these report scores above human performance.

The authors ask whether a general architecture, built without strong priors, can learn that structure from language and images alone. CLEVR offers a test of this, because its questions are multi-step and compositional.

Conditioning batch norm on the question

The key idea is to let the question decide how each feature map of the image network is scaled and shifted. Batch normalization standardizes activations over each mini-batch and then applies a trainable per-channel scale and shift. Conditional Batch Normalization keeps the normalization but predicts the scale and shift from another input instead of learning them as fixed values.

Here that input is the question, so the same image features can be modulated differently for each question.

Because the predicted values can scale, negate or switch off each feature map, one conditioning signal can reshape the whole representation. Each feature map is modulated independently, so the number of possible effects grows exponentially with the number of feature maps. The authors predict a change to gamma rather than gamma itself, writing \( \hat\gamma_{i,c} = 1 + \Delta\hat\gamma_{i,c} \).

A gamma starting at zero could zero out feature map activations and their gradients, so the offset form keeps the starting point at one.

How the model runs, step by step

The question passes through a GRU with 4096 hidden units, which reads learned 200-dimensional word embeddings. The final hidden state of the GRU is the question embedding \( e_q \). A linear projection of that embedding gives the CBN parameters for each CBN layer of each residual block, as \( (\gamma^{m,n}_{i,\cdot}, \beta^{m,n}_{i,\cdot}) = W^{m,n} e_q + b^{m,n} \).

The weight matrix and bias are learned during training, while the CBN parameters themselves are computed from each question at run time.

The image goes through conv4 features of a ResNet-101 pre-trained on ImageNet, extracted at 14 by 14. Coordinate feature maps with relative position scaled from -1 to 1 are concatenated to the image features, to each residual block input and to the classifier input. A 3 by 3 convolution starts the visual pipeline, followed by three CBN residual blocks with 128 feature maps.

The model trains end-to-end from scratch with Adam at a learning rate of 3e-4, with weight decay of 1e-5 and batch size 64. Early stopping uses the validation set, and training uses only image-question-answer triplets, with no program labels.

CLEVR accuracy against baselines

CNN+GRU+CBN scored 97.6 overall accuracy on CLEVR, compared to 96.9 for PG+EE trained with 700K program labels and 95.5 for CNN+LSTM+RN. The model reaches this without program labels, which the authors treat as the main point of the comparison. In the abstract, the error rate is 2.4%, compared to 4.5% for the next best end-to-end method and 3.1% for the best method with extra supervision.

The authors report that CBN outperforms the stacked-attention baseline CNN+LSTM+SA by 21.0%. Table 1 places CNN+LSTM+SA at 76.6 overall and CNN+GRU+CBN at 97.6, which makes that baseline a useful reference. The authors note that the model's pattern across categories looks more like the human pattern than other models do. Exist and query attribute stay below 1% error, which the authors link to the model's resemblance to standard CNNs.

What the CBN parameters cluster by

To inspect the learned parameters, the authors run t-SNE on the (γ, β) vectors of 2,000 random validation points, for the first and last CBN layers. In the first layer, equal color and query color sit close together, but in the last layer they move apart. Equal shape, equal size and equal material are grouped together in the last layer but split apart in the first.

The authors read this as CBN learning a function-based modularity from language and image inputs, without an architectural prior on modularity. The grouping moves from low-level functions in the first layer to high-level functions in the last, and residual block activations show similar patterns. Some count points sit far from other count points in the last layer and close to exist questions, and the authors trace this to counts whose answers are 0 or 1.

Where CBN trails the program-supervised model

On CompareNumbers, CNN+GRU+CBN scored 93.8, compared to 98.7 for PG+EE trained with 700K program labels. This is the one category where the model trails the 700K-label model, while it scores higher in the other columns. The authors explain that comparing numbers needs querying attributes, counting and comparing, which makes it a harder set of steps.

The 9K-label PG+EE scored 79.1 on this category, so the authors treat it as the more comparable program-based model.

Where the errors come from

94% of the counting mistakes are off-by-one errors. The authors read this as evidence that the model has picked up the close relationships between nearby numbers.

That makes the longest questions more than three times as error-prone as the shortest ones. These error rates are measured on validation questions grouped by CLEVR program length.

Limitations

The experiments here cover only CLEVR, with its generated 3D scenes and 28 possible answers. Errors grow with program length, and the longest questions still carry the highest error.

The model can count correctly and still give inconsistent comparison answers, as in the cyan and yellow example. It counted two cyan and two yellow objects correctly, yet answered No to whether there are as many yellow as cyan things, and also No to more and fewer, which cannot all hold together. The authors suggest that directly minimizing logical inconsistency could prevent such errors, and they leave that to future work.

How CBN relates to other conditioning methods

PG+EE builds a program generator and per-module networks, and it trains with program labels. That approach uses a strong prior by modeling the compositional nature of reasoning explicitly. Relation Networks use pairwise comparisons over spatial locations, and the authors argue that CBN drops both that comparison prior and its scaling cost.

Conditional Instance Normalization is a close relative that has been used for style transfer. de Vries et al. applied CBN to visual question answering with 50 BN layers of a pre-trained ResNet, while this paper uses a few CBN layers after a ResNet. CBN both scales and shifts without bounds, while LSTM-style gating only scales features between 0 and 1, so CBN has more capacity.

Paper info

Authors
Ethan Perez, Harm de Vries, Florian Strub, Vincent Dumoulin, Aaron Courville
Venue
arXiv · Preprint
First published
2017-7-10
Added
2026-11-12
Updated
2017-12-18
Version
v5
arXiv
1707.03017
Category
cs.CV · cs.AI · cs.CL · stat.ML
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

Ethan Perez, Harm de Vries, Florian Strub, Vincent Dumoulin, Aaron Courville (2017). Learning Visual Reasoning Without Strong Priors. arXiv:1707.03017v5. https://arxiv.org/abs/1707.03017v5

BibTeX
@misc{perez2017learning,
  title = {{Learning Visual Reasoning Without Strong Priors}},
  author = {Ethan Perez and Harm de Vries and Florian Strub and Vincent Dumoulin and Aaron Courville},
  year = {2017},
  eprint = {1707.03017},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1707.03017v5}
}

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