Manuscript Offprint
arXiv:2611.07228Source-balanced Capped Fisher: Bounded Evidence Aggregation for User Inference in Language Models
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Abstract
User inference asks whether a source contributed documents to a language-model update, even when the auditor observes only fresh documents from that source. Document-level scores can provide evidence of participation, but combining this evidence is challenging: documents differ in baseline predictability and in how strongly they reflect information learned from other documents of the same source. We propose source-balanced capped Fisher (SCF), an aggregation method that uses known nonparticipating sources to assess how unusual each document score is. It transforms the resulting reference-tail frequencies into negative-log evidence, caps individual contributions, and averages them within each source. This limits the influence of isolated extreme scores while retaining evidence across multiple documents. We complete the inference procedure with a decision rule that tests source participation using a p-value calibrated against a separate set of known nonparticipating sources. The rule provides finite-sample Type-I error control under source exchangeability. Experiments across four real-world datasets show that SCF achieves the highest AUROC among the evaluated aggregation methods in four domains. With the calibration-based decision rule, SCF delivers consistently competitive detection power across the tested settings, achieving the highest power in many cases, while empirical false-positive rates remain generally close to or below the nominal levels.
1 INTRODUCTION
Suppose a news organization, Alder Press, wants to know whether its articles were used in a language-model update (Figure 1). It cannot inspect the training corpus, but it can evaluate the updated model's predictions on articles from its own collection. Even if none of these auditing articles were used in the update, the model's predictions may reflect topics or writing patterns learned from other articles by the same organization. This is an instance of user inference (Kandpal et al., 2024). A user, which we refer to as a source, is a collection of documents associated with a common origin, such as an author, a social-media account, a developer, or a mailbox owner. Given a language model after an update and query documents from a target source, the task is to determine whether at least one document from that source was included in the update's training data. We focus on the setting in which the query documents themselves were not used in the update, so the inference concerns participation through other documents from the same source.
*Corresponding author: wanronzl@uci.edu

Figure 1: Example of user inference. Alder Press asks whether any of its articles entered a model update. It queries the updated model with its own articles, which may all be unused in fine-tuning. A fixed scoring rule and source-level aggregation yield participation evidence.
A more extensively studied question is whether an individual example was used for training, known as membership inference (Shokri et al., 2017). Existing approaches include likelihood-ratio attacks such as LiRA (Carlini et al., 2022) and methods that calibrate membership scores for example difficulty (Watson et al., 2022). For language models, document-level scores have been constructed using comparisons with neighboring texts (Mattern et al., 2023), selected or normalized token statistics (Shi et al., 2024; Zhang et al., 2025b), and calibration against corpus token frequencies (Zhang et al., 2024). These approaches provide document-level scores, characterizing model behavior on individual documents. However, nonmembership of a queried document does not imply nonparticipation of its source. Dataset inference (Maini et al., 2024; Zhao et al., 2025a) and collection-level membership inference (Puerto et al., 2025) extend this analysis by combining evidence across multiple inspected documents. Although these approaches aggregate document evidence, their target remains the training use of the suspect collection. Our question differs: we seek to infer participation through other documents from the same source, even when every inspected document is absent from the update.
Existing approaches to user inference include RaMIA (Tao and Shokri, 2025), which aggregates record-level membership scores using trimmed averages, and the language-model method of Kandpal et al. (2024), which averages document-level log-likelihood differences between fine-tuned and reference models. Our focus is on effectively aggregating document-level scores into an informative source-level statistic and calibrating it for a participation decision. We use reference data from sources known not to have participated in the update to guide this aggregation and calibration. Such reference sources may be available, for example, through platform accounts created after the update, when participation is defined at the account level. The reference sources provide a baseline for interpreting score values under nonparticipation. Our procedure accommodates different document-level scoring rules, including likelihood differences and scores computed from the target model alone. Whether a reference model is required therefore depends on the chosen scoring rule.
We propose source-balanced capped Fisher (SCF). Given a document-level scoring rule, SCF constructs a reference distribution of scores that balances contributions across known nonparticipating sources. The same scoring rule is applied to target and reference documents, with scores oriented so that larger values favor participation. For each query document, SCF computes the upper-tail frequency of its score under this reference distribution. Smaller frequencies indicate scores that are more unusual relative to the reference sources. SCF then takes the negative logarithms of these frequencies, caps the resulting contributions, and averages them across the target source's query documents. The resulting source-level statistic combines evidence on a reference scale while bounding each document's contribution.
We complete the inference procedure with a decision rule that turns the aggregated score into a participation decision. Controlling the probability of falsely declaring participation is essential and requires a valid null comparison (Zhang et al., 2025a). We obtain a rank-based p-value (Bates et al., 2023) by comparing the target's aggregated score with those of a separate set of known nonparticipating calibration sources. We reject the nonparticipation hypothesis when the p-value is at most the chosen significance level. Under source-level exchangeability, this rule provides finite-sample Type-I error control.
Our contributions are twofold. First, we propose SCF, a new source-level score that aggregates document evidence through a reference-tail transformation and capped log averaging. Across four real-world domains, SCF achieves the highest mean AUROC among the evaluated aggregation methods using the same document-level scores. Second, we complete source participation inference with a decision rule based on rank calibration. The rule applies to any fixed source-level scoring rule and provides finite-sample Type-I error control under source-level exchangeability. Across the evaluated methods, empirical false-positive rates remain generally close to or below the nominal levels. SCF delivers consistently competitive detection power across the tested settings, achieving the highest mean power in many cases.
Calibration for membership and user inference. Statistical auditing also requires translating evidence into a decision with an appropriate interpretation of errors. MembershipTracker empirically calibrates user-level mean losses against nonmember users in a proactive data-marking setting (Chen and Pattabiraman, 2025). For record-level membership inference, MIAFdR uses conformal calibration and multiple testing to control false discoveries under its calibration assumptions (Zhao et al., 2025b). More generally, Bates et al. (2023) study reference-based conformal p-values for outlier detection, including their dependence and use in multiple testing. Randomized data-use auditing provides another basis for statistical decisions: Huang et al. (2024) combine prior randomized marking with sequential testing to bound false detections. Our focus is the calibration of a source-level statistic constructed from multiple query documents, using reference data from sources known not to have participated in the update.
2 USER INFERENCE FROM FRESH QUERIES
Sources and hypothesis. A source is a collection of documents associated with a common origin, such as a user or a website. For each source , let denote its document collection. We assume that these collections are disjoint, i.e., for . Consider a language-model update from an initial model to an updated model , using a training document set . User inference asks whether any document from source was used in this update:
These hypotheses concern participation in the audited update, regardless of whether the source contributed to earlier training of .
Query documents. To infer participation of , the auditor observes a collection of query documents , where and . We focus on the fresh-query setting, in which none of the query documents belongs to . Even in this setting, training on other documents from the same source may change the model's predictions on the observed queries, providing evidence of source participation.
Document-level scores. For any document , let be a document score, with larger values providing stronger evidence of corresponding source participation. Our aggregation method accepts any such prespecified score. Following the reference-model log-likelihood comparison used for user inference by Kandpal et al. (2024), we use a token-normalized log-likelihood difference:
where is the number of scored next-token prediction positions in the document , and and are the products of the corresponding token probabilities under and over those positions. The score measures the per-token improvement in predictive fit after the update. Comparing with accounts for baseline predictability, while dividing by puts documents on a per-token scale. Kandpal et al. (2024) do not use normalization, but we found that using (2) can enhance the performance of every method we test. To transform these document scores into source-level evidence and calibrate the resulting statistic, we use sources known not to have participated in the update.
Known nonparticipating sources. We assume access to sources known not to have contributed any documents to the update. We divide these nonparticipating sources into two disjoint groups, using to index a reference source and to index a calibration source, with and . Each source satisfies , and supplies a query collection , where and . We use to construct the document-evidence transformation and to calibrate the resulting source-level statistic, as described in Section 3.
3 SOURCE-BALANCED CAPPED FISHER SCORE
Starting from the document-level scores, we construct a measure of source participation by comparing each query document with documents from known nonparticipating sources and combining the resulting evidence within a source. Figure 2 illustrates the procedure. We first use the reference sources to assess how unusual each document score is relative to nonparticipating sources. We then limit the contribution of individual documents and average their evidence to obtain a source-level statistic. A separate calibration step, described later, converts this statistic into a participation decision.

Figure 2: SCF bounds document evidence before source-level calibration. Certified nonparticipating reference sources contribute equally to a fitted upper-tail map. The frozen map is applied to fresh queries from the target and each calibration source; log-tail evidence is capped (dashed lines) and averaged within each source. The target score (orange diamond) is ranked against calibration scores (gray circles) to obtain a source-level p-value; the shaded tail marks calibration scores at least as large as the target score. All icons and curves are schematic.
3.1 Constructing the source-level score
Reference scale. A raw document score measures improvement of predictive fit after the update, but interpreting its magnitude requires a reference scale. We construct this scale using the query documents of the nonparticipating reference sources . For a threshold , define
Within each reference source, we calculate the proportion of query documents whose scores are at least , then average these proportions across sources.
To avoid zero tail frequencies, we apply a small smoothing adjustment:
where . This keeps positive even when exceeds every reference score.
For a query document , a small value of indicates that its score is unusually large relative to the nonparticipating reference sources.
Combining document evidence. We further express the unusualness of a query document as , so that smaller reference-tail frequencies produce larger evidence values. A natural source-level summary is the average of these values across its query documents. However, a document with a very small reference-tail frequency can contribute disproportionately to this average. To limit its influence while retaining evidence from multiple documents, we cap each contribution at , for . Then, for source with query collection , we define the source-balanced capped Fisher (SCF) score as
We also include as the uncapped case, with the convention . Larger values of indicate stronger evidence of source participation.
For , documents with reference-tail frequencies below receive the same maximum contribution. The effect of capping is that multiple moderately unusual documents can outweigh a single extreme document, as increasing the score of an already extreme document no longer increases its contribution. For illustration, consider two sources with reference-tail frequencies (.15, .15) and (.01, 1). Their uncapped scores are approximately 1.897 and 2.303, respectively. With , the first score remains unchanged, while the second falls to 1.498. Capping therefore allows two moderately unusual documents to outweigh one extreme document.
The negative-log aggregation in (5) follows the form of Fisher's combination rule. Related methods such as TFisher select and weight small-p-value contributions (Zhang et al., 2020), whereas SCF caps the largest log-tail contributions. Bounding individual contributions follows a classical principle of robust estimation (Huber, 1964); DC-PDD uses a related cap on calibrated token contributions before averaging them into a document score (Zhang et al., 2024). We use empirical reference-tail frequencies in this construction and calibrate the resulting statistic at the source level.
Computation. Equation (5) requires only at the observed scores . For each query document, substitute into the reference-tail calculation and then apply the smoothing in (4). Averaging the resulting capped log-tail contributions gives . Thus we need only finitely many evaluations, rather than an explicit representation of at every real threshold. Direct calculation for Algorithm 1 costs comparisons with no additional language-model queries.
Algorithm 1 Source-balanced capped Fisher (SCF)
Require: Cached scores for , and ; cap .
Ensure: Source score .
1:
2: for do
3:
4:
5:
6: end for
7: return
3.2 Testing source participation
The source-level statistic summarizes evidence of participation, with larger values indicating stronger evidence. To decide whether a target source participated in the update, we compare its statistic with those of the known nonparticipating calibration sources , which are separate from the reference sources used to construct the score. The rank-based p-value is defined as
A small indicates that few calibration sources have scores at least as large as the target's. At a prespecified significance level , we reject when . The significance level controls the rejection threshold and is distinct from the evidence-cap parameter .
The following theorem establishes that this rank-based quantity is a valid p-value under source-level exchangeability.
Theorem 1 (Finite-sample source-level validity). Under , suppose the source statistics and , , are jointly exchangeable. Then, for every ,
where is defined in (6).
4 EXPERIMENTS
We evaluate the two stages of user inference: assessing the quality of our SCF score and calibrating it for a decision. The experiments evaluate Reddit (Baumgartner et al., 2020), CC News (Hamborg et al., 2017), Enron (Klimt and Yang, 2004), and Chromium (Meyers et al., 2018; Chang et al., 2020) under a common audit protocol.
4.1 Experimental setup
Data and model update. We use four datasets with different source and document units: Reddit accounts and their comments, CC News web domains and their articles, Enron mailbox owners and their sent emails, and Chromium developer accounts and their comments. The first three corpora also appear in User Inference paper (Kandpal et al., 2024), while Chromium extends the comparison to developer communications. For each dataset, the initial model is pretrained GPT-Neo-125M (Black et al., 2021; Gao et al., 2020). We obtain the updated model by fine-tuning on documents from designated participating sources. Appendix C provides full details on fine-tuning and selection of training data (participants).
Methods compared. We compare SCF with four existing aggregated scores, which we refer to as Mean, Max, Min (Kandpal et al., 2024), and RaMIA (Tao and Shokri, 2025). These scores compute the mean, maximum, minimum, and average of the highest-75% of document scores, respectively, using the token-normalized likelihood difference defined in (2). For SCF, we fix the cap at across all four domains, and we additionally include Uncapped Fisher, which is the special case in SCF. The ablation study varies only to see the effect of cap strength.
Source partitions. For each audit partition, we divide the nonparticipating sources into reference sources , calibration sources , and nonparticipating test sources. We use for Reddit, CC News, and Chromium, and for Enron since Enron has limited sources. Note that the four baseline methods require no reference fitting and therefore use all sources in for calibration. All participating sources and the nonparticipating test sources form the test set. In the test set, each source contributes at most 16 query documents, all excluded from fine-tuning. Thus, the audit tests whether a source participated using documents distinct from those used in the model update.
We repeat the audit over 500 partitions of the nonparticipating sources, keeping the model weights, training participation, query documents, and document scores unchanged.
Evaluation metrics. We use AUROC to compare the source-level scores produced by different aggregation methods and assess which method best distinguishes participating from nonparticipating sources. For a scalar source score , AUROC is the probability that a randomly selected participating source receives a higher score than an independently selected nonparticipating source, with half credit for ties (Fawcett, 2006). Let and be independent participant and nonparticipant query collections, independent of the reference. Conditional on the reference,
We evaluate participation decisions using TPR and FPR at various significance levels, and further compare the different methods. At a chosen significance level , the true-positive rate (TPR) is the proportion of participating test sources for which , and the false-positive rate (FPR) is the corresponding proportion among nonparticipating test sources. AUROC evaluates discrimination across score thresholds, while TPR and FPR evaluate the calibrated decision rule at a specified level. The code used to reproduce our aggregation and calibration results are available online.¹
Table 1: Source-level AUROC under a common control budget, with fixed GPT-Neo-125M models, document scores, and query bags. Entries average 500 source-role partitions with identical test sources across methods. SCF uses for Reddit, CC News, and Chromium, and for Enron, with . AUROC is computed before calibration. Bold denotes the highest mean AUROC.
| Domain | Mean | Max | Min | RaMIA | Uncapped Fisher | SCF |
|---|---|---|---|---|---|---|
| 0.6443 | 0.6176 | 0.6158 | 0.6444 | 0.6438 | 0.6456 | |
| CC News | 0.6305 | 0.5953 | 0.6050 | 0.6227 | 0.6327 | 0.6354 |
| Enron | 0.8068 | 0.7222 | 0.6104 | 0.7973 | 0.8227 | 0.8309 |
| Chromium | 0.6178 | 0.5527 | 0.5620 | 0.6196 | 0.6279 | 0.6346 |
4.2 Comparing aggregation methods via AUROC
Table 1 shows that SCF attains the highest mean AUROC among the evaluated aggregators in all four domains. The means summarize the 500 source-role partitions for the fixed models and source pools. The AUROC of SCF is .6456 on Reddit, .6354 on CC News, .8309 on Enron, and .6346 on Chromium. Mean is the strongest raw-score baseline among Mean, Max, Min, and RaMIA on CC
¹https://github.com/yangliu6768/scf-reproduction
News and Enron, while RaMIA is strongest on Reddit and Chromium. Relative to them, the gains are .12, .50, 2.41, and 1.50 percentage points, respectively. SCF also exceeds uncapped Fisher at the common cap in every domain.
The baseline ordering also helps interpret these comparisons. Mean and RaMIA both outperform Max and Min in every domain, indicating that combining multiple document scores is more effective here than using either extreme alone. However, the ordering of Mean and RaMIA changes across domains.
Table 6 in the appendix reports the complete paired win, tie, and loss counts and mean AUROC gains against each comparator. Against the strongest raw-score baseline by AUROC, SCF wins in all 500 partitions on CC News, in 98.4% on Enron, and in 87.8% on Chromium. On Reddit, its smaller .12-point mean gain is accompanied by a 61.4% strict win rate.
4.3 Effect of the evidence cap
To isolate the effect of capping, we keep the fitted tail map, queries, and source partitions fixed and compare uncapped Fisher with . Figure 3 examines sensitivity to the cap. Every positive cap in the tested grid has higher mean AUROC than the uncapped condition in each domain. The dependence on cap strength nevertheless differs across domains. Increasing from .05 to .10 further improves CC News, Enron, and Chromium; on Enron, mean AUROC increases from .8309 to .8356. Reddit instead peaks at with AUROC .6460, declining to .6450 at . Thus, increasing the cap parameter need not improve source ordering even though it further limits every document's maximum contribution. These results support the use of bounded contributions in the evaluated settings, while leaving data-driven cap selection open. Appendix C.6 reports absolute AUROCs and variation across partitions.
Table 2 clarifies what evidence is affected. At , the source-averaged cap-activation rate is approximately 5% among nonparticipants, compared with 6.40%-9.43% among participants. Extreme-tail occurrences are therefore more frequent among participants in these experiments. SCF preserves this distinction: each affected document retains the contribution , so multiple such documents can still increase a source's average evidence. Capping limits the additional weight assigned to tail depth while retaining the contribution of an extreme event. The matched AUROC improvements in Table 1 support this bounded treatment without implying that extreme-tail occurrences themselves lack participation information.
Table 2: Frequency of capped document evidence at . Entries are percentages of query documents satisfying , averaged within each evaluated source, and then over the same 500 source-role partitions as Table 1. Reference and calibration sources are excluded.
| Domain | Nonparticipant (%) | Participant (%) |
|---|---|---|
| 5.180 | 8.270 | |
| CC News | 5.188 | 9.430 |
| Enron | 4.943 | 9.398 |
| Chromium | 5.244 | 6.401 |

Figure 3: Mean AUROC gain over uncapped Fisher, averaged over 500 matched source-role partitions. Here retains reference smoothing and omits the explicit cap.
4.4 Source-level decisions and false-positive rates
We compute a conservative source-level conformal rank as in (6) and declare participation when , for . Each rank uses the calibration panel specified in Section 4.1; raw-score baselines use the union of the reference and SCF calibration controls. Table 3 reports TPR and FPR over the same 500 partitions as Table 1, with the SCF cap fixed at .
SCF has the highest mean TPR at all three levels on CC News and Chromium, and at the 20% level on Enron. At on CC News, SCF increases TPR from 20.87% for Mean to 24.08%, a gain of 3.21 percentage points, while its FPR is slightly lower (10.08% versus 10.23%). On Chromium at the same nominal level, TPR increases from 19.98% for RaMIA to 21.83%, accompanied by an FPR increase from 10.42% to 10.68%. At , however, SCF has both higher TPR (36.50% versus 34.58%) and slightly lower FPR (20.30% versus 20.39%) than RaMIA. The ranking gains therefore translate into improved audit utility in many settings, although SCF does not attain the highest TPR in every domain and at every level.
AUROC and calibrated detection consequently provide complementary assessments. Enron has the largest AUROC gain over the strongest raw-score baseline, yet SCF does not have the highest TPR at every evaluated level. Reddit's smaller AUROC gain likewise does not yield the highest TPR at these levels. The ranking results show better average pairwise ordering across the evaluated partitions, while Table 3 shows where that improvement translates into greater detection at a specified nominal level. Therefore, both comparisons are needed to assess audit utility. An additional experiment trains only on documents preceding a temporal cutoff and uses later documents for all target, reference, and calibration queries; SCF retains detection power with empirical FPRs close to or below the nominal levels (Appendix C.7).
5 CONCLUSION
We studied user inference from query documents that were excluded from the audited model update. SCF addresses the aggregation problem by mapping fixed document scores to a source-balanced
Table 3: Source-level audit utility at nominal level . TPR and FPR (%) are averaged over the same 500 source-role partitions as Table 1. SCF uses . Bold marks the highest mean TPR for each domain and nominal level.
| Domain | (%) | Metric | Mean | Max | Min | RaMIA | SCF |
|---|---|---|---|---|---|---|---|
| 5 | TPR | 9.53 | 3.08 | 4.59 | 10.73 | 8.82 | |
| FPR | 4.95 | 4.86 | 4.95 | 5.07 | 4.95 | ||
| 10 | TPR | 17.70 | 12.04 | 16.08 | 17.46 | 17.21 | |
| FPR | 10.08 | 10.04 | 9.84 | 9.99 | 10.02 | ||
| 20 | TPR | 33.60 | 24.87 | 32.32 | 31.16 | 32.62 | |
| FPR | 19.95 | 19.99 | 19.70 | 19.90 | 20.05 | ||
| CC News | 5 | TPR | 13.17 | 8.01 | 11.47 | 12.20 | 14.14 |
| FPR | 5.13 | 5.04 | 5.16 | 5.14 | 4.86 | ||
| 10 | TPR | 20.87 | 13.83 | 19.12 | 19.55 | 24.08 | |
| FPR | 10.23 | 10.03 | 10.08 | 10.25 | 10.08 | ||
| 20 | TPR | 34.33 | 28.87 | 32.73 | 33.24 | 36.62 | |
| FPR | 20.16 | 19.96 | 20.10 | 20.19 | 20.29 | ||
| Enron | 5 | TPR | 4.66 | 15.09 | 1.55 | 4.63 | 11.32 |
| FPR | 4.08 | 3.89 | 3.60 | 4.08 | 3.96 | ||
| 10 | TPR | 41.60 | 31.06 | 19.51 | 30.05 | 32.92 | |
| FPR | 10.06 | 9.71 | 9.60 | 10.18 | 7.81 | ||
| 20 | TPR | 68.77 | 48.50 | 44.72 | 68.63 | 70.09 | |
| FPR | 19.37 | 19.66 | 19.42 | 19.91 | 19.10 | ||
| Chromium | 5 | TPR | 5.97 | 4.14 | 6.32 | 4.60 | 8.87 |
| FPR | 5.22 | 4.93 | 5.08 | 5.11 | 5.40 | ||
| 10 | TPR | 17.86 | 6.74 | 10.62 | 19.98 | 21.83 | |
| FPR | 10.48 | 9.74 | 10.30 | 10.42 | 10.68 | ||
| 20 | TPR | 34.46 | 25.21 | 25.40 | 34.58 | 36.50 | |
| FPR | 20.34 | 20.03 | 20.12 | 20.39 | 20.30 |
reference scale and averaging capped log-tail evidence. This construction limits the influence of individual documents while retaining evidence that recurs across a source. A separate source-level calibration step provides finite-sample Type-I error control under source exchangeability, allowing arbitrary dependence among documents within each source.
Across four domains with fixed GPT-Neo-125M models and document scores, SCF attains the highest mean AUROC among the evaluated aggregators. Matched comparisons with uncapped Fisher show that capping improves mean ranking at a common cap. The higher cap-activation rates among participants support retaining extreme-tail occurrences as evidence while limiting the additional weight assigned to their depth. The decision results complement these ranking comparisons by showing where the gains translate into higher detection rates at specified nominal levels. Together, these findings support bounded aggregation as a useful approach to combining document evidence for user inference. Source-level calibration then turns the resulting score into a participation decision with an explicit statistical guarantee under the stated assumptions.
6 FUTURE WORK
Selecting the best cap from available audit controls remains an open problem. Our experiments use a common and examine sensitivity over a fixed grid; they do not establish an optimal choice for population AUROC. A theoretical direction is to characterize when participation signals admit effective cap selection using only nonparticipating controls. These controls inform the null evidence distribution, whereas the AUROC effect of capping also depends on how participation changes the frequency and depth of tail events. Developing a selection principle therefore calls for explicit assumptions connecting these quantities. Under such assumptions, future work could seek bounds on the ranking loss of a selected cap relative to the best fixed cap in a specified class.
A second direction concerns audits under source-population shift. Distribution shifts between member and nonmember examples, including temporal shifts, can confound evaluations of LLM membership inference (Duan et al., 2024). The current validity result assumes exchangeability of the null target and calibration sources. Extending the audit to mismatched populations requires an explicit model of that mismatch and a quantitative account of its effect on false positives. Building on conformal inference beyond exchangeability (Barber et al., 2023), one could study sensitivity bounds that accommodate dependence within each source and uncertainty about the discrepancy between source populations. The aim would be an audit whose reported error guarantee reflects the allowed degree of mismatch, making the population assumptions underlying its conclusion explicit.
Also, the empirical scope can be broadened through more backbones and domains. The current comparisons use one document-score rule and one fitted GPT-Neo-125M model (Black et al., 2021; Gao et al., 2020) per domain. Crossing aggregation rules with other document scores, such as DC-PDD (Zhang et al., 2024) and Min-K%++ (Zhang et al., 2025b), model sizes, training runs, query budgets, and other domains would further support the generalization.
AI Use Statement
Generative AI tools assisted with cleaning and reformatting datasets, refining language, and writing proofs. We have reviewed all AI-assisted work and take responsibility for the final content of this work.
References
Barber, R. F., Candès, E. J., Ramdas, A., and Tibshirani, R. J. (2023). Conformal prediction beyond exchangeability. The Annals of Statistics, 51(2):816–845.
Bates, S., Candès, E., Lei, L., Romano, Y., and Sesia, M. (2023). Testing for outliers with conformal p-values. The Annals of Statistics, 51(1):149–178.
Baumgartner, J., Zannettou, S., Keegan, B., Squire, M., and Blackburn, J. (2020). The Pushshift Reddit dataset. In International AAAI Conference on Web and Social Media, volume 14.
Black, S., Gao, L., Wang, P., Leahy, C., and Biderman, S. (2021). GPT-Neo: Large Scale Autoregressive Language Modeling with Mesh-Tensorflow. Zenodo, version v1.0.0.
Carlini, N., Chien, S., Nasr, M., Song, S., Terzis, A., and Tramèr, F. (2022). Membership inference attacks from first principles. In IEEE Symposium on Security and Privacy. IEEE.
Chang, J. P., Chiam, C., Fu, L., Wang, A., Zhang, J., and Danescu-Niculescu-Mizil, C. (2020). ConvoKit: A toolkit for the analysis of conversations. In Annual Meeting of the Special Interest Group on Discourse and Dialogue.
Chen, M., Zhang, Z., Wang, T., Backes, M., and Zhang, Y. (2023). FACE-AUDITOR: Data auditing in facial recognition systems. In USENIX Security Symposium.
Chen, Z. and Pattabiraman, K. (2025). Anonymity unveiled: A practical framework for auditing data use in deep learning models. In ACM SIGSAC Conference on Computer and Communications Security.
Duan, M., Suri, A., Mireshghallah, N., Min, S., Shi, W., Zettlemoyer, L., Tsvetkov, Y., Choi, Y., Evans, D., and Hajishirzi, H. (2024). Do membership inference attacks work on large language models? In Conference on Language Modeling.
Fawcett, T. (2006). An introduction to ROC analysis. Pattern Recognition Letters, 27(8):861–874.
Gao, L., Biderman, S., Black, S., Golding, L., Hoppe, T., Foster, C., Phang, J., He, H., Thite, A., Nabeshima, N., Presser, S., and Leahy, C. (2020). The Pile: An 800GB dataset of diverse text for language modeling. arXiv preprint arXiv:2101.00027.
Hamborg, F., Meuschke, N., Breitinger, C., and Gipp, B. (2017). news-please: A generic news crawler and extractor. In International Symposium of Information Science.
Hartmann, V., Meynent, L., Peyrard, M., Dimitriadis, D., Tople, S., and West, R. (2023). Distribution inference risks: Identifying and mitigating sources of leakage. In IEEE Conference on Secure and Trustworthy Machine Learning. IEEE.
Huang, Z., Gong, N. Z., and Reiter, M. K. (2024). A general framework for data-use auditing of ML models. In ACM SIGSAC Conference on Computer and Communications Security.
Huber, P. J. (1964). Robust estimation of a location parameter. The Annals of Mathematical Statistics, 35(1):73–101.
Kandpal, N., Pillutla, K., Oprea, A., Kairouz, P., Choquette-Choo, C. A., and Xu, Z. (2024). User inference attacks on large language models. In Conference on Empirical Methods in Natural Language Processing.
Klimt, B. and Yang, Y. (2004). The Enron corpus: A new dataset for email classification research. In European Conference on Machine Learning. Springer.
Liu, Y. and Zou, R. (2026). When explanations betray backdoors: Black-box auditing for language model classifiers. arXiv preprint arXiv:2608.12623.
Maini, P., Jia, H., Papernot, N., and Dziedzic, A. (2024). LLM dataset inference: Did you train on my dataset? In Advances in Neural Information Processing Systems, volume 37.
Mattern, J., Mireshghallah, F., Jin, Z., Schölkopf, B., Sachan, M., and Berg-Kirkpatrick, T. (2023). Membership inference attacks against language models via neighbourhood comparison. In Findings of the Association for Computational Linguistics: Annual Meeting of the Association for Computational Linguistics.
Meyers, B. S., Munaiah, N., Prud'hommeaux, E., Meneely, A., Alm, C. O., Wolff, J., and Murukannaiah, P. K. (2018). A dataset for identifying actionable feedback in collaborative software development. In Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers).
Miao, Y., Xue, M., Chen, C., Pan, L., Zhang, J., Zhao, B. Z. H., Kaafar, D., and Xiang, Y. (2021). The audio auditor: user-level membership inference in internet of things voice services. Proceedings on Privacy Enhancing Technologies, 2021(1):209–228.
Puerto, H., Gubri, M., Yun, S., and Oh, S. J. (2025). Scaling up membership inference: When and how attacks succeed on large language models. In Findings of the Association for Computational Linguistics: Annual Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics.
Shafer, G. and Vovk, V. (2008). A tutorial on conformal prediction. Journal of Machine Learning Research, 9(12):371–421.
Shi, W., Ajith, A., Xia, M., Huang, Y., Liu, D., Blevins, T., Chen, D., and Zettlemoyer, L. (2024). Detecting pretraining data from large language models. In International Conference on Learning Representations.
Shokri, R., Stronati, M., Song, C., and Shmatikov, V. (2017). Membership inference attacks against machine learning models. In IEEE Symposium on Security and Privacy. IEEE.
Song, C. and Shmatikov, V. (2019). Auditing data provenance in text-generation models. In ACM SIGKDD International Conference on Knowledge Discovery & Data Mining.
Suri, A., Kanani, P., Marathe, V. J., and Peterson, D. W. (2022). Subject membership inference attacks in federated learning. arXiv preprint arXiv:2206.03317.
Tao, J. and Shokri, R. (2025). Range membership inference attacks. In IEEE Conference on Secure and Trustworthy Machine Learning. IEEE.
Vovk, V., Gammerman, A., and Shafer, G. (2005). Algorithmic learning in a random world. Springer.
Watson, L., Guo, C., Cormode, G., and Sablayrolles, A. (2022). On the importance of difficulty calibration in membership inference attacks. In International Conference on Learning Representations.
Zhang, H., Tong, T., Landers, J., and Wu, Z. (2020). TFisher: A powerful truncation and weighting procedure for combining p-values. The Annals of Applied Statistics, 14(1):178–201.
Zhang, J., Das, D., Kamath, G., and Tramèr, F. (2025a). Position: Membership inference attacks cannot prove that a model was trained on your data. In IEEE Conference on Secure and Trustworthy Machine Learning. IEEE.
Zhang, J., Sun, J., Yeats, E., Ouyang, Y., Kuo, M., Zhang, J., Yang, H. F., and Li, H. (2025b). Min-K%++: Improved baseline for pre-training data detection from large language models. In International Conference on Learning Representations.
Zhang, W., Zhang, R., Guo, J., de Rijke, M., Fan, Y., and Cheng, X. (2024). Pretraining data detection for large language models: A divergence-based calibration method. In Conference on Empirical Methods in Natural Language Processing.
Zhao, B., Maini, P., Boenisch, F., and Dziedzic, A. (2025a). Unlocking post-hoc dataset inference with synthetic data. In International Conference on Machine Learning.
Zhao, C., Qian, W., Chen, A., and Huai, M. (2025b). Membership inference attacks with false discovery rate control. In IEEE/CVF International Conference on Computer Vision. IEEE.
Zou, R., Zhu, W., and Nan, B. (2026). Conformalized percentile interval: Finite sample validity and improved conditional performance. arXiv preprint arXiv:2605.03233.
A IMPLEMENTATION CONVENTIONS
All query bags are nonempty and all document scores are finite. Reference identifiers are distinct and disjoint from calibration and target identifiers. If is no larger than every reference score, ; above all reference scores, . Thus reference smoothing makes the uncapped score finite. For , each document contribution is additionally bounded by . Computation uses double precision, the resulting tails lie in , and a stable sum divided by the actual bag size. The ablation also evaluates the smoothed uncapped score .
B PROOF OF SOURCE-LEVEL CONFORMAL VALIDITY
Proof of Theorem 1. Work under . Write and for . For each , define the conservative descending rank
Equation (6) gives . For any realized score vector and integer ,
Indeed, ordering the scores from largest to smallest assigns every member of a tied group the rank of its last position. Only the first positions can have rank at most . This covers complete ties and .
Exchangeability gives the indicators the same expectation. With ,
C EXPERIMENTAL DETAILS
C.1 Source populations and query construction
Table 4 summarizes the eligible audit-source pool after query filtering; training exposure in Table 5 covers the full fine-tuning corpus. Source participation is fixed by the training assignment: participating sources contribute fine-tuning documents, while certified nonparticipating sources contribute none. Query documents are disjoint from the fine-tuning and checkpoint-validation documents.
Table 4: Source populations and query bags. The SCF reference/calibration allocation is in Reddit, CC News, and Chromium and (25, 25) in Enron. All participants and all null sources outside these controls are tested in each of 500 partitions. Raw-score baselines use all controls for calibration. Query counts are per source.
| Domain | Source unit | Sources | Participants | Null pool | Null test | Queries |
|---|---|---|---|---|---|---|
| Account | 267 | 84 | 183 | 84 | 16 | |
| CC News | Web domain | 2,709 | 1,348 | 1,361 | 1,262 | 1–16 |
| Enron | Mailbox owner | 141 | 70 | 71 | 21 | 1–16 |
| Chromium | Developer | 199 | 50 | 149 | 50 | 16 |
The query budget is , where is the number of eligible query documents for source . The same query bag is used in every partition and by every aggregation method. CC News has 2,087 sources with fewer than 16 queries and an overall median bag size of six; Enron has 51 sources with fewer than 16 queries and an overall median bag size of 16. Reddit and Chromium each have 16 queries for every source. The shared budget limits the number of documents rather than the total number of tokens.
-
Reddit. Sources are public accounts, with text drawn from two communities per account. Each participating account contributes eight fine-tuning documents per community. Query bags contain eight documents from each community. Views retain 8–511 content tokens and append EOS, giving the same range of prediction-token counts.
-
CC News. Sources are web domains and documents are articles. Each scored view uses the first at most 511 content tokens with an appended EOS. An article is excluded if any fixed-width or paragraph segment within its first 2,044 content tokens exactly matches a complete token input in the training-candidate or validation pool, including unused training candidates. Segment inputs include EOS; comparisons use token-sequence hashes. This is an exact-input exclusion, not a near-duplicate criterion. The accompanying config/data_construction.md specifies segment boundaries and short-tail handling. All aggregation methods score the same first-block article view.
-
Enron. Sources are mailbox owners identified by a canonical sender address. Within each mailbox, candidate From addresses contain the surname inferred from the mailbox name; the most frequent candidate is selected, with lexical tie-breaking. Only messages sent by that address within its owner mailbox are retained, and repeated canonical addresses define one source. Before source assignment, line-ending-normalized message bodies are deduplicated within sources; any exact body shared by multiple sources is removed from all of them. Sources with fewer than four remaining documents are excluded. Each email view retains at most 511 content tokens and appends EOS. Exact token matches with the update or validation inputs are excluded before applying the query budget; this removes two overlapping query documents and leaves 8,104 eligible queries across the 141 sources.
-
Chromium. Sources are developer accounts and documents are comments. Quote-prefixed lines are removed, and eligible views contain 65–257 content tokens, giving 64–256 next-token predictions. No EOS is appended. Each participating account contributes 16 training documents; each source's 16 queries are drawn by the common rule from its 32 eligible query documents.
C.2 Model fitting and checkpoint selection
All domains use EleutherAI/gpt-neo-125m as both the initial model and the pretrained scoring reference. Fine-tuning uses Adam with learning rate , batch size eight, , , and zero weight decay. The schedule has 200 warmup updates followed by linear decay over the ten-epoch training horizon. Documents are not packed, and no gradient accumulation or clipping is used. Training uses bfloat16 autocast with float32 optimizer state. The training seeds are 20260914 for Reddit and Chromium, 171470688381003029 for CC News, and 7129716279750356844 for Enron. Each seed initializes the Python and PyTorch CPU/CUDA random states and a separate PyTorch generator for shuffling training documents; NumPy uses the seed modulo . These seeds are distinct from the audit source-role partitions, whose exact assignments are included in the public repository.
We choose the epoch endpoint with minimum validation token-average negative log-likelihood, breaking exact ties in favor of the earlier endpoint. Validation uses held-out documents from participating sources. The numbers of validation documents are 336, 17,191, 2,636, and 200 for Reddit, CC News, Enron, and Chromium, respectively. Table 5 reports the resulting checkpoints and training exposure.
Table 5: Training exposure and checkpoint used for scoring. The checkpoint criterion is minimum validation token-average negative log-likelihood over ten epoch endpoints.
| Domain | Train documents / epoch | Prediction tokens / epoch | Epoch | Updates |
|---|---|---|---|---|
| 1,344 | 62,965 | 3 | 504 | |
| CC News | 283,370 | 95,590,331 | 9 | 318,798 |
| Enron | 42,917 | 10,742,290 | 5 | 26,825 |
| Chromium | 800 | 84,258 | 2 | 200 |
C.3 Document scores and aggregation
For a document view with predicted tokens and fixed contexts, the evidence is
Here is the set of scored prediction positions, and correspond to the same updated and initial checkpoints as (2); and are the products over those positions. The target and reference models use identical tokens and prediction masks. Larger scores indicate stronger participation evidence, and all aggregators receive the same numeric document scores. In domain , SCF fits one source-weighted tail map from reference bags in each partition and uses it for both calibration and test bags. We use for Reddit, CC News, and Chromium and (25,25) for Enron, where is SCF's calibration count. Every reference source has total weight , including when its bag size differs from other sources. With equal bag sizes, this gives the same tail as pooled document counts. The main comparisons use ; Appendix C.6 varies the cap while retaining the same reference map within each partition.
Mean, Max, and Min aggregate the numerical scores directly. For the RaMIA-style statistic, order the query documents so that and define
We use the .25 trimming ratio from the CelebA identity-range experiment of Tao and Shokri (2025). This evaluates RaMIA's aggregation component on the shared document score. Uncapped Fisher uses the same source-balanced, smoothed reference map as SCF, with . The four raw-score baselines require no fitted reference map and use all controls for calibration; SCF and uncapped Fisher reserve controls for reference fitting and use the remaining for calibration.
C.4 Source partitions and AUROC
For each domain and a random partition , we form the fitting reference and the SCF calibration panel . All remaining null sources and all participating sources form the common test panel. Reference, SCF calibration, and test roles are disjoint within each partition. For the raw-score baselines, the calibration set is the union . Thus every method receives the same total budget of controls and the same test targets. The participating/null test counts are 84/84, 1,348/1,262, 70/21, and 50/50 for Reddit, CC News, Enron, and Chromium, respectively.
We use 500 partition seeds. Training membership, model weights, query documents, and document scores remain fixed across partitions; only the null-source audit roles change.
Let denote the four raw-score comparators. For method in domain , let be its source-score AUROC in partition , with half credit for equal scores. Table 1 reports
Table 6 complements the mean AUROC comparison with paired win, tie, and loss counts against each comparator. Within each partition, all methods are evaluated on the same test sources, with SCF fixed at .
Table 6: Paired AUROC comparisons across 500 matched source-role partitions. Wins, ties, and losses count partitions in which SCF () has higher, equal, or lower AUROC than the named comparator, respectively; each row sums to 500. Mean gain is the average paired AUROC difference (SCF minus comparator), expressed in percentage points and computed before rounding.
| Domain | Comparator | Wins | Ties | Losses | Mean gain (pp) |
|---|---|---|---|---|---|
| Mean | 329 | 10 | 161 | +0.130329 | |
| Max | 460 | 0 | 40 | +2.798073 | |
| Min | 450 | 0 | 50 | +2.976502 | |
| RaMIA | 307 | 4 | 189 | +0.117630 | |
| Uncapped Fisher | 336 | 5 | 159 | +0.170607 | |
| CC News | Mean | 500 | 0 | 0 | +0.496548 |
| Max | 500 | 0 | 0 | +4.007021 | |
| Min | 500 | 0 | 0 | +3.041496 | |
| RaMIA | 500 | 0 | 0 | +1.271364 | |
| Uncapped Fisher | 498 | 0 | 2 | +0.274898 | |
| Enron | Mean | 492 | 1 | 7 | +2.409660 |
| Max | 499 | 0 | 1 | +10.874694 | |
| Min | 500 | 0 | 0 | +22.055374 | |
| RaMIA | 489 | 2 | 9 | +3.358367 | |
| Uncapped Fisher | 390 | 15 | 95 | +0.822177 | |
| Chromium | Mean | 473 | 3 | 24 | +1.679760 |
| Max | 500 | 0 | 0 | +8.189760 | |
| Min | 491 | 0 | 9 | +7.257600 | |
| RaMIA | 439 | 1 | 60 | +1.496080 | |
| Uncapped Fisher | 404 | 10 | 86 | +0.664000 |
C.5 Source-level true- and false-positive rates
Table 3 uses the same models, queries, reference fits, source-role partitions, and test panels as Table 1. Let be method 's source score in domain and partition : for SCF, for uncapped Fisher, and the appropriate aggregation of for a raw-score baseline.
Define the method-specific calibration set and its size by
Motivated by the use of held-out calibration in conformal inference (Vovk et al., 2005; Shafer and Vovk, 2008; Bates et al., 2023; Zou et al., 2026), we compare each test source's score with calibration scores computed using the same frozen rule, giving
Comparisons share the nominal level and total control budget. Under the appropriate source exchangeability, Appendix B gives the validity argument for each method.
Let be the test sources of participation status . We compute the empirical class-specific rejection rate and its partition average as
The rate is FPR and the rate is TPR. Controls are excluded from both denominators: calibration uses known nonparticipating sources, whereas FPR is measured on disjoint null test sources, which is common in conformal outlier detection and model auditing (Bates et al., 2023; Zhao et al., 2025b; Liu and Zou, 2026). Repeated decisions remain dependent and are not treated as independent binomial trials. Table 3 reports empirical TPR/FPR means.
C.6 Evidence-cap ablation
The ablation uses the same 500 source-role partitions, allocations, models, document scores, and query bags as the main comparisons. Thus in Reddit, CC News, and Chromium, and in Enron. Within each partition, one source-balanced reference map, one calibration panel, and one test panel are shared by . The uncapped condition is
The finite-reference smoothing is retained in every condition, so even without a cap. Larger positive gives a smaller maximum contribution and hence stronger capping. The and predictions reproduce their main-table counterparts.
Let be the source AUROC in domain d and partition b. Table 7 reports its mean and sample standard deviation across partitions:
Table 7: Cap sensitivity over the same 500 source-role partitions. All entries are mean AUROC ± partition SD. These SDs describe variation in source-role assignment, not population confidence intervals.
| Domain | (uncapped) | ||||
|---|---|---|---|---|---|
| CC News | |||||
| Enron | |||||
| Chromium |
All columns use the same AUROC scale. Figure 3 displays the matched change
These standard deviations describe variation in audit roles for the fixed fitted model and source pool. The partitions share sources, so they are not independent training replications and the standard deviations are not population confidence intervals.
All four positive caps have higher mean AUROC than uncapped Fisher in each domain. The highest mean in the tested grid occurs at .02 for Reddit and .10 for the other three domains.
For every cap, it is evaluated at nominal levels of 5%, 10%, and 20%. Table 8 reports the resulting empirical FPR means.
Table 8: Empirical FPR (%), averaged over the same 500 partitions. Each cap uses the same fitted reference and calibration sources, with except Enron (25,25). The nominal level and evidence cap are distinct parameters.
| Domain | (%) | Uncapped | ||||
|---|---|---|---|---|---|---|
| 5 | 5.07 | 5.06 | 5.05 | 4.95 | 5.00 | |
| 10 | 10.09 | 10.11 | 10.04 | 10.02 | 9.99 | |
| 20 | 20.05 | 20.06 | 20.04 | 20.05 | 19.94 | |
| CC News | 5 | 4.91 | 4.88 | 4.86 | 4.86 | 4.98 |
| CC News | 10 | 10.00 | 10.00 | 10.06 | 10.08 | 10.21 |
| CC News | 20 | 20.32 | 20.38 | 20.37 | 20.29 | 20.25 |
| Enron | 5 | 3.90 | 3.92 | 3.99 | 3.96 | 3.98 |
| Enron | 10 | 8.05 | 7.93 | 7.93 | 7.81 | 7.90 |
| Enron | 20 | 18.78 | 18.79 | 18.92 | 19.10 | 18.99 |
| Chromium | 5 | 5.22 | 5.25 | 5.32 | 5.40 | 5.26 |
| Chromium | 10 | 10.33 | 10.50 | 10.60 | 10.68 | 10.55 |
| Chromium | 20 | 20.14 | 20.18 | 20.21 | 20.30 | 20.52 |
C.7 Auditing with post-cutoff documents
We evaluate SCF when the documents available to the auditor come from a later period than those used in the model update. For each domain, we do fine-tuning using only documents preceding a common temporal cutoff. All query documents from participating targets, nonparticipating targets, reference sources , and calibration sources are dated at or after that cutoff and excluded from both fine-tuning and checkpoint validation. This setting adds temporal separation to fresh-document inference: the participation signal must transfer from earlier training documents to later queries.
Table 9: SCF audit utility with pre-cutoff training and exclusively post-cutoff target, reference, and calibration queries. Each entry is FPR / TPR (%), averaged over 500 source-role partitions with . The columns specify the nominal significance level .
| Domain | |||
|---|---|---|---|
| 4.84 / 10.33 | 9.72 / 17.70 | 19.35 / 27.27 | |
| CC News | 5.06 / 10.43 | 10.16 / 19.88 | 20.31 / 35.55 |
| Enron | 3.60 / 7.10 | 6.96 / 22.81 | 18.28 / 56.23 |
| Chromium | 4.90 / 8.39 | 9.93 / 15.89 | 20.18 / 28.15 |
Calibration and null targets follow the same post-cutoff query rule; the validity guarantee continues to require the source exchangeability stated in Theorem 1.
The cutoffs are December 1, 2015 for Reddit, January 1, 2018 for CC News, October 1, 2001 for Enron, and January 1, 2014 for Chromium, with timestamps normalized to UTC. Documents with missing or unparseable dates are excluded. We fit one GPT-Neo-125M model per domain with training seed 20260914, learning rate , and batch size eight, selecting the checkpoint with minimum pre-cutoff validation token-average negative log-likelihood over ten epoch endpoints. The fine-tuning sets contain 633, 148,629, 32,535, and 391 documents per epoch, respectively; the selected epochs are 3, 9, 5, and 3.
We retain and , except for Enron, where . We use the score in (2) and the decision rule in (6), averaging FPR and TPR across partitions as in Appendix C.5.
Table 9 shows that the calibrated SCF procedure retains detection ability under temporal separation without marked empirical false-positive inflation.
C.8 Computational checks and reproducibility
Fine-tuning and scoring use an NVIDIA A100 80GB GPU; cached aggregation runs on an ARM64 macOS CPU with no further model queries.
The public repository contains the data-processing and training implementations, fixed document splits, and source-role partitions for the main four-domain experiment. The complete pipeline reconstructs model inputs from the original public corpora, fine-tunes the language models, computes document scores, and evaluates the aggregation and calibration procedures. A second route starts from the supplied document-score arrays and reproduces Tables 1–3 and 6–8 and Figure 3 without further model queries. The repository README provides the commands, software versions, and computational requirements, and a verification script checks the main tables against the values reported here.
C.9 Responsible use
Participation inference can expose source involvement through untrained documents. Our experiments concern controlled updates, not misconduct by named people, and report no raw personal identifiers.