WhoBuilt

State Space Models for Realtime Multimodal Intelligence

Oct 29, 2024· 14 min· 4.2K views·Watch on YouTube

Speaker

Karan Goel discusses state space models and real-time multimodal AI at an AI Engineer event; he describes building real-time foundation models, but the company name is unclear in the transcript.

Why AI needs real-time systems

Goel contrasts batch models, which can take seconds to respond, with streaming systems that return responses at low latency. He points to voice assistants, generated worlds, robotics, and automated customer support as applications that need continuous, immediate understanding and generation.

Long context makes multimodal AI costly

Goel argues that audio, video, and sensor streams contain far more information than text, much of it unnecessary to retain. He contrasts human-like compression with current systems that keep context available for retrieval, and says Transformer computation grows quadratically with context length. He estimates people process roughly a billion text tokens, 10 billion audio tokens, and a trillion video tokens in a year; he calls these back-of-the-envelope figures and says they may underestimate video.

State space models compress as data arrives

Goel says his team is exploring architectures that scale more linearly with context and compress information into a model’s internal state. In his explanation, a Transformer keeps past tokens and attends to them, while an SSM updates its memory as each token arrives and then discards that token. He connects this streaming approach to recurrence and says it may help with large multimodal contexts.

Compression can help on long tasks

Goel describes a trade-off between compressing information and retaining every detail. For a task such as answering questions about 24 hours of security footage, he says compressing the stream as it arrives can be more useful than repeatedly considering all the footage. He reports good quality on long-context and multimodal problems.

A low-latency voice model

Goel says his team released a text-to-speech model designed for low latency, with instant voice generation in its playground. He also describes work to run models efficiently at low power on Macs and other devices, and directs listeners to play.ai to try the demo and share feedback.

Takeaways

  • For continuous audio, video, or sensor inputs, assess whether retaining the full history is practical at the target latency and cost.
  • Consider streaming architectures that update a compact internal state when context is long and much of the incoming data is irrelevant.
  • Evaluate compression on the task itself: long footage review may benefit more than short-context tasks from summarizing information as it arrives.
  • Measure voice generation latency and power use on the intended device, not only in a data center.

Mentioned in this talk

Search inside this talk

What was claimed 4

  • feature
    State-space model: Scale more linearly with context length and can use less memory.
    “These models scale more linearly with context length”
    YouTube
    Unverified1 source· Talk
  • feature
    State-space model: A token stream updates internal memory and each token is discarded, compressing past information into a state for future generation.
    “a token stream comes in, the model updates its internal memory, and then the token gets thrown away”
    YouTube
    Unverified1 source· Talk
  • feature
    Play.ai: The voice model generates speech with reduced latency and is available in a playground.
    “you get instant voice generated from the data center”
    YouTube
    Unverified1 source· Talk
  • launched
    Play.ai: A voice generation text-to-speech model
    “a few weeks ago we released a voice generation model”
    YouTube
    Unverified1 source· Talk

Related talks