You are building a custom text classification solution using Azure AI Language in Language Studio. You have a dataset where each document can belong to multiple categories simultaneously (e.g., a news article can be tagged as both 'Technology' and 'Finance'). What classification type should you configure?
Trap 1: Custom named entity recognition
Custom NER extracts entity spans (people, places, dates) from text; it assigns no document-level category labels. Multi-label classification requires the multi-label classification project type, which outputs independent per-category probabilities. NER would be correct for locating and tagging specific entities inside documents, not for classifying whole documents into overlapping categories.
Trap 2: Single-label classification
Single-label classification assigns exactly one category per document, so it cannot represent articles tagged both Technology and Finance. It is tempting because it is the default project type in Language Studio, but multi-label classification is the correct choice when categories co-occur.
Trap 3: Extractive summarization
Extractive summarization selects and returns salient sentences from a document; it produces no category labels at all. The stem demands assigning multiple simultaneous categories per document, which only the multi-label classification project type supports. Summarization would be the right choice when the goal is condensing a document into its key sentences.
- A
Custom named entity recognition
Why it fails: Custom NER extracts entity spans (people, places, dates) from text; it assigns no document-level category labels. Multi-label classification requires the multi-label classification project type, which outputs independent per-category probabilities. NER would be correct for locating and tagging specific entities inside documents, not for classifying whole documents into overlapping categories.
- B
Multi-label classification
Multi-label classification assigns every applicable category to a document independently, rather than forcing a single mutually exclusive choice. This directly satisfies the stem's constraint that a news article can be tagged as both 'Technology' and 'Finance' simultaneously, which single-label classification cannot represent.
- C
Single-label classification
Why it fails: Single-label classification assigns exactly one category per document, so it cannot represent articles tagged both Technology and Finance. It is tempting because it is the default project type in Language Studio, but multi-label classification is the correct choice when categories co-occur.
- D
Extractive summarization
Why it fails: Extractive summarization selects and returns salient sentences from a document; it produces no category labels at all. The stem demands assigning multiple simultaneous categories per document, which only the multi-label classification project type supports. Summarization would be the right choice when the goal is condensing a document into its key sentences.