Counting is one of the fundamental abilities of large language models (LLMs) and large vision-language models (LVLMs). This paper examines how these foundation models represent and compute numerical information in counting tasks. We use controlled experiments with repeated textual and visual items and analyze counting in LLMs and LVLMs through a set of behavioral, observational, and causal mediation analyses. To this end, we design a specialized tool, CountScope, for the mechanistic interpretability of numerical content. Results show that individual tokens or visual features encode latent positional count information that can be extracted and transferred across contexts. Layerwise analyses reveal a progressive emergence of numerical representations, with lower layers encoding small counts and higher layers representing larger ones. We identify an internal counter mechanism that updates with each item, stored mainly in the final token or region. In LVLMs, numerical information also appears in visual embeddings, shifting between background and foreground regions depending on spatial composition. We further reveal that models rely on structural cues such as separators in text, which act as shortcuts for tracking item counts and strongly influence the accuracy of numerical predictions. Overall, counting emerges as a structured, layerwise process in LLMs and follows the same general pattern in LVLMs, shaped by the properties of the vision encoder.
Your Vision-Language Model Can't Even Count to 20: Exposing the Failures of VLMs in Compositional Counting
Guilin University of Electronic Technology(桂林电子科技大学);The Ohio State University(俄亥俄州立大学);University of Wisconsin-Madison(威斯康星大学麦迪逊分校);University of California, Berkeley(加州大学伯克利分校)
T2ICount: Enhancing Cross-modal Understanding for Zero-Shot Counting
University of Nottingham(诺丁汉大学);University of St Andrews(圣安德鲁大学);City University of Hong Kong(香港城市大学);Nanyang Technology University(南洋理工大学);Harbin Institute of Technology(哈尔滨工业大学)
Text-promptable Object Counting via Quantity Awareness Enhancement
College of Electronic and Information Engineering, Tongji University(同济大学电子与信息学院);College of Computer Science, Wuhan University(武汉大学计算机学院);College of Computer Science, Tongji University(同济大学计算机学院);State Key Laboratory of Autonomous Intelligent Unmanned Systems(自主智能无人系统国家重点实验室)
CrowdVLM-R1: Expanding R1 Ability to Vision Language Model for Crowd Counting using Fuzzy Group Relative Policy Reward
Florida Atlantic University(佛罗里达大学);University of Southern California(南加州大学);University of Texas at Dallas(德克萨斯大学达拉斯分校);Georgia Institute of Technology(佐治亚理工学院);University of Utah(犹他大学)
ArchMap: Arch-Flattening and Knowledge-Guided Vision Language Model for Tooth Counting and Structured Dental Understanding
Xi'an Jiaotong-Liverpool University(西交利物浦大学);University of Liverpool(利物浦大学);Zhejiang University of Technology(浙江工业大学);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))
VisionGPT: Vision-Language Understanding Agent Using Generalized Multimodal Framework
Stanford University(斯坦福大学);Peking University(北京大学);Harvard University(哈佛大学);University of Washington, Seattle(华盛顿大学西雅图分校);University of California, Los Angeles(加利福尼亚大学洛杉矶分校)
SpatialBot: Precise Spatial Understanding with Vision Language Models
School of Artificial Intelligence, Shanghai Jiao Tong University(上海交通大学人工智能学院);Stanford University(斯坦福大学);BAAI(北京智源人工智能研究院);Peking University(北京大学);University of Oxford(牛津大学);Southeast University(东南大学)
Vision-Language Pre-training with Object Contrastive Learning for 3D Scene Understanding
Tsinghua Shenzhen International Graduate School, Tsinghua University(清华大学深圳国际研究生院);College of Computer Science and Software Engineering, Shenzhen University(深圳大学计算机与软件学院);Harbin Institute of Technology, Shenzhen(哈尔滨工业大学(深圳));Research Center of Artificial Intelligence, Peng Cheng Laboratory(鹏城实验室人工智能研究中心)
VisionGPT-3D: A Generalized Multimodal Agent for Enhanced 3D Vision Understanding
Stanford University(斯坦福大学);University of California, Los Angeles(加利福尼亚大学洛杉矶分校);Harvard University(哈佛大学);Peking University(北京大学);University of Washington, Seattle(华盛顿大学西雅图分校);Seeking AI
Vision Language Models Know Law of Conservation without Understanding More-or-Less
University of Michigan(密歇根大学);University of North Carolina at Chapel Hill(北卡罗来纳大学教堂山分校);Johns Hopkins University(约翰霍普金斯大学);University of California, San Diego(加州大学圣地亚哥分校);Carnegie Mellon University(卡内基梅隆大学)
研究构建了 ConserveBench 评估 Vision Language Models 的守恒定律理解能力,发现其擅长需要可逆性的转换任务,但在非转换任务上表现较差,揭示了模型在运算可逆性与数量概念理解之间存在分离。