Login (DCU Staff Only)
Login (DCU Staff Only)

DORAS | DCU Research Repository

Explore open access research and scholarly works from DCU

Advanced Search

Is a video worth n × n Images? A highly efficient approach to transformer-based video question answering

Lyu, Chenyang orcid logoORCID: 0009-0002-6733-5879, Ji, Tianbo orcid logoORCID: 0000-0003-0143-6220, Graham, Yvette orcid logoORCID: 0000-0001-6741-4855 and Foster, Jennifer orcid logoORCID: 0000-0002-7789-4853 (2023) Is a video worth n × n Images? A highly efficient approach to transformer-based video question answering. In: Fourth Workshop on Simple and Efficient Natural Language Processing (SustaiNLP), 10-12 July 2023, Toronto, Canada.

Abstract
Conventional Transformer-based Video Question Answering (VideoQA) approaches generally encode frames independently through one or more image encoders followed by interaction between frames and question. However, such schema incur significant memory use and inevitably slow down the training and inference speed. In this work, we present a highly efficient approach for VideoQA based on existing vision-language pre-trained models where we concatenate video frames to a n × n matrix and then convert it to one image. By doing so, we reduce the use of the image encoder from n 2 to 1 while maintaining the temporal structure of the original video. Experimental results on MSRVTT and TrafficQA show that our proposed approach achieves state-of-theart performance with nearly 4× faster speed and only 30% memory use. We show that by integrating our approach into VideoQA systems we can achieve comparable, even superior, performance with a significant speed up for training and inference. We believe the proposed approach can facilitate VideoQA-related research by reducing the computational requirements for those who have limited access to budgets and resources. Our code is publicly available at https://github.com/lyuchenyang/ Efficient-VideoQA for research use.
Metadata
Item Type:Conference or Workshop Item (Paper)
Event Type:Workshop
Refereed:Yes
Subjects:Computer Science > Artificial intelligence
Computer Science > Machine learning
DCU Faculties and Centres:DCU Faculties and Schools > Faculty of Engineering and Computing > School of Computing
Published in: Proceedings of The Fourth Workshop on Simple and Efficient Natural Language Processing (SustaiNLP). . Association for Computational Linguistics (ACL).
Publisher:Association for Computational Linguistics (ACL)
Official URL:https://doi.org/10.18653/v1/2023.sustainlp-1.12
Copyright Information:© 2023 Association for Computational Linguistics
Funders:Science Foundation Ireland through the SFI Centre for Research Training in Machine Learning (18/CRT/6183)
ID Code:29141
Deposited On:18 Oct 2023 14:53 by Jennifer Foster . Last Modified 19 Oct 2023 13:15
Documents

Full text available as:

[thumbnail of 2023.sustainlp-1.12.pdf]
Preview
PDF - Requires a PDF viewer such as GSview, Xpdf or Adobe Acrobat Reader
942kB
Metrics

Altmetric Badge

Dimensions Badge

Downloads

Downloads

Downloads per month over past year

Archive Staff Only: edit this record