liveBook · Manning

Labeling guideline

As explained in Building Specialized AI Systems

An annotation guideline is a written instruction that specifies how annotators should assign labels consistently.

A labeling guideline defines how annotators assign consistent outputs for supervised fine-tuning. It turns business intent into a predictable training signal and prevents models from learning ambiguity. section 2.4.2

Design a guideline by checking:

  • Define the required output form: categorical labels, natural-language responses, or machine-readable formats such as JSON. section 2.4.2
  • Make equivalent inputs produce the same kind of output; avoid unexplained variation in verbosity, structure, or wording. section 2.4.2
  • Resolve borderline cases explicitly so annotators do not assign conflicting labels to similar examples. section 2.4.2

Transaction classification

For transaction categorization, use a compact label such as “category: utilities.” For client-facing summaries, require a complete sentence such as “This transaction is a utility payment for $120 on March 5, 2025.” section 2.4.2

How Building Specialized AI Systems covers it

How deep it goes
Defines output formats, consistency rules, and ambiguity handling without detailing model architecture.
Examples
Uses transaction categories, client summaries, and conflicting suspicious-versus-legitimate borderline labels.
What it assumes
Assumes a defined supervised fine-tuning task but teaches output specification and labeling consistency directly.
What you can do after
Build it from scratch by specifying output forms and standardizing annotator decisions.
How it connects
Connects labeling with supervised fine-tuning, evaluation metrics, post-processing, and generalization.

Also explained in

Compare how 3 books explain labeling guideline →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Building Specialized AI Systems. The section links point to the parts of the book it draws on.