ContextLeak is an empirical auditing framework for measuring information leakage in private in-context learning methods. The project studies whether sensitive information contained in in-context examples can still be exposed through model outputs, even when privacy-preserving mechanisms or heuristic defenses are applied.
Our approach uses canary insertion and targeted adversarial queries to probe worst-case leakage behavior. By designing different types of canaries and query strategies, ContextLeak provides a systematic way to evaluate how much private information may be recoverable from model responses under different privacy mechanisms, model families, and task settings.
We evaluate ContextLeak across both classification and open-ended generation tasks, including private ICL mechanisms with theoretical guarantees and heuristic defenses. The results highlight the gap between theoretical privacy protection and empirical leakage behavior, and show the importance of auditing deployed LLM systems beyond relying only on formal guarantees.
@inproceedings{choi2025contextleak,title={ContextLeak: Auditing Leakage in Private In-Context Learning Methods},author={Choi, Jacob and Cao, Shuying and Dong, Xingjian and Banayeeanzade, Amin and Zhu, Wang Bill and Jia, Robin and Karimireddy, Sai Praneeth},booktitle={Conference on Language Modeling (COLM)},year={2026},}
In Preparation
NeuroImAgent: An AI Agent for Translating Pathology to Neuroradiology
Shuying Cao*, Yixin Wang*, et al., Yejin Choi, Michael Zeineh
* Equal contribution
Language Models Interpret Prompts and Intent Differently From Humans
Lihao Sun, Shan Gao, Shuying Cao, Sai Praneeth Karimireddy, Robert Hawkins, Diyi Yang, Xing Xie, Xiaoyuan Yi
Under Review
Edit-Consistent Image Caches for Explicit Scene Representations
Peilin Cai, Cho-Ying Wu, Hengyuan Zhang, Xinyu Huang, Shuying Cao, Jiageng Mao, Liu Ren, Yue Wang