Papers › Continual Pretraining on Encrypted Synthetic Data for Privacy-Preserving LLMs

Continual Pretraining on Encrypted Synthetic Data for Privacy-Preserving LLMs

9 Jan 2026arXiv:2601.05635added by Syntology

Honghao Liu, Xuhui Jiang, Chengjin Xu, Cehao Yang, Yiran Cheng, Lionel Ni, Jian Guo

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Preserving privacy in sensitive data while pretraining large language models on small, domain-specific corpora presents a significant challenge. In this work, we take an exploratory step toward privacy-preserving continual pretraining by proposing an entity-based framework that synthesizes encrypted training data to protect personally identifiable information (PII). Our approach constructs a weighted entity graph to guide data synthesis and applies deterministic encryption to PII entities, enabling LLMs to encode new knowledge through continual pretraining while granting authorized access to sensitive data through decryption keys. Our results on limited-scale datasets demonstrate that our pretrained models outperform base models and ensure PII security, while exhibiting a modest performance gap compared to models trained on unencrypted synthetic data. We further show that increasing the number of entities and leveraging graph-based synthesis improves model performance, and that encrypted models retain instruction-following capabilities with long retrieved contexts. We discuss the security implications and limitations of deterministic encryption, positioning this work as an initial investigation into the design space of encrypted data pretraining for privacy-preserving LLMs. Our code is available at https://github.com/DataArcTech/SoE.

PaperPDFCode Syntology ran

In Syntology For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2601.05635")

Code

Syntology Ran 0 of 10 code samples harvested from 1 repository linked to this paper; 10 have no recorded run.

By repository: found in paper text by Syntology: 10 samples from 1 repository, 0 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

DataArcTech/SoE found in paper text by SyntologyApache-2.0 report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

10 samples harvested; 0 ran; 0 honoured the contract we drafted; 10 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

10unverified

Licence: 0 of the 10 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from DataArcTech/SoE. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

chat_question_format DataArcTech/SoE/demo/crypto_chat_bot.py found in paper text by Syntology unverified Apache-2.0 (permissive) · d27c303754bc664a · report
chat_with_llm DataArcTech/SoE/demo/vector_database.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 346d6e77d8353cec · report
get_synthesized_data_from_json DataArcTech/SoE/crypto/utils.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 1ba274d678b1cfd2 · report
get_vote_answer DataArcTech/SoE/calcu_score.py found in paper text by Syntology unverified Apache-2.0 (permissive) · fce9fb5f33ab33f7 · report
insert_dash DataArcTech/SoE/crypto/utils.py found in paper text by Syntology unverified Apache-2.0 (permissive) · c8a529d572469848 · report
jload_list DataArcTech/SoE/crypto/utils.py found in paper text by Syntology unverified Apache-2.0 (permissive) · d6d25a00486cb0a3 · report
load_synthesized_data DataArcTech/SoE/crypto/cipher_token.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 16148afc30b7cf0c · report
multiple_choice_question_format DataArcTech/SoE/demo/crypto_chat_bot.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 8bdd586e1ec8b886 · report
replace_base64_with_tokens DataArcTech/SoE/crypto/crypto_entity.py found in paper text by Syntology unverified Apache-2.0 (permissive) · a6d55c66986f1e8d · report
short_answer_question_format DataArcTech/SoE/demo/crypto_chat_bot.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 19089cfe06cc10ac · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2601.05635, was issued in January 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections