nextcf-anon-2026 commited on
Commit
2b0f188
·
verified ·
1 Parent(s): be212fe

Add PROMPT_SELECTION.md (prompt-selection methodology)

Browse files
Files changed (1) hide show
  1. PROMPT_SELECTION.md +48 -0
PROMPT_SELECTION.md ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Prompt Selection Criteria
2
+
3
+ `metadata.json` ships the final SAM 3 prompts produced by the two-stage pipeline
4
+ described in the paper §3.1. This document records the criteria applied during
5
+ stage 2 (Claude Sonnet review and refinement), to enable extension to new
6
+ videos under the same protocol.
7
+
8
+ ## Goal
9
+
10
+ For each video, select a single entity whose removal makes the most questions
11
+ unanswerable, expressed as a short prompt (≤4 words) that SAM 3 can ground
12
+ reliably.
13
+
14
+ ## Criteria applied during refinement
15
+
16
+ 1. **Evidence-bearing** — the entity must be the visual referent of at least
17
+ one question's correct answer; removing it should obstruct answering.
18
+ 2. **SAM 3-friendly** — short noun phrases with optional visual descriptor
19
+ (color or clothing). Examples: `boy in red`, `man with guitar`, `white dog`.
20
+ 3. **Singular and specific** — prefer specific descriptors over generic terms
21
+ (`man` over `person`); avoid plurals (SAM 3 cannot reliably target
22
+ "people" or "men" as a group).
23
+ 4. **Cross-question consensus** — if multiple questions reference the same
24
+ entity, that entity is a higher-confidence removal target.
25
+
26
+ ## Patterns excluded after audit
27
+
28
+ | Issue | Resolution |
29
+ |---|---|
30
+ | Positional refs (`left`, `right`, `middle`) | Replace with visual descriptor or bare noun |
31
+ | Relative refs (`taller`) | Drop to bare noun |
32
+ | Role-based (`drummer`, `singer`) | Rewrite as entity (`man with guitar`) |
33
+ | Object-as-target (`phone`, `bicycle`) | Switch to the person in the scene |
34
+ | Generic `person` when a more specific term applies | Rewrite (`man`, `boy`, `girl`) |
35
+ | Non-SAM-3 vocabulary (`polkadot`) | Simplify to bare noun (`baby`) |
36
+ | Action-based descriptor (`standing with sticks`) | Rewrite to entity reference |
37
+
38
+ ## Stage 1 (rule-based) source
39
+
40
+ The rule-based bootstrap selector (Stage 1) is implemented in
41
+ `prompt_selector.py` in the companion code release; see paper §3.1. It parses
42
+ each question's grammatical subject and scores candidate entities by
43
+ subject-frequency, plural penalty, and presence of visual descriptors,
44
+ producing an initial set of prompts that stages 2–3 refine against the
45
+ criteria above. The released `metadata.json` reflects the post-verification
46
+ prompts and is the canonical artifact — no need to re-run the selection
47
+ pipeline to use the dataset; the script is only needed to extend the dataset
48
+ to new videos.