ObjectAlign: Neuro-Symbolic Object Consistency Verification and Correction

Mustafa Munir, Harsh Goel, Xiwen Wei, Minkyu Choi, Sahil Shah, Kartikeya Bhardwaj, Paul N. Whatmough, Sandeep Chinchali, Radu MarculescuarXiv 2025 · DOI

Introduction

Generative AI has revolutionized video synthesis and editing, yet maintaining temporal consistency remains a significant challenge. When applying edits—such as transforming a "wolf" into an "orange fox" using diffusion models—the resulting video often suffers from flickering, shape deformation, or identity drift where the subject momentarily disappears or changes form.

Visual example of temporal inconsistencies and identity drift in edited video frames, where objects like the soccer ball flicker or lose coherence.

While current "extended attention" mechanisms attempt to mitigate these issues by processing multiple frames simultaneously, they are computationally intensive and lack formal guarantees. ObjectAlign addresses this by introducing a neuro-symbolic framework that bridges the gap between heuristic neural metrics and formal symbolic reasoning to provably verify and correct object-level consistency.

Methodology

The ObjectAlign pipeline consists of a three-stage "closed-loop" system designed to identify and repair inconsistent frames.

The three-stage ObjectAlign pipeline: Threshold Learning, Object Consistency Verification, and Adaptive Frame Interpolation.

1. Metric-Based Scoring with Learnable Thresholds

The system evaluates frame pairs using four key metrics: CLIP-based semantic similarity, LPIPS perceptual distance, color histogram correlation, and mask Intersection-over-Union (IoU). Rather than relying on fixed thresholds, ObjectAlign employs a learnable classifier trained on positive (original) and negative (inconsistent) samples to define the boundaries of a "consistent" transition.

2. Neuro-Symbolic Verification

At the core of the framework is a neuro-symbolic checker. It utilizes a Satisfiability Modulo Theories (SMT) solver to provide formal guarantees that object embeddings remain within specific tolerances. Additionally, a probabilistic model checker verifies the sequence against temporal logic specifications ($\Phi$), ensuring the video adheres to intended physical or narrative constraints.

3. Adaptive Frame Repair

Once inconsistent frames are flagged, the system identifies the nearest valid "anchor" frames. It then employs Real-Time Intermediate Flow Estimation (RIFE) to interpolate and reconstruct the corrupted frames. The interpolation depth is dynamically adjusted based on the gap size to ensure smooth motion regardless of how many frames were discarded.

Evaluation and Results

ObjectAlign was evaluated using 95 text-to-video prompt pairs from the DAVIS and Pexels datasets, covering object edits, style transfers, and structural modifications.

Quantitative Performance

The framework demonstrated superior performance over state-of-the-art baselines like PnP, SDEdit, and StreamV2V:

  • Semantic Alignment: Improved CLIP Scores by up to 1.4 points.
  • Temporal Stability: Reduced Warp Error (flickering) by up to 6.1 points.
  • VBench Metrics: Showed consistent improvements in motion smoothness and subject consistency.

User Study and Ablation

In a user preference study, 75% of participants favored ObjectAlign-corrected videos over standard PnP baselines. Ablation studies revealed that Mask IoU checks triggered 22.3% of inconsistency flags, while the SMT-based symbolic check was responsible for 16.6%, highlighting its critical role in detecting subtle semantic drift that standard metrics might miss.

Conclusion

ObjectAlign introduces mathematical rigor to the traditionally heuristic field of video consistency. By treating consistency as a verification problem, it can reject and repair "broken" frames with minimal computational overhead (approx. 3-4%). While currently limited by its reliance on valid anchor frames for interpolation, future work aims to integrate these formal constraints directly into the generative training process.

Summary updated

BibTeX
@misc{munir2025objectalign,
  author = {Mustafa Munir and Harsh Goel and Xiwen Wei and Minkyu Choi and Sahil Shah and Kartikeya Bhardwaj and Paul N. Whatmough and Sandeep Chinchali and Radu Marculescu},
  title = {{ObjectAlign: Neuro-Symbolic Object Consistency Verification and Correction}},
  year = {2025},
  eprint = {2511.18701},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.18701},
}
Figure