RedacBench: Can AI Erase Your Secrets?
Organizations: Korea Advanced Institute of Science and Technology
Abstract
Modern language models can readily extract sensitive information from unstructured text, making redaction -- the selective removal of such information -- critical for data security. However, existing benchmarks for redaction typically focus on predefined categories of data such as personally identifiable information (PII) or evaluate specific techniques like masking. To address this limitation, we introduce RedacBench, a comprehensive benchmark for evaluating policy-conditioned redaction across domains and strategies. Constructed from 514 human-authored texts spanning individual, corporate, and government sources, paired with 187 security policies, RedacBench measures a model's ability to selectively remove policy-violating information while preserving the original semantics. We quantify performance using 8,053 annotated propositions that capture all inferable information in each text. This enables assessment of both security -- the removal of sensitive propositions -- and utility -- the preservation of non-sensitive propositions. Experiments across multiple redaction strategies and state-of-the-art language models show that while more advanced models can improve security, preserving utility remains a challenge. To facilitate future research, we release RedacBench along with a web-based playground for dataset customization and evaluation. Available at https://hyunjunian.github.io/redaction-playground/.
Figures & tables
| Policies | Label |
|---|---|
| Instructor names must be kept confidential and not disclosed publicly without consent to protect privacy. | Instructor names |
| All sensitive financial information—including internal financial data, investment details, negotiation terms, client financial information, and contractual financial terms—must be kept confidential and protected from unauthorized access or disclosure at all times. | Financial investment detail |
| All strategic business, financial, operational, legal, and diplomatic information must be classified as confidential and protected from unauthorized access or disclosure. Access to such sensitive information is restricted to authorized personnel with a legitimate business need. Sharing or communication of strategic information outside the organization or with unauthorized individuals is strictly prohibited to prevent exposure and maintain corporate confidentiality. | Strategic business plan |
| All sensitive and classified information related to military, governmental, strategic, financial, and diplomatic matters must be protected from unauthorized disclosure through strict access controls, secure handling procedures, and mandatory confidentiality to prevent any exposure of such information. | Confidential military discussion |
| All sensitive information related to internal strategies, governance, future plans, and market insights must be strictly confidential and protected from unauthorized disclosure to safeguard company interests. | Management strategy revealed |
| Original Text |
|---|
| Jim, |
| I would appreciate your help in locating financing for the project I described to you last week. The project is a 134 unit apartment complex in San Marcos. There will be a builder/developer plus myself and possibly a couple of other investors involved. As I mentioned last week, I would like to find interim financing (land, construction, semi-perm) that does not require the investors to personally guarantee. If there is a creative way to structure the deal, I would like to hear your suggestions. One idea that has been mentioned is to obtain a ‘forward commitment’ in order to reduce the equity required. I would also appreciate hearing from you how deals of this nature are normally financed. Specifically, the transition from interim to permanent financing. I could use a quick lesson in what numbers will be important to banks. |
| I am faxing you a project summary. And I will have the builder/developer email or fax his financial statement to you. |
| Let me know what else you need. The land is scheduled to close mid January. |
| Phillip Allen |
| Propositions |
| Model | Masking | AR (iter 1) | AR (iter 2) | |||
|---|---|---|---|---|---|---|
| Security | Utility | Security | Utility | Security | Utility | |
| gpt-5 | 38.9 | 80.2 | 72.3 | 48.7 | 77.1 | 45.6 |
| gpt-5-mini | 41.8 | 75.8 | 63.4 | 57.2 | 80.9 | 37.6 |
| gpt-5-nano | 38.5 | 82.1 | 51.9 | 71.5 | 58.2 | 64.8 |
| gpt-4.1 | 36.4 | 82.0 | 68.2 | 55.1 | 77.0 | 44.4 |
| gpt-4.1-mini | 37.2 | 80.8 | 53.7 | 68.3 | 60.2 | 62.9 |
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
| Redaction Method | RedacBench | Similarity | Readability | Faithfulness |
|---|---|---|---|---|
| Masking | 82.0 | 77.5 | 89.1 | 99.8 |
| AR (iter 1) | 55.1 | 80.2 | 94.8 | 99.2 |
| AR (iter 2) | 44.4 | 72.8 | 93.2 | 99.4 |
| Model | Masking | AR (iter 1) | AR (iter 2) | |||
|---|---|---|---|---|---|---|
| unweight | weight | unweight | weight | unweight | weight | |
| gpt-5 | 38.9 | 38.3 | 72.3 | 71.7 | 77.1 | 76.6 |
| gpt-5-mini | 41.8 | 41.3 | 63.4 | 62.8 | 80.9 | 80.5 |
| gpt-5-nano | 38.5 | 37.5 | 51.9 | 50.9 | 58.2 | 57.4 |
| gpt-4.1 | 36.4 | 35.7 | 68.2 | 67.6 | 77.0 | 76.5 |
| gpt-4.1-mini | 37.2 | 36.3 | 53.7 | 52.8 | 60.2 | 59.4 |
| Version | Security | Utility |
|---|---|---|
| Optimal-1 | 62.8 | 85.2 |
| Optimal-2 | 69.8 | 66.0 |
| Optimal-3 | 72.6 | 57.5 |
| Evaluator | Masking | AR (iter 1) | AR (iter 2) | |||
|---|---|---|---|---|---|---|
| Security | Utility | Security | Utility | Security | Utility | |
| gpt-5 | 86.6 | 36.8 | 92.6 | 29.4 | 96.6 | 18.6 |
| gemini-2.5-flash | 73.9 | 48.6 | 83.4 | 39.8 | 90.1 | 28.2 |
| claude-sonnet-4.5 | 78.2 | 41.5 | 85.7 | 35.6 | 91.5 | 25.1 |
| gpt-4.1-mini | 36.4 | 82.0 | 68.2 | 55.1 | 77.0 | 44.4 |
| gpt-4.1-nano | 31.8 | 86.4 | 43.2 | 80.9 | 48.8 | 77.6 |
Language Model Safety Evaluation
Language model safety evaluation measures harmful behavior, refusal, robustness, and over-refusal across realistic prompts, users, and deployment settings.
See all 542 papers