Research map / Large language models / Language, safety and interpretability
ContextLens: Modeling Imperfect Privacy and Safety Context for Legal Compliance
Haoran Li, Yulin Chen, Huihao Jing, Wenbin Hu, Tsz Ho Li, Chanhou Lou, Hong Ting Tsang, Sirui Han, Yangqiu Song
Beihang University · Hong Kong University of Science and Technology · National University of Singapore · University of Macau
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| prompt with ContextLens pipeline instead of direct prompting | GPT-4o-mini · PrivaCI-Bench EU AI Act | accuracy (%): 71.16 -> 88.11 | Improved |
| prompt with ContextLens instead of direct prompting | Llama-3.1-8B-Instruct · PrivaCI-Bench average | accuracy (%): 72.78 -> 87.73 | Improved |
| prompt with ContextLens instead of direct prompting | GPT-4o-mini · PrivaCI-Bench average | accuracy (%): 81.68 -> 89.99 | Improved |
| prompt with ContextLens instead of direct prompting | GPT-4o-mini · PrivaCI-Bench GDPR | accuracy (%): 92.19 -> 91.87 | No clear effect |
| prompt with ContextLens instead of Long CoT prompting | DeepSeek-R1 · PrivaCI-Bench GDPR | accuracy (%): 90.44 -> 80.89 | Hurt |
| prompt with ContextLens instead of Long CoT prompting | Gemini-2.5-Flash · PrivaCI-Bench average | accuracy (%): 86.02 -> 86.14 | No clear effect |
| prompt with ContextLens instead of Long CoT prompting | Gemini-2.5-Flash · PrivaCI-Bench GDPR | accuracy (%): 92.03 -> 83.12 | Hurt |
| replace BM25 with LegalBERT retriever in RAG (ablation) | o3-mini · PrivaCI-Bench GDPR | accuracy (%): 91.24 -> 69.11 | Hurt |
| replace BM25 with LegalBERT retriever in RAG (ablation) | GPT-4o · PrivaCI-Bench EU AI Act | accuracy (%): 77.75 -> 78.83 | Mixed |
| exclude indeterminate cases lacking permissive and prohibitive basis (ablation) | DeepSeek-R1 under ContextLens · PrivaCI-Bench GDPR | accuracy (%): 80.89 -> 83.22 | Improved |
| exclude indeterminate cases lacking permissive and prohibitive basis (ablation) | GPT-4o under ContextLens · PrivaCI-Bench GDPR | accuracy (%): 89.31 -> 90.13 | Improved |
| contexts with unknown factors (imperfect context) | GPT-4o-mini judge, GDPR Art. 6 · PrivaCI-Bench GDPR | imperfect-case ratio, wrong minus correct: 39.86 -> 68.62 (+28.76) | Hurt |
Open problems in data and evaluation methodology
Do LLM-based data and evaluation methods hold beyond English, one domain and a few models?
- Results come from one narrow domain and may not carry over. · 25 papers state it
- Larger and closed models are untested. · 20 papers state it
- Data and tests are in English or one other language only. · 19 papers state it
Closest papers by meaning
- CASE-Bench: Context-Aware SafEty Benchmark for Large Language Models (ICML 2025 · similarity 0.88)
- Privacy Reasoning in Ambiguous Contexts (NeurIPS 2025 · similarity 0.87)
- Can LLMs Keep a Secret? Testing Privacy Implications of Language Models via Contextual Integrity Theory (ICLR 2024 · similarity 0.87)
- PrivacyLens: Evaluating Privacy Norm Awareness of Language Models in Action (NeurIPS 2024 · similarity 0.86)
- Position: Contextual Integrity is Inadequately Applied to Language Models (ICML 2025 · similarity 0.86)
- Contextual Integrity in LLMs via Reasoning and Reinforcement Learning (NeurIPS 2025 · similarity 0.86)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.