Multimodal, Speech and Voice AI Interview Questions
Short answers to 10 multimodal, speech and voice ai interview questions.
Questions and answers (10)
Answers are written in plain English and reviewed for technical accuracy. Each answer states the point first, then the reason.
1. How do vision-language models get images into an LLM: projector, cross-attention, or native tokens?
All three methods work, and the choice depends on the model. A projector maps image features into token-like vectors, so the LLM sees them as extra tokens. Cross-attention adds image features inside the LLM layers, and native tokens treat image patches as normal tokens. Projectors are the most common because they are simple and cheap to train.
2. What changes when you move from images to video?
Video adds a time axis, so the token count grows fast. A 10-second clip at 1 frame per second gives 10 times the image tokens. You must sample frames, pool features, or use a temporal encoder to control cost. The KV cache also grows with every frame token.
3. Budget the latency for a real-time voice agent: VAD, ASR, LLM, TTS, network. Where does the time go?
A typical budget is VAD 50 ms, ASR 150 ms, LLM first token 300 ms, TTS first chunk 150 ms, and network 100 ms. The LLM usually takes the most time. Total time to first audio is about 750 ms. Streaming every stage keeps the perceived delay low.
4. Design barge-in / interruption handling for a voice agent.
Detect speech during playback with VAD, then stop TTS output at once. Cancel the current LLM generation and keep the partial transcript. Resume listening and pass the new utterance to the model. A 100 to 200 ms detection window limits false cuts.
5. Cascaded ASR+LLM+TTS versus native speech-to-speech: argue both sides.
Cascaded systems are easier to debug and swap, and they give text logs for free. Native speech-to-speech keeps prosody and emotion, and it removes pipeline delay. The tradeoff is control and observability. Cascaded wins on tooling, and native wins on natural turn-taking.
6. How do you evaluate ASR quality beyond WER, and TTS quality when there is no single correct output?
For ASR, add entity error rate, keyword recall, and latency percentiles. For TTS, use human MOS or CMOS tests and word error rate from a second ASR pass. No single correct output exists, so you measure distribution and preference. Run these checks on a fixed test set each release.
7. How do you handle code-switching and accents in a production ASR system?
Train or adapt the model on code-switched and accented audio, and keep the tokenizer language-agnostic. Add a language-ID head so the decoder knows the current language. Track per-accent error rates in production. A common fix is a small LoRA adapter per accent group.
8. Explain streaming TTS chunking and jitter-buffer sizing.
Streaming TTS sends small audio chunks as soon as they are ready. The jitter buffer holds about 2 to 3 chunks to absorb late arrivals. Size it from the 95th percentile network jitter plus one chunk duration. A buffer that is too large adds delay, and one that is too small causes gaps.
9. Design a diarisation system and explain how you attribute roles, not just clusters.
Use a two-stage design: cluster the speech first, then map each cluster to a role with a separate model. The cluster stage groups segments by voice using speaker embeddings. The role stage uses cues such as turn order, names spoken in the text, and meeting metadata. A wrong role map is more costly than a wrong cluster, so keep the role step easy to correct.
10. How would you build multimodal retrieval over images, video and text in one index?
Embed each modality into one shared vector space and store all vectors in one index. Use a CLIP-style model for images and video frames, and a text encoder trained on the same pairs. Add timestamps and source IDs as metadata so you can return the exact frame or passage. Video is costly, so sample keyframes and index them as images.
vectors = model.encode(items)
index.add(vectors, meta)
q = model.encode_text(query)
hits = index.search(q, k=10)