What problem does it solve?
This Skill identifies demographic subgroups that receive weaker clinical NER or de-identification performance, helping prevent under-protection and hidden fairness failures that aggregate metrics can miss.
Core Features & Use Cases
- Subgroup Leakage Analysis: Measures PHI leakage and recall for synthetic demographic groups such as sex, age band, and race or ethnicity when available.
- Disparity Detection: Calculates leakage disparity, identifies the worst-performing group, and reports span counts and character totals for context.
- Governance Documentation: Produces JSON-ready fairness results for model cards, clinical AI reviews, and documentation of missing subgroup data.
- Use Case: Audit an OpenMed de-identification model before deployment to determine whether any synthetic demographic group has higher PHI leakage than the others.
Quick Start
Use the auditing-subgroup-fairness skill to run openmed.eval.fairness_report on a group-tagged gold corpus and summarize per-group recall, leakage, disparity, and data gaps.