Privacy Preserving In-Context-Learning Framework for Large Language Models

Hugging Face card for our AAAI 2026 paper on differentially private in-context learning (DP-ICL).

This repository contains no model weights. The method runs at inference time on an existing open-weight language model (the paper's experiments use instruction-tuned Gemma 1.1 2B), and the code is on GitHub.

Authors: Bishnu Bhusal, Manoj Acharya, Ramneet Kaur, Colin Samplawski, Anirban Roy, Adam D. Cobb, Rohit Chadha, Susmit Jha

What it does

Large language models can leak sensitive information that appears in their prompts. This framework lets an LLM use private records as in-context examples with formal (ฮต, ฮด)-differential privacy guarantees, and without fine-tuning the model. It runs inference on the private records, aggregates the per-token output distributions under differential privacy, and generates DP synthetic demonstrations for LLM prompts. A blending step combines private and public inference to improve utility. On in-context learning tasks it outperforms prior private ICL methods.

Requirements

The method needs the full token-level logit distribution at each decoding step, so it works with open-weight models you run yourself, not with APIs that return only generated text.

Citation

@inproceedings{bhusal2026privacy,
  title     = {Privacy Preserving In-Context-Learning Framework for Large Language Models},
  author    = {Bhusal, Bishnu and Acharya, Manoj and Kaur, Ramneet and Samplawski, Colin and Roy, Anirban and Cobb, Adam D. and Chadha, Rohit and Jha, Susmit},
  booktitle = {Proceedings of the AAAI Conference on Artificial Intelligence},
  volume    = {40},
  number    = {42},
  pages     = {35303--35312},
  year      = {2026},
  doi       = {10.1609/aaai.v40i42.40838}
}
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support