PracHub
QuestionsPremiumCoachesLearningGuidesInterview Prep
|Home/Machine Learning/Zillow

Explain why LLMs produce hallucinations

Last updated: Mar 29, 2026

Quick Overview

This question evaluates a candidate's understanding of the causes and mitigation of large language model hallucinations, covering competencies in probabilistic training objectives, data characteristics, model and optimization limitations, inference-time behavior, and awareness of mitigation strategies.

  • medium
  • Zillow
  • Machine Learning
  • Machine Learning Engineer

Explain why LLMs produce hallucinations

Company: Zillow

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Technical Screen

Large language models (LLMs) are known to "hallucinate"—that is, they sometimes produce fluent, confident answers that are factually incorrect or unsupported by any source. Explain **why** LLMs hallucinate. In your answer, cover: - How the standard training objective and data characteristics lead to hallucinations. - Model- and optimization-related reasons (e.g., limitations of next-token prediction, exposure bias, lack of grounding). - Inference-time factors such as decoding strategies, prompts, and distribution shift. - (Briefly) a few practical techniques used in industry to **reduce** hallucinations, even if they cannot be eliminated entirely.

Quick Answer: This question evaluates a candidate's understanding of the causes and mitigation of large language model hallucinations, covering competencies in probabilistic training objectives, data characteristics, model and optimization limitations, inference-time behavior, and awareness of mitigation strategies.

Related Interview Questions

  • Explain challenges in training multimodal LLMs - Zillow (medium)
Zillow logo
Zillow
Sep 24, 2025, 12:00 AM
Machine Learning Engineer
Technical Screen
Machine Learning
3
0

Large language models (LLMs) are known to "hallucinate"—that is, they sometimes produce fluent, confident answers that are factually incorrect or unsupported by any source.

Explain why LLMs hallucinate. In your answer, cover:

  • How the standard training objective and data characteristics lead to hallucinations.
  • Model- and optimization-related reasons (e.g., limitations of next-token prediction, exposure bias, lack of grounding).
  • Inference-time factors such as decoding strategies, prompts, and distribution shift.
  • (Briefly) a few practical techniques used in industry to reduce hallucinations, even if they cannot be eliminated entirely.

Solution

Show

Submit Your Answer

Sign in to leave a comment

Loading comments...

Browse More Questions

More Machine Learning•More Zillow•More Machine Learning Engineer•Zillow Machine Learning Engineer•Zillow Machine Learning•Machine Learning Engineer Machine Learning
PracHub

Master your tech interviews with 8,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.