---
title: Speech, vision, video and multilingual modalities
url: https://gurkanozkan.ai/learn/topics/modalities/
markdown: https://gurkanozkan.ai/learn/topics/modalities.md
kind: topic
tracks:
  - Applied LLM
  - ML engineering
  - Research
json: https://gurkanozkan.ai/api/learn/topics/modalities.json
---

# Speech, vision, video and multilingual modalities

Many London AI roles sit on non-text products: contact-centre speech recognition, voice agents, text-to-speech, talking avatars, vision-language models and, in Cambridge and London robotics groups, vision-language-action models. Interviewers want you to know how each modality is turned into tokens or features, which architectures dominate (CTC, encoder–decoder and transducer ASR; codec-based TTS; ViT/CLIP encoders with an LLM), how to evaluate them (WER, MOS, time-to-first-audio, task success) and where latency goes in a streaming pipeline. Expect at least one back-of-envelope latency or token budget. Since 2025 the frontier has moved to native speech-to-speech and full-duplex voice models, omni models that read and speak across text, image, audio and video, video generators that produce synchronised sound, and VLAs that reason before acting; London examples include Wayve's supervised robotaxi rides on Uber from September 2026.

## Key concepts

### Audio front-end and telephony

ASR models typically take 16 kHz audio converted to log-Mel spectrograms (80 or 128 bins, 25 ms windows every 10 ms, so 100 frames per second). Telephone audio is 8 kHz narrowband and often compressed, which removes high-frequency cues; evaluate on real call audio, not studio recordings, and resample consistently between training and serving.

### ASR architectures: CTC, encoder–decoder and transducer

CTC adds a blank symbol and sums over all alignments, assuming outputs are conditionally independent given the audio, so it needs an external LM for best accuracy. Attention encoder–decoders (Whisper, trained on 680,000 hours) are accurate and multilingual but decode over 30-second windows, which makes true streaming awkward. Transducers (RNN-T) combine an audio encoder, a label predictor and a joiner, emit tokens frame by frame and are the default for low-latency streaming; Conformer encoders mix convolution and attention.

### ASR evaluation

WER = (substitutions + deletions + insertions) / reference words, after a fixed normalisation of case, punctuation and numbers; it can exceed 100%. For business use, entity accuracy (names, amounts, account numbers) often matters more than WER. Add diarisation error rate, accent and demographic slices, and for streaming the latency per word and how often partial hypotheses are revised.

### Text-to-speech and its evaluation

Modern TTS predicts discrete tokens of a neural audio codec with a language model, or uses flow/diffusion acoustic models with a vocoder. Quality is judged with listening tests (MOS on a 1–5 scale, comparative CMOS or A/B preference) plus objective proxies: WER of an ASR model on the synthetic audio, speaker similarity for cloned voices, pronunciation of names and numbers, and artefacts. For agents, time-to-first-audio and prosody consistency across streamed chunks matter as much as MOS.

### Voice-agent pipelines versus speech-to-speech models

The cascaded pipeline is VAD/turn detection → streaming ASR → LLM → streaming TTS, with telephony on both ends; it is debuggable and lets you swap components but adds latency at every hop. Full-duplex speech-to-speech models such as Moshi model both speakers as parallel audio streams (around 200 ms practical latency reported) and handle overlap naturally, but are harder to control, ground in tools and audit. Turn detection and barge-in (cancelling TTS and generation when the caller speaks) dominate perceived quality. Production has moved towards a hybrid: OpenAI's gpt-realtime (generally available from August 2025) is a single speech-to-speech model with phone (SIP) calling and asynchronous tool calls, and GPT-Live-1 (API from September 2026) is a full-duplex voice front end that listens while it speaks and delegates reasoning and tool use to a backend text model, so grounding and audit live in the backend while turn-taking stays in the voice model.

### Vision encoders and vision-language models

A ViT cuts an image into patches (e.g. 14×14 pixels) and treats each as a token, so a 336×336 image gives 24 × 24 = 576 tokens. CLIP trained image and text encoders contrastively on 400 million pairs, giving a shared embedding space used for zero-shot classification and retrieval. LLaVA-style VLMs project vision features into the LLM's embedding space and instruction-tune; resolution, tiling and token merging set the cost. Omni models extend this to audio and video in and speech out: Qwen3-Omni (September 2025) splits a 'Thinker' that produces text from a 'Talker' that streams multi-codebook speech codec tokens, reporting about 234 ms theoretical first-packet latency, and its open weights make it a practical baseline.

### Video and vision-language-action models

Video multiplies image tokens by frames, so models sample frames (often around 1 fps) and pool tokens per frame. VLAs such as RT-2 and OpenVLA (7B, trained on 970k robot demonstrations) output robot actions as tokens from a VLM backbone; evaluation is task success in simulation and on hardware, with generalisation splits for new objects, scenes and instructions. Gemini Robotics 1.5 (September 2025) pairs an embodied-reasoning planner with a VLA that writes natural-language reasoning before acting and transfers skills across robot bodies. On the generation side, Veo 3 (May 2025) generates synchronised sound effects, ambience and lip-synced dialogue together with the video.

### Multilingual and code-switching

Tokeniser fertility (tokens per word) varies widely by language, changing cost, latency and effective context. Speech systems need language ID, handling of code-switching within a sentence, and test sets per language and accent; self-supervised pre-training helps low-resource languages. Report per-language metrics rather than a single average dominated by English.

## Worked examples

### Computing WER and spotting what matters

Reference: 'please transfer two hundred pounds to my savings account' (9 words). Hypothesis: 'please transfer to hundred pounds into savings account now'. Compute WER and comment.

**Solution**

Align the sequences (minimum edit distance at word level):

| reference | hypothesis | operation |
|---|---|---|
| please | please | ✓ |
| transfer | transfer | ✓ |
| two | to | substitution |
| hundred | hundred | ✓ |
| pounds | pounds | ✓ |
| to | into | substitution |
| my | — | deletion |
| savings | savings | ✓ |
| account | account | ✓ |
| — | now | insertion |

S = 2, D = 1, I = 1, N = 9 → **WER = 4 / 9 ≈ 44%**.

What matters more: the amount 'two hundred' became 'to hundred', so the **entity is wrong** even
though six of the nine reference words are correct. For a banking agent, track amount and account-number accuracy
separately and normalise consistently ('£200' vs 'two hundred pounds') before scoring, or WER will
punish formatting rather than recognition.


### Latency budget for a phone voice agent

A cascaded voice agent has: endpointing silence threshold 300 ms, ASR finalisation 100 ms, LLM time-to-first-token 350 ms, first speakable phrase (about 10 tokens at 80 tokens/s) 125 ms, TTS time-to-first-audio 150 ms, telephony and network 100 ms. Estimate response latency and get the median under 1 second.

**Solution**

**Baseline**: 300 + 100 + 350 + 125 + 150 + 100 = **1,125 ms** from end of speech to first audio.

Reductions:
- **Semantic turn detection**: a model that predicts end of turn lets you cut silence to about
  200 ms on confident turn ends (−100 ms) without cutting people off mid-thought.
- **Speculative start**: begin the LLM on the stable partial transcript and discard if the final
  differs (hides most of the 100 ms ASR finalisation, −80 ms).
- **Stream at clause level**: send the first clause to TTS after about 5 tokens (−60 ms).
- **Co-locate** ASR, LLM and TTS in one region near the telephony edge (−40 ms network).

New median ≈ 1,125 − 100 − 80 − 60 − 40 = **845 ms**. Measure each stage's p50 and p95 separately:
tail latency usually comes from LLM TTFT under load and slow tool calls, which you mask with short
spoken acknowledgements.


### Token budget for video understanding

A VLM encodes each video frame as 256 tokens. A user uploads a 10-minute video and asks a question. Estimate tokens at 1 frame per second, and propose a cheaper configuration.

**Solution**

Frames: 10 × 60 × 1 fps = 600. Tokens: 600 × 256 = **153,600 tokens** before the question,
which is long-context territory with matching prefill cost and position-bias risk.

Cheaper option: 0.5 fps (300 frames) with 2×2 token pooling (64 tokens per frame):
300 × 64 = **19,200 tokens**, an 8× reduction.

Trade-off: fast events (a gesture, a scoreboard change) can fall between sampled frames. Better:
detect scene changes and sample densely there, or run a cheap captioning pass and retrieve the
relevant segments before sending full-resolution frames.


## What changed recently

- **Sep 2026: GPT-Live-1: full-duplex voice front end with a reasoning backend.** OpenAI released GPT-Live-1 in its API: one model that listens while it speaks, handles interruptions and short acknowledgements natively, and hands reasoning and tool calls to a backend text model while the conversation continues, priced at $0.05 per minute for the voice layer. OpenAI reports a 30-point gain on Full Duplex Bench over GPT-Realtime-2.1. Voice-agent interviews now ask where turn-taking, tool use and audit should sit when the voice model and the reasoning model are separate. [Source](https://openai.com/index/introducing-gpt-live-1-in-the-api/)
- **Sep 2026: Wayve and Uber begin supervised autonomous rides in London.** Uber and Wayve launched what they describe as the UK's first public autonomous rides: Ford Mustang Mach-E cars running Wayve's AI Driver, matched to ordinary UberX, Electric and Comfort requests, with a TfL-licensed driver on board to supervise. For London candidates it makes end-to-end driving models, fleet data, safety cases and the route to driverless operation concrete interview material. [Source](https://www.uber.com/gb/en/newsroom/wayve-on-uber/)
- **Sep 2025: Gemini Robotics 1.5: VLAs that think before acting.** Google DeepMind paired Gemini Robotics-ER 1.5, an embodied-reasoning planner that can call tools such as search, with Gemini Robotics 1.5, a VLA that reasons in natural language before moving and transfers skills learned on ALOHA 2 to the Franka and Apptronik Apollo robots without per-robot specialisation. Interviewers use it to probe planner–executor splits, cross-embodiment data and semantic safety evals. [Source](https://deepmind.google/blog/gemini-robotics-15-brings-ai-agents-into-the-physical-world/)
- **Sep 2025: Qwen3-Omni: an open Thinker–Talker omni model.** The Qwen team released Qwen3-Omni under Apache 2.0: a mixture-of-experts model that perceives text, images, audio and video and streams speech through a Talker predicting multi-codebook codec tokens, with a reported 234 ms theoretical cold-start first-packet latency and state of the art on 22 of 36 audio and audio-visual benchmarks. It is the reference open alternative to cascaded ASR, LLM and TTS stacks. [Source](https://arxiv.org/abs/2509.17765)
- **May 2025: Veo 3 generates video with native audio.** Google's Veo 3 generated synchronised sound effects, ambient noise and lip-synced dialogue together with the video, removing the separate audio pass in generative video pipelines. For avatar and video generation roles expect questions on joint audio–visual generation, lip-sync evaluation, and consent and provenance for synthetic speech. [Source](https://blog.google/technology/ai/generative-media-models-io-2025/)

## Pitfalls

- Reporting WER without stating the normalisation, or comparing systems normalised differently.
- Evaluating telephony ASR on clean 16 kHz benchmark audio.
- Optimising average voice-agent latency while ignoring p95 and barge-in behaviour.
- Judging TTS by MOS alone for a streaming agent; time-to-first-audio and chunk-boundary artefacts dominate.
- Assuming a VLM sees the full-resolution image; downscaling and tiling decide what detail survives.
- Single-number multilingual results that hide poor performance on low-resource languages or accents.

## How interviewers probe it

- Compare CTC, attention encoder–decoder and transducer ASR, then the streaming latency–accuracy trade-off.
- Break down voice-agent latency stage by stage and design interruption handling.
- Design an evaluation for a contact-centre ASR or a new TTS voice before rollout.
- Explain how images become tokens in a VLM and what resolution costs.
- Cascaded pipeline, single speech-to-speech model or full-duplex voice front end with a reasoning backend: which would you ship for a bank's phone line, and where do grounding, tools and audit live?
- Safety and consent for voice cloning and avatars: watermarking, detection, misuse metrics.

## Reading

- [Hugging Face Audio course](https://huggingface.co/learn/audio-course/chapter0/introduction) (Course, 360 min, Intro): Hands-on route through audio data, ASR and TTS models with runnable code.
- [Sequence Modeling with CTC](https://distill.pub/2017/ctc/) (Blog, 35 min, Core): The clearest visual explanation of CTC alignment, the blank token and decoding.
- [Robust Speech Recognition via Large-Scale Weak Supervision (Whisper)](https://arxiv.org/abs/2212.04356) (Paper, 45 min, Core): Encoder–decoder ASR at scale; useful for robustness and multilingual evaluation arguments.
- [Learning Transferable Visual Models From Natural Language Supervision (CLIP)](https://arxiv.org/abs/2103.00020) (Paper, 50 min, Core): Contrastive image–text pre-training, the basis of most vision encoders in VLMs.
- [Visual Instruction Tuning (LLaVA)](https://arxiv.org/abs/2304.08485) (Paper, 35 min, Core): The simple projector-plus-instruction-tuning recipe behind many open VLMs.
- [How we built a realtime system for responsive voice AI in six months](https://openai.com/index/continuous-voice-interaction-with-gpt-live/) (Blog, 20 min, Core): Production full-duplex voice: media fast path, WebRTC, asynchronous delegation to a reasoning model, background compaction.
- [Moshi: a speech-text foundation model for real-time dialogue](https://arxiv.org/abs/2410.00037) (Paper, 60 min, Deep): Full-duplex speech-to-speech design and the latency case against cascaded pipelines.
- [OpenVLA: An Open-Source Vision-Language-Action Model](https://arxiv.org/abs/2406.09246) (Paper, 45 min, Deep): Concrete open VLA: backbone choices, action tokenisation, evaluation and fine-tuning.

## Practise this topic

- [For a phone-based voice agent, break down end-to-end response latency and explain how you'd get the median under a second while keeping interruptions rare.](https://gurkanozkan.ai/learn/questions/applied-llm-dom-01.md)
- [How do you evaluate a speech-to-text system for a contact-centre customer, and how do real-time constraints change the evaluation?](https://gurkanozkan.ai/learn/questions/applied-llm-dom-02.md)
- [How would you evaluate a new text-to-speech model before rollout, and what changes when it powers a streaming conversational agent?](https://gurkanozkan.ai/learn/questions/applied-llm-dom-03.md)
- [Sketch the ML and systems pipeline for generating a talking-avatar video from a script, and where LLMs fit.](https://gurkanozkan.ai/learn/questions/applied-llm-dom-04.md)
- [A driving model also narrates why it acts. How would you evaluate whether those explanations are faithful and useful?](https://gurkanozkan.ai/learn/questions/applied-llm-dom-08.md)
- [What safeguards would you design against misuse of voice cloning or avatar generation, and how would you measure them?](https://gurkanozkan.ai/learn/questions/applied-llm-dom-10.md)
- [A customer says their phone agent sometimes goes silent or talks over callers. Diagnose across telephony, speech recognition, the model, the prompt and…](https://gurkanozkan.ai/learn/questions/applied-llm-dbg-11.md)
- [Compare CTC, attention encoder–decoder and transducer (RNN-T) models for ASR. How do you trade latency against accuracy in streaming?](https://gurkanozkan.ai/learn/questions/mle-speech-recognition-losses-decoding-and-streaming-64.md)
- [For a UK bank's phone line, compare a cascaded ASR–LLM–TTS voice agent, a single speech-to-speech model, and a full-duplex voice front end that delegates…](https://gurkanozkan.ai/learn/questions/recent-b-modalities-01.md)
- [Gemini Robotics 1.5 has its VLA write natural-language reasoning before it acts and transfers skills across different robot bodies. What does explicit…](https://gurkanozkan.ai/learn/questions/recent-b-modalities-02.md)
---

*Study material compiled with AI: drafted by a local model (Inkling 2 Mini) from public sources, then checked against those sources by independent AI reviewers (Claude) in November 2026. Not reviewed line by line by a person.*
