Conceptio › Archive › arXiv CS
arXiv CS open access

Beyond Direct Identifiers: Probabilistic Privacy Risk Estimation for Privacy-Conscious LLM Query Delegation

2026 · arxiv_cs
arXiv CS · Papers · 2026
Open Source ↗Direct PDF ↓
cryptographycybersecurityprivacysecurity
Conceptio Open Archive

Analyze & explore related research in Conceptio

Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.

Beyond Direct Identifiers: Probabilistic Privacy Risk Estimation for Privacy-Conscious LLM Query Delegation Li Siyan, Zhou Yu, Julia Hirschberg Department of Computer Science Columbia University siyan.li@columbia.edu

arXiv:2608.09140v1 [cs.CR] 10 Aug 2026

Abstract Recent work on protecting privacy during userLLM interactions often focuses on direct, explicit identifiers: the personally-identifiable information (PII) captured by standard detectors. One such approach is Privacy-Conscious Delegation (PCD), where a local LLM acts as an intermediary. However, privacy risk does not stem solely from explicit identifiers but also PII-free self-disclosures, leaving users identifiable through combinations of quasi-identifying traits. We investigate a probabilistic variant of PCD, where we augment its objectives with an LLM-driven probabilistic estimation of kanonymity. To facilitate this, we first create the PUPA-SD dataset, which contains naturalistic user queries with self-disclosure. Our preliminary results indicate that optimizing PAPILLON on PUPA-SD improves quality on unseen conversations across a variety of local models and produces the best privacy-utility balance for Llama-3.2-3B, while smaller models struggle to jointly optimize quality and privacy. We propose k-anonymity as a useful auxiliary metric for tackling PCD.

1

Introduction and Background

LLM-powered agents and interactive systems pose significant privacy risks (He et al., 2025), not only induced by memorization of user information (Carlini et al., 2022) from model training and therefore vulnerability to data extraction attacks (Carlini et al., 2021), but also by self-disclosure during human-LLM interactions (Mireshghallah et al., 2024; Zhang et al., 2024). To exacerbate the matter, as LLMs exhibit more and more human-like traits in conversation, such as empathy and matching user linguistic styles (Peter et al., 2025), users develop greater trust in the models (Cohn et al., 2024; Reinecke et al., 2025), increasing their willingness to share intimate personal details. Sharing private information increases inference-time privacy risks, since these self-disclosures could be

used for the next round of training or divulged due to server-side data breaches. Prior work on protecting users from inferencetime privacy risks has focused on reducing the exposure of PIIs and explicit identifiers to untrusted, remote frontier models through text sanitization and abstraction (Chowdhury et al., 2025; Huang et al., 2024; Pilán et al., 2025) or by leveraging trusted, locally hosted models (Bae et al., 2025). One framework that formalizes this task structure is Privacy-Conscious Delegation (PCD) (Siyan et al., 2025a; Hui et al., 2025). PAPILLON serves as a strong baseline for PCD. We discuss PCD, PAPILLON, and the PUPA dataset from Siyan et al. (2025a) in Section 2. It is important to note, however, that eliminating explicit identifiers may not fully preserve anonymity: users can remain identifiable via quasiidentifiers (traits whose combinations uniquely narrow the anonymity set). The notion of k-anonymity (Sweeney, 2002) formalizes this risk in terms of the ease of pinpointing a person given a set of traits with respect to a known population. To operationalize anonymity reasoning for free-form texts, Zheng et al. (2025) introduces BRANCH, a probabilistic framework that leverages LLMs’ knowledge of census data and logical dependencies to estimate k-anonymity with relatively high accuracy. BRANCH therefore allows us to integrate kanonymity into PAPILLON-based pipelines, leveraging the flexibility of prompt optimization. In this work, we take a first step toward probabilistic privacy-conscious delegation by augmenting PCD objectives beyond explicit identifier leakage. Concretely, we begin with PAPILLON as a strong PCD framework and integrate BRANCH-based probabilistic k-anonymity as an additional objective. In order to optimize and evaluate our probabilistic framework, we extract PUPA-SD dataset from subsets of WildChat (Zhao et al., 2024) and LMSYS-Chat-1M (Zheng et al.,

(1) Raw Query

(2) Naive PII Removal

(3) PCD-k Rewrite

“I’m a 34-year-old nurse living in Austin, TX. I was recently diagnosed with Type 2 diabetes and I’m pregnant with my first child. What dietary guidelines should I follow?”

“I’m a nurse living in a city. I was recently diagnosed with Type 2 diabetes and I’m pregnant with my first child. What dietary guidelines should I follow?”

“Someone managing a chronic metabolic condition during pregnancy is looking for general dietary guidelines. What are the key nutritional recommendations?”

k-anonymity ≈ 1

PII leaked: 2

k-anonymity ≈ 980

underlined red = PII

PII leaked: 0

k-anonymity ≈ 1.2M

PII leaked: 0

underlined blue italic = non-explicit quasi-identifier

Figure 1: A motivating example demonstrating that eliminating explicit identifier leakage alone is not sufficient to fully preserve user privacy, as k-anonymity remains relatively low even after naive identifier removal.

2023), containing 166 real user queries containing self-disclosures. We show that optimizing for k-anonymity on PUPA-SD can transfer to heldout PUPA-TNB, with Llama-3.2-3B achieving the strongest privacy-utility balance after optimization (Quality: 67.4, PII Leakage: 11.0).

2

Background

2.1

Privacy-Conscious Delegation

In PCD, given a user query q containing private information units p1 , p2 , ..., pn , local model ML OCAL , and remote model MR EMOTE , a PCD system must ensure MR EMOTE receives as little private information as possible while maintaining comparable response quality to passing q into MR EMOTE directly. PAPILLON provides a strong, promptoptimization-based baseline for PCD. Given q, ML OCAL produces a redacted query q ′ that is sent to MR EMOTE , whose response is modified by ML OCAL to cater to q. The pipeline can be prompt optimized, maintaining quality on 85.5% of user queries while leaking only 7.5% of information when using Llama-3.1-8B-Instruct as ML OCAL . PAPILLON presents one approach to addressing PCD, but it is not the only one; for instance, instead of firing a query to MR EMOTE for every user query, ML OCAL could be more selective. PUPA is created from extracting PII-containing user utterances from WildChat (Zhao et al., 2024). We use its held-out set, PUPA-TNB, for evaluation. 2.2

BRANCH

Estimating k-anonymity over free-form text is difficult because disclosures are unstructured and statistically interdependent. BRANCH (Zheng et al., 2025) addresses this by modeling a text as a joint distribution over personal attributes. Given a text, it first selects the disclosures that can plausibly be

estimated from population statistics (e.g., nurse, Austin, TX, pregnant), then elicits a Bayesian network over them: an LLM chooses an ordering of the disclosures as random variables and, for each one, determines which of the variables it is conditionally dependent on. This factors the joint distribution into probability terms, each of which is converted into a natural-language query and estimated by an LLM from its pretraining knowledge of demographic statistics. Recombining these estimates and multiplying by a population size yields the expected number of people matching the disclosed attributes. Because the estimator consumes only text and returns a scalar, it can be directly incorporated into a prompt-optimization objective.

3

PUPA-SD Dataset

Following PUPA, the dataset used to construct and evaluate PAPILLON for PCD (Siyan et al., 2025a), we construct PUPA-Self-Disclosure (PUPA-SD) from initial conversation turns in WildChat and LMSYS-Chat-1M. For feasible manual inspection, we limit each dataset to its first 20,000 instances. 3.1

Self-Disclosure Extraction

To quickly identify conversations with selfdisclosure and improve the evaluation pipeline’s accuracy in Section 4, we develop a validated selfdisclosure extraction module. We choose to create our own module rather than using existing disclosure extraction models (Dou et al., 2024) because they are often trained on Reddit-style posts, which may represent a significant shift in distribution from conversation data. Because the extraction process handles large data volumes, we need a fast model for quick evaluation and improvement. Therefore, we test three models with generally high performance and decent speed: GPT-4.1-mini, GPT-5-mini, and

Model

Prec.

Rec.

F-1

GPT-4.1-mini GPT-5-mini GPT-4o-mini

77.3 66.6 74.6

69.9 79.3 51.7

70.3 70.7 58.9

Table 1: Precision, recall, and F-1 scores of different models when evaluated on the synthetic data from Zheng et al. (2025) using our LLM judge.

GPT-4o-mini. We define seed prompts for a selfdisclosure extractor and evaluate each model on 50 synthetic texts with human-annotated disclosure from Zheng et al. (2025) to identify the most suitable model. An GPT-5-based LLM judge is fixed to compare alternatives using the F-1 score to identify disclosures, concretely computed as follows: # Correct Disclosures p= # Predicted Disclosures # Correct Disclosures r= # Ground Truth Disclosures 2∗p∗r F1 = p+r Results are documented in Table 1. Given its superior performance, we select GPT-5-mini for all disclosure extraction and ordering tasks (prompts in Appendix A). We further optimize this module using DSPy’s MIPROv2 (Opsahl-Ong et al., 2024) and GPT-5 to generate 10 candidate prompt sets (Siyan et al., 2025b), selecting the best-performing combination (Disclosure F-1 = 72.5). 3.2

Data Processing

We apply the finalized extraction pipeline to the 40,000 initial conversation turns from WildChat and LMSYS-Chat-1M, and additionally filter out non-English and sexual instances during manual inspection. This process yielded a set of 166 turns. We aim to perform further processing and extraction in the future to grow the dataset size. See example instances of PUPA-SD in Appendix B. PUPA-SD contains PII-free instances. To quantify this, we use GLiNER-PII1 , a state-of-the-art PII extraction model from NVIDIA, to extract information, including emails, names, company names, and locations, from PUPA-SD queries. We present the distribution of the number of extracted PIIs in Figure 2. This further emphasizes that eliminating PII leakage does not fully prevent self-disclosure. 1

https://huggingface.co/nvidia/gliner-PII

Figure 2: The distribution of the number of PII units in PUPA-SD instances. Here, N represents the number of PII units present, as defined by GLiNER-PII extractions.

4

Privacy-Conscious Delegation with k-Anonymity (PCD-k)

4.1

Task Definition

Similar to the original definition of PrivacyConscious Delegation, our modified task involves utilizing both a trusted but weaker model, ML OCAL , and an untrusted but stronger one, MR EMOTE . ML OCAL produces a query q ′ based on the private user query q containing PII units p1 , p2 , ...pn . Here, in addition to preserving the quality of the final response with respect to the original response from the LLM, as well as reducing the amount of PII unit leakage to MR EMOTE , we additionally aim to increase k-anonymity of information passed to MR EMOTE . To evaluate our task, we employ the same validated LLM judges from Siyan et al. (2025a); additionally, we implement a version of BRANCH to estimate k-anonymity. 4.2

Implementing Probabilistic Risk Estimation

BRANCH (Zheng et al., 2025) is a heavily LLMdependent approach for estimating privacy risk. While accurate, it is costly, motivating improved data efficiency for swift evaluation of our probabilistic PAPILLON pipelines. We adopt BRANCH’s disclosure ordering and query generation stages, simplifying the elicited Bayesian structure to a sequence of cumulative conditioning groups, in which disclosures entering the same group are treated as conditionally independent given the preceding group. We apply a minimally altered version (Appendix A) of the self-disclosure extractor, modified to extract disclosures about any individual. We then apply the LLM-based disclosure ordering and query generation from Zheng et al. (2025). GPT-5-mini estimates either the total originating

population or the percentage of individuals with given attributes; if insufficient information exists, a fallback population of 400M (English speakers) is used. To reduce redundant LLM calls, queries and normalized answers are indexed using openai/text-embedding-3-small: a new query with cosine similarity ≥ 0.95 to a stored query reuses its cached result. k-anonymity is then computed by sequentially multiplying the population estimate by each percentage, as in BRANCH. 4.3

Evaluation Metric

In addition to the final response quality, PII leakage, and prompt well-formedness metrics from Siyan et al. (2025a), we instantiate a kanonymity metric. To scale the k-anonymity metric to the [0,1] range in accordance with PAPILLON, we note that while dividing by the total population (400M) is a natural normalization, it yields near-zero values where meaningfully different anonymity levels (e.g., k = 1, 000 vs. k = 100,000) become indistinguishable. We therefore define the reward as log2 (k)/ log2 (400M), which compresses the range while preserving meaningful distinctions across anonymity levels.

5

Experiments

5.1

k-Anonymity Pipeline Sanity Check

To ensure our probabilistic k-anonymity estimator behaves as expected, we examine whether estimated k-anonymity negatively correlates with the degree of self-disclosure in the original query. Intuitively, queries involving more PIIs should narrow the anonymity set and yield lower k-anonymity estimates. We compute the Spearman correlation between the number of PIIs per query and the estimated k-anonymity on PUPA-TNB, which contains a higher density of PII and self-disclosure than PUPA-SD, obtaining ρ = −0.4045 (p < 10−12 ). We emphasize that this correlation is expected by construction: because the estimate is a function of the detected disclosures, a negative relationship confirms the pipeline’s monotonic behavior but does not establish that the estimations are calibrated against real statistics. We therefore treat this as a sanity check rather than formal validation, and discuss calibration as a limitation. 5.2

Prompt Optimization

We adopt PAPILLON as our PCD-k pipeline unchanged, augmenting only the optimization objec-

Figure 3: The Pareto line plot (before → after optimization on PUPA-SD) when evaluating models on PUPATNB. The dashed line establishes the post-optimization Pareto frontier. See the full results in Table 2.

tive to additionally account for k-anonymity. For prompt optimization, we apply DSPy’s SIMBA2 prompt optimizer. Given a metric and a threshold of success, SIMBA samples minibatches of data, identifies difficult examples via metric variance, and then either updates the prompt via selfreflection or adds successful input-output pairs as in-context demonstrations. We limit the number of demonstrations to one. Throughout our prompt optimization experiments, the metric is computed as follows: MetricPAPILLON + k_Anon(q ′ ), where MetricPAPILLON is a weighted sum of response quality and prompt well-formedness, i.e., the utility term. PII leakage is not included during optimization, but we measure it during evaluation. This composite metric value is normalized. We optimize on PUPA-SD and evaluate on PUPA-TNB, testing Llama-3.2-{1B,3B}Instruct, Llama-3.1-8B-Instruct, and Qwen2.5-{0.5B,1.5B,7B}-Instruct as ML OCAL , with GPT-4o-mini fixed as MR EMOTE and GPT-5-mini as the LLM judge. Figure 3 and Table 2 report results across all local models before and after SIMBA optimization on PUPA-SD, evaluated on the held-out PUPA-TNB. Optimization generally improves response quality, with the largest gains observed in Llama-3.2-3B (+13.2) and Qwen-2.5-1.5B (+17.3). PII leakage results are mixed: Llama-3.2-3B achieves a substantial reduction (29.1 → 11.0), while Qwen models show increased leakage after optimization, suggesting that smaller 2

https://dspy.ai/api/optimizers/SIMBA/

Llama-3.2-1B-Instruct Llama-3.2-3B-Instruct Llama-3.1-8B-Instruct Qwen-2.5-0.5B-Instruct Qwen-2.5-1.5B-Instruct Qwen-2.5-7B-Instruct

Before Optimization Q UAL ↑ L EAK ↓ k-A NON . ↑

After Optimization Q UAL ↑ L EAK ↓ k-A NON . ↑

38.30 54.22 74.65 26.88 47.47 83.41

48.05 67.37 82.79 45.58 64.81 79.72

44.48 29.13 24.85 54.98 54.40 35.12

72.49 94.67 96.01 93.86 95.48 93.68

33.25 11.03 35.77 62.09 62.95 66.51

73.97 95.46 94.35 94.50 94.66 89.38

Table 2: Average quality, PII leakage, and k-anonymity scores (0–100, higher is better) of PAPILLON pipelines using various local models and GPT-4o-mini as the proprietary model on PUPA-TNB, which is not used for prompt optimization.

Qwen models struggle to jointly optimize quality and privacy. This trade-off is similarly observed for Llama-3.1-8B-Instruct, where the significant improvement in quality is accompanied by increased PII leakage. Qwen-2.5-7B is the only model where quality degrades after optimization (83.4 → 79.7), potentially due to the model already performing near its ceiling before optimization. k-anonymity scores remain largely stable across all models and conditions, which could be related to rewritten user queries either no longer containing disclosures or becoming impossible to estimate using publicly available data, resulting in the estimator falling back to the full population. One possible explanation of the heterogeneity of improvements across models is that, with the kanonymity term contributing little variation and PII leakage excluded from the metric by construction, the objective is driven largely by the quality metric. We note that Llama-3.2-1B does receive a lower k-anonymity score (72.5), indicating that the metric remains discriminative when disclosures survive the rewrite, so this account is unlikely to apply uniformly. We leave a direct measurement of estimator fallback rates to future work.

6

Discussion and Conclusion

In this work, we take a first step toward probabilistic privacy-conscious delegation by augmenting PCD beyond PII leakage to incorporate kanonymity as an objective. To support this, we introduce PUPA-SD and implement an efficient BRANCH-based k-anonymity estimator. Our experiments show that optimization on PUPA-SD yields improvements in quality for most models, but not all models successfully reduce leakage, suggesting that model capacity and benchmark headroom are key factors in navigating the privacy-

utility tradeoff. Future work may examine the effect of optimizing on both k-anonymity and PII leakage metrics. We hope this work motivates future research into probabilistic privacy risk estimation for human-LLM interaction, particularly as users increasingly share sensitive personal context with frontier models they do not control.

Limitation One core limitation is the potential inaccuracy in various parts of the evaluation pipeline. To begin with, BRANCH can often under-estimate k-anonymity as a result of the independence assumption. However, this is justifiable as the estimate would be relatively conservative, suitable for privacy preservation purposes. A more problematic issue is that our estimators are not calibrated against or grounded in real population statistics, as the estimation hinges entirely upon LLM-encoded prior knowledge. Due to financial constraints, we could not leverage the most capable models for selfdisclosure extraction and k-anonymity estimation, meaning LLM-encoded census knowledge may be outdated or imprecise; future work could incorporate agentic web search to ground estimates in current data. PUPA-SD currently contains only 166 instances, limiting statistical power and precluding posttraining approaches that could further boost smaller models’ instruction-following ability; we plan to scale the dataset by broadening the extraction pipeline to additional conversations from both existing corpora and new sources. Finally, PUPA-SD and our evaluation pipeline are restricted to English; extending to multilingual settings would broaden applicability, though manual inspection would become increasingly challenging as more languages are incorporated.

References Yubeen Bae, Minchan Kim, Jaejin Lee, Sangbum Kim, Jaehyung Kim, Yejin Choi, and Niloofar Mireshghallah. 2025. Ppmi: Privacy-preserving llm interaction with socratic chain-of-thought reasoning and homomorphically encrypted vector databases. arXiv preprint arXiv:2506.17336. Nicholas Carlini, Daphne Ippolito, Matthew Jagielski, Katherine Lee, Florian Tramer, and Chiyuan Zhang. 2022. Quantifying memorization across neural language models. In The Eleventh International Conference on Learning Representations. Nicholas Carlini, Florian Tramer, Eric Wallace, Matthew Jagielski, Ariel Herbert-Voss, Katherine Lee, Adam Roberts, Tom Brown, Dawn Song, Ulfar Erlingsson, and 1 others. 2021. Extracting training data from large language models. In 30th USENIX security symposium (USENIX Security 21), pages 2633–2650. Amrita Roy Chowdhury, David Glukhov, Divyam Anshumaan, Prasad Chalasani, Nicolas Papernot, Somesh Jha, and Mihir Bellare. 2025. Pr ϵϵ mpt: Sanitizing sensitive prompts for llms. arXiv preprint arXiv:2504.05147. Michelle Cohn, Mahima Pushkarna, Gbolahan O Olanubi, Joseph M Moran, Daniel Padgett, Zion Mengesha, and Courtney Heldreth. 2024. Believing anthropomorphism: Examining the role of anthropomorphic cues on trust in large language models. In Extended Abstracts of the CHI Conference on Human Factors in Computing Systems, pages 1–15. Yao Dou, Isadora Krsek, Tarek Naous, Anubha Kabra, Sauvik Das, Alan Ritter, and Wei Xu. 2024. Reducing privacy risks in online self-disclosures with language models. In Proceedings of the 62nd annual meeting of the association for computational linguistics (volume 1: long papers), pages 13732–13754. Feng He, Tianqing Zhu, Dayong Ye, Bo Liu, Wanlei Zhou, and Philip S Yu. 2025. The emerged security and privacy of llm agent: A survey with case studies. ACM Computing Surveys, 58(6):1–36. Shuo Huang, William MacLean, Xiaoxi Kang, Anqi Wu, Lizhen Qu, Qiongkai Xu, Zhuang Li, Xingliang Yuan, and Gholamreza Haffari. 2024. Nap^ 2: A benchmark for naturalness and privacy-preserving text rewriting by learning from human. arXiv preprint arXiv:2406.03749.

Krista Opsahl-Ong, Michael J Ryan, Josh Purtell, David Broman, Christopher Potts, Matei Zaharia, and Omar Khattab. 2024. Optimizing instructions and demonstrations for multi-stage language model programs. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pages 9340–9366. Sandra Peter, Kai Riemer, and Jevin D West. 2025. The benefits and dangers of anthropomorphic conversational agents. Proceedings of the National Academy of Sciences, 122(22):e2415898122. Ildikó Pilán, Benet Manzanares-Salor, David Sánchez, and Pierre Lison. 2025. Truthful text sanitization guided by inference attacks. Applied Soft Computing, page 114013. Madeline G Reinecke, Fransisca Ting, Julian Savulescu, and Ilina Singh. 2025. The double-edged sword of anthropomorphism in llms. In Proceedings, volume 114, page 4. MDPI. Li Siyan, Vethavikashini Chithrra Raghuram, Omar Khattab, Julia Hirschberg, and Zhou Yu. 2025a. PAPILLON: Privacy preservation from Internet-based and local language model ensembles. In Proceedings of the 2025 Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), pages 3371–3390, Albuquerque, New Mexico. Association for Computational Linguistics. Li Siyan, Jason Zhang, Akash Maharaj, Yuanming Shi, and Yunyao Li. 2025b. Is passive expertise-based personalization enough? a case study in ai-assisted test-taking. arXiv preprint arXiv:2511.23376. Latanya Sweeney. 2002. k-anonymity: A model for protecting privacy. International journal of uncertainty, fuzziness and knowledge-based systems, 10(05):557– 570. Xinyu Zhang, Huiyu Xu, Zhongjie Ba, Zhibo Wang, Yuan Hong, Jian Liu, Zhan Qin, and Kui Ren. 2024. Privacyasst: Safeguarding user privacy in tool-using large language model agents. IEEE Transactions on Dependable and Secure Computing, 21(6):5242– 5258. Wenting Zhao, Xiang Ren, Jack Hessel, Claire Cardie, Yejin Choi, and Yuntian Deng. 2024. Wildchat: 1m chatgpt interaction logs in the wild. arXiv preprint arXiv:2405.01470.

Zheng Hui, Yijiang River Dong, Sanhanat Sivapiromrat, Ehsan Shareghi, and Nigel Collier. 2025. Privacypad: A reinforcement learning framework for dynamic privacy-aware delegation. arXiv preprint arXiv:2510.16054.

Jonathan Zheng, Alan Ritter, Sauvik Das, and Wei Xu. 2025. Probabilistic reasoning with llms for privacy risk estimation. In The Thirty-ninth Annual Conference on Neural Information Processing Systems.

Niloofar Mireshghallah, Maria Antoniak, Yash More, Yejin Choi, and Golnoosh Farnadi. 2024. Trust no bot: Discovering personal disclosures in humanllm conversations in the wild. arXiv preprint arXiv:2407.11438.

Lianmin Zheng, Wei-Lin Chiang, Ying Sheng, Tianle Li, Siyuan Zhuang, Zhanghao Wu, Yonghao Zhuang, Zhuohan Li, Zi Lin, Eric P Xing, and 1 others. 2023. Lmsys-chat-1m: A large-scale real-world llm conversation dataset. arXiv preprint arXiv:2309.11998.

A

Prompts

All prompts used for this work are written as DSPy modules. We use the latest version of DSPy (v3.1.2).

- location, age, relationship_status, gender, pet, appearance, race/nationality, sexual_orientation, health, family, occupation, mental_health, emotions, reproductive_health, finance, education, crime, events, PII, other

Inclusions (examples are illustrative, not exhaustive) Two versions of the self-disclosure extractor are - Demographics: age ("25 year old"), gender ("female", "trans woman"), race/nationality used: one for extracting data from WildChat and ("Black", "Mexican American"). LMSYS-Chat-1M, and the other for extracting self- Geography: residence or stable presence ("New disclosures from prompts created during the PAYork City", "California", "UK"). Prefer official place names; expand common PILLON optimization and evaluation process. unambiguous abbreviations (e.g., "NYC" The main difference between the two versions is $\to$ "New York City"). the emphasis on whether the disclosures are self- - Household/family: "married", "single", "divorced", "have 2 children", "live alone". disclosures or disclosures about any person. The - Education: "high school graduate", reason we make this design decision is as follows: "bachelor's degree", "college student", "in When going through conversations in the datasets, graduate school". - Occupation and employment status: job titles it is critical that the extracted disclosures are about ("software engineer"), statuses the user themselves, as these conversations often ("unemployed", "retired"), industry ("construction worker"). Freelance/gig include fictional scenarios and characters that could counts as occupation; layoffs count only if be involved in sexual content. However, when it stated as an event ("laid off"). comes to extracting disclosures from prompts cre- - Health (physical): diagnoses, chronic conditions, disability status, medication ated by PAPILLON pipelines, as we are certain that use, BMI/height/weight if stated, substance the original user queries contain self-disclosures use if specific. about the user, we can be more liberal in our def- - Mental health: diagnosed or clinically recognizable conditions ("diagnosed with inition of disclosures and include all disclosures depression", "ADHD"). Suicidal present in the text. We present the second version ideation/attempts belong here if explicitly of the extractor below. stated. - Reproductive health: pregnancy, contraception class use/duration, fertility treatment, AnyDisclosureExtractorSignature(dspy.Signature): miscarriages, abortions. """From the text below, extract only those - Finance: income bracket, rent amount, personal disclosures about ANY person that debt/loans, benefits/assistance can be estimated using official, participation. population-level statistics (e.g., census, - Pets: "pet dog", "2 cats". national surveys, government records). - Crime/justice: "arrested for DUI", "felony Return a compact, canonical list of conviction". disclosures with one best-fit category per - Events (only if plausibly measured in item. official stats and not better placed above): "moved states this year", Key definitions "evicted", "naturalized this year". - Personal Disclosure: Information about ANY - PII (only if commonly available in official person revealed in the text - including the aggregate data): first name, ZIP code, year author/poster, a described subject the of birth. Exclude unique identifiers (full request is written on behalf of (e.g., "a address, phone numbers, SSN, email). nurse who lives in...", "a third-year

A.1

Self-Disclosure Extraction

student"), or any named or role-described individual. Includes static traits (e.g., age, gender, location) and time-bound events (e.g., health diagnosis, education credential, employment change). The person does NOT need to be the one writing the text. - Estimable: Attributes/events that are commonly measured in official data sources (census, government surveys/registries, administrative records). If it's not plausibly supported by reputable population statistics, exclude it. Allowed categories (pick the single best fit for each item)

Exclusions - Purely incidental third parties with no representational role (e.g., celebrities or historical figures mentioned in passing, a researcher being contacted). - Vague emotions/opinions ("I feel sad", "I'm overwhelmed") unless clearly tied to a diagnosable/estimable construct. If present without diagnosis, omit. - Non-English disclosures: if the disclosure is not in English, omit it. - Duplicates or near-duplicates ("woman" vs "female"; keep one). - Unverifiable speculation ("might be pregnant", "maybe have ADHD") -- instead

capture concrete, stated facts (e.g., "missed period" as health). Normalization rules - Keep spans short and canonical: "I'm 25" --> "25 year old"; "live in NYC" --> "New York City". - Parse compact tokens: "18F" --> two items: "18" (age), "female" (gender). - Prefer specific standard geographies (city + state/country) when given; do not invent detail. - Map "student" to education; job titles and employment status to occupation; income/benefits to finance; relationship labels ("engaged", "married", "single", "widowed") to relationship_status. - If multiple categories could apply, choose the best single fit. Do not duplicate across categories. - Include durations when they are commonly measured (e.g., "on birth control for 3 years" under reproductive_health or health depending on context). Edge cases - If no eligible disclosures exist, return an empty list: <list></list> - If both current and past facts are present, include both if clearly stated and estimable (e.g., "graduated last year" + "currently unemployed"). - When a subject is described in the third person but the request is clearly written on their behalf (e.g., "write a bio for a 35-year-old nurse in Boston"), extract their disclosures as you would for a first-person statement. Output format (strict) - Return ONLY the disclosures in this XML-like structure: <list> <answer>disclosure phrase</answer><type>category</type> ... </list> - Do not include any other text. One disclosure per <answer>...</answer><type>...</type> pair. Mini-examples - Text: "I'm a 30M living in LA, recently laid off, now looking for work." Answer: <list><answer>30</answer><type>age</type> <answer>male</answer><type>gender</type> <answer>Los Angeles</answer><type>location</type> <answer>laid off</answer><type>events</type>

<type>education</type></list> - Text: "I want to understand the cost of living in Northampton for a nurse who lives in a small studio apartment." Answer: <list><answer>nurse</answer><type>occupation</type> <answer>Northampton</answer><type>location</type> </list> Now analyze the text and return the list. Only include disclosures that are estimable, normalized, non-duplicative, English, and mapped to the best-fit category.""" text: str = dspy.InputField(description="The text to analyze for personal disclosures.") answer: str = dspy.OutputField(description="The list of personal disclosures in the text, formatted as specified above. Each disclosure should be short and succinct.")

A.2

Disclosure Ordering

class DisclosureOrderingSignature(dspy.Signature): """**Task**: Arrange disclosures into cumulative conditioning groups so that the joint \ probability P(d1, d2, ..., dn) can be factored as a product of conditional probabilities \ (chain rule / BRANCH framework). **Group construction algorithm**: 1. Identify INDEPENDENT disclosures -- those with no statistical dependencies \ (typically location, age, gender). These seed Group 1. 2. Identify FIRST-WAVE disclosures -- those that depend ONLY on the independent disclosures \ from step 1 (e.g. age given location+gender). Add them to Group 1 as well. --> Group 1 = independent disclosures + first-wave disclosures. 3. For each subsequent group: find all remaining disclosures whose EVERY dependency is \ already present in the previous group. Add them to form the next group. --> Group k = ALL items from Group k-1 PLUS the newly resolved disclosures. 4. Repeat until all disclosures are placed.

**Critical format rule**: every group is CUMULATIVE -- it repeats every disclosure from \ all prior groups and then appends the new ones. Do NOT create a new group for items that \ <answer>unemployed</answer><type>occupation</type> can be resolved within the current group's </list> context. - Text: "Write a professional email from a third-year clinical psychology student **Example**: focusing on neuropsychology." Disclosures: New York City (location), woman Answer: <list><answer>third-year clinical (gender), 25 year old (age), software psychology engineer (occupation) student</answer><type>education</type><answer>focusing - Independent: New York City, woman --> seed on neuropsychology</answer> Group 1

- First-wave: 25 year old (depends only on location + gender) --> also in Group 1 - Group 1 = {New York City, woman, 25 year old} - Resolved by Group 1: software engineer (depends on location, gender, age -- all in Group 1) - Group 2 = Group 1 + {software engineer} = {New York City, woman, 25 year old, software engineer} Output: <list>\ <group><answer>New York City</answer><type>location</type> <answer>woman</answer><type>gender</type> <answer>25 year old</answer><type>age</type> </group>\ <group><answer>New York City</answer><type>location</type> <answer>woman</answer><type>gender</type> <answer>25 year old</answer><type>age</type> <answer>software engineer</answer><type>occupation</type> </group>\ </list> **Instructions**: Return the result as <list></list> of <group> elements. \ Each group contains ALL disclosures accumulated up to that step: \ <group><answer>span1</answer><type>cat1</type> <answer>span2</answer><type>cat2</type>...</group> Do NOT omit any disclosure from any group. Do NOT create single-item groups unless only one \ disclosure exists at that step.""" disclosures: str = dspy.InputField(description="The list of personal disclosures to reorder.") answer: str = dspy.OutputField(description="The reordered list of personal disclosures, formatted as specified above.")

B

PUPA-SD Examples

We underline the self disclosures and write the corresponding disclosure category in bracketed red texts for the following examples. B.1

Example 1

• User Query: Write me a bio My Name is NAME_1 [PII] I am a student [education] who is currently a begginer free lancer [occupation] i provide services as logo designing [occupation] Social Media Manager [occupation] • Target Response: NAME_1 is a talented student with a passion for visual design and marketing. As a beginner freelancer, he offers a

range of services including logo design and social media management. With his creative eye and strong communication skills, NAME_1 is able to bring a unique perspective to each project he takes on. He is always eager to learn and grow as a professional, and is committed to delivering high-quality work to his clients. In his free time, NAME_1 enjoys exploring new creative pursuits and staying up-to-date on the latest trends in design and marketing. B.2

Example 2

• User Query: I have a website for a piano store [occupation]. I need to write SEO optimized content that is very engaging, and has local keywords in it for the Nashville [location] and the Middle Tennessee area [location]. • Target Response: Sure, I can help you with that! To create SEO optimized content that is engaging and localized for Nashville and Middle Tennessee, here are some tips to keep in mind: 1. Use local keywords: Incorporate local keywords related to Nashville and Middle Tennessee into your content. This will help your website show up in local search results and attract people looking for piano stores in the area. 2. Use long-tail keywords: In addition to local keywords, use long-tail keywords that are more specific to your business. For example, if you’re a piano store in Nashville, use keywords like ""best piano store in Nashville"" or ""piano lessons in Nashville."" 3. Use quality content: High-quality content is essential for SEO. Make sure your content includes valuable information about your piano store and the products and services you offer. This will help establish your website as an authority in the piano industry and attract more visitors. 4. Use meta descriptions: Meta descriptions are brief snippets of text that appear under each of your website’s pages in search results. Include your local keywords and information about the content of the page in your meta descriptions. 5. Use internal linking: Internal linking is the practice of linking to other pages on your

website from within your content. This can help search engines understand the structure of your website and improve your website’s SEO. 6. Use alt tags: Alt tags are short descriptions of the images on your website. Include your local keywords and information about the content of the image in your alt tags. 7. Use social media: Use social media to promote your website and reach a wider audience. Share your content on your social media platforms and encourage your followers to share your content with their own followers. I hope these tips help you create engaging and localized content for your piano store website! Let me know if you have any other questions or if there’s anything else I can help with. B.3

Example 3

• User Query: What is a good “doing business as” name for a 13 year old [age] girl gender who makes TikTok videos about k-pop dances [occupation]? • Target Response: Here are a few suggestions for a ""doing business as"" name for a 13year-old girl who makes TikTok videos about K-Pop dances: 1. KPop Dance Sensation 2. K-Pop Kween 3. K-Pop Kick 4. K-Pop Fusion 5. K-Pop Groove 6. K-Pop Beats 7. K-Pop Frenzy 8. K-Pop Dancefloor 9. K-Pop Fever 10. K-Pop Starstruck It’s important to choose a name that reflects your brand and resonates with your target audience. Consider what sets you apart from other K-Pop dance content creators and use that as inspiration for your brand name.

Related documents

Record · ID 441693 · SHA-256 9237406d6cd23e63
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Bring this data into your agent: Connect via MCP or API · 20 free credits to start · no card required
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive