Share from 0:00
0:00
/

"Task Vectors are Cross-Modal"

The podcast on this paper is generated with Google's Illuminate.

Task representations in VLMs are modality-agnostic and transferable.

i.e. VLMs encode tasks in a shared vector space that works across text and images

πŸ“š https://arxiv.org/abs/2410.22330

πŸ€” Original Problem:

Vision-and-Language Models (VLMs) can handle various tasks through text, but we don't understand how they internally process and represent these tasks across different modalities.

-----

πŸ› οΈ Solution in this Paper:

β†’ Discovered that VLMs map inputs to abstract task representations in a shared embedding space

β†’ These task vectors remain consistent whether specified through text examples, image examples, or instructions

β†’ Tokens evolve through three phases during answer generation:

- Input phase: literal input representation

- Task phase: task-specific transformation

- Answer phase: final output convergence

β†’ Enabled cross-modal transfer of task vectors between:

- Text to image queries

- Image to text queries

- Base LLMs to fine-tuned VLMs

-----

πŸ’‘ Key Insights:

β†’ Task vectors emerge in a shared space where similar tasks cluster together regardless of modality

β†’ The process of generating answers follows same pattern across modalities

β†’ Task vectors can be specified through examples or instructions and combined for better results

β†’ Cross-modal transfer allows more flexible task specification options

-----

πŸ“Š Results:

β†’ Text-to-image transfer improved performance by 33% over text examples

β†’ Ensembling text instructions with examples showed 18% better performance

β†’ Task vectors maintained 89-95% similarity between base LLM and fine-tuned VLM

Discussion about this video

User's avatar

Ready for more?