V-215Object-Shadow Synchronization

Pixel Analysisvideo2021

Verifies temporal synchronization of object movement and shadow dynamics — AI-generated shadows often lag or lead incorrectly.

Object-Shadow Temporal Synchronization Analysis
This method detects AI-generated or manipulated video by analyzing whether object movements and their corresponding shadows are temporally and geometrically synchronized:1. Object-Shadow Pair Detection: The method detects objects and their cast shadows using a combination of instance segmentation (Mask R-CNN) and shadow detection (MTMT shadow detector, Chen et al., 2020). For each detected object, the method identifies its corresponding shadow by: (a) spatial proximity — the shadow must be adjacent to the object's ground contact region, (b) shape consistency — the shadow shape should be a ground-plane projection of the object shape from the estimated light direction, (c) color consistency — shadows darken the underlying surface without changing its hue (in L*a*b* color space, L decreases while a and b remain approximately constant). Object-shadow pairs are tracked across frames.2. Shadow Motion Synchronization: In physical reality, an object and its shadow move simultaneously — there is zero temporal lag between object motion and shadow motion (both are governed by the same light-object geometry at the speed of light). The method computes optical flow independently for the object and its shadow, then measures the cross-correlation between their motion time series. Authentic video shows cross-correlation > 0.9 with zero lag. AI-generated video may show: (a) temporal lag — the shadow moves 1–3 frames after the object (because the generator processes shadow as a secondary effect), (b) decorrelated motion — shadow moves independently of the object, (c) missing shadow dynamics — the shadow remains static while the object moves.3. Shadow Shape-Pose Consistency: As an object moves, its shadow shape must change according to the projection geometry — the shadow is the projection of the object silhouette onto the ground plane along the light direction. For rigid objects, the shadow shape is fully determined by the object pose, light direction, and ground plane geometry. The method tracks the object pose (orientation and position) and validates that the shadow shape transformation matches the expected projection. Specifically, shadow length changes with object height (taller objects cast longer shadows), and shadow direction must remain consistent with the light source. AI-generated video often produces shadows that do not change shape correctly with object pose — the shadow may maintain a constant shape or change in ways inconsistent with the light geometry.4. Shadow Penumbra Temporal Consistency: Real shadows have penumbra regions — soft edges where the shadow transitions from full darkness to full light — whose width is determined by the light source angular size and the shadow-to-ground distance. In video, the penumbra width should change consistently as the object moves closer to or farther from the ground plane (closer contact means sharper shadow). The method tracks penumbra width across frames and validates that it follows the expected distance-dependent function. AI-generated shadows often have temporally inconsistent penumbra — sharp in some frames, soft in others — or penumbra that does not correlate with object-ground distance.
Object detection: Mask R-CNN (instance segmentation)
Shadow detection: MTMT shadow detector

Shadow color verification: ΔL < -20, Δa < 5, Δb < 5 in L*a*b*

Motion cross-correlation: threshold > 0.9 at zero lag

Temporal lag detection: cross-correlation peak position

Shadow shape projection: perspective projection model

Penumbra width tracking: gradient analysis at shadow edges

Light source estimation: from shadow direction + object position

Minimum object size: 50×50 pixels

Analysis window: 30 frames
82–91% accuracy detecting AI-generated or manipulated video via object-shadow analysis. Shadow motion synchronization achieves AUC of 0.88. Shadow shape-pose consistency provides F1-score of 0.85. Penumbra consistency adds 3–5% improvement. Performance requires visible cast shadows — overcast or indoor diffuse lighting reduces shadow prominence.
• Based on fundamental physics — shadow-object relationship is deterministic
• Zero-lag synchronization provides definitive temporal constraint

• Shadow shape projection validates 3D geometric consistency

• Penumbra analysis provides fine-grained shadow quality check

• Works for general scenes with any visible cast shadows
• Overcast or diffuse lighting produces minimal cast shadows
• Indoor scenes with multiple light sources create complex shadow patterns

• Self-shadowing on complex geometries is difficult to model

• Transparent or semi-transparent objects have unusual shadow properties

• Advanced generators with explicit shadow rendering may pass synchronization checks
Detecting AI-generated video through shadow physics inconsistency. Identifying composite video where objects and shadows are from different sources. Forensic analysis of outdoor surveillance footage. Validating physical plausibility of video generation models.