Datasets:
Add RegConflict benchmark splits and dataset card
Browse files- README.md +149 -0
- data/conflicts/gold_iaa.jsonl +0 -0
- data/conflicts/test.jsonl +0 -0
- data/conflicts/train.jsonl +0 -0
- data/conflicts/val.jsonl +0 -0
README.md
ADDED
|
@@ -0,0 +1,149 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: mit
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
pretty_name: RegConflict
|
| 6 |
+
size_categories:
|
| 7 |
+
- n<1K
|
| 8 |
+
task_categories:
|
| 9 |
+
- text-classification
|
| 10 |
+
tags:
|
| 11 |
+
- legal
|
| 12 |
+
- regulatory
|
| 13 |
+
- compliance
|
| 14 |
+
- conflict-detection
|
| 15 |
+
- cross-jurisdictional
|
| 16 |
+
- finance
|
| 17 |
+
configs:
|
| 18 |
+
- config_name: default
|
| 19 |
+
data_files:
|
| 20 |
+
- split: train
|
| 21 |
+
path: data/conflicts/train.jsonl
|
| 22 |
+
- split: validation
|
| 23 |
+
path: data/conflicts/val.jsonl
|
| 24 |
+
- split: test
|
| 25 |
+
path: data/conflicts/test.jsonl
|
| 26 |
+
- config_name: gold_iaa
|
| 27 |
+
data_files:
|
| 28 |
+
- split: gold_iaa
|
| 29 |
+
path: data/conflicts/gold_iaa.jsonl
|
| 30 |
+
---
|
| 31 |
+
|
| 32 |
+
# RegConflict
|
| 33 |
+
|
| 34 |
+
**A cross-jurisdictional benchmark for regulatory conflict detection.**
|
| 35 |
+
|
| 36 |
+
RegConflict is an expert-annotated benchmark for detecting conflicts between
|
| 37 |
+
regulatory regimes from different jurisdictions in financial regulation. It
|
| 38 |
+
pairs a four-class typology of conflict kinds with labelled regime pairs, each
|
| 39 |
+
grounded in verbatim evidence passages drawn from a curated multi-jurisdictional
|
| 40 |
+
regulatory corpus.
|
| 41 |
+
|
| 42 |
+
- **Source code, corpus, and reproducible baselines:** https://github.com/rafsunsheikh/RegConflict
|
| 43 |
+
- **Archived release (DOI):** [10.5281/zenodo.21007776](https://doi.org/10.5281/zenodo.21007776)
|
| 44 |
+
|
| 45 |
+
This HuggingFace repository is the **dataset mirror** — the labelled regime
|
| 46 |
+
pairs with their embedded evidence passages. The full document corpus and
|
| 47 |
+
baselines live in the GitHub repository and the Zenodo deposit.
|
| 48 |
+
|
| 49 |
+
## The task
|
| 50 |
+
|
| 51 |
+
Given two regulatory regimes (each represented by evidence passages drawn from
|
| 52 |
+
official source documents), predict whether they **conflict** or **do not
|
| 53 |
+
conflict**, and — for conflicts — which kind of conflict applies under a
|
| 54 |
+
four-class typology distinguished by the resolution mechanism (or its absence)
|
| 55 |
+
available to an entity facing both regimes:
|
| 56 |
+
|
| 57 |
+
- `structural_unresolved` — no compliant path exists under the rules as written.
|
| 58 |
+
- `operationally_resolvable` — a compliant path exists but requires deliberate operational structuring.
|
| 59 |
+
- `interpretive_fact_sensitive` — whether a conflict exists turns on facts or interpretation.
|
| 60 |
+
- `recurring_friction` — an ongoing economic/operational friction with no clean one-time fix.
|
| 61 |
+
|
| 62 |
+
## Splits
|
| 63 |
+
|
| 64 |
+
| Split | Records | Conflict | Non-conflict |
|
| 65 |
+
|-------|--------:|---------:|-------------:|
|
| 66 |
+
| `train` | 497 | 65 | 432 |
|
| 67 |
+
| `validation` | 107 | 14 | 93 |
|
| 68 |
+
| `test` | 107 | 14 | 93 |
|
| 69 |
+
| `gold_iaa` | 30 | 25 | 5 |
|
| 70 |
+
|
| 71 |
+
`gold_iaa` is a separately-held gold inter-annotator-agreement subset of conflict
|
| 72 |
+
cases, blind-reviewed to measure agreement on the four-class typology task
|
| 73 |
+
(Cohen's κ = 0.6 — substantial agreement per Landis–Koch). It carries an
|
| 74 |
+
additional `blind_review` field.
|
| 75 |
+
|
| 76 |
+
## Usage
|
| 77 |
+
|
| 78 |
+
```python
|
| 79 |
+
from datasets import load_dataset
|
| 80 |
+
|
| 81 |
+
# Main benchmark: train / validation / test
|
| 82 |
+
ds = load_dataset("rafsunsheikh/RegConflict")
|
| 83 |
+
print(ds)
|
| 84 |
+
print(ds["test"][0]["label"])
|
| 85 |
+
|
| 86 |
+
# Gold inter-annotator-agreement subset (separate config, richer schema)
|
| 87 |
+
gold = load_dataset("rafsunsheikh/RegConflict", "gold_iaa")
|
| 88 |
+
print(gold["gold_iaa"][0]["blind_review"])
|
| 89 |
+
```
|
| 90 |
+
|
| 91 |
+
> The `gold_iaa` subset is exposed as a **separate config** rather than a fourth
|
| 92 |
+
> split of `default`, because it carries an extra `blind_review` field whose
|
| 93 |
+
> schema differs from the main splits.
|
| 94 |
+
|
| 95 |
+
## Record schema
|
| 96 |
+
|
| 97 |
+
Each record is one regime pair. Key fields (some are present only for one label):
|
| 98 |
+
|
| 99 |
+
| Field | Type | Notes |
|
| 100 |
+
|-------|------|-------|
|
| 101 |
+
| `pair_id` | string | Stable identifier, prefixed `conflict:` / `non_conflict:`. |
|
| 102 |
+
| `label` | string | `conflict` or `non_conflict`. |
|
| 103 |
+
| `record_type` | string | Same as `label`. |
|
| 104 |
+
| `regime_a`, `regime_b` | struct | `regime_id`, `jurisdiction`, `issuing_body`, `short_name`. |
|
| 105 |
+
| `evidence_a`, `evidence_b` | list<struct> | Evidence passages: `chunk_id`, `source_doc`, `page`, `passage`. |
|
| 106 |
+
| `conflict_type` | string\|null | One of the four classes (conflict records only). |
|
| 107 |
+
| `severity` | string\|null | `low` / `medium` / `high` (conflict records only). |
|
| 108 |
+
| `rationale` | string | Free-text justification of the label. |
|
| 109 |
+
| `compliant_paths` | list<string> | Resolution options (conflict records). |
|
| 110 |
+
| `out_of_scope_assumptions` | list<string> | Scoping assumptions (conflict records). |
|
| 111 |
+
| `non_conflict_subtype` | string\|null | e.g. `different_domains`, `aligned_complementary` (non-conflict records). |
|
| 112 |
+
| `would_conflict_if` | list<string> | Counterfactual conditions (non-conflict records). |
|
| 113 |
+
| `confidence` | float | Annotator confidence. |
|
| 114 |
+
| `annotator_id`, `annotated_at`, `revision`, `review_status` | — | Provenance. |
|
| 115 |
+
| `blind_review` | struct | Blind second-pass review (`gold_iaa` split only). |
|
| 116 |
+
|
| 117 |
+
## Jurisdictions and sources
|
| 118 |
+
|
| 119 |
+
Pairs are drawn from six jurisdictional sources — Australia, the European Union,
|
| 120 |
+
Singapore, FATF, BIS, and IOSCO — spanning bodies such as APRA, OAIC, AUSTRAC,
|
| 121 |
+
ASIC, the Australian Treasury, EUR-Lex (GDPR, MiCA, AMLA, AMLR/TFR, DORA, …),
|
| 122 |
+
ESMA/EBA, the Singapore SSO and MAS, the Basel Committee, and IOSCO.
|
| 123 |
+
|
| 124 |
+
## Licensing
|
| 125 |
+
|
| 126 |
+
- **Labels, annotations, and this dataset structure:** MIT (see the GitHub repository's `LICENSE`).
|
| 127 |
+
- **Embedded evidence passages** are short verbatim quotations from official
|
| 128 |
+
regulatory documents, included under academic-quotation terms. The full source
|
| 129 |
+
corpus uses a **three-tier** license scheme (Tier 1 redistributable, Tier 2
|
| 130 |
+
academic-use, Tier 3 metadata-only); see
|
| 131 |
+
[`LICENSES/SOURCE_DOCUMENT_LICENSES.md`](https://github.com/rafsunsheikh/RegConflict/blob/main/LICENSES/SOURCE_DOCUMENT_LICENSES.md)
|
| 132 |
+
in the GitHub repository for verbatim per-source clauses.
|
| 133 |
+
|
| 134 |
+
## Citation
|
| 135 |
+
|
| 136 |
+
Please cite the dataset deposit; see
|
| 137 |
+
[`CITATION.cff`](https://github.com/rafsunsheikh/RegConflict/blob/main/CITATION.cff)
|
| 138 |
+
for the canonical entry.
|
| 139 |
+
|
| 140 |
+
```bibtex
|
| 141 |
+
@dataset{regconflict,
|
| 142 |
+
title = {RegConflict: A Cross-Jurisdictional Benchmark for Regulatory Conflict Detection},
|
| 143 |
+
author = {Sheikh, MD Rafsun},
|
| 144 |
+
year = {2027},
|
| 145 |
+
publisher = {Zenodo},
|
| 146 |
+
doi = {10.5281/zenodo.21007776},
|
| 147 |
+
url = {https://doi.org/10.5281/zenodo.21007776}
|
| 148 |
+
}
|
| 149 |
+
```
|
data/conflicts/gold_iaa.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/conflicts/test.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/conflicts/train.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
data/conflicts/val.jsonl
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|