PII-Bench / DATA_CARD_AUDIT.md
shenhao's picture
Release PII-Bench v1.1 (ACL 2026): cleaned default, frozen paper_exact, and privacy_utility
f4e9d11 verified
|
Raw History Blame Contribute Delete
6.94 kB

PII-Bench Data Quality Audit & Cleaning Summary (v1.1)

This document transparently records all differences between the cleaned default configuration (v1.1; identical to GitHub data/cleaned/) and the frozen ACL 2026 paper_exact configuration (identical to GitHub data/paper_exact/).

Iterative Updates: PII-Bench is actively maintained and will be iteratively updated in future releases (such as adding future splits or refinements). The paper_exact configuration remains permanently frozen for ACL 2026 reproduction.

Naming Alignment: default vs. cleaned vs. paper_exact

  • HuggingFace / ModelScope default == GitHub data/cleaned/: 100% identical data (verified row-for-row). HuggingFace & ModelScope use the standard config name default so load_dataset("shenhao/PII-Bench") loads the recommended cleaned v1.1 benchmark automatically, whereas GitHub names the folder data/cleaned/ to contrast clearly with data/paper_exact/.
  • HuggingFace / ModelScope paper_exact == GitHub data/paper_exact/: 100% identical ACL 2026 ground-truth strings (only stripping the leaked 'predict' column from PII_hard.jsonl), guaranteeing 0.0000 numerical drift from ACL 2026 Tables 3–26.

Summary of Cleaning Operations (v1.1 — 474 Audited Events)

Cleaning Rule Affected Splits & Counts Cause & Fix Metric Impact vs. ACL 2026
remove_leaked_predict hard: 200 rows Legacy construct.py dropped evaluation scores but left the 'predict' field in PII_hard.jsonl. Removed in both default and paper_exact. 0.0000
remove_ghost_total_only_entity, remove_unknown_total_type, fix_total_array_length_mismatch single: 18 rows (860..877); distract: 4 rows (5,10,76,138); privacy_utility: 1 row (174) Annotation UI carry-over leaked 'Asia-Pacific Economic Cooperation ' into entities.total (absent from usr_desc and entities.values), causing 4 'UNKNOWN' types in distract and 18 array-length mismatches in single. Rebuilt aligned total* arrays strictly from values/types/tags. Task 1: 0.0000; Task 3: +0.0003 to +0.0006; eliminates all 4 UNKNOWN types.
remove_missing_from_desc_entity single: 5 rows (632,662..665); distract: 2 rows (12,89); privacy_utility: 1 row 3 source descriptions carried an unmentioned location entity ('Asia' or 'Shibuya', none in most_related). Removed so 100% of ground-truth entities are grounded in usr_desc. Task 1: ≤ +0.0005; Task 2: 0.0000
strip_entity_whitespace & strip_usr_desc single: 6 entities + 2 descs; hard: 2 entities; distract: 3 entities; privacy_utility: 1 entity Leading/trailing spaces on ' LGBTQ+ community', ' Buenos Aires', and 'Asia-Pacific Economic Cooperation '. Stripped cleanly. Task 1 & 3: ≤ +0.0003
dedup_within_subject & resolve_conflicting_dup_meta single: 10 rows; multi: 10 rows; distract: 17 rows Identical entity listed twice within the same subject; deduplicated preserving the last (type, tag) to match PUB_eval.py's dict-override behavior (also fixing 'University of Paris' mislabeled as DEM before its ORG entry in single[476,477] and distract[118]). 0.0000
fix_mislabeled_entity_type (v1.1) single: 2 rows (980,981); privacy_utility: 1 row (127) Single unambiguous coarse-type click-slip across all 37,475 entities: 'Christian' ("devoted Christian") was tagged ORG / Public Institution Name; corrected to DEM / Faith. Task 1: +0.0002; Task 2 & 3: 0.0000
sync_twin_desc_entity (v1.1) single: 4 rows (858,859,1048,1049); hard: 1 row (20); distract: 1 row (128); privacy_utility: 1 row (96) Restored 100.0% twin-description entity symmetry (same usr_desc => same entities across all 1,221 pairs) on the 2 pairs whose identical text carried complementary human selections (extra_431: Asia-Pacific Economic Cooperation + International Economic Policy Organization; origin_26: Paris + Buenos Aires). Task 1 & 3: +0.0003 to +0.0005
canonicalize_tag single: 10; multi: 6; hard: 1; distract: 3 Normalized 8 rare annotator synonym tags (e.g., Employee ID → Employee Badge Number, Home Address → Work or Home Detailed Address, Driver License → Driver's License) to 54 canonical tags. 0.0000
rebuild_span_safe_full_mask & rebuild_span_safe_adaptive_mask (v1.1) privacy_utility: 81 full-mask & 63 adaptive-mask rows Replaced legacy case-sensitive str.replace masking with deterministic, span-aware, case-insensitive, most_related-protected masking. Fixed 3 corrupted most_related spans (row[127] Christianity → <Public Institution Name>ity, row[140] 20th Floor, ..., Bangkok, row[147] Beilin District, Xi'an), 89 case-mismatch leaks in mask_usr_desc, and 63 case-mismatch leaks in adaptive_mask_usr_desc. Verbatim raw PII_masked.jsonl is preserved in GitHub data/paper_exact/. Section 4.5 raw prompts preserved in paper_exact; cleaned privacy_utility achieves 0 most_related corruption & 1.0000 true full-mask score.

Verified Empirical Metric Parity (ACL 2026 Saved Predictions, single)

Every frontier model improves slightly and uniformly under default v1.1 with 100% preserved model rankings:

Model (Task / Prompt) paper_exact (ACL 2026) default / cleaned (v1.1) $\Delta$
GPT-5 (Task 1 PII Detection, Strict-F1) 0.88008 0.88128 +0.00120
DeepSeek-V3.2 (Task 1 PII Detection, Strict-F1) 0.88857 0.88981 +0.00124
Qwen3-30B-Instruct (Task 1 PII Detection, Strict-F1) 0.82231 0.82359 +0.00127
GPT-5 (Task 3 Query-Unrelated, Self-CoT F1) 0.83977 (Paper: 0.840) 0.84120 +0.00143
GPT-5 (Task 3 Query-Unrelated, Naive F1) 0.83196 (Paper: 0.832) 0.83342 +0.00145
Qwen3-30B-Instruct (Task 3 Query-Unrelated, Auto-CoT F1) 0.81530 (Paper: 0.815) 0.81624 +0.00094

Additional Transparency Notes

  • PII-Hard Provenance: PII-Hard (200 samples) is an overlapping challenging subset selected from PII-Single (114 samples) and PII-Multi (86 samples) via metadata/hard_subset_indices.json, matching ACL 2026 Table 10 (1,834 entities in paper_exact) and Table 23 evaluations.
  • Intentionally Preserved Realism: Realistic synthetic PII formats — including common email domains (@163.com, @gmail.com), realistic regional license plates (湘A-65225, 黑A53975, 鄂A·55978), and natural English morphological realizations (30 out of 37,481 entities such as Double Eyelid → "double eyelids" or Islam → "Islamic") — are intentionally retained to preserve real-world evaluation fidelity and exact paper alignment.