The First to Know: How Token Distributions Reveal Hidden Knowledge in Large Vision-Language Models?

dc.contributor.authorZhao, Qinyuen
dc.contributor.authorXu, Mingen
dc.contributor.authorGupta, Kartiken
dc.contributor.authorAsthana, Akshayen
dc.contributor.authorZheng, Liangen
dc.contributor.authorGould, Stephenen
dc.date.accessioned2025-05-23T04:21:41Z
dc.date.available2025-05-23T04:21:41Z
dc.date.issued2025en
dc.description.abstractLarge vision-language models (LVLMs), designed to interpret and respond to human instructions, occasionally generate hallucinated or harmful content due to inappropriate instructions. This study uses linear probing to shed light on the hidden knowledge at the output layers of LVLMs. We demonstrate that the logit distributions of the first tokens contain sufficient information to determine whether to respond to the instructions, including recognizing unanswerable visual questions, defending against jailbreaking attacks, and identifying deceptive questions. Such hidden knowledge is gradually lost in logits of subsequent tokens during response generation. Then, we illustrate a simple decoding strategy at the generation of the first token, effectively improving the generated content. In experiments, we find a few interesting insights: First, the CLIP model already contains a strong signal for solving these tasks, which indicates potential bias in the existing datasets. Second, we observe performance improvement by utilizing the first logit distributions on three additional tasks, including indicating uncertainty in math solving, mitigating hallucination, and image classification. Last, with the same training data, simply finetuning LVLMs improves models’ performance but is still inferior to linear probing on these tasks (Our code is available at https://github.com/Qinyu-Allen-Zhao/LVLM-LP).en
dc.description.sponsorshipWe would like to extend our deepest appreciation to Jaskirat Singh, Yicong Hong, Taojun Lin, Weijian Deng, Dylan Campbell, Shu Zou, Yunzhong Hou, Yuchi Liu, Xiaoxiao Sun, Jiahao Zhang, Zeyu Zhang, Xingjian Leng, Yang Yang, and all our other lab colleagues for their invaluable support throughout this project. Their collaborative efforts, insightful discussions, and constructive feedback have been crucial in shaping and improving our paper. This work was supported by an Australian Research Council (ARC) Linkage grant (project number LP210200931).en
dc.description.statusPeer-revieweden
dc.format.extent16en
dc.identifier.isbn9783031731945en
dc.identifier.issn0302-9743en
dc.identifier.scopus85210863064en
dc.identifier.urihttp://www.scopus.com/inward/record.url?scp=85210863064&partnerID=8YFLogxKen
dc.identifier.urihttps://hdl.handle.net/1885/733751303
dc.language.isoenen
dc.provenancehttps://www.springernature.com/gp/open-science/policies/book-policies..."The Accepted Version can be archived in a Non-Commercial Institutional Repository. 12 months embargo" from Open Policy Finder site (as at 04/09/2025)en
dc.publisherSpringer Science+Business Media B.V.en
dc.relation.ispartofComputer Vision – ECCV 2024 - 18th European Conference, Proceedingsen
dc.relation.ispartofseries18th European Conference on Computer Vision, ECCV 2024en
dc.relation.ispartofseriesLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)en
dc.rights© The Author(s), under exclusive license to Springer Nature Switzerland AG 2025.en
dc.subjectFirst Tokenen
dc.subjectHidden Knowledgeen
dc.subjectLarge Vision-Language Modelsen
dc.subjectLinear Probingen
dc.subjectLogit Distributionen
dc.titleThe First to Know: How Token Distributions Reveal Hidden Knowledge in Large Vision-Language Models?en
dc.typeConference paperen
dspace.entity.typePublicationen
local.bibliographicCitation.lastpage142en
local.bibliographicCitation.startpage127en
local.contributor.affiliationZhao, Qinyu; Australian National Universityen
local.contributor.affiliationXu, Ming; Australian National Universityen
local.contributor.affiliationGupta, Kartik; Seeing Machines Groupen
local.contributor.affiliationAsthana, Akshay; Seeing Machines Groupen
local.contributor.affiliationZheng, Liang; School of Computing, ANU College of Systems and Society, The Australian National Universityen
local.contributor.affiliationGould, Stephen; School of Computing, ANU College of Systems and Society, The Australian National Universityen
local.identifier.doi10.1007/978-3-031-73195-2_8en
local.identifier.essn1611-3349en
local.identifier.pure5e90b4a3-566a-448c-9c15-d0fd97597c24en
local.identifier.urlhttps://www.scopus.com/pages/publications/85210863064en
local.type.statusPublisheden

Downloads