Skip to main content
QUICK REVIEW

[Paper Review] Multimodal Conditionality for Natural Language Generation

Michael Sollami, Aashish Jain|arXiv (Cornell University)|Sep 2, 2021
Topic ModelingComputer Science32 references7 citations
TL;DR

This paper proposes MAnTiS, a method for conditioning transformer-based language models on multiple modalities—such as images and text—for natural language generation. By encoding each modality separately, projecting them into the language model's token space, and combining them into a modality-aware prefix, MAnTiS enables high-quality, multimodal text generation without modifying the pretrained model's architecture, outperforming strong baselines on both automatic and human evaluation metrics.

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.

Motivation & Objective

  • To address the gap in adapting pretrained language models for conditional text generation using multiple modalities.
  • To develop a method that preserves the generative capabilities of pretrained models while enabling conditioning on diverse inputs like images and text.
  • To provide a general, modular, and extensible framework for multimodal NLG that avoids architectural modifications to the pretrained model.
  • To evaluate the effectiveness of multimodal conditioning on real-world e-commerce product description generation.

Proposed method

  • Each modality (e.g., image and text) is processed through a modality-specific encoder to produce embeddings.
  • Image and text embeddings are projected into the textual token space of the pretrained language model.
  • The projected embeddings are concatenated with separator tokens to form a conditionality prefix.
  • The prefix is fed as context to the decoder, which generates text autoregressively while the language model remains unmodified.
  • The model is fine-tuned end-to-end with a standard language modeling objective on the generated text tokens only.
  • The approach supports multiple images and can incorporate modality dropout for improved robustness.

Experimental results

Research questions

  • RQ1Can a pretrained language model be effectively conditioned on multiple modalities—such as images and text—for natural language generation without architectural changes?
  • RQ2How does multimodal conditioning via a modality-specific prefix compare to methods that inject conditionality vectors into the model's attention layers?
  • RQ3Does using multiple images per product improve the quality and relevance of generated descriptions?
  • RQ4Can modality dropout during training improve generalization without degrading performance?
  • RQ5How do human evaluators rate the grammatical correctness, coherence, and attractiveness of descriptions generated by MAnTiS compared to baselines?

Key findings

  • MAnTiS outperformed strong baselines on all standard NLG metrics, including BLEU4 (+0.1), CIDEr (+2.2), METEOR (+0.3), and ROUGE-L (+0.3) when using up to five images.
  • Human evaluations showed MAnTiS generated descriptions with significantly higher grammar, non-redundancy, consistency, and attractiveness scores, with an average overall rating of 4.2 out of 5.
  • The model generated descriptions that correctly highlighted image-specific features, such as 'trimmed with embroidered tassels,' demonstrating accurate visual grounding.
  • Incorporating multiple images improved performance, indicating effective fusion of visual information across views.
  • Modality dropout slightly improved BLEU4 and CIDEr scores, suggesting it enhances robustness without negative effects.
  • MAnTiS-scratch, trained from scratch, significantly underperformed MAnTiS-single, confirming the benefit of leveraging large pretrained language models.

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.