mihirma commited on
Commit
572e91b
·
verified ·
1 Parent(s): cbe45f8

Polish model card and add p(doom) logo

Browse files
Files changed (1) hide show
  1. README.md +40 -14
README.md CHANGED
@@ -7,16 +7,42 @@ tags:
7
  - inverse-dynamics-model
8
  - screen-understanding
9
  - screencasts
 
10
  - qwen3-vl
11
  ---
12
 
13
- # Inverse Dynamics Model for action annotating Screencasts
 
 
 
 
 
 
 
 
 
14
 
15
- We train an inverse dynamics model on crowd-cast's paired dataset, yielding a model that recovers key presses, mouse clicks, cursor movements and scroll events from unlabeled videos. Given 10 consecutive screenshots, the model predicts the user input actions that occurred between frames.
16
 
17
- Please refer to the [blogpost](http://pdoom.org/crowd_cast_idm.html) for details and experiments.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
18
 
19
- ## Input format
20
 
21
  Provide one chat message with 10 images sampled at 5 FPS. Each image should be preceded by a text label:
22
 
@@ -29,7 +55,7 @@ Frame F09: <image>
29
 
30
  The frame labels are text anchors in the message, not labels rendered into the image pixels.
31
 
32
- ## Output format
33
 
34
  The model emits only a JSON array:
35
 
@@ -44,21 +70,21 @@ The model emits only a JSON array:
44
 
45
  Action types:
46
 
47
- - `KeyPress`: key name with modifiers, e.g. `Cmd+S`, `Enter`, `A`
48
  - `MouseClick`: `Left`, `Right`, or `Middle`
49
- - `MouseMove`: normalized `dx,dy`, where `1000` is full screen width/height
50
  - `MouseScroll`: normalized signed scroll magnitude
51
 
52
  Frame attribution: if an effect first appears between `F_K` and `F_{K+1}`, report the action on `F_K`, the last pre-action frame.
53
 
54
- ## Training and evaluation
55
 
56
- - Used model: `Qwen/Qwen3-VL-8B-Instruct`
57
- - Data: macOS crowd-cast paired screencasts and OS input logs
58
- - Training: LoRA on language and vision modules, merged after 5,000 steps
59
- - Eval: 44 manually verified macOS productivity clips
60
- - Result: F1 0.86, MouseMove R² 0.66, MouseMove cosine similarity 0.99
61
 
62
  ## Limitations
63
 
64
- The model exclusively trained on macOS clips. While it largely generalizes to Winows and Linux, it can confuse OS-specific shortcuts such as `Cmd` vs `Ctrl`.
 
 
 
7
  - inverse-dynamics-model
8
  - screen-understanding
9
  - screencasts
10
+ - computer-use
11
  - qwen3-vl
12
  ---
13
 
14
+ <div align="center">
15
+ <img class="dark:hidden" src="pdoom_logo_black_transparent.png" width="50%" alt="p(doom)" />
16
+ <img class="hidden dark:block" src="pdoom_logo_white_transparent.png" width="50%" alt="p(doom)" />
17
+ <br><br>
18
+ <a href="https://www.pdoom.org/"><img alt="Homepage" src="https://img.shields.io/badge/Homepage-p%28doom%29-white?logo=home&logoColor=black"/></a>
19
+ <a href="https://huggingface.co/p-doom"><img alt="Hugging Face" src="https://img.shields.io/badge/%F0%9F%A4%97%20Hugging%20Face-p--doom-ffc107?color=ffc107&logoColor=white"/></a>
20
+ <a href="https://discord.gg/G4JNuPX2VR"><img alt="Discord" src="https://img.shields.io/badge/Discord-p%28doom%29-7289da?logo=discord&logoColor=white&color=7289da"/></a>
21
+ <a href="https://github.com/p-doom"><img alt="GitHub" src="https://img.shields.io/badge/GitHub-p--doom-24292e?logo=github&logoColor=white"/></a>
22
+ <a href="https://twitter.com/prob_doom"><img alt="Twitter Follow" src="https://img.shields.io/badge/Twitter-prob__doom-white?logo=x&logoColor=white"/></a>
23
+ </div>
24
 
25
+ <br>
26
 
27
+ ---
28
+
29
+ # Inverse Dynamics Model for Action-Annotating Screencasts
30
+
31
+ `p-doom/idm` is an inverse dynamics model that predicts user input actions from short windows of screen recordings. Given 10 consecutive screenshots, it emits the key presses, mouse clicks, cursor movements and scroll events that are visually implied by the frames.
32
+
33
+ Please refer to the [IDM blog post](https://pdoom.org/crowd_cast_idm.html) for details and experiments.
34
+
35
+ ## Model Summary
36
+
37
+ - **Base model:** [`Qwen/Qwen3-VL-8B-Instruct`](https://huggingface.co/Qwen/Qwen3-VL-8B-Instruct)
38
+ - **Training data:** macOS crowd-cast paired screencasts and OS input logs
39
+ - **Training method:** LoRA on language and vision modules, merged after training
40
+ - **Input:** 10 screenshots sampled at 5 FPS
41
+ - **Output:** sparse JSON action list
42
+ - **Eval:** 44 manually verified macOS productivity clips
43
+ - **Result:** F1 0.86, MouseMove R² 0.66, MouseMove cosine similarity 0.99
44
 
45
+ ## Input Format
46
 
47
  Provide one chat message with 10 images sampled at 5 FPS. Each image should be preceded by a text label:
48
 
 
55
 
56
  The frame labels are text anchors in the message, not labels rendered into the image pixels.
57
 
58
+ ## Output Format
59
 
60
  The model emits only a JSON array:
61
 
 
70
 
71
  Action types:
72
 
73
+ - `KeyPress`: key name with modifiers, e.g. `Cmd+S`, `Return`, `A`
74
  - `MouseClick`: `Left`, `Right`, or `Middle`
75
+ - `MouseMove`: normalized `dx,dy`, where `1000` is a full screen-width or screen-height traversal
76
  - `MouseScroll`: normalized signed scroll magnitude
77
 
78
  Frame attribution: if an effect first appears between `F_K` and `F_{K+1}`, report the action on `F_K`, the last pre-action frame.
79
 
80
+ ## Related Releases
81
 
82
+ - [`p-doom/AGI-CAST-0.6k`](https://huggingface.co/datasets/p-doom/AGI-CAST-0.6k): source AGI-CAST screencasts
83
+ - [`p-doom/AGI-CAST-idm-actions`](https://huggingface.co/datasets/p-doom/AGI-CAST-idm-actions): AGI-CAST action annotations generated with this model
84
+ - [`p-doom/idm-eval-set`](https://huggingface.co/datasets/p-doom/idm-eval-set): manually verified IDM evaluation clips
 
 
85
 
86
  ## Limitations
87
 
88
+ - The model was trained on macOS clips and can confuse OS-specific shortcuts such as `Cmd` vs `Ctrl`.
89
+ - Labels are inferred from pixels, so actions with no visual evidence can be missed or hallucinated.
90
+ - Fine-grained timing, cursor movement magnitude and scroll magnitude can be noisy.