AI & Technical question
How would you prevent and handle hallucinated case law in Harvey's answers?
- Harvey
- AI & Technical
- Hard
Practice this question out loud. An AI interviewer asks it, follows up like a real interviewer would, and scores your answer. Type or speak.
Start a mock interview on this question · Mock interview from a job description
What this question tests
Tests AI product judgment on preventing and catching hallucinations in a domain where a fabricated citation has real legal consequences.
How to approach it
- Separate prevention from detection, since no model fully prevents hallucination and the product needs both a reduction strategy and a safety net.
- On prevention, propose grounding every answer in retrieval from verified legal databases rather than relying on the model's parametric memory of case law.
- On detection, propose an automated verification step that checks every generated citation actually exists and says what the answer claims it says.
- Design the user facing safeguard: flag any claim that fails automated verification before the lawyer ever sees it, rather than showing an unverified answer.
- Add a reporting channel so lawyers who catch a hallucination in practice can flag it, feeding back into both product fixes and model evaluation.
- Confirm with the interviewer whether the concern is fabricated cases entirely, or real cases cited for the wrong proposition, since the detection method differs.
What a strong answer includes
- Distinguishes two failure modes clearly: a citation to a case that does not exist, and a citation to a real case that does not actually support the claim, since verification methods differ.
- Proposes retrieval grounded generation over relying on model memory, directly addressing the root cause of fabricated case law.
- Adds an automated post generation verification pass that checks citations against a real legal database before the answer reaches the user.
- Treats a caught hallucination as a data point for retraining and evaluation, not just a one off bug fix, closing the loop over time.
Common mistakes
- Proposing only a disclaimer telling lawyers to double check, which does not meaningfully reduce the real risk of a court sanction.
- Not distinguishing fully fabricated cases from real cases misapplied, which need different detection approaches.
- Ignoring that this already happened in real courts, which the interviewer likely expects awareness of as context, without needing invented details.
Likely follow-up questions
- How would you measure the hallucination rate on legal citations specifically?
- What would you do if verification itself has false negatives and misses a bad citation?
- How would you rebuild firm trust after a hallucinated citation reaches a filed document?
More ai & technical questions
- How would you measure the accuracy of Harvey's legal research outputs?Harvey · AI & Technical · Hard
- Vault’s architecture must balance fine-grained document permissions, fast search latency, fresh indexes, and AI workflows over sensitive data. As the PM, how would you define the product requirements, decision criteria, and tradeoffs for this architecture with engineering, and where would you draw the line between PM ownership and engineering ownership?Harvey · AI & Technical · Hard
- A banking or consulting client wants Harvey to automate a high-stakes workflow where user intent is ambiguous, source data is incomplete, and mistakes are costly. How would you decompose the workflow, decide which steps can be fully agentic versus human-in-the-loop, and define the evals, guardrails, and launch criteria needed to judge technical viability?Harvey · AI & Technical · Hard
- Suppose Harvey is building an Outlook or Word integration that drafts grounded work product from matter documents and email history. How would you partner with engineering to make architecture tradeoffs among retrieval depth vs latency, precomputed vs on-demand indexing, model quality vs cost, and strict permissioning vs implementation speed? What would you ship first, and why?Harvey · AI & Technical · Hard
- Harvey can integrate Vault with iManage, SharePoint, Box, and Dropbox, but engineering capacity is limited and each system differs in APIs, authentication, sync models, and permission semantics. How would you prioritize the integrations roadmap, define what is 'good enough' for v1, and make tradeoffs between speed, reliability, permissions fidelity, and user experience?Harvey · AI & Technical · Hard
- Design the first version of Harvey’s cross-system legal research experience for an enterprise customer using systems like iManage, SharePoint, and internal knowledge bases. Which user workflow would you support first, and how would you handle permissions, source freshness, citations or provenance, and failure modes so legal professionals trust the output?Harvey · AI & Technical · Hard
More questions from Harvey
Learn the skill behind it
Chapters of the AI PM course that teach what this question tests.
- Chapter 1: Foundations: the model and the decisions it forces on you
- Chapter 8: Evals: define good and make the number defensible
- Chapter 6: Agents and agentic architecture