Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Decomposing Queries into Tool Calls for Long-Video Keyframe Retrieval

About

Keyframe selection is a direct way to provide verifiable visual evidence for long-video question answering (QA). Queries differ in what they require, and finding the right frames depends on knowing what to look for. Existing keyframe selectors either score every frame against a single query, or decompose the query into a fixed schema evaluated by a single visual tool. We propose ToolMerge, a keyframe retrieval method based on decomposition and merging: an Large Language Model (LLM) based planner decomposes the query into tool calls and specifies how their per-tool rankings are merged using boolean operators. To evaluate retrieval directly, we construct Molmo-2 Moments (M2M), a benchmark in which every question is anchored to a specific time interval by construction. Across QA, question retrieval, and caption retrieval, ToolMerge is competitive with prior keyframe selectors, most notably on caption retrieval, outperforming other methods by 5%. Code and data can be found at https://github.com/michalsr/ToolMerge .

Michal Shlapentokh-Rothman, Prachi Garg, Yu-Xiong Wang, Derek Hoiem• 2026

Related benchmarks

TaskDatasetResultRank
Video Question AnsweringLongVideoBench
Accuracy67.4
210
Question AnsweringMolmo2-Moment (M2M) v1 (test)
Accuracy63.4
38
Long Video Question AnsweringVideo-MME
Accuracy73.2
30
Caption RetrievalM2M
HIT@115.9
8
Question RetrievalMolmo2-Moment (test)
HIT@121.8
8
Showing 5 of 5 rows

Other info

Follow for update