V-222Temporal Edge Stability

Pixel Analysisvideo2020

Measures edge stability across frames — AI-generated video often shows flickering or morphing edges between frames.

Edge Stability Temporal Profile Analysis
This method detects AI-generated video by analyzing the temporal stability of edges — contours and boundaries between objects or regions that should maintain consistent position, strength, and orientation across frames:1. Edge Detection and Characterization: The method applies Canny edge detection with adaptive thresholds to each frame, then characterizes each detected edge segment by: (a) position — the sub-pixel edge location estimated using parabolic interpolation of gradient magnitudes, (b) orientation — the local gradient direction perpendicular to the edge, (c) strength — the gradient magnitude at the edge location, (d) scale — the spatial extent over which the edge is detectable (measured across multiple Gaussian blur scales σ = 1, 2, 4 pixels). Edges are linked into continuous contour segments using hysteresis thresholding. Each frame typically produces 500–5000 edge segments depending on scene complexity.2. Edge Correspondence and Tracking: Edges from consecutive frames are matched to track their temporal evolution. For each edge segment in frame t, the method searches for the corresponding edge in frame t+1 by: (a) motion-compensating edge positions using optical flow estimates, (b) matching by orientation similarity (angular difference < 15°), (c) matching by strength similarity (ratio within [0.7, 1.4]), (d) matching by scale similarity. The Hungarian algorithm optimizes the global assignment to maximize total correspondence confidence. Matched edges are tracked over time to build edge trajectories — sequences of (position, orientation, strength, scale) for each persistent edge.3. Temporal Edge Stability Metrics: For each tracked edge, the method computes temporal stability metrics: (a) position jitter — the standard deviation of the edge position after motion compensation (authentic video: σ < 0.3 pixels; AI-generated: σ > 1.0 pixel), (b) orientation flicker — the standard deviation of edge orientation across frames (authentic: σ < 3°; AI-generated: σ > 8°), (c) strength oscillation — the coefficient of variation of edge gradient magnitude (authentic: CV < 0.1; AI-generated: CV > 0.25), (d) persistence rate — the fraction of frames in which the edge is detected (authentic: > 90% for structural edges; AI-generated: may drop to < 60% as edges appear/disappear). AI-generated video frequently shows 'edge flickering' where structural boundaries oscillate between sharp and soft, or shift position by several pixels between frames.4. Edge Topology Consistency: Beyond individual edge properties, the method validates that the topological structure of the edge map remains consistent: (a) junction stability — T-junctions and X-junctions (where edges meet) should maintain their connectivity pattern across frames, (b) closed contour preservation — object boundaries that form closed contours should remain closed in consecutive frames, (c) edge count stability — the total number of edge segments in a region should change smoothly (sudden doubling or halving indicates generation artifacts), (d) edge-depth ordering — edges closer to the camera should occlude edges behind them consistently. AI-generated video often produces topological inconsistencies: junctions that split and merge randomly, contours that break open and close between frames, and depth ordering reversals.
Edge detection: Canny with adaptive thresholds
Sub-pixel precision: parabolic interpolation

Multi-scale analysis: σ = 1, 2, 4 pixels

Orientation match threshold: < 15°

Strength match ratio: [0.7, 1.4]

Position jitter threshold: σ < 0.3 pixels (authentic)

Orientation flicker threshold: σ < 3° (authentic)

Strength CV threshold: < 0.1 (authentic)

Persistence rate: > 90% (structural edges)

Analysis window: 30 frames
80–88% accuracy detecting AI-generated video via edge stability analysis. Position jitter detection achieves AUC of 0.86. Edge topology consistency provides F1-score of 0.83. Strength oscillation analysis adds 3–5% improvement. Performance best for scenes with clear structural edges — textureless or heavily blurred regions reduce edge detection reliability.
• Edges are fundamental structural features present in all non-trivial video
• Sub-pixel edge tracking provides high sensitivity to subtle instabilities

• Topological analysis captures structural inconsistencies missed by pixel-level methods

• Multiple independent metrics (position, orientation, strength) provide robust detection

• Computationally efficient compared to deep learning approaches
• Scenes with few structural edges provide limited analysis signal
• Camera noise at low light introduces genuine edge instability

• Heavy video compression creates edge ringing artifacts

• Some motion blur naturally softens edges in fast-moving regions

• Very short clips may not provide sufficient temporal data for stability metrics
Detecting AI-generated video through edge temporal instability. Forensic analysis of video manipulation at structural boundaries. Identifying frame-by-frame generation artifacts. Quality assessment of video generation and interpolation methods.