Fusing Vision and Language�A Tutorial on Vision-Language Models for Multimodal Content Analysis
Dr.-Ing. Eric Müller-Budack, Sushil Awale
TIB – Leibniz Information Centre for Science and Technology
Research Group Visual Analytics
Slide 1
Agenda
Slide 2
Research Group Visual Analytics (TIB)
Research interests:
Slide 3
Research Group Visual Analytics (TIB)
Research interests:
Slide 4
Research Projects (past 5 years)
Text &
Image
Retrieval
Innovative
Services
Digital
Learning
Places
Multimodal
Information
FakeNarratives
ReflectAI
Slide 5
Research Projects (past 5 years)
Text &
Image
Retrieval
Innovative
Services
Digital
Learning
Places
Multimodal
Information
FakeNarratives
ReflectAI
Slide 6
Multimodal Information Extraction
Slide 7
Springstein et al. @ACMMM'21: iART: A Search Engine for Art-Historical Images to Support Research in the Humanities. ACM Multimedia Conference.
Slide 8
Awale et al. @PatentSemTech'21: Exploring Patents Visually: An Interactive Search System for Multimodal Patent Image Search and Interpretation. Workshop on Patent Text Mining and Semantic Technologies co-located at ACM SIGIR’25
Slide 9
Research Projects (past 5 years)
Text &
Image
Retrieval
Innovative
Services
Digital
Learning
Places
Multimodal
Information
FakeNarratives
ReflectAI
Slide 10
Springstein et al. @SIGIR'23: TIB AV-Analytics: A Web-based Platform for Scholarly Video Analysis and Film Studies. International ACM SIGIR Conference on Research and Development in Information Retrieval.
Slide 11
Research Projects (past 5 years)
Text &
Image
Retrieval
Innovative
Services
Digital
Learning
Places
Multimodal
Information
FakeNarratives
ReflectAI
Slide 12
Workshop Resources
tib-visual-analytics.github.io/Konvens2025-FusingLanguageWithVision/
https://www.menti.com/alrqar17xmoc
Mentimeter
Website
Slide 13
Agenda
Slide 14
From Language and Vision to Vision-Language Models
Slide 15
Computer Vision
Convolutional NNs (+ResNets)
Natural Lang. Proc.
Recurrent NNs (+LSTMs)
Translation
Seq2Seq
Speech
Deep Belief Nets (+non-DL)
h e l l o
[1] CNN image CC-BY-SA by Aphex34 for Wikipedia https://commons.wikimedia.org/wiki/File:Typical_cnn.png
[2] RNN image CC-BY-SA by GChe for Wikipedia https://commons.wikimedia.org/wiki/File:The_LSTM_Cell.svg
GRBM
🔒
RBM
🔒
RBM
DBN
DBN
DBN
h e l l o </s> s a l u t
s a l u t </s>
Reinf. Learning
BC/GAIL
[1]
[2]
Slide taken from "Transformers" ©Lucas Beyer lbeyer@google.com
Slide 16
Computer Vision
Natural Lang. Proc.
Translation
Speech
Reinf. Learning
Graphs/Science
Transformer image source: "Attention Is All You Need" paper
Slide taken from "Transformers" ©Lucas Beyer lbeyer@google.com
Slide 17
New Opportunities and Applications
Transformer
(Attention Mechanism)
[Vaswani et al. 2017]
Vision Transformer
[Dosovitskiy et al. 2021]
Contrastive Language-Image Pretraining
[Radford et al. 2021]
Large Language Models (LLMs)
GPT-5
Large Vision-Language Models (LVLMs)
[Alayrac et al. 2022]
InstructBLIP
[Dai et al. 2023]
Slide 18
GPT-5
Slide 19
From Language and Vision to Vision-Language Models
Slide 20
Overview�Natural Language Processing (NLP)
Slide 21
Neural History of NLP (until 2020)
2001
Neural language models
First neural language model�[Bengio et al., 2001]
2013
Word embeddings
Word2Vec [Mikolov et al., 2013]�GloVe [Pennington et al., 2014]
2015
Attention
Attention [Bahdanau et al., 2015]�Transformer [Vaswani et al., 2017]
2018
Pretrained language models
BERT [Devlin et al., 2018]�GPT-1 [Radford et al., 2018]�RoBERTa [Liu et al., 2019]
Neural networks of NLP
RNN [Elman, 1990]�CNN [LeCun et al., 1998]�LSTM [Hochreiter & Schmidhuber, 1997]
2014
Sequence-to-sequence models
Sequence-to-sequence learning [Sutskever et al., 2014]
Classic approaches
N-gram language modeling�[Kneser & Ney et al., 1995]
Ruder S., 2018: A Review of the Neural History of Natural Language Processing. Blog Post. Retrieved from: ruder.io/a-review-of-the-recent-history-of-nlp/
Slide 22
Language Modeling
Language modeling is the task of predicting the next word in a text given the previous words.
A feed-forward neural network language model [Bengio et al., 2001]
Kneser & Ney @ICASSP’95: Improved backing-off form m-gram language modeling. International Conference on Acoustics, Speech, and Signal Processing�Bengio et al. @NeurIPS’01: A Neural Probabilistic Language Model. Annual Conference on Neural Information Processing Systems
Slide 23
Word Embeddings
Continuous bag-of-words and skip-gram architectures [Mikolov et al., 2013a; 2013b]
Relations captured by word2vec [Mikolov et al., 2013a; 2013b]
Mikolov et al. @ICLR’13: Efficient Estimation of Word Representations in Vector Space. International Conference on Learning Representations
Mikolov et al. @NeurIPS’13: Distributed Representations of Words and Phrases and their Compositionality. Annual Conference on Neural Information Processing Systems
Slide 24
Neural networks of NLP
Fig: A long short-term memory network [Hochreiter & Schmidhuber et al., 1997]
Fig: A recurrent neural network [Elman et al., 1990]
Fig: Convolutional neural network for text [Kim et al., 2014]
Fig: A recursive neural network [Socher et al., 2013]
Elman et al. @Cognitive Sciences’90: Finding structure in time. Cognitive Science
Kim et al. @EMNLP’14: Convolutional Neural Networks for Sentence Classification. Empirical Methods in Natural Language Processing
Hochreiter & Schmidhuber @Neural Computation’97: Long short-term memory. Neural computation
Socher et al. @EMNLP’13: Recursive deep models for semantic treebank. Empirical Methods in Natural Language Processing
Slide 25
Sequence-to-sequence models [Sutskever at al. @NeurIPS’14]
Sequence-to-sequence [Sutskever et al., 2014] models
Sutskever et al. @NeurIPS’14: Sequence to sequence learning with neural networks. Annual Conference on Neural Information Processing Systems
Alammar J. 2018: Visualizing A Neural Machine Translation Model (Mechanics of Seq2Seq Models with Attention. Blog Post. Retrieved from: jalammar.github.io/visualizing-neural-machine-translation-mechanics-of-seq2seq-models-with-attention/
Slide 26
Attention [Bahdanau et al. @ICLR’15]
Bahdanau et al. @ICLR’15: Neural Machine Translation by Jointly Learning to Align and Translate". International Conference on Learning Representations
Alammar J. 2018: Visualizing A Neural Machine Translation Model (Mechanics of Seq2Seq Models with Attention. Blog Post. Retrieved from: jalammar.github.io/visualizing-neural-machine-translation-mechanics-of-seq2seq-models-with-attention/
Slide 27
Transformers [Vaswani et al. @NeurIPS’21]
Vaswani et al. @NeurIPS’17: Attention Is All You Need. Annual Conference on Neural Information Processing Systems
Slide 28
Transformer with Input Sequence
Alammar J. 2018: The Illustrated Transformer. Blog Post. Retrieved from: jalammar.github.io/illustrated-transformer/
Slide 29
Pretrained language models
Wang & Zhang, 2020: Must-Read Papers on Pre-trained Language Models. GitHub Repo. Retrieved from: github.com/thunlp/PLMpapers
Slide 30
Decoder-only
GPT
Encoder-only
BERT
Enc-Dec
T5
[The_] [cat_] [MASK] [on_] [MASK] [mat_]
[*] [*] [sat_] [*] [the_] [*]
[START] [The_] [cat_]
[sat_]
Translate EN-DE: This is good.
Summarize: state authorities dispatched…
Is this toxic: You look beautiful today!
Das ist gut.
A storm in Attala caused 6 victims.
This is not toxic.
Transformer image source: "Attention Is All You Need" paper
Slide taken from "Transformers" ©Lucas Beyer lbeyer@google.com
Slide 31
Overview�Computer Vision (CV)
Slide 32
Progress in Computer Vision since 2010
Humans�(0.051)
Error on testing data
Deep Learning Era 🡪
Top-5 error for 1,000 classes in the ImageNet Large Scale Visual
Recognition Challenge 2012 (ILSVRC 2012; Russakovsky et al. @IJCV'15)
Krizhevsky et al. @NeurIPS'12
Krizhevsky et al. @NeurIPS'12: ImageNet Classification with Deep Convolutional Neural Networks. Annual Conference on Neural Information Processing Systems.
Russakovsky et al. @IJCV'15: ImageNet Large Scale Visual Recognition Challenge. International Journal on Computer Vision, 115(3).
Slide 33
Can you name the animal(s)?
Two distinct classes of the Visual Object Recognition Challenge
Siberian Husky
Eskimo Dog
Images from Szegedy et al. @CVPR'15: Going deeper with convolutions. IEEE Conference on Computer Vision and Pattern Recognition.
Slide 34
Where was this image taken?
https://labs.tib.eu/geoestimation
Müller-Budack et al. @ECCV'18: Geolocation Estimation of Photos Using a Hierarchical Model and Scene Classification. European Conference on Computer Vision.
Slide 35
Screenshot from�https://lukashaas.github.io/PIGEON-CVPR24/
Slide 36
Challenges in Computer Vision
Viewpoint variation
Illumination
Occlusion
Deformation
Background clutter
Intraclass variations
Slide 37
Deep Learning for Image Classification
Images are just a matrix (or tensor) of numbers
Slide 38
Deep Learning for Image Classification
Images are just a matrix (or tensor) of numbers
We could just linearize the image and use a fully-connected neural network
1
2
3
4
5
7
6
8
9
0
0.11
0.01
0.07
0.05
0.01
0.03
0.06
0.02
0.48
0.16
Slide 39
Drawbacks of Fully-connected Neural Networks
How can we use the spatial structure of the input?
Slide 40
Visual Cortex
Image from http://neuroclusterbrain.com/neuron_model.html
Slide 41
Feature Extraction with Convolution
Idea: Connect patches to single neurons
Filter is convolved with the input to generate a single output
This step is repeated using a sliding window
Filter weights are automatically learned during the training
Input
Kernel
Output�(Feature Map)
Image from https://s.academiccloud.de/QMQynd
Slide 42
Convolutional Layer
Image from Müller-Budack @LUH'21: Unsupervised quantification of entity consistency between photos and text in real-world news. Gottfried Wilhelm Leibniz Universität Hannover.
Slide 43
Convolutional Neural Network
Image from Zeiler & Fergus @ECCV'14: Visualizing and Understanding Convolutional Networks. European Conference on Computer Vision.
Slide 44
Popular CNN Architectures
ImageNet
Results
Krizhevsky et al. @NeurIPS'12: ImageNet Classification with Deep Convolutional Neural Networks. Annual Conference on Neural Information Processing Systems.
Simonyan & Zisserman @ICLR'15: Very Deep Convolutional Networks for Large-Scale Image Recognition. International Conference on Learning Representations.
Szegedy et al. @CVPR'15: Going deeper with convolutions. IEEE Conference on Computer Vision and Pattern Recognition.
He et al. @CVPR'16: Deep Residual Learning for Image Recognition. IEEE Conference on Computer Vision and Pattern Recognition.
Slide 45
Residual Layer (He et al. @CVPR'16)
x
g(y)
z
x
He et al. @CVPR'16: Deep Residual Learning for Image Recognition. IEEE Conference on Computer Vision and Pattern Recognition.
Slide 46
ResNet (He et al. @CVPR'16)
Increase of the maximum number of layers from 19 to over 152
He et al. @CVPR'16: Deep Residual Learning for Image Recognition. IEEE Conference on Computer Vision and Pattern Recognition.
Slide 47
Residual Connection in Transformers
x
g(y)
z
x
Slide 48
From Transformer to Vision Transformer (ViT)
Images are continuous
How to use them as transformer input?
Language is sequential
Text tokens can be directly used as input
Slide 49
From Transformer to Vision Transformer (ViT)
Image patches as input sequence
Self-attention at the pixel level?
224 px
224 px
For 224px² ➜ 50.176 tokens
Too much!
"tokenize" the image with image patches
For patches of size 16px2 ➜ 196 tokens
Slide 50
From Transformer to Vision Transformer (ViT)
Dosovitskiy et al. @ICLR'21: An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale. International Conference on Learning Representations.
Slide 51
Attention in Vision Transformers
Slide 52
Attention in Vision Transformers
Image from Dosovitskiy et al. @ICLR'21: An Image is Worth 16x16 Words:
Transformers for Image Recognition at Scale. International Conference on
Learning Representations.
Transformers can pay attention to distant regions even in early layers
Image taken from https://introtodeeplearning.com/
Slide 53
Receptive Field of CNNs
Transformers can pay attention to distant regions even in early layers
CNNs attention is limited to the receptive field by design (increases with depth)
Image taken from https://introtodeeplearning.com/
Slide 54
Receptive Field of CNNs
Image from Dosovitskiy et al. @ICLR'21: An Image is Worth 16x16 Words:
Transformers for Image Recognition at Scale. International Conference on
Learning Representations.
CNNs
Theoretical line!�(depends on kernel�size, stride, etc.)
Transformers can pay attention to distant regions even in early layers
CNNs attention is limited to the receptive field by design (increases with depth)
Image taken from https://introtodeeplearning.com/
Slide 55
CNN vs. Vision Transformer (ViT)
Are CNNs obsolete?
Require less training data
Faster, lower computational resources
Less explainable
More powerful with sufficient training data
Require more computational resources
More explainable
It depends on the task and available resources!
Slide 56
Object Detection (Simplified)
Extraction of region proposals (random, region proposal networks, etc.)
Remainder of the pipeline is similar to object classification with an additional background class
Main challenge: efficient ways to propose regions of interest
Image from Girshick et al. @CVPR'14: Rich Feature Hierarchies for Accurate Object Detection and Semantic Segmentation. IEEE Conference on Computer Vision and Pattern Recognition,
Slide 57
Image Segmentation (Simplified)
Encoder-decoder architecture with transpose convolution layers in the decoder
Pixel-wise prediction of the class (including background)
Main challenge: preserve spatial resolution (skip connection, atrous convolution)
Image from https://sthalles.github.io/deep_segmentation_network/
Slide 58
Object Detection & Image Segmentation with Transformers
Example: DEtection TRansformer (DETR) from Carion et al. @ECCV'20
Encoder-decoder architecture
Decoder produces a fix number (e.g., 100) of regions (bounding box) with class probabilities
Carion, et al. @ECCV'20: End-to-End Object Detection with Transformers. European Conference on Computer Vision.
Slide 59
Object Detection & Image Segmentation with Transformers
Example: DEtection TRansformer (DETR) from Carion et al. @ECCV'20
Encoder-decoder architecture
Decoder produces a fix number (e.g., 100) of regions (bounding box) with class probabilities
Can be extended to segmentation by adding a mask head on top of the decoder outputs.
Carion, et al. @ECCV'20: End-to-End Object Detection with Transformers. European Conference on Computer Vision.
Slide 60
"Fusion" of Text and Images
Slide 61
Text vs. Images
How are text and images different?
Heterogenous�Modalities
(with diverse qualities)
Homogenous�Modalities
(with similar qualities)
Images from 2 cameras
Text and Image
Text | Images |
Sequential, symbolic, discrete | Spatial, pixel-based, continuous |
A dog catching a frisbee in a park
Image: unsplash.com/photos/black-and-brown-dog-catching-yellow-flying-disc-gcioe8naQys
Slide 62
Multimodal Machine Learning (MML)
Multimodal Machine Learning deals with heterogeneous and interconnected data
MML Tasks
1) Representation: learning representations that capture cross-model interactions
2) Alignment: identifying cross-modal connections
3) Generation: produce raw modalities that reflect cross-modal interactions
Other Tasks:
Reasoning, Transference, Quantification
Multimodal Tutorial: cmu-multicomp-lab.github.io/mmml-tutorial/icml2023/
Slide 63
Fusion
Multimodal fusion strategies [Huang et al. 2020]
Huang et al. @NPJ Digital Medicine’20: Fusion of Medical Imaging and Electronic Health Records Using Deep Learning: A Systematic Review and Implementation Guidelines. NPJ Digital Medicine
Slide 64
Coordination
Coordination with Contrastive Learning
Coordinated multimodal representations�[Baltrušaitis, Ahuja, and Morency, 2017]
Baltrušaitis, Ahuja, and Morency @arXiv’17: Multimodal Machine Learning: A Survey and Taxonomy. arXiv
Slide 65
Image-to-Image Contrastive Learning
Image-to-image contrastive learning with data augmentation [Chen et al. 2020]
Chen et al., PMLR’20: A simple framework for contrastive learning of visual representations. Proceedings of Machine Learning Research
Slide 66
Language-supervised Pre-training �(Radford et al. @ICML'21, OpenAI)
Radford et al. @ICML'21: Learning Transferable Visual Models From Natural Language Supervision. International Conference on Machine Learning.
Image taken from
Schuhmann et al. @NeurIPS-W'21: LAION-400M: Open Dataset of CLIP-Filtered 400 Million Image-Text Pairs.
Data Centric AI NeurIPS Workshop 2021.
Slide 67
CLIP – Contrastive Language-Image Pretraining (Radford et al. @ICML'21, OpenAI)
400 million
image-text pairs
(no labeling required)
Example: ResNet, ViT
Example: Transformer
Radford et al. @ICML'21: Learning Transferable Visual Models From Natural Language Supervision. International Conference on Machine Learning.
Slide 68
CLIP Applications
Radford et al. @ICML'21: Learning Transferable Visual Models From Natural Language Supervision. �International Conference on Machine Learning.
Slide 69
CLIP Applications
Robustness of CLIP to distribution shifts [Radford et al., @ICML'21]
Slide 70
CLIP Applications
Schuhmann et al. @NeurIPS-W'21: LAION-400M: Open Dataset of CLIP-Filtered 400 Million Image-Text Pairs. Data Centric AI NeurIPS Workshop 2021.
Slide 71
CLIP Applications
Slide 72
Prompt Engineering for CLIP
Improvements can be made by:
Tahmasebzadeh et al. @WACV'24: Few-Shot Event Classification in Images using Knowledge Graphs for Prompting. IEEE/CVF Winter Conference on Applications of Computer Vision 2024.
Zhou et al. @IJCV'22: Learning to Prompt for Vision-Language Models. International Journal of Computer Vision, 130(9).
Slide 73
CLIP Classification Demo
Slide 74
Tasks for the Image Classification Demo
e.g. “not a photo of a cat”, “photo of a dog”
e.g. “a photo of a cat”, “a photo of a kitty”
e.g. “a red car”, “a black car”
Slide 75
CLIP Retrieval Pipeline
Schuhmann et al. @NeurIPS-W'21: LAION-400M: Open Dataset of CLIP-Filtered 400 Million Image-Text Pairs. Data Centric AI NeurIPS Workshop 2021.
Index
Indexing
Text Query
Image Query
User Interface
Results
Slide 76
CLIP-based Image Retrieval Services
iart.vision
service.tib.eu/ipatent
Slide 77
CLIP Retrieval Demo
Slide 78
Tasks for the Image Retrieval Demo
Slide 79
What’s CLIP?
Contrastive Language-Image Pretraining
[Radford et al. 2021]
400 million
image-text pairs
(no labeling required)
Good News
CLIP allows for image retrieval, cross-modal retrieval, and
zero-shot concept recognition for arbitrary concepts!
Bad News
CLIP is not optimized for specialized domains!
Slide 80
CLIP Limitations
Slide 81
Finetuning CLIP
Linear Head
Image
Encoder
Label
Linear Head
Image
Encoder
Label
Image
Encoder
Linear Probing
Full Finetuning
Contrastive Pretraining
Text
Encoder
A photo of a [label]
| | |
| | |
| | |
Using cross-entropy loss
Using contrastive loss
Frozen
Finetuned
Goyal et al. @CVPR’23: Finetune like you pretrain: Improved finetuning of zero-shot vision models. IEE Conference on Computer Vision and Pattern Recognition.
Slide 82
Finetuning CLIP
Image
Encoder
Text
Encoder
A photo of a [label]
Locked-image Tuning
| | |
| | |
| | |
Image
Encoder
Text
Encoder
A photo of a [label]
Image
Adapter
Text
Adapter
CLIP-Adapter
Contrastive Loss
CLIP
Student
CLIP
Teacher
A photo of a [label]
Contrastive
Learning
Contrastive
Learning
Zhai et al. @CVPR’22: LiT : Zero-Shot Transfer with Locked-image text Tuning. IEEE Conference on Computer Vision and Pattern Recognition.
Gao et al. @IJCV’22: CLIP-Adapter: Better Vision-Language Models with Feature Adapters. International Journal of Computer Vision.
Yang et al. @CVPR’22: CLIP-KD: An Empirical Study of CLIP Model Distillation. IEEE Conference on Computer Vision and Pattern Recognition.
Knowledge Distillation
KL-divergence Loss
Slide 83
Low-Rank Adaptation [Hu et al. @ICLR’22]
Hu et al. @ICLR’22: LoRA: Low-Rank Adaptation of Large Language Models. International Conference on Learning Representations
Images from ibm.com/think/topics/lora
Slide 84
Guided Demo on Finetuning CLIP
Slide 85
Linear Probing of CLIP for Geolocation Estimation
Only 1 Mio images!
Slide 86
Agenda
Slide 87
Generative AI
Slide 88
Large Language Models (LLMs)
Naveed et al. @ACMTIST’25. A Comprehensive Overview of Large Language Models. ACM Transactions on Intelligent Systems and Technology
Slide 89
Beyond Language: Rise of Multimodal LLMs
Zhang et al. @arXiv’24: MM-LLMs: Recent Advances in MultiModal Large Language Models. arXiv
Slide 90
Growing number of MLLMs
Zhang et al. @arXiv’24: MM-LLMs: Recent Advances in MultiModal Large Language Models. arXiv
Slide 91
Key Components of MLLMs’ Architecture
Modality
Encoder
Input
Projector
LLM
Backbone
Output
Projector
Modality
Generator
Raw data
(images, video)
Embeddings
Embeddings
Aligned Features
Aligned Features
Processed information
Processed information
Modality
Features
Text
Modality
Features
Output
(image, video)
Zhang et al. @arXiv’24: MM-LLMs: Recent Advances in MultiModal Large Language Models. arXiv
Slide 92
Key Components of MLLMs’ Architecture
General model architecture of MLLMs and the implementation choices for each component [Zhang et al., 2024]
Zhang et al. @arXiv’24: MM-LLMs: Recent Advances in MultiModal Large Language Models. arXiv
Slide 93
Two Stage Training Paradigm
Phase 1: Pre-training (PT)
Goal: Feature Alignment
Train Input Projector to translate visual features into a language LLM can understand
Component Trained: Input Projector (e.g. MLP)
Data Used: Large-scale image-text pairs
Output: Visual concepts are aligned with the LLM’s word embedding space
Phase 2: Instruction Turning (IT)
Goal: End-to-End Fine-tuning
Train the model to follow instructions with multimodal input and perform reasoning
Component Trained: Input Projector and LLM
Data Used: High-quality multimodal
instruction-following datasets
Output: MLLM that can perform complex Visual Question Answering and dialogue
Zhang et al. @arXiv’24: MM-LLMs: Recent Advances in MultiModal Large Language Models. arXiv
Slide 94
Approaches for Modality Alignment [Zhang et al., @arXiv’24]
Vision-language Connectors
Cross-attention Fusion
End-to-End Training
Zhang et al. @arXiv’24: MM-LLMs: Recent Advances in MultiModal Large Language Models. arXiv
Slide 95
BLIP-2 [Li et al. @PMLR’23]
Li et al. PMLR’23: Blip-2: Bootstrapping language-image pre-training with frozen image encoders and large language models. Proceedings of Machine Learning Research
Slide 96
LLaVA [Liu et al. @NeurIPS’23]
Liu et al., NeurIPS’24: Visual Instruction Tuning". Annual Conference on Neural Information Processing Systems
Slide 97
Flamingo [Alayrac et al. @NeurIPS’22]
Alayrac et al. @NeurIPS’22: Flamingo: a Visual Language Model for Few-Shot Learning. Annual Conference on Neural Information Processing Systems
Slide 98
Use cases of Large Vision-Language Models (LVLMs)
LVLMs can be used for a wide range of tasks
Several benchmarks to evaluate LVLMs exist
Liu et al. @ECCV'24: MMBench: Is Your Multi-modal Model an All-Around Player? European Conference on Computer Vision.
Li et al. @CVPR'24: SEED-Bench: Benchmarking Multimodal Large Language Models. IEEE/CVF Conference on Computer Vision and Pattern Recognition.
Chen et al. @NeurIPS'24: Are We on the Right Way for Evaluating Large Vision-Language Models? Annual Conference on Neural Information Processing Systems.
Slide 99
Use cases of Large Vision-Language Models (LVLMs)
LVLMs can be used for a wide range of tasks
Several benchmarks to evaluate LVLMs exist
Liu et al. @ECCV'24: MMBench: Is Your Multi-modal Model an All-Around Player? European Conference on Computer Vision.
Li et al. @CVPR'24: SEED-Bench: Benchmarking Multimodal Large Language Models. IEEE/CVF Conference on Computer Vision and Pattern Recognition.
Chen et al. @NeurIPS'24: Are We on the Right Way for Evaluating Large Vision-Language Models? Annual Conference on Neural Information Processing Systems.
Slide 100
Prompting LVLMs
As for LLMs, there exist many ways how to prompt LVLMs efficiently
Types of questions
Prompt style
Provided context, e.g., in-context learning
Slide 101
Limitations of LVLMs
Some limitations can be resolved with parameter-efficient finetuning and instruction tuning
Slide 102
Demo on LVLMs
https://colab.research.google.com/drive/1SuUxHVAewvT-rMJr-dz5LnlEFCDxArV6
Slide 103
From Images to Videos
Slide 104
Video Data
Image from https://learnopencv.com/introduction-to-video-classification-and-human-activity-recognition/
Slide 105
Overview
Image from Tang et al. @IEEE TCSVT’25: Video Understanding with Large Language Models: A Survey
Slide 106
Temporal Pooling
Slide 107
3D CNN
T video frames are stacked as input tensor: width x height x (3 x T)
Remaining architecture like in CNNs for image classification
Problem: Very large input size depending on the video length (i.e., number of frames T)
Slide 108
Video Preprocessing and Tokenization in Transformers
Slide 109
X-CLIP
Slide 110
VideoMAE
Self-supervised pre-training of a video transformer
During training, masked frames (90% - 95%) are recreated in an encoder-decoder architecture
Learns rich semantic video features
During inference, a classification layer is used on top of the encoder for downstream tasks
Slide 111
Video-based LVLM (Video-LLaMA)
Problems:
Zhang et al. @EMNLP’23: Video-LLaMA An Instruction-tuned Audio-Visual Language Model for Video Understanding
Slide 112
Springstein et al. @SIGIR'23: TIB AV-Analytics: A Web-based Platform for Scholarly Video Analysis and Film Studies. International ACM SIGIR Conference on Research and Development in Information Retrieval.
TIB-AV-A
Slide 113
Agenda
Slide 114
Thank you for your attention!
Slide 115
Ollama Colab
Using colabxterm to start a console in colab runtime
Slide 116
Slide 117
Slide 118
Slide 119
Slide 120