Design a content-tagging classifier from label definitions to the final decision rule

Quick Overview

Walk through the design of a multi-label content-tagging classifier, from writing tag definitions and collecting labels to choosing models, metrics and per-tag thresholds. Tests whether you can turn calibrated scores into decisions using error costs and human review.

Design a content-tagging classifier from label definitions to the final decision rule

Role: Machine Learning Engineer

Category: Machine Learning

Difficulty: medium

Interview Round: Other

Walk an interviewer through the design of a content-tagging classifier, from label definition to the final decision rule. The classifier assigns topic or policy tags to pieces of content, and the tags feed other systems. Cover every step from deciding what the tags mean to the rule that turns model scores into tagging actions. ```hint Start from the decision Before choosing a model, ask what each tag is used for and what a wrong tag and a missed tag each cost. Those costs shape the later steps. ``` ```hint Scores are not decisions A classifier outputs scores. Think about what has to be true of those scores before one threshold per tag makes sense, and how a threshold relates to the two error costs. ``` ### Clarifying Questions to Ask - What kinds of content are tagged (text only, or also images and video), and in which languages? - What does each tag drive downstream, and which tags trigger automatic actions? - How many tags are there, how often does the taxonomy change, and how rare is the rarest tag that matters? - What labeled data exists today, and is there budget for expert annotation or a human review queue? - Does tagging happen at upload time with a latency budget, or in batch? ### What a Strong Answer Covers - A label definition step with a written taxonomy, a decision on whether tags can co-occur, and a check that humans agree on the labels. - A data and split plan that handles rare tags and keeps near-duplicate content from leaking across splits. - A baseline and a stronger model, both suited to multi-label output. - Per-tag and aggregate evaluation metrics, plus error analysis by slice. - A decision rule built from calibrated scores and error costs, the role of human review, and a monitoring plan. ### Follow-up Questions - Two annotators agree on a tag only 55% of the time. What do you do before training anything? - How would you pick a threshold for a tag that has only 40 positive examples in the test set? - A new tag joins the taxonomy next quarter. How do you add it without relabeling the whole corpus? - In a hierarchical taxonomy where a child tag implies its parent, how do you keep predictions consistent?

Overview: Walk through the design of a multi-label content-tagging classifier, from writing tag definitions and collecting labels to choosing models, metrics and per-tag thresholds. Tests whether you can turn calibrated scores into decisions using error costs and human review.

PracHub logo
General
Nov 25, 2026
mediumMachine Learning EngineerOtherMachine Learning
0
0

Walk an interviewer through the design of a content-tagging classifier, from label definition to the final decision rule.

The classifier assigns topic or policy tags to pieces of content, and the tags feed other systems. Cover every step from deciding what the tags mean to the rule that turns model scores into tagging actions.

Clarifying Questions to Ask Guidance

  • What kinds of content are tagged (text only, or also images and video), and in which languages?
  • What does each tag drive downstream, and which tags trigger automatic actions?
  • How many tags are there, how often does the taxonomy change, and how rare is the rarest tag that matters?
  • What labeled data exists today, and is there budget for expert annotation or a human review queue?
  • Does tagging happen at upload time with a latency budget, or in batch?

What a Strong Answer Covers Guidance

  • A label definition step with a written taxonomy, a decision on whether tags can co-occur, and a check that humans agree on the labels.
  • A data and split plan that handles rare tags and keeps near-duplicate content from leaking across splits.
  • A baseline and a stronger model, both suited to multi-label output.
  • Per-tag and aggregate evaluation metrics, plus error analysis by slice.
  • A decision rule built from calibrated scores and error costs, the role of human review, and a monitoring plan.

Follow-up Questions Guidance

  • Two annotators agree on a tag only 55% of the time. What do you do before training anything?
  • How would you pick a threshold for a tag that has only 40 positive examples in the test set?
  • A new tag joins the taxonomy next quarter. How do you add it without relabeling the whole corpus?
  • In a hierarchical taxonomy where a child tag implies its parent, how do you keep predictions consistent?