InterviewStack.io LogoInterviewStack.io

Generative Models and Architectures Questions

Covers the fundamentals of how generative models are constructed and trained, including types such as variational autoencoders, generative adversarial networks, diffusion models, and large language models. Includes core concepts like attention and the transformer architecture, self supervised training objectives such as next token prediction, tokenization, scaling laws, and differences between generative and discriminative approaches. Also addresses practical techniques for adapting and improving models including fine tuning, transfer learning, prompt engineering, few shot and zero shot learning, inference trade offs, model compression, and deployment considerations such as latency, memory, and cost. Evaluation topics include likelihood based metrics and practical applied evaluation methods for generation quality.

MediumTechnical
28 practiced
Describe practical methods to mitigate hallucinations in LLM-based, knowledge-grounded Q&A. Discuss retrieval-augmented generation (RAG), grounding with citations, confidence calibration, post-hoc verification (e.g., external API checks), and how to integrate user feedback loops for continual improvement.
HardTechnical
30 practiced
Design a training and deployment plan for RLHF (Reinforcement Learning from Human Feedback) to align an LLM for a customer-support assistant. Outline data collection for preference modeling, reward-model training, policy optimization loop (e.g., PPO), safety checks, annotation workflows, evaluation metrics, and cost/annotation trade-offs.
HardTechnical
34 practiced
Describe how you would implement knowledge distillation to speed up sampling of diffusion models (progressive distillation). Detail teacher-student training steps, loss formulation, schedule for reducing sampling steps, and validation to ensure the distilled student preserves sample fidelity while improving sampling speed.
EasyTechnical
30 practiced
Contrast autoregressive generative models and autoencoding generative models. Give one representative architecture for each (e.g., Transformer decoder-only vs VAE/autoencoder) and describe differences in training objectives, inference patterns, and typical use-cases.
EasyTechnical
40 practiced
Describe variational autoencoders (VAEs) at a conceptual and practical level. Explain encoder/decoder roles, the ELBO objective with its reconstruction and KL terms (show the ELBO formula), and mention common practical issues such as posterior collapse and how you might detect it during training.

Unlock Full Question Bank

Get access to hundreds of Generative Models and Architectures interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.