Article Complete

Facebook Inch Closer To Building General-Purpose Intelligence Agents With UniT

Facebook Inch Closer To Building General-Purpose Intelligence Agents With UniT

Key takeaways

  • Facebook AI Research has developed a new Transformer model called Unified Transformer (UniT) for multi-domain learning.
  • UniT can process both images and text, training on tasks like visual perception and language understanding simultaneously.
  • Despite advances in specific domains, previous efforts have lacked integration across multiple tasks.
  • Researchers are exploring how Transformers trained in one area, like language, can perform tasks in another, like image detection.

Takeaways drafted with AI from the article text.

Recently, researchers from Facebook AI Research (FAIR) introduced a new Transformer model with the ability to learn tasks across multiple domains in a simultaneous manner, known as Unified Transformer (UniT). According to the researchers, the Transformer model takes images and texts as inputs and trains the inputs on various tasks ranging from visual perception and language understanding to vision and language reasoning.

In the past few years, Transformer models have proved their worth in a wide range of domains, such as natural language, images, video, audio etc. Language models like BERT, GPT, XLNet, AlBERT have made huge strides.

The Facebook AI researchers started with the question: “Could a Transformer trained for natural language inference on textual input also accomplish object detection on images, or could a Transformer-based image classifier also perform textual entailment?”

Behind UniT

UniT model

UniT is built on the Transformer encoder-decoder architecture and consists of separate encoders for each input modality type followed by a decoder with simple task-specific heads. UniT packs encoding modules that encode each input modality as a sequence of hidden states and a decoder over the encoded input modalities, followed by the task-specific output heads to obtain the final predictions for each given tasks. 

The researchers stated: “Compared to the previous work on multi-task learning with Transformers, we train Unified Transformer and achieve comparable performance to the well-established prior work on a much larger variety of tasks; that is not only joint vision-and-language tasks such as visual question-answering (VQA), but also vision-only as well as language-only tasks.”

Contributions

  • The researchers proposed a unified Transformer encoder-decoder architecture called UniT that connects and learns multiple tasks and domains in a single model.
  • The model jointly learned the tasks in the visual and textual domains and their intersections, such as visual question answering, object detection, visual entailment, and natural language understanding tasks in the GLUE benchmark, including QNLI, MNLI, QQP and SST-2. The researchers also showed these diverse tasks could be learned simultaneously and converge properly under the training scheme.
  • Multimodal tasks such as visual question-answering (VQA) and visual entailment benefit from multi-task training with uni-modal tasks.

Wrapping Up

The Facebook AI researchers demonstrated that the Transformer framework can be applied over various domains to handle multiple tasks within a single unified encoder-decoder model. The UniT model simultaneously addressed seven tasks across eight different datasets and achieved great performance on each task with a single set of shared parameters. 

According to the researchers, the UniT model has a domain-agnostic transformer architecture, which makes the model a huge step towards building general-purpose intelligence agents capable of handling a wide range of applications in different domains, including visual perception, language understanding, and reasoning over multiple modalities.

Read the whole research here.

Published

Corrections: AIM corrects errors of fact and notes the change on the story. Spotted one? Tell the editors. Read our editorial standards.

More in this story

Facebook AI · 5 stories
  1. Time Series Forecasting On NSE Of India Using Facebook’s NeuralProphet
  2. Detectron2: Guide To Next-Generation Object Detection
  3. You are here: Facebook Inch Closer To Building General-Purpose Intelligence Agents With UniT
  4. Behind Facebook’s TimeSformer: A New Video Architecture Based Purely On Transformers
  5. A Brief Overview of OpenChat: Open Source Chatting Framework for Generative Models
About the author

Contributor

A Technical Journalist who loves writing about Machine Learning and Artificial Intelligence. A lover of music, writing and learning something out of the box.

All stories
Belamy · Daily

The day’s AI news, before your first meeting.