Expert Demonstration Capture for Computer-Use Training Data
Expert Demonstration Capture for Computer-Use Training Data
Computer-use agents fail in ways that aggregate benchmarks do not surface. They navigate menus correctly but misread the task state. They complete sub-steps in the right order but skip a confirmation dialog that any practitioner would notice. The gap is not architecture. It is data. Specifically, it is the absence of expert demonstration capture for computer-use training data that reflects how skilled practitioners actually operate software under real constraints.
This post describes how to capture, structure and verify expert demonstrations for computer-use post-training. It covers recording protocols, state representation, action segmentation, verifier design and the failure modes that make most demonstration datasets unusable as training signal.
Answer Capsule: Expert demonstration capture for computer-use training data requires recording full UI state at each action step, segmenting demonstrations into verifiable sub-tasks, pairing each segment with an expert-authored rubric or deterministic verifier, and calibrating task difficulty empirically against frontier models. Crowd-sourced click recordings without state context and rubric coverage are not usable training signal for capable agents.
What Makes a Computer-Use Demonstration Usable as Training Signal?
A usable demonstration is one where every action is grounded in a verifiable state and every outcome can be checked programmatically or by a qualified reviewer. Three properties determine usability.
State completeness. The recording must capture the full application state before and after each action: active window, visible UI elements, cursor position, clipboard contents, any background process state that affects the task. A screen video alone is insufficient. The agent cannot learn from pixels it cannot reproduce; the verifier cannot check correctness without the state delta.
Action atomicity. Each recorded action must map to a single, reversible operation: a click, a keystroke sequence, a form submission. Compound gestures that bundle three logical steps into one recorded event create ambiguous supervision. The segmentation granularity should match the granularity at which the agent will be evaluated.
Expert provenance. The demonstrator must be a practitioner who performs this workflow professionally, not a generalist following a written script. Script-following produces superficially correct sequences that miss the conditional branches, error-recovery steps and judgment calls that distinguish expert from novice execution. Task provenance matters here for the same reason it matters in other expert-authored domains: web-derived or script-derived demonstrations are already in the training distribution of frontier models and add no new signal.
Recording Protocol: A Five-Step Capture Framework
The following protocol applies to any GUI-based computer-use domain. Adapt the state-capture layer to the specific application environment.
Pre-task state snapshot. Before the expert begins, capture a structured representation of the application state: open files, current view, relevant settings, any preconditions the task requires. Store this as a reproducible starting state, not just a screenshot.
Continuous screen and event recording. Record at sufficient frame rate to resolve rapid action sequences (typically 30 fps minimum). Simultaneously log all input events (mouse coordinates, click type, keystrokes, scroll deltas) with millisecond timestamps. The event log is the ground truth; the video is the human-readable reference.
Expert narration pass. After completing the task, the expert records a narration pass explaining each decision point: why they chose this menu path, what they checked before submitting, what would have indicated an error. This narration is the process supervision signal. It cannot be reconstructed from the action log alone.
Segmentation and labeling. A second reviewer (ideally another practitioner) segments the recording into sub-task units, labels each with the intended outcome, and flags any steps where the demonstrator deviated from the nominal path. Deviations are high-value: they capture error recovery and judgment under ambiguity.
Verifier attachment. For each sub-task segment, attach either a deterministic verifier (a script that checks the application state after the step) or a structured rubric with explicit pass/fail criteria that a qualified reviewer can apply consistently. A demonstration without a verifier is an observation, not a training signal.
The relationship between demonstration quality and verifier design is explored in more depth in the context of deterministic reproducible RL environments for post-training, where the same principle applies: reproducibility of the environment is a prerequisite for the signal to be usable.
State Representation: What to Capture Beyond the Screen
Screen pixels are the lowest-information representation of application state. They are also the most expensive to supervise and the hardest to verify programmatically. Where the application permits, capture richer state layers.
State Layer | What to Capture | Verification Method |
|---|---|---|
Accessibility tree | Full AT-SPI or MSAA tree snapshot at each action | Structural diff against expected tree |
Application data model | Serialized file or database state (e.g., CAD model, spreadsheet values) | Deterministic comparison of output artifact |
Clipboard and selection | Contents at time of each action | String match or schema validation |
Dialog and modal state | Open dialogs, field values, error messages | Presence/absence check, field value match |
Process and file system | Background processes, file writes, temp files | File hash comparison, process diff |
For domains where the application does not expose an accessibility tree (many legacy engineering tools, ERP systems, CAM software), the pixel-plus-event-log combination is the practical floor. In these cases, the verifier burden shifts entirely to the expert rubric. The rubric must then be precise enough that two independent reviewers reach the same verdict on the same recording more than 90 percent of the time. Inter-reviewer agreement below that threshold indicates the rubric is underspecified.
Worked Example: CAM Software Toolpath Demonstration
Illustrative example. Numbers and task details are constructed to be representative; they do not describe a specific delivered dataset.
A CNC/CAM instructor is asked to demonstrate setting up a three-axis milling toolpath for a pocket feature in a mid-range CAM application. The task specifies the material (6061 aluminum), the tool (10mm flat endmill), and the required surface finish (Ra 1.6 micron). No step-by-step instructions are provided. The instructor must make all parameter decisions independently.
The capture session produces the following artifacts:
Event log: 47 discrete input events over 8 minutes 20 seconds
Screen recording: 1080p at 30 fps
Narration audio: 6 minutes 45 seconds (recorded in a second pass)
Pre- and post-task application state exports: CAM project files in native format
Segmentation identifies seven sub-task units: stock definition, tool selection, operation type selection, depth-of-cut and stepover parameter entry, feed and speed entry, toolpath simulation review, and NC code export. Each unit receives a verifier: the first four use deterministic checks against the exported project file; the last three use a rubric with four criteria each (correctness, completeness, safety margin, output format).
When the resulting task is run against several frontier models using a pass@k protocol (k=5), none of the models produce a toolpath that passes all seven verifiers on any sample. The failure pattern is consistent: models select plausible-looking parameters but do not apply the material-specific feed/speed relationship correctly, and they skip the simulation review step entirely. This failure-mode profile is more actionable than an aggregate score. It identifies exactly which sub-task classes need additional demonstration coverage.
The broader question of how quality and quantity trade off in demonstration datasets for agent learning is addressed in detail in expert demonstration data for robot learning: quality vs. quantity.
Common Failure Modes in Computer-Use Demonstration Capture
1. Recording without reproducible start state. The demonstration begins from an application state that cannot be reconstructed. Detection: attempt to replay the demonstration from the recorded start state and observe whether the first action produces the same result. Fix: enforce a state-snapshot step before every recording session and validate that the snapshot is sufficient to reproduce the starting condition.
2. Expert following a script rather than performing naturally. The demonstration is correct but unnaturally linear. It lacks the micro-corrections, hover-and-read behaviors and conditional branches that characterize genuine expert execution. Detection: compare the action sequence entropy to recordings from the same expert performing the same task on a different day. Script-following produces near-identical sequences; natural performance varies. Fix: give the expert the task specification only, not a procedure. Debrief rather than pre-brief.
3. Verifier covers only the final output. The verifier checks whether the exported file is correct but does not check intermediate states. A model that reaches the correct output via an unsafe or non-generalizable path passes the verifier. Detection: run the verifier against a demonstration that achieves the correct output via a known-wrong intermediate path (inject a deliberate error that cancels out). Fix: attach verifiers to each sub-task segment, not only to the terminal state.
4. Rubric criteria are not mutually exclusive. Two rubric criteria overlap, so a single error is penalized twice and a single strength is credited twice. Detection: compute the inter-criterion correlation across a set of rated demonstrations. High positive correlation between two criteria suggests overlap. Fix: rewrite criteria so each covers a distinct, non-overlapping dimension of the task. The design of rubrics as reward signals is covered in rubric as reward: expert rubrics as RL training signals.
5. Difficulty not calibrated against current models. The task was authored as hard but frontier models now solve it reliably. Detection: run pass@k (k=5 or k=10) against at least two current frontier models. If pass@1 exceeds 0.7 for any model, the task has lost its training value for that model family. Fix: treat difficulty as a time-indexed property. Re-baseline periodically. The distinction between genuine expert hardness and mere obscurity is important here; expert hardness vs. obscurity hardness in AI difficulty covers this distinction precisely.
6. Narration not synchronized to the action log. The expert narration references steps by approximate description rather than by timestamp, making it impossible to align the process supervision signal to specific action events. Detection: attempt to programmatically align narration segments to event log entries. If alignment requires more than minor manual correction, the synchronization is insufficient. Fix: use a push-to-talk protocol where the expert narrates each step immediately before or after performing it, or use a post-hoc alignment tool with expert verification of the alignment output.
Where This Approach Breaks Down
Expert demonstration capture is resource-intensive per task. It does not scale to domains where the task space is effectively unbounded and where no practitioner population exists with consistent, verifiable expertise. It also does not work well for tasks where the correct action sequence is genuinely ambiguous among experts: high inter-expert disagreement on the demonstration itself means the training signal is noisy regardless of capture quality.
For tasks where synthetic generation can produce verifiably correct demonstrations at low cost (certain code execution tasks, formal math), the marginal value of expert capture is lower. The decision between expert and synthetic demonstration data depends on the verifiability of synthetic outputs and the degree to which the task requires judgment that is not encodable in a generator. Synthetic data vs. human expert data for post-training maps out that decision in detail.
Finally, this approach assumes the application environment is stable enough to support reproducible state capture. Legacy or proprietary software that changes behavior across minor version updates breaks the reproducibility guarantee and requires re-validation of the entire demonstration corpus after each update.
Frequently Asked Questions
What frame rate and resolution are required for computer-use demonstration recording?
30 fps at 1080p is the practical minimum for most GUI tasks. Higher frame rates matter only for tasks with rapid sequential actions (e.g., keyboard shortcut sequences under 100ms). Resolution should be sufficient to resolve the smallest interactive UI element in the application. The event log is the authoritative record; video resolution is a secondary concern.
How many demonstrations per task are needed for reliable training signal?
There is no universal number. The relevant question is whether the demonstration set covers the conditional branches and error-recovery paths in the task. For a task with three major decision points, each with two plausible branches, a minimum of six demonstrations is a reasonable starting floor. Empirical pass@k measurement against the trained model identifies coverage gaps more reliably than a fixed count rule.
Can accessibility tree capture replace screen recording for computer-use data?
For applications with complete and stable accessibility tree implementations, the tree plus event log is a richer and more verifiable representation than screen video. In practice, most production applications have partial or inconsistent tree coverage. A combined approach (tree where available, video as fallback) is more robust than relying on either alone.
How do you handle expert disagreement in demonstration capture?
Expert disagreement on action sequence is informative, not a problem to eliminate. Document the disagreement, label each variant with the expert's stated rationale, and treat the variants as separate demonstrations covering different solution paths. Disagreement on the final output (whether the outcome is correct) indicates an underspecified task and requires rubric revision before the demonstrations are usable as training signal.
How does difficulty drift affect a computer-use demonstration corpus?
As frontier models improve, tasks that were reliably hard become easy. A demonstration corpus built at one capability level may provide no training signal six months later. Difficulty should be re-measured with pass@k against current models on a regular cadence. Tasks that have saturated should be retired or replaced with harder variants. This is the same re-baselining problem that affects all expert-authored evals; re-baselining saturated evals with expert-authored successors covers the methodology.
What This Means in Practice
Expert demonstration capture for computer-use training data is not a recording problem. It is a verification problem. The recording infrastructure is table stakes. The hard work is designing verifiers and rubrics that make each demonstration checkable, segmenting demonstrations at the right granularity, and calibrating task difficulty against models that will be trained on the result. Teams that treat demonstration capture as a data-collection exercise and verification as an afterthought produce datasets that look large and test as weak.
The domains where this matters most are also the domains where generalist labeling marketplaces have the least coverage: CAM and CNC programming, ERP and MES workflows, EDA and PCB layout, structural analysis software, and specialized financial platforms. These are the domains where expert practitioners are the only credible source of demonstration data, and where the gap between a correct-looking sequence and a correct sequence is only visible to someone who has done the work professionally.
If you are building computer-use training data pipelines in expert domains, talk to Chiron Datalabs about expert-authored tasks for your domain.
Have questions or want personalised guidance? Contact us and we'll be happy to help.
Computer-use agents fail in ways that aggregate benchmarks do not surface. They navigate menus correctly but misread the task state. They complete sub-steps in the right order but skip a confirmation dialog that any practitioner would notice. The gap is not architecture. It is data. Specifically, it is the absence of expert demonstration capture for computer-use training data that reflects how skilled practitioners actually operate software under real constraints.
This post describes how to capture, structure and verify expert demonstrations for computer-use post-training. It covers recording protocols, state representation, action segmentation, verifier design and the failure modes that make most demonstration datasets unusable as training signal.
Answer Capsule: Expert demonstration capture for computer-use training data requires recording full UI state at each action step, segmenting demonstrations into verifiable sub-tasks, pairing each segment with an expert-authored rubric or deterministic verifier, and calibrating task difficulty empirically against frontier models. Crowd-sourced click recordings without state context and rubric coverage are not usable training signal for capable agents.
What Makes a Computer-Use Demonstration Usable as Training Signal?
A usable demonstration is one where every action is grounded in a verifiable state and every outcome can be checked programmatically or by a qualified reviewer. Three properties determine usability.
State completeness. The recording must capture the full application state before and after each action: active window, visible UI elements, cursor position, clipboard contents, any background process state that affects the task. A screen video alone is insufficient. The agent cannot learn from pixels it cannot reproduce; the verifier cannot check correctness without the state delta.
Action atomicity. Each recorded action must map to a single, reversible operation: a click, a keystroke sequence, a form submission. Compound gestures that bundle three logical steps into one recorded event create ambiguous supervision. The segmentation granularity should match the granularity at which the agent will be evaluated.
Expert provenance. The demonstrator must be a practitioner who performs this workflow professionally, not a generalist following a written script. Script-following produces superficially correct sequences that miss the conditional branches, error-recovery steps and judgment calls that distinguish expert from novice execution. Task provenance matters here for the same reason it matters in other expert-authored domains: web-derived or script-derived demonstrations are already in the training distribution of frontier models and add no new signal.
Recording Protocol: A Five-Step Capture Framework
The following protocol applies to any GUI-based computer-use domain. Adapt the state-capture layer to the specific application environment.
Pre-task state snapshot. Before the expert begins, capture a structured representation of the application state: open files, current view, relevant settings, any preconditions the task requires. Store this as a reproducible starting state, not just a screenshot.
Continuous screen and event recording. Record at sufficient frame rate to resolve rapid action sequences (typically 30 fps minimum). Simultaneously log all input events (mouse coordinates, click type, keystrokes, scroll deltas) with millisecond timestamps. The event log is the ground truth; the video is the human-readable reference.
Expert narration pass. After completing the task, the expert records a narration pass explaining each decision point: why they chose this menu path, what they checked before submitting, what would have indicated an error. This narration is the process supervision signal. It cannot be reconstructed from the action log alone.
Segmentation and labeling. A second reviewer (ideally another practitioner) segments the recording into sub-task units, labels each with the intended outcome, and flags any steps where the demonstrator deviated from the nominal path. Deviations are high-value: they capture error recovery and judgment under ambiguity.
Verifier attachment. For each sub-task segment, attach either a deterministic verifier (a script that checks the application state after the step) or a structured rubric with explicit pass/fail criteria that a qualified reviewer can apply consistently. A demonstration without a verifier is an observation, not a training signal.
The relationship between demonstration quality and verifier design is explored in more depth in the context of deterministic reproducible RL environments for post-training, where the same principle applies: reproducibility of the environment is a prerequisite for the signal to be usable.
State Representation: What to Capture Beyond the Screen
Screen pixels are the lowest-information representation of application state. They are also the most expensive to supervise and the hardest to verify programmatically. Where the application permits, capture richer state layers.
State Layer | What to Capture | Verification Method |
|---|---|---|
Accessibility tree | Full AT-SPI or MSAA tree snapshot at each action | Structural diff against expected tree |
Application data model | Serialized file or database state (e.g., CAD model, spreadsheet values) | Deterministic comparison of output artifact |
Clipboard and selection | Contents at time of each action | String match or schema validation |
Dialog and modal state | Open dialogs, field values, error messages | Presence/absence check, field value match |
Process and file system | Background processes, file writes, temp files | File hash comparison, process diff |
For domains where the application does not expose an accessibility tree (many legacy engineering tools, ERP systems, CAM software), the pixel-plus-event-log combination is the practical floor. In these cases, the verifier burden shifts entirely to the expert rubric. The rubric must then be precise enough that two independent reviewers reach the same verdict on the same recording more than 90 percent of the time. Inter-reviewer agreement below that threshold indicates the rubric is underspecified.
Worked Example: CAM Software Toolpath Demonstration
Illustrative example. Numbers and task details are constructed to be representative; they do not describe a specific delivered dataset.
A CNC/CAM instructor is asked to demonstrate setting up a three-axis milling toolpath for a pocket feature in a mid-range CAM application. The task specifies the material (6061 aluminum), the tool (10mm flat endmill), and the required surface finish (Ra 1.6 micron). No step-by-step instructions are provided. The instructor must make all parameter decisions independently.
The capture session produces the following artifacts:
Event log: 47 discrete input events over 8 minutes 20 seconds
Screen recording: 1080p at 30 fps
Narration audio: 6 minutes 45 seconds (recorded in a second pass)
Pre- and post-task application state exports: CAM project files in native format
Segmentation identifies seven sub-task units: stock definition, tool selection, operation type selection, depth-of-cut and stepover parameter entry, feed and speed entry, toolpath simulation review, and NC code export. Each unit receives a verifier: the first four use deterministic checks against the exported project file; the last three use a rubric with four criteria each (correctness, completeness, safety margin, output format).
When the resulting task is run against several frontier models using a pass@k protocol (k=5), none of the models produce a toolpath that passes all seven verifiers on any sample. The failure pattern is consistent: models select plausible-looking parameters but do not apply the material-specific feed/speed relationship correctly, and they skip the simulation review step entirely. This failure-mode profile is more actionable than an aggregate score. It identifies exactly which sub-task classes need additional demonstration coverage.
The broader question of how quality and quantity trade off in demonstration datasets for agent learning is addressed in detail in expert demonstration data for robot learning: quality vs. quantity.
Common Failure Modes in Computer-Use Demonstration Capture
1. Recording without reproducible start state. The demonstration begins from an application state that cannot be reconstructed. Detection: attempt to replay the demonstration from the recorded start state and observe whether the first action produces the same result. Fix: enforce a state-snapshot step before every recording session and validate that the snapshot is sufficient to reproduce the starting condition.
2. Expert following a script rather than performing naturally. The demonstration is correct but unnaturally linear. It lacks the micro-corrections, hover-and-read behaviors and conditional branches that characterize genuine expert execution. Detection: compare the action sequence entropy to recordings from the same expert performing the same task on a different day. Script-following produces near-identical sequences; natural performance varies. Fix: give the expert the task specification only, not a procedure. Debrief rather than pre-brief.
3. Verifier covers only the final output. The verifier checks whether the exported file is correct but does not check intermediate states. A model that reaches the correct output via an unsafe or non-generalizable path passes the verifier. Detection: run the verifier against a demonstration that achieves the correct output via a known-wrong intermediate path (inject a deliberate error that cancels out). Fix: attach verifiers to each sub-task segment, not only to the terminal state.
4. Rubric criteria are not mutually exclusive. Two rubric criteria overlap, so a single error is penalized twice and a single strength is credited twice. Detection: compute the inter-criterion correlation across a set of rated demonstrations. High positive correlation between two criteria suggests overlap. Fix: rewrite criteria so each covers a distinct, non-overlapping dimension of the task. The design of rubrics as reward signals is covered in rubric as reward: expert rubrics as RL training signals.
5. Difficulty not calibrated against current models. The task was authored as hard but frontier models now solve it reliably. Detection: run pass@k (k=5 or k=10) against at least two current frontier models. If pass@1 exceeds 0.7 for any model, the task has lost its training value for that model family. Fix: treat difficulty as a time-indexed property. Re-baseline periodically. The distinction between genuine expert hardness and mere obscurity is important here; expert hardness vs. obscurity hardness in AI difficulty covers this distinction precisely.
6. Narration not synchronized to the action log. The expert narration references steps by approximate description rather than by timestamp, making it impossible to align the process supervision signal to specific action events. Detection: attempt to programmatically align narration segments to event log entries. If alignment requires more than minor manual correction, the synchronization is insufficient. Fix: use a push-to-talk protocol where the expert narrates each step immediately before or after performing it, or use a post-hoc alignment tool with expert verification of the alignment output.
Where This Approach Breaks Down
Expert demonstration capture is resource-intensive per task. It does not scale to domains where the task space is effectively unbounded and where no practitioner population exists with consistent, verifiable expertise. It also does not work well for tasks where the correct action sequence is genuinely ambiguous among experts: high inter-expert disagreement on the demonstration itself means the training signal is noisy regardless of capture quality.
For tasks where synthetic generation can produce verifiably correct demonstrations at low cost (certain code execution tasks, formal math), the marginal value of expert capture is lower. The decision between expert and synthetic demonstration data depends on the verifiability of synthetic outputs and the degree to which the task requires judgment that is not encodable in a generator. Synthetic data vs. human expert data for post-training maps out that decision in detail.
Finally, this approach assumes the application environment is stable enough to support reproducible state capture. Legacy or proprietary software that changes behavior across minor version updates breaks the reproducibility guarantee and requires re-validation of the entire demonstration corpus after each update.
Frequently Asked Questions
What frame rate and resolution are required for computer-use demonstration recording?
30 fps at 1080p is the practical minimum for most GUI tasks. Higher frame rates matter only for tasks with rapid sequential actions (e.g., keyboard shortcut sequences under 100ms). Resolution should be sufficient to resolve the smallest interactive UI element in the application. The event log is the authoritative record; video resolution is a secondary concern.
How many demonstrations per task are needed for reliable training signal?
There is no universal number. The relevant question is whether the demonstration set covers the conditional branches and error-recovery paths in the task. For a task with three major decision points, each with two plausible branches, a minimum of six demonstrations is a reasonable starting floor. Empirical pass@k measurement against the trained model identifies coverage gaps more reliably than a fixed count rule.
Can accessibility tree capture replace screen recording for computer-use data?
For applications with complete and stable accessibility tree implementations, the tree plus event log is a richer and more verifiable representation than screen video. In practice, most production applications have partial or inconsistent tree coverage. A combined approach (tree where available, video as fallback) is more robust than relying on either alone.
How do you handle expert disagreement in demonstration capture?
Expert disagreement on action sequence is informative, not a problem to eliminate. Document the disagreement, label each variant with the expert's stated rationale, and treat the variants as separate demonstrations covering different solution paths. Disagreement on the final output (whether the outcome is correct) indicates an underspecified task and requires rubric revision before the demonstrations are usable as training signal.
How does difficulty drift affect a computer-use demonstration corpus?
As frontier models improve, tasks that were reliably hard become easy. A demonstration corpus built at one capability level may provide no training signal six months later. Difficulty should be re-measured with pass@k against current models on a regular cadence. Tasks that have saturated should be retired or replaced with harder variants. This is the same re-baselining problem that affects all expert-authored evals; re-baselining saturated evals with expert-authored successors covers the methodology.
What This Means in Practice
Expert demonstration capture for computer-use training data is not a recording problem. It is a verification problem. The recording infrastructure is table stakes. The hard work is designing verifiers and rubrics that make each demonstration checkable, segmenting demonstrations at the right granularity, and calibrating task difficulty against models that will be trained on the result. Teams that treat demonstration capture as a data-collection exercise and verification as an afterthought produce datasets that look large and test as weak.
The domains where this matters most are also the domains where generalist labeling marketplaces have the least coverage: CAM and CNC programming, ERP and MES workflows, EDA and PCB layout, structural analysis software, and specialized financial platforms. These are the domains where expert practitioners are the only credible source of demonstration data, and where the gap between a correct-looking sequence and a correct sequence is only visible to someone who has done the work professionally.
If you are building computer-use training data pipelines in expert domains, talk to Chiron Datalabs about expert-authored tasks for your domain.
Have questions or want personalised guidance? Contact us and we'll be happy to help.