SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2310.02469 · 2023

PrivacyMind: Large Language Models Can Be Contextual Privacy Protection Learners

arXiv · PDF · Open in the Atlas

Code that ran

2 of 4 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 2 failures of our instrument; 2 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2310.02469.json · badge: /api/ran/2310.02469.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
yijia-xiao/pplm canonical (classifier label)
classifier basis not recorded on the link
2 ran · 2 no recorded run
FunctionStatusWhere it lives
load_llama_from_config Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
yijia-xiao/pplm/inference/model_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from zhu-minjun/safetylock, is pointer only (licence: NONE) · get_code("b4c052fb373aef07")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yijia-xiao/pplm when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_peft_model Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
yijia-xiao/pplm/inference/model_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from zhu-minjun/safetylock, is pointer only (licence: NONE) · get_code("6d5ba8546b6aad2c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yijia-xiao/pplm when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_model Not yet run
unverified (harvested, no recorded run)
yijia-xiao/pplm/inference/model_utils.py
pointer only (licence: NONE); the stored copy get_code serves, from zhu-minjun/safetylock, is pointer only (licence: NONE) · get_code("efea256714a4cb99")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yijia-xiao/pplm when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

load_sharded_model_single_gpu Not yet run
unverified (harvested, no recorded run)
yijia-xiao/pplm/model_checkpointing/checkpoint_handler.py
pointer only (licence: NONE) · get_code("abd14de7398ccffe")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, yijia-xiao/pplm when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 4 samples lifted from this paper's linked repositories, 4 carry a function identity and 0 do not. Of the 4 distinct functions with an identity, 4 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 3 the same month, 4 later) and 0 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
load_peft_model 7 other papers
1 dated earlier, 2 the same month, 4 later
2308.10855 (2023-08)
LatEval: An Interactive LLMs Evaluation Benchmark with Incomplete Information from Lateral Thinking Puzzles
2310.06498 (2023-10)
A New Benchmark and Reverse Validation Method for Passage-level Hallucination Detection
2310.08491 (2023-10)
Prometheus: Inducing Fine-grained Evaluation Capability in Language Models
and 4 more not named here
load_llama_from_config 6 other papers
2 the same month, 4 later
2310.06498 (2023-10)
A New Benchmark and Reverse Validation Method for Passage-level Hallucination Detection
2310.08491 (2023-10)
Prometheus: Inducing Fine-grained Evaluation Capability in Language Models
2403.04746 (2024-03)
LLMs in the Imaginarium: Tool Learning through Simulated Trial and Error
and 3 more not named here
load_sharded_model_single_gpu 4 other papers
1 the same month, 3 later
2310.08491 (2023-10)
Prometheus: Inducing Fine-grained Evaluation Capability in Language Models
2402.12030 (2024-02)
Towards Cross-Tokenizer Distillation: the Universal Logit Distillation Loss for LLMs
2402.18540 (2024-02)
Keeping LLMs Aligned After Fine-tuning: The Crucial Role of Prompt Templates
and 1 more not named here
load_model 3 other papers
1 dated earlier, 2 later
2308.10855 (2023-08)
LatEval: An Interactive LLMs Evaluation Benchmark with Incomplete Information from Lateral Thinking Puzzles
2404.01099 (2024-04)
What is in Your Safe Data? Identifying Benign Data that Breaks Safety
2410.10343 (2024-10)
Locking Down the Finetuned LLMs Safety

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

The proliferation of Large Language Models (LLMs) has driven considerable interest in fine-tuning them with domain-specific data to create specialized language models. Nevertheless, such domain-specific fine-tuning data often contains contextually sensitive personally identifiable information (PII). Direct fine-tuning of LLMs on this data without privacy protection poses a risk of data leakage of sensitive PII during inference time. To address this challenge, we introduce Contextual Privacy Protection Language Models (PrivacyMind), a novel paradigm for fine-tuning LLMs that effectively injects domain-specific knowledge while safeguarding inference-time data privacy. Our work offers a theoretical analysis for model design and benchmarks various techniques such as corpus curation, penalty-based unlikelihood in training loss, instruction-based tuning, etc. Extensive experiments across diverse datasets and scenarios demonstrate the effectiveness of our approaches. In particular, instruction tuning with both positive and negative examples stands out as a promising method, effectively protecting private data while enhancing the model's knowledge. Our work underscores the potential for Large Language Models as robust contextual privacy protection learners. The complete code and data for the work can be found at https://github.com/Yijia-Xiao/PrivacyMind.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2310.02469")
get_code_for_paper("2310.02469")
have("2310.02469")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2310.02469.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2310.02469.svg)](https://syntology.ai/paper/2310.02469)

Connect an agent — have() is free.