Multimodal Conditionality for Natural Language Generation
arXiv:2109.01229
Abstract
Large scale pretrained language models have demonstrated state-of-the-art performance in language understanding tasks. Their application has recently expanded into multimodality learning, leading to improved representations combining vision and language. However, progress in adapting language models towards conditional Natural Language Generation (NLG) has been limited to a single modality, generally text. We propose MAnTiS, Multimodal Adaptation for Text Synthesis, a general approach for multimodal conditionality in transformer-based NLG models. In this method, we pass inputs from each modality through modality-specific encoders, project to textual token space, and finally join to form a conditionality prefix. We fine-tune the pretrained language model and encoders with the conditionality prefix guiding the generation. We apply MAnTiS to the task of product description generation, conditioning a network on both product images and titles to generate descriptive text. We demonstrate that MAnTiS outperforms strong baseline approaches on standard NLG scoring metrics. Furthermore, qualitative assessments demonstrate that MAnTiS can generate human quality descriptions consistent with given multimodal inputs.
References in corpus (10)
- PyTorch: An Imperative Style, High-Performance Deep Learning Library
- HuggingFace's Transformers: State-of-the-art Natural Language Processing
- Language Models are Few-Shot Learners
- VisualBERT: A Simple and Performant Baseline for Vision and Language
- CTRL: A Conditional Transformer Language Model for Controllable Generation
- On Using Monolingual Corpora in Neural Machine Translation
- Supervised Multimodal Bitransformers for Classifying Images and Text
- Pre-trained Language Model Representations for Language Generation
- Encoder-Agnostic Adaptation for Conditional Language Generation
- Fashion Captioning: Towards Generating Accurate Descriptions with Semantic Rewards