Abstract
This paper is about regularizing deep convolutional networks (CNNs) based on an adaptive framework for transfer learning with limited training data in the target domain. Recent advances of CNN regularization in this context are commonly due to the use of additional regularization objectives. They guide the training away from the target task using some forms of concrete tasks. Unlike those related approaches, we suggest that an objective without a concrete goal can still serve well as a regularized. In particular, we demonstrate Pseudo-task Regularization (PtR) which dynamically regularizes a network by simply attempting to regress image representations to pseudo-regression targets during fine-tuning. That is, a CNN is efficiently regularized without additional resources of data or prior domain expertise. In sum, the proposed PtR provides: a) an alternative for network regularization without dependence on the design of concrete regularization objectives or extra annotations; b) a dynamically adjusted and maintained strength of regularization effect by balancing the gradient norms between objectives on-line. Through numerous experiments, surprisingly, the improvements on classification accuracy by PtR are shown greater or on a par to the recent state-of-the-art methods.
Introduction
Transfer learning—taking a model pre-trained on a massive dataset like ImageNet and "fine-tuning" it for a specific task—is the industry standard for computer vision. However, when the new "target" dataset is small (e.g., a few dozen images of rare birds), deep CNNs tend to overfit. They become "too specific" to the small dataset and lose the general feature-extraction power they gained during pre-training.
Existing solutions often use "auxiliary tasks" to keep the model honest, such as predicting image rotation or simultaneously training on the original source data. However, these methods usually require extra labels, access to the original massive source dataset, or complex multi-stage training pipelines. This research introduces Pseudo-task Regularization (PtR), a "zero-resource" regularizer that provides the benefits of multi-task learning without the overhead.
Methods
The core of the proposed framework is the Pseudo-task Regularization (PtR) mechanism. Unlike traditional auxiliary tasks that have concrete semantic goals, PtR regularizes deep networks during fine-tuning by forcing them to solve a "meaningless" auxiliary task: regressing image features to completely random targets.
As illustrated in the architecture above, the framework consists of two main components:
- The Pseudo-Task: During fine-tuning, the network architecture is split after the feature representation layer. One branch performs the standard classification task using Softmax Cross-Entropy Loss. The other branch takes the same feature representation and attempts to regress it to a vector of randomly generated numbers (pseudo-targets).
- Dynamic Gradient Balancing: To prevent the random task from overwhelming the primary classification goal, the authors employ an on-line balancing scheme. This scheme dynamically adjusts the weight ($w$) of the pseudo-task based on the ratio of gradient norms, ensuring the regularization effect is maintained at an optimal intensity throughout training.
The underlying philosophy is that the primary benefit of many auxiliary tasks isn't the specific knowledge they impart, but the "useful distortion" they provide to the gradient descent path. This noise prevents the model from falling into "sharp" local minima that fail to generalize.
Experimental Evaluation
The authors evaluated PtR on several "sparse" datasets where overfitting is a major risk, including Flower102, CUB200-2011 (fine-grained birds), MIT67 (indoor scenes), Stanford40 (human actions), WebFace500, and Caltech256.
Key Results
PtR consistently outperformed or matched state-of-the-art (SOTA) transfer learning methods across various architectures (VGG and ResNet).
- Accuracy Gains: On the CUB200 dataset using a VGG-16 backbone, PtR improved accuracy by 3.0% over vanilla fine-tuning, outperforming "Learning without Forgetting" (LwF).
- Error Rate Reduction: On the Flower102 and CUB200 datasets, PtR reduced the error rate by more than 10% compared to the baseline.
As shown in the qualitative analysis, PtR helps the model focus its certainty on the correct class, whereas standard fine-tuning (FT) might misclassify based on spurious features or visually similar species. In the example above, PtR correctly identifies the Myrtle Warbler, while the baseline FT model incorrectly predicts a Pine Warbler.
Discussion and Insights
- Meaningless is Meaningful: A task doesn't need a "concrete goal" to be a good regularizer. Mapping features to a high-variance random target forces the network to maintain a more robust and diverse feature space.
- Escaping Sharp Minima: PtR acts as a form of "anisotropic noise," helping the SGD algorithm "bounce out" of narrow, overfitted valleys in the loss landscape and find broader, flatter regions that perform better on unseen data.
- Entropy Reduction: Qualitatively, PtR-regularized models produce "cleaner" predictions. While a standard model might spread probability across many incorrect classes (high entropy), PtR helps the model concentrate its probability mass on the correct or closely related classes.
Limitations and Future Work
While PtR improves accuracy, its effect on "model calibration" remains a topic for future study. Additionally, while the authors provide empirical evidence and toy examples, a rigorous mathematical proof of why random regression specifically aids the loss landscape of deep CNNs is an open research question. Finally, although a standard setting ($R=3$) works well across most datasets, some manual tuning of the gradient ratio might still be required for vastly different tasks.
Summary updated