Deep Cross Residual Learning for Multitask Visual Recognition

Brendan Jou, Shih-Fu Chang · OpenReview

TL;DR

This paper introduces "Cross-Residual Learning" (CRL), a novel extension to deep residual networks that allows for the integration of information across multiple related tasks. By adding "cross-residual" connections, the model can learn more generalized representations and achieve competitive or better performance on multitask problems with significantly fewer parameters than using separate networks for each task.

What Problem Does This Paper Address?

Modern multimedia applications often involve recognizing complex visual concepts that are inherently related. For instance, detecting "visual sentiment" might involve identifying both objects (nouns) and their descriptive qualities (adjectives), like "shiny cars." Traditional deep learning approaches often tackle these related tasks independently, requiring separate, specialized networks for each. This leads to redundant model parameters and fails to leverage the rich interdependencies between tasks. The authors aim to bridge this gap by proposing a unified network architecture that can learn from and generalize across these related tasks, improving efficiency and potentially performance.

Methods

The core innovation is Cross-Residual Learning (CRL), an extension of the residual learning framework. In standard residual networks, a shortcut connection allows the network to learn the residual mapping $F(x)$ on top of the input $x$, effectively learning $y = F(x) + x$. CRL modifies this by allowing the output of one task's residual block to influence another task's residual block through cross-residual connections.

Specifically, for a target task $t$, the output $y^{(t)}$ is computed as: $y^{(t)} = F(x, \{W^{(t)}_i\}) + \sum_{j=1}^{N} W^{(j)}_s x$

Here, $F(x, \{W^{(t)}_i\})$ is the task-specific residual mapping for task $t$, and $\sum_{j=1}^{N} W^{(j)}_s x$ represents contributions from other related tasks $j$. $W^{(j)}_s$ are learned weights that control the flow of information from task $j$ to task $t$. These cross-residual connections act as a form of "in-network regularization," biasing the learning of one task based on information from others. The authors implement this within a multitask network architecture that branches out to handle different tasks, but crucially, allows for cross-task mixing even at later stages of the network.

Datasets

The primary dataset used for evaluation is the Visual Sentiment Ontology (VSO). This dataset was originally collected from Flickr and annotated with adjective-noun pairs (ANPs) to capture visual sentiment. The authors created a subset of VSO for their multitask learning problem, focusing on detecting three types of concepts: adjectives, nouns, and adjective-noun pairs. This subset consists of 167 nouns, 117 adjectives, and 553 ANPs, derived from over 384,000 social images.

Key Insights and Ideas

  • Leveraging Inter-Task Relationships: The paper strongly advocates for the idea that related visual recognition tasks are not independent and that explicitly modeling these relationships can lead to better performance and efficiency.
  • CRL as In-Network Regularization: Cross-residual connections are framed as a novel form of regularization, where the learning of one task is constrained by information from related tasks, but at the layer level rather than the loss level.
  • Efficiency Gains: By sharing low-level representations and allowing cross-task information flow, CRL enables a single multitask network to outperform multiple specialized single-task networks while using significantly fewer parameters.
  • Importance of Learned Weighting: The authors demonstrate that simply forcing cross-residual connections to be identity or zero (equivalent to no cross-residuals) leads to performance degradation. Learned, often channelwise, scaling weights are crucial for effectively balancing task specialization and generalization.

Key Results

  • A single multitask cross-residual network (X-ResNet-50) achieved competitive or better detection performance on the VSO dataset compared to multiple specialized single-task networks.
  • The proposed multitask X-ResNet-50 used over 40% fewer parameters than the combined parameters of three specialized single-task networks.
  • The multitask X-ResNet-50 with learned cross-task weighting (Xs-ResNet-50) outperformed a standard multitask residual network without cross-residuals by approximately 10.4% on the ANP detection task, which was the most challenging.
  • The authors observed that learned cross-residual weights were generally non-zero and non-identity, indicating the benefit of learned inter-task information mixing.

Limitations and Future Work

  • Parameter Cost vs. Performance: While the authors show that increasing cross-residual layers or branching earlier can potentially improve performance, this comes at an increased parameter cost.
  • Generalizability of CRL: The paper primarily demonstrates CRL in a classification context. The authors suggest exploring its application to other tasks like reconstruction and object segmentation.
  • Architectural Exploration: The current implementation uses simple channelwise scaling for cross-residual weights. Future work could explore more complex transforms and gating mechanisms for these connections, similar to recent advancements in shortcut connections.
  • Domain Transfer and Adaptation: The authors believe CRL could be beneficial in domain transfer and adaptation scenarios, where network towers might be frozen, and only cross-residual weights are learned.

Summary updated

BibTeX
@inproceedings{jou2016deep,
  author = {Brendan Jou and Shih-Fu Chang},
  title = {{Deep Cross Residual Learning for Multitask Visual Recognition}},
  booktitle = {ACM Multimedia},
  year = {2016},
  doi = {10.1145/2964284.2964309},
}
Figure