Lever LM: Configuring In-Context Sequence to Lever Large Vision Language Models

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Yang, Xu, Peng, Yingzhe, Ma, Haoxuan, Xu, Shuo, Zhang, Chi, Han, Yucheng, Zhang, Hanwang
Format: Preprint
Published: 2023
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916461591658496
author Yang, Xu
Peng, Yingzhe
Ma, Haoxuan
Xu, Shuo
Zhang, Chi
Han, Yucheng
Zhang, Hanwang
author_facet Yang, Xu
Peng, Yingzhe
Ma, Haoxuan
Xu, Shuo
Zhang, Chi
Han, Yucheng
Zhang, Hanwang
contents As Archimedes famously said, ``Give me a lever long enough and a fulcrum on which to place it, and I shall move the world'', in this study, we propose to use a tiny Language Model (LM), \eg, a Transformer with 67M parameters, to lever much larger Vision-Language Models (LVLMs) with 9B parameters. Specifically, we use this tiny \textbf{Lever-LM} to configure effective in-context demonstration (ICD) sequences to improve the In-Context Learinng (ICL) performance of LVLMs. Previous studies show that diverse ICD configurations like the selection and ordering of the demonstrations heavily affect the ICL performance, highlighting the significance of configuring effective ICD sequences. Motivated by this and by re-considering the the process of configuring ICD sequence, we find this is a mirror process of human sentence composition and further assume that effective ICD configurations may contain internal statistical patterns that can be captured by Lever-LM. Then a dataset with effective ICD sequences is constructed to train Lever-LM. After training, given novel queries, new ICD sequences are configured by the trained Lever-LM to solve vision-language tasks through ICL. Experiments show that these ICD sequences can improve the ICL performance of two LVLMs compared with some strong baselines in Visual Question Answering and Image Captioning, validating that Lever-LM can really capture the statistical patterns for levering LVLMs. The code is available at \url{https://github.com/ForJadeForest/Lever-LM}.
format Preprint
id arxiv_https___arxiv_org_abs_2312_10104
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Lever LM: Configuring In-Context Sequence to Lever Large Vision Language Models
Yang, Xu
Peng, Yingzhe
Ma, Haoxuan
Xu, Shuo
Zhang, Chi
Han, Yucheng
Zhang, Hanwang
Computer Vision and Pattern Recognition
Computation and Language
Machine Learning
As Archimedes famously said, ``Give me a lever long enough and a fulcrum on which to place it, and I shall move the world'', in this study, we propose to use a tiny Language Model (LM), \eg, a Transformer with 67M parameters, to lever much larger Vision-Language Models (LVLMs) with 9B parameters. Specifically, we use this tiny \textbf{Lever-LM} to configure effective in-context demonstration (ICD) sequences to improve the In-Context Learinng (ICL) performance of LVLMs. Previous studies show that diverse ICD configurations like the selection and ordering of the demonstrations heavily affect the ICL performance, highlighting the significance of configuring effective ICD sequences. Motivated by this and by re-considering the the process of configuring ICD sequence, we find this is a mirror process of human sentence composition and further assume that effective ICD configurations may contain internal statistical patterns that can be captured by Lever-LM. Then a dataset with effective ICD sequences is constructed to train Lever-LM. After training, given novel queries, new ICD sequences are configured by the trained Lever-LM to solve vision-language tasks through ICL. Experiments show that these ICD sequences can improve the ICL performance of two LVLMs compared with some strong baselines in Visual Question Answering and Image Captioning, validating that Lever-LM can really capture the statistical patterns for levering LVLMs. The code is available at \url{https://github.com/ForJadeForest/Lever-LM}.
title Lever LM: Configuring In-Context Sequence to Lever Large Vision Language Models
topic Computer Vision and Pattern Recognition
Computation and Language
Machine Learning
url https://arxiv.org/abs/2312.10104