NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Feedback-Prop: Convolutional Neural Network Inference Under Partial Evidence

Tianlu Wang, Kota Yamaguchi, Vicente Ordonez

Abstract

We propose an inference procedure for deep convolutional neural networks (CNNs) when partial evidence is available. Our method consists of a general feedback-based propagation approach (feedback-prop) that boosts the prediction accuracy for an arbitrary set of unknown target labels when the values for a non-overlapping arbitrary set of target labels are known. We show that existing models trained in a multi-label or multi-task setting can readily take advantage of feedback-prop without any retraining or fine-tuning. Our feedback-prop inference procedure is general, simple, reliable, and works on different challenging visual recognition tasks. We present two variants of feedback-prop based on layer-wise and residual iterative updates. Our results unveil a previously unreported but interesting dynamic property of deep CNNs. We also present an associated technical approach that takes advantage of this property for inference under partial evidence in general visual recognition tasks.

Introduction

Standard Convolutional Neural Networks (CNNs) typically operate as feed-forward systems: an image is input, and the network performs a forward pass to produce predictions. However, real-world scenarios often provide partial evidence—additional context available at test time, such as GPS coordinates, user-provided tags, or surrounding news text.

Traditional CNNs lack a native mechanism to incorporate this external information during inference. Existing solutions often involve retraining the model or overlaying complex Probabilistic Graphical Models (PGMs). Feedback-prop offers a simpler, "plug-and-play" alternative that allows a standard, pre-trained CNN to leverage known information to refine its estimates for unknown variables without any retraining or fine-tuning.

Methodology: The Feedback-Prop Mechanism

Feedback-prop repurposes the backpropagation algorithm—traditionally reserved for training—to refine activations during the inference phase. The process treats intermediate neural activations as variables to be optimized based on the provided partial evidence.

The iterative inference process of Feedback-prop, showing full forward propagation followed by truncated backward and forward passes to refine predictions.

As illustrated in the figure above, the process follows three main steps:

  1. Full-Forward-Propagation: A standard pass produces initial predictions ($y^{(0)}$).
  2. Truncated-Backward-Propagation: Given known labels (e.g., "banana: 1"), a loss is calculated between the current prediction and the known truth. This loss is backpropagated to a specific "pivot" layer to compute gradients ($dL/da_l^{(t)}$).
  3. Truncated-Forward-Propagation: The pivot layer's activations are updated to minimize the error, and a new forward pass is performed from that layer to the output, resulting in refined predictions ($y^{(t+1)}$).

The paper introduces two primary variants:

  • Layer-wise Feedback-prop (LF): Updates layers sequentially from the input forward.
  • Residual Feedback-prop (RF): A more efficient approach that injects additive "residual" variables into multiple layers, allowing for simultaneous updates in a single pass, significantly reducing computational overhead.
The architecture of Residual Feedback-prop (RF), where residual variables $r_i$ are added to intermediate activations $a_i$ and updated via backward signals to refine the output.

Experimental Evaluation

The researchers evaluated Feedback-prop across several challenging datasets and tasks:

  • MS COCO: Multi-label annotation and joint image captioning/object categorization.
  • SUN397: Hierarchical scene categorization (e.g., using the knowledge that a scene is "indoors" to better predict if it is a "kitchen").
  • BBC News: Using surrounding article text as partial evidence to predict visual concepts in images.

Key Results

  • Accuracy Gains: On MS COCO with a VGG-16 backbone, Feedback-prop achieved a 9.8% relative improvement in mean Average Precision (mAP) for unknown labels when the rest of the label set was known.
  • Contextual Reasoning: In the news image task, incorporating surrounding text as partial evidence led to a 13.3% relative improvement in visual concept prediction, demonstrating robustness to noisy data.
  • Enhanced Captioning: For image captioning, providing object labels as evidence boosted the CIDEr score from 0.946 to 0.992.
  • Efficiency: The Residual (RF) variant proved significantly faster than the Layer-wise (LF) version while maintaining comparable accuracy, making it viable for real-time applications.

Discussion and Insights

Feedback-prop reveals that CNNs are implicitly relational. Even without explicit relational training, they learn internal correlations (e.g., the co-occurrence of "forks" and "tables"). Feedback-prop simply provides a mechanism to "unlock" this internal knowledge at test time.

One critical finding is the existence of a "sweet spot" for information sharing: updating middle layers (such as Conv10 in VGG-16 or Conv40 in ResNet-50) is more effective than updating the raw input image. This suggests that these intermediate representations are where the network's semantic correlations are most flexibly encoded.

Limitations and Future Work

While powerful, Feedback-prop depends on the base model having been trained in a multi-task or multi-label setting; it cannot infer correlations the model never encountered. Future research may focus on automatically selecting optimal "pivot" layers using information-theoretic metrics or integrating feedback loops directly into the training phase to create even more robust representations.

Summary updated

BibTeX
@inproceedings{wang2018feedback,
  author = {Tianlu Wang and Kota Yamaguchi and Vicente Ordonez},
  title = {{Feedback-Prop: Convolutional Neural Network Inference Under Partial Evidence}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  url = {https://openreview.net/forum?id=r1-9l6-dZB},
}
Figure