← Back to research projects

Simulation research · Preliminary findings

Project EMPATH

Uncertainty-aware assistance in a simulated human–robot assembly workcell. A Sawyer robot observes task behavior, updates a Bayesian belief about independent recovery, and signals when intervention has higher expected utility than waiting.

Results updated: October 27, 2026 · CoppeliaSim / Python / ZeroMQ

3 Scripted human-behavior conditions
72 Event records across three runs
8.15 s First assistance recommendation in self-recovery
3/3 RGB slots completed in successful trials

1. Simulation workcell and experimental setup

The workcell combines a scripted human with an articulated arm, a stepwise conveyor presenting color-coded blocks, three ordered RGB assembly slots, an observing Sawyer manipulator, and a mobile courier. Human selections are animated; the courier transports a completed order after successful assembly. Sawyer's current intervention is visual signaling only, not physical manipulation of the task.

CoppeliaSim workcell with human avatar, RGB blocks, conveyor, Sawyer robot and mobile courier
Figure 1. CoppeliaSim assembly environment, including the human avatar, Sawyer, RGB staging area, conveyor, and courier.

2. Human behavior conditions

Three scripted conditions test whether the controller responds to observable human behavior rather than knowing the scenario outcome beforehand. An incorrect approach means the hand reached toward a nonmatching block; it does not mean the block was grasped or placed.

Condition Observable behavior Progress Final P(recovery) Result
Deliberation Waits, ignores initial blue block; assembles red, green, blue 3/3 0.9871 Task complete (29.60 s)
Difficulty Two incorrect approaches and hesitation; no further progress 0/3 0.3976 Task incomplete
Self-recovery Same initial two incorrect approaches, then assembles RGB 3/3 0.9806 Task complete (39.00 s)

Event log sizes: deliberation 26 rows; difficulty 14 rows; self-recovery 32 rows. The logs are synthetic software-generated trajectories, not recruited participant data.

Step chart of recovery belief: deliberation rises from 0.5 to 0.987; difficulty falls to 0.398; self-recovery first falls to 0.398 then rises to 0.981
Figure 2. Posterior belief trajectories during offline replay of the three scripts. Beliefs update on incorrect approaches and assembly progress; horizontal segments indicate no evidential update. The difficulty trial terminates at 13.75 s. Probabilities use illustrative manually specified likelihoods.

Critically, difficulty and self-recovery have identical initial observable histories and posterior beliefs through the second incorrect approach (8.15 s). The self-recovery estimate later increases only after actual successful assembly events at 23.05, 30.85, and 39.00 seconds.

3. Live uncertainty-aware assistance

The replay-tested Bayesian monitor was connected to the live simulation clock. After each relevant observation, Sawyer compares the expected utility of OFFER_ASSISTANCE versus WAIT.

In the self-recovery run, the first incorrect approach at 4.00 s prompted WAIT, while the second at 8.15 s prompted OFFER_ASSISTANCE. The decision returned to WAIT when the first correct assembly progress was observed at 23.05 s.

WAIT · cyan → OFFER HELP · green → WAIT · cyan
Sawyer robot in CoppeliaSim with a green decision-display panel attached to its head
Figure 3. Green visual decision panel mounted on Sawyer's head assembly, photographed in the simulator on October 17, 2026. The panel follows Sawyer's head and is connected to the live policy.
Bar chart of calculated utilities for assisting and waiting after first error, second error, and first assembly progress
Figure 4. Example expected utilities during the live self-recovery experiment. At 8.15 s, U(assist) = 0.626 exceeds U(wait) = −0.012. Values are derived from chosen reward and cost weights, not fitted user preferences.

The simulation finished successfully: RGB pattern complete at 39.00 s, order delivered at 53.20 s, and courier returned at 65.10 s. Three CSV files preserve the event history, online Bayesian states, and decisions for this run.

4. Human Response to Robotic Assistance: Control vs. Intervention

To extend Sawyer's visual assistance signal into a testable interaction, we introduced a deterministic human-response rule. In the control condition, Sawyer calculates assistance recommendations but does not display an offer. In the intervention condition, the recommended offer is displayed and the scripted human can accept guidance and resume the assembly task.

We ran each condition with two different underlying behaviors: difficulty, in which the human cannot progress without modeled assistance, and self-recovery, in which the human eventually completes the pattern without intervention.

Human behavior Condition Offers / accepted Completion Assembly time
Difficulty Control 0 / 0 Incomplete (0/3) Not reached; trial stopped at 13.75 s
Difficulty Intervention, accept 1 / 1 Complete (3/3) 35.35 s
Self-recovery Control 0 / 0 Complete (3/3) 39.00 s
Self-recovery Intervention, accept 1 / 1 Complete (3/3) 35.35 s
Comparison of four scripted EMPATH conditions: difficulty control incomplete, difficulty assistance complete at 35.35 seconds, self-recovery control complete at 39 seconds, and self-recovery assistance complete at 35.35 seconds
Figure 5. Completion outcomes and times across four deterministic simulation runs (October 27, 2026). The unsuccessful difficulty control has no completion time; it is not assigned a zero-second completion time.

Self-recovery: control and assistance video demonstrations

The videos below are intended to show the same scripted initial incorrect approaches under two conditions. In the control run, Sawyer observes while the human recovers independently. In the intervention run, Sawyer offers assistance and the programmed human accepts guidance. Both conditions complete the RGB pattern.

Video 1. Self-recovery, control. Two incorrect approaches, no assistance offer, then independent recovery. Scripted RGB completion: 39.00 s.
Video 2. Self-recovery, assistance accepted. Sawyer offers assistance at 8.15 s; the programmed human accepts at 10.25 s. Scripted completion: 35.35 s.

Videos are demonstration recordings of deterministic simulation scenarios. The MP4 files must be uploaded separately to the assets/ directory for playback.

EMPATH figures from recorded CSVs

Bayesian probability of independent recovery across four control and assistance simulation runs
Figure 6. Time-resolved Bayesian belief trajectories from all four intervention-response runs. Each staircase terminates at its recorded endpoint; the difficulty control trial is not extrapolated beyond 13.75 s. Dashed lines denote control conditions.
Expected utilities for assisting and waiting following the first error, second error, and first completed block
Figure 7. Utility comparison in the self-recovery assistance run: after the second incorrect approach, U(assist) = 0.626 exceeds U(wait) = −0.012. The utilities reflect explicitly chosen policy weights, not human-participant preferences.

Intervention timing and observed response

In both intervention runs, Sawyer recommended and offered assistance at 8.15 s, after two incorrect reaches. The scripted human saw the offer at 9.75 s, accepted it at 10.25 s, and resumed task activity. Once the first correct block was assembled at 19.55 s, the posterior probability of independent recovery rose to approximately 0.737, and Sawyer's recommendation returned to WAIT.

The paired runs retained matching observable histories and Bayesian beliefs through the second incorrect approach: P(recovery) = 0.397647 at 8.15 s. The control condition suppressed the offer even when the intervention policy recommended assistance.

For self-recovery, accepted guidance reduced the scripted completion time from 39.00 s to 35.35 s, a difference of 3.65 s (approximately 9.4%). For difficulty, the control trial ended incomplete while the accepted-assistance trial completed. These differences follow from the programmed response model and should not be interpreted as effects measured on human participants.

5. Interpretation and limitations

What this establishes: a synchronized, functioning CoppeliaSim prototype linking observable scripted behavior -> Bayesian inference -> decision utility -> a visible Sawyer screen-color response. It also confirms that identical observable prefixes receive identical beliefs.

What it does not establish: emotion recognition, statistically calibrated prediction, actual assistance delivered, or improved outcomes for human participants. Likelihoods and action utilities are currently hand-specified; the human behavior and courier motion are scripted. In the intervention-response experiments, the visual offer changes behavior through an explicitly programmed acceptance rule; that is a simulation mechanism, not an observed human response.

6. What's next?

Expand the paired trials with declined offers, interruption delays, varied response probabilities, and repeated seeded simulations. Next, quantify unnecessary interruptions and delayed assistance, validate inference calibration on held-out trajectories, and test robustness across task configurations.

Media can be extended with a dedicated GIF from the live October 17 screen-color run. The current animation depicts an earlier workcell stage.