Evaluates the ability of PII masking models to correctly identify and classify sensitive information in text. It probes performance across diverse contexts, multilingual inputs, noisy formats, and evolving entity types. Use when the user wants to benchmark on PII Masking Dataset, or asks about evaluating this task. Reports non-identification.
Scanned 9/11/2026
Install to Claude Code
npx -y skills add qhjqhj00/research-skills-pool --skill pii-masking-eval --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Pii Masking Eval?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/qhjqhj00-pii-masking-eval)More formats (shields.io, HTML) on the badges page.
---
name: pii-masking-eval
description: Evaluates the ability of PII masking models to correctly identify and classify sensitive information in text. It probes performance across diverse contexts, multilingual inputs, noisy formats, and evolving entity types. Use when the user wants to benchmark on PII Masking Dataset, or asks about evaluating this task. Reports non-identification.
metadata:
skill_kind: dataset_eval
source_arxiv: 2504.12308
bibtex_key: singh2025unmasking
confidence: high
---
# pii-masking-eval
> Unmasking the Reality of PII Masking Models: Performance Gaps and the Call for Accountability — Singh et al. (2025) (arXiv:2504.12308, 2025)
## What this evaluates
Evaluates the ability of PII masking models to correctly identify and classify sensitive information in text. It probes performance across diverse contexts, multilingual inputs, noisy formats, and evolving entity types.
## Datasets
- **PII Masking Dataset** — total 17000; splits: test (17000)
## Metrics
- `non-identification` **(primary)** — range: percent
- Percentage of test instances where the model outputs an empty list, indicating it failed to detect any PII in the input text.
- `misclassification` — range: percent
- Percentage of test instances where the model correctly detected the PII substring but assigned an incorrect PII type label.
## Input / output format
**Input**: Text paragraphs containing a known 'seed PII' entity, with variations in phrasing, syntax, context, and multilingualism.
**Output**: List of substrings identified as PII along with their predicted PII type labels.
## Scoring recipe
```python
def evaluate(predictions, gold_seed, gold_type):
detected = False
detected_type = None
for substr, ptype in predictions:
if substr == gold_seed:
detected = True
detected_type = ptype
break
if not detected:
return 'non_identified'
elif detected_type != gold_type:
return 'misclassified'
return 'correct'
```
## Common pitfalls
- Regex matching is used for string comparison, so minor formatting differences (e.g., spaces, hyphens) in the model's output vs. the seed PII will count as non-identification.
- The evaluation only checks if the exact seed PII string is present in the predictions, ignoring other correctly detected entities in the same paragraph.
## Evidence (verbatim from paper)
> We used regex matching between the prediction and the seed PII to find out whether the model was able to detect the correct string or not. Table 3 lists the numbers of non-identification of any PII in the input text for the models across all the feature dimensions.
## Citation
```bibtex
@misc{singh2025unmasking,
title={Unmasking the Reality of PII Masking Models: Performance Gaps and the Call for Accountability},
author={Singh et al. (2025)},
year={2025},
note={arXiv:2504.12308}
}
```
- arXiv: 2504.12308
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!