Skip to main content
QUICK REVIEW

[Paper Review] OmniNet: A unified architecture for multi-modal multi-task learning

Subhojeet Pramanik, Priyanka Agrawal|arXiv (Cornell University)|Jul 17, 2019
Multimodal Machine Learning ApplicationsComputer Science41 references13 citations
TL;DR

OmniNet proposes a unified neural network architecture that supports multi-modal, multi-task learning across diverse inputs like text, images, and videos by integrating a spatio-temporal cache and attention-based central processing. It achieves a 3x model compression with retained performance when training four tasks (POS tagging, image captioning, VQA, video activity recognition) jointly, while demonstrating zero-shot transfer to unseen tasks like video captioning and video QA.

ABSTRACT

Transformer is a popularly used neural network architecture, especially for language understanding. We introduce an extended and unified architecture that can be used for tasks involving a variety of modalities like image, text, videos, etc. We propose a spatio-temporal cache mechanism that enables learning spatial dimension of the input in addition to the hidden states corresponding to the temporal input sequence. The proposed architecture further enables a single model to support tasks with multiple input modalities as well as asynchronous multi-task learning, thus we refer to it as OmniNet. For example, a single instance of OmniNet can concurrently learn to perform the tasks of part-of-speech tagging, image captioning, visual question answering and video activity recognition. We demonstrate that training these four tasks together results in about three times compressed model while retaining the performance in comparison to training them individually. We also show that using this neural network pre-trained on some modalities assists in learning unseen tasks such as video captioning and video question answering. This illustrates the generalization capacity of the self-attention mechanism on the spatio-temporal cache present in OmniNet.

Motivation & Objective

  • To address the lack of a single, unified deep learning architecture that natively supports multiple input modalities (e.g., text, images, video) and multiple tasks simultaneously.
  • To enable asynchronous multi-task learning where a single model can train on diverse tasks with different input modalities without architectural reconfiguration.
  • To explore whether shared representations learned across modalities can generalize to unseen tasks, such as video captioning and video question answering.
  • To reduce model size and parameter count through parameter sharing across tasks and modalities, improving efficiency without performance loss.

Proposed method

  • OmniNet employs a central neural processor (CNP) based on the Transformer architecture, which processes spatio-temporal representations from multiple peripheral networks.
  • Each peripheral network (e.g., for images, text, video) encodes its modality-specific input into a spatio-temporal tensor of shape $ t \times s \times d_{\text{model}} $, where $ t $, $ s $, and $ d_{\text{model}} $ denote temporal, spatial, and model dimensions.
  • A novel spatio-temporal cache mechanism stores both spatial and temporal representations, enabling the model to attend across both dimensions using self-attention.
  • A link array component is introduced to improve attention efficiency in video inputs by focusing on salient frames and spatial regions, reducing computational burden.
  • The CNP uses a generalized encode() function to process and store representations from all modalities, followed by a decode() function to generate predictions for multiple tasks.
  • The model supports end-to-end training across tasks with different input modalities and output formats, enabling joint optimization.

Experimental results

Research questions

  • RQ1Can a single neural network architecture effectively learn and share representations across multiple modalities (text, image, video) and multiple tasks?
  • RQ2Does the integration of a spatio-temporal cache mechanism improve performance and efficiency in multi-modal, multi-task learning?
  • RQ3To what extent can a model pre-trained on a combination of tasks generalize to unseen tasks, such as video captioning or video question answering?
  • RQ4How does parameter sharing across tasks affect model size and performance compared to training individual models?

Key findings

  • Training four diverse tasks—POS tagging, image captioning, visual question answering, and video activity recognition—jointly using OmniNet reduces model size by approximately three times while maintaining or slightly improving performance.
  • The ablation study shows that removing the spatial cache leads to a near-total collapse in image captioning performance (BLEU-4 drops from 28.9 to 0 in independent training), highlighting its critical role in spatial representation.
  • The link array component is most impactful for video-based tasks: removing it reduces HMDB accuracy from 55.29% to 45.94%, demonstrating its value in managing spatio-temporal complexity.
  • OmniNet achieves zero-shot transfer to video captioning and video question answering without any fine-tuning on video-specific data, leveraging pre-trained knowledge from image captioning and VQA.
  • The model maintains high accuracy on POS tagging (95.61%) even when components like spatial cache or link array are ablated, confirming that temporal-only tasks are unaffected by spatial or spatio-temporal modifications.
  • In multi-task training, the captioning task retains 11.9 BLEU-4 points even after spatial cache ablation, indicating that the temporal cache partially compensates by storing image-level features.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.