Evaluate Unsupervised Document Categories Without Ground-Truth Labels
Last updated: November 29, 2026
Quick Overview
Your team clusters document embeddings into business categories (contracts, resumes, invoices, source code) without customer labels. How would you decide whether a new embedding model or clustering setup is better than the current one before shipping it?
Concentric Ai
November 29, 20260
0
0 solved
Your team clusters document embeddings into business categories (contracts, resumes, invoices, source code) without customer labels. How would you decide whether a new embedding model or clustering setup is better than the current one before shipping it?
Concentric AI emphasizes finding and categorizing data by meaning without customers writing rules, which makes offline evaluation hard because there is no labeled set per tenant. The interviewer checks whether the candidate combines intrinsic metrics, small labeled audits and downstream risk metrics, and understands how each can mislead.
What the Interviewer Expects
- Explain why intrinsic metrics alone are insufficient
- Build a small stratified labeled audit set
- Use pairwise or label-matching metrics across two clusterings
- Measure stability across seeds and data samples
- Tie evaluation to downstream sensitive-data findings
- Plan a safe rollout comparing old and new categories
Key Topics to Cover
How to Approach This
- Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
- Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
- Feature engineering is often more impactful than model selection.
- Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
- Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
- Clusters split one category into three; is that bad?
- How would you evaluate on customer data you are not allowed to read?
- How would you detect drift when a customer onboards a new business unit?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Explore ML Interview PrepSample Answer
Clarify
The output is a cluster id per document plus a human-readable category name. 'Better' means analysts see coherent categories, sensitive documents land in categories with the right risk policy, and cat...
Approach
Three layers. (1) Intrinsic: silhouette and Davies-Bouldin on embeddings, useful only as sanity checks because a new embedding space changes the geometry the metric is computed in. (2) Extrinsic on an...