Markdown Editor

Data Annotation Guidelines Template

Labelling guidelines: taxonomy, edge cases, decision rules, gold sets, Cohen's kappa, training, privacy, annotator welfare, data rights

AI & Machine LearningStandardInter-annotator agreement (Cohen 1960); Partnership on AI responsible data enrichment sourcing guidanceannotationguidelinesmath

How to use: Use it before any labelling project and pilot it with several annotators. Fill the task definition and label taxonomy with include and exclude rules first. The main pitfall is changing label definitions mid-project without versioning and re-labelling.

Preview

Data Annotation Guidelines: [Task name]

Guidelines for people who label data for a machine learning task: task definition, label taxonomy with definitions and examples, edge cases, decision rules, quality control with gold sets and inter-annotator agreement, annotator training, tooling, privacy and versioning of the guidelines, annotator welfare and data rights. Based on common data annotation practice, standard inter-annotator agreement statistics and the Partnership on AI guidance on responsible sourcing of data enrichment services (2021, updated with a vendor transparency template in 2024). Replace every [bracketed] value and every row marked Example. Worked examples use intent labelling of customer support messages at a fictional retailer, Larkfield Home Goods. Legal references are dated examples as of October 2026, not legal advice.

Document control

FieldValue
Guidelines ID[ANN-GL-014]
Task[Intent classification of support messages]
Guidelines version[1.0]
Status[Pilot / Active / Retired]
Owner[@annotation-lead]
Dataset[support-intents-v3]
Annotation tool[Tool name and project link]
Last updatedYYYY-MM-DD
Classification[Internal / Confidential]
Annotation workforce[In-house team / Vendor name / Crowd platform]
Related documents[Datasheet for the dataset], [Model card], [Data protection impact assessment], [Vendor contract]

Approvals

RoleNameDecisionDate
Annotation lead[@annotation-lead][Approve]YYYY-MM-DD
ML lead (data consumer)[@ml-lead][Approve]YYYY-MM-DD
Privacy[@dpo][Approve sections 8 and 12]YYYY-MM-DD
Vendor manager (if outsourced)[@vendor-manager][Approve sections 9 and 11]YYYY-MM-DD

Revision history

VersionDateAuthorChange summary
0.9YYYY-MM-DD[@name]Pilot version
1.0YYYY-MM-DD[@name]Example: Rule 1 for privacy requests; added sections 11 and 12
1.1YYYY-MM-DD[@name]Example: Delivery label split, see section 10

Contents

1. Task definition

Purpose. Labels train a model that routes customer messages to the right team. A wrong label sends a customer to the wrong queue and adds on average [6] hours to resolution.

Unit of annotation. One customer message (the first message of a conversation), shown with [the product name and channel] but without agent replies.

Output. Exactly one primary intent label from section 2, plus an optional secondary label, plus a confidence flag (Sure / Unsure).

Throughput. Expected [90 to 120] items per hour after training.

2. Label taxonomy

IDLabelDefinitionIncludeExcludeExample
L01Billing questionCustomer asks about a charge, invoice or paymentUnknown charge, invoice copy, payment methodRequest for money back (use L02)Example: "Why was I charged 14.99 twice this month?"
L02Refund requestCustomer wants money returnedReturn refund, cancellation refundQuestions only about a charge (L01)Example: "Please refund my order 55812, it arrived broken."
L03Delivery statusCustomer asks where an order isTracking, delay, missing parcelDamaged item (L04)Example: "My parcel said delivered but it's not here."
L04Product problemItem is faulty, damaged or not as describedBroken, wrong size, missing partsHow-to questions (L05)Example: "The charger stopped working after two days."
L05How-toCustomer asks how to use a product or featureSetup, settings, account featuresFault reports (L04)Example: "How do I change my delivery address?"
L06Account accessLogin, password, verification issuesLocked account, 2FA codesData deletion request (L07)Example: "I'm not getting the verification code."
L07Privacy requestAccess, deletion or correction of personal dataGDPR requests, unsubscribe from all data useMarketing email opt-out only (L08)Example: "Delete all data you hold about me."
L08OtherClear intent not covered aboveFeedback, compliments, partnership offersUnclear or empty messages (L09)Example: "Your new app design is great."
L09UnclearNo intent can be determinedGreetings only, gibberish, wrong languageAny message with a clear intentExample: "hello??"

3. Decision rules

Apply these rules in order and stop at the first that matches:

  1. If the message asks to access, delete or correct personal data, label L07, even if other intents appear.
  2. If the customer wants money back, label L02.
  3. If the message reports a fault or damage, label L04.
  4. Otherwise choose the label for the main request; if two requests carry equal weight, use the one mentioned first as primary and the other as secondary.
  5. If no rule applies, use L09 and set the flag to Unsure.

The same rules as a flow:

4. Edge cases

IDSituationCorrect labelReason
EC-01Example: "Item broken, I want a refund"L02 primary, L04 secondaryRule 2 before rule 3: the requested outcome decides
EC-02Example: Message in a language other than [English]L09, flag UnsureOut of scope for this dataset
EC-03Example: Sarcasm: "Great, another charge I didn't ask for"L01Label the intent, not the tone
EC-04Example: Message contains card numberLabel normally, then use "Report sensitive data"See section 8
EC-05Example: "Stop emailing me"L08Marketing opt-out only, not a data deletion request

5. Quality control

5.1 Gold set

A gold set of [300] items labelled by [two senior annotators with adjudication] is mixed into the queue at [5%]. An annotator whose gold accuracy over the last [100] gold items falls below [90%] is paused and retrained.

5.2 Overlap and agreement

[10%] of items are labelled independently by two annotators. Agreement is measured with Cohen's kappa, which corrects observed agreement for agreement expected by chance:

κ=po−pe1−pe\kappa = \frac{p_o - p_e}{1 - p_e}

where pop_o is the observed share of items on which both annotators agree and pe=∑kp1k p2kp_e = \sum_k p_{1k}\, p_{2k} is the chance agreement from each annotator's label proportions p1kp_{1k} and p2kp_{2k}. Example: po=0.88p_o = 0.88 and pe=0.20p_e = 0.20 give κ=0.68/0.80=0.85\kappa = 0.68 / 0.80 = 0.85. For more than two annotators use Fleiss' kappa or Krippendorff's alpha.

MeasureTargetAction if below
Overall kappa≥ [0.80]Review guidelines, retrain
Kappa per label≥ [0.70]Add edge cases for that label
Gold accuracy per annotator≥ [90%]Pause and retrain annotator
Unsure flag rate≤ [8%]Check for missing label or rule

5.3 Adjudication

Disagreements on overlap items go to an adjudicator, who records the final label and, where the guidelines were unclear, proposes an edge case for section 4.

6. Annotator training

  1. Read these guidelines and the edge case list ([30] minutes).
  2. Label [50] practice items with immediate feedback.
  3. Pass a qualification test of [100] items with accuracy ≥ [90%] and no errors on L07 privacy requests.
  4. First [500] production items are reviewed at [20%].
  5. Weekly calibration session of [30] minutes on recent disagreements.

7. Tooling

  • Tool: [annotation tool and version], project [link].
  • Keyboard shortcuts: keys 1 to 9 select L01 to L09; S toggles Unsure; R opens "Report sensitive data".
  • Items are served in random order; annotators cannot see others' labels.
  • Problems with the tool go to [#annotation-support].

8. Privacy and sensitive content

  • Data is pseudonymised before annotation; names and emails are replaced with tokens such as [NAME_1].
  • If you see remaining personal data, card numbers or health information, label the item and press "Report sensitive data"; the item is redacted and removed from the dataset.
  • Do not copy, screenshot or discuss items outside the tool.
  • Annotators may skip distressing content; support is available at [contact].
  • Access is limited to annotators who signed [confidentiality agreement] and completed [privacy training].

9. Throughput and payment

Annotators are paid [hourly rate, at least the local living wage], not per item. Expected throughput is a guide, not a target; quality metrics take priority. Time spent on training, calibration sessions, qualification tests and reading guideline updates is paid at the same rate. Section 11 covers the wider working conditions.

ItemRate or rule
Base pay[Amount per hour, currency], reviewed against the living wage for [location] on YYYY-MM-DD
Paid non-labelling timeTraining, calibration, guideline updates, tool downtime
Rejected workPaid unless clearly fraudulent; disputes reviewed by [@annotation-lead] within [5] working days
Quality bonus (optional)Example: [Amount] for gold accuracy at least 95% over a month, never a penalty for missing it

10. Versioning of guidelines

VersionDateChangeItems affectedRe-label needed
0.9YYYY-MM-DDPilot versionPilot 200n/a
1.0YYYY-MM-DDExample: Added rule 1 for privacy requests; EC-050No
1.1YYYY-MM-DDExample: Split "Delivery" into L03 and a future returns label4,120 L03 itemsYes, 600 sampled

Each labelled item stores the guidelines version in field guidelines_version.

11. Annotator welfare and working conditions

CommitmentHow it is metEvidence
Fair paySection 9; pay at or above the local living wage, set per locationExample: Vendor rate card checked YYYY-MM-DD
Clear instructionsThese guidelines, pilot, examples and a question channelPilot report, FAQ log
Realistic workloadThroughput is a guide; breaks of [10] minutes per hour of labellingShift schedule
Exposure to distressing contentContent warning before the task; opt-out without penalty; daily cap of [2] hours on flagged queues; blurred previewsExample: L09 queue items with abuse are routed to a volunteer pool
Wellbeing supportAccess to [confidential counselling service] for in-house and vendor staffVendor contract clause
Voice and feedbackAnnotators can question guidelines and report problems without penalty; weekly calibration sessionSection 6, step 5
Fair treatment in quality decisionsPausing or removing an annotator is explained, can be appealed and follows section 5.1 rulesAppeal log
Vendor transparencyVendor discloses pay, hours, location and subcontracting for workers on this projectCompleted vendor transparency questionnaire

Legal context to check (dated examples, not legal advice): where annotators work through a digital labour platform in the EU, Directive (EU) 2024/2831 on improving working conditions in platform work applies once transposed (deadline 2 December 2026); check the national law of each work location. Employment status, minimum wage and working time rules always follow the law where the annotator works.

12. Data rights and provenance

QuestionAnswer for this project
Source of the itemsExample: First messages from Larkfield Home Goods support conversations, [date range]
Legal basis or licence for annotation and trainingExample: Legitimate interests assessment LIA-022; privacy notice covers service improvement
Personal data processed by annotatorsExample: Pseudonymised message text; residual identifiers removed on report (section 8)
Processor or vendor termsExample: Data processing agreement DPA-031 with the annotation vendor, EU hosting
Transfers outside the origin region[None / Mechanism used]
Deletion and objection requestsItem and its labels deleted from the dataset and the next training snapshot within [30] days of a valid request
RetentionRaw items [12] months; labels kept with the dataset version
Annotator dataAnnotator IDs pseudonymised; per-annotator quality data used only for quality control and pay, kept [12] months
Ownership of labelsLabels are work product of [Organisation]; vendor contract confirms assignment
Third-party content in itemsExample: Product names only; no copyrighted documents included

Before labelling starts, the privacy lead confirms that the purpose, legal basis and retention above match the privacy notice and the dataset datasheet. Example laws to check include the EU and UK GDPR and US state privacy laws; requirements differ by jurisdiction.

13. Glossary and references

TermMeaning
Annotation (labelling)Assigning one or more labels to a data item according to written rules
Gold itemAn item with an agreed correct label, mixed into the queue to measure accuracy
Inter-annotator agreementHow often independent annotators give the same label, corrected for chance
AdjudicationA senior reviewer's final decision on items where annotators disagree
Data enrichmentUmbrella term for annotation, labelling, rating and other human work that prepares data for AI
PseudonymisationReplacing direct identifiers with tokens so items cannot be linked to a person without extra information kept separately

References:

  • Cohen, J. (1960). A coefficient of agreement for nominal scales. Educational and Psychological Measurement, 20(1), 37 to 46.
  • Krippendorff, K. Content Analysis: An Introduction to Its Methodology (agreement coefficient alpha).
  • Partnership on AI, "Responsible Sourcing of Data Enrichment Services" (June 2021) and "Vendor Engagement Guidance and Transparency Template" (August 2024): https://partnershiponai.org/responsible-sourcing
  • Directive (EU) 2024/2831 on improving working conditions in platform work, on EUR-Lex: https://eur-lex.europa.eu/eli/dir/2024/2831/oj
  • Related templates: Datasheet for datasets (ai-data/datasheet-for-datasets), Human evaluation protocol (ai-data/human-evaluation-protocol), Model training plan (ai-data/model-training-plan), Fine-tuning run report (ai-data/fine-tuning-report), DPIA (compliance/dpia)

Standard and licence note

Based on common industry practice for data annotation, on standard inter-annotator agreement statistics (Cohen's kappa, Fleiss' kappa, Krippendorff's alpha) and on the public Partnership on AI guidance on responsible sourcing of data enrichment services, which is cited, not reproduced. Legal references are dated examples as of October 2026; check the current official text and the law where annotators work. All text is original to this collection; Larkfield Home Goods is fictional and examples are illustrative. This is a documentation format, not legal advice. Template licence: MIT.

Related templates