Hijacking Context in Large Multi-modal Models
Joonhyun Jeong
TL;DR
This work identifies context hijacking in large multi-modal models, where a minority of incoherent image-text pairs can derail responses from the original context. It proposes a pre-filtering approach using GPT-4V to remove irrelevant contexts and investigates replacing hijacked contexts with correlated ones via large foundation models and diffusion-based image generation. The study provides qualitative evidence that GPT-4V is robust to distribution shifts but reforming hijacked contexts alone does not fully restore coherence, prompting further research into more reliable filtering and context-reformation techniques. The findings have practical implications for the reliability of LMMs in real-world use where noisy or conflicting prompts are common.
Abstract
Recently, Large Multi-modal Models (LMMs) have demonstrated their ability to understand the visual contents of images given the instructions regarding the images. Built upon the Large Language Models (LLMs), LMMs also inherit their abilities and characteristics such as in-context learning where a coherent sequence of images and texts are given as the input prompt. However, we identify a new limitation of off-the-shelf LMMs where a small fraction of incoherent images or text descriptions mislead LMMs to only generate biased output about the hijacked context, not the originally intended context. To address this, we propose a pre-filtering method that removes irrelevant contexts via GPT-4V, based on its robustness towards distribution shift within the contexts. We further investigate whether replacing the hijacked visual and textual contexts with the correlated ones via GPT-4V and text-to-image models can help yield coherent responses.
