🤖 AI Summary
Current vision-language models exhibit fragility in fundamental 2D spatial reasoning tasks, such as relative positioning, layout understanding, and counting. Building upon the LLaVA framework, this work systematically investigates—through controlled ablation studies—the impact of image encoder training objectives and positional encoding schemes on spatial reasoning capabilities. It reveals for the first time that CLIP-style contrastive learning objectives and one-dimensional positional encodings are key bottlenecks limiting performance. The study further explores alternative architectures, including dense or generative encoders, coupled with two-dimensional positional encodings. Results demonstrate that both the encoder’s learning objective and the positional encoding structure significantly influence spatial reasoning performance. While the proposed modifications do not fully resolve the underlying limitations, they provide clear and actionable directions for enhancing models’ spatial understanding abilities.
📝 Abstract
Vision-language models (VLMs) have advanced rapidly, yet they still struggle with basic spatial reasoning. Despite strong performance on general benchmarks, modern VLMs remain brittle at understanding 2D spatial relationships such as relative position, layout, and counting. We argue that this failure is not merely a data problem, but is closely tied to dominant design choices in current VLM pipelines: reliance on CLIP-style image encoders and the flattening of images into 1D token sequences with 1D positional encoding. We present a controlled diagnostic study within the LLaVA framework to isolate how these choices affect spatial grounding. We evaluate frontier models and LLaVA variants on a suite of spatial benchmarks, comparing CLIP-based encoders against alternatives trained with denser or generative objectives, as well as variants augmented with 2D positional encoding. Our results show consistent spatial performance gaps across models, and indicate that encoder objectives and positional structure shape spatial behavior, but do not fully resolve it.