Manuscript Offprint

arXiv:2610.30740

Where Did the Light Come From? Diagnosing Cast-Shadow Reasoning in VLMs and Borrowing the Missing Shadow Prior from Image Generation Models

Ryugo Morita, Shunsuke Kitada, Stanislav Frolov, Brian Bernhard Moser, Ko Watanabe, Riku Takahashi, Jinjia Zhou, Andreas Dengel

Ryugo Morita 1,2^{1,2} Shunsuke Kitada 3^{3} Stanislav Frolov 1^{1} Brian Bernhard Moser 1^{1}

Ko Watanabe 1^{1} Riku Takahashi 1,3^{1,3} Jinjia Zhou 3^{3} Andreas Dengel 1,2^{1,2}

1^{1}DFKI, Germany 2^{2}RPTU Kaiserslautern-Landau, Germany 3^{3}Hosei University, Japan

  1. Shadows Reveal Hidden Physics

Figure

  1. VLMs Fail Physical Consistency

Figure

  1. Borrowing the Missing Shadow Prior from IGMs

Figure 1. We introduce ShadowBench, which probes one facet of illumination understanding, whether VLMs know which way a cast shadow should fall. (i) Reading: VLMs read a visible shadow's direction well above chance, scaling with size. (ii) Inferring: with the shadow removed, they recover it weakly. (iii) Validating: they barely exceed chance on a bias-free two-alternative test, while humans reach 85–98%. Letting the VLM borrow an Image Generation Model's cast shadow prior lifts its weak inference and exposes wrong-direction shadows it otherwise accepts. The prior VLMs lack already resides in IGMs, pointing toward transferring it into VLM training.

Abstract

Shadows are observable consequences of latent physical causes, arising from the interaction between illumination, object geometry, and scene structure. A model that understands shadows should be able not only to read a shadow's direction, but also to infer where a shadow should fall when it is absent, and to judge whether a shadow is physically consistent with the scene. We introduce ShadowBench, built from real photographs, which poses these three questions to vision-language models (VLMs). From each scene, we build a correct-shadow, a shadow-removed, and a human-annotated wrong-direction state. Evaluating 19 open VLMs (2B to 78B) and frontier proprietary models, we find that VLMs read a visible shadow's direction well above chance and improve with scale, yet infer the absent direction only weakly and fall to chance at judging physical consistency even under a bias-free two-alternative test that removes the yes-bias of single-image naturalness questions. Only Gemini-3.1-pro exceeds chance on validity, and even then only modestly and far below humans. Chain-of-Thought (CoT) does not help. The missing ingredient is not reasoning but knowledge that image generation models (IGMs) already hold. Routing a VLM through an IGM lifts its inference well above its direct attempt and helps it flag the wrong-direction shadows it otherwise accepts. Cast-shadow direction is a single facet of illumination understanding, but the sharp gap it reveals between VLMs and IGMs suggests image-generation or reconstruction objectives as a route toward illumination-aware VLMs.

1. Introduction

A cast shadow is a rare gift for studying physical understanding, a single visible mark that encodes one hidden variable, the direction of the light. A shadow that points the wrong way makes an ordinary photograph look unmistakably broken [8], making shadows an unusually clean probe of whether a model reasons about scene physics or merely about pixels. Shadows have long been exploited through detection [25], removal [36], and generation [33], and modern diffusion models [9, 28] control illumination explicitly [16, 40]. Yet as vision-language models (VLMs) are promoted to general visual reasoners, a basic question remains unanswered. Do they understand the physics a shadow encodes, or only register that a shadow is there?

Producing or accepting a plausible shadow does not require understanding it. A cast shadow encodes essentially one physical quantity, the direction of the light relative to the object, and a model that has internalized this relation should be able to use it in three ways, (i) reading the direction of a visible shadow, (ii) inferring where a shadow should fall when it is absent, and (iii) validating whether a shown shadow is physically consistent with the scene. Reading only locates a visible cue, whereas inferring and validating require relating the shadow to the scene's global information. Existing physical-reasoning benchmarks probe spatial relations [4, 14], 3D structure [29, 31], occlusion [24], and broad plausibility [6, 32], but none isolate cast-shadow direction, and none separate reading a shadow from understanding it, which is precisely the distinction that decides whether a model has internalized the shadow–illumination relation.

To this end, we introduce ShadowBench, built from real photographs. From each scene, we recover the object and its shadow as an alpha-matted layer, and recompose three matched states on a shared background, a shadow-correct, a shadow-removed, and a human-curated wrong-direction state. Evaluating 19 open VLMs (2B–78B) and frontier proprietary models, we find a sharp split. Reading works; VLMs read a visible shadow's direction well above chance, improving with scale. Understanding does not; the same models infer the absent direction only weakly and cannot reliably tell a wrong-direction shadow from a correct one, accepting it as natural even under a bias-free two-alternative test, while humans perform every task at 85–98%. The sole exception, Gemini-3.1-pro, exceeds chance only modestly. Chain-of-Thought (CoT) [17] repairs neither failure, so the bottleneck is not reasoning.

VLMs are trained to produce text conditioned on images, with no objective requiring them to reproduce the physics of a scene, whereas Image Generation Models (IGMs) are trained to reconstruct physically plausible images and must respect illumination, geometry, and the other constraints the visible world obeys. We therefore let the VLM borrow this knowledge through a loop it drives end-to-end, prompting an IGM to draw the shadow the scene implies and then reading it back, rather than judging from the scene alone. This recovers both inference and validity well above the VLM's direct attempt, supplying the missing prior that CoT did not. It points to folding generation or reconstruction objectives into VLM training as a route to internalizing the priors IGMs hold. Our contributions are summarized as follows:

• We introduce ShadowBench, which uses cast shadows to probe whether VLMs hold the illumination-direction knowledge a cast shadow encodes. Matched alpha-composites (shadow-correct, shadow-removed, and a wrong-direction state) make direction the only changed variable, and three balanced tasks separate reading a visible shadow from inferring an absent one and validating a shown one, each with a human baseline.

• Across 19 open VLMs (2B–78B) and frontier proprietary models, VLMs read a visible shadow’s direction well above chance but infer the absent direction weakly and, with the sole exception of Gemini-3.1-pro, stay at chance when telling a wrong-direction shadow from a correct one, even under CoT, while humans reach 85–98%.

• We show that the cast-shadow knowledge VLMs lack already resides in IGMs, and that bringing these illumination priors into the VLM’s decision lifts its inference and flags many of the wrong-direction shadows it otherwise accepts, motivating generation-based training and knowledge transfer toward illumination-aware VLMs.

References (40)