Measuring Hallucination in LLM Notification Summaries

Last updated: November 29, 2026

Quick Overview

iOS can summarize a stack of notifications (messages, news alerts) with an on-device LLM. How would you measure how often summaries state something that is not in the source notifications, and how would you use that metric to gate a release?

Apple
Machine Learning
Data Scientist
Apple
November 29, 2026
Data Scientist
Onsite
Machine Learning
Medium

0

0

0 solved


iOS can summarize a stack of notifications (messages, news alerts) with an on-device LLM. How would you measure how often summaries state something that is not in the source notifications, and how would you use that metric to gate a release?

Notification summaries are shown with no context and users may act on them, and misleading summaries of news alerts are a real public risk for any company shipping this feature. The interviewer checks whether you can define faithfulness precisely, build a labeling and automatic evaluation pipeline, and set a sensible launch bar.

What the Interviewer Expects
  • Defines hallucination as unsupported or contradicted claims relative to the inputs
  • Builds a human-labeled gold set with clear guidelines and agreement checks
  • Uses an automated judge (NLI or LLM grader) calibrated against humans
  • Stratifies by category: news, group chats, sarcasm, numbers and names
  • Sets a severity-weighted gate with confidence intervals
  • Proposes mitigations such as disabling summaries for some categories
Key Topics to Cover
faithfulness evaluation
LLM-as-judge
inter-annotator agreement
release gating
summarization
How to Approach This
  1. Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
  2. Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
  3. Feature engineering is often more impactful than model selection.
  4. Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
  5. Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
  • How large a gold set do you need to show the hallucination rate is under 1% with confidence?
  • How would you handle summaries that are technically faithful but misleading by omission?
  • Would you trust an LLM judge from the same model family?
  • What online signal tells you hallucinations are hurting users without reading their notifications?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Explore ML Interview Prep
Sample Answer
Clarify

Ask which app categories are summarized, whether there is a per-app opt-out, and what data can be used: on-device, private content cannot be inspected, so evaluation must use synthetic or donated noti...

Approach

Split each summary into atomic claims (who did what, numbers, times, sentiment). Each claim is labeled supported, unsupported (not in inputs), or contradicted. The summary-level hallucination rate is ...


Submit Your Answer
Markdown supported