Incremental Multi-Domain Learning with Network Latent Tensor Factorization

Adrian Bulat, Jean Kossaifi, Georgios Tzimiropoulos, Maja Pantic

Incremental Multi-Domain Learning via Network Latent Tensor Factorization

Deep learning models typically excel at specific tasks but struggle to adapt to new domains without retraining. This retraining often triggers "catastrophic forgetting," where the model loses its original capabilities. While "adapters"—small sets of task-specific parameters—are a common solution, they scale linearly with the number of tasks and layers, leading to significant parameter bloat in deep architectures. This paper introduces a novel approach to incremental multi-domain learning that treats the weights of an entire network as a single high-order tensor. By applying Tucker factorization, the authors create a compact, shared "knowledge base" that can be specialized for new tasks using only a tiny fraction of additional parameters.

Methods: Network Latent Tensor Factorization

The core innovation lies in grouping identically structured blocks of a convolutional neural network (CNN), such as those found in ResNet architectures, into a single 6th-order tensor. To manage this high-dimensional data efficiently, the authors utilize Tucker Decomposition. This process decomposes the weight tensor into two primary components:

  1. A Task-Agnostic Core ($\mathcal{K}$): A shared latent subspace learned from a large-scale source dataset like ImageNet. This core captures "universal" visual features applicable across various domains.
  2. Task-Specific Factors ($F$): Small matrices that project the shared core into the specific weight configurations required for a new domain.
Overview of the proposed Network Latent Tensor Factorization framework, showing the shared core tensor and task-specific factors.

When a new task is introduced, the universal core remains frozen to prevent forgetting. Only the small task-specific factors are trained. An orthogonality loss is also employed during training to ensure these factors remain stable and non-redundant.

Key Insights

Unlike traditional methods that treat network layers as independent entities, this approach recognizes that layers within the same macro-module often perform similar operations. By grouping them, the model exploits correlations across the network's depth. Furthermore, the use of tensor algebra rather than standard matrix algebra allows for a more compact representation of domain-specific knowledge. The fundamental shift is viewing adaptation not as changing weights, but as specializing the "lens" (the factors) through which the shared latent subspace is viewed.

Results and Evaluation

The method was evaluated using the Visual Decathlon Challenge, which spans ten diverse datasets including ImageNet, CIFAR-100, and specialized domains like German Traffic Signs (GTSRB) and action recognition (UCF101).

The tensor approach achieved a 7.5× reduction in parameters compared to training separate networks for each task. On the Decathlon benchmark, it reached a score of 3585, outperforming several state-of-the-art methods while maintaining a significantly smaller parameter footprint.

Performance comparison across four datasets showing that training only the tensor factors is often more robust than training the entire network, especially with limited data.

A key finding is the model's robustness to data scarcity. As shown in the performance plots, the tensor-based approach ("train factors") often matches or exceeds the performance of full network training ("train everything"), particularly when only a small percentage of the target domain data is available. The shared core acts as a powerful prior that mitigates overfitting in low-data regimes.

Limitations and Future Work

Despite its efficiency, the method's performance is tied to the quality of the initial "core" learned from the source dataset. If the source data is too narrow, the resulting features may not be universal enough for diverse target domains. Additionally, while the core is currently frozen to prevent forgetting, joint fine-tuning across tasks could potentially improve overall accuracy at the cost of increased complexity. Finally, while mathematically general, the current implementation is optimized for modular architectures like ResNet; adapting it to heterogeneous structures like Vision Transformers remains a subject for future research.

Conclusion

By leveraging high-order tensor factorization, this work provides a mathematically elegant and parameter-efficient framework for incremental learning. It successfully balances the need for task-specific specialization with the preservation of universal visual knowledge, offering a scalable path for multi-domain AI systems.

Summary updated

BibTeX
@inproceedings{bulat2020incremental,
  author = {Adrian Bulat and Jean Kossaifi and Georgios Tzimiropoulos and Maja Pantic},
  title = {{Incremental Multi-Domain Learning with Network Latent Tensor Factorization}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  doi = {10.1609/aaai.v34i07.6617},
}
Figure