Learning with rethinking: Recurrently improving convolutional neural networks through feedback

Xin Li, Zequn Jie, Jiashi Feng, Changsong Liu, Shuicheng Yan · DOI

In the world of deep learning, we usually think of Convolutional Neural Networks (CNNs) as a one-way street: pixels go in at the bottom, and a classification comes out at the top. But if you’ve ever squinted at a blurry photo and realized, "Oh, that's not a dog, it's a cat," you’ve used a biological feedback loop. You used high-level context to refine your low-level perception. This paper, "Learning with Rethinking," brings that same "second look" capability to artificial neural networks.

TL;DR

The authors propose a "Learning with Rethinking" (LR) algorithm that adds feedback connections to standard CNNs, allowing the model to use its initial predictions to refine feature extraction in lower layers. By recurrently "re-thinking" the input, the model significantly boosts accuracy on benchmark datasets with minimal increases in parameter count.

What Problem Does This Paper Address?

Standard CNNs are almost exclusively feedforward. While this is computationally efficient, it has a major drawback: the bottom layers (which look at edges and textures) have no idea what the top layers (which look at objects and concepts) are thinking.

This lack of communication makes it hard for models to handle two specific scenarios:

  1. Small Objects: When an object is tiny, its features are easily drowned out by background noise in a single feedforward pass.
  2. Fine-Grained Classification: Distinguishing between very similar categories (e.g., two different breeds of dogs) requires the model to focus on very specific, discriminative regions—something it might miss without high-level guidance.

The authors argue that by adding a feedback mechanism, a network can use its "best guess" to go back and tell the lower layers which features to emphasize and which to ignore.

Methods

The core of the "Learning with Rethinking" algorithm involves two novel components added to existing architectures (like VGG or NIN):

  • The Feedback Layer: This layer connects a top layer (usually the one producing class probabilities) to a specific bottom layer. It takes the predicted posterior probabilities and transforms them into an emphasis vector.
  • The Emphasis Layer: This layer acts as a modulator. It takes the emphasis vector and uses it to re-weight the feature maps in the lower layer. If the model thinks it sees a "car," the emphasis layer might boost feature maps that are good at detecting wheels or metallic reflections.

The Recurrent Process: The model is unfolded over $T$ time steps.

  1. $T=1$: A standard feedforward pass occurs.
  2. $T=2$: The prediction from $T=1$ is fed back through the Feedback Layer to the Emphasis Layer. The network then performs a second forward pass, but this time with "guided" feature maps.

To train this, the authors use Backpropagation Through Time (BPTT). They also employ a "Deeply Supervised" approach, where the total loss is the sum of the losses at every time step, ensuring the model learns to improve its prediction at each iteration.

Datasets

The authors evaluated their approach on four major image classification benchmarks:

  • CIFAR-10 & CIFAR-100: Standard small-image datasets (32x32).
  • MNIST-background-image: A more challenging version of MNIST where digits are placed over random image patches.
  • ILSVRC-2012 (ImageNet): The gold standard for large-scale visual recognition.

Key Insights and Ideas

  • Modulation, Not Addition: Unlike some recurrent models that add information, the LR algorithm modulates existing features. It’s more about "turning up the volume" on relevant details than trying to create new ones from scratch.
  • Plug-and-Play Boosting: One of the most practical insights is that this can be applied to almost any pre-trained model. You don't have to train from scratch; you can take a well-performing VGG16, add the LR layers, and fine-tune it for a performance bump.
  • Increased Certainty: Qualitative analysis showed that the "rethinking" process doesn't just change the answer; it makes the model more confident. The entropy of the final prediction decreases, meaning the model becomes more "certain" of its choice.
  • Efficiency: The parameter overhead is remarkably low. For a NIN model on CIFAR-100, the LR version added only 58k parameters—a mere 4% increase.

Key Results

The LR algorithm consistently outperformed baseline feedforward models:

  • MNIST-background-image: The LR-LeNet model achieved a 3.57% error rate, which the authors claim was the state-of-the-art at the time, nearly halving the error of the standard LeNet (6.92%).
  • CIFAR-100: Adding rethinking to a "Leaky NIN" model dropped the error from 33.30% to 31.49%.
  • ImageNet: Applying LR to VGG16 improved the top-5 validation error from 10.05% to 9.16% (single crop).
  • Convergence: The authors found that while $T=2$ provides the biggest jump, $T=3$ offers further incremental gains. However, beyond $T=3$, the performance tends to plateau.

Limitations and Future Work

  • Computational Cost: The primary drawback is speed. Because the model performs multiple forward passes, the training and inference time is roughly $T$ times slower than the original model.
  • Fixed Recurrence: Currently, the number of "rethinking" steps ($T$) is fixed. The authors suggest that a more advanced version could use a dynamic stopping condition—letting the model "stop thinking" once it reaches a certain confidence threshold.
  • Feedback Complexity: The current feedback uses simple fully connected layers. Future work could explore more complex feedback paths, perhaps using convolutional or attention-based mechanisms to provide spatially-aware feedback.

Summary updated

BibTeX
@article{li2018learning,
  author = {Xin Li and Zequn Jie and Jiashi Feng and Changsong Liu and Shuicheng YAN},
  title = {{Learning with rethinking: Recurrently improving convolutional neural networks through feedback}},
  journal = {Pattern Recognition},
  year = {2018},
  doi = {10.1016/j.patcog.2018.01.015},
}
Figure