Fragments to Facts: Partial-Information Fragment Inference from LLMs
Lucas Rosenblatt, Bin Han, Robert Wolfe, Bill Howe
TL;DR
The paper introduces partial-information fragment inference (PIFI), a pragmatic privacy threat where an adversary with access to unordered text fragments can infer additional private fragments from a fine-tuned LLM. It proposes two data-blind attacks, LR-Attack and PRISM, and a data-aware Classifier baseline, demonstrating their effectiveness in medical and legal summarization tasks across multiple models and training regimes. The results show that fragment-level leakage persists even with modest fine-tuning, larger models are more vulnerable, and world-model priors can help mitigate false positives for common fragments. The work highlights the need for defenses beyond memorization and full-data membership protections, urging further exploration of privacy-preserving fine-tuning and defense strategies in sensitive-domain AI systems.
Abstract
Large language models (LLMs) can leak sensitive training data through memorization and membership inference attacks. Prior work has primarily focused on strong adversarial assumptions, including attacker access to entire samples or long, ordered prefixes, leaving open the question of how vulnerable LLMs are when adversaries have only partial, unordered sample information. For example, if an attacker knows a patient has "hypertension," under what conditions can they query a model fine-tuned on patient data to learn the patient also has "osteoarthritis?" In this paper, we introduce a more general threat model under this weaker assumption and show that fine-tuned LLMs are susceptible to these fragment-specific extraction attacks. To systematically investigate these attacks, we propose two data-blind methods: (1) a likelihood ratio attack inspired by methods from membership inference, and (2) a novel approach, PRISM, which regularizes the ratio by leveraging an external prior. Using examples from both medical and legal settings, we show that both methods are competitive with a data-aware baseline classifier that assumes access to labeled in-distribution data, underscoring their robustness.
