Logic-in-Frames: Dynamic Keyframe Search via Visual Semantic-Logical Verification for Long Video Understanding
ELVIA analysis
Independent review pending
The first reported finding concerns “The printed first iteration has linear work”. The ordinary-cost square-root claim is incompatible with the printed algorithm. This does not invalidate measured frame fractions for the differently budgeted release.
Problem 1. The printed first iteration has linear work
MajorEvidence and reasoning
Problem statement
The algorithms initialize set and sample frames; Appendix F.3 claims total time The first loop executes and per-frame materialization or processing has positive constant cost.
Proof
For the first round samples exactly entries. In general, Thus and Materializing or processing each sampled frame costs at least constant work, giving a first-round lower bound.
The released constructor instead uses a capped practical budget; that different procedure is not refuted by this literal-pseudocode argument.
Possible revision
Specify actual candidate/budget units and account for initialization, sampled entries, relation checks, detector work and dense updates. The printed algorithm’s linear first-round lower bound must be retained.
Problem 2. Chronological relation scoring depends on sample-list order
MinorEvidence and reasoning
Problem statement
Temporal and causal bonuses depend on the objects’ frame times. The release enumerates only list positions although later weighted samples are unsorted. A fresh unsatisfied relation; aligned records remain paired when reordered.
Proof
Take a fresh unsatisfied relation with object A at time object B at time base scores relation increment and temporal window The actual times satisfy and so the source's chronological relation qualifies.
Keep each sampled frame paired with its detections but order the sampled list as B now precedes A in list position.
The upper-triangular loop tests only It therefore never tests A followed by B in the required orientation, despite their qualifying chronological order.
The two endpoint scores remain rather than Changing only sample-list order changes whether the temporal evidence is scored, which contradicts dependence on the frame times alone.
Possible revision
Sort all aligned frame records by time, or enumerate endpoint pairs and apply explicit time predicates.
Problem 3. A global relation latch suppresses later distinct evidence
MinorEvidence and reasoning
Problem statement
The paper awards a spatial bonus to each qualifying frame; the release skips a relation after its persistent Boolean has been set.
Proof
Consider distinct batches in which A and B occur together at times and with base scores and An unrelated remaining target can keep the search active between the batches.
The first call adds the spatial bonus, returns and sets the persistent relation latch.
The next call sees the same relation already latched and skips it. It returns although the unqualified per-frame formula assigns to that distinct qualifying frame.
Thus a global one-shot relation state suppresses later evidence that the per-frame formula would score. Multiple matches within the first call can still receive bonuses; the discrepancy is between calls.
Possible revision
Track distinct frame/relation evidence and reconstruct scores from base confidence plus valid bonuses, rather than disabling the whole relation.
Problem 4. Single-frame verification changes scores and borrows another target’s confidence
MinorEvidence and reasoning
Problem statement
Individual verification overwrites a relation-integrated registry entry with the maximum base detection score and uses that frame maximum to certify a named target.
Proof
A frame with base and a valid relation bonus outranks a competitor at Verification writes reversing the ranking although the relation persists. Separately, present objects A and B with confidences and unit weights and threshold yield frame maximum The target loop can remove A because A is present and that maximum exceeds the threshold, although A’s own confidence does not. Both confidences exceed the detector filter
Possible revision
Preserve score components and reconstruct valid relation evidence after re-detection. Compare the target’s own detections with the confirmation threshold.
Problem 5. The alternative Beta sampler needs bounded reward semantics
Needs EvidenceEvidence and reasoning
Problem statement
The second Beta shape is without an explicit connection between and bounded rewards.
Verification
If are the integrated scores, base plus two bonuses gives With and unit priors, the shapes are and which cannot define a Beta law. If instead are separately normalized rewards, the second shape is at least The inspected release does not use this alternative sampler.
Possible revision
Not available
Supporting record & provenance
Work status
Current version
Version 1
Minhao Liu · Initial report · Version 1
Independent review pending
Original claim and review scope
We hypothesize that deconstructing visual semantic and logical cues (e.g., target objects, logical relations including temporal, spatial, attribute, and causal relationships between visual entities) from textual queries enables effective identification of task-relevant frames through heuristic sampling and search.
NeurIPS 2025 official proceedings PDF (retained local copy); PDF p. 1
Actual review scope
The recorded inspection concerns these source locations: Section 2.3.3, Eqs.(6)–(7), PDF p.5; interface_searcher.py, compute_frame_relation_scores and sample_frames; Eq.(4), PDF p.5; Algorithm 2, PDF p.20; compute_frame_relation_scores; Eqs.(2)–(4), PDF pp.4–5; verify_and_remove_target, lines 667–713; Algorithms 1–2, PDF pp.4,20; Appendix F.1 and F.3, PDF pp.19,21; Appendix F.4, Eq.(18), PDF pp.21–22.