Data Annotation Guidelines Template
Labelling guidelines: taxonomy, edge cases, decision rules, gold sets, Cohen's kappa, training, privacy, annotator welfare, data rights
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
| Field | Value |
|---|---|
| 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 updated | YYYY-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
| Role | Name | Decision | Date |
|---|---|---|---|
| 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
| Version | Date | Author | Change summary |
|---|---|---|---|
| 0.9 | YYYY-MM-DD | [@name] | Pilot version |
| 1.0 | YYYY-MM-DD | [@name] | Example: Rule 1 for privacy requests; added sections 11 and 12 |
| 1.1 | YYYY-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
| ID | Label | Definition | Include | Exclude | Example |
|---|---|---|---|---|---|
| L01 | Billing question | Customer asks about a charge, invoice or payment | Unknown charge, invoice copy, payment method | Request for money back (use L02) | Example: "Why was I charged 14.99 twice this month?" |
| L02 | Refund request | Customer wants money returned | Return refund, cancellation refund | Questions only about a charge (L01) | Example: "Please refund my order 55812, it arrived broken." |
| L03 | Delivery status | Customer asks where an order is | Tracking, delay, missing parcel | Damaged item (L04) | Example: "My parcel said delivered but it's not here." |
| L04 | Product problem | Item is faulty, damaged or not as described | Broken, wrong size, missing parts | How-to questions (L05) | Example: "The charger stopped working after two days." |
| L05 | How-to | Customer asks how to use a product or feature | Setup, settings, account features | Fault reports (L04) | Example: "How do I change my delivery address?" |
| L06 | Account access | Login, password, verification issues | Locked account, 2FA codes | Data deletion request (L07) | Example: "I'm not getting the verification code." |
| L07 | Privacy request | Access, deletion or correction of personal data | GDPR requests, unsubscribe from all data use | Marketing email opt-out only (L08) | Example: "Delete all data you hold about me." |
| L08 | Other | Clear intent not covered above | Feedback, compliments, partnership offers | Unclear or empty messages (L09) | Example: "Your new app design is great." |
| L09 | Unclear | No intent can be determined | Greetings only, gibberish, wrong language | Any message with a clear intent | Example: "hello??" |
3. Decision rules
Apply these rules in order and stop at the first that matches:
- If the message asks to access, delete or correct personal data, label L07, even if other intents appear.
- If the customer wants money back, label L02.
- If the message reports a fault or damage, label L04.
- 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.
- If no rule applies, use L09 and set the flag to Unsure.
The same rules as a flow:
4. Edge cases
| ID | Situation | Correct label | Reason |
|---|---|---|---|
| EC-01 | Example: "Item broken, I want a refund" | L02 primary, L04 secondary | Rule 2 before rule 3: the requested outcome decides |
| EC-02 | Example: Message in a language other than [English] | L09, flag Unsure | Out of scope for this dataset |
| EC-03 | Example: Sarcasm: "Great, another charge I didn't ask for" | L01 | Label the intent, not the tone |
| EC-04 | Example: Message contains card number | Label normally, then use "Report sensitive data" | See section 8 |
| EC-05 | Example: "Stop emailing me" | L08 | Marketing 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:
where is the observed share of items on which both annotators agree and is the chance agreement from each annotator's label proportions and . Example: and give . For more than two annotators use Fleiss' kappa or Krippendorff's alpha.
| Measure | Target | Action 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
- Read these guidelines and the edge case list ([30] minutes).
- Label [50] practice items with immediate feedback.
- Pass a qualification test of [100] items with accuracy ≥ [90%] and no errors on L07 privacy requests.
- First [500] production items are reviewed at [20%].
- 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.
| Item | Rate or rule |
|---|---|
| Base pay | [Amount per hour, currency], reviewed against the living wage for [location] on YYYY-MM-DD |
| Paid non-labelling time | Training, calibration, guideline updates, tool downtime |
| Rejected work | Paid 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
| Version | Date | Change | Items affected | Re-label needed |
|---|---|---|---|---|
| 0.9 | YYYY-MM-DD | Pilot version | Pilot 200 | n/a |
| 1.0 | YYYY-MM-DD | Example: Added rule 1 for privacy requests; EC-05 | 0 | No |
| 1.1 | YYYY-MM-DD | Example: Split "Delivery" into L03 and a future returns label | 4,120 L03 items | Yes, 600 sampled |
Each labelled item stores the guidelines version in field
guidelines_version.
11. Annotator welfare and working conditions
| Commitment | How it is met | Evidence |
|---|---|---|
| Fair pay | Section 9; pay at or above the local living wage, set per location | Example: Vendor rate card checked YYYY-MM-DD |
| Clear instructions | These guidelines, pilot, examples and a question channel | Pilot report, FAQ log |
| Realistic workload | Throughput is a guide; breaks of [10] minutes per hour of labelling | Shift schedule |
| Exposure to distressing content | Content warning before the task; opt-out without penalty; daily cap of [2] hours on flagged queues; blurred previews | Example: L09 queue items with abuse are routed to a volunteer pool |
| Wellbeing support | Access to [confidential counselling service] for in-house and vendor staff | Vendor contract clause |
| Voice and feedback | Annotators can question guidelines and report problems without penalty; weekly calibration session | Section 6, step 5 |
| Fair treatment in quality decisions | Pausing or removing an annotator is explained, can be appealed and follows section 5.1 rules | Appeal log |
| Vendor transparency | Vendor discloses pay, hours, location and subcontracting for workers on this project | Completed 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
| Question | Answer for this project |
|---|---|
| Source of the items | Example: First messages from Larkfield Home Goods support conversations, [date range] |
| Legal basis or licence for annotation and training | Example: Legitimate interests assessment LIA-022; privacy notice covers service improvement |
| Personal data processed by annotators | Example: Pseudonymised message text; residual identifiers removed on report (section 8) |
| Processor or vendor terms | Example: Data processing agreement DPA-031 with the annotation vendor, EU hosting |
| Transfers outside the origin region | [None / Mechanism used] |
| Deletion and objection requests | Item and its labels deleted from the dataset and the next training snapshot within [30] days of a valid request |
| Retention | Raw items [12] months; labels kept with the dataset version |
| Annotator data | Annotator IDs pseudonymised; per-annotator quality data used only for quality control and pay, kept [12] months |
| Ownership of labels | Labels are work product of [Organisation]; vendor contract confirms assignment |
| Third-party content in items | Example: 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
| Term | Meaning |
|---|---|
| Annotation (labelling) | Assigning one or more labels to a data item according to written rules |
| Gold item | An item with an agreed correct label, mixed into the queue to measure accuracy |
| Inter-annotator agreement | How often independent annotators give the same label, corrected for chance |
| Adjudication | A senior reviewer's final decision on items where annotators disagree |
| Data enrichment | Umbrella term for annotation, labelling, rating and other human work that prepares data for AI |
| Pseudonymisation | Replacing 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
AI Agent Evaluation Plan Template (Task Success, Trajectory, Tool Calls)
Agent task suite, success, trajectory, tool-call and argument metrics, sandboxed harness, online tests, calibrated graders, statistics, ASI safety cases, gates
AI & Machine LearningAgentic AI Threat Model Template (OWASP ASI Top 10, MITRE ATLAS)
Agent trust boundaries, assets, autonomy, ASI01-ASI10 threat register, MITRE ATLAS mapping, L x I scoring, mitigations, residual risk, test cases
AI & Machine LearningAI Agent Specification Template
Tool-using AI agent spec: scope, autonomy, Article 14 oversight, tools and permissions, guardrails, OWASP ASI and LLM 2026 coverage, evals, cost