One-shot Optimized Steering Vector for Hallucination Mitigation for VLMs
Youxu Shi, Suorong Yang, Dong Liu
TL;DR
Vision-Language Models continue to suffer hallucinations and safety concerns that persist at scale. We propose OSGA, a one-shot, input-independent steering framework that learns a single steering vector from a single informative anchor using variance-based data selection and a generative-anchor regularization, then applies it at an intermediate decoder layer during inference without updating model parameters. Across multiple architectures and benchmarks (including object, attribute, relation hallucination and safety tasks), OSGA yields consistent improvements with negligible overhead, demonstrating strong cross-input transferability. This work offers a scalable, retraining-free approach to improve faithfulness and safety in VLMs, bridging the gap between per-sample steering and universal control.
Abstract
Vision Language Models (VLMs) achieve strong performance on multimodal tasks but still suffer from hallucination and safety-related failures that persist even at scale. Steering offers a lightweight technique to improve model performance. However, steering, whether input-dependent or input-independent, achieves a meaningful trade-off between efficiency and effectiveness. In this work, we observe that steering vectors can generalize across inputs when tasks share aligned semantic intent. Based on this insight, we propose \textbf{OSGA} (\textbf{O}ne-shot \textbf{S}teering with \textbf{G}enerative \textbf{A}nchor), an input-independent framework that improves model performance with a single optimization instance. OSGA first selects an informative sample via a variance-based data selection strategy and learns a single steering vector with a contrastive objective with generative anchor regularization. The resulting vector can be universally applied at a certain layer during inference time without modifying model parameters. Experiments across multiple benchmarks show that a single OSGA-optimized steering vector consistently improves hallucination mitigation and safety enhancement with negligible overhead, highlighting one-shot steering as a practical and scalable solution for reliable VLMs.
