source stream output event X happens edit Y starts here X never happens: nothing is edited edited from the first frame
Technical Papers · Generative Video and Editing Tuesday 1 December 2026 · 14:50–15:55 Conference Hall 2, Level 3 · KLCC, Kuala Lumpur
EgoPlay
Event-Triggered Video Editing for Egocentric Streams
EgoPlay outputs · every edit waits for its trigger
“When X happens, do Y .”
The model decides whether and when the event occurs, leaves earlier frames untouched, and edits only what follows.
unchanged event X edit Y
Jinjie Mai1,2 , Gordon Guocheng Qian1 , Willi Menapace1 , Arpit Sahni1 , Chaoyang Wang1 , Ashkan Mirzaei1 , Runjia Li1 , Sergey Tulyakov1 , Bernard Ghanem2 , Peter Wonka1,2 , Rameen Abdal1
1 Snap Inc.2 KAUST
[0:00 · 35 s]
Hi everyone. This is EgoPlay, joint work between Snap and KAUST.
Video editors today take an instruction and apply it to the whole clip. We ask for something different: "when X happens, do Y". On the left are six real outputs. Watch the bar under each one: grey means the video is untouched, yellow is the event, and the edit only switches on in the orange part.
01 · Our task, in 25 seconds
Spotlight video. Plays once; R replays it, M turns its sound on.
[0:35 · 30 s]
(Let the spotlight video play, about 23 seconds. It is muted by default: press M for sound, R to replay.)
Today's editors do spatial edits on every frame. Event-triggered editing is temporal: the prompt names an event, and the edit begins only once that event has happened.
02 · Motivation
Video-to-video should be interactive and real-time .
[1:05 · 40 s]
For glasses and other egocentric streams, the future of video-to-video is interactive and real time. Spatial grounding, "replace the chair with a potted tree", is what editors already do: the edit is there from the first frame.
Temporal grounding is missing. "When I upturn my palm, add a fireball to my hand": nothing should change until the palm turns, and then the edit has to appear and persist.
03 · Task
“When X happens, do Y .”
01 Regular prompt applied immediately, persists
02 Event prompt output unchanged until the event is detected; then edit only the continuation
03 Negative event if X never happens, never edit
04 Causal variant chunk by chunk, no future frames
Frames from one clip of our Ego4D benchmark: source, EgoEdit (regular prompt) and EgoPlay (event prompt).
[1:45 · 55 s]
Here is the task on one real clip. Top strip is the source stream, bottom strip is the output. With a regular prompt the edit is applied immediately, on every frame.
[CLICK] With an event prompt, "after you put the hammer on the floor, add glowing runes", the output must stay identical to the source until the event is detected, and only the continuation is edited. The event time is never given.
[CLICK] Negative event: if X never happens, the model must not edit at all.
[CLICK] And for streaming we need a causal variant: it sees the video chunk by chunk, with no access to future frames.
04 · Method
One event-aware editor, two variants .
Input : a source video and an event-triggered instruction
One model, two jobs : it jointly infers when the trigger occurs and what edit to apply. The event boundary is never given
EgoPlay (bidirectional): learns this end to end from event-triggered V2V supervision
EgoPlay-Causal : restricts temporal attention, so inference is streamable chunk by chunk
[2:40 · 50 s]
The method is deliberately simple. We do not cascade an event detector with an editor. One video diffusion transformer takes the source video and the event-triggered instruction, and jointly decides when the trigger occurs and what to edit.
EgoPlay is the bidirectional model, with full self-attention over all frames. EgoPlay-Causal restricts temporal attention: full attention inside a block, causal across blocks, with a KV cache, so it can run as a stream.
04 · Method · streaming
Streaming: edit chunk by chunk , steer it as you go.
edited stream
source stream time →
EgoPlay-Causalblock-causal diffusion transformer
past KV cache
Edit 1 “Add a dog”
Edit 2 · on event “When I give a thumbs-up , add a hat to the dog”
The current chunk and the current instruction go in
Past chunks are kept as a KV cache
A new event prompt arrives mid-stream: the edit waits for its trigger
Old cache and old instructions are popped
[3:30 · 50 s]
(Eight key presses on this slide; each one reveals one thing.)
This is what streaming buys us. The source stream arrives chunk by chunk at the bottom: here is the first chunk.
[CLICK] The user gives an instruction: "add a dog".
[CLICK] The edited chunk comes out on top, with the dog.
[CLICK] The next chunk arrives. Past chunks are not recomputed, they sit in a KV cache.
[CLICK] So the dog stays consistent, and now high-fives the hand.
[CLICK] Mid-stream the user adds an event prompt: "when I give a thumbs-up, add a hat to the dog". Nothing changes yet: the event has not happened.
[CLICK] The third chunk arrives, and in it the thumb goes up. The oldest cache entries and instructions are popped.
[CLICK] The trigger has happened, so the hat is added.
05 · Data
A data-driven way to make the model aware of events .
source video · sampled to 81 frames
before
event frames
after the event
Event edit prompt “When the cat sits down, add a hat”
EgoPlayfine-tuned V2V diffusion transformer
training target · edited only after the event
unchanged, same as the source
edited: a hat is added
Positive event : the target is edited only on the frames after the event
Fabricated event : the trigger never happens, so the target is the untouched source
Multiple events in one prompt, some real and some fabricated
The event time is in the supervision, never in the input
[4:20 · 40 s]
How do we teach a video editor about events? With data. Take a video, sampled to 81 frames, with an annotated event. The prompt is "when the cat sits down, add a hat". The training target is the source, unchanged, up to the end of the event, and edited only afterwards.
For a fabricated event that never happens, the target is simply the untouched source. And one prompt can contain several events. The event time is only in the supervision: the model never receives it as input.
05 · Data
A pipeline for promptable events: 106K pairs .
[5:00 · 45 s]
The pipeline, left to right. We start from Ego4D plus common videos and prefilter for quality. Human annotators mark events with start and end times, such as "I open the water bottle". A VLM then writes fabricated events and edit prompts.
We compose three kinds of prompts, positive, negative and multiple events, and synthesize the targets: edits are applied after positive events and not at all for negative ones. In total about 106 thousand event-triggered clip and prompt pairs, 21 edit types, 4 event modes. The median event is about one second long.
05 · Data · examples
What one sample looks like.
event-triggered prompt
source
target
event timeline · 81 frames
Positive event After you put the hammer on the floor , add swirling indigo runes that glow faintly along the edges of the lawnmower’s orange casing …
17 before · 24 event · 40 after edited only after the event
Negative event · fabricated trigger After I adjust the phone screen brightness , add a ginger tabby kitten briefly batting at the loose end of the yarn …
the trigger never happens target = source, no edit
Multiple events · mixed Once I pick up the screwdriver and place it on the ground , transform the caliper bracket into … a fox … Once I have finished turning the caliper bracket with both hands , replace it with a hollow ceramic mask …
11 before · 50 event · 20 after only the event that happens fires
Samples from our public Ego4D event benchmark (project page); prompts shortened with “…”.
[5:45 · 50 s]
Three real samples. Each has an event-triggered prompt, a source clip, a target clip and an event timeline.
A positive event: "after you put the hammer on the floor, add glowing runes". 17 frames before, 24 frames of event, and the target is edited only on the last 40.
[CLICK] A negative event: the trigger, adjusting the phone brightness, never happens in this clip. So the target is the source: no kitten.
[CLICK] Multiple events in one prompt, a mix of real and fabricated triggers. Only the event that actually happens fires, and the bracket turns into the fox mask at the end.
06 · Baselines
How each method handles the event .
[6:35 · 45 s]
What do we compare against? EgoEdit, the state-of-the-art egocentric editor: it has no notion of events, so the event clause is dropped and it edits from the first frame.
A VLM-guided cascade: a VLM decides whether and when the event happens and rewrites the prompt, the editor edits the suffix, and we stitch it to the prefix. Two models and a hard seam.
The oracle uses the ground-truth event time: an upper bound, not deployable.
EgoPlay is one diffusion transformer that infers the start from the pixels, with no detector and no stitching. EgoPlay-Causal makes the same decision online.
07 · Evaluation
A benchmark that checks the timing .
Ego4D event edit benchmark : 150 videos × 4 event modes = 600 samples
Modes : single / multiple positive; single / multiple negative (must refuse)
VLM as a judge : 0–3 × {editing, visual, background} → total 0–9
Event-aware : untouched before the trigger, edited after, nothing if no event
Oracle GT target : ground-truth boundary + the same editor (upper bound)
Negative modes: VLM-guided scores 8.99 by never editing; EgoPlay 8.33 while still editing positives (8.02 vs 6.64 for EgoEdit).
[7:20 · 45 s]
Existing metrics only ask "is the edit good". We need to ask "is it good, and at the right time". So we built a benchmark on Ego4D: 150 videos times 4 event modes, 600 samples. A VLM judge scores editing quality, visual quality and background consistency, each 0 to 3, and the scoring is event-aware: frames before the trigger must be untouched, and for negative prompts nothing may change.
Averaged over the four modes, EgoPlay reaches 8.01 out of 9 and the causal variant 7.86, against 6.84 for EgoEdit and 6.99 for the VLM cascade. The oracle with the true boundary is 8.69.
08 · Results
Results per event mode .
+17.7% editing quality over EgoEdit
+15.7% editing quality over the VLM-guided cascade
< ½ of the cascade’s GPU memory
Ego4D benchmark, total VLM score (0–9) per event mode; dashed = oracle with the ground-truth boundary.
[8:05 · 40 s]
Per mode. On positive events, single or mixed with negatives, the baselines fall well behind: EgoEdit edits too early, and the cascade often misses the event.
On negative modes the cascade gets a near-perfect 8.99 simply by never editing, which is the right answer there, but it is the same behaviour that hurts it on positives. EgoPlay stays above 8 on every mode.
Overall, relative to EgoEdit we gain 17.7 percent in editing quality, and 15.7 percent over the VLM-guided cascade while using less than half its GPU memory.
08 · Results · event-conditioned
Editing is triggered during streaming generation.
source edited
After detecting the woman finishing painting on her lips , add thin tendrils of electric blue sparks crackling along the edges of the skull paint on her face, subtly illuminating the surrounding skin without altering anything else.
source edited
After detecting the man finishing waving his hands and the yellow text disappearing , shift the lighting to warm golden-hour glow with soft volumetric rays filtering through the window, illuminating dust motes in the air.
source edited
Once you detect the camera-operator showing the back side of the sneaker , add a faint shimmering stardust trail swirling around the heel’s black panel …
source edited
Following I click on the tablet , render the entire scene as a vintage comic book with bold halftone dots and hand-inked line work, preserving all objects and positions.
[8:45 · 35 s]
Some results. Source on the left of each pair, edited on the right; a red frame appears when the edit is active. The sparks only appear once she has finished painting her lips. The golden-hour lighting only arrives after he stops waving and the yellow text disappears.
[CLICK] It works beyond Ego4D-style footage too: the stardust waits until the back of the sneaker is shown. And a global restyle: the whole scene turns into a comic book, but only after the tablet has been clicked.
08 · Results · interactive
Interactive: new instructions arrive mid-stream.
[9:20 · 25 s]
And the interactive setting, with the auto-regressive streaming model. Each clip starts with a first edit, for example "add a corgi that licks the hand". Midway a second instruction arrives, "add a Christmas hat to the corgi", or sparkles around the cat, or replace the panda with a butterfly, and the stream follows it while the interaction with the hand continues.
EgoPlay
Edits that wait for the right moment .
Event-triggered editing : “when X happens, do Y”, learned end to end in one model
106K event-triggered pairs : positive, fabricated-negative and multi-event prompts
EgoPlay-Causal : the same decision, streamed chunk by chunk
Project page egoplay2026.github.io/egoplay arXiv 2607.24560
X / Twitter @guocheng_qian
小红书 Xiaohongshu
Thank you. Questions?
[9:45 · 15 s]
To sum up: EgoPlay makes video edits wait for the right moment. One model learns event detection, restraint and editing together, from 106 thousand event-triggered pairs, and the causal variant does it on a live stream.
Results, paper and the benchmark are at the first QR code; the other two are my X and Xiaohongshu. Thank you.
SIGGRAPH ASIA 2026 · GENERATIVE VIDEO AND EDITING EGOPLAY