PrivacyBench-Plus / POLICY.md
adamrida's picture
PrivacyBench+ 1.0
4c52bbf
|
Raw History Blame Contribute Delete
2.75 kB

Labelling policy

This policy defines which spans are labelled in PrivacyBench+. Labels are character spans over the unchanged source text.

Principles

  1. Direct identifiers of a person are always labelled.
  2. An organization is labelled when it is the employer, client, customer or counterparty of the people in the text.
  3. Names that do not identify a specific company or person are not labelled.
  4. Names that reveal a company without naming it are recorded as indirect identifiers, outside the main labels.
  5. When the text does not settle a case, the span is marked unresolved and is excluded from scoring.

Rules by type

Type Labelled Not labelled
NAME_GIVEN, NAME_FAMILY Given and family names of people, including initials and monograms that stand for a name Chat slang and common words that match a name
ORGANIZATION Employers, clients, customers and counterparties. The span includes the legal suffix and excludes attached department names and punctuation Internal tools (for example Slack, Zoom, SAP), public bodies (for example SEC, IRS), generic departments (for example Human Resources), products and brands
EMAIL_ADDRESS, USERNAME, URL Always
PHONE_NUMBER, ACCOUNT_NUMBER, EMPLOYEE_ID Always
LOCATION_ADDRESS Postal addresses, with every component present in the text: street, city, state or region, postal code and country A state, region or country mentioned outside an address

Further rules:

  • A tool name used as an employer or client is labelled as an organization. For example, Salesforce is labelled when it is the employer or a client, and is not labelled in "log it in Salesforce".
  • The tool exception applies to the bare name only. An account, username, email address or URL that contains the name is still labelled.
  • The type of a label follows its meaning in context. A person named Jordan is a name, not a location.

Indirect identifiers

Products, brands, programmes, tickers and named sites that belong to one company, and standalone cities, sites and venues, are recorded in data/extensions/indirect_identifiers.jsonl. They are not part of ground_truth_spans. See SCHEMA-EXTENSIONS.md.

Unresolved spans

A span is marked unresolved when neither this policy nor the context decides it, for example a bare name in a signature that could be a tool or a client. Unresolved spans are listed under _tracer_review.unknown_targets. They are never treated as negatives: masking them is neither rewarded nor penalised.

Label scope

Chat messages in the human-annotated set carry five types (names, organization, email address, username). Documents and the native set carry all ten.