
Discover popular transformer models in NLP and compare encoder-based variants and their attention mechanisms. Compare training losses, data handling, and modeling approaches for dialogue tasks across these models.
Explore SpanBERT, a span-based model that masks contiguous spans and combines MLM with a span boundary objective. See how span boundary representations improve extractive question answering, coreference, and relation extraction.
Explain DeBERTa's disentangled attention with separate content and position representations, an absolute-position enhanced decoder, and scale-invariant adversarial fine-tuning to achieve top results on the GLUE and SuperGLUE benchmarks.
DialoGPT models conversations as multi-turn dialogues, addressing informal chat and avoiding bland responses. It trains on conversational data and uses backward models, MMI scoring, and reinforcement learning to improve responses.
Explore four transformer models: spambot with mask out spans, Electra with generator and discriminator, and a dialogue model trained on dialogue corpora, plus disentangled content-position encodings and scale-invariant fine-tuning.
Explore multimodal transformer models such as visual art and Bellbird that take image and text inputs for visual question answering and visual reasoning, and preview upcoming coverage of DeShazo.
VisualBERT integrates text and image regions with transformer layers and self-attention, trained on image-caption data with mlm and image-caption matching, achieving strong results on visual question answering and grounding tasks.
Explore Wilpert, a two-stream multimodal pretrained model that processes vision and language in separate streams before cross-modal attention fuses them for captioning and retrieval tasks.
Compare two transformer-based multimodal models, Visual Bird and Wilpert, that fuse text and image inputs, using early versus late fusion and two objective functions, with strong multimodal task results.
Explore two transformer models, Guichard and Switch Transformer, built on a mixture of experts framework, detailing how selecting two vs one expert scales to trillion-parameter systems and GPU cluster efficiency.
Explore GShard, a mixture of experts transformer with capacity-aware gating and local group dispatching for scalable sparse model parallelism in massive multilingual translation with 600 billion parameters.
Explore switch transformers, a mixture of experts model routing to a single expert, lowering communication costs and boosting speed and stability with selective dropout and specialized floating point formats.
This lecture summarizes large-scale transformer retraining with mixture of experts, expanding capacity using many experts while keeping compute similar, routing selects two per token for strong perplexity and QA results.
This course is a part of "Deep Learning for NLP" Series. In this course, I will talk about various popular Transformer models beyond the ones I have already covered in the previous sessions in this series. Such Transformer models including encoder as well as decoder based models and differ in terms of various aspects like form of input, pretraining objectives, pretraining data, architecture variations, etc.
These Transformer models have been all proposed after 2019 and some of them are also from early 2021. Thus, as of Aug 2021, these models are very recent and state of the art across multiple NLP tasks.
The course consists of three main sections as follows.
In the first section, I will talk about a few Transformer encoder and decoder models which extend the original Transformer framework. Specifically I will cover SpanBERT, Electra, DeBERTa and DialoGPT. SpanBERT, Electra and DeBERTa are Transformer encoders while DialoGPT is a Transformer decoder model. For each model, we will also talk about their architecture or pretraining differs from standard Transformer. We will also talk important results on various NLP tasks.
In the second section, I will talk about multi-modal Transformer models. Multimodal learning has gained a lot of momentum in recent years. Thus, there was a need to come up with Transformer models which could handle text and image data together. In this part, I will cover VisualBERT and vilBERT which both process the multi-modal input very effectively. Both the models have many similarities. We will discuss about theri similarities and differences in detail.
Lastly, in the third section, I will talk about lareg scale Transformer models. I will introduce the mixture of experts (MoE) architecture. Then I will talk about how GShard adapts the MoE architecture, and shows great results on massive multilingual machine translation. Lastly, I will discuss Switch Transformers which simplify the MoE routing algorithm and also do several engineering optimizations to reduce network communciation and computation costs and mitigate instabilities.
In general, each of these papers is pretty long and thus it becomes very difficult and time consuming to understand them. In these sessions, I have tried to summarize them nicely bringing out the intuitions and tying the important concepts across such papers in a coherent story. Hope you will find it useful for your work and understanding.