Multimodal Models
Multimodal questions show up in two flavours: conceptual ("how does an image get into an LLM?", "explain diffusion") in screens and model-knowledge rounds, and applied ("design a document-extraction pipeline", "build a voice agent under a latency budget") in system-design rounds. Anyone interviewing for a GenAI product role gets the applied flavour - document AI, multimodal RAG, and voice agents are three of the most common real workloads in 2026 - and frontier-lab interviews add the architecture and generation depth.
Card 1 of 14
The VLM pattern: vision encoder → projector → LLM
Almost every vision-language model you'll use (LLaVA-family, Qwen-VL, InternVL, and the closed frontier models to a first approximation) follows one pattern: a vision encoder turns the image into a sequence of embeddings, a small projector/adapter maps those into the LLM's embedding space, and the LLM consumes them as if they were token embeddings - attention doesn't care that some "tokens" came from pixels.
flowchart LR
IMG["image"] --> P["split into patches<br/>(e.g. 14×14 or 16×16 px)"]
P --> VE["ViT vision encoder<br/>(usually CLIP/SigLIP-pretrained)"]
VE --> PROJ["projector<br/>(MLP, or resampler/Q-Former)"]
PROJ --> LLM["LLM decoder"]
TXT["text tokens"] --> LLM
LLM --> OUT["text out"]
- The vision encoder is a ViT (Vision Transformer): the image is chopped into fixed-size patches, each patch linearly embedded, and a standard transformer runs over the patch sequence. A 224×224 image with 16×16 patches → 196 patch tokens. The encoder is almost always pretrained with contrastive image-text learning (CLIP/SigLIP), which is what makes its features "language-aligned" and cheap to graft onto an LLM.
- The projector design space: a plain MLP (LLaVA) keeps every patch token - simple, lossless, but eats context; a resampler / Q-Former (Flamingo's Perceiver Resampler, BLIP-2) cross-attends a fixed number of learned queries into the patch features - compresses 100s of patches to e.g. 64 tokens, at some information loss. The modern default is MLP + tiling + light token pooling.
- Training recipe (LLaVA-style): stage 1 trains only the projector on image-caption pairs (both towers frozen) to align spaces; stage 2 unfreezes the LLM (sometimes the encoder too) for visual instruction tuning; later stages add high-resolution data and preference tuning.
The alternative is native / early-fusion multimodality: one transformer trained on interleaved modalities from scratch (Meta's Chameleon, which tokenizes images into discrete codes; Gemini and GPT-4o, which their makers describe as natively multimodal without publishing the architecture; Fuyu even drops the vision encoder and feeds linearly-projected patches straight into the decoder). Deeper integration and unified generation+understanding, at much higher training cost.
All 67 Multimodal Models questions
Basic
- Walk me through how a modern VLM gets an image into an LLM.
- What is CLIP, how is it trained, and why did it become the foundation for so much multimodal work?
- How do images become tokens, and why does image resolution drive inference cost?
- What do vision-language models reliably get wrong?
- Give me the intuition for how diffusion models generate images.
- How does Whisper work, and why is it so robust compared to earlier ASR systems?
- What does "grounding" mean for a VLM, and how does a model actually output a bounding box?
- What is the modality gap in CLIP-style embedding spaces, and when does it actually bite you?
- What is WER, and why is it a misleading metric for a voice product?
- Why did SigLIP's sigmoid loss displace CLIP's softmax contrastive loss as the default vision encoder pretraining?
Intermediate
- Design a document-extraction system. When do you use an OCR pipeline versus sending pages to a VLM?
- How would you reliably extract tables and charts from documents?
- Why do latent diffusion? Walk me through the components of a Stable-Diffusion-style system.
- Explain classifier-free guidance. What actually happens when you turn the scale up?
- Compare diffusion and autoregressive approaches to image generation. Why did AR come back?
- Design a production voice agent. Pipeline vs speech-to-speech, the latency budget, and interruption handling.
- How do models understand video, and what are the current limits?
- Build text-to-image search over 100M product images. Walk me through the design.
- Images are 2D and video is 3D, but an LLM's positional encoding is 1D. What breaks if you just flatten the patches, and how do modern VLMs handle it?
- When do you fine-tune a VLM instead of prompting it, and what exactly do you unfreeze?
- You are building a computer-use agent. Design the perception layer: screenshots, coordinates, accessibility tree.
- Design a pipeline that turns ~100k hours per month of call recordings into searchable, analysable data. What are the stages and where does it go wrong?
- Your agent reads screenshots and PDFs supplied by users. How do you defend against instructions hidden inside images?
- Your voice agent both cuts users off mid-sentence and leaves awkward dead air. Diagnose and fix.
- A marketplace wants AI-generated lifestyle photos of sellers' own products. How do you keep the product itself accurate: LoRA, IP-Adapter, ControlNet, or an editing model?
- When should a VLM hand off to a dedicated vision model, such as a detector, segmenter or tracker, instead of answering from pixels itself?
Advanced
- Design multimodal RAG over 50k PDFs full of tables, charts, and diagrams. Where does ColPali-style retrieval fit?
- How do you evaluate multimodal systems - understanding and generation?
- Compare projector/adapter designs - MLP vs resampler vs cross-attention. How does the choice interact with the training recipe?
- You need to process 10M document pages per month. VLM or traditional OCR? Do the math.
- How does modern TTS work, and what makes speech generation hard in a real-time product?
- Adapter-based VLMs vs natively multimodal (early-fusion) models - what's the real tradeoff?
- You're shipping an image-generation feature. Walk me through the safety design: NSFW filtering, deepfakes, and provenance.
- Your VLM extracts invoice fields at ~91% per-field accuracy. The customer needs 99% and you cannot fine-tune the model. What do you do?
- Does test-time compute help on visual tasks? Where does it help, where does it not, and how would you actually use it?
- You need one embedding space for your own domain: product photos, spec sheets as PDFs, and text queries. Off-the-shelf CLIP is not good enough. How do you build it?
- You are self-hosting a VLM for a document pipeline and throughput is a third of what you projected from the LLM's specs. Why, and what do you do?
- How do text-to-video models like Veo or Sora work, and why is video generation so much more expensive than image generation?
- What is a vision-language-action (VLA) model, and how do you turn a VLM into a robot policy that runs at control frequency?
- How does a full-duplex speech model listen and talk at the same time, and when would you choose one over a turn-based voice pipeline?
- One speech model has to produce five output conventions from the same audio: normalised native script, verbatim, code-mixed, transliterated, and translated to English. How would you train and evaluate it across 22 Indian languages?
- Design file upload for a chat assistant. A user drops a 500-page PDF, a 20-minute video and a spreadsheet into one conversation. How does each one get into the model's context, and what do you do when it does not fit?
- From 2 December 2026 the EU AI Act, as amended by the AI Omnibus, prohibits AI systems that generate non-consensual intimate deepfakes or CSAM. You run a general-purpose image and video generator. What would you need to show to be confident you are not a prohibited system?
Quick-fire
- What is the difference between generative and discriminative models?
- Describe the architecture of a Generative Adversarial Network and how the generator and discriminator interact during training.
- Explain the concept of a Variational Autoencoder (VAE) and how it incorporates latent variables into its architecture.
- How do conditional generative models differ from unconditional ones? Provide an example scenario where a conditional approach is beneficial.
- What is mode collapse in the context of GANs, and what strategies can be employed to address it during training?
- How does overfitting manifest in generative models, and what techniques can be used to prevent it during training?
- What is gradient clipping, and how does it help in stabilizing the training process of generative models?
- Discuss strategies for training generative models when the available dataset is limited.
- Explain how curriculum learning can be applied in the training of generative models. What advantages does it offer?
- Describe the concept of learning rate scheduling and its role in optimizing the training process of generative models over time.
- Compare and contrast the use of L1 and L2 loss functions in the context of generative models. When might one be preferred over the other?
- In the context of GANs, what is the purpose of gradient penalties in the loss function? How do they address training instability?
- In multimodal language models, how is information from visual and textual modalities effectively integrated to perform tasks such as image captioning or visual question answering?
- Explain the role of cross-modal attention mechanisms in models like VisualBERT or CLIP. How do these mechanisms enable the model to capture relationships between visual and textual elements?
- For tasks like image-text matching, how is the training data typically annotated to create aligned pairs of visual and textual information, and what considerations should be taken into account?
- When training a generative model for image synthesis, what are common loss functions used to evaluate the difference between generated and target images, and how do they contribute to the training process?
- What is perceptual loss, and how is it utilized in image generation tasks to measure the perceptual similarity between generated and target images? How does it differ from traditional pixel-wise loss functions?
- What is Masked language-image modeling?
- How do attention weights obtained from the cross-attention mechanism influence the generation process in multimodal models? What role do these weights play in determining the importance of different modalities?
- What are the unique challenges in training multimodal generative models compared to unimodal generative models?
- How do multimodal generative models address the issue of data sparsity in training?
- Explain the concept of Vision-Language Pre-training (VLP) and its significance in developing robust vision-language models.
- How do models like CLIP and DALL-E demonstrate the integration of vision and language modalities?
- How do attention mechanisms enhance the performance of vision-language models?