Skip to content
advancedtext

OblEx26 Obligations in Anti-Money Laundering Regulations

Highlight each obligation's parts in anti-money laundering rules and group them into events, using span and event_annotation. Passages are illustrative.

Get This Design

View on GitHub(opens in a new tab)

Clone or download from the repository

Quick start:

bash
git clone https://github.com/davidjurgens/potato-showcase.git
cd potato-showcase/text/legal/oblex26-regulatory-obligations
potato start config.yaml

About this dataset

OblEx26 is a benchmark for extracting structured obligations from anti-money laundering regulations across several jurisdictions, published by Philip Moore, Giovanni Bandi, Tim Luka Horstmann, Russell Moore, Robert H. Wardrop, and Paula Buttery at the Natural Legal Language Processing Workshop 2026. Two legal experts, regulatory analysts at the Regulatory Genome Project at Cambridge Judge Business School, annotated the benchmark, and the project's executive director reviewed their work. They highlighted spans in PDFs with the free tool Zotero and tied related spans together with a shared identifier such as ob1 or ob2.

The design reproduces that protocol with six component types (Holder, Type, Beneficiary, Antecedent, Consequent, and Source) as a span scheme and an event_annotation scheme that groups the spans into obligation objects. The paper's Source component is named Source / Legal Channel, and the design shortens it to Source. The Type span, the deontic modality, is the event trigger, since the paper's Table 3 reports a Type in 99.05% of obligations. An obligation with no Type span therefore cannot be created here.

Every argument role takes several spans, as the paper allows several spans of one category in an obligation, so the Holder of one obligation can be written in two clauses. The Type span is the trigger, so one obligation holds one Type span. That option needs Potato 2.15.0 or later. The ten passages were written for this design in the style of anti-money laundering rules, because the OblEx26 repository states no license.

Component types
6
Obligations with a Type span (paper Table 3)
99.05%
Sample passages in this design
10 illustrative passages

Configuration File

This Potato config reproduces the annotation task. Save it as config.yaml and run potato start config.yaml to try it.

yaml
# yaml-language-server: $schema=https://potatoannotator.readthedocs.io/en/latest/schemas/potato-config.schema.json
# OblEx26: structured obligation extraction from anti-money-laundering regulations (NLLP 2026)
#
# Paper:   Moore, Bandi, Horstmann et al. (6 authors), "OblEx26: A Multi-Jurisdictional Benchmark for Structured
#          Obligation Extraction from Anti-Money Laundering Regulations", NLLP 2026,
#          https://aclanthology.org/2026.nllp-1.4/ (ACL Anthology bib doi 10.18653/2026.nllp-1.4).
# Data:    https://github.com/pjm56/oblex26 (annotation guidelines PDF and a test-data zip "available here for
#          academic use"). The repository states no license, so no dataset text is used: the ten passages in
#          sample-data.json were written for this design in the style of AML/CFT rules.
# Protocol (paper section 3): "Annotation of PDFs was carried out using the highlighting and tagging features of
#          the free, open-source research management tool Zotero. The annotation process consists of applying the
#          schema by highlighting spans of words using a colour codes ... Component spans are then grouped into
#          obligation objects by tagging every related span with a common identifier (e.g. "ob1", "ob2")."
#          The six component types are:
#            Holder: "The legal person against whom the norm can be exercised; the party responsible for compliance."
#            Type: "The deontic modality expressing the normative force (e.g., duty, prohibition, permission)."
#            Beneficiary: "The legal person who holds the norm's correlative right."
#            Antecedent: "The set of conditions or trigger state for the norm to become active."
#            Consequent: "The state of affairs that, if brought about, satisfies the norm (the required performance)."
#            Source / Legal Channel: "The specific legal instrument from which the norm derives its authority."
#          Section 3.2 adds that definitional and structural clauses are excluded, component spans can be shared
#          between obligations, an obligation may have more than one span of a category, and spans can overlap.
# Requires Potato 2.15.0 or later (event_annotation argument multiple: true).
# Adaptations: the paper tags spans with an obligation id in Zotero. Here the six component types are spans and an
#          event_annotation scheme groups them into obligation objects, with the Type span (the deontic modality, present in
#          99.05% of obligations by the paper's Table 3) as the event trigger. An obligation with no Type span cannot be
#          created. Every argument role sets multiple: true, so an obligation can hold several spans of one category, as
#          section 3.2 allows, and the saved event has one argument per span. Spans may overlap, and a span can serve
#          several obligations. The Type span is the event trigger, so one obligation holds one Type span, where the paper
#          allows more than one span of any category.
# Annotators in the paper (Appendix A.1): two legal experts, regulatory analysts at the Regulatory Genome Project
#          (Cambridge Judge Business School), with the project's executive director as reviewer.

annotation_task_name: "OblEx26 obligation extraction"

data_files:
  - sample-data.json

item_properties:
  id_key: id
  text_key: text

task_dir: .
output_annotation_dir: annotation_output
export_annotation_format: jsonl

user_config:
  allow_all_users: true

instance_display:
  layout:
    direction: vertical
    gap: 12px
  fields:
    - key: section
      type: text
      label: "Provision"
    - key: text
      type: text
      label: "Regulatory text"
      span_target: true

annotation_schemes:
  - annotation_type: span
    name: obligation_components
    description: "Highlight each component of an obligation."
    labels:
      - name: Holder
        tooltip: "The legal person against whom the norm can be exercised; the party responsible for compliance."
      - name: Type
        tooltip: "The deontic modality expressing the normative force (e.g., duty, prohibition, permission)."
      - name: Beneficiary
        tooltip: "The legal person who holds the norm's correlative right."
      - name: Antecedent
        tooltip: "The set of conditions or trigger state for the norm to become active."
      - name: Consequent
        tooltip: "The state of affairs that, if brought about, satisfies the norm (the required performance)."
      - name: Source
        tooltip: "The specific legal instrument from which the norm derives its authority."

  - annotation_type: event_annotation
    name: obligations
    description: "Group the components of each obligation. The Type span is the trigger, and a span can serve several obligations."
    span_schema: obligation_components
    event_types:
      - type: "OBLIGATION"
        color: "#2563eb"
        trigger_labels: ["Type"]
        arguments:
          - role: "Holder"
            entity_types: ["Holder"]
            required: false
            multiple: true
          - role: "Beneficiary"
            entity_types: ["Beneficiary"]
            required: false
            multiple: true
          - role: "Antecedent"
            entity_types: ["Antecedent"]
            required: false
            multiple: true
          - role: "Consequent"
            entity_types: ["Consequent"]
            required: false
            multiple: true
          - role: "Source"
            entity_types: ["Source"]
            required: false
            multiple: true
    visual_display:
      enabled: true
      arc_position: above
      show_labels: true

annotation_instructions: |
  Mark the words that fill each role of an obligation, then create an OBLIGATION event: pick the Type span as
  the trigger and attach the other components. Any role other than the Type may be left empty, because roles are
  often implicit. Leave out definitions and structural clauses. A span can serve two
  obligations, for example the head of a list shared by every item. Source is usually implied by the document.

Sample Data

json
[
  {
    "id": "oblex_001",
    "document": "Illustrative AML/CFT regulation (written for this design)",
    "section": "Customer due diligence",
    "text": "A reporting entity must verify the identity of each customer before establishing a business relationship. Where a customer is a legal person, the entity shall also identify its beneficial owners and take reasonable measures to verify their identity."
  },
  {
    "id": "oblex_002",
    "document": "Illustrative AML/CFT regulation (written for this design)",
    "section": "Record keeping",
    "text": "Financial institutions shall keep all records obtained through customer due diligence for at least five years after the end of the business relationship. The institution may not destroy those records while an investigation by the Financial Intelligence Unit is pending."
  }
]

// ... and 8 more items

Dataset & paper

Moore et al., NLLP 2026

Paper DOI
10.18653/2026.nllp-1.4

Citation (BibTeX)

bibtex
@inproceedings{moore-etal-2026-oblex26,
    title = "{O}bl{E}x26: A Multi-Jurisdictional Benchmark for Structured Obligation Extraction from Anti-Money Laundering Regulations",
    author = "Moore, Philip  and
      Bandi, Giovanni  and
      Horstmann, Tim Luka  and
      Moore, Russell  and
      Wardrop, Robert H.  and
      Buttery, Paula",
    editor = "Aletras, Nikolaos  and
      Chalkidis, Ilias  and
      Barrett, Leslie  and
      Goanț{\u{a}}, C{\u{a}}t{\u{a}}lina  and
      Preoțiuc-Pietro, Daniel  and
      Spanakis, Gerasimos  and
      Xu, Shanshan",
    booktitle = "Proceedings of the Natural Legal Language Processing Workshop 2026",
    month = oct,
    year = "2026",
    address = "Budapest, Hungary",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2026.nllp-1.4/",
    doi = "10.18653/2026.nllp-1.4",
    pages = "14--28",
    ISBN = "979-8-89176-494-1"
}

Details

Annotation Types

spanevent_annotation

Domain

LawRegulatory ComplianceAnti-Money Laundering

Use Cases

Obligation ExtractionEvent AnnotationSpan Annotation

Tags

oblex26obligation extractionanti-money launderingregulationdeonticnllp

Found an issue or want to improve this design?

Open an Issue(opens in a new tab)