PPMI: Privacy-Preserving LLM Interaction with Socratic Chain-of-Thought Reasoning and Homomorphically Encrypted Vector Databases
On the map: LLM reasoning → Reasoning for agents, planning and code
Abstract (arXiv)
Large language models (LLMs) are increasingly used as personal agents, accessing sensitive user data such as calendars, emails, and medical records. Users currently face a trade-off: They can send private records, many of which are stored in remote databases, to powerful but untrusted LLM providers, increasing their exposure risk. Alternatively, they can run less powerful models locally on trusted devices. We bridge this gap. Our Socratic Chain-of-Thought Reasoning first sends a generic, non-private user query to a powerful, untrusted LLM, which generates a Chain-of-Thought (CoT) prompt and detailed sub-queries without accessing user data. Next, we embed these sub-queries and perform encrypted sub-second semantic search using our Homomorphically Encrypted Vector Database across one million entries of a single user's private data. This represents a realistic scale of personal documents, emails, and records accumulated over years of digital activity. Finally, we feed the CoT prompt and the decrypted records to a local language model and generate the final response. On the LoCoMo long-context QA benchmark, our hybrid framework, combining GPT-4o with a local Llama-3.2-1B model, outperforms using GPT-4o alone by up to 7.1 percentage points. This demonstrates a first step toward systems where tasks are decomposed and split between untrusted strong LLMs and weak local ones, preserving user privacy.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 38 of its 87 references that are in the map. First posted on arXiv 19 Jun 2025.
Builds on
38 of 87 references.
References · 38
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,297
- 2024GPT-4o System Cardcited by 4,588
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
- 2020Dense Passage Retrieval for Open-Domain Question Answeringcited by 3,824
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,568
- 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Modelscited by 1,407
- 2023AgentBench: Evaluating LLMs as Agentscited by 1,267
- 2021Unsupervised Dense Information Retrieval with Contrastive Learningcited by 1,216
- 2023HuggingGPT: Solving AI Tasks with ChatGPT and its Friends in Hugging Facecited by 1,190
26 more
- 2022Measuring and Narrowing the Compositionality Gap in Language Modelscited by 1,075
- 2022STaR: Bootstrapping Reasoning With Reasoningcited by 940
- 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 853
- 2024Evaluating Very Long-Term Conversational Memory of LLM Agentscited by 830
- 2022Socratic Models: Composing Zero-Shot Multimodal Reasoning with Languagecited by 513
- 2023Safety-Tuned LLaMAs: Lessons From Improving the Safety of Large Language Models that Follow Instructionscited by 387
- 2024Hybrid LLM: Cost-Efficient and Quality-Aware Query Routingcited by 372
- 2022One Embedder, Any Task: Instruction-Finetuned Text Embeddingscited by 333
- 2023Can LLMs Keep a Secret? Testing Privacy Implications of Language Models via Contextual Integrity Theorycited by 230
- 2024The Good and The Bad: Exploring Privacy Issues in Retrieval-Augmented Generation (RAG)cited by 159
- 2024MediQ: Question-Asking LLMs and a Benchmark for Reliable Interactive Clinical Reasoningcited by 154
- 2024Language Model Cascades: Token-level uncertainty and beyondcited by 121
- 2023How to Train Your DRAGON: Diverse Augmentation Towards Generalizable Dense Retrievalcited by 118
- 2023Privacy-Preserving In-Context Learning with Differentially Private Few-Shot Generationcited by 96
- 2022MPCFormer: fast, performant and private Transformer inference with MPCcited by 69
- 2024PAPILLON: Privacy Preservation from Internet-based and Local Language Model Ensemblescited by 57
- 2023PUMA: Secure Inference of LLaMA-7B in Five Minutescited by 48
- 2023Reducing Privacy Risks in Online Self-Disclosures with Language Modelscited by 47
- 2024Feedback-Guided Extraction of Knowledge Base from Retrieval-Augmented LLM Applicationscited by 37
- 2024Large Language Models are Advanced Anonymizerscited by 22
- 2024OptLLM: Optimal Assignment of Queries to Large Language Modelscited by 16
- 2025A False Sense of Privacy: Evaluating Textual Data Sanitization Beyond Surface-level Privacy Leakagecited by 16
- 2024PermLLM: Private Inference of Large Language Models within 3 Seconds under WANcited by 14
- 2025Prεεmpt: Sanitizing Sensitive Prompts for LLMscited by 12
- 2024Wally: Batched Private Nearest Neighbor Search at Scalecited by 1
- 2025Togedule: Scheduling Meetings with Large Language Models and Adaptive Representations of Group Availabilitycited by 1
Built on by
Citing papers per year: 2025: 1; 2026: 5.
6 papers.
- 2025Position: Privacy Is Not Just Memorization!cited by 17
- 2026Contextualized Privacy Defense for LLM Agentscited by 7
- 2026Towards Secure Retrieval-Augmented Generation: A Comprehensive Review of Threats, Defenses and Benchmarkscited by 4
- 2026PiSAs: Benchmarking Contextual Integrity in Multi-User Agentic Systemscited by 2
- 2026Beyond Direct Identifiers: Probabilistic Privacy Risk Estimation for Privacy-Conscious LLM Query Delegationcited by 2
- 2026Quantization Enables Private Dense Retrieval against Malicious Service Providerscited by 0
- 2026Quantization Enables Private Dense Retrieval against Malicious Service Providers28 Sep 2026
- 2026Beyond Direct Identifiers: Probabilistic Privacy Risk Estimation for Privacy-Conscious LLM Query Delegation10 Aug 2026
- 2026PiSAs: Benchmarking Contextual Integrity in Multi-User Agentic Systems6 Jul 2026
- 2026Towards Secure Retrieval-Augmented Generation: A Comprehensive Review of Threats, Defenses and Benchmarks23 Mar 2026
- 2026Contextualized Privacy Defense for LLM Agents3 Mar 2026
- 2025Position: Privacy Is Not Just Memorization!2 Oct 2025
Similar, not cited
Close in wording, no citation either way
- 2025Agentic Privacy-Preserving Machine Learning
- 2024Privacy-Preserving Large Language Models: Mechanisms, Applications, and Future Directions
- 2025SAFENLIDB: A Privacy-Preserving Safety Alignment Framework for LLM-based Natural Language Database Interfaces
- 2024FastQuery: Communication-efficient Embedding Table Query for Private LLM Inference
- 2024Preserving Privacy in Large Language Models: A Survey on Current Threats and Solutions
- 2026Continual Pretraining on Encrypted Synthetic Data for Privacy-Preserving LLMs
- 2026Privacy Control in Conversational LLM Platforms: A Walkthrough Study
- 2023DB-GPT: Empowering Database Interactions with Private Large Language Models