Lune

EMNLP2024Top-tier venue

Training-free Deep Concept Injection Enables Language Models for Video Question Answering

Xudong Lin, Manling Li, Richard S. Zemel, Heng Ji, Shih-Fu Chang

2024Year
1Citations
1Top-tier citations

Abstract

Recently, enabling pretrained language models (PLMs) to perform zero-shot crossmodal tasks such as video question answering has been extensively studied. A popular approach is to learn a projection network that projects visual features into the input text embedding space of a PLM, as well as feed-forward adaptation layers, with the weights of the PLM frozen. However, is it really necessary to learn such additional layers? In this paper, we make the first attempt to demonstrate that the PLM is able to perform zero-shot crossmodal tasks without any crossmodal pretraining, when the observed visual concepts are injected as both additional input text tokens and augmentation in the intermediate features within each feed-forward network for the PLM. Specifically, inputting observed visual concepts as text tokens helps to inject them through the self-attention layers in the PLM; to augment the intermediate features in a way that is compatible with the PLM, we propose to construct adaptation layers based on the intermediate representation of concepts (obtained by solely inputting them to the PLM). These two complementary injection mechanisms form the proposed Deep Concept Injection, which comprehensively enables the PLM to perceive instantly without crossmodal pretraining. Extensive empirical analysis on zero-shot video question answering, as well as visual question answering, shows Deep Concept Injection achieves competitive or even better results in both zero-shot and fine-tuning settings, compared to state-of-the-art methods that require crossmodal pretraining. Input Video ๐‘ฃ๐‘ฃ What is the woman wearing? [mask] โ„ฑ ๐‘‰๐‘‰ Similarity Calculation ๐‘ƒ๐‘ƒ(๐‘Ž๐‘Ž|๐‘ฃ๐‘ฃ, ๐‘ก๐‘ก) Concept Vocabulary โ„ฑ ๐‘‡๐‘‡ Concept Retrieval Eq. 1 Question ๐’ข๐’ข Cook kitchen โ€ฆ What is the woman wearing ? [mask] Self-attention Feed-Forward ร— ๐‘›๐‘› ๐ต๐ต Linear 2 of Block j Linear 1 of Block j ๐‘’๐‘’ 0,๐‘—๐‘—

Ask about this paper

Your agent reads all of it.

Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.

Questions to start from

Your agent calls

Luneget_paper_fulltext

Ask in Lune

Free to start. No credit card required.

lune papers fulltext 158cfc06-90c8-4ff0-a2fa-f0ba940c2c1a

Cited by top-tier papers1

Ask how each one uses it

Builds on24

Related papers

Dusk over the sea between two cliffs drawn in fine vertical lines