StreamEmbed: Real-Time Indexing from Pixels for Screenshot Retrieval
Dayoon Ko, Yichuan Wang, Soyeong Jeong, Joseph E. Gonzalez, Gunhee Kim, Sewon Min
Abstract
Screen history can serve as searchable visual memory for people and agents, but unlike an offline corpus, it must be encoded and indexed as each screenshot arrives. OCR-based indexing is fast but loses visual information; visual encoding takes over two seconds. Yet screens change incrementally: most pixels repeat within and across screenshots. This raises a question: do visual encoders need to recompute their representations from scratch for every new screenshot? We present StreamEmbed, a system for incremental visual embedding that exploits this redundancy. Guided solely by pixel differences, it combines spatial token pruning, which skips blocks that repeat a neighbor, with temporal KV reuse, which reuses cached keys and values for blocks unchanged across screenshots. A small learned adapter compensates for pruning and reuse to preserve fidelity to full-screenshot embeddings. On ScreenMemEval, our benchmark of 10,426 questions over 184 hours of screen histories from two humans and a computer-use agent, StreamEmbed sets a new accuracy-latency Pareto frontier on an M2 Pro GPU: it encodes up to 3.7x faster than full-screenshot encoding without sacrificing accuracy and improves accuracy over OCR-based indexing by up to 6.3 Recall@10 points at matched latency. A memory-efficient vector index stores a simulated year of screenshots in 0.13 GB of RAM. Together, these results make real-time indexing of screen history in its native visual form practical, laying a foundation for fully local visual assistants.
Create a lesson
Related papers
Real-Time On-Drone Hyperspectral Anomaly Detection for Wilderness Search and Rescue
Shared title terminology · Jacqueline Liu, Gyabaah Kyere, Chengyan Liu et al.
LiveView: Real-Time Camera-Controlled Re-filming of Streaming Videos
Shared title terminology · Youcan Xu, Xinjie Huang, Jiaxin Shi et al.
Real-Time Diffusion Relighting as a Neural Sensor: Closing the Low-Light Domain Gap for Robotic Perception
Shared title terminology · Shengjie Xu, Alexander Gao, Anshul Rai et al.
STeP-C: Real-Time Neural Compression for Distributed Fiber-Optic Sensing at Scale
Shared title terminology · Tingfeng Li, Ming-Fang Huang, Shaobo Han et al.
Points, Not Pixels: Keypoints, Masks and Oblique Geometry for Floating-Roof Tank Fill Estimation from Overhead Imagery
Shared title terminology · Mohd Shahid Kaleem, Mohd Hozaifa Khan, Maaz Khan
GameScrub: Learning HUD Removal from Real Gameplay with Recovered Targets
Shared title terminology · Mohammad Areeb Qazi, Yiyan Hu, Yanan Wang et al.