Video-Moment Search
Locate the time interval matching a natural-language description within a specified video.
- Domain
temporal video retrieval- Primary focus
Video-Moment Search- Primary metric
SourceMacroGridUtility
On this page
Runtime and requirements
- Agent budget:
6 hours - Compute:
8CPUs,32 GiBRAM,100 GiBstorage;1GPU(s)
Build: 3,600 seconds. Up to 500 requests in two calls of at most 250, each allowed 2,700 seconds. Fixed CLIP encoders; an optional temporal/scoring component may have five million trainable parameters and 45 minutes of training. Fine scoring is limited to 64 intervals per request. No external APIs.
Public input and output contract
Inputs
/task/data/corpus/records.jsonl maps videos to frozen CLIP frame features, durations and time grids. Raw videos are absent. Training examples and five validation questions include acceptable interval labels. Requests contain query_id, video_id and description.
Outputs
Submit executable /app/build.sh and /app/run.sh and all supporting files under /app. The fresh verifier rebuilds the index and runs commands as a non-root user with code and inputs read-only. Honor the supplied index, output, TMPDIR and cache paths; the index parent is not writable.
/app/build.sh --corpus /task/data/corpus --index-dir /work/index
/app/run.sh --index-dir /work/index --queries /path/to/queries.jsonl --output /path/to/results.jsonl
Return query_id, numeric start and end in seconds: exactly one nonempty interval with both endpoints on that video’s supplied grid. Process requests independently.
The completed index is read-only during retrieval.
Evaluation
Let x be the best IoU between the predicted interval and the original acceptable intervals. Its utility is:
u(x) = 0.7 * mean(I[x >= 0.5], I[x >= 0.7], I[x >= 0.9]) + 0.3 * x
Divide each query's utility by the best utility attainable with one legal interval on its supplied grid. Average within each source, then give the two sources equal weight.
Grid-optimal witnesses remain verifier-only. Invalid, reversed, missing, nonfinite or non-grid intervals score zero. The grid correction accounts for boundary precision limits; a long interval still loses IoU when it includes unrelated time.
Reward mapping
The final reward uses the raw quality described above, with fixed reference quality b = 0.14696558206208937 and integer score anchor a = 15 on the 0–100 scale:
reward(q) = (a / 100) * q / b if 0 <= q <= b
a / 100 + (1 - a / 100) * (q - b) / (1 - b) if b < q <= 1
This maps raw quality 0, b and 1 to rewards 0, a / 100 and 1. Raw quality and auxiliary diagnostics are reported separately. Harbor retains the 0–1 reward precision; a displayed 0–100 score is rounded to one decimal place. Correctness and trajectory-audit gates take precedence over this conversion.
Validity and failure handling
The verifier checks successful index construction, executable behavior, query IDs, finite start/end values, interval order, grid endpoints and stage limits. Completed valid JSONL rows remain usable after a query timeout; missing or invalid query results score zero. A non-timeout query-command failure invalidates that call.
Final reward requires a healthy, accepting independent trajectory and submission integrity audit. Audit failures are reported separately from retrieval quality and cannot produce positive credit.
See the full instructions, task documentation and runtime configuration for the complete contract at the synchronized benchmark revision.