All jobs / Data science / ML / AI / NLP
Data science / ML / AI interview question · 3–5 years
How do you evaluate a RAG system beyond “users liked it”?
The strongest answer
Separate retrieval quality from answer faithfulness to the retrieved bits — plus a human sample on the risky intents — not one vibe score
Why it works
Exactly. Did we fetch the right thing, and did we stick to it? Two questions. Humans on the dangerous ones.
What a good answer covers
- Score retrieve and faithfulness apart.
- Human-review risky intents.
- Do not collapse to thumbs.
- More citations ≠ more true.
Answers that fall short
- Close, but not the strongest: A single thumbs-up rate on the home page
Thumbs mix tone, speed, and truth. - Weak: Ask the generator if it was faithful
Self-grades are circular. - Red flag: Count citations; more citations means more true
Citation count is not faithfulness.
Who gets asked this
More NLP questions
- A stakeholder wants to fine-tune “so the model knows our brand.” When do you push back?
- You need humans to grade model answers. What do you specify?
- RAG chunks are 2k tokens with no overlap because “the model is long-context now.” Pushback?
- Who owns the eval suite for an assistant that can spend money?
- The company wants one platform: “fine-tune everything.” Your staff answer?
- Teams keep adding prompts that their model already passes. How do you protect the suite?
- Why do modern language models split text into subword pieces rather than whole words or single characters?
- What is a large language model trained to do, and how does a raw pretrained model become an assistant?