An Alternative Hard-Parameter Sharing Paradigm for Multi-Domain Learning

Lijun Zhang, Qizheng Yang, Xiao Liu, Hui Guan

Introduction

Multi-Domain Learning (MDL) aims to develop a single, efficient neural network capable of generalizing across diverse visual domains—ranging from natural images to medical scans and satellite data. A primary constraint in MDL is the storage footprint, especially for deployment on edge devices. To address this, "hard-parameter sharing" has become the standard approach, where a majority of the network's weights are shared across all tasks.

For years, researchers have adhered to a "share-bottom, specialize-top" paradigm. This strategy, inherited from Multi-Task Learning (MTL), assumes that early layers learn universal low-level features (like edges and textures) while deeper layers capture domain-specific semantics. However, this study challenges this conventional wisdom, demonstrating that flipping the sharing strategy can yield significant performance gains.

Challenging the Status Quo

The authors identify a lack of empirical evidence for the "share-bottom" approach in the specific context of MDL. They hypothesize that the traditional paradigm might actually be counterproductive due to two factors: task interference in early layers and high redundancy in deeper layers.

To investigate this, the study compares three distinct sharing strategies:

  1. Top-Specific (Traditional): Shared bottom layers with domain-specific top layers.
  2. Bottom-Specific (Alternative): Domain-specific bottom layers with shared top layers.
  3. Random: Domain-specific parameters distributed randomly throughout the network.

Proposed Methodology

To ensure a rigorous comparison, the authors introduce the concept of Filter Granularity. Rather than making entire layers domain-specific, they designate a fixed percentage of convolutional filters within each layer as domain-specific. This allows for precise control over the total parameter count, ensuring that all compared models maintain the same memory footprint.

Architecture of the proposed Bottom-Specific sharing paradigm using filter-level granularity.

As shown in the architecture diagram, the "Bottom-Specific" approach utilizes domain-specific convolutional filters and Batch Normalization (BN) layers in the early stages of the feature extractor. The deeper layers are then shared across all domains, followed by domain-specific classifiers. This structure allows the model to capture unique low-level nuances for each domain before processing them through a shared high-level semantic engine.

Key Design Choices

  • Domain-Specific BN: The authors emphasize that separate BN layers are a "low-cost, high-gain" addition, accounting for varying statistical distributions across datasets.
  • Classifier Pre-training: Providing a better initialization for the output layers significantly improves transfer learning performance compared to random initialization.

The Redundancy Paradox and Task Interference

The study's most striking insight is the Redundancy Paradox. Modern CNN architectures like ResNet or MobileNet typically become wider in their deeper layers. The authors found that these top layers often contain significant redundancy. Conversely, the bottom layers are more critical for capturing the unique nuances of a specific domain.

When bottom layers are shared, different domains often "compete" for the same low-level feature extractors. This leads to task interference, where the shared filters settle on a sub-optimal middle ground that serves no domain perfectly. By providing each domain with its own "eyes" (bottom-layer filters), the shared top layers can more effectively process these specialized features without the burden of resolving early-stage conflicts.

Experimental Results

The "Bottom-Specific" paradigm was validated using the Fine-Grained Classification (FGC) benchmark and the Visual Decathlon benchmark across four architectures: MobileNetV2, ResNet50, MNasNet, and SqueezeNet.

  • Consistent Outperformance: The Bottom-Specific strategy consistently surpassed the traditional Top-Specific approach in accuracy across all tested architectures.
  • Efficiency: By making only 20% of the bottom-layer parameters domain-specific, the model matched the performance of independent models trained on single domains while using far fewer total parameters.
  • Statistical Significance: T-tests confirmed that the performance gains were robust, with p-values often lower than 0.01.
  • Pruning Evidence: To confirm their redundancy theory, the authors performed pruning experiments. Pruning bottom layers led to a much sharper decline in accuracy than pruning top layers, proving that bottom layers are more information-dense and less redundant.

Conclusion

This research provides a compelling argument for re-evaluating how we design multi-domain networks. By shifting domain-specific parameters to the bottom layers, the "Bottom-Specific" paradigm alleviates task interference and leverages the inherent redundancy of deeper layers. This approach offers a more efficient and accurate baseline for MDL, paving the way for more robust universal vision models.

Future work will look into automating the allocation of domain-specific filters and exploring the paradigm's effectiveness in non-CNN architectures like Vision Transformers.

Summary updated

BibTeX
@article{zhang2023alternative,
  author = {Lijun Zhang and Qizheng Yang and Xiao Liu and Hui Guan},
  title = {{An Alternative Hard-Parameter Sharing Paradigm for Multi-Domain Learning}},
  journal = {IEEE Access},
  year = {2023},
  doi = {10.1109/access.2023.3240410},
}
Figure