Abstract
Live streaming platforms require real-time monitoring of social signals, such as sentiment and hate speech, using partial and asynchronous evidence from video, text, and audio. We introduce StreamSense, a streaming detector that pairs a lightweight streaming encoder with selective routing to a Vision-Language Model (VLM) expert. StreamSense processes most timestamps efficiently, escalates ambiguous cases to the VLM, and defers decisions when context is insufficient. Our approach achieves higher accuracy than VLM-only streaming with significantly lower latency and compute costs.
Introduction
Detecting social signals in live video streams—such as harassment, misinformation, or rapid sentiment shifts—is critical for modern platforms like Twitch and TikTok. However, these tasks present a fundamental trade-off: large Vision-Language Models (VLMs) offer high accuracy but are too slow for real-time use, while lightweight models often lack the nuance required for complex social interactions. Furthermore, evidence in live streams is often asynchronous; a visual gesture might precede a spoken comment by several seconds.
The Challenge: Offline vs. Streaming Understanding
A major hurdle in training streaming models is the "supervision mismatch." Most datasets provide segment-level labels (e.g., a 10-second clip labeled "Hateful"). Standard offline models see the entire segment at once. In contrast, a streaming model must make predictions based only on past context.
If a model is forced to predict "Hate" at the very first second of a clip before the slur is even spoken, it is penalized for a "wrong" guess, leading to label interference and unstable training.
The StreamSense Framework
StreamSense addresses these challenges through a selective-routing architecture. It utilizes a multimodal context window to process video, audio, and text streams simultaneously.
Selective Routing and Deferral
Instead of forcing a prediction at every timestamp, StreamSense employs a threshold-based router:
- Emit: If the lightweight encoder is confident, it outputs the prediction immediately.
- Escalate: If the case is ambiguous, it routes the frame to a heavy VLM expert (e.g., Llama-3.2-11B-Vision).
- Defer: If the context is insufficient to make any reliable judgment, the system defers the decision, waiting for more evidence to arrive.
Optimized Training Objectives
To mitigate the supervision mismatch, the encoder is trained with an IoU-weighted cross-entropy loss, which down-weights the importance of early frames in a segment where evidence may not yet be present. Additionally, a cross-modal contrastive alignment loss ensures that visual and audio features are synchronized with the text stream, which typically contains the most decisive information for social tasks.
Evaluation and Results
StreamSense was evaluated on three key datasets: CMU-MOSI (sentiment), CMU-MOSEI (sentiment/emotion), and HateClipSeg (hate speech).
- Accuracy: StreamSense achieved state-of-the-art Macro-F1 scores (e.g., 79.26 on MOSI), outperforming both pure lightweight models and heavy VLM-only configurations.
- Efficiency: The system invoked the heavy VLM for only 10% to 27% of timestamps, maintaining a low average latency of 0.3 seconds per prediction—well within the requirements for real-time monitoring.
- The Power of Deferral: Allowing the model to "wait and see" (deferral) significantly reduced premature errors, proving that constant prediction is a sub-optimal strategy for streaming data.
Conclusion
StreamSense demonstrates that selective escalation and deferral are powerful primitives for real-time social task detection. By combining the speed of lightweight encoders with the deep reasoning of VLMs, it provides a scalable solution for live stream moderation. Future work includes exploring short decision buffers to allow for minimal "look-ahead" context without sacrificing the real-time nature of the system.
Summary updated