andyjzhao commited on
Commit
6a286fc
·
verified ·
1 Parent(s): c65fc73

Upload folder using huggingface_hub

Browse files
Files changed (24) hide show
  1. icml26/9346049b-7104-494c-9378-955a2d7393ed/appendix_chunks.jsonl +47 -0
  2. icml26/9346049b-7104-494c-9378-955a2d7393ed/appendix_text_v3.txt +140 -0
  3. icml26/9346049b-7104-494c-9378-955a2d7393ed/assets.json +101 -0
  4. icml26/9346049b-7104-494c-9378-955a2d7393ed/assets/_page_0_Figure_9.jpeg +3 -0
  5. icml26/9346049b-7104-494c-9378-955a2d7393ed/assets/_page_12_Figure_5.jpeg +3 -0
  6. icml26/9346049b-7104-494c-9378-955a2d7393ed/assets/_page_13_Figure_1.jpeg +3 -0
  7. icml26/9346049b-7104-494c-9378-955a2d7393ed/assets/_page_13_Figure_3.jpeg +3 -0
  8. icml26/9346049b-7104-494c-9378-955a2d7393ed/assets/_page_15_Figure_1.jpeg +3 -0
  9. icml26/9346049b-7104-494c-9378-955a2d7393ed/assets/_page_2_Figure_1.jpeg +3 -0
  10. icml26/9346049b-7104-494c-9378-955a2d7393ed/assets/_page_3_Figure_2.jpeg +3 -0
  11. icml26/9346049b-7104-494c-9378-955a2d7393ed/assets/_page_6_Figure_1.jpeg +3 -0
  12. icml26/9346049b-7104-494c-9378-955a2d7393ed/assets/_page_7_Figure_4.jpeg +3 -0
  13. icml26/9346049b-7104-494c-9378-955a2d7393ed/chunks_v3_anonymized.jsonl +146 -0
  14. icml26/9346049b-7104-494c-9378-955a2d7393ed/dataset_meta.json +60 -0
  15. icml26/9346049b-7104-494c-9378-955a2d7393ed/main_body_chunks.jsonl +95 -0
  16. icml26/9346049b-7104-494c-9378-955a2d7393ed/marker_meta.json +2079 -0
  17. icml26/9346049b-7104-494c-9378-955a2d7393ed/model_text_v3.txt +284 -0
  18. icml26/9346049b-7104-494c-9378-955a2d7393ed/paper.blocks.json +0 -0
  19. icml26/9346049b-7104-494c-9378-955a2d7393ed/paper.md +649 -0
  20. icml26/9346049b-7104-494c-9378-955a2d7393ed/parse_report.json +75 -0
  21. icml26/9346049b-7104-494c-9378-955a2d7393ed/reference_chunks.jsonl +4 -0
  22. icml26/9346049b-7104-494c-9378-955a2d7393ed/reference_text_v3.txt +11 -0
  23. icml26/9346049b-7104-494c-9378-955a2d7393ed/sanitization_report.json +58 -0
  24. icml26/9346049b-7104-494c-9378-955a2d7393ed/sanitized_v3.txt +343 -0
icml26/9346049b-7104-494c-9378-955a2d7393ed/appendix_chunks.jsonl ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0099", "section": "A. Details of Baseline", "page_start": 11, "page_end": 11, "type": "Text", "text": "Shared Notations: We first define the universal notations used across all baseline methods for consistency:", "source": "marker_v2", "marker_block_id": "/page/10/Text/2"}
2
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0100", "section": "A. Details of Baseline", "page_start": 11, "page_end": 11, "type": "ListGroup", "text": "x: Input text sample for membership inference detection. {x1, x2, . . . , x N }: Token sequence of input text sample x, where N denotes the total number of tokens in the text. x<t: Prefix token sequence of the t-th token xt, i.e., x<t = {x1, . . . , xt−1}. θ: Trainable parameters of the pre-trained language model. p(· | ·; θ): Conditional probability distribution parameterized by the model parameters θ. k%: Percentage threshold for selecting low-probability outlier tokens (used in Min-k% and Min-k%++).", "source": "marker_v2", "marker_block_id": "/page/10/ListGroup/597"}
3
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0101", "section": "A.1. PPL", "page_start": 11, "page_end": 11, "type": "Text", "text": "Perplexity (PPL) is a classic global likelihood-based metric that measures the model's uncertainty in predicting a given text, with lower PPL indicating higher text familiarity (more likely to be a member sample). First, the text is tokenized into a sequence of tokens {x1, x2, . . . , x N }. Then, the log-likelihood of each token is calculated conditional on the preceding tokens, and the final PPL is derived by normalizing the sum of log-likelihoods by the token sequence length and performing an exponential transformation.", "source": "marker_v2", "marker_block_id": "/page/10/Text/10"}
4
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0102", "section": "A.1. PPL", "page_start": 11, "page_end": 11, "type": "Equation", "text": "PPL = \\exp\\left(-\\frac{1}{N} \\sum_{i=1}^{N} \\log p(x_i|x_1, ..., x_{x-1}; \\theta)\\right) (16)", "source": "marker_v2", "marker_block_id": "/page/10/Equation/11"}
5
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0103", "section": "A.2. Zlib", "page_start": 11, "page_end": 11, "type": "Text", "text": "Zlib is a compression-based global likelihood-related method that leverages compression entropy to distinguish member and non-member samples, which calibrates the loss using the input's Zlib entropy. For an input text sample x and a pre-trained model M, the Zlib score is defined as the ratio of the loss related to the text and model to the Zlib compression entropy of the input text:", "source": "marker_v2", "marker_block_id": "/page/10/Text/13"}
6
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0104", "section": "A.2. Zlib", "page_start": 11, "page_end": 11, "type": "Equation", "text": "Zlib Score = \\frac{L(x, M)}{\\text{zlib}(x)} (17)", "source": "marker_v2", "marker_block_id": "/page/10/Equation/14"}
7
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0105", "section": "A.2. Zlib", "page_start": 11, "page_end": 11, "type": "Text", "text": "where L(x, M) denotes the loss value associated with the input text x under the model M and zlib(x) represents the Zlib compression entropy of the input text x, which is derived from the length of the text after Zlib compression.", "source": "marker_v2", "marker_block_id": "/page/10/Text/15"}
8
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0106", "section": "A.3. Min-k%", "page_start": 11, "page_end": 11, "type": "Text", "text": "Min-k% is a local likelihood-based method that mitigates global word frequency interference by focusing on low-probability outlier tokens. For an input text token sequence x = {x1, x2, . . . , x N } (where N denotes the total number of tokens), it first calculates the conditional log-likelihood of each token x i given its preceding context:", "source": "marker_v2", "marker_block_id": "/page/10/Text/17"}
9
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0107", "section": "A.3. Min-k%", "page_start": 11, "page_end": 11, "type": "Equation", "text": "\\log p(x_i \\mid x_1, x_2, \\dots, x_{i-1}; \\theta)", "source": "marker_v2", "marker_block_id": "/page/10/Equation/18"}
10
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0108", "section": "A.3. Min-k%", "page_start": 11, "page_end": 11, "type": "Text", "text": "Subsequently, it sorts all token conditional probabilities in ascending order, selects the bottom k% tokens (i.e., the k% tokens with the smallest conditional probabilities) to form the low-probability set Tmin(k%) = Min-K%(x). The final Min-k% score is defined as the average conditional log-likelihood of tokens in Tmin(k%):", "source": "marker_v2", "marker_block_id": "/page/10/Text/19"}
11
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0109", "section": "A.3. Min-k%", "page_start": 11, "page_end": 11, "type": "Equation", "text": "Min-k% Score(x) = \\frac{1}{|T_{\\min(k\\%)}|} \\sum_{x_i \\in T_{\\min(k\\%)}} \\log p(x_i \\mid x_1, \\dots, x_{i-1}; \\theta) (18)", "source": "marker_v2", "marker_block_id": "/page/10/Equation/20"}
12
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0110", "section": "A.3. Min-k%", "page_start": 11, "page_end": 11, "type": "Text", "text": "where |Tmin(k%)| = ⌊k% × N⌋ denotes the cardinality of the low-probability token set (rounded down to the nearest integer). During detection, a threshold is set on Min-k% Score(x): text with a score below the threshold is classified as a member sample (since member samples tend to contain more low-probability outlier tokens), and vice versa.", "source": "marker_v2", "marker_block_id": "/page/10/Text/21"}
13
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0111", "section": "A.4. Min-k%++", "page_start": 12, "page_end": 12, "type": "Text", "text": "Min-k%++ is an optimized variant of Min-k% that enhances detection robustness by integrating vocabulary-level probability statistics, addressing the text-length dependency and short-text fluctuation issues of the original method. For an input text token sequence x = \\{x_1, x_2, \\dots, x_N\\} , it first computes the normalized conditional log-likelihood for each token x_t (given prefix x_{< t} = \\{x_1, \\dots, x_{t-1}\\} ) by normalizing with the vocabulary-wide log-probability statistics of the prefix x_{< t} .", "source": "marker_v2", "marker_block_id": "/page/11/Text/2"}
14
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0112", "section": "Core Token-Level Score Calculation", "page_start": 12, "page_end": 12, "type": "Text", "text": "For each token x_t , the token-level Min-k%++ score is defined as:", "source": "marker_v2", "marker_block_id": "/page/11/Text/4"}
15
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0113", "section": "Core Token-Level Score Calculation", "page_start": 12, "page_end": 12, "type": "Equation", "text": "Min-k\\% + +_{token}(x_{< t}, x_t) = \\frac{\\log p(x_t \\mid x_{< t}; \\theta) - \\mu_{x_{< t}}}{\\sigma_{x_{< t}}} (19)", "source": "marker_v2", "marker_block_id": "/page/11/Equation/5"}
16
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0114", "section": "Core Token-Level Score Calculation", "page_start": 12, "page_end": 12, "type": "Text", "text": "where \\mu_{x_{< t}} = \\mathbb{E}_{z \\sim p(\\cdot \\mid x_{< t}; \\theta)} [\\log p(z \\mid x_{< t}; \\theta)] : Expectation of the next-token log-likelihood over the model's vocabulary, given prefix x_{< t} ; \\sigma_{x_{< t}} = \\sqrt{\\mathbb{E}_{z \\sim p(\\cdot \\mid x_{< t}; \\theta)} \\left[ (\\log p(z \\mid x_{< t}; \\theta) - \\mu_{x_{< t}})^2 \\right]} : Standard deviation of the next-token log-likelihood over the vocabulary, given prefix x_{< t} .", "source": "marker_v2", "marker_block_id": "/page/11/Text/6"}
17
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0115", "section": "Core Token-Level Score Calculation", "page_start": 12, "page_end": 12, "type": "Text", "text": "Both \\mu_{x_{< t}} and \\sigma_{x_{< t}} can be computed analytically using the model's output logits (since p(\\cdot \\mid x_{< t}; \\theta) follows a categorical distribution), requiring no additional computational overhead beyond standard LLM inference.", "source": "marker_v2", "marker_block_id": "/page/11/Text/7"}
18
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0116", "section": "Final Sequence-Level Score Calculation", "page_start": 12, "page_end": 12, "type": "Text", "text": "Similar to Min-k%, Min-k%++ selects the bottom k% tokens with the smallest Min-k%++<sub>token</sub> scores to form the low-probability set T_{\\min(k\\%)}^+ . The final sequence-level score is the average of the token-level scores in this set:", "source": "marker_v2", "marker_block_id": "/page/11/Text/9"}
19
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0117", "section": "Final Sequence-Level Score Calculation", "page_start": 12, "page_end": 12, "type": "Equation", "text": "Min-k\\% ++ Score(x) = \\frac{1}{|T_{\\min(k\\%)}^+|} \\sum_{(x_{< t}, x_t) \\in T_{\\min(k\\%)}^+} Min-k\\% ++_{token}(x_{< t}, x_t) (20)", "source": "marker_v2", "marker_block_id": "/page/11/Equation/10"}
20
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0118", "section": "Final Sequence-Level Score Calculation", "page_start": 12, "page_end": 12, "type": "Text", "text": "where |T_{\\min(k\\%)}^+| = \\lfloor k\\% \\times N \\rfloor denotes the cardinality of the low-probability token set. During detection, a threshold is applied: text with a lower Min-k%++ score is more likely to be a member sample, as the normalized score better distinguishes low-probability outlier tokens of member samples from non-member ones.", "source": "marker_v2", "marker_block_id": "/page/11/Text/11"}
21
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0119", "section": "A.5. FSD", "page_start": 12, "page_end": 12, "type": "Text", "text": "Fine-tuned Score Deviation (FSD) is a fine-tuning enhanced method that leverages score discrepancies between pre-trained and fine-tuned models for member sample detection. Its core workflow includes two key steps: first, constructing a domain-matched non-member fine-tuning dataset (using post-model-release unseen data), then performing self-supervised next-token prediction fine-tuning on the pre-trained model. Finally, it calculates the score difference between the pre-trained and fine-tuned models to distinguish member and non-member samples. The self-supervised fine-tuning loss is defined as:", "source": "marker_v2", "marker_block_id": "/page/11/Text/13"}
22
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0120", "section": "A.5. FSD", "page_start": 12, "page_end": 12, "type": "Equation", "text": "\\mathcal{L}_{\\text{fine-tuning}}(x) = -\\frac{1}{n} \\sum_{i=1}^{n} \\log f_{\\theta}(x_i \\mid x_1, \\dots, x_{i-1}) (21)", "source": "marker_v2", "marker_block_id": "/page/11/Equation/14"}
23
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0121", "section": "A.5. FSD", "page_start": 12, "page_end": 12, "type": "Text", "text": "The final FSD score is the deviation between the sample scores obtained from the pre-trained model f_{\\theta} and the fine-tuned model f_{\\theta'} (with parameters \\theta' ):", "source": "marker_v2", "marker_block_id": "/page/11/Text/15"}
24
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0122", "section": "A.5. FSD", "page_start": 12, "page_end": 12, "type": "Equation", "text": "FSD(x; f_{\\theta}, f_{\\theta'}) = S(x; f_{\\theta}) - S(x; f_{\\theta'}) (22)", "source": "marker_v2", "marker_block_id": "/page/11/Equation/16"}
25
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0123", "section": "A.5. FSD", "page_start": 12, "page_end": 12, "type": "Text", "text": "where S(\\cdot) represents a base scoring function (e.g., Perplexity, Min-k%). A large FSD score indicates the sample is likely a non-member (fine-tuning reduces non-member perplexity significantly), while a small score suggests a member sample (fine-tuning has negligible impact on member perplexity). A validation-set optimized threshold \\varepsilon is used for final classification.", "source": "marker_v2", "marker_block_id": "/page/11/Text/17"}
26
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0124", "section": "A.6. Experimental Settings", "page_start": 12, "page_end": 12, "type": "Text", "text": "We use the PEFT library (Mangrulkar et al., 2022) for LoRA-based (Hu et al., 2022) gradient feature extraction without parameter updates. The base model is initialized from pre-trained checkpoints, and for LoRA configuration, we adopt", "source": "marker_v2", "marker_block_id": "/page/11/Text/19"}
27
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0125", "section": "A.6. Experimental Settings", "page_start": 13, "page_end": 13, "type": "Text", "text": "default settings with rank r = 16, LoRA scaling factor α = 32, and dropout set to 0 since we only focus on gradients from a single backpropagation step and no parameter updates are required. Target modules include all submodules of attention and FFN, including query, key, value, output, gate, up, and down projections. For different datasets, we select the tokenizer sequence length based on the overall length distribution: 256 for the WikiMIA dataset and 512 for all other datasets. When training the MLP classifier, the dataset is uniformly split into training and validation sets at a ratio of 3:7. The MLP classifier is configured with two hidden layers of dimensions 128 and 64, respectively, and uses the default Adam optimizer with a learning rate of 0.001. An early stopping strategy is implemented to avoid overfitting.", "source": "marker_v2", "marker_block_id": "/page/12/Text/1"}
28
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0126", "section": "B. Motivation Experiment Supplementary Details", "page_start": 13, "page_end": 13, "type": "Text", "text": "To verify the parameter update law driven by the training process, we conduct LoRA fine-tuning with 8 epochs on LLaMA-7B using the unseen set of BookMIA dataset, counting LoRA matrix parameter updates per epoch to extract dynamic change curves of target features. Experiments are performed under three learning rates (1e − 5, 3e − 5, 5e − 5). We present the variation trends of the four feature categories across different modules and layers under each learning rate.", "source": "marker_v2", "marker_block_id": "/page/12/Text/3"}
29
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0127", "section": "B. Motivation Experiment Supplementary Details", "page_start": 13, "page_end": 13, "type": "Text", "text": "We present the variation trends of the four feature categories across different modules and layers under each learning rate. Across all learning rates, ∆Θ t and S t exhibit clear epoch-wise patterns: ∆Θ t continuously decreases with training epochs, while S t gradually increases. For Et, distinct opposite trends are observed between the ATT and MLP modules—the update positions of the ATT module tend to be centralized, whereas those of the MLP module tend to be marginalized. Despite this divergence, E t values of both modules converge to the same stable range across the three learning rates. In contrast, T10,t shows a different dynamic: under large learning rates, it first increases and then decreases, yet remains stably around 0.27 throughout training. Notably, the inflection point of T10,t decline coincides with the stage when E t stabilizes. This aligns with our core hypothesis: during training, the model identifies core parameters correlated with the input data and performs concentrated updates on them; once this process is completed, the overall parameter update dynamics tend to stabilize. Regarding different hierarchical levels, only E t shows noticeable discrepancies, while all other features follow the same evolutionary laws.", "source": "marker_v2", "marker_block_id": "/page/12/Text/4"}
30
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0128", "section": "B. Motivation Experiment Supplementary Details", "page_start": 13, "page_end": 13, "type": "FigureGroup", "text": "Figure 6. Feature Dynamic Changes During LoRA Fine-Tuning (Learning Rate 1e−5). Top row: Features in ATT/MLP modules; Bottom row: Features in low/middle/high layers.", "source": "marker_v2", "marker_block_id": "/page/12/FigureGroup/363"}
31
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0129", "section": "B. Motivation Experiment Supplementary Details", "page_start": 14, "page_end": 14, "type": "FigureGroup", "text": "Figure 7. Feature Dynamic Changes During LoRA Fine-Tuning (Learning Rate 3e − 5).", "source": "marker_v2", "marker_block_id": "/page/13/FigureGroup/236"}
32
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0130", "section": "B. Motivation Experiment Supplementary Details", "page_start": 14, "page_end": 14, "type": "FigureGroup", "text": "Figure 8. Feature Dynamic Changes During LoRA Fine-Tuning (Learning Rate 5e − 5).", "source": "marker_v2", "marker_block_id": "/page/13/FigureGroup/237"}
33
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0131", "section": "C. Ablation Experiments on Sub-features and Sub-modules", "page_start": 15, "page_end": 15, "type": "Text", "text": "To further explore the discriminative power of fine-grained components in our method, we conduct two additional ablation experiments: sub-feature category ablation (8 sub-features) and sub-module ablation (7 sub-modules). All experiments follow the same configuration as the main text (LLaMA-7B model, WikiMIA/ArxivTection datasets), with AUC and TPR@5% FPR as evaluation metrics.", "source": "marker_v2", "marker_block_id": "/page/14/Text/12"}
34
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0132", "section": "C.1. Sub-feature Category Ablation Experiment", "page_start": 15, "page_end": 15, "type": "Text", "text": "The four core feature categories are decomposed into 8 sub-features, as follows:", "source": "marker_v2", "marker_block_id": "/page/14/Text/14"}
35
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0133", "section": "C.1. Sub-feature Category Ablation Experiment", "page_start": 15, "page_end": 15, "type": "ListGroup", "text": "Magnitude Distribution Features: Abs Mean, Std Core Contribution Features: 10p Ratio, Sparsity Position Offset Features: Row Ecc, Col Ecc Row-Dimension Consistency Features: Row Mean Max, Row Mean Std", "source": "marker_v2", "marker_block_id": "/page/14/ListGroup/372"}
36
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0134", "section": "C.1. Sub-feature Category Ablation Experiment", "page_start": 15, "page_end": 15, "type": "Text", "text": "Ablation is performed by removing one sub-feature at a time (retaining the other 7), and the results are shown in Table 8.", "source": "marker_v2", "marker_block_id": "/page/14/Text/19"}
37
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0135", "section": "C.1. Sub-feature Category Ablation Experiment", "page_start": 15, "page_end": 15, "type": "TableGroup", "text": "Table 8. Ablation Experiment Results of Sub-features (AUC Scores). Dataset Sub-feature (Ablation Variant) -Abs Mean -Std -10p Ratio -Sparsity -Row Ecc -Col Ecc -Row Max -Row Std WikiMIA 0.95/0.71 0.95/0.72 0.95/0.70 0.94/0.67 0.95/0.70 0.93/0.62 0.95/0.73 0.95/0.72 0.96/0.84 ArxivTection 0.96/0.82 0.96/0.81 0.96/0.83 0.96/0.82 0.96/0.83 0.95/0.78 0.96/0.83 0.96/0.83 0.97/0.85", "source": "marker_v2", "marker_block_id": "/page/14/TableGroup/370"}
38
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0136", "section": "C.1. Sub-feature Category Ablation Experiment", "page_start": 15, "page_end": 15, "type": "Text", "text": "The sub-feature ablation results verify that all sub-features contribute to detection performance, with their combination achieving optimal AUC and TPR scores across both datasets. Among these sub-features, Col Ecc (a Position Offset Feature) is the most critical: its removal leads to the sharpest performance decline (AUC drops to 0.93 on WikiMIA and 0.95 on ArxivTection, with TPR falling to 0.62 and 0.78 respectively). In contrast, removing Abs Mean, Std, 10p Ratio, Row Ecc, Row Max, or Row Std induces only mild performance degradation, with AUC remaining above 0.95 on both datasets, indicating their relatively moderate importance; Sparsity also shows a slight impact on WikiMIA, with its ablation resulting in an AUC of 0.94. Overall, the fine-grained sub-feature design is rational, as each component provides complementary discriminative information for pre-training data detection.", "source": "marker_v2", "marker_block_id": "/page/14/Text/22"}
39
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0137", "section": "C.2. Sub-module Ablation Experiment", "page_start": 15, "page_end": 15, "type": "Text", "text": "The ATT and FFN modules are decomposed into 7 sub-modules based on Transformer architecture details:", "source": "marker_v2", "marker_block_id": "/page/14/Text/24"}
40
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0138", "section": "C.2. Sub-module Ablation Experiment", "page_start": 15, "page_end": 15, "type": "ListGroup", "text": "ATT-related sub-modules: Q-Proj, K-Proj, V-Proj, Out-Proj FFN-related sub-modules: Gate-Proj, Up-Proj, Down-Proj", "source": "marker_v2", "marker_block_id": "/page/14/ListGroup/373"}
41
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0139", "section": "C.2. Sub-module Ablation Experiment", "page_start": 15, "page_end": 15, "type": "Text", "text": "Ablation is performed by removing one sub-module's features at a time, and the results are shown in Table 9.", "source": "marker_v2", "marker_block_id": "/page/14/Text/27"}
42
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0140", "section": "C.2. Sub-module Ablation Experiment", "page_start": 15, "page_end": 15, "type": "TableGroup", "text": "Table 9. Ablation Experiment Results of Sub-modules (AUC / TPR@5% FPR Scores). Dataset Sub-module (Ablation Variant) -Q-Proj -K-Proj -V-Proj -Out-Proj -Gate-Proj -Up-Proj -Down-Proj WikiMIA 0.95/0.72 0.95/0.71 0.94/0.69 0.94/0.67 0.95/0.69 0.94/0.65 0.94/0.61 0.96/0.84 ArxivTection 0.96/0.80 0.96/0.82 0.95/0.79 0.96/0.80 0.96/0.82 0.95/0.78 0.96/0.82 0.97/0.85", "source": "marker_v2", "marker_block_id": "/page/14/TableGroup/371"}
43
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0141", "section": "C.2. Sub-module Ablation Experiment", "page_start": 15, "page_end": 15, "type": "Text", "text": "The sub-module ablation results demonstrate that all sub-modules provide complementary gradient information, as singlesub-module ablation consistently leads to performance degradation while integrating all sub-modules' features achieves", "source": "marker_v2", "marker_block_id": "/page/14/Text/30"}
44
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0142", "section": "C.2. Sub-module Ablation Experiment", "page_start": 16, "page_end": 16, "type": "FigureGroup", "text": "Figure 9. Impact Analysis of Training Set Size on WikiMIA. The abscissa denotes the training-validation set ratio, the ordinate represents the scores of two metrics, yellow indicates the AUROC score, and blue indicates the TPR@5% FPR.", "source": "marker_v2", "marker_block_id": "/page/15/FigureGroup/236"}
45
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0143", "section": "C.2. Sub-module Ablation Experiment", "page_start": 16, "page_end": 16, "type": "Text", "text": "the optimal AUC and TPR@5% FPR scores across both datasets. Though the performance differences between individual ablation variants are mild, ATT-related sub-modules show slightly stronger discriminative power than FFN-related ones, with K-Proj performing prominently among ATT sub-modules; in contrast, among FFN sub-modules, Down-Proj and Gate-Proj contribute more to detection performance than Up-Proj, as retaining the former two yields slightly higher AUC and TPR scores. The performance gap between single-sub-module variants and the full model further confirms the necessity of multi-sub-module feature fusion, which enables the capture of comprehensive gradient patterns across the Transformer architecture. It can be seen from this that our method also achieves excellent performance with smaller LoRA adaptation parameters and lower computational complexity.", "source": "marker_v2", "marker_block_id": "/page/15/Text/3"}
46
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0144", "section": "C.3. Low-Data Scenarios", "page_start": 16, "page_end": 16, "type": "Text", "text": "To evaluate the data efficiency of our method in scenarios with limited training data, we adjust the training-testing split ratio of the WikiMIA dataset to five settings: 1:9, 2:8, 3:7 and 4:6, while keeping the total sample size fixed. Figure Y shows AUC and TPR@5% FPR scores across different split ratios.", "source": "marker_v2", "marker_block_id": "/page/15/Text/5"}
47
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0145", "section": "C.3. Low-Data Scenarios", "page_start": 16, "page_end": 16, "type": "Text", "text": "Figure 9 show our method's performance improves steadily with increasing training set size. Notably, it achieves an AUC of 0.9 even with only 10% of data, accompanied by a TPR@5% FPR of 0.48, confirming that it can also achieve excellent performance with a small amount of data.", "source": "marker_v2", "marker_block_id": "/page/15/Text/6"}
icml26/9346049b-7104-494c-9378-955a2d7393ed/appendix_text_v3.txt ADDED
@@ -0,0 +1,140 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [p. 11 | section: A. Details of Baseline | type: Text]
2
+ Shared Notations: We first define the universal notations used across all baseline methods for consistency:
3
+
4
+ [p. 11 | section: A. Details of Baseline | type: ListGroup]
5
+ x: Input text sample for membership inference detection. {x1, x2, . . . , x N }: Token sequence of input text sample x, where N denotes the total number of tokens in the text. x<t: Prefix token sequence of the t-th token xt, i.e., x<t = {x1, . . . , xt−1}. θ: Trainable parameters of the pre-trained language model. p(· | ·; θ): Conditional probability distribution parameterized by the model parameters θ. k%: Percentage threshold for selecting low-probability outlier tokens (used in Min-k% and Min-k%++).
6
+
7
+ [p. 11 | section: A.1. PPL | type: Text]
8
+ Perplexity (PPL) is a classic global likelihood-based metric that measures the model's uncertainty in predicting a given text, with lower PPL indicating higher text familiarity (more likely to be a member sample). First, the text is tokenized into a sequence of tokens {x1, x2, . . . , x N }. Then, the log-likelihood of each token is calculated conditional on the preceding tokens, and the final PPL is derived by normalizing the sum of log-likelihoods by the token sequence length and performing an exponential transformation.
9
+
10
+ [p. 11 | section: A.1. PPL | type: Equation]
11
+ PPL = \exp\left(-\frac{1}{N} \sum_{i=1}^{N} \log p(x_i|x_1, ..., x_{x-1}; \theta)\right) (16)
12
+
13
+ [p. 11 | section: A.2. Zlib | type: Text]
14
+ Zlib is a compression-based global likelihood-related method that leverages compression entropy to distinguish member and non-member samples, which calibrates the loss using the input's Zlib entropy. For an input text sample x and a pre-trained model M, the Zlib score is defined as the ratio of the loss related to the text and model to the Zlib compression entropy of the input text:
15
+
16
+ [p. 11 | section: A.2. Zlib | type: Equation]
17
+ Zlib Score = \frac{L(x, M)}{\text{zlib}(x)} (17)
18
+
19
+ [p. 11 | section: A.2. Zlib | type: Text]
20
+ where L(x, M) denotes the loss value associated with the input text x under the model M and zlib(x) represents the Zlib compression entropy of the input text x, which is derived from the length of the text after Zlib compression.
21
+
22
+ [p. 11 | section: A.3. Min-k% | type: Text]
23
+ Min-k% is a local likelihood-based method that mitigates global word frequency interference by focusing on low-probability outlier tokens. For an input text token sequence x = {x1, x2, . . . , x N } (where N denotes the total number of tokens), it first calculates the conditional log-likelihood of each token x i given its preceding context:
24
+
25
+ [p. 11 | section: A.3. Min-k% | type: Equation]
26
+ \log p(x_i \mid x_1, x_2, \dots, x_{i-1}; \theta)
27
+
28
+ [p. 11 | section: A.3. Min-k% | type: Text]
29
+ Subsequently, it sorts all token conditional probabilities in ascending order, selects the bottom k% tokens (i.e., the k% tokens with the smallest conditional probabilities) to form the low-probability set Tmin(k%) = Min-K%(x). The final Min-k% score is defined as the average conditional log-likelihood of tokens in Tmin(k%):
30
+
31
+ [p. 11 | section: A.3. Min-k% | type: Equation]
32
+ Min-k% Score(x) = \frac{1}{|T_{\min(k\%)}|} \sum_{x_i \in T_{\min(k\%)}} \log p(x_i \mid x_1, \dots, x_{i-1}; \theta) (18)
33
+
34
+ [p. 11 | section: A.3. Min-k% | type: Text]
35
+ where |Tmin(k%)| = ⌊k% × N⌋ denotes the cardinality of the low-probability token set (rounded down to the nearest integer). During detection, a threshold is set on Min-k% Score(x): text with a score below the threshold is classified as a member sample (since member samples tend to contain more low-probability outlier tokens), and vice versa.
36
+
37
+ [p. 12 | section: A.4. Min-k%++ | type: Text]
38
+ Min-k%++ is an optimized variant of Min-k% that enhances detection robustness by integrating vocabulary-level probability statistics, addressing the text-length dependency and short-text fluctuation issues of the original method. For an input text token sequence x = \{x_1, x_2, \dots, x_N\} , it first computes the normalized conditional log-likelihood for each token x_t (given prefix x_{< t} = \{x_1, \dots, x_{t-1}\} ) by normalizing with the vocabulary-wide log-probability statistics of the prefix x_{< t} .
39
+
40
+ [p. 12 | section: Core Token-Level Score Calculation | type: Text]
41
+ For each token x_t , the token-level Min-k%++ score is defined as:
42
+
43
+ [p. 12 | section: Core Token-Level Score Calculation | type: Equation]
44
+ Min-k\% + +_{token}(x_{< t}, x_t) = \frac{\log p(x_t \mid x_{< t}; \theta) - \mu_{x_{< t}}}{\sigma_{x_{< t}}} (19)
45
+
46
+ [p. 12 | section: Core Token-Level Score Calculation | type: Text]
47
+ where \mu_{x_{< t}} = \mathbb{E}_{z \sim p(\cdot \mid x_{< t}; \theta)} [\log p(z \mid x_{< t}; \theta)] : Expectation of the next-token log-likelihood over the model's vocabulary, given prefix x_{< t} ; \sigma_{x_{< t}} = \sqrt{\mathbb{E}_{z \sim p(\cdot \mid x_{< t}; \theta)} \left[ (\log p(z \mid x_{< t}; \theta) - \mu_{x_{< t}})^2 \right]} : Standard deviation of the next-token log-likelihood over the vocabulary, given prefix x_{< t} .
48
+
49
+ [p. 12 | section: Core Token-Level Score Calculation | type: Text]
50
+ Both \mu_{x_{< t}} and \sigma_{x_{< t}} can be computed analytically using the model's output logits (since p(\cdot \mid x_{< t}; \theta) follows a categorical distribution), requiring no additional computational overhead beyond standard LLM inference.
51
+
52
+ [p. 12 | section: Final Sequence-Level Score Calculation | type: Text]
53
+ Similar to Min-k%, Min-k%++ selects the bottom k% tokens with the smallest Min-k%++<sub>token</sub> scores to form the low-probability set T_{\min(k\%)}^+ . The final sequence-level score is the average of the token-level scores in this set:
54
+
55
+ [p. 12 | section: Final Sequence-Level Score Calculation | type: Equation]
56
+ Min-k\% ++ Score(x) = \frac{1}{|T_{\min(k\%)}^+|} \sum_{(x_{< t}, x_t) \in T_{\min(k\%)}^+} Min-k\% ++_{token}(x_{< t}, x_t) (20)
57
+
58
+ [p. 12 | section: Final Sequence-Level Score Calculation | type: Text]
59
+ where |T_{\min(k\%)}^+| = \lfloor k\% \times N \rfloor denotes the cardinality of the low-probability token set. During detection, a threshold is applied: text with a lower Min-k%++ score is more likely to be a member sample, as the normalized score better distinguishes low-probability outlier tokens of member samples from non-member ones.
60
+
61
+ [p. 12 | section: A.5. FSD | type: Text]
62
+ Fine-tuned Score Deviation (FSD) is a fine-tuning enhanced method that leverages score discrepancies between pre-trained and fine-tuned models for member sample detection. Its core workflow includes two key steps: first, constructing a domain-matched non-member fine-tuning dataset (using post-model-release unseen data), then performing self-supervised next-token prediction fine-tuning on the pre-trained model. Finally, it calculates the score difference between the pre-trained and fine-tuned models to distinguish member and non-member samples. The self-supervised fine-tuning loss is defined as:
63
+
64
+ [p. 12 | section: A.5. FSD | type: Equation]
65
+ \mathcal{L}_{\text{fine-tuning}}(x) = -\frac{1}{n} \sum_{i=1}^{n} \log f_{\theta}(x_i \mid x_1, \dots, x_{i-1}) (21)
66
+
67
+ [p. 12 | section: A.5. FSD | type: Text]
68
+ The final FSD score is the deviation between the sample scores obtained from the pre-trained model f_{\theta} and the fine-tuned model f_{\theta'} (with parameters \theta' ):
69
+
70
+ [p. 12 | section: A.5. FSD | type: Equation]
71
+ FSD(x; f_{\theta}, f_{\theta'}) = S(x; f_{\theta}) - S(x; f_{\theta'}) (22)
72
+
73
+ [p. 12 | section: A.5. FSD | type: Text]
74
+ where S(\cdot) represents a base scoring function (e.g., Perplexity, Min-k%). A large FSD score indicates the sample is likely a non-member (fine-tuning reduces non-member perplexity significantly), while a small score suggests a member sample (fine-tuning has negligible impact on member perplexity). A validation-set optimized threshold \varepsilon is used for final classification.
75
+
76
+ [p. 12 | section: A.6. Experimental Settings | type: Text]
77
+ We use the PEFT library (Mangrulkar et al., 2022) for LoRA-based (Hu et al., 2022) gradient feature extraction without parameter updates. The base model is initialized from pre-trained checkpoints, and for LoRA configuration, we adopt
78
+
79
+ [p. 13 | section: A.6. Experimental Settings | type: Text]
80
+ default settings with rank r = 16, LoRA scaling factor α = 32, and dropout set to 0 since we only focus on gradients from a single backpropagation step and no parameter updates are required. Target modules include all submodules of attention and FFN, including query, key, value, output, gate, up, and down projections. For different datasets, we select the tokenizer sequence length based on the overall length distribution: 256 for the WikiMIA dataset and 512 for all other datasets. When training the MLP classifier, the dataset is uniformly split into training and validation sets at a ratio of 3:7. The MLP classifier is configured with two hidden layers of dimensions 128 and 64, respectively, and uses the default Adam optimizer with a learning rate of 0.001. An early stopping strategy is implemented to avoid overfitting.
81
+
82
+ [p. 13 | section: B. Motivation Experiment Supplementary Details | type: Text]
83
+ To verify the parameter update law driven by the training process, we conduct LoRA fine-tuning with 8 epochs on LLaMA-7B using the unseen set of BookMIA dataset, counting LoRA matrix parameter updates per epoch to extract dynamic change curves of target features. Experiments are performed under three learning rates (1e − 5, 3e − 5, 5e − 5). We present the variation trends of the four feature categories across different modules and layers under each learning rate.
84
+
85
+ [p. 13 | section: B. Motivation Experiment Supplementary Details | type: Text]
86
+ We present the variation trends of the four feature categories across different modules and layers under each learning rate. Across all learning rates, ∆Θ t and S t exhibit clear epoch-wise patterns: ∆Θ t continuously decreases with training epochs, while S t gradually increases. For Et, distinct opposite trends are observed between the ATT and MLP modules—the update positions of the ATT module tend to be centralized, whereas those of the MLP module tend to be marginalized. Despite this divergence, E t values of both modules converge to the same stable range across the three learning rates. In contrast, T10,t shows a different dynamic: under large learning rates, it first increases and then decreases, yet remains stably around 0.27 throughout training. Notably, the inflection point of T10,t decline coincides with the stage when E t stabilizes. This aligns with our core hypothesis: during training, the model identifies core parameters correlated with the input data and performs concentrated updates on them; once this process is completed, the overall parameter update dynamics tend to stabilize. Regarding different hierarchical levels, only E t shows noticeable discrepancies, while all other features follow the same evolutionary laws.
87
+
88
+ [p. 13 | section: B. Motivation Experiment Supplementary Details | type: FigureGroup]
89
+ Figure 6. Feature Dynamic Changes During LoRA Fine-Tuning (Learning Rate 1e−5). Top row: Features in ATT/MLP modules; Bottom row: Features in low/middle/high layers.
90
+
91
+ [p. 14 | section: B. Motivation Experiment Supplementary Details | type: FigureGroup]
92
+ Figure 7. Feature Dynamic Changes During LoRA Fine-Tuning (Learning Rate 3e − 5).
93
+
94
+ [p. 14 | section: B. Motivation Experiment Supplementary Details | type: FigureGroup]
95
+ Figure 8. Feature Dynamic Changes During LoRA Fine-Tuning (Learning Rate 5e − 5).
96
+
97
+ [p. 15 | section: C. Ablation Experiments on Sub-features and Sub-modules | type: Text]
98
+ To further explore the discriminative power of fine-grained components in our method, we conduct two additional ablation experiments: sub-feature category ablation (8 sub-features) and sub-module ablation (7 sub-modules). All experiments follow the same configuration as the main text (LLaMA-7B model, WikiMIA/ArxivTection datasets), with AUC and TPR@5% FPR as evaluation metrics.
99
+
100
+ [p. 15 | section: C.1. Sub-feature Category Ablation Experiment | type: Text]
101
+ The four core feature categories are decomposed into 8 sub-features, as follows:
102
+
103
+ [p. 15 | section: C.1. Sub-feature Category Ablation Experiment | type: ListGroup]
104
+ Magnitude Distribution Features: Abs Mean, Std Core Contribution Features: 10p Ratio, Sparsity Position Offset Features: Row Ecc, Col Ecc Row-Dimension Consistency Features: Row Mean Max, Row Mean Std
105
+
106
+ [p. 15 | section: C.1. Sub-feature Category Ablation Experiment | type: Text]
107
+ Ablation is performed by removing one sub-feature at a time (retaining the other 7), and the results are shown in Table 8.
108
+
109
+ [p. 15 | section: C.1. Sub-feature Category Ablation Experiment | type: TableGroup]
110
+ Table 8. Ablation Experiment Results of Sub-features (AUC Scores). Dataset Sub-feature (Ablation Variant) -Abs Mean -Std -10p Ratio -Sparsity -Row Ecc -Col Ecc -Row Max -Row Std WikiMIA 0.95/0.71 0.95/0.72 0.95/0.70 0.94/0.67 0.95/0.70 0.93/0.62 0.95/0.73 0.95/0.72 0.96/0.84 ArxivTection 0.96/0.82 0.96/0.81 0.96/0.83 0.96/0.82 0.96/0.83 0.95/0.78 0.96/0.83 0.96/0.83 0.97/0.85
111
+
112
+ [p. 15 | section: C.1. Sub-feature Category Ablation Experiment | type: Text]
113
+ The sub-feature ablation results verify that all sub-features contribute to detection performance, with their combination achieving optimal AUC and TPR scores across both datasets. Among these sub-features, Col Ecc (a Position Offset Feature) is the most critical: its removal leads to the sharpest performance decline (AUC drops to 0.93 on WikiMIA and 0.95 on ArxivTection, with TPR falling to 0.62 and 0.78 respectively). In contrast, removing Abs Mean, Std, 10p Ratio, Row Ecc, Row Max, or Row Std induces only mild performance degradation, with AUC remaining above 0.95 on both datasets, indicating their relatively moderate importance; Sparsity also shows a slight impact on WikiMIA, with its ablation resulting in an AUC of 0.94. Overall, the fine-grained sub-feature design is rational, as each component provides complementary discriminative information for pre-training data detection.
114
+
115
+ [p. 15 | section: C.2. Sub-module Ablation Experiment | type: Text]
116
+ The ATT and FFN modules are decomposed into 7 sub-modules based on Transformer architecture details:
117
+
118
+ [p. 15 | section: C.2. Sub-module Ablation Experiment | type: ListGroup]
119
+ ATT-related sub-modules: Q-Proj, K-Proj, V-Proj, Out-Proj FFN-related sub-modules: Gate-Proj, Up-Proj, Down-Proj
120
+
121
+ [p. 15 | section: C.2. Sub-module Ablation Experiment | type: Text]
122
+ Ablation is performed by removing one sub-module's features at a time, and the results are shown in Table 9.
123
+
124
+ [p. 15 | section: C.2. Sub-module Ablation Experiment | type: TableGroup]
125
+ Table 9. Ablation Experiment Results of Sub-modules (AUC / TPR@5% FPR Scores). Dataset Sub-module (Ablation Variant) -Q-Proj -K-Proj -V-Proj -Out-Proj -Gate-Proj -Up-Proj -Down-Proj WikiMIA 0.95/0.72 0.95/0.71 0.94/0.69 0.94/0.67 0.95/0.69 0.94/0.65 0.94/0.61 0.96/0.84 ArxivTection 0.96/0.80 0.96/0.82 0.95/0.79 0.96/0.80 0.96/0.82 0.95/0.78 0.96/0.82 0.97/0.85
126
+
127
+ [p. 15 | section: C.2. Sub-module Ablation Experiment | type: Text]
128
+ The sub-module ablation results demonstrate that all sub-modules provide complementary gradient information, as singlesub-module ablation consistently leads to performance degradation while integrating all sub-modules' features achieves
129
+
130
+ [p. 16 | section: C.2. Sub-module Ablation Experiment | type: FigureGroup]
131
+ Figure 9. Impact Analysis of Training Set Size on WikiMIA. The abscissa denotes the training-validation set ratio, the ordinate represents the scores of two metrics, yellow indicates the AUROC score, and blue indicates the TPR@5% FPR.
132
+
133
+ [p. 16 | section: C.2. Sub-module Ablation Experiment | type: Text]
134
+ the optimal AUC and TPR@5% FPR scores across both datasets. Though the performance differences between individual ablation variants are mild, ATT-related sub-modules show slightly stronger discriminative power than FFN-related ones, with K-Proj performing prominently among ATT sub-modules; in contrast, among FFN sub-modules, Down-Proj and Gate-Proj contribute more to detection performance than Up-Proj, as retaining the former two yields slightly higher AUC and TPR scores. The performance gap between single-sub-module variants and the full model further confirms the necessity of multi-sub-module feature fusion, which enables the capture of comprehensive gradient patterns across the Transformer architecture. It can be seen from this that our method also achieves excellent performance with smaller LoRA adaptation parameters and lower computational complexity.
135
+
136
+ [p. 16 | section: C.3. Low-Data Scenarios | type: Text]
137
+ To evaluate the data efficiency of our method in scenarios with limited training data, we adjust the training-testing split ratio of the WikiMIA dataset to five settings: 1:9, 2:8, 3:7 and 4:6, while keeping the total sample size fixed. Figure Y shows AUC and TPR@5% FPR scores across different split ratios.
138
+
139
+ [p. 16 | section: C.3. Low-Data Scenarios | type: Text]
140
+ Figure 9 show our method's performance improves steadily with increasing training set size. Notably, it achieves an AUC of 0.9 even with only 10% of data, accompanied by a TPR@5% FPR of 0.48, confirming that it can also achieve excellent performance with a small amount of data.
icml26/9346049b-7104-494c-9378-955a2d7393ed/assets.json ADDED
@@ -0,0 +1,101 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [
2
+ {
3
+ "filename": "_page_0_Figure_9.jpeg",
4
+ "path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/9346049b-7104-494c-9378-955a2d7393ed/marker_markdown/9346049b-7104-494c-9378-955a2d7393ed/_page_0_Figure_9.jpeg",
5
+ "bytes": 40956,
6
+ "width": 859,
7
+ "height": 448,
8
+ "aspect_ratio": 1.9174107142857142,
9
+ "keep": true,
10
+ "reject_reason": null,
11
+ "model_path": "assets/_page_0_Figure_9.jpeg"
12
+ },
13
+ {
14
+ "filename": "_page_12_Figure_5.jpeg",
15
+ "path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/9346049b-7104-494c-9378-955a2d7393ed/marker_markdown/9346049b-7104-494c-9378-955a2d7393ed/_page_12_Figure_5.jpeg",
16
+ "bytes": 132770,
17
+ "width": 1350,
18
+ "height": 778,
19
+ "aspect_ratio": 1.7352185089974292,
20
+ "keep": true,
21
+ "reject_reason": null,
22
+ "model_path": "assets/_page_12_Figure_5.jpeg"
23
+ },
24
+ {
25
+ "filename": "_page_13_Figure_1.jpeg",
26
+ "path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/9346049b-7104-494c-9378-955a2d7393ed/marker_markdown/9346049b-7104-494c-9378-955a2d7393ed/_page_13_Figure_1.jpeg",
27
+ "bytes": 134005,
28
+ "width": 1321,
29
+ "height": 747,
30
+ "aspect_ratio": 1.7684069611780455,
31
+ "keep": true,
32
+ "reject_reason": null,
33
+ "model_path": "assets/_page_13_Figure_1.jpeg"
34
+ },
35
+ {
36
+ "filename": "_page_13_Figure_3.jpeg",
37
+ "path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/9346049b-7104-494c-9378-955a2d7393ed/marker_markdown/9346049b-7104-494c-9378-955a2d7393ed/_page_13_Figure_3.jpeg",
38
+ "bytes": 135006,
39
+ "width": 1315,
40
+ "height": 753,
41
+ "aspect_ratio": 1.746347941567065,
42
+ "keep": true,
43
+ "reject_reason": null,
44
+ "model_path": "assets/_page_13_Figure_3.jpeg"
45
+ },
46
+ {
47
+ "filename": "_page_15_Figure_1.jpeg",
48
+ "path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/9346049b-7104-494c-9378-955a2d7393ed/marker_markdown/9346049b-7104-494c-9378-955a2d7393ed/_page_15_Figure_1.jpeg",
49
+ "bytes": 22441,
50
+ "width": 615,
51
+ "height": 453,
52
+ "aspect_ratio": 1.3576158940397351,
53
+ "keep": true,
54
+ "reject_reason": null,
55
+ "model_path": "assets/_page_15_Figure_1.jpeg"
56
+ },
57
+ {
58
+ "filename": "_page_2_Figure_1.jpeg",
59
+ "path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/9346049b-7104-494c-9378-955a2d7393ed/marker_markdown/9346049b-7104-494c-9378-955a2d7393ed/_page_2_Figure_1.jpeg",
60
+ "bytes": 57350,
61
+ "width": 1302,
62
+ "height": 361,
63
+ "aspect_ratio": 3.6066481994459836,
64
+ "keep": true,
65
+ "reject_reason": null,
66
+ "model_path": "assets/_page_2_Figure_1.jpeg"
67
+ },
68
+ {
69
+ "filename": "_page_3_Figure_2.jpeg",
70
+ "path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/9346049b-7104-494c-9378-955a2d7393ed/marker_markdown/9346049b-7104-494c-9378-955a2d7393ed/_page_3_Figure_2.jpeg",
71
+ "bytes": 129010,
72
+ "width": 1210,
73
+ "height": 557,
74
+ "aspect_ratio": 2.172351885098743,
75
+ "keep": true,
76
+ "reject_reason": null,
77
+ "model_path": "assets/_page_3_Figure_2.jpeg"
78
+ },
79
+ {
80
+ "filename": "_page_6_Figure_1.jpeg",
81
+ "path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/9346049b-7104-494c-9378-955a2d7393ed/marker_markdown/9346049b-7104-494c-9378-955a2d7393ed/_page_6_Figure_1.jpeg",
82
+ "bytes": 76196,
83
+ "width": 1317,
84
+ "height": 433,
85
+ "aspect_ratio": 3.0415704387990763,
86
+ "keep": true,
87
+ "reject_reason": null,
88
+ "model_path": "assets/_page_6_Figure_1.jpeg"
89
+ },
90
+ {
91
+ "filename": "_page_7_Figure_4.jpeg",
92
+ "path": "data/processed_papers/icml26_20260429_1952_duequeue/marker_raw/9346049b-7104-494c-9378-955a2d7393ed/marker_markdown/9346049b-7104-494c-9378-955a2d7393ed/_page_7_Figure_4.jpeg",
93
+ "bytes": 34447,
94
+ "width": 554,
95
+ "height": 495,
96
+ "aspect_ratio": 1.1191919191919193,
97
+ "keep": true,
98
+ "reject_reason": null,
99
+ "model_path": "assets/_page_7_Figure_4.jpeg"
100
+ }
101
+ ]
icml26/9346049b-7104-494c-9378-955a2d7393ed/assets/_page_0_Figure_9.jpeg ADDED

Git LFS Details

  • SHA256: 7ac85b20e493e585c2fdc3b7d4864af145253a06c010b78b845ca92dce662326
  • Pointer size: 130 Bytes
  • Size of remote file: 41 kB
icml26/9346049b-7104-494c-9378-955a2d7393ed/assets/_page_12_Figure_5.jpeg ADDED

Git LFS Details

  • SHA256: 48f1dcc54bf3e582723b51a2bc338f34dc14839a91a75d1b4b2c013be20633cf
  • Pointer size: 131 Bytes
  • Size of remote file: 133 kB
icml26/9346049b-7104-494c-9378-955a2d7393ed/assets/_page_13_Figure_1.jpeg ADDED

Git LFS Details

  • SHA256: c291a9069ecf72c4775ac0b8c97d9b8f78fb94dfbb9c847a9ad18c1055bba8aa
  • Pointer size: 131 Bytes
  • Size of remote file: 134 kB
icml26/9346049b-7104-494c-9378-955a2d7393ed/assets/_page_13_Figure_3.jpeg ADDED

Git LFS Details

  • SHA256: 07d2ded60a2c4ec1714543882b26fc92d2497eaee4bc6f26314d3898a88d6d61
  • Pointer size: 131 Bytes
  • Size of remote file: 135 kB
icml26/9346049b-7104-494c-9378-955a2d7393ed/assets/_page_15_Figure_1.jpeg ADDED

Git LFS Details

  • SHA256: 70ee8f5461f702baccb0993113a825b41b00017c8e1d4337be0597daf6ad6c51
  • Pointer size: 130 Bytes
  • Size of remote file: 22.4 kB
icml26/9346049b-7104-494c-9378-955a2d7393ed/assets/_page_2_Figure_1.jpeg ADDED

Git LFS Details

  • SHA256: 2e6ba54c1be087b2fb5e355c532d67ed0fc96073a069674e6f0657748f95698a
  • Pointer size: 130 Bytes
  • Size of remote file: 57.4 kB
icml26/9346049b-7104-494c-9378-955a2d7393ed/assets/_page_3_Figure_2.jpeg ADDED

Git LFS Details

  • SHA256: f33ef55bc12932bb242997a2bd7b720c0fdfd4850635c5eeb04602ab84f840e5
  • Pointer size: 131 Bytes
  • Size of remote file: 129 kB
icml26/9346049b-7104-494c-9378-955a2d7393ed/assets/_page_6_Figure_1.jpeg ADDED

Git LFS Details

  • SHA256: 5e88bb7b2e0eccf8ee391b23b8ec2f5f34e476ef8fa76af980cb041246d992b2
  • Pointer size: 130 Bytes
  • Size of remote file: 76.2 kB
icml26/9346049b-7104-494c-9378-955a2d7393ed/assets/_page_7_Figure_4.jpeg ADDED

Git LFS Details

  • SHA256: 894464bb88954958eb7712d3aefad05f4bfc4450df44e3916d3ecf6ab894bb97
  • Pointer size: 130 Bytes
  • Size of remote file: 34.4 kB
icml26/9346049b-7104-494c-9378-955a2d7393ed/chunks_v3_anonymized.jsonl ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0000", "section": "Abstract", "page_start": 1, "page_end": 1, "type": "Text", "text": "Pre-training data detection for LLMs is essential for addressing copyright concerns and mitigating benchmark contamination. Existing methods mainly focus on the likelihood-based statistical features or heuristic signals before and after finetuning, but the former are susceptible to word frequency bias in corpora, and the latter strongly depend on the similarity of fine-tuning data. From an optimization perspective, we observe that during training, samples transition from unfamiliar to familiar in a manner reflected by systematic differences in gradient behavior. Familiar samples exhibit smaller update magnitudes, distinct update locations in model components, and more sharply activated neurons. Based on this insight, we propose GDS, a method that identifies pre-training data by probing Gradient Deviation Scores of target samples. Specifically, we first represent each sample using gradient profiles that capture the magnitude, location, and concentration of parameter updates across FFN and Attention modules, revealing consistent distinctions between member and non-member data. These features are then fed into a lightweight classifier to perform binary membership inference. Experiments on five public datasets show that GDS achieves state-ofthe-art performance with significantly improved cross-dataset transferability over strong baselines. Further interpretability analyse show gradient feature distribution differences, enabling practical and scalable pre-training data detection.", "source": "marker_v2", "marker_block_id": "/page/0/Text/4"}
2
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0001", "section": "1. Introduction", "page_start": 1, "page_end": 1, "type": "Text", "text": "Large language models (LLMs) performance scales with the size and quality of pre-training data (Kaplan et al., 2020) .", "source": "marker_v2", "marker_block_id": "/page/0/Text/6"}
3
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0002", "section": "1. Introduction", "page_start": 1, "page_end": 1, "type": "FigureGroup", "text": "Figure 1. Heat maps of gradient matrices from the unfamiliar stage (epochs 0–1, panels a, c) to the familiar stage (epochs 6–7, panels b, d). Panels a and b display the update magnitude of the FFN module in layer 30, while panels c and d illustrate the update positions, with white for sparse and blue for core updates.", "source": "marker_v2", "marker_block_id": "/page/0/FigureGroup/453"}
4
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0003", "section": "1. Introduction", "page_start": 1, "page_end": 1, "type": "Text", "text": "As pre-training corpora expand to trillions of tokens and become increasingly proprietary and non-transparent, they raise significant concerns, such as unauthorized copyright, biased or harmful content, and contamination of evaluation benchmarks (Balloccu et al., 2024; Grynbaum & Mac, 2023) . These challenges motivate a specialized task of membership inference attacks, named pre-training data detection: determining whether a given text sample was included in a model's pre-training corpus (Carlini et al., 2021) .", "source": "marker_v2", "marker_block_id": "/page/0/Text/11"}
5
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0004", "section": "1. Introduction", "page_start": 1, "page_end": 1, "type": "Text", "text": "Recent studies (Carlini et al., 2021; Li; Shi et al., 2024; Zhang et al., 2025) primarily use likelihood-based statistical features to detect pre-training samples. For example, the Min-K method (Shi et al., 2024; Zhang et al., 2025) examines the k% of tokens with the lowest predicted probabilities, assuming non-member texts contain more low-likelihood tokens. However, these approaches are susceptible to word frequency bias in pre-training corpora, specifically for rare words or short texts scenarios. To improve detection accuracy, other researchers (Zhang et al.; Choi et al.) propose to analyze heuristic signals before and after fine-tuning, leveraging the fact that fine-tuning impacts member and non-member samples differently. For example, KDS (Choi et al.) shows that non-member datasets exhibit much larger embedding changes, while FSD (Zhang et al.) finds that their loss reductions are also significantly greater. Neverthe-", "source": "marker_v2", "marker_block_id": "/page/0/Text/12"}
6
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0005", "section": "1. Introduction", "page_start": 2, "page_end": 2, "type": "Text", "text": "less, these methods rely on the strong assumption that finetuning data closely match the target samples' distribution, requiring additional training on similar non-member data and thereby limiting cross-dataset generalization. Therefore, how to achieve highly generalizable pre-training data detection remains an open problem.", "source": "marker_v2", "marker_block_id": "/page/1/Text/1"}
7
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0006", "section": "1. Introduction", "page_start": 2, "page_end": 2, "type": "Text", "text": "Pretraining can be viewed as a gradual shift from unfamiliarity to familiarity with data. Optimization theory (Ruder, 2016; Frankle et al.; Wang et al., 2024) suggests that training drives parameters toward data-specific structure, reflected in consistent update patterns across magnitude, location, and concentration. As shown in Figure 1 and Section 3, we observe the following trends:", "source": "marker_v2", "marker_block_id": "/page/1/Text/2"}
8
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0007", "section": "1. Introduction", "page_start": 2, "page_end": 2, "type": "ListGroup", "text": "1. Decay of update magnitude. Figure 1( a,b) shows that parameter updates are strongly attenuated as data grows familiar, consistent with loss-convergence theory (Bottou, 2010; Ruder, 2016) . 2. Gradually stabilizing of update locations. Figure 1( c,d) shows that parameter updates evolve from broad activation regions to a stable core set of neurons, consistent with the sparse activation behavior of LLMs (Liu et al., 2024) . 3. Increasing update sparsity. Figure 1( a,b) and Figures 2( b,c) show that during training, an increasing fraction of updates concentrates in the top 10% of neurons, consistent with Hessian spectrum reshaping during loss convergence (Gur-Ari et al., 2018) . Familiar data yields sparse, concentrated updates, whereas unfamiliar data leads to more distributed updates.", "source": "marker_v2", "marker_block_id": "/page/1/ListGroup/529"}
9
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0008", "section": "1. Introduction", "page_start": 2, "page_end": 2, "type": "Text", "text": "These observations reflect the evolutionary dynamics of neural network training, highlighting phase differences in parameter updates induced by identical samples. Together, they offer both theoretical motivation and empirical support for our detection method based on gradient deviation scores.", "source": "marker_v2", "marker_block_id": "/page/1/Text/6"}
10
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0009", "section": "1. Introduction", "page_start": 2, "page_end": 2, "type": "Text", "text": "Based on this insight, we propose GDS, a novel pretraining data detection method that infers pre-training data by probing Gradient Deviation Scores of target samples without fine-tuning. GDS exploits gradient differences between member and non-member samples to train a lightweight classifier with strong generalization. Specifically, within the LoRA framework, we collect per-sample gradients across layers during backpropagation, encoding them as eightdimensional features that capture the magnitude, location, and concentration of updates in attention and FFN modules. Compared to non-members, member samples show smaller matrix-level and row-wise update magnitudes, lower FFN but higher attention eccentricity, greater variability in matrixlevel and row-wise updates, a higher share of top gradients, and fewer sparse neurons. Then, we extract discriminative", "source": "marker_v2", "marker_block_id": "/page/1/Text/7"}
11
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0010", "section": "1. Introduction", "page_start": 2, "page_end": 2, "type": "Text", "text": "statistics from the signals to build fixed-dimensional feature vectors, which are fed to a lightweight MLP for binary membership classification.", "source": "marker_v2", "marker_block_id": "/page/1/Text/8"}
12
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0011", "section": "1. Introduction", "page_start": 2, "page_end": 2, "type": "Text", "text": "Extensive experiments on five benchmark datasets show that GDS is effective and generalizable, improving AUC by 6.5% and achieving a 67.3% TPR@5%FPR, substantially outperforming strong baselines. Further interpretability analyses reveal distributional differences in gradient features between member and non-member samples, offering intuitive evidence of training data imprints on the model and validating our methodology. 1 Our contributions are as follows:", "source": "marker_v2", "marker_block_id": "/page/1/Text/9"}
13
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0012", "section": "1. Introduction", "page_start": 2, "page_end": 2, "type": "ListGroup", "text": "From a training optimization perspective, we analyze how LLMs evolve from unfamiliarity to familiarity with data and propose using stage-wise parameter update dynamics to identify pretraining data, offering a novel direction to solve this task. We propose gradient deviation features capturing magnitude, location, and concentration, and introduce a gradient deviation score–based method for pretraining data detection without fine-tuning. Extensive experiments across diverse datasets and backbone models validate the effectiveness and generalization of GDS, while interpretability analyses reveal clear gradient differences between member and nonmember samples, supporting its validity.", "source": "marker_v2", "marker_block_id": "/page/1/ListGroup/530"}
14
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0013", "section": "2. Related Work", "page_start": 2, "page_end": 2, "type": "Text", "text": "Likelihood-Based Scoring Methods. Early works distinguish member and non-member samples by capturing static statistical metrics in token-level likelihood distributions. Global-likelihood–based methods, such as PPL (Li) , Zlib (Carlini et al., 2021) , and Lowercase (Carlini et al., 2021) , perform discrimination by exploiting global probability features, compression entropy, and case-conversion ratios. However, global likelihood is highly sensitive to wordfrequency effects, leading to unstable performance. Mink% (Shi et al., 2024) and Min-k%++ (Zhang et al., 2025) mitigate global dependence by focusing on low-probability outlier tokens or target–candidate probability comparisons, with k and text length jointly determining the analyzed token subset. However, the fixed choice of k lacks adaptivity, causing severe score fluctuations in short texts with lowfrequency words. Although PC-PDD (Zhang et al., 2024) approximates the word-frequency distribution of pretraining corpora using public datasets, these references lack fidelity due to limited domain coverage.", "source": "marker_v2", "marker_block_id": "/page/1/Text/14"}
15
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0014", "section": "2. Related Work", "page_start": 2, "page_end": 2, "type": "Text", "text": "Fine-tuning Enhanced Methods. To address the instability of static statistical indicators, recent studies (Zhang et al.;", "source": "marker_v2", "marker_block_id": "/page/1/Text/15"}
16
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0015", "section": "2. Related Work", "page_start": 2, "page_end": 2, "type": "Footnote", "text": "1 Code in", "source": "marker_v2", "marker_block_id": "/page/1/Footnote/16"}
17
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0016", "section": "2. Related Work", "page_start": 3, "page_end": 3, "type": "FigureGroup", "text": "Figure 2. Dynamic curves of four parameter update characteristics defined in the Motivation section. i → j denotes the epoch interval. Ordinate shows values of predefined characteristics, with orange and blue representing Attention and FFN modules.", "source": "marker_v2", "marker_block_id": "/page/2/FigureGroup/764"}
18
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0017", "section": "2. Related Work", "page_start": 3, "page_end": 3, "type": "Text", "text": "Choi et al.) adopt lightweight fine-tuning to actively amplify asymmetric differences between member and non-member samples. KDS (Choi et al.) evaluates dataset contamination by comparing kernel similarity matrices of embeddings before and after fine-tuning, assuming non-member datasets undergo larger embedding changes than member datasets. However, it only estimates dataset-level contamination and cannot reliably detect contamination at the sample-level. Another representative method FSD (Zhang et al.) detects membership by comparing loss before and after fine-tuning, assuming non-member samples experience a larger loss reduction than member samples. Nevertheless, these methods assume that fine-tuning data closely matches the target distribution, requiring additional tuning on similar non-member data, which limits cross-dataset generalization.", "source": "marker_v2", "marker_block_id": "/page/2/Text/3"}
19
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0018", "section": "3. Motivation", "page_start": 3, "page_end": 3, "type": "Text", "text": "Inspired by optimization theory (Ruder, 2016; Bottou, 2010) , we examine how LLMs transition from unfamiliarity to familiarity with data, and how this cognitive shift relates to the dynamic evolution of model parameters during training. To evaluate it, we fine-tune LLaMA-7B with LoRA on the unseen split of BookMIA dataset and track LoRA parameter updates over 7 epochs. Stage-wise analysis in Figure 2 reveals the dynamic evolution of gradient features.", "source": "marker_v2", "marker_block_id": "/page/2/Text/5"}
20
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0019", "section": "3.1. Decay of Update Magnitude", "page_start": 3, "page_end": 3, "type": "Text", "text": "Model training aims to minimize the loss function L(θ), with update magnitude determined by the gradient norm ∥∇L(θ)∥. According to optimization convergence theory (Ruder, 2016) , as the parameters θ t approach the optimum θ ∗ , the gradient norm of the loss function vanishes, i.e.,limθ→ θ ∗ ∥∇L(θt)∥ = 0. This causes the parameter update magnitude to decrease synchronously. Therefore, we use ∆θ t as the core indicator of the average update magnitude across all trainable parameters at iteration t:", "source": "marker_v2", "marker_block_id": "/page/2/Text/7"}
21
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0020", "section": "3.1. Decay of Update Magnitude", "page_start": 3, "page_end": 3, "type": "Equation", "text": "\\Delta \\theta_{t} = \\frac{1}{N} \\sum_{i=1}^{N} |\\theta_{t,i} - \\theta_{t-1,i}|, \\qquad (1)", "source": "marker_v2", "marker_block_id": "/page/2/Equation/8"}
22
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0021", "section": "3.1. Decay of Update Magnitude", "page_start": 3, "page_end": 3, "type": "Text", "text": "where N denotes the total number of trainable parameters.", "source": "marker_v2", "marker_block_id": "/page/2/Text/9"}
23
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0022", "section": "3.1. Decay of Update Magnitude", "page_start": 3, "page_end": 3, "type": "Text", "text": "As training progresses, both the loss L(θt) and gradient norm ∥∇L(θt)∥ decrease, reducing the update magnitude ∆θ t and slowing its decay as parameters converge to the optimum θ ∗ . Eventually, L(θt) stabilizes near its minimum, parameter updates ∆θ t become negligible. As shown in Figure 2a, the mean update magnitude decreases monotonically with training, with the largest changes occurring in the first two epochs, consistent with loss convergence.", "source": "marker_v2", "marker_block_id": "/page/2/Text/10"}
24
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0023", "section": "3.2. Gradually Stabilizing of Update Locations", "page_start": 3, "page_end": 3, "type": "Text", "text": "Existing studies (Liu et al., 2024; Tang et al., 2025) have shown that neural activations occur at different locations when processing member samples and non-member samples. Inspired by this, we adopt the parameter update eccentricity as the core indicator, which quantifies the deviation of the top-10% parameter update positions from the global parameter centroid. We first define the global centroid as:", "source": "marker_v2", "marker_block_id": "/page/2/Text/12"}
25
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0024", "section": "3.2. Gradually Stabilizing of Update Locations", "page_start": 3, "page_end": 3, "type": "Equation", "text": "\\theta_c = \\frac{1}{N} \\sum_{i=1}^{N} \\theta_i, \\tag{2}", "source": "marker_v2", "marker_block_id": "/page/2/Equation/13"}
26
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0025", "section": "3.2. Gradually Stabilizing of Update Locations", "page_start": 3, "page_end": 3, "type": "Text", "text": "where θ i is the coordinate of the i-th parameter.", "source": "marker_v2", "marker_block_id": "/page/2/Text/14"}
27
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0026", "section": "3.2. Gradually Stabilizing of Update Locations", "page_start": 3, "page_end": 3, "type": "Text", "text": "The update eccentricity at iteration t is then defined as:", "source": "marker_v2", "marker_block_id": "/page/2/Text/15"}
28
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0027", "section": "3.2. Gradually Stabilizing of Update Locations", "page_start": 3, "page_end": 3, "type": "Equation", "text": "E_{t} = \\frac{1}{\\operatorname{card}(U_{10,t})} \\sum_{\\theta_{i} \\in U_{10,t}} \\|\\theta_{i} - \\theta_{c}\\|_{2}, (3)", "source": "marker_v2", "marker_block_id": "/page/2/Equation/16"}
29
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0028", "section": "3.2. Gradually Stabilizing of Update Locations", "page_start": 3, "page_end": 3, "type": "Text", "text": "where card(·) denotes the number of elements in a set, U10,t = {∥∆θt,i∥ 1 ∈ Top10%(∥∆θt∥1)}, ∥ · ∥ 1 denotes the ℓ 1 norm and ∥ · ∥ 2 denotes the ℓ 2 norm.", "source": "marker_v2", "marker_block_id": "/page/2/Text/17"}
30
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0029", "section": "3.2. Gradually Stabilizing of Update Locations", "page_start": 3, "page_end": 3, "type": "Text", "text": "In the initial training stage, activation patterns are unstable, leading to scattered U10,t and thus random large values of Et. As training proceeds, the model identifies core parameters related to data features: θ t stabilizes to the optimal subset θ ∗ , and U10,t converges to the core parameter region, resulting in E t gradually stabilizing at a low level. Figure 2d shows that the eccentricity of parameter update evolves to a relatively stable value, consistent with the evolution of the", "source": "marker_v2", "marker_block_id": "/page/2/Text/18"}
31
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0030", "section": "3.2. Gradually Stabilizing of Update Locations", "page_start": 4, "page_end": 4, "type": "FigureGroup", "text": "Figure 3. Overview of Gradient Deviation Scores method.", "source": "marker_v2", "marker_block_id": "/page/3/FigureGroup/643"}
32
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0031", "section": "3.2. Gradually Stabilizing of Update Locations", "page_start": 4, "page_end": 4, "type": "Text", "text": "neuron activation pattern, suggesting that training identifies the core parameters and stabilizes updates around them.", "source": "marker_v2", "marker_block_id": "/page/3/Text/4"}
33
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0032", "section": "3.3. Increasing Update Sparsity", "page_start": 4, "page_end": 4, "type": "Text", "text": "The Hessian spectrum (Gur-Ari et al., 2018; Frankle et al.) is a core metric characterizing the loss function's curvature, directly determining the direction and efficiency of parameter updates. For the loss function L(θ), its Hessian matrix H(θ) = ∇2L(θ) describes the local curvature of the loss landscape, with eigenvalue decomposition:", "source": "marker_v2", "marker_block_id": "/page/3/Text/6"}
34
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0033", "section": "3.3. Increasing Update Sparsity", "page_start": 4, "page_end": 4, "type": "Equation", "text": "\\mathcal{H}(\\theta) = U\\Lambda U^T,\\tag{4}", "source": "marker_v2", "marker_block_id": "/page/3/Equation/7"}
35
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0034", "section": "3.3. Increasing Update Sparsity", "page_start": 4, "page_end": 4, "type": "Text", "text": "where U is the orthogonal eigenvector matrix (principal curvature directions), Λ = diag(λ1, . . . , λd) is the diagonal eigenvalue matrix (curvature magnitudes). During training, the Hessian spectrum changes from an almost uniform λ i ≈ c in the early stage to a late-stage structure with a few large eigenvalues and most near zero.", "source": "marker_v2", "marker_block_id": "/page/3/Text/8"}
36
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0035", "section": "3.3. Increasing Update Sparsity", "page_start": 4, "page_end": 4, "type": "Text", "text": "This reshaping leads to concentrated updates, focusing on directions with large eigenvalues while leaving most others nearly unchanged. Consequently, update energy is confined to a small subset of parameters, motivating the selection of two joint indicators. S t measures the fraction of parameters with negligible updates (absolute value < 10 − 6 ) at iteration t, while T10,t measures the fraction of total update magnitude contributed by the top 10% largest updates.", "source": "marker_v2", "marker_block_id": "/page/3/Text/9"}
37
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0036", "section": "3.3. Increasing Update Sparsity", "page_start": 4, "page_end": 4, "type": "Equation", "text": "S_t = \\frac{\\operatorname{card}\\left(i \\mid |\\Delta \\theta_{t,i}| < 10^{-6}\\right)}{N},\\tag{5}", "source": "marker_v2", "marker_block_id": "/page/3/Equation/10"}
38
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0037", "section": "3.3. Increasing Update Sparsity", "page_start": 4, "page_end": 4, "type": "Equation", "text": "T_{10,t} = \\frac{\\sum_{|\\Delta\\theta_{t,i}| \\in U_{10,t}} |\\Delta\\theta_{t,i}|}{||\\Delta\\theta_t||_1}. (6)", "source": "marker_v2", "marker_block_id": "/page/3/Equation/11"}
39
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0038", "section": "3.3. Increasing Update Sparsity", "page_start": 4, "page_end": 4, "type": "Text", "text": "As training progresses, parameter updates increasingly concentrate along core directions, with most parameters receiving negligible changes. Consequently, S t gradually", "source": "marker_v2", "marker_block_id": "/page/3/Text/12"}
40
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0039", "section": "3.3. Increasing Update Sparsity", "page_start": 4, "page_end": 4, "type": "Text", "text": "increases, while T10,t remains relatively large and stable(0.26–0.27), indicating that update energy is consistently dominated by a small subset of parameters. Figures 2b and 2c confirm this growing sparsity and stable Top 10% contribution, reflecting update energy aggregation driven by Hessian spectrum reshaping. Further details on the variation trends of the three metrics are provided in the appendix B.", "source": "marker_v2", "marker_block_id": "/page/3/Text/13"}
41
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0040", "section": "4.1. Task Definition", "page_start": 4, "page_end": 4, "type": "Text", "text": "Given a target text x and a target LLM f θ pre-trained on a corpus D, the goal of pre-training data detection task is to construct a detector h(x, fθ)to determine whether x belongs to D. This task can be formalized as a binary classification problem: h(x, fθ) → {0, 1} where \"1\" indicates x ∈ D as member and \"0\" indicates x /∈ D as non-member.", "source": "marker_v2", "marker_block_id": "/page/3/Text/16"}
42
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0041", "section": "4.1. Task Definition", "page_start": 4, "page_end": 4, "type": "Text", "text": "As illustrated in Figure 3, GDS comprises three stages: gradient matrix acquisition, feature vector extraction and light Multilayer Perceptron(MLP) training. For each training sample, we perform inference and backpropagation to obtain LoRA gradients across l layers and m sub-modules, yielding l × m gradient matrices G. From these matrices, we extract eight-dimensional features to form a gradient feature vector V l×m×8 , which is used to train a lightweight MLP classifier for binary membership prediction. During inference, the same feature extraction process is applied to a target sample x ∗ , and the resulting feature vector is fed into the trained MLP to produce the final classification result.", "source": "marker_v2", "marker_block_id": "/page/3/Text/17"}
43
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0042", "section": "4.2. Gradient Matrix Acquisition", "page_start": 4, "page_end": 4, "type": "Text", "text": "Given the target model f θ and training sample x, we first initialize f θ with LoRA, yielding l × m LoRA matrices L. We then feed a single sample x into f θ for forward", "source": "marker_v2", "marker_block_id": "/page/3/Text/19"}
44
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0043", "section": "4.2. Gradient Matrix Acquisition", "page_start": 5, "page_end": 5, "type": "Text", "text": "inference and backpropagation, obtaining LoRA gradient matrices \\mathbb{G} = \\nabla_{\\mathbb{L}} \\mathcal{L}_{\\text{CLM}}(f_{\\theta}(x)) , where \\mathcal{L}_{\\text{CLM}} denotes the causal language modeling loss of the pre-trained LLM. Since the LoRA_B matrices are fully initialized to zero, a single round of gradient propagation leads to zero gradients for the LoRA_A matrices. Thus, we only collect the gradient matrices of LoRA_B for subsequent processing.", "source": "marker_v2", "marker_block_id": "/page/4/Text/2"}
45
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0044", "section": "4.3. Feature Vector Extraction", "page_start": 5, "page_end": 5, "type": "Text", "text": "Given the gradient matrices \\mathbb{G} , we extract features based on the three parameter update trends introduced in Section 3.", "source": "marker_v2", "marker_block_id": "/page/4/Text/4"}
46
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0045", "section": "4.3.1. MAGNITUDE", "page_start": 5, "page_end": 5, "type": "Text", "text": "We propose two magnitude indicators to measure the overall scale of gradient updates in the LoRA parameter space.", "source": "marker_v2", "marker_block_id": "/page/4/Text/6"}
47
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0046", "section": "4.3.1. MAGNITUDE", "page_start": 5, "page_end": 5, "type": "Text", "text": "(1) Absolute Mean : The mean of the absolute values of all elements in the gradient matrix, which characterizes the overall parameter update strength:", "source": "marker_v2", "marker_block_id": "/page/4/Text/7"}
48
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0047", "section": "4.3.1. MAGNITUDE", "page_start": 5, "page_end": 5, "type": "Equation", "text": "Abs\\_Mean = \\frac{1}{r \\cdot h} \\sum_{i=1}^{r} \\sum_{j=1}^{h} |\\mathbb{G}_{i,j}|, (7)", "source": "marker_v2", "marker_block_id": "/page/4/Equation/8"}
49
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0048", "section": "4.3.1. MAGNITUDE", "page_start": 5, "page_end": 5, "type": "Text", "text": "where \\mathbb{G}_{i,j} denotes the element in the i -th row and j -th column of the gradient matrix with r rows and h columns.", "source": "marker_v2", "marker_block_id": "/page/4/Text/9"}
50
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0049", "section": "4.3.1. MAGNITUDE", "page_start": 5, "page_end": 5, "type": "Text", "text": "(2) Max Row Mean: The mean of each row in the LoRA matrix and take the maximum value, which characterizes the most sample-responsive local optimal response dimension with the largest parameter update magnitude:", "source": "marker_v2", "marker_block_id": "/page/4/Text/10"}
51
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0050", "section": "4.3.1. MAGNITUDE", "page_start": 5, "page_end": 5, "type": "Equation", "text": "Row\\_Mean\\_Max = \\max_{1 \\le i \\le r} \\left( \\frac{1}{h} \\sum_{j=1}^{h} |\\mathbb{G}_{i,j}| \\right). (8)", "source": "marker_v2", "marker_block_id": "/page/4/Equation/11"}
52
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0051", "section": "4.3.2. Position", "page_start": 5, "page_end": 5, "type": "Text", "text": "Screen the top 10% of gradient elements by absolute value from \\mathbb{G} and calculate their offset from this matrix center, capturing offset characteristics of core gradient positions for (1) Row Eccentricity and (2) Column Eccentricity, respectively:", "source": "marker_v2", "marker_block_id": "/page/4/Text/13"}
53
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0052", "section": "4.3.2. Position", "page_start": 5, "page_end": 5, "type": "Equation", "text": "Row\\_Ecc = \\frac{1}{\\operatorname{card}(S)} \\sum_{(i,j) \\in S} \\left| \\frac{2i - (r+1)}{r-1} \\right|, \\quad (9)", "source": "marker_v2", "marker_block_id": "/page/4/Equation/14"}
54
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0053", "section": "4.3.2. Position", "page_start": 5, "page_end": 5, "type": "Equation", "text": "Col\\_Ecc = \\frac{1}{\\operatorname{card}(S)} \\sum_{(i,j) \\in S} \\left| \\frac{2j - (h+1)}{h-1} \\right|, \\quad (10)", "source": "marker_v2", "marker_block_id": "/page/4/Equation/15"}
55
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0054", "section": "4.3.2. Position", "page_start": 5, "page_end": 5, "type": "Text", "text": "where S = \\{(i,j) \\mid |\\mathbb{G}_{i,j}| \\in \\text{Top10\\%}(|\\mathbb{G}|)\\} denotes the set of indices for the top 10% of elements in the gradient matrix \\mathbb{G} ranked by absolute gradient value. Top gradients near the center correspond to an eccentricity of 0, while those near the edge correspond to a score of 1.", "source": "marker_v2", "marker_block_id": "/page/4/Text/16"}
56
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0055", "section": "4.3.3. CONCENTRATION", "page_start": 5, "page_end": 5, "type": "Text", "text": "We propose four indicators to measure the concentration of gradient distributions.", "source": "marker_v2", "marker_block_id": "/page/4/Text/18"}
57
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0056", "section": "4.3.3. CONCENTRATION", "page_start": 5, "page_end": 5, "type": "Text", "text": "(1) Top-10% Ratio : The ratio of the sum of the top 10% largest gradient magnitudes to the total update magnitude of the gradient matrix, which quantifies the contribution ratio of core gradients:", "source": "marker_v2", "marker_block_id": "/page/4/Text/19"}
58
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0057", "section": "4.3.3. CONCENTRATION", "page_start": 5, "page_end": 5, "type": "Equation", "text": "10p\\_Ratio = \\frac{\\sum_{(i,j)\\in S} |\\mathbb{G}_{i,j}|}{\\|\\mathbb{G}\\|_1}, \\tag{11}", "source": "marker_v2", "marker_block_id": "/page/4/Equation/20"}
59
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0058", "section": "4.3.3. CONCENTRATION", "page_start": 5, "page_end": 5, "type": "Text", "text": "(2) Sparsity : The proportion of gradient elements with absolute values less than 10^{-6} , which quantifies the sparsity degree of gradient distributions:", "source": "marker_v2", "marker_block_id": "/page/4/Text/21"}
60
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0059", "section": "4.3.3. CONCENTRATION", "page_start": 5, "page_end": 5, "type": "Equation", "text": "Sparsity = \\frac{\\operatorname{card}\\left(\\left\\{\\left(i,j\\right) \\mid |\\mathbb{G}_{i,j}| < 10^{-6}\\right\\}\\right)}{r \\cdot h}. (12)", "source": "marker_v2", "marker_block_id": "/page/4/Equation/22"}
61
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0060", "section": "4.3.3. CONCENTRATION", "page_start": 5, "page_end": 5, "type": "Text", "text": "(3) Standard Deviation : The standard deviation of the elements in the gradient matrix, which quantifies the dispersion degree of parameter updates:", "source": "marker_v2", "marker_block_id": "/page/4/Text/23"}
62
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0061", "section": "4.3.3. CONCENTRATION", "page_start": 5, "page_end": 5, "type": "Equation", "text": "Std = \\sqrt{\\frac{1}{r \\cdot h} \\sum_{i=1}^{r} \\sum_{j=1}^{h} (|\\mathbb{G}_{i,j}| - \\text{Abs\\_mean})^2}. (13)", "source": "marker_v2", "marker_block_id": "/page/4/Equation/24"}
63
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0062", "section": "4.3.3. CONCENTRATION", "page_start": 5, "page_end": 5, "type": "Text", "text": "(4) Row Mean Standard Deviation: The mean of each row in the LoRA matrix and take the standard deviation, which quantifies the consistency of update strength across all rows:", "source": "marker_v2", "marker_block_id": "/page/4/Text/25"}
64
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0063", "section": "4.3.3. CONCENTRATION", "page_start": 5, "page_end": 5, "type": "Equation", "text": "Row\\_Mean\\_Std = \\sqrt{\\frac{1}{r} \\sum_{i=1}^{r} \\left(\\bar{\\mathbb{G}}_i - \\mu_{\\bar{\\mathbb{G}}}\\right)^2}, \\quad (14)", "source": "marker_v2", "marker_block_id": "/page/4/Equation/26"}
65
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0064", "section": "4.3.3. CONCENTRATION", "page_start": 5, "page_end": 5, "type": "Text", "text": "where \\bar{\\mathbb{G}}_i = \\frac{1}{h} \\sum_{j=1}^h |\\mathbb{G}_{i,j}| denotes the i -th row's absolute mean, \\mu_{\\bar{\\mathbb{G}}} = \\frac{1}{r} \\sum_{i=1}^r \\bar{\\mathbb{G}}_i denotes t the mean of row means.", "source": "marker_v2", "marker_block_id": "/page/4/Text/27"}
66
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0065", "section": "4.3.3. CONCENTRATION", "page_start": 5, "page_end": 5, "type": "Text", "text": "We compute the aforementioned eight feature values from all gradient matrices to derive a feature vector \\mathbb{V}^{l\\times m\\times 8} \\triangleq [Abs_Mean, Row_Mean_Max, 10p_Ratio, Sparsity, Std, Row_Mean_Std, Row_Ecc, Col_Ecc] per sample, which is then used for subsequent MLP training and inference.", "source": "marker_v2", "marker_block_id": "/page/4/Text/28"}
67
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0066", "section": "4.4. Light MLP Training", "page_start": 5, "page_end": 5, "type": "Text", "text": "Given the feature vectors \\mathbb{V}_i from all training samples vectors \\mathbb{V}_s , we feed them into a lightweight MLP for training. The target output corresponds to the binary label \\{0,1\\} for each sample, where 0 denotes non-member and 1 denotes member. The training loss is defined as follows:", "source": "marker_v2", "marker_block_id": "/page/4/Text/30"}
68
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0067", "section": "4.4. Light MLP Training", "page_start": 5, "page_end": 5, "type": "Equation", "text": "\\mathcal{L} = -\\frac{1}{N} \\sum_{i=1}^{N} \\left[ y_i \\log \\hat{y}_i + (1 - y_i) \\log(1 - \\hat{y}_i) \\right], \\quad (15)", "source": "marker_v2", "marker_block_id": "/page/4/Equation/31"}
69
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0068", "section": "4.4. Light MLP Training", "page_start": 5, "page_end": 5, "type": "Text", "text": "where N denotes the number of training samples, y_i \\in \\{0,1\\} is the ground-truth label of the i-th sample, and \\hat{y}_i is the predicted probability output by the MLP.", "source": "marker_v2", "marker_block_id": "/page/4/Text/32"}
70
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0069", "section": "4.4. Light MLP Training", "page_start": 6, "page_end": 6, "type": "TableGroup", "text": "Table 1. Comparison(AUROC/TPR@5%FPR) on 4 Datasets across 5 target models. Target models are denoted as 2.7B/6B/6.7B/6.9B/7B, corresponding to Neo-2.7B/GPT-J-6b/OPT-6.7b/Pythia-6.9b/LLaMA-7B respectively. The best result is bold. WikiMIA ArXivTection Method 2.7B 6B 6.7B 6.9B 7B 2.7B 6B 6.7B 6.9B 7B PPL 0.61/0.13 0.64/0.13 0.60/0.12 0.63/0.13 0.69/0.14 0.62/0.13 0.64/0.13 0.60/0.12 0.63/0.13 0.70/0.14 ZLib 0.58/0.10 0.60/0.11 0.58/0.10 0.59/0.10 0.71/0.22 0.58/0.10 0.60/0.11 0.58/0.09 0.59/0.11 0.71/0.22 Min-k 0.65/0.17 0.67/0.19 0.63/0.15 0.67/0.19 0.73/0.18 0.65/0.17 0.68/0.19 0.63/0.15 0.67/0.19 0.72/0.18 Min-k++ 0.67/0.15 0.69/0.19 0.65/0.11 0.70/0.18 0.82/0.22 0.67/0.15 0.69/0.19 0.65/0.10 0.70/0.17 0.83/0.22 FSD 0.92/0.77 0.95/0.78 0.90/0.63 0.90/0.66 0.92/0.41 0.91/0.65 0.96/0.79 0.89/0.63 0.95/0.66 0.94/0.81 Ours 0.90/0.60 0.93/0.66 0.94/0.67 0.92/0.63 0.96/0.84 0.94/0.73 0.97/0.86 0.94/0.75 0.95/0.83 0.97/0.85 BookTection BookMIA Method 2.7B 6B 6.7B 6.9B 7B 2.7B 6B 6.7B 6.9B 7B PPL 0.69/0.15 0.74/0.25 0.64/0.13 0.73/0.25 0.71/0.25 0.29/0.02 0.22/0.13 0.23/0.01 0.59/0.19 0.56/0.21 ZLib 0.56/0.16 0.58/0.20 0.55/0.14 0.58/0.19 0.57/0.19 0.20/0.02 0.38/0.13 0.15/0.00 0.49/0.17 0.48/0.18 Min-k 0.71/0.18 0.75/0.27 0.67/0.15 0.74/0.26 0.71/0.25 0.45/0.05 0.60/0.20 0.40/0.03 0.62/0.20 0.60/0.21 Min-k++ 0.64/0.13 0.67/0.18 0.61/0.11 0.66/0.19 0.63/0.15 0.54/0.13 0.64/0.29 0.49/0.09 0.60/0.23 0.58/0.20 FSD 0.92/0.53 0.91/0.52 0.96/0.77 0.93/0.59 0.92/0.55 0.98/0.93 0.97/0.89 0.98/0.96 0.98/0.93 0.98/0.91 Ours 0.96/0.84 0.97/0.88 0.98/0.92 0.96/0.83 0.98/0.92 0.99/0.98 0.99/0.99 0.99/0.99 0.99/0.98 0.99/0.99 Table 2. Performance Comparison on Mimir datasets with 7 subsets across 5 target models using AUROC scores.", "source": "marker_v2", "marker_block_id": "/page/5/TableGroup/510"}
71
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0070", "section": "4.4. Light MLP Training", "page_start": 6, "page_end": 6, "type": "Table", "text": "Wikipedia Github Pile CC PubMed Central Method 2.7B 6B 6.7B 6.9B 7B 2.7B 6B 6.7B 6.9B 7B 2.7B 6B 6.7B 6.9B 7B 2.7B 6B 6.7B 6.9B 7B PPL 0.56 0.57 0.56 0.56 0.56 0.78 0.79 0.78 0.90 0.83 0.56 0.57 0.56 0.56 0.52 0.78 0.79 0.78 0.78 0.72 ZLib 0.62 0.65 0.59 0.65 0.58 0.90 0.91 0.79 0.91 0.86 0.55 0.55 0.55 0.55 0.52 0.78 0.78 0.73 0.77 0.71 Min-k 0.66 0.68 0.65 0.68 0.63 0.88 0.89 0.76 0.90 0.83 0.56 0.57 0.56 0.56 0.52 0.81 0.80 0.74 0.79 0.72 Min-k++ 0.65 0.68 0.60 0.69 0.56 0.84 0.86 0.56 0.86 0.73 0.54 0.55 0.54 0.56 0.51 0.71 0.72 0.60 0.70 0.59 FSD 0.61 0.67 0.60 0.65 0.60 0.77 0.80 0.62 0.77 0.72 0.55 0.55 0.54 0.55 0.52 0.71 0.79 0.63 0.56 0.63 Ours 0.63 0.64 0.65 0.65 0.64 0.90 0.92 0.88 0.92 0.91 0.59 0.59 0.59 0.57 0.59 0.84 0.85 0.84 0.79 0.82 ArXiv DM Mathematics HackerNews Average Method 2.7B 6B 6.7B 6.9B 7B 2.7B 6B 6.7B 6.9B 7B 2.7B 6B 6.7B 6.9B 7B 2.7B 6B 6.7B 6.9B 7B PPL 0.78 0.79 0.65 0.78 0.70 0.78 0.79 0.65 0.91 0.31 0.65 0.62 0.59 0.62 0.59 0.64 0.66 0.62 0.73 0.59 ZLib 0.77 0.78 0.68 0.77 0.71 0.82 0.81 0.80 0.81 0.23 0.68 0.60 0.58 0.60 0.58 0.65 0.67 0.63 0.72 0.58 Min-k 0.78 0.79 0.65 0.78 0.70 0.93 0.93 0.92 0.92 0.32 0.65 0.62 0.59 0.62 0.59 0.71 0.73 0.69 0.75 0.60 Min-k++ 0.60 0.64 0.53 0.70 0.57 0.77 0.79 0.67 0.75 0.22 0.53 0.57 0.51 0.60 0.53 0.60 0.63 0.56 0.67 0.53 FSD 0.72 0.78 0.55 0.70 0.52 0.58 0.85 0.60 0.74 0.53 0.61 0.60 0.57 0.56 0.51 0.61 0.66 0.59 0.62 0.55 Ours 0.78 0.79 0.78 0.78 0.77 0.95 0.95 0.94 0.95 0.95 0.58 0.60 0.60 0.57 0.58 0.73 0.75 0.74 0.76 0.70", "source": "marker_v2", "marker_block_id": "/page/5/Table/5"}
72
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0071", "section": "5.1. Experimental Setup", "page_start": 6, "page_end": 6, "type": "Text", "text": "Datasets Following prior work, we evaluate on five prevalent datasets: WikiMIA, BookMIA (Shi et al., 2024) ,ArxivTection, BookTection (Duarte et al.) , and MIMIR (Duan et al.) , a widely recognized challenging benchmark for pretraining data detection.", "source": "marker_v2", "marker_block_id": "/page/5/Text/8"}
73
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0072", "section": "5.1. Experimental Setup", "page_start": 6, "page_end": 6, "type": "Text", "text": "Target Models We evaluate five open-source LLMs with diverse architectures: Neo-2.7B (Black et al., 2021) , GPT-J-6B (Wang & Komatsuzaki, 2021) , OPT-6.7B (Zhang et al., 2022) , Pythia-6.9B (Biderman et al., 2023) , and LLaMA-7B (Touvron et al., 2023) from Hugging Face.", "source": "marker_v2", "marker_block_id": "/page/5/Text/9"}
74
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0073", "section": "5.1. Experimental Setup", "page_start": 6, "page_end": 6, "type": "Text", "text": "Comparison Methods We select five representative stateof-the-art baselines. Four scoring function–based methods", "source": "marker_v2", "marker_block_id": "/page/5/Text/10"}
75
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0074", "section": "5.1. Experimental Setup", "page_start": 6, "page_end": 6, "type": "Text", "text": "include PPL (Carlini et al., 2021) , ZLib (Carlini et al., 2021) , Min-k (Shi et al., 2024) , and Min-k++ (Zhang et al., 2025) . The fine-tuning–enhanced method includes FSD (Zhang et al.) . More details are shown in Appendix A.", "source": "marker_v2", "marker_block_id": "/page/5/Text/11"}
76
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0075", "section": "5.1. Experimental Setup", "page_start": 6, "page_end": 6, "type": "Text", "text": "Evaluation Metrics Two metrics evaluate the binary pretraining data detection task: AUROC measures overall discriminative performance, and TPR@5%FPR captures practical effectiveness by assessing detection rate under a 5% false positive constraint.", "source": "marker_v2", "marker_block_id": "/page/5/Text/12"}
77
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0076", "section": "5.1. Experimental Setup", "page_start": 6, "page_end": 6, "type": "Text", "text": "Implementation Details We use the PEFT library (Man grulkar et al., 2022) for LoRA-based (Hu et al., 2022) gradient feature extraction without parameter updates. The MLP is trained on 30% of the data, with the remaining 70% used for inference evaluation under FSD settings. More Details can be seen in Appendix A.6.", "source": "marker_v2", "marker_block_id": "/page/5/Text/13"}
78
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0077", "section": "5.1. Experimental Setup", "page_start": 7, "page_end": 7, "type": "FigureGroup", "text": "Figure 4. Distribution differences of eight gradient features between member(red) and non-member(blue) samples. Dashed lines indicate distribution means. The x-axis represents feature values, and the y-axis denotes probability density.", "source": "marker_v2", "marker_block_id": "/page/6/FigureGroup/466"}
79
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0078", "section": "5.1. Experimental Setup", "page_start": 7, "page_end": 7, "type": "TableGroup", "text": "Table 3. Ablation results using AUROC on WikiMIA and Arxiv-Tection. - denotes the removal of related features. Dataset -Magnitude -Concentration -Position WikiMIA 0.94 (↓0.02) 0.94 (↓0.02) 0.93 (↓0.03) ArxivTection 0.96 (↓0.01) 0.95 (↓0.02) 0.95 (↓0.02) Table 4. Ablation results using AUROC and TPR@5%FPR. ATT-Only refers to performance validation using only attention module.", "source": "marker_v2", "marker_block_id": "/page/6/TableGroup/467"}
80
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0079", "section": "5.1. Experimental Setup", "page_start": 7, "page_end": 7, "type": "Table", "text": "Dataset ATT-Only FFN-Only Origin WikiMIA 0.94 / 0.68 0.93 / 0.64 0.96 / 0.84 ArxivTection 0.95 / 0.76 0.93 / 0.72 0.97 / 0.85", "source": "marker_v2", "marker_block_id": "/page/6/Table/6"}
81
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0080", "section": "5.2. Main Results", "page_start": 7, "page_end": 7, "type": "Text", "text": "Table 1 shows detection performance on WikiMIA, Arxiv-Tection, BookTection, and BookMIA. Specifically, when tested on WikiMIA with LLaMA-7B, GDS achieves an AUC score of 0.96, which is an improvement of 0.04 compared to the best baseline FSD and significantly higher than score-function-based methods such as Min-k++. GDS outperforms the best baseline in most settings, with especially large gains in TPR@5%FPR on BookTection and Book-MIA. Notably, with LLaMA-7B, BookTection performance improves by nearly 67.3%.", "source": "marker_v2", "marker_block_id": "/page/6/Text/8"}
82
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0081", "section": "5.2. Main Results", "page_start": 7, "page_end": 7, "type": "Text", "text": "Table 2 reports results on seven MIMIR subsets. Although all methods degrade due to similar data distributions, GDS achieves the best average improvements +2.8%, +2.7%, +7.2%, +1.3%, +16.6% across different models, and shows clear advantages on PubMed Central, DM Mathematics, and GitHub. Using the LLaMA model, the three subsets achieve AUC scores of 0.82, 0.95, and 0.91. Our method shows the most stable performance across models, with AUC variations mostly within 0.04, demonstrating strong generalization across different models.", "source": "marker_v2", "marker_block_id": "/page/6/Text/9"}
83
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0082", "section": "5.3. Ablation Study", "page_start": 7, "page_end": 7, "type": "Text", "text": "We perform two ablation studies: (1) removing each gradient feature category individually, and (2) using features from only the Attention or FFN module. Table 3 shows that all feature categories contribute to performance, with Position Offset and Magnitude being the most important. Concentration features have smaller effects, and the full combination performs best, highlighting the complementary nature of multi-dimensional features (see Appendix C for sub-feature ablations). Table 4 shows that Attention features are more discriminative than FFN features. Both single-module variants underperform the full model, indicating that Attention and FFN capture complementary gradient patterns and must be combined for optimal performance.", "source": "marker_v2", "marker_block_id": "/page/6/Text/11"}
84
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0083", "section": "5.4.1. FEATURE DISTRIBUTION", "page_start": 7, "page_end": 7, "type": "Text", "text": "To explain the classifier's effectiveness, we quantify feature distributions across all layers and sub-modules for member and non-member samples. Figure 4 shows the eight features with the largest discrepancies. Member samples exhibit smaller Abs Mean and Row Mean Max, indicating lower gradient magnitudes due to higher data familiarity, along with higher Sparsity, smaller Std and Row Mean Std, reflecting more concentrated and stable gradients. They also maintain a consistently higher 10p Ratio, occupying the core of gradient propagation. For locations Row Ecc and Col Ecc, member samples cluster at lower values, while non-members shift higher, suggesting that member-related parameters lie more centrally in weight matrices.", "source": "marker_v2", "marker_block_id": "/page/6/Text/14"}
85
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0084", "section": "5.4.1. FEATURE DISTRIBUTION", "page_start": 7, "page_end": 7, "type": "Text", "text": "We collect sub-features with the largest distribution differences between the two sample types and analyze their overall distribution patterns. Figure 5 show that discriminative sub-features are predominantly concentrated in low layers, while middle and high layers contribute far less. Among sub-modules, attention-related modules are the main sources", "source": "marker_v2", "marker_block_id": "/page/6/Text/15"}
86
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0085", "section": "5.4.1. FEATURE DISTRIBUTION", "page_start": 8, "page_end": 8, "type": "TableGroup", "text": "Table 5. Performance Comparison between LoRA and Full-Parameter Update using AUROC on WikiMIA and ArxivTection. Dataset Metric LLaMA-7B GPT-J-6B OPT-6.7B Pythia-6.9B Neo-2.7B LoRA Full LoRA Full LoRA Full LoRA Full LoRA Full WikiMIA AUC 0.96 0.96 0.93 0.90 0.94 0.92 0.92 0.89 0.90 0.88 TPR@5% FPR 0.84 0.79 0.66 0.58 0.67 0.56 0.63 0.50 0.60 0.51 ArxivTection AUC 0.97 0.96 0.97 0.96 0.94 0.93 0.95 0.94 0.94 0.94 TPR@5% FPR 0.85 0.84 0.86 0.79 0.75 0.67 0.83 0.73 0.73 0.75", "source": "marker_v2", "marker_block_id": "/page/7/TableGroup/516"}
87
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0086", "section": "5.4.1. FEATURE DISTRIBUTION", "page_start": 8, "page_end": 8, "type": "FigureGroup", "text": "Figure 5. Distribution Difference Statistics of Discriminative Features. The y-axis shows the statistical count.", "source": "marker_v2", "marker_block_id": "/page/7/FigureGroup/517"}
88
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0087", "section": "5.4.1. FEATURE DISTRIBUTION", "page_start": 8, "page_end": 8, "type": "Text", "text": "of discriminative features, with obvious differences in contribution across modules. In terms of gradient features, grad sparsity exhibits the strongest discriminative power, significantly outperforming other indicators.", "source": "marker_v2", "marker_block_id": "/page/7/Text/6"}
89
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0088", "section": "5.4.2. FULL PARAMETER TRAINING", "page_start": 8, "page_end": 8, "type": "Text", "text": "In LoRA training, only FFN and MLP modules are updated, while LayerNorm, despite containing meaningful training dynamics, is excluded. To account for this, we evaluate our method under full-parameter training on two small-scale datasets, BookMIA and ArxivTection, for computational feasibility. As shown in Table 5, although full-parameter updates cause a slight performance drop compared to LoRA, our method still outperforms most baselines. We attribute this gap to reduced gradient magnitudes in full training, which weaken discriminative signals between sample types.", "source": "marker_v2", "marker_block_id": "/page/7/Text/8"}
90
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0089", "section": "5.4.3. WIKIMIA MODIFICATION", "page_start": 8, "page_end": 8, "type": "Text", "text": "Dataset partitioning can introduce distribution shifts or dataset-specific artifacts. For example, WikiMIA is split by publication time, with all non-member samples labeled as 2023. To ensure our method does not exploit such artifacts, we remove all timestamp tokens and reevaluate all methods. As shown in Table 6, although token removal degrades performance, our method suffers a much smaller drop than the strongest baseline, FSD, and still achieves SOTA results.", "source": "marker_v2", "marker_block_id": "/page/7/Text/10"}
91
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0090", "section": "5.4.3. WIKIMIA MODIFICATION", "page_start": 8, "page_end": 8, "type": "TableGroup", "text": "Table 6. Comparison of Temporal Feature Perturbation via AU-ROC. Deletion denotes the removal of all year timestamps. Method Origin Deletion PPL 0.69 0.62 Min-k 0.73 0.63 Min-k++ 0.82 0.59 FSD 0.92 0.76 Ours 0.96 0.84 Table 7. Cross-Dataset Generalization Performance using AU-ROC. Wiki(arXiv) indicates training on ArxivTection with test on WikiMIA, while Mix indicates mixed datasets.", "source": "marker_v2", "marker_block_id": "/page/7/TableGroup/518"}
92
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0091", "section": "5.4.3. WIKIMIA MODIFICATION", "page_start": 8, "page_end": 8, "type": "Table", "text": "Method Wiki (arXiv) arXiv (Wiki) Mix FSD 0.52 0.58 0.92 Ours 0.66 0.68 0.95", "source": "marker_v2", "marker_block_id": "/page/7/Table/14"}
93
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0092", "section": "5.4.4. TRANSFERABILITY", "page_start": 8, "page_end": 8, "type": "Text", "text": "Although our method shares the same feature extraction framework, it requires dataset-specific classifiers. To examine whether a unified classifier is feasible, we train classifiers on WikiMIA and ArXiv separately and evaluate crossdataset generalization, as well as train a unified classifier on mixed data. Table 7 shows that cross-dataset transfer leads to notable performance degradation due to dataset shifts (e.g., distribution, difficulty, and pre-training differences), which cause classifiers to overfit dataset-specific gradient features. In contrast, the unified classifier performs well on mixed data, indicating that our method can capture universal feature discrepancies arising from model familiarity.", "source": "marker_v2", "marker_block_id": "/page/7/Text/16"}
94
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0093", "section": "6. Conclusion", "page_start": 8, "page_end": 8, "type": "Text", "text": "We revisit pre-training data detection from an optimization and training-dynamics perspective and introduce GDS, a fine-tuning–free method for inferring pre-training membership. By analyzing how models transition from unfamiliarity to familiarity, we show that member and non-member samples exhibit stable, interpretable differences in gradient magnitude, location, and concentration across datasets and architectures. Experiments show that GDS is effective and generalizable, outperforming strong baselines. Future work can focus on developing more generalizable detectors by contrastive learning or deeper feature extraction.", "source": "marker_v2", "marker_block_id": "/page/7/Text/18"}
95
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0094", "section": "Limitations", "page_start": 9, "page_end": 9, "type": "Text", "text": "This work investigates pre-training data detection, a form of membership inference that determines whether a given sample was included in a LLM's pre-training corpus. While our proposed GDS method improves detection accuracy and generalization without fine-tuning, it also raises important ethical concerns. Pre-training data detection methods could be misused to probe proprietary or confidential training corpora, potentially revealing sensitive information about data sources or collection practices. Although GDS does not reconstruct or expose training samples directly, it contributes to capabilities that may be exploited if applied irresponsibly. Our primary motivation is to support transparency, accountability, and safety. As pre-training datasets become increasingly large and opaque, tools like GDS can help researchers, auditors, and regulators verify data usage claims, identify potential copyright violations, and detect benchmark contamination. In this sense, GDS is intended as a diagnostic and auditing mechanism rather than a data extraction attack. We release code and models to promote reproducibility while encouraging responsible deployment. Overall, we hope this work advances trustworthy and transparent large-scale model development while highlighting the need for careful governance of pre-training data.", "source": "marker_v2", "marker_block_id": "/page/8/Text/2"}
96
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0095", "section": "References", "page_start": 9, "page_end": 9, "type": "ListGroup", "text": "Balloccu, S., Schmidtova, P., Lango, M., and Du ´ sek, O. ˇ Leak, cheat, repeat: Data contamination and evaluation malpractices in closed-source llms. In Proceedings of the 18th Conference of the European Chapter of the Asso ciation for Computational Linguistics (Volume 1: Long Papers) , pp. 67–93, 2024. Biderman, S., Schoelkopf, H., Anthony, Q. G., Bradley, H., O'Brien, K., Hallahan, E., Khan, M. A., Purohit, S., Prashanth, U. S., Raff, E., et al. Pythia: A suite for analyzing large language models across training and scaling. In International Conference on Machine Learning , pp. 2397–2430. PMLR, 2023. Black, S., Leo, G., Wang, P., Leahy, C., and Biderman, S. Gpt-neo: Large scale autoregressive language modeling with mesh-tensorflow. Zenodo , 2021. Bottou, L. Large-scale machine learning with stochastic gradient descent. In Proceedings of COMPSTAT'2010: 19th International Conference on Computational Statis ticsParis France, August 22-27, 2010 Keynote, Invited and Contributed Papers , pp. 177–186. Springer, 2010. Carlini, N., Tramer, F., Wallace, E., Jagielski, M., Herbert-Voss, A., Lee, K., Roberts, A., Brown, T., Song, D., Erlingsson, U., et al. Extracting training data from large", "source": "marker_v2", "marker_block_id": "/page/8/ListGroup/507"}
97
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0096", "section": "References", "page_start": 9, "page_end": 9, "type": "ListGroup", "text": "language models. In 30th USENIX security symposium (USENIX Security 21) , pp. 2633–2650, 2021. Choi, H. K., Khanov, M., Wei, H., and Li, Y. How contaminated is your benchmark? measuring dataset leakage in large language models with kernel divergence. In Forty second International Conference on Machine Learning . Duan, M., Suri, A., Mireshghallah, N., Min, S., Shi, W., Zettlemoyer, L., Tsvetkov, Y., Choi, Y., Evans, D., and Hajishirzi, H. Do membership inference attacks work on large language models? In First Conference on Language Modeling . Duarte, A. V., Zhao, X., Oliveira, A. L., and Li, L. Decop: Detecting copyrighted content in language models training data. In Forty-first International Conference on Machine Learning . Frankle, J., Schwab, D. J., and Morcos, A. S. The early phase of neural network training. In International Con ference on Learning Representations . Grynbaum, M. M. and Mac, R. The times sues openai and microsoft over ai use of copyrighted work. The New York Times , 27(1), 2023. Gur-Ari, G., Roberts, D. A., and Dyer, E. Gradient descent happens in a tiny subspace. arXiv preprint arXiv:1812.04754 , 2018. Hu, E. J., Shen, Y., Wallis, P., Allen-Zhu, Z., Li, Y., Wang, S., Wang, L., Chen, W., et al. Lora: Low-rank adaptation of large language models. ICLR , 1(2):3, 2022. Kaplan, J., McCandlish, S., Henighan, T., Brown, T. B., Chess, B., Child, R., Gray, S., Radford, A., Wu, J., and Amodei, D. Scaling laws for neural language models. arXiv preprint arXiv:2001.08361 , 2020. Li, Y. Estimating contamination via perplexity: Quantifying memorisation in language model evaluation. In The Future of Machine Learning Data Practices and Reposi tories at ICLR 2025 . Liu, Z., Zhu, T., Tan, C., Liu, B., Lu, H., and Chen, W. Probing language models for pre-training data detection. In Proceedings of the 62nd Annual Meeting of the Asso ciation for Computational Linguistics (Volume 1: Long Papers) , pp. 1576–1587, 2024. Mangrulkar, S., Gugger, S., Debut, L., Belkada, Y., Paul, S., and Bossan, B. Peft: State-of-the-art parameter-efficient fine-tuning methods. 2022. Ruder, S. An overview of gradient descent optimization algorithms. arXiv preprint arXiv:1609.04747 , 2016.", "source": "marker_v2", "marker_block_id": "/page/8/ListGroup/508"}
98
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0097", "section": "References", "page_start": 10, "page_end": 10, "type": "Text", "text": "Shi, W., Ajith, A., Xia, M., Huang, Y., Liu, D., Blevins, T., Chen, D., and Zettlemoyer, L. Detecting pretraining data from large language models. In 12th International Conference on Learning Representations, ICLR 2024 , 2024.", "source": "marker_v2", "marker_block_id": "/page/9/Text/280"}
99
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0098", "section": "References", "page_start": 10, "page_end": 10, "type": "ListGroup", "text": "Tang, H., Zhu, Z., and Yang, Y. Identifying pre-training data in llms: A neuron activation-based detection framework. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing , pp. 18738– 18751, 2025. Touvron, H., Lavril, T., Izacard, G., Martinet, X., Lachaux, M.-A., Lacroix, T., Roziere, B., Goyal, N., Hambro, E., ` Azhar, F., et al. Llama: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971 , 2023. Wang, B. and Komatsuzaki, A. Gpt-j-6b: A 6 billion parameter autoregressive language model, 2021. Wang, H., Ma, S., Wang, R., and Wei, F. Q-sparse: All large language models can be fully sparsely-activated. arXiv preprint arXiv:2407.10969 , 2024. Zhang, H., Zhang, S., Jing, B., and Wei, H. Fine-tuning can help detect pretraining data from large language models. In The Thirteenth International Conference on Learning Representations . Zhang, J., Sun, J., Yeats, E., Ouyang, Y., Kuo, M., Zhang, J., Yang, H. F., and Li, H. Min-k%++: Improved baseline for pre-training data detection from large language models. In The Thirteenth International Conference on Learning Representations , 2025. Zhang, S., Roller, S., Goyal, N., Artetxe, M., Chen, M., Chen, S., Dewan, C., Diab, M., Li, X., Lin, X. V., et al. Opt: Open pre-trained transformer language models. arXiv preprint arXiv:2205.01068 , 2022. Zhang, W., Zhang, R., Guo, J., Rijke, M., Fan, Y., and Cheng, X. Pretraining data detection for large language models: A divergence-based calibration method. In Pro ceedings of the 2024 Conference on Empirical Methods in Natural Language Processing , pp. 5263–5274, 2024.", "source": "marker_v2", "marker_block_id": "/page/9/ListGroup/279"}
100
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0099", "section": "A. Details of Baseline", "page_start": 11, "page_end": 11, "type": "Text", "text": "Shared Notations: We first define the universal notations used across all baseline methods for consistency:", "source": "marker_v2", "marker_block_id": "/page/10/Text/2"}
101
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0100", "section": "A. Details of Baseline", "page_start": 11, "page_end": 11, "type": "ListGroup", "text": "x: Input text sample for membership inference detection. {x1, x2, . . . , x N }: Token sequence of input text sample x, where N denotes the total number of tokens in the text. x<t: Prefix token sequence of the t-th token xt, i.e., x<t = {x1, . . . , xt−1}. θ: Trainable parameters of the pre-trained language model. p(· | ·; θ): Conditional probability distribution parameterized by the model parameters θ. k%: Percentage threshold for selecting low-probability outlier tokens (used in Min-k% and Min-k%++).", "source": "marker_v2", "marker_block_id": "/page/10/ListGroup/597"}
102
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0101", "section": "A.1. PPL", "page_start": 11, "page_end": 11, "type": "Text", "text": "Perplexity (PPL) is a classic global likelihood-based metric that measures the model's uncertainty in predicting a given text, with lower PPL indicating higher text familiarity (more likely to be a member sample). First, the text is tokenized into a sequence of tokens {x1, x2, . . . , x N }. Then, the log-likelihood of each token is calculated conditional on the preceding tokens, and the final PPL is derived by normalizing the sum of log-likelihoods by the token sequence length and performing an exponential transformation.", "source": "marker_v2", "marker_block_id": "/page/10/Text/10"}
103
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0102", "section": "A.1. PPL", "page_start": 11, "page_end": 11, "type": "Equation", "text": "PPL = \\exp\\left(-\\frac{1}{N} \\sum_{i=1}^{N} \\log p(x_i|x_1, ..., x_{x-1}; \\theta)\\right) (16)", "source": "marker_v2", "marker_block_id": "/page/10/Equation/11"}
104
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0103", "section": "A.2. Zlib", "page_start": 11, "page_end": 11, "type": "Text", "text": "Zlib is a compression-based global likelihood-related method that leverages compression entropy to distinguish member and non-member samples, which calibrates the loss using the input's Zlib entropy. For an input text sample x and a pre-trained model M, the Zlib score is defined as the ratio of the loss related to the text and model to the Zlib compression entropy of the input text:", "source": "marker_v2", "marker_block_id": "/page/10/Text/13"}
105
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0104", "section": "A.2. Zlib", "page_start": 11, "page_end": 11, "type": "Equation", "text": "Zlib Score = \\frac{L(x, M)}{\\text{zlib}(x)} (17)", "source": "marker_v2", "marker_block_id": "/page/10/Equation/14"}
106
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0105", "section": "A.2. Zlib", "page_start": 11, "page_end": 11, "type": "Text", "text": "where L(x, M) denotes the loss value associated with the input text x under the model M and zlib(x) represents the Zlib compression entropy of the input text x, which is derived from the length of the text after Zlib compression.", "source": "marker_v2", "marker_block_id": "/page/10/Text/15"}
107
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0106", "section": "A.3. Min-k%", "page_start": 11, "page_end": 11, "type": "Text", "text": "Min-k% is a local likelihood-based method that mitigates global word frequency interference by focusing on low-probability outlier tokens. For an input text token sequence x = {x1, x2, . . . , x N } (where N denotes the total number of tokens), it first calculates the conditional log-likelihood of each token x i given its preceding context:", "source": "marker_v2", "marker_block_id": "/page/10/Text/17"}
108
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0107", "section": "A.3. Min-k%", "page_start": 11, "page_end": 11, "type": "Equation", "text": "\\log p(x_i \\mid x_1, x_2, \\dots, x_{i-1}; \\theta)", "source": "marker_v2", "marker_block_id": "/page/10/Equation/18"}
109
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0108", "section": "A.3. Min-k%", "page_start": 11, "page_end": 11, "type": "Text", "text": "Subsequently, it sorts all token conditional probabilities in ascending order, selects the bottom k% tokens (i.e., the k% tokens with the smallest conditional probabilities) to form the low-probability set Tmin(k%) = Min-K%(x). The final Min-k% score is defined as the average conditional log-likelihood of tokens in Tmin(k%):", "source": "marker_v2", "marker_block_id": "/page/10/Text/19"}
110
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0109", "section": "A.3. Min-k%", "page_start": 11, "page_end": 11, "type": "Equation", "text": "Min-k% Score(x) = \\frac{1}{|T_{\\min(k\\%)}|} \\sum_{x_i \\in T_{\\min(k\\%)}} \\log p(x_i \\mid x_1, \\dots, x_{i-1}; \\theta) (18)", "source": "marker_v2", "marker_block_id": "/page/10/Equation/20"}
111
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0110", "section": "A.3. Min-k%", "page_start": 11, "page_end": 11, "type": "Text", "text": "where |Tmin(k%)| = ⌊k% × N⌋ denotes the cardinality of the low-probability token set (rounded down to the nearest integer). During detection, a threshold is set on Min-k% Score(x): text with a score below the threshold is classified as a member sample (since member samples tend to contain more low-probability outlier tokens), and vice versa.", "source": "marker_v2", "marker_block_id": "/page/10/Text/21"}
112
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0111", "section": "A.4. Min-k%++", "page_start": 12, "page_end": 12, "type": "Text", "text": "Min-k%++ is an optimized variant of Min-k% that enhances detection robustness by integrating vocabulary-level probability statistics, addressing the text-length dependency and short-text fluctuation issues of the original method. For an input text token sequence x = \\{x_1, x_2, \\dots, x_N\\} , it first computes the normalized conditional log-likelihood for each token x_t (given prefix x_{< t} = \\{x_1, \\dots, x_{t-1}\\} ) by normalizing with the vocabulary-wide log-probability statistics of the prefix x_{< t} .", "source": "marker_v2", "marker_block_id": "/page/11/Text/2"}
113
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0112", "section": "Core Token-Level Score Calculation", "page_start": 12, "page_end": 12, "type": "Text", "text": "For each token x_t , the token-level Min-k%++ score is defined as:", "source": "marker_v2", "marker_block_id": "/page/11/Text/4"}
114
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0113", "section": "Core Token-Level Score Calculation", "page_start": 12, "page_end": 12, "type": "Equation", "text": "Min-k\\% + +_{token}(x_{< t}, x_t) = \\frac{\\log p(x_t \\mid x_{< t}; \\theta) - \\mu_{x_{< t}}}{\\sigma_{x_{< t}}} (19)", "source": "marker_v2", "marker_block_id": "/page/11/Equation/5"}
115
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0114", "section": "Core Token-Level Score Calculation", "page_start": 12, "page_end": 12, "type": "Text", "text": "where \\mu_{x_{< t}} = \\mathbb{E}_{z \\sim p(\\cdot \\mid x_{< t}; \\theta)} [\\log p(z \\mid x_{< t}; \\theta)] : Expectation of the next-token log-likelihood over the model's vocabulary, given prefix x_{< t} ; \\sigma_{x_{< t}} = \\sqrt{\\mathbb{E}_{z \\sim p(\\cdot \\mid x_{< t}; \\theta)} \\left[ (\\log p(z \\mid x_{< t}; \\theta) - \\mu_{x_{< t}})^2 \\right]} : Standard deviation of the next-token log-likelihood over the vocabulary, given prefix x_{< t} .", "source": "marker_v2", "marker_block_id": "/page/11/Text/6"}
116
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0115", "section": "Core Token-Level Score Calculation", "page_start": 12, "page_end": 12, "type": "Text", "text": "Both \\mu_{x_{< t}} and \\sigma_{x_{< t}} can be computed analytically using the model's output logits (since p(\\cdot \\mid x_{< t}; \\theta) follows a categorical distribution), requiring no additional computational overhead beyond standard LLM inference.", "source": "marker_v2", "marker_block_id": "/page/11/Text/7"}
117
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0116", "section": "Final Sequence-Level Score Calculation", "page_start": 12, "page_end": 12, "type": "Text", "text": "Similar to Min-k%, Min-k%++ selects the bottom k% tokens with the smallest Min-k%++<sub>token</sub> scores to form the low-probability set T_{\\min(k\\%)}^+ . The final sequence-level score is the average of the token-level scores in this set:", "source": "marker_v2", "marker_block_id": "/page/11/Text/9"}
118
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0117", "section": "Final Sequence-Level Score Calculation", "page_start": 12, "page_end": 12, "type": "Equation", "text": "Min-k\\% ++ Score(x) = \\frac{1}{|T_{\\min(k\\%)}^+|} \\sum_{(x_{< t}, x_t) \\in T_{\\min(k\\%)}^+} Min-k\\% ++_{token}(x_{< t}, x_t) (20)", "source": "marker_v2", "marker_block_id": "/page/11/Equation/10"}
119
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0118", "section": "Final Sequence-Level Score Calculation", "page_start": 12, "page_end": 12, "type": "Text", "text": "where |T_{\\min(k\\%)}^+| = \\lfloor k\\% \\times N \\rfloor denotes the cardinality of the low-probability token set. During detection, a threshold is applied: text with a lower Min-k%++ score is more likely to be a member sample, as the normalized score better distinguishes low-probability outlier tokens of member samples from non-member ones.", "source": "marker_v2", "marker_block_id": "/page/11/Text/11"}
120
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0119", "section": "A.5. FSD", "page_start": 12, "page_end": 12, "type": "Text", "text": "Fine-tuned Score Deviation (FSD) is a fine-tuning enhanced method that leverages score discrepancies between pre-trained and fine-tuned models for member sample detection. Its core workflow includes two key steps: first, constructing a domain-matched non-member fine-tuning dataset (using post-model-release unseen data), then performing self-supervised next-token prediction fine-tuning on the pre-trained model. Finally, it calculates the score difference between the pre-trained and fine-tuned models to distinguish member and non-member samples. The self-supervised fine-tuning loss is defined as:", "source": "marker_v2", "marker_block_id": "/page/11/Text/13"}
121
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0120", "section": "A.5. FSD", "page_start": 12, "page_end": 12, "type": "Equation", "text": "\\mathcal{L}_{\\text{fine-tuning}}(x) = -\\frac{1}{n} \\sum_{i=1}^{n} \\log f_{\\theta}(x_i \\mid x_1, \\dots, x_{i-1}) (21)", "source": "marker_v2", "marker_block_id": "/page/11/Equation/14"}
122
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0121", "section": "A.5. FSD", "page_start": 12, "page_end": 12, "type": "Text", "text": "The final FSD score is the deviation between the sample scores obtained from the pre-trained model f_{\\theta} and the fine-tuned model f_{\\theta'} (with parameters \\theta' ):", "source": "marker_v2", "marker_block_id": "/page/11/Text/15"}
123
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0122", "section": "A.5. FSD", "page_start": 12, "page_end": 12, "type": "Equation", "text": "FSD(x; f_{\\theta}, f_{\\theta'}) = S(x; f_{\\theta}) - S(x; f_{\\theta'}) (22)", "source": "marker_v2", "marker_block_id": "/page/11/Equation/16"}
124
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0123", "section": "A.5. FSD", "page_start": 12, "page_end": 12, "type": "Text", "text": "where S(\\cdot) represents a base scoring function (e.g., Perplexity, Min-k%). A large FSD score indicates the sample is likely a non-member (fine-tuning reduces non-member perplexity significantly), while a small score suggests a member sample (fine-tuning has negligible impact on member perplexity). A validation-set optimized threshold \\varepsilon is used for final classification.", "source": "marker_v2", "marker_block_id": "/page/11/Text/17"}
125
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0124", "section": "A.6. Experimental Settings", "page_start": 12, "page_end": 12, "type": "Text", "text": "We use the PEFT library (Mangrulkar et al., 2022) for LoRA-based (Hu et al., 2022) gradient feature extraction without parameter updates. The base model is initialized from pre-trained checkpoints, and for LoRA configuration, we adopt", "source": "marker_v2", "marker_block_id": "/page/11/Text/19"}
126
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0125", "section": "A.6. Experimental Settings", "page_start": 13, "page_end": 13, "type": "Text", "text": "default settings with rank r = 16, LoRA scaling factor α = 32, and dropout set to 0 since we only focus on gradients from a single backpropagation step and no parameter updates are required. Target modules include all submodules of attention and FFN, including query, key, value, output, gate, up, and down projections. For different datasets, we select the tokenizer sequence length based on the overall length distribution: 256 for the WikiMIA dataset and 512 for all other datasets. When training the MLP classifier, the dataset is uniformly split into training and validation sets at a ratio of 3:7. The MLP classifier is configured with two hidden layers of dimensions 128 and 64, respectively, and uses the default Adam optimizer with a learning rate of 0.001. An early stopping strategy is implemented to avoid overfitting.", "source": "marker_v2", "marker_block_id": "/page/12/Text/1"}
127
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0126", "section": "B. Motivation Experiment Supplementary Details", "page_start": 13, "page_end": 13, "type": "Text", "text": "To verify the parameter update law driven by the training process, we conduct LoRA fine-tuning with 8 epochs on LLaMA-7B using the unseen set of BookMIA dataset, counting LoRA matrix parameter updates per epoch to extract dynamic change curves of target features. Experiments are performed under three learning rates (1e − 5, 3e − 5, 5e − 5). We present the variation trends of the four feature categories across different modules and layers under each learning rate.", "source": "marker_v2", "marker_block_id": "/page/12/Text/3"}
128
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0127", "section": "B. Motivation Experiment Supplementary Details", "page_start": 13, "page_end": 13, "type": "Text", "text": "We present the variation trends of the four feature categories across different modules and layers under each learning rate. Across all learning rates, ∆Θ t and S t exhibit clear epoch-wise patterns: ∆Θ t continuously decreases with training epochs, while S t gradually increases. For Et, distinct opposite trends are observed between the ATT and MLP modules—the update positions of the ATT module tend to be centralized, whereas those of the MLP module tend to be marginalized. Despite this divergence, E t values of both modules converge to the same stable range across the three learning rates. In contrast, T10,t shows a different dynamic: under large learning rates, it first increases and then decreases, yet remains stably around 0.27 throughout training. Notably, the inflection point of T10,t decline coincides with the stage when E t stabilizes. This aligns with our core hypothesis: during training, the model identifies core parameters correlated with the input data and performs concentrated updates on them; once this process is completed, the overall parameter update dynamics tend to stabilize. Regarding different hierarchical levels, only E t shows noticeable discrepancies, while all other features follow the same evolutionary laws.", "source": "marker_v2", "marker_block_id": "/page/12/Text/4"}
129
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0128", "section": "B. Motivation Experiment Supplementary Details", "page_start": 13, "page_end": 13, "type": "FigureGroup", "text": "Figure 6. Feature Dynamic Changes During LoRA Fine-Tuning (Learning Rate 1e−5). Top row: Features in ATT/MLP modules; Bottom row: Features in low/middle/high layers.", "source": "marker_v2", "marker_block_id": "/page/12/FigureGroup/363"}
130
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0129", "section": "B. Motivation Experiment Supplementary Details", "page_start": 14, "page_end": 14, "type": "FigureGroup", "text": "Figure 7. Feature Dynamic Changes During LoRA Fine-Tuning (Learning Rate 3e − 5).", "source": "marker_v2", "marker_block_id": "/page/13/FigureGroup/236"}
131
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0130", "section": "B. Motivation Experiment Supplementary Details", "page_start": 14, "page_end": 14, "type": "FigureGroup", "text": "Figure 8. Feature Dynamic Changes During LoRA Fine-Tuning (Learning Rate 5e − 5).", "source": "marker_v2", "marker_block_id": "/page/13/FigureGroup/237"}
132
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0131", "section": "C. Ablation Experiments on Sub-features and Sub-modules", "page_start": 15, "page_end": 15, "type": "Text", "text": "To further explore the discriminative power of fine-grained components in our method, we conduct two additional ablation experiments: sub-feature category ablation (8 sub-features) and sub-module ablation (7 sub-modules). All experiments follow the same configuration as the main text (LLaMA-7B model, WikiMIA/ArxivTection datasets), with AUC and TPR@5% FPR as evaluation metrics.", "source": "marker_v2", "marker_block_id": "/page/14/Text/12"}
133
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0132", "section": "C.1. Sub-feature Category Ablation Experiment", "page_start": 15, "page_end": 15, "type": "Text", "text": "The four core feature categories are decomposed into 8 sub-features, as follows:", "source": "marker_v2", "marker_block_id": "/page/14/Text/14"}
134
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0133", "section": "C.1. Sub-feature Category Ablation Experiment", "page_start": 15, "page_end": 15, "type": "ListGroup", "text": "Magnitude Distribution Features: Abs Mean, Std Core Contribution Features: 10p Ratio, Sparsity Position Offset Features: Row Ecc, Col Ecc Row-Dimension Consistency Features: Row Mean Max, Row Mean Std", "source": "marker_v2", "marker_block_id": "/page/14/ListGroup/372"}
135
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0134", "section": "C.1. Sub-feature Category Ablation Experiment", "page_start": 15, "page_end": 15, "type": "Text", "text": "Ablation is performed by removing one sub-feature at a time (retaining the other 7), and the results are shown in Table 8.", "source": "marker_v2", "marker_block_id": "/page/14/Text/19"}
136
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0135", "section": "C.1. Sub-feature Category Ablation Experiment", "page_start": 15, "page_end": 15, "type": "TableGroup", "text": "Table 8. Ablation Experiment Results of Sub-features (AUC Scores). Dataset Sub-feature (Ablation Variant) -Abs Mean -Std -10p Ratio -Sparsity -Row Ecc -Col Ecc -Row Max -Row Std WikiMIA 0.95/0.71 0.95/0.72 0.95/0.70 0.94/0.67 0.95/0.70 0.93/0.62 0.95/0.73 0.95/0.72 0.96/0.84 ArxivTection 0.96/0.82 0.96/0.81 0.96/0.83 0.96/0.82 0.96/0.83 0.95/0.78 0.96/0.83 0.96/0.83 0.97/0.85", "source": "marker_v2", "marker_block_id": "/page/14/TableGroup/370"}
137
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0136", "section": "C.1. Sub-feature Category Ablation Experiment", "page_start": 15, "page_end": 15, "type": "Text", "text": "The sub-feature ablation results verify that all sub-features contribute to detection performance, with their combination achieving optimal AUC and TPR scores across both datasets. Among these sub-features, Col Ecc (a Position Offset Feature) is the most critical: its removal leads to the sharpest performance decline (AUC drops to 0.93 on WikiMIA and 0.95 on ArxivTection, with TPR falling to 0.62 and 0.78 respectively). In contrast, removing Abs Mean, Std, 10p Ratio, Row Ecc, Row Max, or Row Std induces only mild performance degradation, with AUC remaining above 0.95 on both datasets, indicating their relatively moderate importance; Sparsity also shows a slight impact on WikiMIA, with its ablation resulting in an AUC of 0.94. Overall, the fine-grained sub-feature design is rational, as each component provides complementary discriminative information for pre-training data detection.", "source": "marker_v2", "marker_block_id": "/page/14/Text/22"}
138
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0137", "section": "C.2. Sub-module Ablation Experiment", "page_start": 15, "page_end": 15, "type": "Text", "text": "The ATT and FFN modules are decomposed into 7 sub-modules based on Transformer architecture details:", "source": "marker_v2", "marker_block_id": "/page/14/Text/24"}
139
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0138", "section": "C.2. Sub-module Ablation Experiment", "page_start": 15, "page_end": 15, "type": "ListGroup", "text": "ATT-related sub-modules: Q-Proj, K-Proj, V-Proj, Out-Proj FFN-related sub-modules: Gate-Proj, Up-Proj, Down-Proj", "source": "marker_v2", "marker_block_id": "/page/14/ListGroup/373"}
140
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0139", "section": "C.2. Sub-module Ablation Experiment", "page_start": 15, "page_end": 15, "type": "Text", "text": "Ablation is performed by removing one sub-module's features at a time, and the results are shown in Table 9.", "source": "marker_v2", "marker_block_id": "/page/14/Text/27"}
141
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0140", "section": "C.2. Sub-module Ablation Experiment", "page_start": 15, "page_end": 15, "type": "TableGroup", "text": "Table 9. Ablation Experiment Results of Sub-modules (AUC / TPR@5% FPR Scores). Dataset Sub-module (Ablation Variant) -Q-Proj -K-Proj -V-Proj -Out-Proj -Gate-Proj -Up-Proj -Down-Proj WikiMIA 0.95/0.72 0.95/0.71 0.94/0.69 0.94/0.67 0.95/0.69 0.94/0.65 0.94/0.61 0.96/0.84 ArxivTection 0.96/0.80 0.96/0.82 0.95/0.79 0.96/0.80 0.96/0.82 0.95/0.78 0.96/0.82 0.97/0.85", "source": "marker_v2", "marker_block_id": "/page/14/TableGroup/371"}
142
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0141", "section": "C.2. Sub-module Ablation Experiment", "page_start": 15, "page_end": 15, "type": "Text", "text": "The sub-module ablation results demonstrate that all sub-modules provide complementary gradient information, as singlesub-module ablation consistently leads to performance degradation while integrating all sub-modules' features achieves", "source": "marker_v2", "marker_block_id": "/page/14/Text/30"}
143
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0142", "section": "C.2. Sub-module Ablation Experiment", "page_start": 16, "page_end": 16, "type": "FigureGroup", "text": "Figure 9. Impact Analysis of Training Set Size on WikiMIA. The abscissa denotes the training-validation set ratio, the ordinate represents the scores of two metrics, yellow indicates the AUROC score, and blue indicates the TPR@5% FPR.", "source": "marker_v2", "marker_block_id": "/page/15/FigureGroup/236"}
144
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0143", "section": "C.2. Sub-module Ablation Experiment", "page_start": 16, "page_end": 16, "type": "Text", "text": "the optimal AUC and TPR@5% FPR scores across both datasets. Though the performance differences between individual ablation variants are mild, ATT-related sub-modules show slightly stronger discriminative power than FFN-related ones, with K-Proj performing prominently among ATT sub-modules; in contrast, among FFN sub-modules, Down-Proj and Gate-Proj contribute more to detection performance than Up-Proj, as retaining the former two yields slightly higher AUC and TPR scores. The performance gap between single-sub-module variants and the full model further confirms the necessity of multi-sub-module feature fusion, which enables the capture of comprehensive gradient patterns across the Transformer architecture. It can be seen from this that our method also achieves excellent performance with smaller LoRA adaptation parameters and lower computational complexity.", "source": "marker_v2", "marker_block_id": "/page/15/Text/3"}
145
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0144", "section": "C.3. Low-Data Scenarios", "page_start": 16, "page_end": 16, "type": "Text", "text": "To evaluate the data efficiency of our method in scenarios with limited training data, we adjust the training-testing split ratio of the WikiMIA dataset to five settings: 1:9, 2:8, 3:7 and 4:6, while keeping the total sample size fixed. Figure Y shows AUC and TPR@5% FPR scores across different split ratios.", "source": "marker_v2", "marker_block_id": "/page/15/Text/5"}
146
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0145", "section": "C.3. Low-Data Scenarios", "page_start": 16, "page_end": 16, "type": "Text", "text": "Figure 9 show our method's performance improves steadily with increasing training set size. Notably, it achieves an AUC of 0.9 even with only 10% of data, accompanied by a TPR@5% FPR of 0.48, confirming that it can also achieve excellent performance with a small amount of data.", "source": "marker_v2", "marker_block_id": "/page/15/Text/6"}
icml26/9346049b-7104-494c-9378-955a2d7393ed/dataset_meta.json ADDED
@@ -0,0 +1,60 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "paper_id": "9346049b-7104-494c-9378-955a2d7393ed",
3
+ "pipeline": "Paper2Markdown-V3",
4
+ "ok": true,
5
+ "page_count": 16,
6
+ "chunk_count": 146,
7
+ "main_body_chunk_count": 95,
8
+ "appendix_chunk_count": 47,
9
+ "reference_chunk_count": 4,
10
+ "model_text_chars": 39233,
11
+ "raw_markdown_chars": 68446,
12
+ "sanitized_chars": 62081,
13
+ "page_provenance": {
14
+ "min_page": 1,
15
+ "max_page": 16,
16
+ "invalid_count": 0
17
+ },
18
+ "marker_block_type_counts": {
19
+ "Caption": 1,
20
+ "Equation": 23,
21
+ "FigureGroup": 9,
22
+ "Footnote": 2,
23
+ "ListGroup": 8,
24
+ "PageFooter": 16,
25
+ "PageHeader": 18,
26
+ "SectionHeader": 52,
27
+ "Table": 3,
28
+ "TableGroup": 6,
29
+ "Text": 214
30
+ },
31
+ "asset_count_raw": 9,
32
+ "asset_count_model_kept": 9,
33
+ "asset_count_rejected": 0,
34
+ "asset_reject_reasons": {
35
+ "kept": 9
36
+ },
37
+ "artifact_leak_audit": {
38
+ "ok": true,
39
+ "hits": {
40
+ "Anonymous Authors": [],
41
+ "ACKNOWLEDGMENT": [],
42
+ "OpenReview": [],
43
+ "\"accept_label\"": [],
44
+ "\"decision\"": [],
45
+ "\"decision_tier\"": [],
46
+ "\"source_status\"": [],
47
+ "Meta-review": [],
48
+ "Official Review": [],
49
+ "official_reviews": [],
50
+ "meta_reviews": [],
51
+ "suggested_verdict_score": []
52
+ },
53
+ "artifact_count": 2
54
+ },
55
+ "default_model_input": "model_text_v3.txt",
56
+ "appendix_input": "appendix_text_v3.txt",
57
+ "reference_input": "reference_text_v3.txt",
58
+ "source": "koala_icml26_due_queue",
59
+ "run_name": "icml26_20260429_1952_duequeue"
60
+ }
icml26/9346049b-7104-494c-9378-955a2d7393ed/main_body_chunks.jsonl ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0000", "section": "Abstract", "page_start": 1, "page_end": 1, "type": "Text", "text": "Pre-training data detection for LLMs is essential for addressing copyright concerns and mitigating benchmark contamination. Existing methods mainly focus on the likelihood-based statistical features or heuristic signals before and after finetuning, but the former are susceptible to word frequency bias in corpora, and the latter strongly depend on the similarity of fine-tuning data. From an optimization perspective, we observe that during training, samples transition from unfamiliar to familiar in a manner reflected by systematic differences in gradient behavior. Familiar samples exhibit smaller update magnitudes, distinct update locations in model components, and more sharply activated neurons. Based on this insight, we propose GDS, a method that identifies pre-training data by probing Gradient Deviation Scores of target samples. Specifically, we first represent each sample using gradient profiles that capture the magnitude, location, and concentration of parameter updates across FFN and Attention modules, revealing consistent distinctions between member and non-member data. These features are then fed into a lightweight classifier to perform binary membership inference. Experiments on five public datasets show that GDS achieves state-ofthe-art performance with significantly improved cross-dataset transferability over strong baselines. Further interpretability analyse show gradient feature distribution differences, enabling practical and scalable pre-training data detection.", "source": "marker_v2", "marker_block_id": "/page/0/Text/4"}
2
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0001", "section": "1. Introduction", "page_start": 1, "page_end": 1, "type": "Text", "text": "Large language models (LLMs) performance scales with the size and quality of pre-training data (Kaplan et al., 2020) .", "source": "marker_v2", "marker_block_id": "/page/0/Text/6"}
3
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0002", "section": "1. Introduction", "page_start": 1, "page_end": 1, "type": "FigureGroup", "text": "Figure 1. Heat maps of gradient matrices from the unfamiliar stage (epochs 0–1, panels a, c) to the familiar stage (epochs 6–7, panels b, d). Panels a and b display the update magnitude of the FFN module in layer 30, while panels c and d illustrate the update positions, with white for sparse and blue for core updates.", "source": "marker_v2", "marker_block_id": "/page/0/FigureGroup/453"}
4
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0003", "section": "1. Introduction", "page_start": 1, "page_end": 1, "type": "Text", "text": "As pre-training corpora expand to trillions of tokens and become increasingly proprietary and non-transparent, they raise significant concerns, such as unauthorized copyright, biased or harmful content, and contamination of evaluation benchmarks (Balloccu et al., 2024; Grynbaum & Mac, 2023) . These challenges motivate a specialized task of membership inference attacks, named pre-training data detection: determining whether a given text sample was included in a model's pre-training corpus (Carlini et al., 2021) .", "source": "marker_v2", "marker_block_id": "/page/0/Text/11"}
5
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0004", "section": "1. Introduction", "page_start": 1, "page_end": 1, "type": "Text", "text": "Recent studies (Carlini et al., 2021; Li; Shi et al., 2024; Zhang et al., 2025) primarily use likelihood-based statistical features to detect pre-training samples. For example, the Min-K method (Shi et al., 2024; Zhang et al., 2025) examines the k% of tokens with the lowest predicted probabilities, assuming non-member texts contain more low-likelihood tokens. However, these approaches are susceptible to word frequency bias in pre-training corpora, specifically for rare words or short texts scenarios. To improve detection accuracy, other researchers (Zhang et al.; Choi et al.) propose to analyze heuristic signals before and after fine-tuning, leveraging the fact that fine-tuning impacts member and non-member samples differently. For example, KDS (Choi et al.) shows that non-member datasets exhibit much larger embedding changes, while FSD (Zhang et al.) finds that their loss reductions are also significantly greater. Neverthe-", "source": "marker_v2", "marker_block_id": "/page/0/Text/12"}
6
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0005", "section": "1. Introduction", "page_start": 2, "page_end": 2, "type": "Text", "text": "less, these methods rely on the strong assumption that finetuning data closely match the target samples' distribution, requiring additional training on similar non-member data and thereby limiting cross-dataset generalization. Therefore, how to achieve highly generalizable pre-training data detection remains an open problem.", "source": "marker_v2", "marker_block_id": "/page/1/Text/1"}
7
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0006", "section": "1. Introduction", "page_start": 2, "page_end": 2, "type": "Text", "text": "Pretraining can be viewed as a gradual shift from unfamiliarity to familiarity with data. Optimization theory (Ruder, 2016; Frankle et al.; Wang et al., 2024) suggests that training drives parameters toward data-specific structure, reflected in consistent update patterns across magnitude, location, and concentration. As shown in Figure 1 and Section 3, we observe the following trends:", "source": "marker_v2", "marker_block_id": "/page/1/Text/2"}
8
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0007", "section": "1. Introduction", "page_start": 2, "page_end": 2, "type": "ListGroup", "text": "1. Decay of update magnitude. Figure 1( a,b) shows that parameter updates are strongly attenuated as data grows familiar, consistent with loss-convergence theory (Bottou, 2010; Ruder, 2016) . 2. Gradually stabilizing of update locations. Figure 1( c,d) shows that parameter updates evolve from broad activation regions to a stable core set of neurons, consistent with the sparse activation behavior of LLMs (Liu et al., 2024) . 3. Increasing update sparsity. Figure 1( a,b) and Figures 2( b,c) show that during training, an increasing fraction of updates concentrates in the top 10% of neurons, consistent with Hessian spectrum reshaping during loss convergence (Gur-Ari et al., 2018) . Familiar data yields sparse, concentrated updates, whereas unfamiliar data leads to more distributed updates.", "source": "marker_v2", "marker_block_id": "/page/1/ListGroup/529"}
9
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0008", "section": "1. Introduction", "page_start": 2, "page_end": 2, "type": "Text", "text": "These observations reflect the evolutionary dynamics of neural network training, highlighting phase differences in parameter updates induced by identical samples. Together, they offer both theoretical motivation and empirical support for our detection method based on gradient deviation scores.", "source": "marker_v2", "marker_block_id": "/page/1/Text/6"}
10
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0009", "section": "1. Introduction", "page_start": 2, "page_end": 2, "type": "Text", "text": "Based on this insight, we propose GDS, a novel pretraining data detection method that infers pre-training data by probing Gradient Deviation Scores of target samples without fine-tuning. GDS exploits gradient differences between member and non-member samples to train a lightweight classifier with strong generalization. Specifically, within the LoRA framework, we collect per-sample gradients across layers during backpropagation, encoding them as eightdimensional features that capture the magnitude, location, and concentration of updates in attention and FFN modules. Compared to non-members, member samples show smaller matrix-level and row-wise update magnitudes, lower FFN but higher attention eccentricity, greater variability in matrixlevel and row-wise updates, a higher share of top gradients, and fewer sparse neurons. Then, we extract discriminative", "source": "marker_v2", "marker_block_id": "/page/1/Text/7"}
11
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0010", "section": "1. Introduction", "page_start": 2, "page_end": 2, "type": "Text", "text": "statistics from the signals to build fixed-dimensional feature vectors, which are fed to a lightweight MLP for binary membership classification.", "source": "marker_v2", "marker_block_id": "/page/1/Text/8"}
12
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0011", "section": "1. Introduction", "page_start": 2, "page_end": 2, "type": "Text", "text": "Extensive experiments on five benchmark datasets show that GDS is effective and generalizable, improving AUC by 6.5% and achieving a 67.3% TPR@5%FPR, substantially outperforming strong baselines. Further interpretability analyses reveal distributional differences in gradient features between member and non-member samples, offering intuitive evidence of training data imprints on the model and validating our methodology. 1 Our contributions are as follows:", "source": "marker_v2", "marker_block_id": "/page/1/Text/9"}
13
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0012", "section": "1. Introduction", "page_start": 2, "page_end": 2, "type": "ListGroup", "text": "From a training optimization perspective, we analyze how LLMs evolve from unfamiliarity to familiarity with data and propose using stage-wise parameter update dynamics to identify pretraining data, offering a novel direction to solve this task. We propose gradient deviation features capturing magnitude, location, and concentration, and introduce a gradient deviation score–based method for pretraining data detection without fine-tuning. Extensive experiments across diverse datasets and backbone models validate the effectiveness and generalization of GDS, while interpretability analyses reveal clear gradient differences between member and nonmember samples, supporting its validity.", "source": "marker_v2", "marker_block_id": "/page/1/ListGroup/530"}
14
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0013", "section": "2. Related Work", "page_start": 2, "page_end": 2, "type": "Text", "text": "Likelihood-Based Scoring Methods. Early works distinguish member and non-member samples by capturing static statistical metrics in token-level likelihood distributions. Global-likelihood–based methods, such as PPL (Li) , Zlib (Carlini et al., 2021) , and Lowercase (Carlini et al., 2021) , perform discrimination by exploiting global probability features, compression entropy, and case-conversion ratios. However, global likelihood is highly sensitive to wordfrequency effects, leading to unstable performance. Mink% (Shi et al., 2024) and Min-k%++ (Zhang et al., 2025) mitigate global dependence by focusing on low-probability outlier tokens or target–candidate probability comparisons, with k and text length jointly determining the analyzed token subset. However, the fixed choice of k lacks adaptivity, causing severe score fluctuations in short texts with lowfrequency words. Although PC-PDD (Zhang et al., 2024) approximates the word-frequency distribution of pretraining corpora using public datasets, these references lack fidelity due to limited domain coverage.", "source": "marker_v2", "marker_block_id": "/page/1/Text/14"}
15
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0014", "section": "2. Related Work", "page_start": 2, "page_end": 2, "type": "Text", "text": "Fine-tuning Enhanced Methods. To address the instability of static statistical indicators, recent studies (Zhang et al.;", "source": "marker_v2", "marker_block_id": "/page/1/Text/15"}
16
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0015", "section": "2. Related Work", "page_start": 2, "page_end": 2, "type": "Footnote", "text": "1 Code in", "source": "marker_v2", "marker_block_id": "/page/1/Footnote/16"}
17
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0016", "section": "2. Related Work", "page_start": 3, "page_end": 3, "type": "FigureGroup", "text": "Figure 2. Dynamic curves of four parameter update characteristics defined in the Motivation section. i → j denotes the epoch interval. Ordinate shows values of predefined characteristics, with orange and blue representing Attention and FFN modules.", "source": "marker_v2", "marker_block_id": "/page/2/FigureGroup/764"}
18
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0017", "section": "2. Related Work", "page_start": 3, "page_end": 3, "type": "Text", "text": "Choi et al.) adopt lightweight fine-tuning to actively amplify asymmetric differences between member and non-member samples. KDS (Choi et al.) evaluates dataset contamination by comparing kernel similarity matrices of embeddings before and after fine-tuning, assuming non-member datasets undergo larger embedding changes than member datasets. However, it only estimates dataset-level contamination and cannot reliably detect contamination at the sample-level. Another representative method FSD (Zhang et al.) detects membership by comparing loss before and after fine-tuning, assuming non-member samples experience a larger loss reduction than member samples. Nevertheless, these methods assume that fine-tuning data closely matches the target distribution, requiring additional tuning on similar non-member data, which limits cross-dataset generalization.", "source": "marker_v2", "marker_block_id": "/page/2/Text/3"}
19
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0018", "section": "3. Motivation", "page_start": 3, "page_end": 3, "type": "Text", "text": "Inspired by optimization theory (Ruder, 2016; Bottou, 2010) , we examine how LLMs transition from unfamiliarity to familiarity with data, and how this cognitive shift relates to the dynamic evolution of model parameters during training. To evaluate it, we fine-tune LLaMA-7B with LoRA on the unseen split of BookMIA dataset and track LoRA parameter updates over 7 epochs. Stage-wise analysis in Figure 2 reveals the dynamic evolution of gradient features.", "source": "marker_v2", "marker_block_id": "/page/2/Text/5"}
20
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0019", "section": "3.1. Decay of Update Magnitude", "page_start": 3, "page_end": 3, "type": "Text", "text": "Model training aims to minimize the loss function L(θ), with update magnitude determined by the gradient norm ∥∇L(θ)∥. According to optimization convergence theory (Ruder, 2016) , as the parameters θ t approach the optimum θ ∗ , the gradient norm of the loss function vanishes, i.e.,limθ→ θ ∗ ∥∇L(θt)∥ = 0. This causes the parameter update magnitude to decrease synchronously. Therefore, we use ∆θ t as the core indicator of the average update magnitude across all trainable parameters at iteration t:", "source": "marker_v2", "marker_block_id": "/page/2/Text/7"}
21
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0020", "section": "3.1. Decay of Update Magnitude", "page_start": 3, "page_end": 3, "type": "Equation", "text": "\\Delta \\theta_{t} = \\frac{1}{N} \\sum_{i=1}^{N} |\\theta_{t,i} - \\theta_{t-1,i}|, \\qquad (1)", "source": "marker_v2", "marker_block_id": "/page/2/Equation/8"}
22
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0021", "section": "3.1. Decay of Update Magnitude", "page_start": 3, "page_end": 3, "type": "Text", "text": "where N denotes the total number of trainable parameters.", "source": "marker_v2", "marker_block_id": "/page/2/Text/9"}
23
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0022", "section": "3.1. Decay of Update Magnitude", "page_start": 3, "page_end": 3, "type": "Text", "text": "As training progresses, both the loss L(θt) and gradient norm ∥∇L(θt)∥ decrease, reducing the update magnitude ∆θ t and slowing its decay as parameters converge to the optimum θ ∗ . Eventually, L(θt) stabilizes near its minimum, parameter updates ∆θ t become negligible. As shown in Figure 2a, the mean update magnitude decreases monotonically with training, with the largest changes occurring in the first two epochs, consistent with loss convergence.", "source": "marker_v2", "marker_block_id": "/page/2/Text/10"}
24
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0023", "section": "3.2. Gradually Stabilizing of Update Locations", "page_start": 3, "page_end": 3, "type": "Text", "text": "Existing studies (Liu et al., 2024; Tang et al., 2025) have shown that neural activations occur at different locations when processing member samples and non-member samples. Inspired by this, we adopt the parameter update eccentricity as the core indicator, which quantifies the deviation of the top-10% parameter update positions from the global parameter centroid. We first define the global centroid as:", "source": "marker_v2", "marker_block_id": "/page/2/Text/12"}
25
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0024", "section": "3.2. Gradually Stabilizing of Update Locations", "page_start": 3, "page_end": 3, "type": "Equation", "text": "\\theta_c = \\frac{1}{N} \\sum_{i=1}^{N} \\theta_i, \\tag{2}", "source": "marker_v2", "marker_block_id": "/page/2/Equation/13"}
26
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0025", "section": "3.2. Gradually Stabilizing of Update Locations", "page_start": 3, "page_end": 3, "type": "Text", "text": "where θ i is the coordinate of the i-th parameter.", "source": "marker_v2", "marker_block_id": "/page/2/Text/14"}
27
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0026", "section": "3.2. Gradually Stabilizing of Update Locations", "page_start": 3, "page_end": 3, "type": "Text", "text": "The update eccentricity at iteration t is then defined as:", "source": "marker_v2", "marker_block_id": "/page/2/Text/15"}
28
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0027", "section": "3.2. Gradually Stabilizing of Update Locations", "page_start": 3, "page_end": 3, "type": "Equation", "text": "E_{t} = \\frac{1}{\\operatorname{card}(U_{10,t})} \\sum_{\\theta_{i} \\in U_{10,t}} \\|\\theta_{i} - \\theta_{c}\\|_{2}, (3)", "source": "marker_v2", "marker_block_id": "/page/2/Equation/16"}
29
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0028", "section": "3.2. Gradually Stabilizing of Update Locations", "page_start": 3, "page_end": 3, "type": "Text", "text": "where card(·) denotes the number of elements in a set, U10,t = {∥∆θt,i∥ 1 ∈ Top10%(∥∆θt∥1)}, ∥ · ∥ 1 denotes the ℓ 1 norm and ∥ · ∥ 2 denotes the ℓ 2 norm.", "source": "marker_v2", "marker_block_id": "/page/2/Text/17"}
30
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0029", "section": "3.2. Gradually Stabilizing of Update Locations", "page_start": 3, "page_end": 3, "type": "Text", "text": "In the initial training stage, activation patterns are unstable, leading to scattered U10,t and thus random large values of Et. As training proceeds, the model identifies core parameters related to data features: θ t stabilizes to the optimal subset θ ∗ , and U10,t converges to the core parameter region, resulting in E t gradually stabilizing at a low level. Figure 2d shows that the eccentricity of parameter update evolves to a relatively stable value, consistent with the evolution of the", "source": "marker_v2", "marker_block_id": "/page/2/Text/18"}
31
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0030", "section": "3.2. Gradually Stabilizing of Update Locations", "page_start": 4, "page_end": 4, "type": "FigureGroup", "text": "Figure 3. Overview of Gradient Deviation Scores method.", "source": "marker_v2", "marker_block_id": "/page/3/FigureGroup/643"}
32
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0031", "section": "3.2. Gradually Stabilizing of Update Locations", "page_start": 4, "page_end": 4, "type": "Text", "text": "neuron activation pattern, suggesting that training identifies the core parameters and stabilizes updates around them.", "source": "marker_v2", "marker_block_id": "/page/3/Text/4"}
33
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0032", "section": "3.3. Increasing Update Sparsity", "page_start": 4, "page_end": 4, "type": "Text", "text": "The Hessian spectrum (Gur-Ari et al., 2018; Frankle et al.) is a core metric characterizing the loss function's curvature, directly determining the direction and efficiency of parameter updates. For the loss function L(θ), its Hessian matrix H(θ) = ∇2L(θ) describes the local curvature of the loss landscape, with eigenvalue decomposition:", "source": "marker_v2", "marker_block_id": "/page/3/Text/6"}
34
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0033", "section": "3.3. Increasing Update Sparsity", "page_start": 4, "page_end": 4, "type": "Equation", "text": "\\mathcal{H}(\\theta) = U\\Lambda U^T,\\tag{4}", "source": "marker_v2", "marker_block_id": "/page/3/Equation/7"}
35
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0034", "section": "3.3. Increasing Update Sparsity", "page_start": 4, "page_end": 4, "type": "Text", "text": "where U is the orthogonal eigenvector matrix (principal curvature directions), Λ = diag(λ1, . . . , λd) is the diagonal eigenvalue matrix (curvature magnitudes). During training, the Hessian spectrum changes from an almost uniform λ i ≈ c in the early stage to a late-stage structure with a few large eigenvalues and most near zero.", "source": "marker_v2", "marker_block_id": "/page/3/Text/8"}
36
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0035", "section": "3.3. Increasing Update Sparsity", "page_start": 4, "page_end": 4, "type": "Text", "text": "This reshaping leads to concentrated updates, focusing on directions with large eigenvalues while leaving most others nearly unchanged. Consequently, update energy is confined to a small subset of parameters, motivating the selection of two joint indicators. S t measures the fraction of parameters with negligible updates (absolute value < 10 − 6 ) at iteration t, while T10,t measures the fraction of total update magnitude contributed by the top 10% largest updates.", "source": "marker_v2", "marker_block_id": "/page/3/Text/9"}
37
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0036", "section": "3.3. Increasing Update Sparsity", "page_start": 4, "page_end": 4, "type": "Equation", "text": "S_t = \\frac{\\operatorname{card}\\left(i \\mid |\\Delta \\theta_{t,i}| < 10^{-6}\\right)}{N},\\tag{5}", "source": "marker_v2", "marker_block_id": "/page/3/Equation/10"}
38
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0037", "section": "3.3. Increasing Update Sparsity", "page_start": 4, "page_end": 4, "type": "Equation", "text": "T_{10,t} = \\frac{\\sum_{|\\Delta\\theta_{t,i}| \\in U_{10,t}} |\\Delta\\theta_{t,i}|}{||\\Delta\\theta_t||_1}. (6)", "source": "marker_v2", "marker_block_id": "/page/3/Equation/11"}
39
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0038", "section": "3.3. Increasing Update Sparsity", "page_start": 4, "page_end": 4, "type": "Text", "text": "As training progresses, parameter updates increasingly concentrate along core directions, with most parameters receiving negligible changes. Consequently, S t gradually", "source": "marker_v2", "marker_block_id": "/page/3/Text/12"}
40
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0039", "section": "3.3. Increasing Update Sparsity", "page_start": 4, "page_end": 4, "type": "Text", "text": "increases, while T10,t remains relatively large and stable(0.26–0.27), indicating that update energy is consistently dominated by a small subset of parameters. Figures 2b and 2c confirm this growing sparsity and stable Top 10% contribution, reflecting update energy aggregation driven by Hessian spectrum reshaping. Further details on the variation trends of the three metrics are provided in the appendix B.", "source": "marker_v2", "marker_block_id": "/page/3/Text/13"}
41
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0040", "section": "4.1. Task Definition", "page_start": 4, "page_end": 4, "type": "Text", "text": "Given a target text x and a target LLM f θ pre-trained on a corpus D, the goal of pre-training data detection task is to construct a detector h(x, fθ)to determine whether x belongs to D. This task can be formalized as a binary classification problem: h(x, fθ) → {0, 1} where \"1\" indicates x ∈ D as member and \"0\" indicates x /∈ D as non-member.", "source": "marker_v2", "marker_block_id": "/page/3/Text/16"}
42
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0041", "section": "4.1. Task Definition", "page_start": 4, "page_end": 4, "type": "Text", "text": "As illustrated in Figure 3, GDS comprises three stages: gradient matrix acquisition, feature vector extraction and light Multilayer Perceptron(MLP) training. For each training sample, we perform inference and backpropagation to obtain LoRA gradients across l layers and m sub-modules, yielding l × m gradient matrices G. From these matrices, we extract eight-dimensional features to form a gradient feature vector V l×m×8 , which is used to train a lightweight MLP classifier for binary membership prediction. During inference, the same feature extraction process is applied to a target sample x ∗ , and the resulting feature vector is fed into the trained MLP to produce the final classification result.", "source": "marker_v2", "marker_block_id": "/page/3/Text/17"}
43
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0042", "section": "4.2. Gradient Matrix Acquisition", "page_start": 4, "page_end": 4, "type": "Text", "text": "Given the target model f θ and training sample x, we first initialize f θ with LoRA, yielding l × m LoRA matrices L. We then feed a single sample x into f θ for forward", "source": "marker_v2", "marker_block_id": "/page/3/Text/19"}
44
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0043", "section": "4.2. Gradient Matrix Acquisition", "page_start": 5, "page_end": 5, "type": "Text", "text": "inference and backpropagation, obtaining LoRA gradient matrices \\mathbb{G} = \\nabla_{\\mathbb{L}} \\mathcal{L}_{\\text{CLM}}(f_{\\theta}(x)) , where \\mathcal{L}_{\\text{CLM}} denotes the causal language modeling loss of the pre-trained LLM. Since the LoRA_B matrices are fully initialized to zero, a single round of gradient propagation leads to zero gradients for the LoRA_A matrices. Thus, we only collect the gradient matrices of LoRA_B for subsequent processing.", "source": "marker_v2", "marker_block_id": "/page/4/Text/2"}
45
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0044", "section": "4.3. Feature Vector Extraction", "page_start": 5, "page_end": 5, "type": "Text", "text": "Given the gradient matrices \\mathbb{G} , we extract features based on the three parameter update trends introduced in Section 3.", "source": "marker_v2", "marker_block_id": "/page/4/Text/4"}
46
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0045", "section": "4.3.1. MAGNITUDE", "page_start": 5, "page_end": 5, "type": "Text", "text": "We propose two magnitude indicators to measure the overall scale of gradient updates in the LoRA parameter space.", "source": "marker_v2", "marker_block_id": "/page/4/Text/6"}
47
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0046", "section": "4.3.1. MAGNITUDE", "page_start": 5, "page_end": 5, "type": "Text", "text": "(1) Absolute Mean : The mean of the absolute values of all elements in the gradient matrix, which characterizes the overall parameter update strength:", "source": "marker_v2", "marker_block_id": "/page/4/Text/7"}
48
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0047", "section": "4.3.1. MAGNITUDE", "page_start": 5, "page_end": 5, "type": "Equation", "text": "Abs\\_Mean = \\frac{1}{r \\cdot h} \\sum_{i=1}^{r} \\sum_{j=1}^{h} |\\mathbb{G}_{i,j}|, (7)", "source": "marker_v2", "marker_block_id": "/page/4/Equation/8"}
49
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0048", "section": "4.3.1. MAGNITUDE", "page_start": 5, "page_end": 5, "type": "Text", "text": "where \\mathbb{G}_{i,j} denotes the element in the i -th row and j -th column of the gradient matrix with r rows and h columns.", "source": "marker_v2", "marker_block_id": "/page/4/Text/9"}
50
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0049", "section": "4.3.1. MAGNITUDE", "page_start": 5, "page_end": 5, "type": "Text", "text": "(2) Max Row Mean: The mean of each row in the LoRA matrix and take the maximum value, which characterizes the most sample-responsive local optimal response dimension with the largest parameter update magnitude:", "source": "marker_v2", "marker_block_id": "/page/4/Text/10"}
51
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0050", "section": "4.3.1. MAGNITUDE", "page_start": 5, "page_end": 5, "type": "Equation", "text": "Row\\_Mean\\_Max = \\max_{1 \\le i \\le r} \\left( \\frac{1}{h} \\sum_{j=1}^{h} |\\mathbb{G}_{i,j}| \\right). (8)", "source": "marker_v2", "marker_block_id": "/page/4/Equation/11"}
52
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0051", "section": "4.3.2. Position", "page_start": 5, "page_end": 5, "type": "Text", "text": "Screen the top 10% of gradient elements by absolute value from \\mathbb{G} and calculate their offset from this matrix center, capturing offset characteristics of core gradient positions for (1) Row Eccentricity and (2) Column Eccentricity, respectively:", "source": "marker_v2", "marker_block_id": "/page/4/Text/13"}
53
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0052", "section": "4.3.2. Position", "page_start": 5, "page_end": 5, "type": "Equation", "text": "Row\\_Ecc = \\frac{1}{\\operatorname{card}(S)} \\sum_{(i,j) \\in S} \\left| \\frac{2i - (r+1)}{r-1} \\right|, \\quad (9)", "source": "marker_v2", "marker_block_id": "/page/4/Equation/14"}
54
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0053", "section": "4.3.2. Position", "page_start": 5, "page_end": 5, "type": "Equation", "text": "Col\\_Ecc = \\frac{1}{\\operatorname{card}(S)} \\sum_{(i,j) \\in S} \\left| \\frac{2j - (h+1)}{h-1} \\right|, \\quad (10)", "source": "marker_v2", "marker_block_id": "/page/4/Equation/15"}
55
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0054", "section": "4.3.2. Position", "page_start": 5, "page_end": 5, "type": "Text", "text": "where S = \\{(i,j) \\mid |\\mathbb{G}_{i,j}| \\in \\text{Top10\\%}(|\\mathbb{G}|)\\} denotes the set of indices for the top 10% of elements in the gradient matrix \\mathbb{G} ranked by absolute gradient value. Top gradients near the center correspond to an eccentricity of 0, while those near the edge correspond to a score of 1.", "source": "marker_v2", "marker_block_id": "/page/4/Text/16"}
56
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0055", "section": "4.3.3. CONCENTRATION", "page_start": 5, "page_end": 5, "type": "Text", "text": "We propose four indicators to measure the concentration of gradient distributions.", "source": "marker_v2", "marker_block_id": "/page/4/Text/18"}
57
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0056", "section": "4.3.3. CONCENTRATION", "page_start": 5, "page_end": 5, "type": "Text", "text": "(1) Top-10% Ratio : The ratio of the sum of the top 10% largest gradient magnitudes to the total update magnitude of the gradient matrix, which quantifies the contribution ratio of core gradients:", "source": "marker_v2", "marker_block_id": "/page/4/Text/19"}
58
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0057", "section": "4.3.3. CONCENTRATION", "page_start": 5, "page_end": 5, "type": "Equation", "text": "10p\\_Ratio = \\frac{\\sum_{(i,j)\\in S} |\\mathbb{G}_{i,j}|}{\\|\\mathbb{G}\\|_1}, \\tag{11}", "source": "marker_v2", "marker_block_id": "/page/4/Equation/20"}
59
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0058", "section": "4.3.3. CONCENTRATION", "page_start": 5, "page_end": 5, "type": "Text", "text": "(2) Sparsity : The proportion of gradient elements with absolute values less than 10^{-6} , which quantifies the sparsity degree of gradient distributions:", "source": "marker_v2", "marker_block_id": "/page/4/Text/21"}
60
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0059", "section": "4.3.3. CONCENTRATION", "page_start": 5, "page_end": 5, "type": "Equation", "text": "Sparsity = \\frac{\\operatorname{card}\\left(\\left\\{\\left(i,j\\right) \\mid |\\mathbb{G}_{i,j}| < 10^{-6}\\right\\}\\right)}{r \\cdot h}. (12)", "source": "marker_v2", "marker_block_id": "/page/4/Equation/22"}
61
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0060", "section": "4.3.3. CONCENTRATION", "page_start": 5, "page_end": 5, "type": "Text", "text": "(3) Standard Deviation : The standard deviation of the elements in the gradient matrix, which quantifies the dispersion degree of parameter updates:", "source": "marker_v2", "marker_block_id": "/page/4/Text/23"}
62
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0061", "section": "4.3.3. CONCENTRATION", "page_start": 5, "page_end": 5, "type": "Equation", "text": "Std = \\sqrt{\\frac{1}{r \\cdot h} \\sum_{i=1}^{r} \\sum_{j=1}^{h} (|\\mathbb{G}_{i,j}| - \\text{Abs\\_mean})^2}. (13)", "source": "marker_v2", "marker_block_id": "/page/4/Equation/24"}
63
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0062", "section": "4.3.3. CONCENTRATION", "page_start": 5, "page_end": 5, "type": "Text", "text": "(4) Row Mean Standard Deviation: The mean of each row in the LoRA matrix and take the standard deviation, which quantifies the consistency of update strength across all rows:", "source": "marker_v2", "marker_block_id": "/page/4/Text/25"}
64
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0063", "section": "4.3.3. CONCENTRATION", "page_start": 5, "page_end": 5, "type": "Equation", "text": "Row\\_Mean\\_Std = \\sqrt{\\frac{1}{r} \\sum_{i=1}^{r} \\left(\\bar{\\mathbb{G}}_i - \\mu_{\\bar{\\mathbb{G}}}\\right)^2}, \\quad (14)", "source": "marker_v2", "marker_block_id": "/page/4/Equation/26"}
65
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0064", "section": "4.3.3. CONCENTRATION", "page_start": 5, "page_end": 5, "type": "Text", "text": "where \\bar{\\mathbb{G}}_i = \\frac{1}{h} \\sum_{j=1}^h |\\mathbb{G}_{i,j}| denotes the i -th row's absolute mean, \\mu_{\\bar{\\mathbb{G}}} = \\frac{1}{r} \\sum_{i=1}^r \\bar{\\mathbb{G}}_i denotes t the mean of row means.", "source": "marker_v2", "marker_block_id": "/page/4/Text/27"}
66
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0065", "section": "4.3.3. CONCENTRATION", "page_start": 5, "page_end": 5, "type": "Text", "text": "We compute the aforementioned eight feature values from all gradient matrices to derive a feature vector \\mathbb{V}^{l\\times m\\times 8} \\triangleq [Abs_Mean, Row_Mean_Max, 10p_Ratio, Sparsity, Std, Row_Mean_Std, Row_Ecc, Col_Ecc] per sample, which is then used for subsequent MLP training and inference.", "source": "marker_v2", "marker_block_id": "/page/4/Text/28"}
67
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0066", "section": "4.4. Light MLP Training", "page_start": 5, "page_end": 5, "type": "Text", "text": "Given the feature vectors \\mathbb{V}_i from all training samples vectors \\mathbb{V}_s , we feed them into a lightweight MLP for training. The target output corresponds to the binary label \\{0,1\\} for each sample, where 0 denotes non-member and 1 denotes member. The training loss is defined as follows:", "source": "marker_v2", "marker_block_id": "/page/4/Text/30"}
68
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0067", "section": "4.4. Light MLP Training", "page_start": 5, "page_end": 5, "type": "Equation", "text": "\\mathcal{L} = -\\frac{1}{N} \\sum_{i=1}^{N} \\left[ y_i \\log \\hat{y}_i + (1 - y_i) \\log(1 - \\hat{y}_i) \\right], \\quad (15)", "source": "marker_v2", "marker_block_id": "/page/4/Equation/31"}
69
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0068", "section": "4.4. Light MLP Training", "page_start": 5, "page_end": 5, "type": "Text", "text": "where N denotes the number of training samples, y_i \\in \\{0,1\\} is the ground-truth label of the i-th sample, and \\hat{y}_i is the predicted probability output by the MLP.", "source": "marker_v2", "marker_block_id": "/page/4/Text/32"}
70
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0069", "section": "4.4. Light MLP Training", "page_start": 6, "page_end": 6, "type": "TableGroup", "text": "Table 1. Comparison(AUROC/TPR@5%FPR) on 4 Datasets across 5 target models. Target models are denoted as 2.7B/6B/6.7B/6.9B/7B, corresponding to Neo-2.7B/GPT-J-6b/OPT-6.7b/Pythia-6.9b/LLaMA-7B respectively. The best result is bold. WikiMIA ArXivTection Method 2.7B 6B 6.7B 6.9B 7B 2.7B 6B 6.7B 6.9B 7B PPL 0.61/0.13 0.64/0.13 0.60/0.12 0.63/0.13 0.69/0.14 0.62/0.13 0.64/0.13 0.60/0.12 0.63/0.13 0.70/0.14 ZLib 0.58/0.10 0.60/0.11 0.58/0.10 0.59/0.10 0.71/0.22 0.58/0.10 0.60/0.11 0.58/0.09 0.59/0.11 0.71/0.22 Min-k 0.65/0.17 0.67/0.19 0.63/0.15 0.67/0.19 0.73/0.18 0.65/0.17 0.68/0.19 0.63/0.15 0.67/0.19 0.72/0.18 Min-k++ 0.67/0.15 0.69/0.19 0.65/0.11 0.70/0.18 0.82/0.22 0.67/0.15 0.69/0.19 0.65/0.10 0.70/0.17 0.83/0.22 FSD 0.92/0.77 0.95/0.78 0.90/0.63 0.90/0.66 0.92/0.41 0.91/0.65 0.96/0.79 0.89/0.63 0.95/0.66 0.94/0.81 Ours 0.90/0.60 0.93/0.66 0.94/0.67 0.92/0.63 0.96/0.84 0.94/0.73 0.97/0.86 0.94/0.75 0.95/0.83 0.97/0.85 BookTection BookMIA Method 2.7B 6B 6.7B 6.9B 7B 2.7B 6B 6.7B 6.9B 7B PPL 0.69/0.15 0.74/0.25 0.64/0.13 0.73/0.25 0.71/0.25 0.29/0.02 0.22/0.13 0.23/0.01 0.59/0.19 0.56/0.21 ZLib 0.56/0.16 0.58/0.20 0.55/0.14 0.58/0.19 0.57/0.19 0.20/0.02 0.38/0.13 0.15/0.00 0.49/0.17 0.48/0.18 Min-k 0.71/0.18 0.75/0.27 0.67/0.15 0.74/0.26 0.71/0.25 0.45/0.05 0.60/0.20 0.40/0.03 0.62/0.20 0.60/0.21 Min-k++ 0.64/0.13 0.67/0.18 0.61/0.11 0.66/0.19 0.63/0.15 0.54/0.13 0.64/0.29 0.49/0.09 0.60/0.23 0.58/0.20 FSD 0.92/0.53 0.91/0.52 0.96/0.77 0.93/0.59 0.92/0.55 0.98/0.93 0.97/0.89 0.98/0.96 0.98/0.93 0.98/0.91 Ours 0.96/0.84 0.97/0.88 0.98/0.92 0.96/0.83 0.98/0.92 0.99/0.98 0.99/0.99 0.99/0.99 0.99/0.98 0.99/0.99 Table 2. Performance Comparison on Mimir datasets with 7 subsets across 5 target models using AUROC scores.", "source": "marker_v2", "marker_block_id": "/page/5/TableGroup/510"}
71
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0070", "section": "4.4. Light MLP Training", "page_start": 6, "page_end": 6, "type": "Table", "text": "Wikipedia Github Pile CC PubMed Central Method 2.7B 6B 6.7B 6.9B 7B 2.7B 6B 6.7B 6.9B 7B 2.7B 6B 6.7B 6.9B 7B 2.7B 6B 6.7B 6.9B 7B PPL 0.56 0.57 0.56 0.56 0.56 0.78 0.79 0.78 0.90 0.83 0.56 0.57 0.56 0.56 0.52 0.78 0.79 0.78 0.78 0.72 ZLib 0.62 0.65 0.59 0.65 0.58 0.90 0.91 0.79 0.91 0.86 0.55 0.55 0.55 0.55 0.52 0.78 0.78 0.73 0.77 0.71 Min-k 0.66 0.68 0.65 0.68 0.63 0.88 0.89 0.76 0.90 0.83 0.56 0.57 0.56 0.56 0.52 0.81 0.80 0.74 0.79 0.72 Min-k++ 0.65 0.68 0.60 0.69 0.56 0.84 0.86 0.56 0.86 0.73 0.54 0.55 0.54 0.56 0.51 0.71 0.72 0.60 0.70 0.59 FSD 0.61 0.67 0.60 0.65 0.60 0.77 0.80 0.62 0.77 0.72 0.55 0.55 0.54 0.55 0.52 0.71 0.79 0.63 0.56 0.63 Ours 0.63 0.64 0.65 0.65 0.64 0.90 0.92 0.88 0.92 0.91 0.59 0.59 0.59 0.57 0.59 0.84 0.85 0.84 0.79 0.82 ArXiv DM Mathematics HackerNews Average Method 2.7B 6B 6.7B 6.9B 7B 2.7B 6B 6.7B 6.9B 7B 2.7B 6B 6.7B 6.9B 7B 2.7B 6B 6.7B 6.9B 7B PPL 0.78 0.79 0.65 0.78 0.70 0.78 0.79 0.65 0.91 0.31 0.65 0.62 0.59 0.62 0.59 0.64 0.66 0.62 0.73 0.59 ZLib 0.77 0.78 0.68 0.77 0.71 0.82 0.81 0.80 0.81 0.23 0.68 0.60 0.58 0.60 0.58 0.65 0.67 0.63 0.72 0.58 Min-k 0.78 0.79 0.65 0.78 0.70 0.93 0.93 0.92 0.92 0.32 0.65 0.62 0.59 0.62 0.59 0.71 0.73 0.69 0.75 0.60 Min-k++ 0.60 0.64 0.53 0.70 0.57 0.77 0.79 0.67 0.75 0.22 0.53 0.57 0.51 0.60 0.53 0.60 0.63 0.56 0.67 0.53 FSD 0.72 0.78 0.55 0.70 0.52 0.58 0.85 0.60 0.74 0.53 0.61 0.60 0.57 0.56 0.51 0.61 0.66 0.59 0.62 0.55 Ours 0.78 0.79 0.78 0.78 0.77 0.95 0.95 0.94 0.95 0.95 0.58 0.60 0.60 0.57 0.58 0.73 0.75 0.74 0.76 0.70", "source": "marker_v2", "marker_block_id": "/page/5/Table/5"}
72
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0071", "section": "5.1. Experimental Setup", "page_start": 6, "page_end": 6, "type": "Text", "text": "Datasets Following prior work, we evaluate on five prevalent datasets: WikiMIA, BookMIA (Shi et al., 2024) ,ArxivTection, BookTection (Duarte et al.) , and MIMIR (Duan et al.) , a widely recognized challenging benchmark for pretraining data detection.", "source": "marker_v2", "marker_block_id": "/page/5/Text/8"}
73
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0072", "section": "5.1. Experimental Setup", "page_start": 6, "page_end": 6, "type": "Text", "text": "Target Models We evaluate five open-source LLMs with diverse architectures: Neo-2.7B (Black et al., 2021) , GPT-J-6B (Wang & Komatsuzaki, 2021) , OPT-6.7B (Zhang et al., 2022) , Pythia-6.9B (Biderman et al., 2023) , and LLaMA-7B (Touvron et al., 2023) from Hugging Face.", "source": "marker_v2", "marker_block_id": "/page/5/Text/9"}
74
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0073", "section": "5.1. Experimental Setup", "page_start": 6, "page_end": 6, "type": "Text", "text": "Comparison Methods We select five representative stateof-the-art baselines. Four scoring function–based methods", "source": "marker_v2", "marker_block_id": "/page/5/Text/10"}
75
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0074", "section": "5.1. Experimental Setup", "page_start": 6, "page_end": 6, "type": "Text", "text": "include PPL (Carlini et al., 2021) , ZLib (Carlini et al., 2021) , Min-k (Shi et al., 2024) , and Min-k++ (Zhang et al., 2025) . The fine-tuning–enhanced method includes FSD (Zhang et al.) . More details are shown in Appendix A.", "source": "marker_v2", "marker_block_id": "/page/5/Text/11"}
76
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0075", "section": "5.1. Experimental Setup", "page_start": 6, "page_end": 6, "type": "Text", "text": "Evaluation Metrics Two metrics evaluate the binary pretraining data detection task: AUROC measures overall discriminative performance, and TPR@5%FPR captures practical effectiveness by assessing detection rate under a 5% false positive constraint.", "source": "marker_v2", "marker_block_id": "/page/5/Text/12"}
77
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0076", "section": "5.1. Experimental Setup", "page_start": 6, "page_end": 6, "type": "Text", "text": "Implementation Details We use the PEFT library (Man grulkar et al., 2022) for LoRA-based (Hu et al., 2022) gradient feature extraction without parameter updates. The MLP is trained on 30% of the data, with the remaining 70% used for inference evaluation under FSD settings. More Details can be seen in Appendix A.6.", "source": "marker_v2", "marker_block_id": "/page/5/Text/13"}
78
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0077", "section": "5.1. Experimental Setup", "page_start": 7, "page_end": 7, "type": "FigureGroup", "text": "Figure 4. Distribution differences of eight gradient features between member(red) and non-member(blue) samples. Dashed lines indicate distribution means. The x-axis represents feature values, and the y-axis denotes probability density.", "source": "marker_v2", "marker_block_id": "/page/6/FigureGroup/466"}
79
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0078", "section": "5.1. Experimental Setup", "page_start": 7, "page_end": 7, "type": "TableGroup", "text": "Table 3. Ablation results using AUROC on WikiMIA and Arxiv-Tection. - denotes the removal of related features. Dataset -Magnitude -Concentration -Position WikiMIA 0.94 (↓0.02) 0.94 (↓0.02) 0.93 (↓0.03) ArxivTection 0.96 (↓0.01) 0.95 (↓0.02) 0.95 (↓0.02) Table 4. Ablation results using AUROC and TPR@5%FPR. ATT-Only refers to performance validation using only attention module.", "source": "marker_v2", "marker_block_id": "/page/6/TableGroup/467"}
80
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0079", "section": "5.1. Experimental Setup", "page_start": 7, "page_end": 7, "type": "Table", "text": "Dataset ATT-Only FFN-Only Origin WikiMIA 0.94 / 0.68 0.93 / 0.64 0.96 / 0.84 ArxivTection 0.95 / 0.76 0.93 / 0.72 0.97 / 0.85", "source": "marker_v2", "marker_block_id": "/page/6/Table/6"}
81
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0080", "section": "5.2. Main Results", "page_start": 7, "page_end": 7, "type": "Text", "text": "Table 1 shows detection performance on WikiMIA, Arxiv-Tection, BookTection, and BookMIA. Specifically, when tested on WikiMIA with LLaMA-7B, GDS achieves an AUC score of 0.96, which is an improvement of 0.04 compared to the best baseline FSD and significantly higher than score-function-based methods such as Min-k++. GDS outperforms the best baseline in most settings, with especially large gains in TPR@5%FPR on BookTection and Book-MIA. Notably, with LLaMA-7B, BookTection performance improves by nearly 67.3%.", "source": "marker_v2", "marker_block_id": "/page/6/Text/8"}
82
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0081", "section": "5.2. Main Results", "page_start": 7, "page_end": 7, "type": "Text", "text": "Table 2 reports results on seven MIMIR subsets. Although all methods degrade due to similar data distributions, GDS achieves the best average improvements +2.8%, +2.7%, +7.2%, +1.3%, +16.6% across different models, and shows clear advantages on PubMed Central, DM Mathematics, and GitHub. Using the LLaMA model, the three subsets achieve AUC scores of 0.82, 0.95, and 0.91. Our method shows the most stable performance across models, with AUC variations mostly within 0.04, demonstrating strong generalization across different models.", "source": "marker_v2", "marker_block_id": "/page/6/Text/9"}
83
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0082", "section": "5.3. Ablation Study", "page_start": 7, "page_end": 7, "type": "Text", "text": "We perform two ablation studies: (1) removing each gradient feature category individually, and (2) using features from only the Attention or FFN module. Table 3 shows that all feature categories contribute to performance, with Position Offset and Magnitude being the most important. Concentration features have smaller effects, and the full combination performs best, highlighting the complementary nature of multi-dimensional features (see Appendix C for sub-feature ablations). Table 4 shows that Attention features are more discriminative than FFN features. Both single-module variants underperform the full model, indicating that Attention and FFN capture complementary gradient patterns and must be combined for optimal performance.", "source": "marker_v2", "marker_block_id": "/page/6/Text/11"}
84
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0083", "section": "5.4.1. FEATURE DISTRIBUTION", "page_start": 7, "page_end": 7, "type": "Text", "text": "To explain the classifier's effectiveness, we quantify feature distributions across all layers and sub-modules for member and non-member samples. Figure 4 shows the eight features with the largest discrepancies. Member samples exhibit smaller Abs Mean and Row Mean Max, indicating lower gradient magnitudes due to higher data familiarity, along with higher Sparsity, smaller Std and Row Mean Std, reflecting more concentrated and stable gradients. They also maintain a consistently higher 10p Ratio, occupying the core of gradient propagation. For locations Row Ecc and Col Ecc, member samples cluster at lower values, while non-members shift higher, suggesting that member-related parameters lie more centrally in weight matrices.", "source": "marker_v2", "marker_block_id": "/page/6/Text/14"}
85
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0084", "section": "5.4.1. FEATURE DISTRIBUTION", "page_start": 7, "page_end": 7, "type": "Text", "text": "We collect sub-features with the largest distribution differences between the two sample types and analyze their overall distribution patterns. Figure 5 show that discriminative sub-features are predominantly concentrated in low layers, while middle and high layers contribute far less. Among sub-modules, attention-related modules are the main sources", "source": "marker_v2", "marker_block_id": "/page/6/Text/15"}
86
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0085", "section": "5.4.1. FEATURE DISTRIBUTION", "page_start": 8, "page_end": 8, "type": "TableGroup", "text": "Table 5. Performance Comparison between LoRA and Full-Parameter Update using AUROC on WikiMIA and ArxivTection. Dataset Metric LLaMA-7B GPT-J-6B OPT-6.7B Pythia-6.9B Neo-2.7B LoRA Full LoRA Full LoRA Full LoRA Full LoRA Full WikiMIA AUC 0.96 0.96 0.93 0.90 0.94 0.92 0.92 0.89 0.90 0.88 TPR@5% FPR 0.84 0.79 0.66 0.58 0.67 0.56 0.63 0.50 0.60 0.51 ArxivTection AUC 0.97 0.96 0.97 0.96 0.94 0.93 0.95 0.94 0.94 0.94 TPR@5% FPR 0.85 0.84 0.86 0.79 0.75 0.67 0.83 0.73 0.73 0.75", "source": "marker_v2", "marker_block_id": "/page/7/TableGroup/516"}
87
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0086", "section": "5.4.1. FEATURE DISTRIBUTION", "page_start": 8, "page_end": 8, "type": "FigureGroup", "text": "Figure 5. Distribution Difference Statistics of Discriminative Features. The y-axis shows the statistical count.", "source": "marker_v2", "marker_block_id": "/page/7/FigureGroup/517"}
88
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0087", "section": "5.4.1. FEATURE DISTRIBUTION", "page_start": 8, "page_end": 8, "type": "Text", "text": "of discriminative features, with obvious differences in contribution across modules. In terms of gradient features, grad sparsity exhibits the strongest discriminative power, significantly outperforming other indicators.", "source": "marker_v2", "marker_block_id": "/page/7/Text/6"}
89
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0088", "section": "5.4.2. FULL PARAMETER TRAINING", "page_start": 8, "page_end": 8, "type": "Text", "text": "In LoRA training, only FFN and MLP modules are updated, while LayerNorm, despite containing meaningful training dynamics, is excluded. To account for this, we evaluate our method under full-parameter training on two small-scale datasets, BookMIA and ArxivTection, for computational feasibility. As shown in Table 5, although full-parameter updates cause a slight performance drop compared to LoRA, our method still outperforms most baselines. We attribute this gap to reduced gradient magnitudes in full training, which weaken discriminative signals between sample types.", "source": "marker_v2", "marker_block_id": "/page/7/Text/8"}
90
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0089", "section": "5.4.3. WIKIMIA MODIFICATION", "page_start": 8, "page_end": 8, "type": "Text", "text": "Dataset partitioning can introduce distribution shifts or dataset-specific artifacts. For example, WikiMIA is split by publication time, with all non-member samples labeled as 2023. To ensure our method does not exploit such artifacts, we remove all timestamp tokens and reevaluate all methods. As shown in Table 6, although token removal degrades performance, our method suffers a much smaller drop than the strongest baseline, FSD, and still achieves SOTA results.", "source": "marker_v2", "marker_block_id": "/page/7/Text/10"}
91
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0090", "section": "5.4.3. WIKIMIA MODIFICATION", "page_start": 8, "page_end": 8, "type": "TableGroup", "text": "Table 6. Comparison of Temporal Feature Perturbation via AU-ROC. Deletion denotes the removal of all year timestamps. Method Origin Deletion PPL 0.69 0.62 Min-k 0.73 0.63 Min-k++ 0.82 0.59 FSD 0.92 0.76 Ours 0.96 0.84 Table 7. Cross-Dataset Generalization Performance using AU-ROC. Wiki(arXiv) indicates training on ArxivTection with test on WikiMIA, while Mix indicates mixed datasets.", "source": "marker_v2", "marker_block_id": "/page/7/TableGroup/518"}
92
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0091", "section": "5.4.3. WIKIMIA MODIFICATION", "page_start": 8, "page_end": 8, "type": "Table", "text": "Method Wiki (arXiv) arXiv (Wiki) Mix FSD 0.52 0.58 0.92 Ours 0.66 0.68 0.95", "source": "marker_v2", "marker_block_id": "/page/7/Table/14"}
93
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0092", "section": "5.4.4. TRANSFERABILITY", "page_start": 8, "page_end": 8, "type": "Text", "text": "Although our method shares the same feature extraction framework, it requires dataset-specific classifiers. To examine whether a unified classifier is feasible, we train classifiers on WikiMIA and ArXiv separately and evaluate crossdataset generalization, as well as train a unified classifier on mixed data. Table 7 shows that cross-dataset transfer leads to notable performance degradation due to dataset shifts (e.g., distribution, difficulty, and pre-training differences), which cause classifiers to overfit dataset-specific gradient features. In contrast, the unified classifier performs well on mixed data, indicating that our method can capture universal feature discrepancies arising from model familiarity.", "source": "marker_v2", "marker_block_id": "/page/7/Text/16"}
94
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0093", "section": "6. Conclusion", "page_start": 8, "page_end": 8, "type": "Text", "text": "We revisit pre-training data detection from an optimization and training-dynamics perspective and introduce GDS, a fine-tuning–free method for inferring pre-training membership. By analyzing how models transition from unfamiliarity to familiarity, we show that member and non-member samples exhibit stable, interpretable differences in gradient magnitude, location, and concentration across datasets and architectures. Experiments show that GDS is effective and generalizable, outperforming strong baselines. Future work can focus on developing more generalizable detectors by contrastive learning or deeper feature extraction.", "source": "marker_v2", "marker_block_id": "/page/7/Text/18"}
95
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0094", "section": "Limitations", "page_start": 9, "page_end": 9, "type": "Text", "text": "This work investigates pre-training data detection, a form of membership inference that determines whether a given sample was included in a LLM's pre-training corpus. While our proposed GDS method improves detection accuracy and generalization without fine-tuning, it also raises important ethical concerns. Pre-training data detection methods could be misused to probe proprietary or confidential training corpora, potentially revealing sensitive information about data sources or collection practices. Although GDS does not reconstruct or expose training samples directly, it contributes to capabilities that may be exploited if applied irresponsibly. Our primary motivation is to support transparency, accountability, and safety. As pre-training datasets become increasingly large and opaque, tools like GDS can help researchers, auditors, and regulators verify data usage claims, identify potential copyright violations, and detect benchmark contamination. In this sense, GDS is intended as a diagnostic and auditing mechanism rather than a data extraction attack. We release code and models to promote reproducibility while encouraging responsible deployment. Overall, we hope this work advances trustworthy and transparent large-scale model development while highlighting the need for careful governance of pre-training data.", "source": "marker_v2", "marker_block_id": "/page/8/Text/2"}
icml26/9346049b-7104-494c-9378-955a2d7393ed/marker_meta.json ADDED
@@ -0,0 +1,2079 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "table_of_contents": [
3
+ {
4
+ "title": "From Unfamiliar to Familiar: Detecting Pre-training Data\nvia Gradient Deviations in Large Language Models",
5
+ "heading_level": null,
6
+ "page_id": 0,
7
+ "polygon": [
8
+ [
9
+ 119.53125,
10
+ 88.9453125
11
+ ],
12
+ [
13
+ 476.9305725097656,
14
+ 88.9453125
15
+ ],
16
+ [
17
+ 476.9305725097656,
18
+ 122.191162109375
19
+ ],
20
+ [
21
+ 119.53125,
22
+ 122.191162109375
23
+ ]
24
+ ]
25
+ },
26
+ {
27
+ "title": "Anonymous Authors1",
28
+ "heading_level": null,
29
+ "page_id": 0,
30
+ "polygon": [
31
+ [
32
+ 245.0390625,
33
+ 159.67803955078125
34
+ ],
35
+ [
36
+ 337.0218811035156,
37
+ 159.67803955078125
38
+ ],
39
+ [
40
+ 337.0218811035156,
41
+ 170.8990478515625
42
+ ],
43
+ [
44
+ 245.0390625,
45
+ 170.8990478515625
46
+ ]
47
+ ]
48
+ },
49
+ {
50
+ "title": "Abstract",
51
+ "heading_level": null,
52
+ "page_id": 0,
53
+ "polygon": [
54
+ [
55
+ 147.0234375,
56
+ 192.97265625
57
+ ],
58
+ [
59
+ 194.68325805664062,
60
+ 192.97265625
61
+ ],
62
+ [
63
+ 194.68325805664062,
64
+ 205.94830322265625
65
+ ],
66
+ [
67
+ 147.0234375,
68
+ 205.94830322265625
69
+ ]
70
+ ]
71
+ },
72
+ {
73
+ "title": "1. Introduction",
74
+ "heading_level": null,
75
+ "page_id": 0,
76
+ "polygon": [
77
+ [
78
+ 54.087890625,
79
+ 605.21484375
80
+ ],
81
+ [
82
+ 132.27606201171875,
83
+ 605.21484375
84
+ ],
85
+ [
86
+ 132.27606201171875,
87
+ 617.6893615722656
88
+ ],
89
+ [
90
+ 54.087890625,
91
+ 617.6893615722656
92
+ ]
93
+ ]
94
+ },
95
+ {
96
+ "title": "2. Related Work",
97
+ "heading_level": null,
98
+ "page_id": 1,
99
+ "polygon": [
100
+ [
101
+ 307.1953125,
102
+ 416.05218505859375
103
+ ],
104
+ [
105
+ 390.8671875,
106
+ 416.05218505859375
107
+ ],
108
+ [
109
+ 390.8671875,
110
+ 428.00738525390625
111
+ ],
112
+ [
113
+ 307.1953125,
114
+ 428.00738525390625
115
+ ]
116
+ ]
117
+ },
118
+ {
119
+ "title": "3. Motivation",
120
+ "heading_level": null,
121
+ "page_id": 2,
122
+ "polygon": [
123
+ [
124
+ 52.892578125,
125
+ 422.68359375
126
+ ],
127
+ [
128
+ 123.60856628417969,
129
+ 422.68359375
130
+ ],
131
+ [
132
+ 123.60856628417969,
133
+ 435.2503662109375
134
+ ],
135
+ [
136
+ 52.892578125,
137
+ 435.2503662109375
138
+ ]
139
+ ]
140
+ },
141
+ {
142
+ "title": "3.1. Decay of Update Magnitude",
143
+ "heading_level": null,
144
+ "page_id": 2,
145
+ "polygon": [
146
+ [
147
+ 52.892578125,
148
+ 552.62109375
149
+ ],
150
+ [
151
+ 192.1368408203125,
152
+ 552.62109375
153
+ ],
154
+ [
155
+ 192.1368408203125,
156
+ 562.9801177978516
157
+ ],
158
+ [
159
+ 52.892578125,
160
+ 562.9801177978516
161
+ ]
162
+ ]
163
+ },
164
+ {
165
+ "title": "3.2. Gradually Stabilizing of Update Locations",
166
+ "heading_level": null,
167
+ "page_id": 2,
168
+ "polygon": [
169
+ [
170
+ 305.40234375,
171
+ 354.234375
172
+ ],
173
+ [
174
+ 504.7791442871094,
175
+ 354.234375
176
+ ],
177
+ [
178
+ 504.7791442871094,
179
+ 365.60211181640625
180
+ ],
181
+ [
182
+ 305.40234375,
183
+ 365.60211181640625
184
+ ]
185
+ ]
186
+ },
187
+ {
188
+ "title": "3.3. Increasing Update Sparsity",
189
+ "heading_level": null,
190
+ "page_id": 3,
191
+ "polygon": [
192
+ [
193
+ 54.087890625,
194
+ 326.00152587890625
195
+ ],
196
+ [
197
+ 188.92886352539062,
198
+ 326.00152587890625
199
+ ],
200
+ [
201
+ 188.92886352539062,
202
+ 335.964111328125
203
+ ],
204
+ [
205
+ 54.087890625,
206
+ 335.964111328125
207
+ ]
208
+ ]
209
+ },
210
+ {
211
+ "title": "4. Method",
212
+ "heading_level": null,
213
+ "page_id": 3,
214
+ "polygon": [
215
+ [
216
+ 306.59765625,
217
+ 387.10546875
218
+ ],
219
+ [
220
+ 359.24188232421875,
221
+ 387.10546875
222
+ ],
223
+ [
224
+ 359.24188232421875,
225
+ 399.63433837890625
226
+ ],
227
+ [
228
+ 306.59765625,
229
+ 399.63433837890625
230
+ ]
231
+ ]
232
+ },
233
+ {
234
+ "title": "4.1. Task Definition",
235
+ "heading_level": null,
236
+ "page_id": 3,
237
+ "polygon": [
238
+ [
239
+ 304.8046875,
240
+ 407.21484375
241
+ ],
242
+ [
243
+ 389.56170654296875,
244
+ 407.21484375
245
+ ],
246
+ [
247
+ 389.56170654296875,
248
+ 418.5450744628906
249
+ ],
250
+ [
251
+ 304.8046875,
252
+ 418.5450744628906
253
+ ]
254
+ ]
255
+ },
256
+ {
257
+ "title": "4.2. Gradient Matrix Acquisition",
258
+ "heading_level": null,
259
+ "page_id": 3,
260
+ "polygon": [
261
+ [
262
+ 305.40234375,
263
+ 660.90234375
264
+ ],
265
+ [
266
+ 447.1953430175781,
267
+ 660.90234375
268
+ ],
269
+ [
270
+ 447.1953430175781,
271
+ 671.5461196899414
272
+ ],
273
+ [
274
+ 305.40234375,
275
+ 671.5461196899414
276
+ ]
277
+ ]
278
+ },
279
+ {
280
+ "title": "4.3. Feature Vector Extraction",
281
+ "heading_level": null,
282
+ "page_id": 4,
283
+ "polygon": [
284
+ [
285
+ 53.490234375,
286
+ 164.7421875
287
+ ],
288
+ [
289
+ 183.75,
290
+ 164.7421875
291
+ ],
292
+ [
293
+ 183.75,
294
+ 174.75
295
+ ],
296
+ [
297
+ 53.490234375,
298
+ 174.75
299
+ ]
300
+ ]
301
+ },
302
+ {
303
+ "title": "4.3.1. MAGNITUDE",
304
+ "heading_level": null,
305
+ "page_id": 4,
306
+ "polygon": [
307
+ [
308
+ 54.0,
309
+ 219.75
310
+ ],
311
+ [
312
+ 138.0,
313
+ 219.75
314
+ ],
315
+ [
316
+ 138.0,
317
+ 228.75
318
+ ],
319
+ [
320
+ 54.0,
321
+ 228.75
322
+ ]
323
+ ]
324
+ },
325
+ {
326
+ "title": "4.3.2. Position",
327
+ "heading_level": null,
328
+ "page_id": 4,
329
+ "polygon": [
330
+ [
331
+ 53.19140625,
332
+ 493.83984375
333
+ ],
334
+ [
335
+ 124.5,
336
+ 493.83984375
337
+ ],
338
+ [
339
+ 124.5,
340
+ 503.25
341
+ ],
342
+ [
343
+ 53.19140625,
344
+ 503.25
345
+ ]
346
+ ]
347
+ },
348
+ {
349
+ "title": "4.3.3. CONCENTRATION",
350
+ "heading_level": null,
351
+ "page_id": 4,
352
+ "polygon": [
353
+ [
354
+ 306.59765625,
355
+ 69.75
356
+ ],
357
+ [
358
+ 410.58984375,
359
+ 69.75
360
+ ],
361
+ [
362
+ 410.58984375,
363
+ 77.25
364
+ ],
365
+ [
366
+ 306.59765625,
367
+ 77.25
368
+ ]
369
+ ]
370
+ },
371
+ {
372
+ "title": "4.4. Light MLP Training",
373
+ "heading_level": null,
374
+ "page_id": 4,
375
+ "polygon": [
376
+ [
377
+ 305.701171875,
378
+ 562.5
379
+ ],
380
+ [
381
+ 412.5,
382
+ 562.5
383
+ ],
384
+ [
385
+ 412.5,
386
+ 573.50390625
387
+ ],
388
+ [
389
+ 305.701171875,
390
+ 573.50390625
391
+ ]
392
+ ]
393
+ },
394
+ {
395
+ "title": "5. Experiments",
396
+ "heading_level": null,
397
+ "page_id": 5,
398
+ "polygon": [
399
+ [
400
+ 54.685546875,
401
+ 519.2611694335938
402
+ ],
403
+ [
404
+ 132.47930908203125,
405
+ 519.2611694335938
406
+ ],
407
+ [
408
+ 132.47930908203125,
409
+ 531.2163696289062
410
+ ],
411
+ [
412
+ 54.685546875,
413
+ 531.2163696289062
414
+ ]
415
+ ]
416
+ },
417
+ {
418
+ "title": "5.1. Experimental Setup",
419
+ "heading_level": null,
420
+ "page_id": 5,
421
+ "polygon": [
422
+ [
423
+ 53.19140625,
424
+ 540.1645202636719
425
+ ],
426
+ [
427
+ 157.83558654785156,
428
+ 540.1645202636719
429
+ ],
430
+ [
431
+ 157.83558654785156,
432
+ 550.1271209716797
433
+ ],
434
+ [
435
+ 53.19140625,
436
+ 550.1271209716797
437
+ ]
438
+ ]
439
+ },
440
+ {
441
+ "title": "5.2. Main Results",
442
+ "heading_level": null,
443
+ "page_id": 6,
444
+ "polygon": [
445
+ [
446
+ 53.7890625,
447
+ 453.62109375
448
+ ],
449
+ [
450
+ 129.05364990234375,
451
+ 453.62109375
452
+ ],
453
+ [
454
+ 129.05364990234375,
455
+ 465.5990905761719
456
+ ],
457
+ [
458
+ 53.7890625,
459
+ 465.5990905761719
460
+ ]
461
+ ]
462
+ },
463
+ {
464
+ "title": "5.3. Ablation Study",
465
+ "heading_level": null,
466
+ "page_id": 6,
467
+ "polygon": [
468
+ [
469
+ 307.44000244140625,
470
+ 258.328125
471
+ ],
472
+ [
473
+ 389.3724060058594,
474
+ 258.328125
475
+ ],
476
+ [
477
+ 389.3724060058594,
478
+ 268.5631103515625
479
+ ],
480
+ [
481
+ 307.44000244140625,
482
+ 268.5631103515625
483
+ ]
484
+ ]
485
+ },
486
+ {
487
+ "title": "5.4. Analysis",
488
+ "heading_level": null,
489
+ "page_id": 6,
490
+ "polygon": [
491
+ [
492
+ 307.44000244140625,
493
+ 445.8475036621094
494
+ ],
495
+ [
496
+ 360.984375,
497
+ 445.8475036621094
498
+ ],
499
+ [
500
+ 360.984375,
501
+ 455.94140625
502
+ ],
503
+ [
504
+ 307.44000244140625,
505
+ 455.94140625
506
+ ]
507
+ ]
508
+ },
509
+ {
510
+ "title": "5.4.1. FEATURE DISTRIBUTION",
511
+ "heading_level": null,
512
+ "page_id": 6,
513
+ "polygon": [
514
+ [
515
+ 306.896484375,
516
+ 462.90234375
517
+ ],
518
+ [
519
+ 440.1639404296875,
520
+ 462.90234375
521
+ ],
522
+ [
523
+ 440.1639404296875,
524
+ 474.5530700683594
525
+ ],
526
+ [
527
+ 306.896484375,
528
+ 474.5530700683594
529
+ ]
530
+ ]
531
+ },
532
+ {
533
+ "title": "5.4.2. FULL PARAMETER TRAINING",
534
+ "heading_level": null,
535
+ "page_id": 7,
536
+ "polygon": [
537
+ [
538
+ 53.7890625,
539
+ 453.62109375
540
+ ],
541
+ [
542
+ 207.74444580078125,
543
+ 453.62109375
544
+ ],
545
+ [
546
+ 207.74444580078125,
547
+ 465.1870422363281
548
+ ],
549
+ [
550
+ 53.7890625,
551
+ 465.1870422363281
552
+ ]
553
+ ]
554
+ },
555
+ {
556
+ "title": "5.4.3. WIKIMIA MODIFICATION",
557
+ "heading_level": null,
558
+ "page_id": 7,
559
+ "polygon": [
560
+ [
561
+ 55.283203125,
562
+ 605.1664733886719
563
+ ],
564
+ [
565
+ 193.62535095214844,
566
+ 605.1664733886719
567
+ ],
568
+ [
569
+ 193.62535095214844,
570
+ 615.1290740966797
571
+ ],
572
+ [
573
+ 55.283203125,
574
+ 615.1290740966797
575
+ ]
576
+ ]
577
+ },
578
+ {
579
+ "title": "5.4.4. TRANSFERABILITY",
580
+ "heading_level": null,
581
+ "page_id": 7,
582
+ "polygon": [
583
+ [
584
+ 306.0,
585
+ 388.65234375
586
+ ],
587
+ [
588
+ 416.3034362792969,
589
+ 388.65234375
590
+ ],
591
+ [
592
+ 416.3034362792969,
593
+ 399.819091796875
594
+ ],
595
+ [
596
+ 306.0,
597
+ 399.819091796875
598
+ ]
599
+ ]
600
+ },
601
+ {
602
+ "title": "6. Conclusion",
603
+ "heading_level": null,
604
+ "page_id": 7,
605
+ "polygon": [
606
+ [
607
+ 307.44000244140625,
608
+ 566.9601593017578
609
+ ],
610
+ [
611
+ 376.52911376953125,
612
+ 566.9601593017578
613
+ ],
614
+ [
615
+ 376.52911376953125,
616
+ 578.9153594970703
617
+ ],
618
+ [
619
+ 307.44000244140625,
620
+ 578.9153594970703
621
+ ]
622
+ ]
623
+ },
624
+ {
625
+ "title": "Limitations",
626
+ "heading_level": null,
627
+ "page_id": 8,
628
+ "polygon": [
629
+ [
630
+ 52.59375,
631
+ 66.515625
632
+ ],
633
+ [
634
+ 114.5584716796875,
635
+ 66.515625
636
+ ],
637
+ [
638
+ 114.5584716796875,
639
+ 79.80230712890625
640
+ ],
641
+ [
642
+ 52.59375,
643
+ 79.80230712890625
644
+ ]
645
+ ]
646
+ },
647
+ {
648
+ "title": "References",
649
+ "heading_level": null,
650
+ "page_id": 8,
651
+ "polygon": [
652
+ [
653
+ 53.490234375,
654
+ 378.7991638183594
655
+ ],
656
+ [
657
+ 110.9838638305664,
658
+ 378.7991638183594
659
+ ],
660
+ [
661
+ 110.9838638305664,
662
+ 390.7543640136719
663
+ ],
664
+ [
665
+ 53.490234375,
666
+ 390.7543640136719
667
+ ]
668
+ ]
669
+ },
670
+ {
671
+ "title": "A. Details of Baseline",
672
+ "heading_level": null,
673
+ "page_id": 10,
674
+ "polygon": [
675
+ [
676
+ 52.59375,
677
+ 67.67578125
678
+ ],
679
+ [
680
+ 163.69435119628906,
681
+ 67.67578125
682
+ ],
683
+ [
684
+ 163.69435119628906,
685
+ 79.80230712890625
686
+ ],
687
+ [
688
+ 52.59375,
689
+ 79.80230712890625
690
+ ]
691
+ ]
692
+ },
693
+ {
694
+ "title": "A.1. PPL",
695
+ "heading_level": null,
696
+ "page_id": 10,
697
+ "polygon": [
698
+ [
699
+ 53.490234375,
700
+ 225.0703125
701
+ ],
702
+ [
703
+ 93.90560150146484,
704
+ 225.0703125
705
+ ],
706
+ [
707
+ 93.90560150146484,
708
+ 235.91302490234375
709
+ ],
710
+ [
711
+ 53.490234375,
712
+ 235.91302490234375
713
+ ]
714
+ ]
715
+ },
716
+ {
717
+ "title": "A.2. Zlib",
718
+ "heading_level": null,
719
+ "page_id": 10,
720
+ "polygon": [
721
+ [
722
+ 53.490234375,
723
+ 362.7421875
724
+ ],
725
+ [
726
+ 92.8097152709961,
727
+ 362.7421875
728
+ ],
729
+ [
730
+ 92.8097152709961,
731
+ 373.3191223144531
732
+ ],
733
+ [
734
+ 53.490234375,
735
+ 373.3191223144531
736
+ ]
737
+ ]
738
+ },
739
+ {
740
+ "title": "A.3. Min-k%",
741
+ "heading_level": null,
742
+ "page_id": 10,
743
+ "polygon": [
744
+ [
745
+ 52.892578125,
746
+ 515.4805297851562
747
+ ],
748
+ [
749
+ 111.61910247802734,
750
+ 515.4805297851562
751
+ ],
752
+ [
753
+ 111.61910247802734,
754
+ 525.443115234375
755
+ ],
756
+ [
757
+ 52.892578125,
758
+ 525.443115234375
759
+ ]
760
+ ]
761
+ },
762
+ {
763
+ "title": "A.4. Min-k%++",
764
+ "heading_level": null,
765
+ "page_id": 11,
766
+ "polygon": [
767
+ [
768
+ 51.697265625,
769
+ 69.0
770
+ ],
771
+ [
772
+ 122.25,
773
+ 69.0
774
+ ],
775
+ [
776
+ 122.25,
777
+ 77.34375
778
+ ],
779
+ [
780
+ 51.697265625,
781
+ 77.34375
782
+ ]
783
+ ]
784
+ },
785
+ {
786
+ "title": "Core Token-Level Score Calculation",
787
+ "heading_level": null,
788
+ "page_id": 11,
789
+ "polygon": [
790
+ [
791
+ 53.7890625,
792
+ 141.0
793
+ ],
794
+ [
795
+ 210.0,
796
+ 141.0
797
+ ],
798
+ [
799
+ 210.0,
800
+ 150.0
801
+ ],
802
+ [
803
+ 53.7890625,
804
+ 150.0
805
+ ]
806
+ ]
807
+ },
808
+ {
809
+ "title": "Final Sequence-Level Score Calculation",
810
+ "heading_level": null,
811
+ "page_id": 11,
812
+ "polygon": [
813
+ [
814
+ 53.7890625,
815
+ 295.453125
816
+ ],
817
+ [
818
+ 224.25,
819
+ 295.453125
820
+ ],
821
+ [
822
+ 224.25,
823
+ 304.734375
824
+ ],
825
+ [
826
+ 53.7890625,
827
+ 304.734375
828
+ ]
829
+ ]
830
+ },
831
+ {
832
+ "title": "A.5. FSD",
833
+ "heading_level": null,
834
+ "page_id": 11,
835
+ "polygon": [
836
+ [
837
+ 53.7890625,
838
+ 438.15234375
839
+ ],
840
+ [
841
+ 93.75,
842
+ 438.15234375
843
+ ],
844
+ [
845
+ 93.75,
846
+ 447.75
847
+ ],
848
+ [
849
+ 53.7890625,
850
+ 447.75
851
+ ]
852
+ ]
853
+ },
854
+ {
855
+ "title": "A.6. Experimental Settings",
856
+ "heading_level": null,
857
+ "page_id": 11,
858
+ "polygon": [
859
+ [
860
+ 53.19140625,
861
+ 676.37109375
862
+ ],
863
+ [
864
+ 169.5,
865
+ 676.37109375
866
+ ],
867
+ [
868
+ 169.5,
869
+ 686.25
870
+ ],
871
+ [
872
+ 53.19140625,
873
+ 686.25
874
+ ]
875
+ ]
876
+ },
877
+ {
878
+ "title": "B. Motivation Experiment Supplementary Details",
879
+ "heading_level": null,
880
+ "page_id": 12,
881
+ "polygon": [
882
+ [
883
+ 53.7890625,
884
+ 167.8359375
885
+ ],
886
+ [
887
+ 308.57940673828125,
888
+ 167.8359375
889
+ ],
890
+ [
891
+ 308.57940673828125,
892
+ 180.098388671875
893
+ ],
894
+ [
895
+ 53.7890625,
896
+ 180.098388671875
897
+ ]
898
+ ]
899
+ },
900
+ {
901
+ "title": "770",
902
+ "heading_level": null,
903
+ "page_id": 14,
904
+ "polygon": [
905
+ [
906
+ 22.412109375,
907
+ 66.12890625
908
+ ],
909
+ [
910
+ 40.49589920043945,
911
+ 66.12890625
912
+ ],
913
+ [
914
+ 40.49589920043945,
915
+ 122.58984375
916
+ ],
917
+ [
918
+ 22.412109375,
919
+ 122.58984375
920
+ ]
921
+ ]
922
+ },
923
+ {
924
+ "title": "",
925
+ "heading_level": null,
926
+ "page_id": 14,
927
+ "polygon": [
928
+ [
929
+ 20.021484375,
930
+ 66.515625
931
+ ],
932
+ [
933
+ 36.158203125,
934
+ 66.515625
935
+ ],
936
+ [
937
+ 36.158203125,
938
+ 131.484375
939
+ ],
940
+ [
941
+ 20.021484375,
942
+ 131.484375
943
+ ]
944
+ ]
945
+ },
946
+ {
947
+ "title": "",
948
+ "heading_level": null,
949
+ "page_id": 14,
950
+ "polygon": [
951
+ [
952
+ 24.802734375,
953
+ 76.95703125
954
+ ],
955
+ [
956
+ 37.353515625,
957
+ 76.95703125
958
+ ],
959
+ [
960
+ 37.353515625,
961
+ 167.44921875
962
+ ],
963
+ [
964
+ 24.802734375,
965
+ 167.44921875
966
+ ]
967
+ ]
968
+ },
969
+ {
970
+ "title": "771\n774",
971
+ "heading_level": null,
972
+ "page_id": 14,
973
+ "polygon": [
974
+ [
975
+ 24.50390625,
976
+ 79.27734375
977
+ ],
978
+ [
979
+ 40.49589920043945,
980
+ 79.27734375
981
+ ],
982
+ [
983
+ 40.49589920043945,
984
+ 179.05078125
985
+ ],
986
+ [
987
+ 24.50390625,
988
+ 179.05078125
989
+ ]
990
+ ]
991
+ },
992
+ {
993
+ "title": "776\n778",
994
+ "heading_level": null,
995
+ "page_id": 14,
996
+ "polygon": [
997
+ [
998
+ 25.400390625,
999
+ 138.4453125
1000
+ ],
1001
+ [
1002
+ 40.49589920043945,
1003
+ 138.4453125
1004
+ ],
1005
+ [
1006
+ 40.49589920043945,
1007
+ 225.0703125
1008
+ ],
1009
+ [
1010
+ 25.400390625,
1011
+ 225.0703125
1012
+ ]
1013
+ ]
1014
+ },
1015
+ {
1016
+ "title": "779\n780\n781\n782\n783\n784\n785",
1017
+ "heading_level": null,
1018
+ "page_id": 14,
1019
+ "polygon": [
1020
+ [
1021
+ 25.552000045776367,
1022
+ 174.0234375
1023
+ ],
1024
+ [
1025
+ 40.49589920043945,
1026
+ 174.0234375
1027
+ ],
1028
+ [
1029
+ 40.49589920043945,
1030
+ 258.459228515625
1031
+ ],
1032
+ [
1033
+ 25.552000045776367,
1034
+ 258.459228515625
1035
+ ]
1036
+ ]
1037
+ },
1038
+ {
1039
+ "title": "787\n788\n789\n790\n791",
1040
+ "heading_level": null,
1041
+ "page_id": 14,
1042
+ "polygon": [
1043
+ [
1044
+ 23.607421875,
1045
+ 272.40667724609375
1046
+ ],
1047
+ [
1048
+ 40.49589920043945,
1049
+ 272.40667724609375
1050
+ ],
1051
+ [
1052
+ 40.49589920043945,
1053
+ 337.21875
1054
+ ],
1055
+ [
1056
+ 23.607421875,
1057
+ 337.21875
1058
+ ]
1059
+ ]
1060
+ },
1061
+ {
1062
+ "title": "794\n796\n798\n799\n800\n801",
1063
+ "heading_level": null,
1064
+ "page_id": 14,
1065
+ "polygon": [
1066
+ [
1067
+ 25.552000045776367,
1068
+ 356.0935974121094
1069
+ ],
1070
+ [
1071
+ 41.8359375,
1072
+ 356.0935974121094
1073
+ ],
1074
+ [
1075
+ 41.8359375,
1076
+ 449.74212646484375
1077
+ ],
1078
+ [
1079
+ 25.552000045776367,
1080
+ 449.74212646484375
1081
+ ]
1082
+ ]
1083
+ },
1084
+ {
1085
+ "title": "806\n807\n808\n809\n810\n811\n812",
1086
+ "heading_level": null,
1087
+ "page_id": 14,
1088
+ "polygon": [
1089
+ [
1090
+ 25.552000045776367,
1091
+ 499.5554504394531
1092
+ ],
1093
+ [
1094
+ 41.8359375,
1095
+ 499.5554504394531
1096
+ ],
1097
+ [
1098
+ 41.8359375,
1099
+ 581.2490386962891
1100
+ ],
1101
+ [
1102
+ 25.552000045776367,
1103
+ 581.2490386962891
1104
+ ]
1105
+ ]
1106
+ },
1107
+ {
1108
+ "title": "C. Ablation Experiments on Sub-features and Sub-modules",
1109
+ "heading_level": null,
1110
+ "page_id": 14,
1111
+ "polygon": [
1112
+ [
1113
+ 55.44000244140625,
1114
+ 67.67578125
1115
+ ],
1116
+ [
1117
+ 358.59375,
1118
+ 67.67578125
1119
+ ],
1120
+ [
1121
+ 358.59375,
1122
+ 79.80230712890625
1123
+ ],
1124
+ [
1125
+ 55.44000244140625,
1126
+ 79.80230712890625
1127
+ ]
1128
+ ]
1129
+ },
1130
+ {
1131
+ "title": "C.1. Sub-feature Category Ablation Experiment",
1132
+ "heading_level": null,
1133
+ "page_id": 14,
1134
+ "polygon": [
1135
+ [
1136
+ 54.38671875,
1137
+ 148.11328125
1138
+ ],
1139
+ [
1140
+ 259.4739990234375,
1141
+ 148.11328125
1142
+ ],
1143
+ [
1144
+ 259.4739990234375,
1145
+ 159.7110595703125
1146
+ ],
1147
+ [
1148
+ 54.38671875,
1149
+ 159.7110595703125
1150
+ ]
1151
+ ]
1152
+ },
1153
+ {
1154
+ "title": "C.2. Sub-module Ablation Experiment",
1155
+ "heading_level": null,
1156
+ "page_id": 14,
1157
+ "polygon": [
1158
+ [
1159
+ 53.7890625,
1160
+ 495.86151123046875
1161
+ ],
1162
+ [
1163
+ 219.0059814453125,
1164
+ 495.86151123046875
1165
+ ],
1166
+ [
1167
+ 219.0059814453125,
1168
+ 505.8240966796875
1169
+ ],
1170
+ [
1171
+ 53.7890625,
1172
+ 505.8240966796875
1173
+ ]
1174
+ ]
1175
+ },
1176
+ {
1177
+ "title": "C.3. Low-Data Scenarios",
1178
+ "heading_level": null,
1179
+ "page_id": 15,
1180
+ "polygon": [
1181
+ [
1182
+ 54.087890625,
1183
+ 377.9835205078125
1184
+ ],
1185
+ [
1186
+ 161.0435791015625,
1187
+ 377.9835205078125
1188
+ ],
1189
+ [
1190
+ 161.0435791015625,
1191
+ 387.94610595703125
1192
+ ],
1193
+ [
1194
+ 54.087890625,
1195
+ 387.94610595703125
1196
+ ]
1197
+ ]
1198
+ }
1199
+ ],
1200
+ "page_stats": [
1201
+ {
1202
+ "page_id": 0,
1203
+ "text_extraction_method": "pdftext",
1204
+ "block_counts": [
1205
+ [
1206
+ "Span",
1207
+ 306
1208
+ ],
1209
+ [
1210
+ "Line",
1211
+ 132
1212
+ ],
1213
+ [
1214
+ "Text",
1215
+ 6
1216
+ ],
1217
+ [
1218
+ "SectionHeader",
1219
+ 4
1220
+ ],
1221
+ [
1222
+ "PageHeader",
1223
+ 1
1224
+ ],
1225
+ [
1226
+ "Footnote",
1227
+ 1
1228
+ ],
1229
+ [
1230
+ "Figure",
1231
+ 1
1232
+ ],
1233
+ [
1234
+ "Caption",
1235
+ 1
1236
+ ],
1237
+ [
1238
+ "PageFooter",
1239
+ 1
1240
+ ],
1241
+ [
1242
+ "FigureGroup",
1243
+ 1
1244
+ ],
1245
+ [
1246
+ "Reference",
1247
+ 1
1248
+ ]
1249
+ ],
1250
+ "block_metadata": {
1251
+ "llm_request_count": 0,
1252
+ "llm_error_count": 0,
1253
+ "llm_tokens_used": 0,
1254
+ "previous_text": "",
1255
+ "previous_type": "",
1256
+ "previous_order": 0
1257
+ }
1258
+ },
1259
+ {
1260
+ "page_id": 1,
1261
+ "text_extraction_method": "pdftext",
1262
+ "block_counts": [
1263
+ [
1264
+ "Span",
1265
+ 358
1266
+ ],
1267
+ [
1268
+ "Line",
1269
+ 149
1270
+ ],
1271
+ [
1272
+ "Text",
1273
+ 12
1274
+ ],
1275
+ [
1276
+ "ListItem",
1277
+ 6
1278
+ ],
1279
+ [
1280
+ "ListGroup",
1281
+ 2
1282
+ ],
1283
+ [
1284
+ "PageHeader",
1285
+ 1
1286
+ ],
1287
+ [
1288
+ "SectionHeader",
1289
+ 1
1290
+ ],
1291
+ [
1292
+ "Footnote",
1293
+ 1
1294
+ ],
1295
+ [
1296
+ "PageFooter",
1297
+ 1
1298
+ ],
1299
+ [
1300
+ "Reference",
1301
+ 1
1302
+ ]
1303
+ ],
1304
+ "block_metadata": {
1305
+ "llm_request_count": 0,
1306
+ "llm_error_count": 0,
1307
+ "llm_tokens_used": 0,
1308
+ "previous_text": "",
1309
+ "previous_type": "",
1310
+ "previous_order": 0
1311
+ }
1312
+ },
1313
+ {
1314
+ "page_id": 2,
1315
+ "text_extraction_method": "pdftext",
1316
+ "block_counts": [
1317
+ [
1318
+ "Span",
1319
+ 589
1320
+ ],
1321
+ [
1322
+ "Line",
1323
+ 152
1324
+ ],
1325
+ [
1326
+ "Text",
1327
+ 13
1328
+ ],
1329
+ [
1330
+ "SectionHeader",
1331
+ 3
1332
+ ],
1333
+ [
1334
+ "Equation",
1335
+ 3
1336
+ ],
1337
+ [
1338
+ "Reference",
1339
+ 2
1340
+ ],
1341
+ [
1342
+ "PageHeader",
1343
+ 1
1344
+ ],
1345
+ [
1346
+ "Figure",
1347
+ 1
1348
+ ],
1349
+ [
1350
+ "Caption",
1351
+ 1
1352
+ ],
1353
+ [
1354
+ "PageFooter",
1355
+ 1
1356
+ ],
1357
+ [
1358
+ "FigureGroup",
1359
+ 1
1360
+ ]
1361
+ ],
1362
+ "block_metadata": {
1363
+ "llm_request_count": 0,
1364
+ "llm_error_count": 0,
1365
+ "llm_tokens_used": 0,
1366
+ "previous_text": "",
1367
+ "previous_type": "",
1368
+ "previous_order": 0
1369
+ }
1370
+ },
1371
+ {
1372
+ "page_id": 3,
1373
+ "text_extraction_method": "pdftext",
1374
+ "block_counts": [
1375
+ [
1376
+ "Span",
1377
+ 494
1378
+ ],
1379
+ [
1380
+ "Line",
1381
+ 125
1382
+ ],
1383
+ [
1384
+ "Text",
1385
+ 12
1386
+ ],
1387
+ [
1388
+ "SectionHeader",
1389
+ 4
1390
+ ],
1391
+ [
1392
+ "Equation",
1393
+ 3
1394
+ ],
1395
+ [
1396
+ "PageHeader",
1397
+ 2
1398
+ ],
1399
+ [
1400
+ "Figure",
1401
+ 1
1402
+ ],
1403
+ [
1404
+ "Caption",
1405
+ 1
1406
+ ],
1407
+ [
1408
+ "PageFooter",
1409
+ 1
1410
+ ],
1411
+ [
1412
+ "FigureGroup",
1413
+ 1
1414
+ ],
1415
+ [
1416
+ "Reference",
1417
+ 1
1418
+ ]
1419
+ ],
1420
+ "block_metadata": {
1421
+ "llm_request_count": 0,
1422
+ "llm_error_count": 0,
1423
+ "llm_tokens_used": 0,
1424
+ "previous_text": "",
1425
+ "previous_type": "",
1426
+ "previous_order": 0
1427
+ }
1428
+ },
1429
+ {
1430
+ "page_id": 4,
1431
+ "text_extraction_method": "surya",
1432
+ "block_counts": [
1433
+ [
1434
+ "Line",
1435
+ 156
1436
+ ],
1437
+ [
1438
+ "Span",
1439
+ 137
1440
+ ],
1441
+ [
1442
+ "Text",
1443
+ 20
1444
+ ],
1445
+ [
1446
+ "Equation",
1447
+ 9
1448
+ ],
1449
+ [
1450
+ "SectionHeader",
1451
+ 5
1452
+ ],
1453
+ [
1454
+ "PageHeader",
1455
+ 1
1456
+ ],
1457
+ [
1458
+ "PageFooter",
1459
+ 1
1460
+ ]
1461
+ ],
1462
+ "block_metadata": {
1463
+ "llm_request_count": 0,
1464
+ "llm_error_count": 0,
1465
+ "llm_tokens_used": 0,
1466
+ "previous_text": "",
1467
+ "previous_type": "",
1468
+ "previous_order": 0
1469
+ }
1470
+ },
1471
+ {
1472
+ "page_id": 5,
1473
+ "text_extraction_method": "pdftext",
1474
+ "block_counts": [
1475
+ [
1476
+ "TableCell",
1477
+ 444
1478
+ ],
1479
+ [
1480
+ "Span",
1481
+ 376
1482
+ ],
1483
+ [
1484
+ "Line",
1485
+ 108
1486
+ ],
1487
+ [
1488
+ "Text",
1489
+ 17
1490
+ ],
1491
+ [
1492
+ "Caption",
1493
+ 3
1494
+ ],
1495
+ [
1496
+ "Table",
1497
+ 2
1498
+ ],
1499
+ [
1500
+ "SectionHeader",
1501
+ 2
1502
+ ],
1503
+ [
1504
+ "Reference",
1505
+ 2
1506
+ ],
1507
+ [
1508
+ "PageHeader",
1509
+ 1
1510
+ ],
1511
+ [
1512
+ "PageFooter",
1513
+ 1
1514
+ ],
1515
+ [
1516
+ "TableGroup",
1517
+ 1
1518
+ ]
1519
+ ],
1520
+ "block_metadata": {
1521
+ "llm_request_count": 0,
1522
+ "llm_error_count": 0,
1523
+ "llm_tokens_used": 0,
1524
+ "previous_text": "",
1525
+ "previous_type": "",
1526
+ "previous_order": 0
1527
+ }
1528
+ },
1529
+ {
1530
+ "page_id": 6,
1531
+ "text_extraction_method": "pdftext",
1532
+ "block_counts": [
1533
+ [
1534
+ "Span",
1535
+ 325
1536
+ ],
1537
+ [
1538
+ "Line",
1539
+ 114
1540
+ ],
1541
+ [
1542
+ "TableCell",
1543
+ 24
1544
+ ],
1545
+ [
1546
+ "Text",
1547
+ 15
1548
+ ],
1549
+ [
1550
+ "SectionHeader",
1551
+ 4
1552
+ ],
1553
+ [
1554
+ "Caption",
1555
+ 3
1556
+ ],
1557
+ [
1558
+ "Reference",
1559
+ 3
1560
+ ],
1561
+ [
1562
+ "Table",
1563
+ 2
1564
+ ],
1565
+ [
1566
+ "PageHeader",
1567
+ 1
1568
+ ],
1569
+ [
1570
+ "Figure",
1571
+ 1
1572
+ ],
1573
+ [
1574
+ "PageFooter",
1575
+ 1
1576
+ ],
1577
+ [
1578
+ "FigureGroup",
1579
+ 1
1580
+ ],
1581
+ [
1582
+ "TableGroup",
1583
+ 1
1584
+ ]
1585
+ ],
1586
+ "block_metadata": {
1587
+ "llm_request_count": 0,
1588
+ "llm_error_count": 0,
1589
+ "llm_tokens_used": 0,
1590
+ "previous_text": "",
1591
+ "previous_type": "",
1592
+ "previous_order": 0
1593
+ }
1594
+ },
1595
+ {
1596
+ "page_id": 7,
1597
+ "text_extraction_method": "pdftext",
1598
+ "block_counts": [
1599
+ [
1600
+ "Span",
1601
+ 370
1602
+ ],
1603
+ [
1604
+ "Line",
1605
+ 125
1606
+ ],
1607
+ [
1608
+ "TableCell",
1609
+ 96
1610
+ ],
1611
+ [
1612
+ "Text",
1613
+ 6
1614
+ ],
1615
+ [
1616
+ "Caption",
1617
+ 4
1618
+ ],
1619
+ [
1620
+ "SectionHeader",
1621
+ 4
1622
+ ],
1623
+ [
1624
+ "Reference",
1625
+ 4
1626
+ ],
1627
+ [
1628
+ "Table",
1629
+ 3
1630
+ ],
1631
+ [
1632
+ "PageHeader",
1633
+ 2
1634
+ ],
1635
+ [
1636
+ "TableGroup",
1637
+ 2
1638
+ ],
1639
+ [
1640
+ "Figure",
1641
+ 1
1642
+ ],
1643
+ [
1644
+ "PageFooter",
1645
+ 1
1646
+ ],
1647
+ [
1648
+ "FigureGroup",
1649
+ 1
1650
+ ]
1651
+ ],
1652
+ "block_metadata": {
1653
+ "llm_request_count": 0,
1654
+ "llm_error_count": 0,
1655
+ "llm_tokens_used": 0,
1656
+ "previous_text": "",
1657
+ "previous_type": "",
1658
+ "previous_order": 0
1659
+ }
1660
+ },
1661
+ {
1662
+ "page_id": 8,
1663
+ "text_extraction_method": "pdftext",
1664
+ "block_counts": [
1665
+ [
1666
+ "Span",
1667
+ 333
1668
+ ],
1669
+ [
1670
+ "Line",
1671
+ 150
1672
+ ],
1673
+ [
1674
+ "ListItem",
1675
+ 18
1676
+ ],
1677
+ [
1678
+ "Reference",
1679
+ 17
1680
+ ],
1681
+ [
1682
+ "SectionHeader",
1683
+ 2
1684
+ ],
1685
+ [
1686
+ "Text",
1687
+ 2
1688
+ ],
1689
+ [
1690
+ "ListGroup",
1691
+ 2
1692
+ ],
1693
+ [
1694
+ "PageHeader",
1695
+ 1
1696
+ ],
1697
+ [
1698
+ "PageFooter",
1699
+ 1
1700
+ ]
1701
+ ],
1702
+ "block_metadata": {
1703
+ "llm_request_count": 0,
1704
+ "llm_error_count": 0,
1705
+ "llm_tokens_used": 0,
1706
+ "previous_text": "",
1707
+ "previous_type": "",
1708
+ "previous_order": 0
1709
+ }
1710
+ },
1711
+ {
1712
+ "page_id": 9,
1713
+ "text_extraction_method": "pdftext",
1714
+ "block_counts": [
1715
+ [
1716
+ "Span",
1717
+ 178
1718
+ ],
1719
+ [
1720
+ "Line",
1721
+ 79
1722
+ ],
1723
+ [
1724
+ "Text",
1725
+ 12
1726
+ ],
1727
+ [
1728
+ "ListItem",
1729
+ 9
1730
+ ],
1731
+ [
1732
+ "Reference",
1733
+ 9
1734
+ ],
1735
+ [
1736
+ "PageHeader",
1737
+ 1
1738
+ ],
1739
+ [
1740
+ "PageFooter",
1741
+ 1
1742
+ ],
1743
+ [
1744
+ "ListGroup",
1745
+ 1
1746
+ ]
1747
+ ],
1748
+ "block_metadata": {
1749
+ "llm_request_count": 0,
1750
+ "llm_error_count": 0,
1751
+ "llm_tokens_used": 0,
1752
+ "previous_text": "",
1753
+ "previous_type": "",
1754
+ "previous_order": 0
1755
+ }
1756
+ },
1757
+ {
1758
+ "page_id": 10,
1759
+ "text_extraction_method": "pdftext",
1760
+ "block_counts": [
1761
+ [
1762
+ "Span",
1763
+ 467
1764
+ ],
1765
+ [
1766
+ "Line",
1767
+ 97
1768
+ ],
1769
+ [
1770
+ "Text",
1771
+ 17
1772
+ ],
1773
+ [
1774
+ "ListItem",
1775
+ 6
1776
+ ],
1777
+ [
1778
+ "SectionHeader",
1779
+ 4
1780
+ ],
1781
+ [
1782
+ "Equation",
1783
+ 4
1784
+ ],
1785
+ [
1786
+ "PageHeader",
1787
+ 1
1788
+ ],
1789
+ [
1790
+ "PageFooter",
1791
+ 1
1792
+ ],
1793
+ [
1794
+ "ListGroup",
1795
+ 1
1796
+ ],
1797
+ [
1798
+ "Reference",
1799
+ 1
1800
+ ]
1801
+ ],
1802
+ "block_metadata": {
1803
+ "llm_request_count": 0,
1804
+ "llm_error_count": 0,
1805
+ "llm_tokens_used": 0,
1806
+ "previous_text": "",
1807
+ "previous_type": "",
1808
+ "previous_order": 0
1809
+ }
1810
+ },
1811
+ {
1812
+ "page_id": 11,
1813
+ "text_extraction_method": "surya",
1814
+ "block_counts": [
1815
+ [
1816
+ "Line",
1817
+ 164
1818
+ ],
1819
+ [
1820
+ "Span",
1821
+ 109
1822
+ ],
1823
+ [
1824
+ "Text",
1825
+ 47
1826
+ ],
1827
+ [
1828
+ "SectionHeader",
1829
+ 5
1830
+ ],
1831
+ [
1832
+ "Equation",
1833
+ 4
1834
+ ],
1835
+ [
1836
+ "PageHeader",
1837
+ 1
1838
+ ],
1839
+ [
1840
+ "PageFooter",
1841
+ 1
1842
+ ],
1843
+ [
1844
+ "Reference",
1845
+ 1
1846
+ ]
1847
+ ],
1848
+ "block_metadata": {
1849
+ "llm_request_count": 0,
1850
+ "llm_error_count": 0,
1851
+ "llm_tokens_used": 0,
1852
+ "previous_text": "",
1853
+ "previous_type": "",
1854
+ "previous_order": 0
1855
+ }
1856
+ },
1857
+ {
1858
+ "page_id": 12,
1859
+ "text_extraction_method": "pdftext",
1860
+ "block_counts": [
1861
+ [
1862
+ "Span",
1863
+ 272
1864
+ ],
1865
+ [
1866
+ "Line",
1867
+ 78
1868
+ ],
1869
+ [
1870
+ "Text",
1871
+ 8
1872
+ ],
1873
+ [
1874
+ "PageHeader",
1875
+ 1
1876
+ ],
1877
+ [
1878
+ "SectionHeader",
1879
+ 1
1880
+ ],
1881
+ [
1882
+ "Figure",
1883
+ 1
1884
+ ],
1885
+ [
1886
+ "Caption",
1887
+ 1
1888
+ ],
1889
+ [
1890
+ "PageFooter",
1891
+ 1
1892
+ ],
1893
+ [
1894
+ "FigureGroup",
1895
+ 1
1896
+ ],
1897
+ [
1898
+ "Reference",
1899
+ 1
1900
+ ]
1901
+ ],
1902
+ "block_metadata": {
1903
+ "llm_request_count": 0,
1904
+ "llm_error_count": 0,
1905
+ "llm_tokens_used": 0,
1906
+ "previous_text": "",
1907
+ "previous_type": "",
1908
+ "previous_order": 0
1909
+ }
1910
+ },
1911
+ {
1912
+ "page_id": 13,
1913
+ "text_extraction_method": "pdftext",
1914
+ "block_counts": [
1915
+ [
1916
+ "Span",
1917
+ 171
1918
+ ],
1919
+ [
1920
+ "Line",
1921
+ 48
1922
+ ],
1923
+ [
1924
+ "Text",
1925
+ 11
1926
+ ],
1927
+ [
1928
+ "Figure",
1929
+ 2
1930
+ ],
1931
+ [
1932
+ "Caption",
1933
+ 2
1934
+ ],
1935
+ [
1936
+ "FigureGroup",
1937
+ 2
1938
+ ],
1939
+ [
1940
+ "PageHeader",
1941
+ 1
1942
+ ],
1943
+ [
1944
+ "PageFooter",
1945
+ 1
1946
+ ]
1947
+ ],
1948
+ "block_metadata": {
1949
+ "llm_request_count": 0,
1950
+ "llm_error_count": 0,
1951
+ "llm_tokens_used": 0,
1952
+ "previous_text": "",
1953
+ "previous_type": "",
1954
+ "previous_order": 0
1955
+ }
1956
+ },
1957
+ {
1958
+ "page_id": 14,
1959
+ "text_extraction_method": "pdftext",
1960
+ "block_counts": [
1961
+ [
1962
+ "Span",
1963
+ 248
1964
+ ],
1965
+ [
1966
+ "Line",
1967
+ 86
1968
+ ],
1969
+ [
1970
+ "TableCell",
1971
+ 48
1972
+ ],
1973
+ [
1974
+ "SectionHeader",
1975
+ 12
1976
+ ],
1977
+ [
1978
+ "Text",
1979
+ 12
1980
+ ],
1981
+ [
1982
+ "ListItem",
1983
+ 6
1984
+ ],
1985
+ [
1986
+ "Reference",
1987
+ 3
1988
+ ],
1989
+ [
1990
+ "Caption",
1991
+ 2
1992
+ ],
1993
+ [
1994
+ "Table",
1995
+ 2
1996
+ ],
1997
+ [
1998
+ "TableGroup",
1999
+ 2
2000
+ ],
2001
+ [
2002
+ "ListGroup",
2003
+ 2
2004
+ ],
2005
+ [
2006
+ "PageHeader",
2007
+ 1
2008
+ ],
2009
+ [
2010
+ "PageFooter",
2011
+ 1
2012
+ ]
2013
+ ],
2014
+ "block_metadata": {
2015
+ "llm_request_count": 0,
2016
+ "llm_error_count": 0,
2017
+ "llm_tokens_used": 0,
2018
+ "previous_text": "",
2019
+ "previous_type": "",
2020
+ "previous_order": 0
2021
+ }
2022
+ },
2023
+ {
2024
+ "page_id": 15,
2025
+ "text_extraction_method": "pdftext",
2026
+ "block_counts": [
2027
+ [
2028
+ "Span",
2029
+ 153
2030
+ ],
2031
+ [
2032
+ "Line",
2033
+ 74
2034
+ ],
2035
+ [
2036
+ "Text",
2037
+ 4
2038
+ ],
2039
+ [
2040
+ "PageHeader",
2041
+ 1
2042
+ ],
2043
+ [
2044
+ "Figure",
2045
+ 1
2046
+ ],
2047
+ [
2048
+ "Caption",
2049
+ 1
2050
+ ],
2051
+ [
2052
+ "SectionHeader",
2053
+ 1
2054
+ ],
2055
+ [
2056
+ "PageFooter",
2057
+ 1
2058
+ ],
2059
+ [
2060
+ "FigureGroup",
2061
+ 1
2062
+ ],
2063
+ [
2064
+ "Reference",
2065
+ 1
2066
+ ]
2067
+ ],
2068
+ "block_metadata": {
2069
+ "llm_request_count": 0,
2070
+ "llm_error_count": 0,
2071
+ "llm_tokens_used": 0,
2072
+ "previous_text": "",
2073
+ "previous_type": "",
2074
+ "previous_order": 0
2075
+ }
2076
+ }
2077
+ ],
2078
+ "debug_data_path": "debug_data/9346049b-7104-494c-9378-955a2d7393ed"
2079
+ }
icml26/9346049b-7104-494c-9378-955a2d7393ed/model_text_v3.txt ADDED
@@ -0,0 +1,284 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [p. 1 | section: Abstract | type: Text]
2
+ Pre-training data detection for LLMs is essential for addressing copyright concerns and mitigating benchmark contamination. Existing methods mainly focus on the likelihood-based statistical features or heuristic signals before and after finetuning, but the former are susceptible to word frequency bias in corpora, and the latter strongly depend on the similarity of fine-tuning data. From an optimization perspective, we observe that during training, samples transition from unfamiliar to familiar in a manner reflected by systematic differences in gradient behavior. Familiar samples exhibit smaller update magnitudes, distinct update locations in model components, and more sharply activated neurons. Based on this insight, we propose GDS, a method that identifies pre-training data by probing Gradient Deviation Scores of target samples. Specifically, we first represent each sample using gradient profiles that capture the magnitude, location, and concentration of parameter updates across FFN and Attention modules, revealing consistent distinctions between member and non-member data. These features are then fed into a lightweight classifier to perform binary membership inference. Experiments on five public datasets show that GDS achieves state-ofthe-art performance with significantly improved cross-dataset transferability over strong baselines. Further interpretability analyse show gradient feature distribution differences, enabling practical and scalable pre-training data detection.
3
+
4
+ [p. 1 | section: 1. Introduction | type: Text]
5
+ Large language models (LLMs) performance scales with the size and quality of pre-training data (Kaplan et al., 2020) .
6
+
7
+ [p. 1 | section: 1. Introduction | type: FigureGroup]
8
+ Figure 1. Heat maps of gradient matrices from the unfamiliar stage (epochs 0–1, panels a, c) to the familiar stage (epochs 6–7, panels b, d). Panels a and b display the update magnitude of the FFN module in layer 30, while panels c and d illustrate the update positions, with white for sparse and blue for core updates.
9
+
10
+ [p. 1 | section: 1. Introduction | type: Text]
11
+ As pre-training corpora expand to trillions of tokens and become increasingly proprietary and non-transparent, they raise significant concerns, such as unauthorized copyright, biased or harmful content, and contamination of evaluation benchmarks (Balloccu et al., 2024; Grynbaum & Mac, 2023) . These challenges motivate a specialized task of membership inference attacks, named pre-training data detection: determining whether a given text sample was included in a model's pre-training corpus (Carlini et al., 2021) .
12
+
13
+ [p. 1 | section: 1. Introduction | type: Text]
14
+ Recent studies (Carlini et al., 2021; Li; Shi et al., 2024; Zhang et al., 2025) primarily use likelihood-based statistical features to detect pre-training samples. For example, the Min-K method (Shi et al., 2024; Zhang et al., 2025) examines the k% of tokens with the lowest predicted probabilities, assuming non-member texts contain more low-likelihood tokens. However, these approaches are susceptible to word frequency bias in pre-training corpora, specifically for rare words or short texts scenarios. To improve detection accuracy, other researchers (Zhang et al.; Choi et al.) propose to analyze heuristic signals before and after fine-tuning, leveraging the fact that fine-tuning impacts member and non-member samples differently. For example, KDS (Choi et al.) shows that non-member datasets exhibit much larger embedding changes, while FSD (Zhang et al.) finds that their loss reductions are also significantly greater. Neverthe-
15
+
16
+ [p. 2 | section: 1. Introduction | type: Text]
17
+ less, these methods rely on the strong assumption that finetuning data closely match the target samples' distribution, requiring additional training on similar non-member data and thereby limiting cross-dataset generalization. Therefore, how to achieve highly generalizable pre-training data detection remains an open problem.
18
+
19
+ [p. 2 | section: 1. Introduction | type: Text]
20
+ Pretraining can be viewed as a gradual shift from unfamiliarity to familiarity with data. Optimization theory (Ruder, 2016; Frankle et al.; Wang et al., 2024) suggests that training drives parameters toward data-specific structure, reflected in consistent update patterns across magnitude, location, and concentration. As shown in Figure 1 and Section 3, we observe the following trends:
21
+
22
+ [p. 2 | section: 1. Introduction | type: ListGroup]
23
+ 1. Decay of update magnitude. Figure 1( a,b) shows that parameter updates are strongly attenuated as data grows familiar, consistent with loss-convergence theory (Bottou, 2010; Ruder, 2016) . 2. Gradually stabilizing of update locations. Figure 1( c,d) shows that parameter updates evolve from broad activation regions to a stable core set of neurons, consistent with the sparse activation behavior of LLMs (Liu et al., 2024) . 3. Increasing update sparsity. Figure 1( a,b) and Figures 2( b,c) show that during training, an increasing fraction of updates concentrates in the top 10% of neurons, consistent with Hessian spectrum reshaping during loss convergence (Gur-Ari et al., 2018) . Familiar data yields sparse, concentrated updates, whereas unfamiliar data leads to more distributed updates.
24
+
25
+ [p. 2 | section: 1. Introduction | type: Text]
26
+ These observations reflect the evolutionary dynamics of neural network training, highlighting phase differences in parameter updates induced by identical samples. Together, they offer both theoretical motivation and empirical support for our detection method based on gradient deviation scores.
27
+
28
+ [p. 2 | section: 1. Introduction | type: Text]
29
+ Based on this insight, we propose GDS, a novel pretraining data detection method that infers pre-training data by probing Gradient Deviation Scores of target samples without fine-tuning. GDS exploits gradient differences between member and non-member samples to train a lightweight classifier with strong generalization. Specifically, within the LoRA framework, we collect per-sample gradients across layers during backpropagation, encoding them as eightdimensional features that capture the magnitude, location, and concentration of updates in attention and FFN modules. Compared to non-members, member samples show smaller matrix-level and row-wise update magnitudes, lower FFN but higher attention eccentricity, greater variability in matrixlevel and row-wise updates, a higher share of top gradients, and fewer sparse neurons. Then, we extract discriminative
30
+
31
+ [p. 2 | section: 1. Introduction | type: Text]
32
+ statistics from the signals to build fixed-dimensional feature vectors, which are fed to a lightweight MLP for binary membership classification.
33
+
34
+ [p. 2 | section: 1. Introduction | type: Text]
35
+ Extensive experiments on five benchmark datasets show that GDS is effective and generalizable, improving AUC by 6.5% and achieving a 67.3% TPR@5%FPR, substantially outperforming strong baselines. Further interpretability analyses reveal distributional differences in gradient features between member and non-member samples, offering intuitive evidence of training data imprints on the model and validating our methodology. 1 Our contributions are as follows:
36
+
37
+ [p. 2 | section: 1. Introduction | type: ListGroup]
38
+ From a training optimization perspective, we analyze how LLMs evolve from unfamiliarity to familiarity with data and propose using stage-wise parameter update dynamics to identify pretraining data, offering a novel direction to solve this task. We propose gradient deviation features capturing magnitude, location, and concentration, and introduce a gradient deviation score–based method for pretraining data detection without fine-tuning. Extensive experiments across diverse datasets and backbone models validate the effectiveness and generalization of GDS, while interpretability analyses reveal clear gradient differences between member and nonmember samples, supporting its validity.
39
+
40
+ [p. 2 | section: 2. Related Work | type: Text]
41
+ Likelihood-Based Scoring Methods. Early works distinguish member and non-member samples by capturing static statistical metrics in token-level likelihood distributions. Global-likelihood–based methods, such as PPL (Li) , Zlib (Carlini et al., 2021) , and Lowercase (Carlini et al., 2021) , perform discrimination by exploiting global probability features, compression entropy, and case-conversion ratios. However, global likelihood is highly sensitive to wordfrequency effects, leading to unstable performance. Mink% (Shi et al., 2024) and Min-k%++ (Zhang et al., 2025) mitigate global dependence by focusing on low-probability outlier tokens or target–candidate probability comparisons, with k and text length jointly determining the analyzed token subset. However, the fixed choice of k lacks adaptivity, causing severe score fluctuations in short texts with lowfrequency words. Although PC-PDD (Zhang et al., 2024) approximates the word-frequency distribution of pretraining corpora using public datasets, these references lack fidelity due to limited domain coverage.
42
+
43
+ [p. 2 | section: 2. Related Work | type: Text]
44
+ Fine-tuning Enhanced Methods. To address the instability of static statistical indicators, recent studies (Zhang et al.;
45
+
46
+ [p. 2 | section: 2. Related Work | type: Footnote]
47
+ 1 Code in
48
+
49
+ [p. 3 | section: 2. Related Work | type: FigureGroup]
50
+ Figure 2. Dynamic curves of four parameter update characteristics defined in the Motivation section. i → j denotes the epoch interval. Ordinate shows values of predefined characteristics, with orange and blue representing Attention and FFN modules.
51
+
52
+ [p. 3 | section: 2. Related Work | type: Text]
53
+ Choi et al.) adopt lightweight fine-tuning to actively amplify asymmetric differences between member and non-member samples. KDS (Choi et al.) evaluates dataset contamination by comparing kernel similarity matrices of embeddings before and after fine-tuning, assuming non-member datasets undergo larger embedding changes than member datasets. However, it only estimates dataset-level contamination and cannot reliably detect contamination at the sample-level. Another representative method FSD (Zhang et al.) detects membership by comparing loss before and after fine-tuning, assuming non-member samples experience a larger loss reduction than member samples. Nevertheless, these methods assume that fine-tuning data closely matches the target distribution, requiring additional tuning on similar non-member data, which limits cross-dataset generalization.
54
+
55
+ [p. 3 | section: 3. Motivation | type: Text]
56
+ Inspired by optimization theory (Ruder, 2016; Bottou, 2010) , we examine how LLMs transition from unfamiliarity to familiarity with data, and how this cognitive shift relates to the dynamic evolution of model parameters during training. To evaluate it, we fine-tune LLaMA-7B with LoRA on the unseen split of BookMIA dataset and track LoRA parameter updates over 7 epochs. Stage-wise analysis in Figure 2 reveals the dynamic evolution of gradient features.
57
+
58
+ [p. 3 | section: 3.1. Decay of Update Magnitude | type: Text]
59
+ Model training aims to minimize the loss function L(θ), with update magnitude determined by the gradient norm ∥∇L(θ)∥. According to optimization convergence theory (Ruder, 2016) , as the parameters θ t approach the optimum θ ∗ , the gradient norm of the loss function vanishes, i.e.,limθ→ θ ∗ ∥∇L(θt)∥ = 0. This causes the parameter update magnitude to decrease synchronously. Therefore, we use ∆θ t as the core indicator of the average update magnitude across all trainable parameters at iteration t:
60
+
61
+ [p. 3 | section: 3.1. Decay of Update Magnitude | type: Equation]
62
+ \Delta \theta_{t} = \frac{1}{N} \sum_{i=1}^{N} |\theta_{t,i} - \theta_{t-1,i}|, \qquad (1)
63
+
64
+ [p. 3 | section: 3.1. Decay of Update Magnitude | type: Text]
65
+ where N denotes the total number of trainable parameters.
66
+
67
+ [p. 3 | section: 3.1. Decay of Update Magnitude | type: Text]
68
+ As training progresses, both the loss L(θt) and gradient norm ∥∇L(θt)∥ decrease, reducing the update magnitude ∆θ t and slowing its decay as parameters converge to the optimum θ ∗ . Eventually, L(θt) stabilizes near its minimum, parameter updates ∆θ t become negligible. As shown in Figure 2a, the mean update magnitude decreases monotonically with training, with the largest changes occurring in the first two epochs, consistent with loss convergence.
69
+
70
+ [p. 3 | section: 3.2. Gradually Stabilizing of Update Locations | type: Text]
71
+ Existing studies (Liu et al., 2024; Tang et al., 2025) have shown that neural activations occur at different locations when processing member samples and non-member samples. Inspired by this, we adopt the parameter update eccentricity as the core indicator, which quantifies the deviation of the top-10% parameter update positions from the global parameter centroid. We first define the global centroid as:
72
+
73
+ [p. 3 | section: 3.2. Gradually Stabilizing of Update Locations | type: Equation]
74
+ \theta_c = \frac{1}{N} \sum_{i=1}^{N} \theta_i, \tag{2}
75
+
76
+ [p. 3 | section: 3.2. Gradually Stabilizing of Update Locations | type: Text]
77
+ where θ i is the coordinate of the i-th parameter.
78
+
79
+ [p. 3 | section: 3.2. Gradually Stabilizing of Update Locations | type: Text]
80
+ The update eccentricity at iteration t is then defined as:
81
+
82
+ [p. 3 | section: 3.2. Gradually Stabilizing of Update Locations | type: Equation]
83
+ E_{t} = \frac{1}{\operatorname{card}(U_{10,t})} \sum_{\theta_{i} \in U_{10,t}} \|\theta_{i} - \theta_{c}\|_{2}, (3)
84
+
85
+ [p. 3 | section: 3.2. Gradually Stabilizing of Update Locations | type: Text]
86
+ where card(·) denotes the number of elements in a set, U10,t = {∥∆θt,i∥ 1 ∈ Top10%(∥∆θt∥1)}, ∥ · ∥ 1 denotes the ℓ 1 norm and ∥ · ∥ 2 denotes the ℓ 2 norm.
87
+
88
+ [p. 3 | section: 3.2. Gradually Stabilizing of Update Locations | type: Text]
89
+ In the initial training stage, activation patterns are unstable, leading to scattered U10,t and thus random large values of Et. As training proceeds, the model identifies core parameters related to data features: θ t stabilizes to the optimal subset θ ∗ , and U10,t converges to the core parameter region, resulting in E t gradually stabilizing at a low level. Figure 2d shows that the eccentricity of parameter update evolves to a relatively stable value, consistent with the evolution of the
90
+
91
+ [p. 4 | section: 3.2. Gradually Stabilizing of Update Locations | type: FigureGroup]
92
+ Figure 3. Overview of Gradient Deviation Scores method.
93
+
94
+ [p. 4 | section: 3.2. Gradually Stabilizing of Update Locations | type: Text]
95
+ neuron activation pattern, suggesting that training identifies the core parameters and stabilizes updates around them.
96
+
97
+ [p. 4 | section: 3.3. Increasing Update Sparsity | type: Text]
98
+ The Hessian spectrum (Gur-Ari et al., 2018; Frankle et al.) is a core metric characterizing the loss function's curvature, directly determining the direction and efficiency of parameter updates. For the loss function L(θ), its Hessian matrix H(θ) = ∇2L(θ) describes the local curvature of the loss landscape, with eigenvalue decomposition:
99
+
100
+ [p. 4 | section: 3.3. Increasing Update Sparsity | type: Equation]
101
+ \mathcal{H}(\theta) = U\Lambda U^T,\tag{4}
102
+
103
+ [p. 4 | section: 3.3. Increasing Update Sparsity | type: Text]
104
+ where U is the orthogonal eigenvector matrix (principal curvature directions), Λ = diag(λ1, . . . , λd) is the diagonal eigenvalue matrix (curvature magnitudes). During training, the Hessian spectrum changes from an almost uniform λ i ≈ c in the early stage to a late-stage structure with a few large eigenvalues and most near zero.
105
+
106
+ [p. 4 | section: 3.3. Increasing Update Sparsity | type: Text]
107
+ This reshaping leads to concentrated updates, focusing on directions with large eigenvalues while leaving most others nearly unchanged. Consequently, update energy is confined to a small subset of parameters, motivating the selection of two joint indicators. S t measures the fraction of parameters with negligible updates (absolute value < 10 − 6 ) at iteration t, while T10,t measures the fraction of total update magnitude contributed by the top 10% largest updates.
108
+
109
+ [p. 4 | section: 3.3. Increasing Update Sparsity | type: Equation]
110
+ S_t = \frac{\operatorname{card}\left(i \mid |\Delta \theta_{t,i}| < 10^{-6}\right)}{N},\tag{5}
111
+
112
+ [p. 4 | section: 3.3. Increasing Update Sparsity | type: Equation]
113
+ T_{10,t} = \frac{\sum_{|\Delta\theta_{t,i}| \in U_{10,t}} |\Delta\theta_{t,i}|}{||\Delta\theta_t||_1}. (6)
114
+
115
+ [p. 4 | section: 3.3. Increasing Update Sparsity | type: Text]
116
+ As training progresses, parameter updates increasingly concentrate along core directions, with most parameters receiving negligible changes. Consequently, S t gradually
117
+
118
+ [p. 4 | section: 3.3. Increasing Update Sparsity | type: Text]
119
+ increases, while T10,t remains relatively large and stable(0.26–0.27), indicating that update energy is consistently dominated by a small subset of parameters. Figures 2b and 2c confirm this growing sparsity and stable Top 10% contribution, reflecting update energy aggregation driven by Hessian spectrum reshaping. Further details on the variation trends of the three metrics are provided in the appendix B.
120
+
121
+ [p. 4 | section: 4.1. Task Definition | type: Text]
122
+ Given a target text x and a target LLM f θ pre-trained on a corpus D, the goal of pre-training data detection task is to construct a detector h(x, fθ)to determine whether x belongs to D. This task can be formalized as a binary classification problem: h(x, fθ) → {0, 1} where "1" indicates x ∈ D as member and "0" indicates x /∈ D as non-member.
123
+
124
+ [p. 4 | section: 4.1. Task Definition | type: Text]
125
+ As illustrated in Figure 3, GDS comprises three stages: gradient matrix acquisition, feature vector extraction and light Multilayer Perceptron(MLP) training. For each training sample, we perform inference and backpropagation to obtain LoRA gradients across l layers and m sub-modules, yielding l × m gradient matrices G. From these matrices, we extract eight-dimensional features to form a gradient feature vector V l×m×8 , which is used to train a lightweight MLP classifier for binary membership prediction. During inference, the same feature extraction process is applied to a target sample x ∗ , and the resulting feature vector is fed into the trained MLP to produce the final classification result.
126
+
127
+ [p. 4 | section: 4.2. Gradient Matrix Acquisition | type: Text]
128
+ Given the target model f θ and training sample x, we first initialize f θ with LoRA, yielding l × m LoRA matrices L. We then feed a single sample x into f θ for forward
129
+
130
+ [p. 5 | section: 4.2. Gradient Matrix Acquisition | type: Text]
131
+ inference and backpropagation, obtaining LoRA gradient matrices \mathbb{G} = \nabla_{\mathbb{L}} \mathcal{L}_{\text{CLM}}(f_{\theta}(x)) , where \mathcal{L}_{\text{CLM}} denotes the causal language modeling loss of the pre-trained LLM. Since the LoRA_B matrices are fully initialized to zero, a single round of gradient propagation leads to zero gradients for the LoRA_A matrices. Thus, we only collect the gradient matrices of LoRA_B for subsequent processing.
132
+
133
+ [p. 5 | section: 4.3. Feature Vector Extraction | type: Text]
134
+ Given the gradient matrices \mathbb{G} , we extract features based on the three parameter update trends introduced in Section 3.
135
+
136
+ [p. 5 | section: 4.3.1. MAGNITUDE | type: Text]
137
+ We propose two magnitude indicators to measure the overall scale of gradient updates in the LoRA parameter space.
138
+
139
+ [p. 5 | section: 4.3.1. MAGNITUDE | type: Text]
140
+ (1) Absolute Mean : The mean of the absolute values of all elements in the gradient matrix, which characterizes the overall parameter update strength:
141
+
142
+ [p. 5 | section: 4.3.1. MAGNITUDE | type: Equation]
143
+ Abs\_Mean = \frac{1}{r \cdot h} \sum_{i=1}^{r} \sum_{j=1}^{h} |\mathbb{G}_{i,j}|, (7)
144
+
145
+ [p. 5 | section: 4.3.1. MAGNITUDE | type: Text]
146
+ where \mathbb{G}_{i,j} denotes the element in the i -th row and j -th column of the gradient matrix with r rows and h columns.
147
+
148
+ [p. 5 | section: 4.3.1. MAGNITUDE | type: Text]
149
+ (2) Max Row Mean: The mean of each row in the LoRA matrix and take the maximum value, which characterizes the most sample-responsive local optimal response dimension with the largest parameter update magnitude:
150
+
151
+ [p. 5 | section: 4.3.1. MAGNITUDE | type: Equation]
152
+ Row\_Mean\_Max = \max_{1 \le i \le r} \left( \frac{1}{h} \sum_{j=1}^{h} |\mathbb{G}_{i,j}| \right). (8)
153
+
154
+ [p. 5 | section: 4.3.2. Position | type: Text]
155
+ Screen the top 10% of gradient elements by absolute value from \mathbb{G} and calculate their offset from this matrix center, capturing offset characteristics of core gradient positions for (1) Row Eccentricity and (2) Column Eccentricity, respectively:
156
+
157
+ [p. 5 | section: 4.3.2. Position | type: Equation]
158
+ Row\_Ecc = \frac{1}{\operatorname{card}(S)} \sum_{(i,j) \in S} \left| \frac{2i - (r+1)}{r-1} \right|, \quad (9)
159
+
160
+ [p. 5 | section: 4.3.2. Position | type: Equation]
161
+ Col\_Ecc = \frac{1}{\operatorname{card}(S)} \sum_{(i,j) \in S} \left| \frac{2j - (h+1)}{h-1} \right|, \quad (10)
162
+
163
+ [p. 5 | section: 4.3.2. Position | type: Text]
164
+ where S = \{(i,j) \mid |\mathbb{G}_{i,j}| \in \text{Top10\%}(|\mathbb{G}|)\} denotes the set of indices for the top 10% of elements in the gradient matrix \mathbb{G} ranked by absolute gradient value. Top gradients near the center correspond to an eccentricity of 0, while those near the edge correspond to a score of 1.
165
+
166
+ [p. 5 | section: 4.3.3. CONCENTRATION | type: Text]
167
+ We propose four indicators to measure the concentration of gradient distributions.
168
+
169
+ [p. 5 | section: 4.3.3. CONCENTRATION | type: Text]
170
+ (1) Top-10% Ratio : The ratio of the sum of the top 10% largest gradient magnitudes to the total update magnitude of the gradient matrix, which quantifies the contribution ratio of core gradients:
171
+
172
+ [p. 5 | section: 4.3.3. CONCENTRATION | type: Equation]
173
+ 10p\_Ratio = \frac{\sum_{(i,j)\in S} |\mathbb{G}_{i,j}|}{\|\mathbb{G}\|_1}, \tag{11}
174
+
175
+ [p. 5 | section: 4.3.3. CONCENTRATION | type: Text]
176
+ (2) Sparsity : The proportion of gradient elements with absolute values less than 10^{-6} , which quantifies the sparsity degree of gradient distributions:
177
+
178
+ [p. 5 | section: 4.3.3. CONCENTRATION | type: Equation]
179
+ Sparsity = \frac{\operatorname{card}\left(\left\{\left(i,j\right) \mid |\mathbb{G}_{i,j}| < 10^{-6}\right\}\right)}{r \cdot h}. (12)
180
+
181
+ [p. 5 | section: 4.3.3. CONCENTRATION | type: Text]
182
+ (3) Standard Deviation : The standard deviation of the elements in the gradient matrix, which quantifies the dispersion degree of parameter updates:
183
+
184
+ [p. 5 | section: 4.3.3. CONCENTRATION | type: Equation]
185
+ Std = \sqrt{\frac{1}{r \cdot h} \sum_{i=1}^{r} \sum_{j=1}^{h} (|\mathbb{G}_{i,j}| - \text{Abs\_mean})^2}. (13)
186
+
187
+ [p. 5 | section: 4.3.3. CONCENTRATION | type: Text]
188
+ (4) Row Mean Standard Deviation: The mean of each row in the LoRA matrix and take the standard deviation, which quantifies the consistency of update strength across all rows:
189
+
190
+ [p. 5 | section: 4.3.3. CONCENTRATION | type: Equation]
191
+ Row\_Mean\_Std = \sqrt{\frac{1}{r} \sum_{i=1}^{r} \left(\bar{\mathbb{G}}_i - \mu_{\bar{\mathbb{G}}}\right)^2}, \quad (14)
192
+
193
+ [p. 5 | section: 4.3.3. CONCENTRATION | type: Text]
194
+ where \bar{\mathbb{G}}_i = \frac{1}{h} \sum_{j=1}^h |\mathbb{G}_{i,j}| denotes the i -th row's absolute mean, \mu_{\bar{\mathbb{G}}} = \frac{1}{r} \sum_{i=1}^r \bar{\mathbb{G}}_i denotes t the mean of row means.
195
+
196
+ [p. 5 | section: 4.3.3. CONCENTRATION | type: Text]
197
+ We compute the aforementioned eight feature values from all gradient matrices to derive a feature vector \mathbb{V}^{l\times m\times 8} \triangleq [Abs_Mean, Row_Mean_Max, 10p_Ratio, Sparsity, Std, Row_Mean_Std, Row_Ecc, Col_Ecc] per sample, which is then used for subsequent MLP training and inference.
198
+
199
+ [p. 5 | section: 4.4. Light MLP Training | type: Text]
200
+ Given the feature vectors \mathbb{V}_i from all training samples vectors \mathbb{V}_s , we feed them into a lightweight MLP for training. The target output corresponds to the binary label \{0,1\} for each sample, where 0 denotes non-member and 1 denotes member. The training loss is defined as follows:
201
+
202
+ [p. 5 | section: 4.4. Light MLP Training | type: Equation]
203
+ \mathcal{L} = -\frac{1}{N} \sum_{i=1}^{N} \left[ y_i \log \hat{y}_i + (1 - y_i) \log(1 - \hat{y}_i) \right], \quad (15)
204
+
205
+ [p. 5 | section: 4.4. Light MLP Training | type: Text]
206
+ where N denotes the number of training samples, y_i \in \{0,1\} is the ground-truth label of the i-th sample, and \hat{y}_i is the predicted probability output by the MLP.
207
+
208
+ [p. 6 | section: 4.4. Light MLP Training | type: TableGroup]
209
+ Table 1. Comparison(AUROC/TPR@5%FPR) on 4 Datasets across 5 target models. Target models are denoted as 2.7B/6B/6.7B/6.9B/7B, corresponding to Neo-2.7B/GPT-J-6b/OPT-6.7b/Pythia-6.9b/LLaMA-7B respectively. The best result is bold. WikiMIA ArXivTection Method 2.7B 6B 6.7B 6.9B 7B 2.7B 6B 6.7B 6.9B 7B PPL 0.61/0.13 0.64/0.13 0.60/0.12 0.63/0.13 0.69/0.14 0.62/0.13 0.64/0.13 0.60/0.12 0.63/0.13 0.70/0.14 ZLib 0.58/0.10 0.60/0.11 0.58/0.10 0.59/0.10 0.71/0.22 0.58/0.10 0.60/0.11 0.58/0.09 0.59/0.11 0.71/0.22 Min-k 0.65/0.17 0.67/0.19 0.63/0.15 0.67/0.19 0.73/0.18 0.65/0.17 0.68/0.19 0.63/0.15 0.67/0.19 0.72/0.18 Min-k++ 0.67/0.15 0.69/0.19 0.65/0.11 0.70/0.18 0.82/0.22 0.67/0.15 0.69/0.19 0.65/0.10 0.70/0.17 0.83/0.22 FSD 0.92/0.77 0.95/0.78 0.90/0.63 0.90/0.66 0.92/0.41 0.91/0.65 0.96/0.79 0.89/0.63 0.95/0.66 0.94/0.81 Ours 0.90/0.60 0.93/0.66 0.94/0.67 0.92/0.63 0.96/0.84 0.94/0.73 0.97/0.86 0.94/0.75 0.95/0.83 0.97/0.85 BookTection BookMIA Method 2.7B 6B 6.7B 6.9B 7B 2.7B 6B 6.7B 6.9B 7B PPL 0.69/0.15 0.74/0.25 0.64/0.13 0.73/0.25 0.71/0.25 0.29/0.02 0.22/0.13 0.23/0.01 0.59/0.19 0.56/0.21 ZLib 0.56/0.16 0.58/0.20 0.55/0.14 0.58/0.19 0.57/0.19 0.20/0.02 0.38/0.13 0.15/0.00 0.49/0.17 0.48/0.18 Min-k 0.71/0.18 0.75/0.27 0.67/0.15 0.74/0.26 0.71/0.25 0.45/0.05 0.60/0.20 0.40/0.03 0.62/0.20 0.60/0.21 Min-k++ 0.64/0.13 0.67/0.18 0.61/0.11 0.66/0.19 0.63/0.15 0.54/0.13 0.64/0.29 0.49/0.09 0.60/0.23 0.58/0.20 FSD 0.92/0.53 0.91/0.52 0.96/0.77 0.93/0.59 0.92/0.55 0.98/0.93 0.97/0.89 0.98/0.96 0.98/0.93 0.98/0.91 Ours 0.96/0.84 0.97/0.88 0.98/0.92 0.96/0.83 0.98/0.92 0.99/0.98 0.99/0.99 0.99/0.99 0.99/0.98 0.99/0.99 Table 2. Performance Comparison on Mimir datasets with 7 subsets across 5 target models using AUROC scores.
210
+
211
+ [p. 6 | section: 4.4. Light MLP Training | type: Table]
212
+ Wikipedia Github Pile CC PubMed Central Method 2.7B 6B 6.7B 6.9B 7B 2.7B 6B 6.7B 6.9B 7B 2.7B 6B 6.7B 6.9B 7B 2.7B 6B 6.7B 6.9B 7B PPL 0.56 0.57 0.56 0.56 0.56 0.78 0.79 0.78 0.90 0.83 0.56 0.57 0.56 0.56 0.52 0.78 0.79 0.78 0.78 0.72 ZLib 0.62 0.65 0.59 0.65 0.58 0.90 0.91 0.79 0.91 0.86 0.55 0.55 0.55 0.55 0.52 0.78 0.78 0.73 0.77 0.71 Min-k 0.66 0.68 0.65 0.68 0.63 0.88 0.89 0.76 0.90 0.83 0.56 0.57 0.56 0.56 0.52 0.81 0.80 0.74 0.79 0.72 Min-k++ 0.65 0.68 0.60 0.69 0.56 0.84 0.86 0.56 0.86 0.73 0.54 0.55 0.54 0.56 0.51 0.71 0.72 0.60 0.70 0.59 FSD 0.61 0.67 0.60 0.65 0.60 0.77 0.80 0.62 0.77 0.72 0.55 0.55 0.54 0.55 0.52 0.71 0.79 0.63 0.56 0.63 Ours 0.63 0.64 0.65 0.65 0.64 0.90 0.92 0.88 0.92 0.91 0.59 0.59 0.59 0.57 0.59 0.84 0.85 0.84 0.79 0.82 ArXiv DM Mathematics HackerNews Average Method 2.7B 6B 6.7B 6.9B 7B 2.7B 6B 6.7B 6.9B 7B 2.7B 6B 6.7B 6.9B 7B 2.7B 6B 6.7B 6.9B 7B PPL 0.78 0.79 0.65 0.78 0.70 0.78 0.79 0.65 0.91 0.31 0.65 0.62 0.59 0.62 0.59 0.64 0.66 0.62 0.73 0.59 ZLib 0.77 0.78 0.68 0.77 0.71 0.82 0.81 0.80 0.81 0.23 0.68 0.60 0.58 0.60 0.58 0.65 0.67 0.63 0.72 0.58 Min-k 0.78 0.79 0.65 0.78 0.70 0.93 0.93 0.92 0.92 0.32 0.65 0.62 0.59 0.62 0.59 0.71 0.73 0.69 0.75 0.60 Min-k++ 0.60 0.64 0.53 0.70 0.57 0.77 0.79 0.67 0.75 0.22 0.53 0.57 0.51 0.60 0.53 0.60 0.63 0.56 0.67 0.53 FSD 0.72 0.78 0.55 0.70 0.52 0.58 0.85 0.60 0.74 0.53 0.61 0.60 0.57 0.56 0.51 0.61 0.66 0.59 0.62 0.55 Ours 0.78 0.79 0.78 0.78 0.77 0.95 0.95 0.94 0.95 0.95 0.58 0.60 0.60 0.57 0.58 0.73 0.75 0.74 0.76 0.70
213
+
214
+ [p. 6 | section: 5.1. Experimental Setup | type: Text]
215
+ Datasets Following prior work, we evaluate on five prevalent datasets: WikiMIA, BookMIA (Shi et al., 2024) ,ArxivTection, BookTection (Duarte et al.) , and MIMIR (Duan et al.) , a widely recognized challenging benchmark for pretraining data detection.
216
+
217
+ [p. 6 | section: 5.1. Experimental Setup | type: Text]
218
+ Target Models We evaluate five open-source LLMs with diverse architectures: Neo-2.7B (Black et al., 2021) , GPT-J-6B (Wang & Komatsuzaki, 2021) , OPT-6.7B (Zhang et al., 2022) , Pythia-6.9B (Biderman et al., 2023) , and LLaMA-7B (Touvron et al., 2023) from Hugging Face.
219
+
220
+ [p. 6 | section: 5.1. Experimental Setup | type: Text]
221
+ Comparison Methods We select five representative stateof-the-art baselines. Four scoring function–based methods
222
+
223
+ [p. 6 | section: 5.1. Experimental Setup | type: Text]
224
+ include PPL (Carlini et al., 2021) , ZLib (Carlini et al., 2021) , Min-k (Shi et al., 2024) , and Min-k++ (Zhang et al., 2025) . The fine-tuning–enhanced method includes FSD (Zhang et al.) . More details are shown in Appendix A.
225
+
226
+ [p. 6 | section: 5.1. Experimental Setup | type: Text]
227
+ Evaluation Metrics Two metrics evaluate the binary pretraining data detection task: AUROC measures overall discriminative performance, and TPR@5%FPR captures practical effectiveness by assessing detection rate under a 5% false positive constraint.
228
+
229
+ [p. 6 | section: 5.1. Experimental Setup | type: Text]
230
+ Implementation Details We use the PEFT library (Man grulkar et al., 2022) for LoRA-based (Hu et al., 2022) gradient feature extraction without parameter updates. The MLP is trained on 30% of the data, with the remaining 70% used for inference evaluation under FSD settings. More Details can be seen in Appendix A.6.
231
+
232
+ [p. 7 | section: 5.1. Experimental Setup | type: FigureGroup]
233
+ Figure 4. Distribution differences of eight gradient features between member(red) and non-member(blue) samples. Dashed lines indicate distribution means. The x-axis represents feature values, and the y-axis denotes probability density.
234
+
235
+ [p. 7 | section: 5.1. Experimental Setup | type: TableGroup]
236
+ Table 3. Ablation results using AUROC on WikiMIA and Arxiv-Tection. - denotes the removal of related features. Dataset -Magnitude -Concentration -Position WikiMIA 0.94 (↓0.02) 0.94 (↓0.02) 0.93 (↓0.03) ArxivTection 0.96 (↓0.01) 0.95 (↓0.02) 0.95 (↓0.02) Table 4. Ablation results using AUROC and TPR@5%FPR. ATT-Only refers to performance validation using only attention module.
237
+
238
+ [p. 7 | section: 5.1. Experimental Setup | type: Table]
239
+ Dataset ATT-Only FFN-Only Origin WikiMIA 0.94 / 0.68 0.93 / 0.64 0.96 / 0.84 ArxivTection 0.95 / 0.76 0.93 / 0.72 0.97 / 0.85
240
+
241
+ [p. 7 | section: 5.2. Main Results | type: Text]
242
+ Table 1 shows detection performance on WikiMIA, Arxiv-Tection, BookTection, and BookMIA. Specifically, when tested on WikiMIA with LLaMA-7B, GDS achieves an AUC score of 0.96, which is an improvement of 0.04 compared to the best baseline FSD and significantly higher than score-function-based methods such as Min-k++. GDS outperforms the best baseline in most settings, with especially large gains in TPR@5%FPR on BookTection and Book-MIA. Notably, with LLaMA-7B, BookTection performance improves by nearly 67.3%.
243
+
244
+ [p. 7 | section: 5.2. Main Results | type: Text]
245
+ Table 2 reports results on seven MIMIR subsets. Although all methods degrade due to similar data distributions, GDS achieves the best average improvements +2.8%, +2.7%, +7.2%, +1.3%, +16.6% across different models, and shows clear advantages on PubMed Central, DM Mathematics, and GitHub. Using the LLaMA model, the three subsets achieve AUC scores of 0.82, 0.95, and 0.91. Our method shows the most stable performance across models, with AUC variations mostly within 0.04, demonstrating strong generalization across different models.
246
+
247
+ [p. 7 | section: 5.3. Ablation Study | type: Text]
248
+ We perform two ablation studies: (1) removing each gradient feature category individually, and (2) using features from only the Attention or FFN module. Table 3 shows that all feature categories contribute to performance, with Position Offset and Magnitude being the most important. Concentration features have smaller effects, and the full combination performs best, highlighting the complementary nature of multi-dimensional features (see Appendix C for sub-feature ablations). Table 4 shows that Attention features are more discriminative than FFN features. Both single-module variants underperform the full model, indicating that Attention and FFN capture complementary gradient patterns and must be combined for optimal performance.
249
+
250
+ [p. 7 | section: 5.4.1. FEATURE DISTRIBUTION | type: Text]
251
+ To explain the classifier's effectiveness, we quantify feature distributions across all layers and sub-modules for member and non-member samples. Figure 4 shows the eight features with the largest discrepancies. Member samples exhibit smaller Abs Mean and Row Mean Max, indicating lower gradient magnitudes due to higher data familiarity, along with higher Sparsity, smaller Std and Row Mean Std, reflecting more concentrated and stable gradients. They also maintain a consistently higher 10p Ratio, occupying the core of gradient propagation. For locations Row Ecc and Col Ecc, member samples cluster at lower values, while non-members shift higher, suggesting that member-related parameters lie more centrally in weight matrices.
252
+
253
+ [p. 7 | section: 5.4.1. FEATURE DISTRIBUTION | type: Text]
254
+ We collect sub-features with the largest distribution differences between the two sample types and analyze their overall distribution patterns. Figure 5 show that discriminative sub-features are predominantly concentrated in low layers, while middle and high layers contribute far less. Among sub-modules, attention-related modules are the main sources
255
+
256
+ [p. 8 | section: 5.4.1. FEATURE DISTRIBUTION | type: TableGroup]
257
+ Table 5. Performance Comparison between LoRA and Full-Parameter Update using AUROC on WikiMIA and ArxivTection. Dataset Metric LLaMA-7B GPT-J-6B OPT-6.7B Pythia-6.9B Neo-2.7B LoRA Full LoRA Full LoRA Full LoRA Full LoRA Full WikiMIA AUC 0.96 0.96 0.93 0.90 0.94 0.92 0.92 0.89 0.90 0.88 TPR@5% FPR 0.84 0.79 0.66 0.58 0.67 0.56 0.63 0.50 0.60 0.51 ArxivTection AUC 0.97 0.96 0.97 0.96 0.94 0.93 0.95 0.94 0.94 0.94 TPR@5% FPR 0.85 0.84 0.86 0.79 0.75 0.67 0.83 0.73 0.73 0.75
258
+
259
+ [p. 8 | section: 5.4.1. FEATURE DISTRIBUTION | type: FigureGroup]
260
+ Figure 5. Distribution Difference Statistics of Discriminative Features. The y-axis shows the statistical count.
261
+
262
+ [p. 8 | section: 5.4.1. FEATURE DISTRIBUTION | type: Text]
263
+ of discriminative features, with obvious differences in contribution across modules. In terms of gradient features, grad sparsity exhibits the strongest discriminative power, significantly outperforming other indicators.
264
+
265
+ [p. 8 | section: 5.4.2. FULL PARAMETER TRAINING | type: Text]
266
+ In LoRA training, only FFN and MLP modules are updated, while LayerNorm, despite containing meaningful training dynamics, is excluded. To account for this, we evaluate our method under full-parameter training on two small-scale datasets, BookMIA and ArxivTection, for computational feasibility. As shown in Table 5, although full-parameter updates cause a slight performance drop compared to LoRA, our method still outperforms most baselines. We attribute this gap to reduced gradient magnitudes in full training, which weaken discriminative signals between sample types.
267
+
268
+ [p. 8 | section: 5.4.3. WIKIMIA MODIFICATION | type: Text]
269
+ Dataset partitioning can introduce distribution shifts or dataset-specific artifacts. For example, WikiMIA is split by publication time, with all non-member samples labeled as 2023. To ensure our method does not exploit such artifacts, we remove all timestamp tokens and reevaluate all methods. As shown in Table 6, although token removal degrades performance, our method suffers a much smaller drop than the strongest baseline, FSD, and still achieves SOTA results.
270
+
271
+ [p. 8 | section: 5.4.3. WIKIMIA MODIFICATION | type: TableGroup]
272
+ Table 6. Comparison of Temporal Feature Perturbation via AU-ROC. Deletion denotes the removal of all year timestamps. Method Origin Deletion PPL 0.69 0.62 Min-k 0.73 0.63 Min-k++ 0.82 0.59 FSD 0.92 0.76 Ours 0.96 0.84 Table 7. Cross-Dataset Generalization Performance using AU-ROC. Wiki(arXiv) indicates training on ArxivTection with test on WikiMIA, while Mix indicates mixed datasets.
273
+
274
+ [p. 8 | section: 5.4.3. WIKIMIA MODIFICATION | type: Table]
275
+ Method Wiki (arXiv) arXiv (Wiki) Mix FSD 0.52 0.58 0.92 Ours 0.66 0.68 0.95
276
+
277
+ [p. 8 | section: 5.4.4. TRANSFERABILITY | type: Text]
278
+ Although our method shares the same feature extraction framework, it requires dataset-specific classifiers. To examine whether a unified classifier is feasible, we train classifiers on WikiMIA and ArXiv separately and evaluate crossdataset generalization, as well as train a unified classifier on mixed data. Table 7 shows that cross-dataset transfer leads to notable performance degradation due to dataset shifts (e.g., distribution, difficulty, and pre-training differences), which cause classifiers to overfit dataset-specific gradient features. In contrast, the unified classifier performs well on mixed data, indicating that our method can capture universal feature discrepancies arising from model familiarity.
279
+
280
+ [p. 8 | section: 6. Conclusion | type: Text]
281
+ We revisit pre-training data detection from an optimization and training-dynamics perspective and introduce GDS, a fine-tuning–free method for inferring pre-training membership. By analyzing how models transition from unfamiliarity to familiarity, we show that member and non-member samples exhibit stable, interpretable differences in gradient magnitude, location, and concentration across datasets and architectures. Experiments show that GDS is effective and generalizable, outperforming strong baselines. Future work can focus on developing more generalizable detectors by contrastive learning or deeper feature extraction.
282
+
283
+ [p. 9 | section: Limitations | type: Text]
284
+ This work investigates pre-training data detection, a form of membership inference that determines whether a given sample was included in a LLM's pre-training corpus. While our proposed GDS method improves detection accuracy and generalization without fine-tuning, it also raises important ethical concerns. Pre-training data detection methods could be misused to probe proprietary or confidential training corpora, potentially revealing sensitive information about data sources or collection practices. Although GDS does not reconstruct or expose training samples directly, it contributes to capabilities that may be exploited if applied irresponsibly. Our primary motivation is to support transparency, accountability, and safety. As pre-training datasets become increasingly large and opaque, tools like GDS can help researchers, auditors, and regulators verify data usage claims, identify potential copyright violations, and detect benchmark contamination. In this sense, GDS is intended as a diagnostic and auditing mechanism rather than a data extraction attack. We release code and models to promote reproducibility while encouraging responsible deployment. Overall, we hope this work advances trustworthy and transparent large-scale model development while highlighting the need for careful governance of pre-training data.
icml26/9346049b-7104-494c-9378-955a2d7393ed/paper.blocks.json ADDED
The diff for this file is too large to render. See raw diff
 
icml26/9346049b-7104-494c-9378-955a2d7393ed/paper.md ADDED
@@ -0,0 +1,649 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+
3
+ {0}------------------------------------------------
4
+
5
+ # From Unfamiliar to Familiar: Detecting Pre-training Data via Gradient Deviations in Large Language Models
6
+
7
+ ### Anonymous Authors<sup>1</sup>
8
+
9
+ # Abstract
10
+
11
+ Pre-training data detection for LLMs is essential for addressing copyright concerns and mitigating benchmark contamination. Existing methods mainly focus on the likelihood-based statistical features or heuristic signals before and after finetuning, but the former are susceptible to word frequency bias in corpora, and the latter strongly depend on the similarity of fine-tuning data. From an optimization perspective, we observe that during training, samples transition from unfamiliar to familiar in a manner reflected by systematic differences in gradient behavior. Familiar samples exhibit smaller update magnitudes, distinct update locations in model components, and more sharply activated neurons. Based on this insight, we propose GDS, a method that identifies pre-training data by probing Gradient Deviation Scores of target samples. Specifically, we first represent each sample using gradient profiles that capture the magnitude, location, and concentration of parameter updates across FFN and Attention modules, revealing consistent distinctions between member and non-member data. These features are then fed into a lightweight classifier to perform binary membership inference. Experiments on five public datasets show that GDS achieves state-ofthe-art performance with significantly improved cross-dataset transferability over strong baselines. Further interpretability analyse show gradient feature distribution differences, enabling practical and scalable pre-training data detection.
12
+
13
+ # 1. Introduction
14
+
15
+ Large language models (LLMs) performance scales with the size and quality of pre-training data [\(Kaplan et al.,](#page-8-0) [2020\)](#page-8-0).
16
+
17
+ Preliminary work. Under review by the International Conference on Machine Learning (ICML). Do not distribute.
18
+
19
+ <span id="page-0-0"></span>![](_page_0_Figure_9.jpeg)
20
+
21
+ *Figure 1.* Heat maps of gradient matrices from the unfamiliar stage (epochs 0–1, panels a, c) to the familiar stage (epochs 6–7, panels b, d). Panels a and b display the update magnitude of the FFN module in layer 30, while panels c and d illustrate the update positions, with white for sparse and blue for core updates.
22
+
23
+ As pre-training corpora expand to trillions of tokens and become increasingly proprietary and non-transparent, they raise significant concerns, such as unauthorized copyright, biased or harmful content, and contamination of evaluation benchmarks [\(Balloccu et al.,](#page-8-1) [2024;](#page-8-1) [Grynbaum & Mac,](#page-8-2) [2023\)](#page-8-2). These challenges motivate a specialized task of membership inference attacks, named pre-training data detection: determining whether a given text sample was included in a model's pre-training corpus [\(Carlini et al.,](#page-8-3) [2021\)](#page-8-3).
24
+
25
+ Recent studies [\(Carlini et al.,](#page-8-3) [2021;](#page-8-3) [Li;](#page-8-4) [Shi et al.,](#page-9-0) [2024;](#page-9-0) [Zhang et al.,](#page-9-1) [2025\)](#page-9-1) primarily use likelihood-based statistical features to detect pre-training samples. For example, the Min-K method [\(Shi et al.,](#page-9-0) [2024;](#page-9-0) [Zhang et al.,](#page-9-1) [2025\)](#page-9-1) examines the k% of tokens with the lowest predicted probabilities, assuming non-member texts contain more low-likelihood tokens. However, these approaches are susceptible to word frequency bias in pre-training corpora, specifically for rare words or short texts scenarios. To improve detection accuracy, other researchers [\(Zhang et al.;](#page-9-2) [Choi et al.\)](#page-8-5) propose to analyze heuristic signals before and after fine-tuning, leveraging the fact that fine-tuning impacts member and non-member samples differently. For example, KDS [\(Choi](#page-8-5) [et al.\)](#page-8-5) shows that non-member datasets exhibit much larger embedding changes, while FSD [\(Zhang et al.\)](#page-9-2) finds that their loss reductions are also significantly greater. Neverthe-
26
+
27
+ <sup>1</sup>Anonymous Institution, Anonymous City, Anonymous Region, Anonymous Country. Correspondence to: Anonymous Author <anon.email@domain.com>.
28
+
29
+ {1}------------------------------------------------
30
+
31
+ less, these methods rely on the strong assumption that finetuning data closely match the target samples' distribution, requiring additional training on similar non-member data and thereby limiting cross-dataset generalization. Therefore, how to achieve highly generalizable pre-training data detection remains an open problem.
32
+
33
+ 104
34
+
35
+ 106
36
+
37
+ 108 109 Pretraining can be viewed as a gradual shift from unfamiliarity to familiarity with data. Optimization theory [\(Ruder,](#page-8-6) [2016;](#page-8-6) [Frankle et al.;](#page-8-7) [Wang et al.,](#page-9-3) [2024\)](#page-9-3) suggests that training drives parameters toward data-specific structure, reflected in consistent update patterns across magnitude, location, and concentration. As shown in Figure [1](#page-0-0) and Section [3,](#page-2-0) we observe the following trends:
38
+
39
+ - 1. Decay of update magnitude. Figure [1\(](#page-0-0)a,b) shows that parameter updates are strongly attenuated as data grows familiar, consistent with loss-convergence theory [\(Bottou,](#page-8-8) [2010;](#page-8-8) [Ruder,](#page-8-6) [2016\)](#page-8-6).
40
+ - 2. Gradually stabilizing of update locations. Figure [1\(](#page-0-0)c,d) shows that parameter updates evolve from broad activation regions to a stable core set of neurons, consistent with the sparse activation behavior of LLMs [\(Liu et al.,](#page-8-9) [2024\)](#page-8-9).
41
+ - 3. Increasing update sparsity. Figure [1\(](#page-0-0)a,b) and Figures [2\(](#page-2-1)b,c) show that during training, an increasing fraction of updates concentrates in the top 10% of neurons, consistent with Hessian spectrum reshaping during loss convergence [\(Gur-Ari et al.,](#page-8-10) [2018\)](#page-8-10). Familiar data yields sparse, concentrated updates, whereas unfamiliar data leads to more distributed updates.
42
+
43
+ These observations reflect the evolutionary dynamics of neural network training, highlighting phase differences in parameter updates induced by identical samples. Together, they offer both theoretical motivation and empirical support for our detection method based on gradient deviation scores.
44
+
45
+ Based on this insight, we propose GDS, a novel pretraining data detection method that infers pre-training data by probing Gradient Deviation Scores of target samples without fine-tuning. GDS exploits gradient differences between member and non-member samples to train a lightweight classifier with strong generalization. Specifically, within the LoRA framework, we collect per-sample gradients across layers during backpropagation, encoding them as eightdimensional features that capture the magnitude, location, and concentration of updates in attention and FFN modules. Compared to non-members, member samples show smaller matrix-level and row-wise update magnitudes, lower FFN but higher attention eccentricity, greater variability in matrixlevel and row-wise updates, a higher share of top gradients, and fewer sparse neurons. Then, we extract discriminative
46
+
47
+ statistics from the signals to build fixed-dimensional feature vectors, which are fed to a lightweight MLP for binary membership classification.
48
+
49
+ Extensive experiments on five benchmark datasets show that GDS is effective and generalizable, improving AUC by 6.5% and achieving a 67.3% TPR@5%FPR, substantially outperforming strong baselines. Further interpretability analyses reveal distributional differences in gradient features between member and non-member samples, offering intuitive evidence of training data imprints on the model and validating our methodology. [1](#page-1-0) Our contributions are as follows:
50
+
51
+ - From a training optimization perspective, we analyze how LLMs evolve from unfamiliarity to familiarity with data and propose using stage-wise parameter update dynamics to identify pretraining data, offering a novel direction to solve this task.
52
+ - We propose gradient deviation features capturing magnitude, location, and concentration, and introduce a gradient deviation score–based method for pretraining data detection without fine-tuning.
53
+ - Extensive experiments across diverse datasets and backbone models validate the effectiveness and generalization of GDS, while interpretability analyses reveal clear gradient differences between member and nonmember samples, supporting its validity.
54
+
55
+ # 2. Related Work
56
+
57
+ Likelihood-Based Scoring Methods. Early works distinguish member and non-member samples by capturing static statistical metrics in token-level likelihood distributions. Global-likelihood–based methods, such as PPL [\(Li\)](#page-8-4), Zlib [\(Carlini et al.,](#page-8-3) [2021\)](#page-8-3), and Lowercase [\(Carlini et al.,](#page-8-3) [2021\)](#page-8-3), perform discrimination by exploiting global probability features, compression entropy, and case-conversion ratios. However, global likelihood is highly sensitive to wordfrequency effects, leading to unstable performance. Mink% [\(Shi et al.,](#page-9-0) [2024\)](#page-9-0) and Min-k%++ [\(Zhang et al.,](#page-9-1) [2025\)](#page-9-1) mitigate global dependence by focusing on low-probability outlier tokens or target–candidate probability comparisons, with k and text length jointly determining the analyzed token subset. However, the fixed choice of k lacks adaptivity, causing severe score fluctuations in short texts with lowfrequency words. Although PC-PDD [\(Zhang et al.,](#page-9-4) [2024\)](#page-9-4) approximates the word-frequency distribution of pretraining corpora using public datasets, these references lack fidelity due to limited domain coverage.
58
+
59
+ Fine-tuning Enhanced Methods. To address the instability of static statistical indicators, recent studies [\(Zhang et al.;](#page-9-2)
60
+
61
+ <span id="page-1-0"></span><sup>1</sup>Code in https://github.com/kiky-space/icml-pdd
62
+
63
+ {2}------------------------------------------------
64
+
65
+ <span id="page-2-1"></span>![](_page_2_Figure_1.jpeg)
66
+
67
+ *Figure 2.* Dynamic curves of four parameter update characteristics defined in the Motivation section. i → j denotes the epoch interval. Ordinate shows values of predefined characteristics, with orange and blue representing Attention and FFN modules.
68
+
69
+ [Choi et al.\)](#page-8-5) adopt lightweight fine-tuning to actively amplify asymmetric differences between member and non-member samples. KDS [\(Choi et al.\)](#page-8-5) evaluates dataset contamination by comparing kernel similarity matrices of embeddings before and after fine-tuning, assuming non-member datasets undergo larger embedding changes than member datasets. However, it only estimates dataset-level contamination and cannot reliably detect contamination at the sample-level. Another representative method FSD [\(Zhang et al.\)](#page-9-2) detects membership by comparing loss before and after fine-tuning, assuming non-member samples experience a larger loss reduction than member samples. Nevertheless, these methods assume that fine-tuning data closely matches the target distribution, requiring additional tuning on similar non-member data, which limits cross-dataset generalization.
70
+
71
+ # <span id="page-2-0"></span>3. Motivation
72
+
73
+ 153 154
74
+
75
+ Inspired by optimization theory [\(Ruder,](#page-8-6) [2016;](#page-8-6) [Bottou,](#page-8-8) [2010\)](#page-8-8), we examine how LLMs transition from unfamiliarity to familiarity with data, and how this cognitive shift relates to the dynamic evolution of model parameters during training. To evaluate it, we fine-tune LLaMA-7B with LoRA on the unseen split of BookMIA dataset and track LoRA parameter updates over 7 epochs. Stage-wise analysis in Figure [2](#page-2-1) reveals the dynamic evolution of gradient features.
76
+
77
+ #### 3.1. Decay of Update Magnitude
78
+
79
+ Model training aims to minimize the loss function L(θ), with update magnitude determined by the gradient norm ∥∇L(θ)∥. According to optimization convergence theory [\(Ruder,](#page-8-6) [2016\)](#page-8-6), as the parameters θ<sup>t</sup> approach the optimum θ ∗ , the gradient norm of the loss function vanishes, i.e.,limθ→<sup>θ</sup> <sup>∗</sup> ∥∇L(θt)∥ = 0. This causes the parameter update magnitude to decrease synchronously. Therefore, we use ∆θ<sup>t</sup> as the core indicator of the average update magnitude across all trainable parameters at iteration t:
80
+
81
+ $$\Delta \theta_{t} = \frac{1}{N} \sum_{i=1}^{N} |\theta_{t,i} - \theta_{t-1,i}|, \qquad (1)$$
82
+
83
+ where N denotes the total number of trainable parameters.
84
+
85
+ As training progresses, both the loss L(θt) and gradient norm ∥∇L(θt)∥ decrease, reducing the update magnitude ∆θ<sup>t</sup> and slowing its decay as parameters converge to the optimum θ ∗ . Eventually, L(θt) stabilizes near its minimum, parameter updates ∆θ<sup>t</sup> become negligible. As shown in Figure [2a,](#page-2-1) the mean update magnitude decreases monotonically with training, with the largest changes occurring in the first two epochs, consistent with loss convergence.
86
+
87
+ ### 3.2. Gradually Stabilizing of Update Locations
88
+
89
+ Existing studies [\(Liu et al.,](#page-8-9) [2024;](#page-8-9) [Tang et al.,](#page-9-5) [2025\)](#page-9-5) have shown that neural activations occur at different locations when processing member samples and non-member samples. Inspired by this, we adopt the parameter update eccentricity as the core indicator, which quantifies the deviation of the top-10% parameter update positions from the global parameter centroid. We first define the global centroid as:
90
+
91
+ $$\theta_c = \frac{1}{N} \sum_{i=1}^{N} \theta_i, \tag{2}$$
92
+
93
+ where θ<sup>i</sup> is the coordinate of the i-th parameter.
94
+
95
+ The update eccentricity at iteration t is then defined as:
96
+
97
+ $$E_{t} = \frac{1}{\operatorname{card}(U_{10,t})} \sum_{\theta_{i} \in U_{10,t}} \|\theta_{i} - \theta_{c}\|_{2},$$
98
+ (3)
99
+
100
+ where card(·) denotes the number of elements in a set, U10,t = {∥∆θt,i∥<sup>1</sup> ∈ Top10%(∥∆θt∥1)}, ∥ · ∥<sup>1</sup> denotes the ℓ<sup>1</sup> norm and ∥ · ∥<sup>2</sup> denotes the ℓ<sup>2</sup> norm.
101
+
102
+ In the initial training stage, activation patterns are unstable, leading to scattered U10,t and thus random large values of Et. As training proceeds, the model identifies core parameters related to data features: θ<sup>t</sup> stabilizes to the optimal subset θ ∗ , and U10,t converges to the core parameter region, resulting in E<sup>t</sup> gradually stabilizing at a low level. Figure [2d](#page-2-1) shows that the eccentricity of parameter update evolves to a relatively stable value, consistent with the evolution of the
103
+
104
+ {3}------------------------------------------------
105
+
106
+ 216
107
+
108
+ 218 219
109
+
110
+ <span id="page-3-0"></span>![](_page_3_Figure_2.jpeg)
111
+
112
+ *Figure 3.* Overview of Gradient Deviation Scores method.
113
+
114
+ neuron activation pattern, suggesting that training identifies the core parameters and stabilizes updates around them.
115
+
116
+ #### 3.3. Increasing Update Sparsity
117
+
118
+ The Hessian spectrum [\(Gur-Ari et al.,](#page-8-10) [2018;](#page-8-10) [Frankle et al.\)](#page-8-7) is a core metric characterizing the loss function's curvature, directly determining the direction and efficiency of parameter updates. For the loss function L(θ), its Hessian matrix H(θ) = ∇2L(θ) describes the local curvature of the loss landscape, with eigenvalue decomposition:
119
+
120
+ $$\mathcal{H}(\theta) = U\Lambda U^T,\tag{4}$$
121
+
122
+ where U is the orthogonal eigenvector matrix (principal curvature directions), Λ = diag(λ1, . . . , λd) is the diagonal eigenvalue matrix (curvature magnitudes). During training, the Hessian spectrum changes from an almost uniform λ<sup>i</sup> ≈ c in the early stage to a late-stage structure with a few large eigenvalues and most near zero.
123
+
124
+ This reshaping leads to concentrated updates, focusing on directions with large eigenvalues while leaving most others nearly unchanged. Consequently, update energy is confined to a small subset of parameters, motivating the selection of two joint indicators. S<sup>t</sup> measures the fraction of parameters with negligible updates (absolute value < 10<sup>−</sup><sup>6</sup> ) at iteration t, while T10,t measures the fraction of total update magnitude contributed by the top 10% largest updates.
125
+
126
+ $$S_t = \frac{\operatorname{card}\left(i \mid |\Delta \theta_{t,i}| < 10^{-6}\right)}{N},\tag{5}$$
127
+
128
+ $$T_{10,t} = \frac{\sum_{|\Delta\theta_{t,i}| \in U_{10,t}} |\Delta\theta_{t,i}|}{||\Delta\theta_t||_1}.$$
129
+ (6)
130
+
131
+ As training progresses, parameter updates increasingly concentrate along core directions, with most parameters receiving negligible changes. Consequently, S<sup>t</sup> gradually
132
+
133
+ increases, while T10,t remains relatively large and stable(0.26–0.27), indicating that update energy is consistently dominated by a small subset of parameters. Figures [2b](#page-2-1) and [2c](#page-2-1) confirm this growing sparsity and stable Top 10% contribution, reflecting update energy aggregation driven by Hessian spectrum reshaping. Further details on the variation trends of the three metrics are provided in the appendix [B.](#page-12-0)
134
+
135
+ # 4. Method
136
+
137
+ ### 4.1. Task Definition
138
+
139
+ Given a target text x and a target LLM f<sup>θ</sup> pre-trained on a corpus D, the goal of pre-training data detection task is to construct a detector h(x, fθ)to determine whether x belongs to D. This task can be formalized as a binary classification problem: h(x, fθ) → {0, 1} where "1" indicates x ∈ D as member and "0" indicates x /∈ D as non-member.
140
+
141
+ As illustrated in Figure [3,](#page-3-0) GDS comprises three stages: gradient matrix acquisition, feature vector extraction and light Multilayer Perceptron(MLP) training. For each training sample, we perform inference and backpropagation to obtain LoRA gradients across l layers and m sub-modules, yielding l × m gradient matrices G. From these matrices, we extract eight-dimensional features to form a gradient feature vector V l×m×8 , which is used to train a lightweight MLP classifier for binary membership prediction. During inference, the same feature extraction process is applied to a target sample x ∗ , and the resulting feature vector is fed into the trained MLP to produce the final classification result.
142
+
143
+ #### 4.2. Gradient Matrix Acquisition
144
+
145
+ Given the target model f<sup>θ</sup> and training sample x, we first initialize f<sup>θ</sup> with LoRA, yielding l × m LoRA matrices L. We then feed a single sample x into f<sup>θ</sup> for forward
146
+
147
+ {4}------------------------------------------------
148
+
149
+ inference and backpropagation, obtaining LoRA gradient matrices $\mathbb{G} = \nabla_{\mathbb{L}} \mathcal{L}_{\text{CLM}}(f_{\theta}(x))$ , where $\mathcal{L}_{\text{CLM}}$ denotes the causal language modeling loss of the pre-trained LLM. Since the LoRA\_B matrices are fully initialized to zero, a single round of gradient propagation leads to zero gradients for the LoRA\_A matrices. Thus, we only collect the gradient matrices of LoRA\_B for subsequent processing.
150
+
151
+ #### 4.3. Feature Vector Extraction
152
+
153
+ Given the gradient matrices $\mathbb{G}$ , we extract features based on the three parameter update trends introduced in Section 3.
154
+
155
+ #### 4.3.1. MAGNITUDE
156
+
157
+ We propose two magnitude indicators to measure the overall scale of gradient updates in the LoRA parameter space.
158
+
159
+ (1) **Absolute Mean**: The mean of the absolute values of all elements in the gradient matrix, which characterizes the overall parameter update strength:
160
+
161
+ $$Abs\_Mean = \frac{1}{r \cdot h} \sum_{i=1}^{r} \sum_{j=1}^{h} |\mathbb{G}_{i,j}|,$$
162
+ (7)
163
+
164
+ where $\mathbb{G}_{i,j}$ denotes the element in the *i*-th row and *j*-th column of the gradient matrix with r rows and h columns.
165
+
166
+ (2) Max Row Mean: The mean of each row in the LoRA matrix and take the maximum value, which characterizes the most sample-responsive local optimal response dimension with the largest parameter update magnitude:
167
+
168
+ $$Row\_Mean\_Max = \max_{1 \le i \le r} \left( \frac{1}{h} \sum_{j=1}^{h} |\mathbb{G}_{i,j}| \right).$$
169
+ (8)
170
+
171
+ #### 4.3.2. Position
172
+
173
+ Screen the top 10% of gradient elements by absolute value from $\mathbb{G}$ and calculate their offset from this matrix center, capturing offset characteristics of core gradient positions for (1) Row Eccentricity and (2) Column Eccentricity, respectively:
174
+
175
+ $$Row\_Ecc = \frac{1}{\operatorname{card}(S)} \sum_{(i,j) \in S} \left| \frac{2i - (r+1)}{r-1} \right|, \quad (9)$$
176
+
177
+ $$Col\_Ecc = \frac{1}{\operatorname{card}(S)} \sum_{(i,j) \in S} \left| \frac{2j - (h+1)}{h-1} \right|, \quad (10)$$
178
+
179
+ where $S = \{(i,j) \mid |\mathbb{G}_{i,j}| \in \text{Top10\%}(|\mathbb{G}|)\}$ denotes the set of indices for the top 10% of elements in the gradient matrix $\mathbb{G}$ ranked by absolute gradient value. Top gradients near the center correspond to an eccentricity of 0, while those near the edge correspond to a score of 1.
180
+
181
+ #### 4.3.3. CONCENTRATION
182
+
183
+ We propose four indicators to measure the concentration of gradient distributions.
184
+
185
+ (1) **Top-10% Ratio**: The ratio of the sum of the top 10% largest gradient magnitudes to the total update magnitude of the gradient matrix, which quantifies the contribution ratio of core gradients:
186
+
187
+ $$10p\_Ratio = \frac{\sum_{(i,j)\in S} |\mathbb{G}_{i,j}|}{\|\mathbb{G}\|_1}, \tag{11}$$
188
+
189
+ (2) **Sparsity**: The proportion of gradient elements with absolute values less than $10^{-6}$ , which quantifies the sparsity degree of gradient distributions:
190
+
191
+ $$Sparsity = \frac{\operatorname{card}\left(\left\{\left(i,j\right) \mid |\mathbb{G}_{i,j}| < 10^{-6}\right\}\right)}{r \cdot h}.$$
192
+ (12)
193
+
194
+ (3) **Standard Deviation**: The standard deviation of the elements in the gradient matrix, which quantifies the dispersion degree of parameter updates:
195
+
196
+ $$Std = \sqrt{\frac{1}{r \cdot h} \sum_{i=1}^{r} \sum_{j=1}^{h} (|\mathbb{G}_{i,j}| - \text{Abs\_mean})^2}.$$
197
+ (13)
198
+
199
+ (4) Row Mean Standard Deviation: The mean of each row in the LoRA matrix and take the standard deviation, which quantifies the consistency of update strength across all rows:
200
+
201
+ $$Row\_Mean\_Std = \sqrt{\frac{1}{r} \sum_{i=1}^{r} \left(\bar{\mathbb{G}}_i - \mu_{\bar{\mathbb{G}}}\right)^2}, \quad (14)$$
202
+
203
+ where $\bar{\mathbb{G}}_i = \frac{1}{h} \sum_{j=1}^h |\mathbb{G}_{i,j}|$ denotes the *i*-th row's absolute mean, $\mu_{\bar{\mathbb{G}}} = \frac{1}{r} \sum_{i=1}^r \bar{\mathbb{G}}_i$ denotes t the mean of row means.
204
+
205
+ We compute the aforementioned eight feature values from all gradient matrices to derive a feature vector $\mathbb{V}^{l\times m\times 8}$ $\triangleq$ [Abs\_Mean, Row\_Mean\_Max, 10p\_Ratio, Sparsity, Std, Row\_Mean\_Std, Row\_Ecc, Col\_Ecc] per sample, which is then used for subsequent MLP training and inference.
206
+
207
+ #### 4.4. Light MLP Training
208
+
209
+ Given the feature vectors $\mathbb{V}_i$ from all training samples vectors $\mathbb{V}_s$ , we feed them into a lightweight MLP for training. The target output corresponds to the binary label $\{0,1\}$ for each sample, where 0 denotes non-member and 1 denotes member. The training loss is defined as follows:
210
+
211
+ $$\mathcal{L} = -\frac{1}{N} \sum_{i=1}^{N} \left[ y_i \log \hat{y}_i + (1 - y_i) \log(1 - \hat{y}_i) \right], \quad (15)$$
212
+
213
+ where N denotes the number of training samples, $y_i \in \{0,1\}$ is the ground-truth label of the i-th sample, and $\hat{y}_i$ is the predicted probability output by the MLP.
214
+
215
+ {5}------------------------------------------------
216
+
217
+ 294
218
+
219
+ 296
220
+
221
+ 313 314
222
+
223
+ 316
224
+
225
+ 324
226
+
227
+ 326
228
+
229
+ 328 329
230
+
231
+ <span id="page-5-0"></span>*Table 1.* Comparison(AUROC/TPR@5%FPR) on 4 Datasets across 5 target models. Target models are denoted as 2.7B/6B/6.7B/6.9B/7B, corresponding to Neo-2.7B/GPT-J-6b/OPT-6.7b/Pythia-6.9b/LLaMA-7B respectively. The best result is bold.
232
+
233
+ | | | | WikiMIA | | | | | ArXivTection | | | |
234
+ |--------|-------------------|-----------|-------------|-----------|-----------|-----------|-----------|--------------|-----------|-----------|--|
235
+ | Method | 2.7B | 6B | 6.7B | 6.9B | 7B | 2.7B | 6B | 6.7B | 6.9B | 7B | |
236
+ | PPL | 0.61/0.13 | 0.64/0.13 | 0.60/0.12 | 0.63/0.13 | 0.69/0.14 | 0.62/0.13 | 0.64/0.13 | 0.60/0.12 | 0.63/0.13 | 0.70/0.14 | |
237
+ | ZLib | 0.58/0.10 | 0.60/0.11 | 0.58/0.10 | 0.59/0.10 | 0.71/0.22 | 0.58/0.10 | 0.60/0.11 | 0.58/0.09 | 0.59/0.11 | 0.71/0.22 | |
238
+ | Min-k | 0.65/0.17 | 0.67/0.19 | 0.63/0.15 | 0.67/0.19 | 0.73/0.18 | 0.65/0.17 | 0.68/0.19 | 0.63/0.15 | 0.67/0.19 | 0.72/0.18 | |
239
+ | | Min-k++ 0.67/0.15 | 0.69/0.19 | 0.65/0.11 | 0.70/0.18 | 0.82/0.22 | 0.67/0.15 | 0.69/0.19 | 0.65/0.10 | 0.70/0.17 | 0.83/0.22 | |
240
+ | FSD | 0.92/0.77 | 0.95/0.78 | 0.90/0.63 | 0.90/0.66 | 0.92/0.41 | 0.91/0.65 | 0.96/0.79 | 0.89/0.63 | 0.95/0.66 | 0.94/0.81 | |
241
+ | Ours | 0.90/0.60 | 0.93/0.66 | 0.94/0.67 | 0.92/0.63 | 0.96/0.84 | 0.94/0.73 | 0.97/0.86 | 0.94/0.75 | 0.95/0.83 | 0.97/0.85 | |
242
+ | | | | BookTection | | | BookMIA | | | | | |
243
+ | Method | 2.7B | 6B | 6.7B | 6.9B | 7B | 2.7B | 6B | 6.7B | 6.9B | 7B | |
244
+ | PPL | 0.69/0.15 | 0.74/0.25 | 0.64/0.13 | 0.73/0.25 | 0.71/0.25 | 0.29/0.02 | 0.22/0.13 | 0.23/0.01 | 0.59/0.19 | 0.56/0.21 | |
245
+ | ZLib | 0.56/0.16 | 0.58/0.20 | 0.55/0.14 | 0.58/0.19 | 0.57/0.19 | 0.20/0.02 | 0.38/0.13 | 0.15/0.00 | 0.49/0.17 | 0.48/0.18 | |
246
+ | Min-k | 0.71/0.18 | 0.75/0.27 | 0.67/0.15 | 0.74/0.26 | 0.71/0.25 | 0.45/0.05 | 0.60/0.20 | 0.40/0.03 | 0.62/0.20 | 0.60/0.21 | |
247
+ | | Min-k++ 0.64/0.13 | 0.67/0.18 | 0.61/0.11 | 0.66/0.19 | 0.63/0.15 | 0.54/0.13 | 0.64/0.29 | 0.49/0.09 | 0.60/0.23 | 0.58/0.20 | |
248
+ | FSD | 0.92/0.53 | 0.91/0.52 | 0.96/0.77 | 0.93/0.59 | 0.92/0.55 | 0.98/0.93 | 0.97/0.89 | 0.98/0.96 | 0.98/0.93 | 0.98/0.91 | |
249
+ | Ours | 0.96/0.84 | 0.97/0.88 | 0.98/0.92 | 0.96/0.83 | 0.98/0.92 | 0.99/0.98 | 0.99/0.99 | 0.99/0.99 | 0.99/0.98 | 0.99/0.99 | |
250
+
251
+ *Table 2.* Performance Comparison on Mimir datasets with 7 subsets across 5 target models using AUROC scores.
252
+
253
+ <span id="page-5-1"></span>
254
+
255
+ | | | Wikipedia | | | | Github | | | | Pile CC | | | | PubMed Central | | |
256
+ |-------------------------------------------------------------------------------------------------------------|----|-----------------------------------------------------------------------------------------------------|-----------|---------|----|--------|----------------|---------|----|------------|-----------|---------|----|----------------|-----------|----|
257
+ | Method 2.7B | 6B | | 6.7B 6.9B | 7B 2.7B | 6B | | 6.7B 6.9B | 7B 2.7B | 6B | | 6.7B 6.9B | 7B 2.7B | 6B | | 6.7B 6.9B | 7B |
258
+ | PPL | | 0.56 0.57 0.56 0.56 0.56 0.78 0.79 0.78 0.90 0.83 0.56 0.57 0.56 0.56 0.52 0.78 0.79 0.78 0.78 0.72 | | | | | | | | | | | | | | |
259
+ | ZLib | | 0.62 0.65 0.59 0.65 0.58 0.90 0.91 0.79 0.91 0.86 0.55 0.55 0.55 0.55 0.52 0.78 0.78 0.73 0.77 0.71 | | | | | | | | | | | | | | |
260
+ | Min-k | | 0.66 0.68 0.65 0.68 0.63 0.88 0.89 0.76 0.90 0.83 0.56 0.57 0.56 0.56 0.52 0.81 0.80 0.74 0.79 0.72 | | | | | | | | | | | | | | |
261
+ | Min-k++ 0.65 0.68 0.60 0.69 0.56 0.84 0.86 0.56 0.86 0.73 0.54 0.55 0.54 0.56 0.51 0.71 0.72 0.60 0.70 0.59 | | | | | | | | | | | | | | | | |
262
+ | FSD | | 0.61 0.67 0.60 0.65 0.60 0.77 0.80 0.62 0.77 0.72 0.55 0.55 0.54 0.55 0.52 0.71 0.79 0.63 0.56 0.63 | | | | | | | | | | | | | | |
263
+ | Ours | | 0.63 0.64 0.65 0.65 0.64 0.90 0.92 0.88 0.92 0.91 0.59 0.59 0.59 0.57 0.59 0.84 0.85 0.84 0.79 0.82 | | | | | | | | | | | | | | |
264
+ | | | ArXiv | | | | | DM Mathematics | | | HackerNews | | | | Average | | |
265
+ | Method 2.7B | 6B | | 6.7B 6.9B | 7B 2.7B | 6B | | 6.7B 6.9B | 7B 2.7B | 6B | | 6.7B 6.9B | 7B 2.7B | 6B | | 6.7B 6.9B | 7B |
266
+ | PPL | | 0.78 0.79 0.65 0.78 0.70 0.78 0.79 0.65 0.91 0.31 0.65 0.62 0.59 0.62 0.59 0.64 0.66 0.62 0.73 0.59 | | | | | | | | | | | | | | |
267
+ | ZLib | | 0.77 0.78 0.68 0.77 0.71 0.82 0.81 0.80 0.81 0.23 0.68 0.60 0.58 0.60 0.58 0.65 0.67 0.63 0.72 0.58 | | | | | | | | | | | | | | |
268
+ | Min-k | | 0.78 0.79 0.65 0.78 0.70 0.93 0.93 0.92 0.92 0.32 0.65 0.62 0.59 0.62 0.59 0.71 0.73 0.69 0.75 0.60 | | | | | | | | | | | | | | |
269
+ | Min-k++ 0.60 0.64 0.53 0.70 0.57 0.77 0.79 0.67 0.75 0.22 0.53 0.57 0.51 0.60 0.53 0.60 0.63 0.56 0.67 0.53 | | | | | | | | | | | | | | | | |
270
+ | FSD | | 0.72 0.78 0.55 0.70 0.52 0.58 0.85 0.60 0.74 0.53 0.61 0.60 0.57 0.56 0.51 0.61 0.66 0.59 0.62 0.55 | | | | | | | | | | | | | | |
271
+ | Ours | | 0.78 0.79 0.78 0.78 0.77 0.95 0.95 0.94 0.95 0.95 0.58 0.60 0.60 0.57 0.58 0.73 0.75 0.74 0.76 0.70 | | | | | | | | | | | | | | |
272
+
273
+ # 5. Experiments
274
+
275
+ #### 5.1. Experimental Setup
276
+
277
+ Datasets Following prior work, we evaluate on five prevalent datasets: WikiMIA, BookMIA [\(Shi et al.,](#page-9-0) [2024\)](#page-9-0),ArxivTection, BookTection [\(Duarte et al.\)](#page-8-11), and MIMIR [\(Duan](#page-8-12) [et al.\)](#page-8-12), a widely recognized challenging benchmark for pretraining data detection.
278
+
279
+ Target Models We evaluate five open-source LLMs with diverse architectures: Neo-2.7B [\(Black et al.,](#page-8-13) [2021\)](#page-8-13), GPT-J-6B [\(Wang & Komatsuzaki,](#page-9-6) [2021\)](#page-9-6), OPT-6.7B [\(Zhang et al.,](#page-9-7) [2022\)](#page-9-7), Pythia-6.9B [\(Biderman et al.,](#page-8-14) [2023\)](#page-8-14), and LLaMA-7B [\(Touvron et al.,](#page-9-8) [2023\)](#page-9-8) from Hugging Face.
280
+
281
+ Comparison Methods We select five representative stateof-the-art baselines. Four scoring function–based methods
282
+
283
+ include PPL [\(Carlini et al.,](#page-8-3) [2021\)](#page-8-3), ZLib [\(Carlini et al.,](#page-8-3) [2021\)](#page-8-3), Min-k [\(Shi et al.,](#page-9-0) [2024\)](#page-9-0), and Min-k++ [\(Zhang et al.,](#page-9-1) [2025\)](#page-9-1). The fine-tuning–enhanced method includes FSD [\(Zhang](#page-9-2) [et al.\)](#page-9-2). More details are shown in Appendix [A.](#page-10-0)
284
+
285
+ Evaluation Metrics Two metrics evaluate the binary pretraining data detection task: AUROC measures overall discriminative performance, and TPR@5%FPR captures practical effectiveness by assessing detection rate under a 5% false positive constraint.
286
+
287
+ Implementation Details We use the PEFT library [\(Man](#page-8-15)[grulkar et al.,](#page-8-15) [2022\)](#page-8-15) for LoRA-based [\(Hu et al.,](#page-8-16) [2022\)](#page-8-16) gradient feature extraction without parameter updates. The MLP is trained on 30% of the data, with the remaining 70% used for inference evaluation under FSD settings. More Details can be seen in Appendix [A.6.](#page-11-0)
288
+
289
+ {6}------------------------------------------------
290
+
291
+ <span id="page-6-2"></span>![](_page_6_Figure_1.jpeg)
292
+
293
+ *Figure 4.* Distribution differences of eight gradient features between member(red) and non-member(blue) samples. Dashed lines indicate distribution means. The x-axis represents feature values, and the y-axis denotes probability density.
294
+
295
+ <span id="page-6-0"></span>*Table 3.* Ablation results using AUROC on WikiMIA and Arxiv-Tection. - denotes the removal of related features.
296
+
297
+ | Dataset | -Magnitude | -Concentration | -Position |
298
+ |--------------|--------------|----------------|--------------|
299
+ | WikiMIA | 0.94 (↓0.02) | 0.94 (↓0.02) | 0.93 (↓0.03) |
300
+ | ArxivTection | 0.96 (↓0.01) | 0.95 (↓0.02) | 0.95 (↓0.02) |
301
+
302
+ <span id="page-6-1"></span>*Table 4.* Ablation results using AUROC and TPR@5%FPR. ATT-Only refers to performance validation using only attention module.
303
+
304
+ | Dataset | ATT-Only | FFN-Only | Origin |
305
+ |--------------|-------------|-------------|-------------|
306
+ | WikiMIA | 0.94 / 0.68 | 0.93 / 0.64 | 0.96 / 0.84 |
307
+ | ArxivTection | 0.95 / 0.76 | 0.93 / 0.72 | 0.97 / 0.85 |
308
+
309
+ # 5.2. Main Results
310
+
311
+ 330
312
+
313
+ 334
314
+
315
+ 336
316
+
317
+ 354
318
+
319
+ 356
320
+
321
+ 374
322
+
323
+ 376
324
+
325
+ Table [1](#page-5-0) shows detection performance on WikiMIA, Arxiv-Tection, BookTection, and BookMIA. Specifically, when tested on WikiMIA with LLaMA-7B, GDS achieves an AUC score of 0.96, which is an improvement of 0.04 compared to the best baseline FSD and significantly higher than score-function-based methods such as Min-k++. GDS outperforms the best baseline in most settings, with especially large gains in TPR@5%FPR on BookTection and Book-MIA. Notably, with LLaMA-7B, BookTection performance improves by nearly 67.3%.
326
+
327
+ Table [2](#page-5-1) reports results on seven MIMIR subsets. Although all methods degrade due to similar data distributions, GDS achieves the best average improvements +2.8%, +2.7%, +7.2%, +1.3%, +16.6% across different models, and shows clear advantages on PubMed Central, DM Mathematics, and GitHub. Using the LLaMA model, the three subsets achieve AUC scores of 0.82, 0.95, and 0.91. Our method shows the most stable performance across models, with AUC variations mostly within 0.04, demonstrating strong generalization across different models.
328
+
329
+ #### 5.3. Ablation Study
330
+
331
+ We perform two ablation studies: (1) removing each gradient feature category individually, and (2) using features from only the Attention or FFN module. Table [3](#page-6-0) shows that all feature categories contribute to performance, with Position Offset and Magnitude being the most important. Concentration features have smaller effects, and the full combination performs best, highlighting the complementary nature of multi-dimensional features (see Appendix [C](#page-14-0) for sub-feature ablations). Table [4](#page-6-1) shows that Attention features are more discriminative than FFN features. Both single-module variants underperform the full model, indicating that Attention and FFN capture complementary gradient patterns and must be combined for optimal performance.
332
+
333
+ #### 5.4. Analysis
334
+
335
+ # 5.4.1. FEATURE DISTRIBUTION
336
+
337
+ To explain the classifier's effectiveness, we quantify feature distributions across all layers and sub-modules for member and non-member samples. Figure [4](#page-6-2) shows the eight features with the largest discrepancies. Member samples exhibit smaller Abs Mean and Row Mean Max, indicating lower gradient magnitudes due to higher data familiarity, along with higher Sparsity, smaller Std and Row Mean Std, reflecting more concentrated and stable gradients. They also maintain a consistently higher 10p Ratio, occupying the core of gradient propagation. For locations Row Ecc and Col Ecc, member samples cluster at lower values, while non-members shift higher, suggesting that member-related parameters lie more centrally in weight matrices.
338
+
339
+ We collect sub-features with the largest distribution differences between the two sample types and analyze their overall distribution patterns. Figure [5](#page-7-0) show that discriminative sub-features are predominantly concentrated in low layers, while middle and high layers contribute far less. Among sub-modules, attention-related modules are the main sources
340
+
341
+ {7}------------------------------------------------
342
+
343
+ <span id="page-7-1"></span>*Table 5.* Performance Comparison between LoRA and Full-Parameter Update using AUROC on WikiMIA and ArxivTection.
344
+
345
+ | Dataset | Metric | LLaMA-7B | | GPT-J-6B | | OPT-6.7B | | Pythia-6.9B | | Neo-2.7B | |
346
+ |--------------|------------|----------|------|----------|------|----------|------|-------------|------|----------|------|
347
+ | | | LoRA | Full | LoRA | Full | LoRA | Full | LoRA | Full | LoRA | Full |
348
+ | WikiMIA | AUC | 0.96 | 0.96 | 0.93 | 0.90 | 0.94 | 0.92 | 0.92 | 0.89 | 0.90 | 0.88 |
349
+ | | TPR@5% FPR | 0.84 | 0.79 | 0.66 | 0.58 | 0.67 | 0.56 | 0.63 | 0.50 | 0.60 | 0.51 |
350
+ | ArxivTection | AUC | 0.97 | 0.96 | 0.97 | 0.96 | 0.94 | 0.93 | 0.95 | 0.94 | 0.94 | 0.94 |
351
+ | | TPR@5% FPR | 0.85 | 0.84 | 0.86 | 0.79 | 0.75 | 0.67 | 0.83 | 0.73 | 0.73 | 0.75 |
352
+
353
+ <span id="page-7-0"></span>![](_page_7_Figure_4.jpeg)
354
+
355
+ *Figure 5.* Distribution Difference Statistics of Discriminative Features. The y-axis shows the statistical count.
356
+
357
+ of discriminative features, with obvious differences in contribution across modules. In terms of gradient features, grad sparsity exhibits the strongest discriminative power, significantly outperforming other indicators.
358
+
359
+ # 5.4.2. FULL PARAMETER TRAINING
360
+
361
+ In LoRA training, only FFN and MLP modules are updated, while LayerNorm, despite containing meaningful training dynamics, is excluded. To account for this, we evaluate our method under full-parameter training on two small-scale datasets, BookMIA and ArxivTection, for computational feasibility. As shown in Table [5,](#page-7-1) although full-parameter updates cause a slight performance drop compared to LoRA, our method still outperforms most baselines. We attribute this gap to reduced gradient magnitudes in full training, which weaken discriminative signals between sample types.
362
+
363
+ #### 5.4.3. WIKIMIA MODIFICATION
364
+
365
+ Dataset partitioning can introduce distribution shifts or dataset-specific artifacts. For example, WikiMIA is split by publication time, with all non-member samples labeled as 2023. To ensure our method does not exploit such artifacts, we remove all timestamp tokens and reevaluate all methods. As shown in Table [6,](#page-7-2) although token removal degrades performance, our method suffers a much smaller drop than the strongest baseline, FSD, and still achieves SOTA results.
366
+
367
+ <span id="page-7-2"></span>*Table 6.* Comparison of Temporal Feature Perturbation via AU-ROC. Deletion denotes the removal of all year timestamps.
368
+
369
+ | Method | Origin | Deletion |
370
+ |---------|--------|----------|
371
+ | PPL | 0.69 | 0.62 |
372
+ | Min-k | 0.73 | 0.63 |
373
+ | Min-k++ | 0.82 | 0.59 |
374
+ | FSD | 0.92 | 0.76 |
375
+ | Ours | 0.96 | 0.84 |
376
+
377
+ <span id="page-7-3"></span>*Table 7.* Cross-Dataset Generalization Performance using AU-ROC. Wiki(arXiv) indicates training on ArxivTection with test on WikiMIA, while Mix indicates mixed datasets.
378
+
379
+ | Method | Wiki (arXiv) | arXiv (Wiki) | Mix |
380
+ |--------|--------------|--------------|------|
381
+ | FSD | 0.52 | 0.58 | 0.92 |
382
+ | Ours | 0.66 | 0.68 | 0.95 |
383
+
384
+ ### 5.4.4. TRANSFERABILITY
385
+
386
+ Although our method shares the same feature extraction framework, it requires dataset-specific classifiers. To examine whether a unified classifier is feasible, we train classifiers on WikiMIA and ArXiv separately and evaluate crossdataset generalization, as well as train a unified classifier on mixed data. Table [7](#page-7-3) shows that cross-dataset transfer leads to notable performance degradation due to dataset shifts (e.g., distribution, difficulty, and pre-training differences), which cause classifiers to overfit dataset-specific gradient features. In contrast, the unified classifier performs well on mixed data, indicating that our method can capture universal feature discrepancies arising from model familiarity.
387
+
388
+ # 6. Conclusion
389
+
390
+ We revisit pre-training data detection from an optimization and training-dynamics perspective and introduce GDS, a fine-tuning–free method for inferring pre-training membership. By analyzing how models transition from unfamiliarity to familiarity, we show that member and non-member samples exhibit stable, interpretable differences in gradient magnitude, location, and concentration across datasets and architectures. Experiments show that GDS is effective and generalizable, outperforming strong baselines. Future work can focus on developing more generalizable detectors by contrastive learning or deeper feature extraction.
391
+
392
+ {8}------------------------------------------------
393
+
394
+ # Limitations
395
+
396
+ This work investigates pre-training data detection, a form of membership inference that determines whether a given sample was included in a LLM's pre-training corpus. While our proposed GDS method improves detection accuracy and generalization without fine-tuning, it also raises important ethical concerns. Pre-training data detection methods could be misused to probe proprietary or confidential training corpora, potentially revealing sensitive information about data sources or collection practices. Although GDS does not reconstruct or expose training samples directly, it contributes to capabilities that may be exploited if applied irresponsibly. Our primary motivation is to support transparency, accountability, and safety. As pre-training datasets become increasingly large and opaque, tools like GDS can help researchers, auditors, and regulators verify data usage claims, identify potential copyright violations, and detect benchmark contamination. In this sense, GDS is intended as a diagnostic and auditing mechanism rather than a data extraction attack. We release code and models to promote reproducibility while encouraging responsible deployment. Overall, we hope this work advances trustworthy and transparent large-scale model development while highlighting the need for careful governance of pre-training data.
397
+
398
+ # References
399
+
400
+ - <span id="page-8-1"></span>Balloccu, S., Schmidtova, P., Lango, M., and Du ´ sek, O. ˇ Leak, cheat, repeat: Data contamination and evaluation malpractices in closed-source llms. In *Proceedings of the 18th Conference of the European Chapter of the Association for Computational Linguistics (Volume 1: Long Papers)*, pp. 67–93, 2024.
401
+ - <span id="page-8-14"></span>Biderman, S., Schoelkopf, H., Anthony, Q. G., Bradley, H., O'Brien, K., Hallahan, E., Khan, M. A., Purohit, S., Prashanth, U. S., Raff, E., et al. Pythia: A suite for analyzing large language models across training and scaling. In *International Conference on Machine Learning*, pp. 2397–2430. PMLR, 2023.
402
+ - <span id="page-8-13"></span>Black, S., Leo, G., Wang, P., Leahy, C., and Biderman, S. Gpt-neo: Large scale autoregressive language modeling with mesh-tensorflow. *Zenodo*, 2021.
403
+ - <span id="page-8-8"></span>Bottou, L. Large-scale machine learning with stochastic gradient descent. In *Proceedings of COMPSTAT'2010: 19th International Conference on Computational StatisticsParis France, August 22-27, 2010 Keynote, Invited and Contributed Papers*, pp. 177–186. Springer, 2010.
404
+ - <span id="page-8-3"></span>Carlini, N., Tramer, F., Wallace, E., Jagielski, M., Herbert-Voss, A., Lee, K., Roberts, A., Brown, T., Song, D., Erlingsson, U., et al. Extracting training data from large
405
+
406
+ - language models. In *30th USENIX security symposium (USENIX Security 21)*, pp. 2633–2650, 2021.
407
+ - <span id="page-8-5"></span>Choi, H. K., Khanov, M., Wei, H., and Li, Y. How contaminated is your benchmark? measuring dataset leakage in large language models with kernel divergence. In *Fortysecond International Conference on Machine Learning*.
408
+ - <span id="page-8-12"></span>Duan, M., Suri, A., Mireshghallah, N., Min, S., Shi, W., Zettlemoyer, L., Tsvetkov, Y., Choi, Y., Evans, D., and Hajishirzi, H. Do membership inference attacks work on large language models? In *First Conference on Language Modeling*.
409
+ - <span id="page-8-11"></span>Duarte, A. V., Zhao, X., Oliveira, A. L., and Li, L. Decop: Detecting copyrighted content in language models training data. In *Forty-first International Conference on Machine Learning*.
410
+ - <span id="page-8-7"></span>Frankle, J., Schwab, D. J., and Morcos, A. S. The early phase of neural network training. In *International Conference on Learning Representations*.
411
+ - <span id="page-8-2"></span>Grynbaum, M. M. and Mac, R. The times sues openai and microsoft over ai use of copyrighted work. *The New York Times*, 27(1), 2023.
412
+ - <span id="page-8-10"></span>Gur-Ari, G., Roberts, D. A., and Dyer, E. Gradient descent happens in a tiny subspace. *arXiv preprint arXiv:1812.04754*, 2018.
413
+ - <span id="page-8-16"></span>Hu, E. J., Shen, Y., Wallis, P., Allen-Zhu, Z., Li, Y., Wang, S., Wang, L., Chen, W., et al. Lora: Low-rank adaptation of large language models. *ICLR*, 1(2):3, 2022.
414
+ - <span id="page-8-0"></span>Kaplan, J., McCandlish, S., Henighan, T., Brown, T. B., Chess, B., Child, R., Gray, S., Radford, A., Wu, J., and Amodei, D. Scaling laws for neural language models. *arXiv preprint arXiv:2001.08361*, 2020.
415
+ - <span id="page-8-4"></span>Li, Y. Estimating contamination via perplexity: Quantifying memorisation in language model evaluation. In *The Future of Machine Learning Data Practices and Repositories at ICLR 2025*.
416
+ - <span id="page-8-9"></span>Liu, Z., Zhu, T., Tan, C., Liu, B., Lu, H., and Chen, W. Probing language models for pre-training data detection. In *Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)*, pp. 1576–1587, 2024.
417
+ - <span id="page-8-15"></span>Mangrulkar, S., Gugger, S., Debut, L., Belkada, Y., Paul, S., and Bossan, B. Peft: State-of-the-art parameter-efficient fine-tuning methods. 2022.
418
+ - <span id="page-8-6"></span>Ruder, S. An overview of gradient descent optimization algorithms. *arXiv preprint arXiv:1609.04747*, 2016.
419
+
420
+ {9}------------------------------------------------
421
+
422
+ <span id="page-9-0"></span>Shi, W., Ajith, A., Xia, M., Huang, Y., Liu, D., Blevins, T., Chen, D., and Zettlemoyer, L. Detecting pretraining data from large language models. In *12th International Conference on Learning Representations, ICLR 2024*, 2024.
423
+
424
+ 504
425
+
426
+ <span id="page-9-3"></span>513 514
427
+
428
+ <span id="page-9-2"></span>516
429
+
430
+ 518 519 520
431
+
432
+ 524 525 526
433
+
434
+ <span id="page-9-7"></span>528 529 530
435
+
436
+ 534
437
+
438
+ 536
439
+
440
+ - <span id="page-9-5"></span>Tang, H., Zhu, Z., and Yang, Y. Identifying pre-training data in llms: A neuron activation-based detection framework. In *Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing*, pp. 18738– 18751, 2025.
441
+ - <span id="page-9-8"></span>Touvron, H., Lavril, T., Izacard, G., Martinet, X., Lachaux, M.-A., Lacroix, T., Roziere, B., Goyal, N., Hambro, E., ` Azhar, F., et al. Llama: Open and efficient foundation language models. *arXiv preprint arXiv:2302.13971*, 2023.
442
+ - <span id="page-9-6"></span>Wang, B. and Komatsuzaki, A. Gpt-j-6b: A 6 billion parameter autoregressive language model, 2021.
443
+ - Wang, H., Ma, S., Wang, R., and Wei, F. Q-sparse: All large language models can be fully sparsely-activated. *arXiv preprint arXiv:2407.10969*, 2024.
444
+ - Zhang, H., Zhang, S., Jing, B., and Wei, H. Fine-tuning can help detect pretraining data from large language models. In *The Thirteenth International Conference on Learning Representations*.
445
+ - <span id="page-9-1"></span>Zhang, J., Sun, J., Yeats, E., Ouyang, Y., Kuo, M., Zhang, J., Yang, H. F., and Li, H. Min-k%++: Improved baseline for pre-training data detection from large language models. In *The Thirteenth International Conference on Learning Representations*, 2025.
446
+ - Zhang, S., Roller, S., Goyal, N., Artetxe, M., Chen, M., Chen, S., Dewan, C., Diab, M., Li, X., Lin, X. V., et al. Opt: Open pre-trained transformer language models. *arXiv preprint arXiv:2205.01068*, 2022.
447
+ - <span id="page-9-4"></span>Zhang, W., Zhang, R., Guo, J., Rijke, M., Fan, Y., and Cheng, X. Pretraining data detection for large language models: A divergence-based calibration method. In *Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing*, pp. 5263–5274, 2024.
448
+
449
+ {10}------------------------------------------------
450
+
451
+ # <span id="page-10-0"></span>A. Details of Baseline
452
+
453
+ Shared Notations: We first define the universal notations used across all baseline methods for consistency:
454
+
455
+ - x: Input text sample for membership inference detection.
456
+ - {x1, x2, . . . , x<sup>N</sup> }: Token sequence of input text sample x, where N denotes the total number of tokens in the text.
457
+ - x<t: Prefix token sequence of the t-th token xt, i.e., x<t = {x1, . . . , xt−1}.
458
+ - θ: Trainable parameters of the pre-trained language model.
459
+ - p(· | ·; θ): Conditional probability distribution parameterized by the model parameters θ.
460
+ - k%: Percentage threshold for selecting low-probability outlier tokens (used in Min-k% and Min-k%++).
461
+
462
+ #### A.1. PPL
463
+
464
+ 550
465
+
466
+ 554
467
+
468
+ 556
469
+
470
+ 574
471
+
472
+ 576
473
+
474
+ 594
475
+
476
+ 596
477
+
478
+ Perplexity (PPL) is a classic global likelihood-based metric that measures the model's uncertainty in predicting a given text, with lower PPL indicating higher text familiarity (more likely to be a member sample). First, the text is tokenized into a sequence of tokens {x1, x2, . . . , x<sup>N</sup> }. Then, the log-likelihood of each token is calculated conditional on the preceding tokens, and the final PPL is derived by normalizing the sum of log-likelihoods by the token sequence length and performing an exponential transformation.
479
+
480
+ $$PPL = \exp\left(-\frac{1}{N} \sum_{i=1}^{N} \log p(x_i|x_1, ..., x_{x-1}; \theta)\right)$$
481
+ (16)
482
+
483
+ #### A.2. Zlib
484
+
485
+ Zlib is a compression-based global likelihood-related method that leverages compression entropy to distinguish member and non-member samples, which calibrates the loss using the input's Zlib entropy. For an input text sample x and a pre-trained model M, the Zlib score is defined as the ratio of the loss related to the text and model to the Zlib compression entropy of the input text:
486
+
487
+ Zlib Score =
488
+ $$\frac{L(x, M)}{\text{zlib}(x)}$$
489
+ (17)
490
+
491
+ where L(x, M) denotes the loss value associated with the input text x under the model M and zlib(x) represents the Zlib compression entropy of the input text x, which is derived from the length of the text after Zlib compression.
492
+
493
+ #### A.3. Min-k%
494
+
495
+ Min-k% is a local likelihood-based method that mitigates global word frequency interference by focusing on low-probability outlier tokens. For an input text token sequence x = {x1, x2, . . . , x<sup>N</sup> } (where N denotes the total number of tokens), it first calculates the conditional log-likelihood of each token x<sup>i</sup> given its preceding context:
496
+
497
+ $$\log p(x_i \mid x_1, x_2, \dots, x_{i-1}; \theta)$$
498
+
499
+ Subsequently, it sorts all token conditional probabilities in ascending order, selects the bottom k% tokens (i.e., the k% tokens with the smallest conditional probabilities) to form the low-probability set Tmin(k%) = Min-K%(x). The final Min-k% score is defined as the average conditional log-likelihood of tokens in Tmin(k%):
500
+
501
+ Min-k% Score(x) =
502
+ $$\frac{1}{|T_{\min(k\%)}|} \sum_{x_i \in T_{\min(k\%)}} \log p(x_i \mid x_1, \dots, x_{i-1}; \theta)$$
503
+ (18)
504
+
505
+ where |Tmin(k%)| = ⌊k% × N⌋ denotes the cardinality of the low-probability token set (rounded down to the nearest integer). During detection, a threshold is set on Min-k% Score(x): text with a score below the threshold is classified as a member sample (since member samples tend to contain more low-probability outlier tokens), and vice versa.
506
+
507
+ {11}------------------------------------------------
508
+
509
+ #### A.4. Min-k%++
510
+
511
+ Min-k%++ is an optimized variant of Min-k% that enhances detection robustness by integrating vocabulary-level probability statistics, addressing the text-length dependency and short-text fluctuation issues of the original method. For an input text token sequence $x = \{x_1, x_2, \dots, x_N\}$ , it first computes the normalized conditional log-likelihood for each token $x_t$ (given prefix $x_{< t} = \{x_1, \dots, x_{t-1}\}$ ) by normalizing with the vocabulary-wide log-probability statistics of the prefix $x_{< t}$ .
512
+
513
+ #### **Core Token-Level Score Calculation**
514
+
515
+ For each token $x_t$ , the token-level Min-k%++ score is defined as:
516
+
517
+ $$Min-k\% + +_{token}(x_{< t}, x_t) = \frac{\log p(x_t \mid x_{< t}; \theta) - \mu_{x_{< t}}}{\sigma_{x_{< t}}}$$
518
+ (19)
519
+
520
+ where $\mu_{x_{< t}} = \mathbb{E}_{z \sim p(\cdot \mid x_{< t}; \theta)} [\log p(z \mid x_{< t}; \theta)]$ : Expectation of the next-token log-likelihood over the model's vocabulary, given prefix $x_{< t}$ ; $\sigma_{x_{< t}} = \sqrt{\mathbb{E}_{z \sim p(\cdot \mid x_{< t}; \theta)} \left[ (\log p(z \mid x_{< t}; \theta) - \mu_{x_{< t}})^2 \right]}$ : Standard deviation of the next-token log-likelihood over the vocabulary, given prefix $x_{< t}$ .
521
+
522
+ Both $\mu_{x_{< t}}$ and $\sigma_{x_{< t}}$ can be computed analytically using the model's output logits (since $p(\cdot \mid x_{< t}; \theta)$ follows a categorical distribution), requiring no additional computational overhead beyond standard LLM inference.
523
+
524
+ #### **Final Sequence-Level Score Calculation**
525
+
526
+ Similar to Min-k%, Min-k%++ selects the bottom k% tokens with the smallest Min-k%++<sub>token</sub> scores to form the low-probability set $T_{\min(k\%)}^+$ . The final sequence-level score is the average of the token-level scores in this set:
527
+
528
+ $$Min-k\% ++ Score(x) = \frac{1}{|T_{\min(k\%)}^+|} \sum_{(x_{< t}, x_t) \in T_{\min(k\%)}^+} Min-k\% ++_{token}(x_{< t}, x_t)$$
529
+ (20)
530
+
531
+ where $|T_{\min(k\%)}^+| = \lfloor k\% \times N \rfloor$ denotes the cardinality of the low-probability token set. During detection, a threshold is applied: text with a lower Min-k%++ score is more likely to be a member sample, as the normalized score better distinguishes low-probability outlier tokens of member samples from non-member ones.
532
+
533
+ #### A.5. FSD
534
+
535
+ Fine-tuned Score Deviation (FSD) is a fine-tuning enhanced method that leverages score discrepancies between pre-trained and fine-tuned models for member sample detection. Its core workflow includes two key steps: first, constructing a domain-matched non-member fine-tuning dataset (using post-model-release unseen data), then performing self-supervised next-token prediction fine-tuning on the pre-trained model. Finally, it calculates the score difference between the pre-trained and fine-tuned models to distinguish member and non-member samples. The self-supervised fine-tuning loss is defined as:
536
+
537
+ $$\mathcal{L}_{\text{fine-tuning}}(x) = -\frac{1}{n} \sum_{i=1}^{n} \log f_{\theta}(x_i \mid x_1, \dots, x_{i-1})$$
538
+ (21)
539
+
540
+ The final FSD score is the deviation between the sample scores obtained from the pre-trained model $f_{\theta}$ and the fine-tuned model $f_{\theta'}$ (with parameters $\theta'$ ):
541
+
542
+ $$FSD(x; f_{\theta}, f_{\theta'}) = S(x; f_{\theta}) - S(x; f_{\theta'})$$
543
+ (22)
544
+
545
+ where $S(\cdot)$ represents a base scoring function (e.g., Perplexity, Min-k%). A large FSD score indicates the sample is likely a non-member (fine-tuning reduces non-member perplexity significantly), while a small score suggests a member sample (fine-tuning has negligible impact on member perplexity). A validation-set optimized threshold $\varepsilon$ is used for final classification.
546
+
547
+ #### <span id="page-11-0"></span>A.6. Experimental Settings
548
+
549
+ We use the PEFT library (Mangrulkar et al., 2022) for LoRA-based (Hu et al., 2022) gradient feature extraction without parameter updates. The base model is initialized from pre-trained checkpoints, and for LoRA configuration, we adopt
550
+
551
+ {12}------------------------------------------------
552
+
553
+ default settings with rank r = 16, LoRA scaling factor α = 32, and dropout set to 0 since we only focus on gradients from a single backpropagation step and no parameter updates are required. Target modules include all submodules of attention and FFN, including query, key, value, output, gate, up, and down projections. For different datasets, we select the tokenizer sequence length based on the overall length distribution: 256 for the WikiMIA dataset and 512 for all other datasets. When training the MLP classifier, the dataset is uniformly split into training and validation sets at a ratio of 3:7. The MLP classifier is configured with two hidden layers of dimensions 128 and 64, respectively, and uses the default Adam optimizer with a learning rate of 0.001. An early stopping strategy is implemented to avoid overfitting.
554
+
555
+ # <span id="page-12-0"></span>B. Motivation Experiment Supplementary Details
556
+
557
+ To verify the parameter update law driven by the training process, we conduct LoRA fine-tuning with 8 epochs on LLaMA-7B using the unseen set of BookMIA dataset, counting LoRA matrix parameter updates per epoch to extract dynamic change curves of target features. Experiments are performed under three learning rates (1e − 5, 3e − 5, 5e − 5). We present the variation trends of the four feature categories across different modules and layers under each learning rate.
558
+
559
+ We present the variation trends of the four feature categories across different modules and layers under each learning rate. Across all learning rates, ∆Θ<sup>t</sup> and S<sup>t</sup> exhibit clear epoch-wise patterns: ∆Θ<sup>t</sup> continuously decreases with training epochs, while S<sup>t</sup> gradually increases. For Et, distinct opposite trends are observed between the ATT and MLP modules—the update positions of the ATT module tend to be centralized, whereas those of the MLP module tend to be marginalized. Despite this divergence, E<sup>t</sup> values of both modules converge to the same stable range across the three learning rates. In contrast, T10,t shows a different dynamic: under large learning rates, it first increases and then decreases, yet remains stably around 0.27 throughout training. Notably, the inflection point of T10,t decline coincides with the stage when E<sup>t</sup> stabilizes. This aligns with our core hypothesis: during training, the model identifies core parameters correlated with the input data and performs concentrated updates on them; once this process is completed, the overall parameter update dynamics tend to stabilize. Regarding different hierarchical levels, only E<sup>t</sup> shows noticeable discrepancies, while all other features follow the same evolutionary laws.
560
+
561
+ ![](_page_12_Figure_5.jpeg)
562
+
563
+ *Figure 6.* Feature Dynamic Changes During LoRA Fine-Tuning (Learning Rate 1e−5). Top row: Features in ATT/MLP modules; Bottom row: Features in low/middle/high layers.
564
+
565
+ {13}------------------------------------------------
566
+
567
+ ![](_page_13_Figure_1.jpeg)
568
+
569
+ *Figure 7.* Feature Dynamic Changes During LoRA Fine-Tuning (Learning Rate 3e − 5).
570
+
571
+ ![](_page_13_Figure_3.jpeg)
572
+
573
+ *Figure 8.* Feature Dynamic Changes During LoRA Fine-Tuning (Learning Rate 5e − 5).
574
+
575
+ {14}------------------------------------------------
576
+
577
+ # 771 774
578
+
579
+ # 776 778
580
+
581
+ # 779 780 781 782 783 784 785
582
+
583
+ # 787 788 789 790 791
584
+
585
+ 786
586
+
587
+ # 794 796 798 799 800 801
588
+
589
+ # 806 807 808 809 810 811 812
590
+
591
+ 813 814
592
+
593
+ # <span id="page-14-0"></span>C. Ablation Experiments on Sub-features and Sub-modules
594
+
595
+ To further explore the discriminative power of fine-grained components in our method, we conduct two additional ablation experiments: sub-feature category ablation (8 sub-features) and sub-module ablation (7 sub-modules). All experiments follow the same configuration as the main text (LLaMA-7B model, WikiMIA/ArxivTection datasets), with AUC and TPR@5% FPR as evaluation metrics.
596
+
597
+ # C.1. Sub-feature Category Ablation Experiment
598
+
599
+ The four core feature categories are decomposed into 8 sub-features, as follows:
600
+
601
+ - Magnitude Distribution Features: Abs Mean, Std
602
+ - Core Contribution Features: 10p Ratio, Sparsity
603
+ - Position Offset Features: Row Ecc, Col Ecc
604
+ - Row-Dimension Consistency Features: Row Mean Max, Row Mean Std
605
+
606
+ <span id="page-14-1"></span>Ablation is performed by removing one sub-feature at a time (retaining the other 7), and the results are shown in Table [8.](#page-14-1)
607
+
608
+ *Table 8.* Ablation Experiment Results of Sub-features (AUC Scores).
609
+
610
+ | Dataset | Sub-feature (Ablation Variant) | | | | | | | | | | |
611
+ |--------------|--------------------------------|---------------------------------------------------------------------------------|-----------|-----------|-----------|-----------|-----------|-----------|-----------|--|--|
612
+ | | -Abs Mean | -Std<br>-10p Ratio<br>-Sparsity<br>-Row Ecc<br>-Col Ecc<br>-Row Max<br>-Row Std | | | | | | | | | |
613
+ | WikiMIA | 0.95/0.71 | 0.95/0.72 | 0.95/0.70 | 0.94/0.67 | 0.95/0.70 | 0.93/0.62 | 0.95/0.73 | 0.95/0.72 | 0.96/0.84 | | |
614
+ | ArxivTection | 0.96/0.82 | 0.96/0.81 | 0.96/0.83 | 0.96/0.82 | 0.96/0.83 | 0.95/0.78 | 0.96/0.83 | 0.96/0.83 | 0.97/0.85 | | |
615
+
616
+ The sub-feature ablation results verify that all sub-features contribute to detection performance, with their combination achieving optimal AUC and TPR scores across both datasets. Among these sub-features, Col Ecc (a Position Offset Feature) is the most critical: its removal leads to the sharpest performance decline (AUC drops to 0.93 on WikiMIA and 0.95 on ArxivTection, with TPR falling to 0.62 and 0.78 respectively). In contrast, removing Abs Mean, Std, 10p Ratio, Row Ecc, Row Max, or Row Std induces only mild performance degradation, with AUC remaining above 0.95 on both datasets, indicating their relatively moderate importance; Sparsity also shows a slight impact on WikiMIA, with its ablation resulting in an AUC of 0.94. Overall, the fine-grained sub-feature design is rational, as each component provides complementary discriminative information for pre-training data detection.
617
+
618
+ #### C.2. Sub-module Ablation Experiment
619
+
620
+ The ATT and FFN modules are decomposed into 7 sub-modules based on Transformer architecture details:
621
+
622
+ - ATT-related sub-modules: Q-Proj, K-Proj, V-Proj, Out-Proj
623
+ - FFN-related sub-modules: Gate-Proj, Up-Proj, Down-Proj
624
+
625
+ <span id="page-14-2"></span>Ablation is performed by removing one sub-module's features at a time, and the results are shown in Table [9.](#page-14-2)
626
+
627
+ *Table 9.* Ablation Experiment Results of Sub-modules (AUC / TPR@5% FPR Scores).
628
+
629
+ | Dataset | Sub-module (Ablation Variant) | | | | | | | | | |
630
+ |--------------|-------------------------------|-----------|--------------------------------------------------------------|-----------|-----------|-----------|-----------|-----------|--|--|
631
+ | | -Q-Proj | -K-Proj | -V-Proj<br>-Out-Proj<br>-Gate-Proj<br>-Up-Proj<br>-Down-Proj | | | | | | | |
632
+ | WikiMIA | 0.95/0.72 | 0.95/0.71 | 0.94/0.69 | 0.94/0.67 | 0.95/0.69 | 0.94/0.65 | 0.94/0.61 | 0.96/0.84 | | |
633
+ | ArxivTection | 0.96/0.80 | 0.96/0.82 | 0.95/0.79 | 0.96/0.80 | 0.96/0.82 | 0.95/0.78 | 0.96/0.82 | 0.97/0.85 | | |
634
+
635
+ The sub-module ablation results demonstrate that all sub-modules provide complementary gradient information, as singlesub-module ablation consistently leads to performance degradation while integrating all sub-modules' features achieves
636
+
637
+ {15}------------------------------------------------
638
+
639
+ <span id="page-15-0"></span>![](_page_15_Figure_1.jpeg)
640
+
641
+ *Figure 9.* Impact Analysis of Training Set Size on WikiMIA. The abscissa denotes the training-validation set ratio, the ordinate represents the scores of two metrics, yellow indicates the AUROC score, and blue indicates the TPR@5% FPR.
642
+
643
+ the optimal AUC and TPR@5% FPR scores across both datasets. Though the performance differences between individual ablation variants are mild, ATT-related sub-modules show slightly stronger discriminative power than FFN-related ones, with K-Proj performing prominently among ATT sub-modules; in contrast, among FFN sub-modules, Down-Proj and Gate-Proj contribute more to detection performance than Up-Proj, as retaining the former two yields slightly higher AUC and TPR scores. The performance gap between single-sub-module variants and the full model further confirms the necessity of multi-sub-module feature fusion, which enables the capture of comprehensive gradient patterns across the Transformer architecture. It can be seen from this that our method also achieves excellent performance with smaller LoRA adaptation parameters and lower computational complexity.
644
+
645
+ #### C.3. Low-Data Scenarios
646
+
647
+ To evaluate the data efficiency of our method in scenarios with limited training data, we adjust the training-testing split ratio of the WikiMIA dataset to five settings: 1:9, 2:8, 3:7 and 4:6, while keeping the total sample size fixed. Figure Y shows AUC and TPR@5% FPR scores across different split ratios.
648
+
649
+ Figure [9](#page-15-0) show our method's performance improves steadily with increasing training set size. Notably, it achieves an AUC of 0.9 even with only 10% of data, accompanied by a TPR@5% FPR of 0.48, confirming that it can also achieve excellent performance with a small amount of data.
icml26/9346049b-7104-494c-9378-955a2d7393ed/parse_report.json ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "paper_id": "9346049b-7104-494c-9378-955a2d7393ed",
3
+ "pipeline": "marker_non_llm_v3",
4
+ "parser": "marker_single",
5
+ "formats": [
6
+ "markdown",
7
+ "chunks"
8
+ ],
9
+ "llm_enabled": false,
10
+ "pdf_path": "/network/scratch/j/jianan.zhao/ReviewAgent/data/processed_papers/icml26_20260429_1952_duequeue/raw/9346049b-7104-494c-9378-955a2d7393ed.pdf",
11
+ "pdf_sha256": "f168efbf719c8a7b63c2e12033c124ec1c87a3eb145b9f37b14213d7198936ff",
12
+ "bytes": 3994954,
13
+ "source": "https://koala.science/storage/pdfs/9346049b-7104-494c-9378-955a2d7393ed.pdf",
14
+ "page_count": 16,
15
+ "ok": true,
16
+ "elapsed_seconds": 132.84,
17
+ "paper2markdown_v3": {
18
+ "paper_id": "9346049b-7104-494c-9378-955a2d7393ed",
19
+ "pipeline": "Paper2Markdown-V3",
20
+ "ok": true,
21
+ "page_count": 16,
22
+ "chunk_count": 146,
23
+ "main_body_chunk_count": 95,
24
+ "appendix_chunk_count": 47,
25
+ "reference_chunk_count": 4,
26
+ "model_text_chars": 39233,
27
+ "raw_markdown_chars": 68446,
28
+ "sanitized_chars": 62081,
29
+ "page_provenance": {
30
+ "min_page": 1,
31
+ "max_page": 16,
32
+ "invalid_count": 0
33
+ },
34
+ "marker_block_type_counts": {
35
+ "Caption": 1,
36
+ "Equation": 23,
37
+ "FigureGroup": 9,
38
+ "Footnote": 2,
39
+ "ListGroup": 8,
40
+ "PageFooter": 16,
41
+ "PageHeader": 18,
42
+ "SectionHeader": 52,
43
+ "Table": 3,
44
+ "TableGroup": 6,
45
+ "Text": 214
46
+ },
47
+ "asset_count_raw": 9,
48
+ "asset_count_model_kept": 9,
49
+ "asset_count_rejected": 0,
50
+ "asset_reject_reasons": {
51
+ "kept": 9
52
+ },
53
+ "artifact_leak_audit": {
54
+ "ok": true,
55
+ "hits": {
56
+ "Anonymous Authors": [],
57
+ "ACKNOWLEDGMENT": [],
58
+ "OpenReview": [],
59
+ "\"accept_label\"": [],
60
+ "\"decision\"": [],
61
+ "\"decision_tier\"": [],
62
+ "\"source_status\"": [],
63
+ "Meta-review": [],
64
+ "Official Review": [],
65
+ "official_reviews": [],
66
+ "meta_reviews": [],
67
+ "suggested_verdict_score": []
68
+ },
69
+ "artifact_count": 2
70
+ },
71
+ "default_model_input": "model_text_v3.txt",
72
+ "appendix_input": "appendix_text_v3.txt",
73
+ "reference_input": "reference_text_v3.txt"
74
+ }
75
+ }
icml26/9346049b-7104-494c-9378-955a2d7393ed/reference_chunks.jsonl ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0095", "section": "References", "page_start": 9, "page_end": 9, "type": "ListGroup", "text": "Balloccu, S., Schmidtova, P., Lango, M., and Du ´ sek, O. ˇ Leak, cheat, repeat: Data contamination and evaluation malpractices in closed-source llms. In Proceedings of the 18th Conference of the European Chapter of the Asso ciation for Computational Linguistics (Volume 1: Long Papers) , pp. 67–93, 2024. Biderman, S., Schoelkopf, H., Anthony, Q. G., Bradley, H., O'Brien, K., Hallahan, E., Khan, M. A., Purohit, S., Prashanth, U. S., Raff, E., et al. Pythia: A suite for analyzing large language models across training and scaling. In International Conference on Machine Learning , pp. 2397–2430. PMLR, 2023. Black, S., Leo, G., Wang, P., Leahy, C., and Biderman, S. Gpt-neo: Large scale autoregressive language modeling with mesh-tensorflow. Zenodo , 2021. Bottou, L. Large-scale machine learning with stochastic gradient descent. In Proceedings of COMPSTAT'2010: 19th International Conference on Computational Statis ticsParis France, August 22-27, 2010 Keynote, Invited and Contributed Papers , pp. 177–186. Springer, 2010. Carlini, N., Tramer, F., Wallace, E., Jagielski, M., Herbert-Voss, A., Lee, K., Roberts, A., Brown, T., Song, D., Erlingsson, U., et al. Extracting training data from large", "source": "marker_v2", "marker_block_id": "/page/8/ListGroup/507"}
2
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0096", "section": "References", "page_start": 9, "page_end": 9, "type": "ListGroup", "text": "language models. In 30th USENIX security symposium (USENIX Security 21) , pp. 2633–2650, 2021. Choi, H. K., Khanov, M., Wei, H., and Li, Y. How contaminated is your benchmark? measuring dataset leakage in large language models with kernel divergence. In Forty second International Conference on Machine Learning . Duan, M., Suri, A., Mireshghallah, N., Min, S., Shi, W., Zettlemoyer, L., Tsvetkov, Y., Choi, Y., Evans, D., and Hajishirzi, H. Do membership inference attacks work on large language models? In First Conference on Language Modeling . Duarte, A. V., Zhao, X., Oliveira, A. L., and Li, L. Decop: Detecting copyrighted content in language models training data. In Forty-first International Conference on Machine Learning . Frankle, J., Schwab, D. J., and Morcos, A. S. The early phase of neural network training. In International Con ference on Learning Representations . Grynbaum, M. M. and Mac, R. The times sues openai and microsoft over ai use of copyrighted work. The New York Times , 27(1), 2023. Gur-Ari, G., Roberts, D. A., and Dyer, E. Gradient descent happens in a tiny subspace. arXiv preprint arXiv:1812.04754 , 2018. Hu, E. J., Shen, Y., Wallis, P., Allen-Zhu, Z., Li, Y., Wang, S., Wang, L., Chen, W., et al. Lora: Low-rank adaptation of large language models. ICLR , 1(2):3, 2022. Kaplan, J., McCandlish, S., Henighan, T., Brown, T. B., Chess, B., Child, R., Gray, S., Radford, A., Wu, J., and Amodei, D. Scaling laws for neural language models. arXiv preprint arXiv:2001.08361 , 2020. Li, Y. Estimating contamination via perplexity: Quantifying memorisation in language model evaluation. In The Future of Machine Learning Data Practices and Reposi tories at ICLR 2025 . Liu, Z., Zhu, T., Tan, C., Liu, B., Lu, H., and Chen, W. Probing language models for pre-training data detection. In Proceedings of the 62nd Annual Meeting of the Asso ciation for Computational Linguistics (Volume 1: Long Papers) , pp. 1576–1587, 2024. Mangrulkar, S., Gugger, S., Debut, L., Belkada, Y., Paul, S., and Bossan, B. Peft: State-of-the-art parameter-efficient fine-tuning methods. 2022. Ruder, S. An overview of gradient descent optimization algorithms. arXiv preprint arXiv:1609.04747 , 2016.", "source": "marker_v2", "marker_block_id": "/page/8/ListGroup/508"}
3
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0097", "section": "References", "page_start": 10, "page_end": 10, "type": "Text", "text": "Shi, W., Ajith, A., Xia, M., Huang, Y., Liu, D., Blevins, T., Chen, D., and Zettlemoyer, L. Detecting pretraining data from large language models. In 12th International Conference on Learning Representations, ICLR 2024 , 2024.", "source": "marker_v2", "marker_block_id": "/page/9/Text/280"}
4
+ {"paper_id": "9346049b-7104-494c-9378-955a2d7393ed", "chunk_id": "9346049b-7104-494c-9378-955a2d7393ed:0098", "section": "References", "page_start": 10, "page_end": 10, "type": "ListGroup", "text": "Tang, H., Zhu, Z., and Yang, Y. Identifying pre-training data in llms: A neuron activation-based detection framework. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing , pp. 18738– 18751, 2025. Touvron, H., Lavril, T., Izacard, G., Martinet, X., Lachaux, M.-A., Lacroix, T., Roziere, B., Goyal, N., Hambro, E., ` Azhar, F., et al. Llama: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971 , 2023. Wang, B. and Komatsuzaki, A. Gpt-j-6b: A 6 billion parameter autoregressive language model, 2021. Wang, H., Ma, S., Wang, R., and Wei, F. Q-sparse: All large language models can be fully sparsely-activated. arXiv preprint arXiv:2407.10969 , 2024. Zhang, H., Zhang, S., Jing, B., and Wei, H. Fine-tuning can help detect pretraining data from large language models. In The Thirteenth International Conference on Learning Representations . Zhang, J., Sun, J., Yeats, E., Ouyang, Y., Kuo, M., Zhang, J., Yang, H. F., and Li, H. Min-k%++: Improved baseline for pre-training data detection from large language models. In The Thirteenth International Conference on Learning Representations , 2025. Zhang, S., Roller, S., Goyal, N., Artetxe, M., Chen, M., Chen, S., Dewan, C., Diab, M., Li, X., Lin, X. V., et al. Opt: Open pre-trained transformer language models. arXiv preprint arXiv:2205.01068 , 2022. Zhang, W., Zhang, R., Guo, J., Rijke, M., Fan, Y., and Cheng, X. Pretraining data detection for large language models: A divergence-based calibration method. In Pro ceedings of the 2024 Conference on Empirical Methods in Natural Language Processing , pp. 5263–5274, 2024.", "source": "marker_v2", "marker_block_id": "/page/9/ListGroup/279"}
icml26/9346049b-7104-494c-9378-955a2d7393ed/reference_text_v3.txt ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [p. 9 | section: References | type: ListGroup]
2
+ Balloccu, S., Schmidtova, P., Lango, M., and Du ´ sek, O. ˇ Leak, cheat, repeat: Data contamination and evaluation malpractices in closed-source llms. In Proceedings of the 18th Conference of the European Chapter of the Asso ciation for Computational Linguistics (Volume 1: Long Papers) , pp. 67–93, 2024. Biderman, S., Schoelkopf, H., Anthony, Q. G., Bradley, H., O'Brien, K., Hallahan, E., Khan, M. A., Purohit, S., Prashanth, U. S., Raff, E., et al. Pythia: A suite for analyzing large language models across training and scaling. In International Conference on Machine Learning , pp. 2397–2430. PMLR, 2023. Black, S., Leo, G., Wang, P., Leahy, C., and Biderman, S. Gpt-neo: Large scale autoregressive language modeling with mesh-tensorflow. Zenodo , 2021. Bottou, L. Large-scale machine learning with stochastic gradient descent. In Proceedings of COMPSTAT'2010: 19th International Conference on Computational Statis ticsParis France, August 22-27, 2010 Keynote, Invited and Contributed Papers , pp. 177–186. Springer, 2010. Carlini, N., Tramer, F., Wallace, E., Jagielski, M., Herbert-Voss, A., Lee, K., Roberts, A., Brown, T., Song, D., Erlingsson, U., et al. Extracting training data from large
3
+
4
+ [p. 9 | section: References | type: ListGroup]
5
+ language models. In 30th USENIX security symposium (USENIX Security 21) , pp. 2633–2650, 2021. Choi, H. K., Khanov, M., Wei, H., and Li, Y. How contaminated is your benchmark? measuring dataset leakage in large language models with kernel divergence. In Forty second International Conference on Machine Learning . Duan, M., Suri, A., Mireshghallah, N., Min, S., Shi, W., Zettlemoyer, L., Tsvetkov, Y., Choi, Y., Evans, D., and Hajishirzi, H. Do membership inference attacks work on large language models? In First Conference on Language Modeling . Duarte, A. V., Zhao, X., Oliveira, A. L., and Li, L. Decop: Detecting copyrighted content in language models training data. In Forty-first International Conference on Machine Learning . Frankle, J., Schwab, D. J., and Morcos, A. S. The early phase of neural network training. In International Con ference on Learning Representations . Grynbaum, M. M. and Mac, R. The times sues openai and microsoft over ai use of copyrighted work. The New York Times , 27(1), 2023. Gur-Ari, G., Roberts, D. A., and Dyer, E. Gradient descent happens in a tiny subspace. arXiv preprint arXiv:1812.04754 , 2018. Hu, E. J., Shen, Y., Wallis, P., Allen-Zhu, Z., Li, Y., Wang, S., Wang, L., Chen, W., et al. Lora: Low-rank adaptation of large language models. ICLR , 1(2):3, 2022. Kaplan, J., McCandlish, S., Henighan, T., Brown, T. B., Chess, B., Child, R., Gray, S., Radford, A., Wu, J., and Amodei, D. Scaling laws for neural language models. arXiv preprint arXiv:2001.08361 , 2020. Li, Y. Estimating contamination via perplexity: Quantifying memorisation in language model evaluation. In The Future of Machine Learning Data Practices and Reposi tories at ICLR 2025 . Liu, Z., Zhu, T., Tan, C., Liu, B., Lu, H., and Chen, W. Probing language models for pre-training data detection. In Proceedings of the 62nd Annual Meeting of the Asso ciation for Computational Linguistics (Volume 1: Long Papers) , pp. 1576–1587, 2024. Mangrulkar, S., Gugger, S., Debut, L., Belkada, Y., Paul, S., and Bossan, B. Peft: State-of-the-art parameter-efficient fine-tuning methods. 2022. Ruder, S. An overview of gradient descent optimization algorithms. arXiv preprint arXiv:1609.04747 , 2016.
6
+
7
+ [p. 10 | section: References | type: Text]
8
+ Shi, W., Ajith, A., Xia, M., Huang, Y., Liu, D., Blevins, T., Chen, D., and Zettlemoyer, L. Detecting pretraining data from large language models. In 12th International Conference on Learning Representations, ICLR 2024 , 2024.
9
+
10
+ [p. 10 | section: References | type: ListGroup]
11
+ Tang, H., Zhu, Z., and Yang, Y. Identifying pre-training data in llms: A neuron activation-based detection framework. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing , pp. 18738– 18751, 2025. Touvron, H., Lavril, T., Izacard, G., Martinet, X., Lachaux, M.-A., Lacroix, T., Roziere, B., Goyal, N., Hambro, E., ` Azhar, F., et al. Llama: Open and efficient foundation language models. arXiv preprint arXiv:2302.13971 , 2023. Wang, B. and Komatsuzaki, A. Gpt-j-6b: A 6 billion parameter autoregressive language model, 2021. Wang, H., Ma, S., Wang, R., and Wei, F. Q-sparse: All large language models can be fully sparsely-activated. arXiv preprint arXiv:2407.10969 , 2024. Zhang, H., Zhang, S., Jing, B., and Wei, H. Fine-tuning can help detect pretraining data from large language models. In The Thirteenth International Conference on Learning Representations . Zhang, J., Sun, J., Yeats, E., Ouyang, Y., Kuo, M., Zhang, J., Yang, H. F., and Li, H. Min-k%++: Improved baseline for pre-training data detection from large language models. In The Thirteenth International Conference on Learning Representations , 2025. Zhang, S., Roller, S., Goyal, N., Artetxe, M., Chen, M., Chen, S., Dewan, C., Diab, M., Li, X., Lin, X. V., et al. Opt: Open pre-trained transformer language models. arXiv preprint arXiv:2205.01068 , 2022. Zhang, W., Zhang, R., Guo, J., Rijke, M., Fan, Y., and Cheng, X. Pretraining data detection for large language models: A divergence-based calibration method. In Pro ceedings of the 2024 Conference on Empirical Methods in Natural Language Processing , pp. 5263–5274, 2024.
icml26/9346049b-7104-494c-9378-955a2d7393ed/sanitization_report.json ADDED
@@ -0,0 +1,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "paper_id": "9346049b-7104-494c-9378-955a2d7393ed",
3
+ "pipeline": "Paper2Markdown-V3",
4
+ "ok": true,
5
+ "page_count": 16,
6
+ "chunk_count": 146,
7
+ "main_body_chunk_count": 95,
8
+ "appendix_chunk_count": 47,
9
+ "reference_chunk_count": 4,
10
+ "model_text_chars": 39233,
11
+ "raw_markdown_chars": 68446,
12
+ "sanitized_chars": 62081,
13
+ "page_provenance": {
14
+ "min_page": 1,
15
+ "max_page": 16,
16
+ "invalid_count": 0
17
+ },
18
+ "marker_block_type_counts": {
19
+ "Caption": 1,
20
+ "Equation": 23,
21
+ "FigureGroup": 9,
22
+ "Footnote": 2,
23
+ "ListGroup": 8,
24
+ "PageFooter": 16,
25
+ "PageHeader": 18,
26
+ "SectionHeader": 52,
27
+ "Table": 3,
28
+ "TableGroup": 6,
29
+ "Text": 214
30
+ },
31
+ "asset_count_raw": 9,
32
+ "asset_count_model_kept": 9,
33
+ "asset_count_rejected": 0,
34
+ "asset_reject_reasons": {
35
+ "kept": 9
36
+ },
37
+ "artifact_leak_audit": {
38
+ "ok": true,
39
+ "hits": {
40
+ "Anonymous Authors": [],
41
+ "ACKNOWLEDGMENT": [],
42
+ "OpenReview": [],
43
+ "\"accept_label\"": [],
44
+ "\"decision\"": [],
45
+ "\"decision_tier\"": [],
46
+ "\"source_status\"": [],
47
+ "Meta-review": [],
48
+ "Official Review": [],
49
+ "official_reviews": [],
50
+ "meta_reviews": [],
51
+ "suggested_verdict_score": []
52
+ },
53
+ "artifact_count": 2
54
+ },
55
+ "default_model_input": "model_text_v3.txt",
56
+ "appendix_input": "appendix_text_v3.txt",
57
+ "reference_input": "reference_text_v3.txt"
58
+ }
icml26/9346049b-7104-494c-9378-955a2d7393ed/sanitized_v3.txt ADDED
@@ -0,0 +1,343 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {0}
2
+ # Abstract
3
+ Pre-training data detection for LLMs is essential for addressing copyright concerns and mitigating benchmark contamination. Existing methods mainly focus on the likelihood-based statistical features or heuristic signals before and after finetuning, but the former are susceptible to word frequency bias in corpora, and the latter strongly depend on the similarity of fine-tuning data. From an optimization perspective, we observe that during training, samples transition from unfamiliar to familiar in a manner reflected by systematic differences in gradient behavior. Familiar samples exhibit smaller update magnitudes, distinct update locations in model components, and more sharply activated neurons. Based on this insight, we propose GDS, a method that identifies pre-training data by probing Gradient Deviation Scores of target samples. Specifically, we first represent each sample using gradient profiles that capture the magnitude, location, and concentration of parameter updates across FFN and Attention modules, revealing consistent distinctions between member and non-member data. These features are then fed into a lightweight classifier to perform binary membership inference. Experiments on five public datasets show that GDS achieves state-ofthe-art performance with significantly improved cross-dataset transferability over strong baselines. Further interpretability analyse show gradient feature distribution differences, enabling practical and scalable pre-training data detection.
4
+ # 1. Introduction
5
+ Large language models (LLMs) performance scales with the size and quality of pre-training data [\(Kaplan et al.,](#page-8-0) [2020\)](#page-8-0).
6
+ <span id="page-0-0"></span>![](_page_0_Figure_9.jpeg)
7
+ *Figure 1.* Heat maps of gradient matrices from the unfamiliar stage (epochs 0–1, panels a, c) to the familiar stage (epochs 6–7, panels b, d). Panels a and b display the update magnitude of the FFN module in layer 30, while panels c and d illustrate the update positions, with white for sparse and blue for core updates.
8
+ As pre-training corpora expand to trillions of tokens and become increasingly proprietary and non-transparent, they raise significant concerns, such as unauthorized copyright, biased or harmful content, and contamination of evaluation benchmarks [\(Balloccu et al.,](#page-8-1) [2024;](#page-8-1) [Grynbaum & Mac,](#page-8-2) [2023\)](#page-8-2). These challenges motivate a specialized task of membership inference attacks, named pre-training data detection: determining whether a given text sample was included in a model's pre-training corpus [\(Carlini et al.,](#page-8-3) [2021\)](#page-8-3).
9
+ Recent studies [\(Carlini et al.,](#page-8-3) [2021;](#page-8-3) [Li;](#page-8-4) [Shi et al.,](#page-9-0) [2024;](#page-9-0) [Zhang et al.,](#page-9-1) [2025\)](#page-9-1) primarily use likelihood-based statistical features to detect pre-training samples. For example, the Min-K method [\(Shi et al.,](#page-9-0) [2024;](#page-9-0) [Zhang et al.,](#page-9-1) [2025\)](#page-9-1) examines the k% of tokens with the lowest predicted probabilities, assuming non-member texts contain more low-likelihood tokens. However, these approaches are susceptible to word frequency bias in pre-training corpora, specifically for rare words or short texts scenarios. To improve detection accuracy, other researchers [\(Zhang et al.;](#page-9-2) [Choi et al.\)](#page-8-5) propose to analyze heuristic signals before and after fine-tuning, leveraging the fact that fine-tuning impacts member and non-member samples differently. For example, KDS [\(Choi](#page-8-5) [et al.\)](#page-8-5) shows that non-member datasets exhibit much larger embedding changes, while FSD [\(Zhang et al.\)](#page-9-2) finds that their loss reductions are also significantly greater. Neverthe-
10
+ {1}------------------------------------------------
11
+ less, these methods rely on the strong assumption that finetuning data closely match the target samples' distribution, requiring additional training on similar non-member data and thereby limiting cross-dataset generalization. Therefore, how to achieve highly generalizable pre-training data detection remains an open problem.
12
+ 108 109 Pretraining can be viewed as a gradual shift from unfamiliarity to familiarity with data. Optimization theory [\(Ruder,](#page-8-6) [2016;](#page-8-6) [Frankle et al.;](#page-8-7) [Wang et al.,](#page-9-3) [2024\)](#page-9-3) suggests that training drives parameters toward data-specific structure, reflected in consistent update patterns across magnitude, location, and concentration. As shown in Figure [1](#page-0-0) and Section [3,](#page-2-0) we observe the following trends:
13
+ - 1. Decay of update magnitude. Figure [1\(](#page-0-0)a,b) shows that parameter updates are strongly attenuated as data grows familiar, consistent with loss-convergence theory [\(Bottou,](#page-8-8) [2010;](#page-8-8) [Ruder,](#page-8-6) [2016\)](#page-8-6).
14
+ - 2. Gradually stabilizing of update locations. Figure [1\(](#page-0-0)c,d) shows that parameter updates evolve from broad activation regions to a stable core set of neurons, consistent with the sparse activation behavior of LLMs [\(Liu et al.,](#page-8-9) [2024\)](#page-8-9).
15
+ - 3. Increasing update sparsity. Figure [1\(](#page-0-0)a,b) and Figures [2\(](#page-2-1)b,c) show that during training, an increasing fraction of updates concentrates in the top 10% of neurons, consistent with Hessian spectrum reshaping during loss convergence [\(Gur-Ari et al.,](#page-8-10) [2018\)](#page-8-10). Familiar data yields sparse, concentrated updates, whereas unfamiliar data leads to more distributed updates.
16
+ These observations reflect the evolutionary dynamics of neural network training, highlighting phase differences in parameter updates induced by identical samples. Together, they offer both theoretical motivation and empirical support for our detection method based on gradient deviation scores.
17
+ Based on this insight, we propose GDS, a novel pretraining data detection method that infers pre-training data by probing Gradient Deviation Scores of target samples without fine-tuning. GDS exploits gradient differences between member and non-member samples to train a lightweight classifier with strong generalization. Specifically, within the LoRA framework, we collect per-sample gradients across layers during backpropagation, encoding them as eightdimensional features that capture the magnitude, location, and concentration of updates in attention and FFN modules. Compared to non-members, member samples show smaller matrix-level and row-wise update magnitudes, lower FFN but higher attention eccentricity, greater variability in matrixlevel and row-wise updates, a higher share of top gradients, and fewer sparse neurons. Then, we extract discriminative
18
+ statistics from the signals to build fixed-dimensional feature vectors, which are fed to a lightweight MLP for binary membership classification.
19
+ Extensive experiments on five benchmark datasets show that GDS is effective and generalizable, improving AUC by 6.5% and achieving a 67.3% TPR@5%FPR, substantially outperforming strong baselines. Further interpretability analyses reveal distributional differences in gradient features between member and non-member samples, offering intuitive evidence of training data imprints on the model and validating our methodology. [1](#page-1-0) Our contributions are as follows:
20
+ - From a training optimization perspective, we analyze how LLMs evolve from unfamiliarity to familiarity with data and propose using stage-wise parameter update dynamics to identify pretraining data, offering a novel direction to solve this task.
21
+ - We propose gradient deviation features capturing magnitude, location, and concentration, and introduce a gradient deviation score–based method for pretraining data detection without fine-tuning.
22
+ - Extensive experiments across diverse datasets and backbone models validate the effectiveness and generalization of GDS, while interpretability analyses reveal clear gradient differences between member and nonmember samples, supporting its validity.
23
+ # 2. Related Work
24
+ Likelihood-Based Scoring Methods. Early works distinguish member and non-member samples by capturing static statistical metrics in token-level likelihood distributions. Global-likelihood–based methods, such as PPL [\(Li\)](#page-8-4), Zlib [\(Carlini et al.,](#page-8-3) [2021\)](#page-8-3), and Lowercase [\(Carlini et al.,](#page-8-3) [2021\)](#page-8-3), perform discrimination by exploiting global probability features, compression entropy, and case-conversion ratios. However, global likelihood is highly sensitive to wordfrequency effects, leading to unstable performance. Mink% [\(Shi et al.,](#page-9-0) [2024\)](#page-9-0) and Min-k%++ [\(Zhang et al.,](#page-9-1) [2025\)](#page-9-1) mitigate global dependence by focusing on low-probability outlier tokens or target–candidate probability comparisons, with k and text length jointly determining the analyzed token subset. However, the fixed choice of k lacks adaptivity, causing severe score fluctuations in short texts with lowfrequency words. Although PC-PDD [\(Zhang et al.,](#page-9-4) [2024\)](#page-9-4) approximates the word-frequency distribution of pretraining corpora using public datasets, these references lack fidelity due to limited domain coverage.
25
+ Fine-tuning Enhanced Methods. To address the instability of static statistical indicators, recent studies [\(Zhang et al.;](#page-9-2)
26
+ <span id="page-1-0"></span><sup>1</sup>Code in
27
+ {2}------------------------------------------------
28
+ <span id="page-2-1"></span>![](_page_2_Figure_1.jpeg)
29
+ *Figure 2.* Dynamic curves of four parameter update characteristics defined in the Motivation section. i → j denotes the epoch interval. Ordinate shows values of predefined characteristics, with orange and blue representing Attention and FFN modules.
30
+ [Choi et al.\)](#page-8-5) adopt lightweight fine-tuning to actively amplify asymmetric differences between member and non-member samples. KDS [\(Choi et al.\)](#page-8-5) evaluates dataset contamination by comparing kernel similarity matrices of embeddings before and after fine-tuning, assuming non-member datasets undergo larger embedding changes than member datasets. However, it only estimates dataset-level contamination and cannot reliably detect contamination at the sample-level. Another representative method FSD [\(Zhang et al.\)](#page-9-2) detects membership by comparing loss before and after fine-tuning, assuming non-member samples experience a larger loss reduction than member samples. Nevertheless, these methods assume that fine-tuning data closely matches the target distribution, requiring additional tuning on similar non-member data, which limits cross-dataset generalization.
31
+ # <span id="page-2-0"></span>3. Motivation
32
+ Inspired by optimization theory [\(Ruder,](#page-8-6) [2016;](#page-8-6) [Bottou,](#page-8-8) [2010\)](#page-8-8), we examine how LLMs transition from unfamiliarity to familiarity with data, and how this cognitive shift relates to the dynamic evolution of model parameters during training. To evaluate it, we fine-tune LLaMA-7B with LoRA on the unseen split of BookMIA dataset and track LoRA parameter updates over 7 epochs. Stage-wise analysis in Figure [2](#page-2-1) reveals the dynamic evolution of gradient features.
33
+ #### 3.1. Decay of Update Magnitude
34
+ Model training aims to minimize the loss function L(θ), with update magnitude determined by the gradient norm ∥∇L(θ)∥. According to optimization convergence theory [\(Ruder,](#page-8-6) [2016\)](#page-8-6), as the parameters θ<sup>t</sup> approach the optimum θ ∗ , the gradient norm of the loss function vanishes, i.e.,limθ→<sup>θ</sup> <sup>∗</sup> ∥∇L(θt)∥ = 0. This causes the parameter update magnitude to decrease synchronously. Therefore, we use ∆θ<sup>t</sup> as the core indicator of the average update magnitude across all trainable parameters at iteration t:
35
+ $$\Delta \theta_{t} = \frac{1}{N} \sum_{i=1}^{N} |\theta_{t,i} - \theta_{t-1,i}|, \qquad (1)$$
36
+ where N denotes the total number of trainable parameters.
37
+ As training progresses, both the loss L(θt) and gradient norm ∥∇L(θt)∥ decrease, reducing the update magnitude ∆θ<sup>t</sup> and slowing its decay as parameters converge to the optimum θ ∗ . Eventually, L(θt) stabilizes near its minimum, parameter updates ∆θ<sup>t</sup> become negligible. As shown in Figure [2a,](#page-2-1) the mean update magnitude decreases monotonically with training, with the largest changes occurring in the first two epochs, consistent with loss convergence.
38
+ ### 3.2. Gradually Stabilizing of Update Locations
39
+ Existing studies [\(Liu et al.,](#page-8-9) [2024;](#page-8-9) [Tang et al.,](#page-9-5) [2025\)](#page-9-5) have shown that neural activations occur at different locations when processing member samples and non-member samples. Inspired by this, we adopt the parameter update eccentricity as the core indicator, which quantifies the deviation of the top-10% parameter update positions from the global parameter centroid. We first define the global centroid as:
40
+ $$\theta_c = \frac{1}{N} \sum_{i=1}^{N} \theta_i, \tag{2}$$
41
+ where θ<sup>i</sup> is the coordinate of the i-th parameter.
42
+ The update eccentricity at iteration t is then defined as:
43
+ $$E_{t} = \frac{1}{\operatorname{card}(U_{10,t})} \sum_{\theta_{i} \in U_{10,t}} \|\theta_{i} - \theta_{c}\|_{2},$$
44
+ (3)
45
+ where card(·) denotes the number of elements in a set, U10,t = {∥∆θt,i∥<sup>1</sup> ∈ Top10%(∥∆θt∥1)}, ∥ · ∥<sup>1</sup> denotes the ℓ<sup>1</sup> norm and ∥ · ∥<sup>2</sup> denotes the ℓ<sup>2</sup> norm.
46
+ In the initial training stage, activation patterns are unstable, leading to scattered U10,t and thus random large values of Et. As training proceeds, the model identifies core parameters related to data features: θ<sup>t</sup> stabilizes to the optimal subset θ ∗ , and U10,t converges to the core parameter region, resulting in E<sup>t</sup> gradually stabilizing at a low level. Figure [2d](#page-2-1) shows that the eccentricity of parameter update evolves to a relatively stable value, consistent with the evolution of the
47
+ {3}------------------------------------------------
48
+ <span id="page-3-0"></span>![](_page_3_Figure_2.jpeg)
49
+ *Figure 3.* Overview of Gradient Deviation Scores method.
50
+ neuron activation pattern, suggesting that training identifies the core parameters and stabilizes updates around them.
51
+ #### 3.3. Increasing Update Sparsity
52
+ The Hessian spectrum [\(Gur-Ari et al.,](#page-8-10) [2018;](#page-8-10) [Frankle et al.\)](#page-8-7) is a core metric characterizing the loss function's curvature, directly determining the direction and efficiency of parameter updates. For the loss function L(θ), its Hessian matrix H(θ) = ∇2L(θ) describes the local curvature of the loss landscape, with eigenvalue decomposition:
53
+ $$\mathcal{H}(\theta) = U\Lambda U^T,\tag{4}$$
54
+ where U is the orthogonal eigenvector matrix (principal curvature directions), Λ = diag(λ1, . . . , λd) is the diagonal eigenvalue matrix (curvature magnitudes). During training, the Hessian spectrum changes from an almost uniform λ<sup>i</sup> ≈ c in the early stage to a late-stage structure with a few large eigenvalues and most near zero.
55
+ This reshaping leads to concentrated updates, focusing on directions with large eigenvalues while leaving most others nearly unchanged. Consequently, update energy is confined to a small subset of parameters, motivating the selection of two joint indicators. S<sup>t</sup> measures the fraction of parameters with negligible updates (absolute value < 10<sup>−</sup><sup>6</sup> ) at iteration t, while T10,t measures the fraction of total update magnitude contributed by the top 10% largest updates.
56
+ $$S_t = \frac{\operatorname{card}\left(i \mid |\Delta \theta_{t,i}| < 10^{-6}\right)}{N},\tag{5}$$
57
+ $$T_{10,t} = \frac{\sum_{|\Delta\theta_{t,i}| \in U_{10,t}} |\Delta\theta_{t,i}|}{||\Delta\theta_t||_1}.$$
58
+ (6)
59
+ As training progresses, parameter updates increasingly concentrate along core directions, with most parameters receiving negligible changes. Consequently, S<sup>t</sup> gradually
60
+ increases, while T10,t remains relatively large and stable(0.26–0.27), indicating that update energy is consistently dominated by a small subset of parameters. Figures [2b](#page-2-1) and [2c](#page-2-1) confirm this growing sparsity and stable Top 10% contribution, reflecting update energy aggregation driven by Hessian spectrum reshaping. Further details on the variation trends of the three metrics are provided in the appendix [B.](#page-12-0)
61
+ # 4. Method
62
+ ### 4.1. Task Definition
63
+ Given a target text x and a target LLM f<sup>θ</sup> pre-trained on a corpus D, the goal of pre-training data detection task is to construct a detector h(x, fθ)to determine whether x belongs to D. This task can be formalized as a binary classification problem: h(x, fθ) → {0, 1} where "1" indicates x ∈ D as member and "0" indicates x /∈ D as non-member.
64
+ As illustrated in Figure [3,](#page-3-0) GDS comprises three stages: gradient matrix acquisition, feature vector extraction and light Multilayer Perceptron(MLP) training. For each training sample, we perform inference and backpropagation to obtain LoRA gradients across l layers and m sub-modules, yielding l × m gradient matrices G. From these matrices, we extract eight-dimensional features to form a gradient feature vector V l×m×8 , which is used to train a lightweight MLP classifier for binary membership prediction. During inference, the same feature extraction process is applied to a target sample x ∗ , and the resulting feature vector is fed into the trained MLP to produce the final classification result.
65
+ #### 4.2. Gradient Matrix Acquisition
66
+ Given the target model f<sup>θ</sup> and training sample x, we first initialize f<sup>θ</sup> with LoRA, yielding l × m LoRA matrices L. We then feed a single sample x into f<sup>θ</sup> for forward
67
+ {4}------------------------------------------------
68
+ inference and backpropagation, obtaining LoRA gradient matrices $\mathbb{G} = \nabla_{\mathbb{L}} \mathcal{L}_{\text{CLM}}(f_{\theta}(x))$ , where $\mathcal{L}_{\text{CLM}}$ denotes the causal language modeling loss of the pre-trained LLM. Since the LoRA\_B matrices are fully initialized to zero, a single round of gradient propagation leads to zero gradients for the LoRA\_A matrices. Thus, we only collect the gradient matrices of LoRA\_B for subsequent processing.
69
+ #### 4.3. Feature Vector Extraction
70
+ Given the gradient matrices $\mathbb{G}$ , we extract features based on the three parameter update trends introduced in Section 3.
71
+ #### 4.3.1. MAGNITUDE
72
+ We propose two magnitude indicators to measure the overall scale of gradient updates in the LoRA parameter space.
73
+ (1) **Absolute Mean**: The mean of the absolute values of all elements in the gradient matrix, which characterizes the overall parameter update strength:
74
+ $$Abs\_Mean = \frac{1}{r \cdot h} \sum_{i=1}^{r} \sum_{j=1}^{h} |\mathbb{G}_{i,j}|,$$
75
+ (7)
76
+ where $\mathbb{G}_{i,j}$ denotes the element in the *i*-th row and *j*-th column of the gradient matrix with r rows and h columns.
77
+ (2) Max Row Mean: The mean of each row in the LoRA matrix and take the maximum value, which characterizes the most sample-responsive local optimal response dimension with the largest parameter update magnitude:
78
+ $$Row\_Mean\_Max = \max_{1 \le i \le r} \left( \frac{1}{h} \sum_{j=1}^{h} |\mathbb{G}_{i,j}| \right).$$
79
+ (8)
80
+ #### 4.3.2. Position
81
+ Screen the top 10% of gradient elements by absolute value from $\mathbb{G}$ and calculate their offset from this matrix center, capturing offset characteristics of core gradient positions for (1) Row Eccentricity and (2) Column Eccentricity, respectively:
82
+ $$Row\_Ecc = \frac{1}{\operatorname{card}(S)} \sum_{(i,j) \in S} \left| \frac{2i - (r+1)}{r-1} \right|, \quad (9)$$
83
+ $$Col\_Ecc = \frac{1}{\operatorname{card}(S)} \sum_{(i,j) \in S} \left| \frac{2j - (h+1)}{h-1} \right|, \quad (10)$$
84
+ where $S = \{(i,j) \mid |\mathbb{G}_{i,j}| \in \text{Top10\%}(|\mathbb{G}|)\}$ denotes the set of indices for the top 10% of elements in the gradient matrix $\mathbb{G}$ ranked by absolute gradient value. Top gradients near the center correspond to an eccentricity of 0, while those near the edge correspond to a score of 1.
85
+ #### 4.3.3. CONCENTRATION
86
+ We propose four indicators to measure the concentration of gradient distributions.
87
+ (1) **Top-10% Ratio**: The ratio of the sum of the top 10% largest gradient magnitudes to the total update magnitude of the gradient matrix, which quantifies the contribution ratio of core gradients:
88
+ $$10p\_Ratio = \frac{\sum_{(i,j)\in S} |\mathbb{G}_{i,j}|}{\|\mathbb{G}\|_1}, \tag{11}$$
89
+ (2) **Sparsity**: The proportion of gradient elements with absolute values less than $10^{-6}$ , which quantifies the sparsity degree of gradient distributions:
90
+ $$Sparsity = \frac{\operatorname{card}\left(\left\{\left(i,j\right) \mid |\mathbb{G}_{i,j}| < 10^{-6}\right\}\right)}{r \cdot h}.$$
91
+ (12)
92
+ (3) **Standard Deviation**: The standard deviation of the elements in the gradient matrix, which quantifies the dispersion degree of parameter updates:
93
+ $$Std = \sqrt{\frac{1}{r \cdot h} \sum_{i=1}^{r} \sum_{j=1}^{h} (|\mathbb{G}_{i,j}| - \text{Abs\_mean})^2}.$$
94
+ (13)
95
+ (4) Row Mean Standard Deviation: The mean of each row in the LoRA matrix and take the standard deviation, which quantifies the consistency of update strength across all rows:
96
+ $$Row\_Mean\_Std = \sqrt{\frac{1}{r} \sum_{i=1}^{r} \left(\bar{\mathbb{G}}_i - \mu_{\bar{\mathbb{G}}}\right)^2}, \quad (14)$$
97
+ where $\bar{\mathbb{G}}_i = \frac{1}{h} \sum_{j=1}^h |\mathbb{G}_{i,j}|$ denotes the *i*-th row's absolute mean, $\mu_{\bar{\mathbb{G}}} = \frac{1}{r} \sum_{i=1}^r \bar{\mathbb{G}}_i$ denotes t the mean of row means.
98
+ We compute the aforementioned eight feature values from all gradient matrices to derive a feature vector $\mathbb{V}^{l\times m\times 8}$ $\triangleq$ [Abs\_Mean, Row\_Mean\_Max, 10p\_Ratio, Sparsity, Std, Row\_Mean\_Std, Row\_Ecc, Col\_Ecc] per sample, which is then used for subsequent MLP training and inference.
99
+ #### 4.4. Light MLP Training
100
+ Given the feature vectors $\mathbb{V}_i$ from all training samples vectors $\mathbb{V}_s$ , we feed them into a lightweight MLP for training. The target output corresponds to the binary label $\{0,1\}$ for each sample, where 0 denotes non-member and 1 denotes member. The training loss is defined as follows:
101
+ $$\mathcal{L} = -\frac{1}{N} \sum_{i=1}^{N} \left[ y_i \log \hat{y}_i + (1 - y_i) \log(1 - \hat{y}_i) \right], \quad (15)$$
102
+ where N denotes the number of training samples, $y_i \in \{0,1\}$ is the ground-truth label of the i-th sample, and $\hat{y}_i$ is the predicted probability output by the MLP.
103
+ {5}------------------------------------------------
104
+ <span id="page-5-0"></span>*Table 1.* Comparison(AUROC/TPR@5%FPR) on 4 Datasets across 5 target models. Target models are denoted as 2.7B/6B/6.7B/6.9B/7B, corresponding to Neo-2.7B/GPT-J-6b/OPT-6.7b/Pythia-6.9b/LLaMA-7B respectively. The best result is bold.
105
+ | | | | WikiMIA | | | | | ArXivTection | | | |
106
+ |--------|-------------------|-----------|-------------|-----------|-----------|-----------|-----------|--------------|-----------|-----------|--|
107
+ | Method | 2.7B | 6B | 6.7B | 6.9B | 7B | 2.7B | 6B | 6.7B | 6.9B | 7B | |
108
+ | PPL | 0.61/0.13 | 0.64/0.13 | 0.60/0.12 | 0.63/0.13 | 0.69/0.14 | 0.62/0.13 | 0.64/0.13 | 0.60/0.12 | 0.63/0.13 | 0.70/0.14 | |
109
+ | ZLib | 0.58/0.10 | 0.60/0.11 | 0.58/0.10 | 0.59/0.10 | 0.71/0.22 | 0.58/0.10 | 0.60/0.11 | 0.58/0.09 | 0.59/0.11 | 0.71/0.22 | |
110
+ | Min-k | 0.65/0.17 | 0.67/0.19 | 0.63/0.15 | 0.67/0.19 | 0.73/0.18 | 0.65/0.17 | 0.68/0.19 | 0.63/0.15 | 0.67/0.19 | 0.72/0.18 | |
111
+ | | Min-k++ 0.67/0.15 | 0.69/0.19 | 0.65/0.11 | 0.70/0.18 | 0.82/0.22 | 0.67/0.15 | 0.69/0.19 | 0.65/0.10 | 0.70/0.17 | 0.83/0.22 | |
112
+ | FSD | 0.92/0.77 | 0.95/0.78 | 0.90/0.63 | 0.90/0.66 | 0.92/0.41 | 0.91/0.65 | 0.96/0.79 | 0.89/0.63 | 0.95/0.66 | 0.94/0.81 | |
113
+ | Ours | 0.90/0.60 | 0.93/0.66 | 0.94/0.67 | 0.92/0.63 | 0.96/0.84 | 0.94/0.73 | 0.97/0.86 | 0.94/0.75 | 0.95/0.83 | 0.97/0.85 | |
114
+ | | | | BookTection | | | BookMIA | | | | | |
115
+ | Method | 2.7B | 6B | 6.7B | 6.9B | 7B | 2.7B | 6B | 6.7B | 6.9B | 7B | |
116
+ | PPL | 0.69/0.15 | 0.74/0.25 | 0.64/0.13 | 0.73/0.25 | 0.71/0.25 | 0.29/0.02 | 0.22/0.13 | 0.23/0.01 | 0.59/0.19 | 0.56/0.21 | |
117
+ | ZLib | 0.56/0.16 | 0.58/0.20 | 0.55/0.14 | 0.58/0.19 | 0.57/0.19 | 0.20/0.02 | 0.38/0.13 | 0.15/0.00 | 0.49/0.17 | 0.48/0.18 | |
118
+ | Min-k | 0.71/0.18 | 0.75/0.27 | 0.67/0.15 | 0.74/0.26 | 0.71/0.25 | 0.45/0.05 | 0.60/0.20 | 0.40/0.03 | 0.62/0.20 | 0.60/0.21 | |
119
+ | | Min-k++ 0.64/0.13 | 0.67/0.18 | 0.61/0.11 | 0.66/0.19 | 0.63/0.15 | 0.54/0.13 | 0.64/0.29 | 0.49/0.09 | 0.60/0.23 | 0.58/0.20 | |
120
+ | FSD | 0.92/0.53 | 0.91/0.52 | 0.96/0.77 | 0.93/0.59 | 0.92/0.55 | 0.98/0.93 | 0.97/0.89 | 0.98/0.96 | 0.98/0.93 | 0.98/0.91 | |
121
+ | Ours | 0.96/0.84 | 0.97/0.88 | 0.98/0.92 | 0.96/0.83 | 0.98/0.92 | 0.99/0.98 | 0.99/0.99 | 0.99/0.99 | 0.99/0.98 | 0.99/0.99 | |
122
+ *Table 2.* Performance Comparison on Mimir datasets with 7 subsets across 5 target models using AUROC scores.
123
+ <span id="page-5-1"></span>
124
+ | | | Wikipedia | | | | Github | | | | Pile CC | | | | PubMed Central | | |
125
+ |-------------------------------------------------------------------------------------------------------------|----|-----------------------------------------------------------------------------------------------------|-----------|---------|----|--------|----------------|---------|----|------------|-----------|---------|----|----------------|-----------|----|
126
+ | Method 2.7B | 6B | | 6.7B 6.9B | 7B 2.7B | 6B | | 6.7B 6.9B | 7B 2.7B | 6B | | 6.7B 6.9B | 7B 2.7B | 6B | | 6.7B 6.9B | 7B |
127
+ | PPL | | 0.56 0.57 0.56 0.56 0.56 0.78 0.79 0.78 0.90 0.83 0.56 0.57 0.56 0.56 0.52 0.78 0.79 0.78 0.78 0.72 | | | | | | | | | | | | | | |
128
+ | ZLib | | 0.62 0.65 0.59 0.65 0.58 0.90 0.91 0.79 0.91 0.86 0.55 0.55 0.55 0.55 0.52 0.78 0.78 0.73 0.77 0.71 | | | | | | | | | | | | | | |
129
+ | Min-k | | 0.66 0.68 0.65 0.68 0.63 0.88 0.89 0.76 0.90 0.83 0.56 0.57 0.56 0.56 0.52 0.81 0.80 0.74 0.79 0.72 | | | | | | | | | | | | | | |
130
+ | Min-k++ 0.65 0.68 0.60 0.69 0.56 0.84 0.86 0.56 0.86 0.73 0.54 0.55 0.54 0.56 0.51 0.71 0.72 0.60 0.70 0.59 | | | | | | | | | | | | | | | | |
131
+ | FSD | | 0.61 0.67 0.60 0.65 0.60 0.77 0.80 0.62 0.77 0.72 0.55 0.55 0.54 0.55 0.52 0.71 0.79 0.63 0.56 0.63 | | | | | | | | | | | | | | |
132
+ | Ours | | 0.63 0.64 0.65 0.65 0.64 0.90 0.92 0.88 0.92 0.91 0.59 0.59 0.59 0.57 0.59 0.84 0.85 0.84 0.79 0.82 | | | | | | | | | | | | | | |
133
+ | | | ArXiv | | | | | DM Mathematics | | | HackerNews | | | | Average | | |
134
+ | Method 2.7B | 6B | | 6.7B 6.9B | 7B 2.7B | 6B | | 6.7B 6.9B | 7B 2.7B | 6B | | 6.7B 6.9B | 7B 2.7B | 6B | | 6.7B 6.9B | 7B |
135
+ | PPL | | 0.78 0.79 0.65 0.78 0.70 0.78 0.79 0.65 0.91 0.31 0.65 0.62 0.59 0.62 0.59 0.64 0.66 0.62 0.73 0.59 | | | | | | | | | | | | | | |
136
+ | ZLib | | 0.77 0.78 0.68 0.77 0.71 0.82 0.81 0.80 0.81 0.23 0.68 0.60 0.58 0.60 0.58 0.65 0.67 0.63 0.72 0.58 | | | | | | | | | | | | | | |
137
+ | Min-k | | 0.78 0.79 0.65 0.78 0.70 0.93 0.93 0.92 0.92 0.32 0.65 0.62 0.59 0.62 0.59 0.71 0.73 0.69 0.75 0.60 | | | | | | | | | | | | | | |
138
+ | Min-k++ 0.60 0.64 0.53 0.70 0.57 0.77 0.79 0.67 0.75 0.22 0.53 0.57 0.51 0.60 0.53 0.60 0.63 0.56 0.67 0.53 | | | | | | | | | | | | | | | | |
139
+ | FSD | | 0.72 0.78 0.55 0.70 0.52 0.58 0.85 0.60 0.74 0.53 0.61 0.60 0.57 0.56 0.51 0.61 0.66 0.59 0.62 0.55 | | | | | | | | | | | | | | |
140
+ | Ours | | 0.78 0.79 0.78 0.78 0.77 0.95 0.95 0.94 0.95 0.95 0.58 0.60 0.60 0.57 0.58 0.73 0.75 0.74 0.76 0.70 | | | | | | | | | | | | | | |
141
+ # 5. Experiments
142
+ #### 5.1. Experimental Setup
143
+ Datasets Following prior work, we evaluate on five prevalent datasets: WikiMIA, BookMIA [\(Shi et al.,](#page-9-0) [2024\)](#page-9-0),ArxivTection, BookTection [\(Duarte et al.\)](#page-8-11), and MIMIR [\(Duan](#page-8-12) [et al.\)](#page-8-12), a widely recognized challenging benchmark for pretraining data detection.
144
+ Target Models We evaluate five open-source LLMs with diverse architectures: Neo-2.7B [\(Black et al.,](#page-8-13) [2021\)](#page-8-13), GPT-J-6B [\(Wang & Komatsuzaki,](#page-9-6) [2021\)](#page-9-6), OPT-6.7B [\(Zhang et al.,](#page-9-7) [2022\)](#page-9-7), Pythia-6.9B [\(Biderman et al.,](#page-8-14) [2023\)](#page-8-14), and LLaMA-7B [\(Touvron et al.,](#page-9-8) [2023\)](#page-9-8) from Hugging Face.
145
+ Comparison Methods We select five representative stateof-the-art baselines. Four scoring function–based methods
146
+ include PPL [\(Carlini et al.,](#page-8-3) [2021\)](#page-8-3), ZLib [\(Carlini et al.,](#page-8-3) [2021\)](#page-8-3), Min-k [\(Shi et al.,](#page-9-0) [2024\)](#page-9-0), and Min-k++ [\(Zhang et al.,](#page-9-1) [2025\)](#page-9-1). The fine-tuning–enhanced method includes FSD [\(Zhang](#page-9-2) [et al.\)](#page-9-2). More details are shown in Appendix [A.](#page-10-0)
147
+ Evaluation Metrics Two metrics evaluate the binary pretraining data detection task: AUROC measures overall discriminative performance, and TPR@5%FPR captures practical effectiveness by assessing detection rate under a 5% false positive constraint.
148
+ Implementation Details We use the PEFT library [\(Man](#page-8-15)[grulkar et al.,](#page-8-15) [2022\)](#page-8-15) for LoRA-based [\(Hu et al.,](#page-8-16) [2022\)](#page-8-16) gradient feature extraction without parameter updates. The MLP is trained on 30% of the data, with the remaining 70% used for inference evaluation under FSD settings. More Details can be seen in Appendix [A.6.](#page-11-0)
149
+ {6}------------------------------------------------
150
+ <span id="page-6-2"></span>![](_page_6_Figure_1.jpeg)
151
+ *Figure 4.* Distribution differences of eight gradient features between member(red) and non-member(blue) samples. Dashed lines indicate distribution means. The x-axis represents feature values, and the y-axis denotes probability density.
152
+ <span id="page-6-0"></span>*Table 3.* Ablation results using AUROC on WikiMIA and Arxiv-Tection. - denotes the removal of related features.
153
+ | Dataset | -Magnitude | -Concentration | -Position |
154
+ |--------------|--------------|----------------|--------------|
155
+ | WikiMIA | 0.94 (↓0.02) | 0.94 (↓0.02) | 0.93 (↓0.03) |
156
+ | ArxivTection | 0.96 (↓0.01) | 0.95 (↓0.02) | 0.95 (↓0.02) |
157
+ <span id="page-6-1"></span>*Table 4.* Ablation results using AUROC and TPR@5%FPR. ATT-Only refers to performance validation using only attention module.
158
+ | Dataset | ATT-Only | FFN-Only | Origin |
159
+ |--------------|-------------|-------------|-------------|
160
+ | WikiMIA | 0.94 / 0.68 | 0.93 / 0.64 | 0.96 / 0.84 |
161
+ | ArxivTection | 0.95 / 0.76 | 0.93 / 0.72 | 0.97 / 0.85 |
162
+ # 5.2. Main Results
163
+ Table [1](#page-5-0) shows detection performance on WikiMIA, Arxiv-Tection, BookTection, and BookMIA. Specifically, when tested on WikiMIA with LLaMA-7B, GDS achieves an AUC score of 0.96, which is an improvement of 0.04 compared to the best baseline FSD and significantly higher than score-function-based methods such as Min-k++. GDS outperforms the best baseline in most settings, with especially large gains in TPR@5%FPR on BookTection and Book-MIA. Notably, with LLaMA-7B, BookTection performance improves by nearly 67.3%.
164
+ Table [2](#page-5-1) reports results on seven MIMIR subsets. Although all methods degrade due to similar data distributions, GDS achieves the best average improvements +2.8%, +2.7%, +7.2%, +1.3%, +16.6% across different models, and shows clear advantages on PubMed Central, DM Mathematics, and GitHub. Using the LLaMA model, the three subsets achieve AUC scores of 0.82, 0.95, and 0.91. Our method shows the most stable performance across models, with AUC variations mostly within 0.04, demonstrating strong generalization across different models.
165
+ #### 5.3. Ablation Study
166
+ We perform two ablation studies: (1) removing each gradient feature category individually, and (2) using features from only the Attention or FFN module. Table [3](#page-6-0) shows that all feature categories contribute to performance, with Position Offset and Magnitude being the most important. Concentration features have smaller effects, and the full combination performs best, highlighting the complementary nature of multi-dimensional features (see Appendix [C](#page-14-0) for sub-feature ablations). Table [4](#page-6-1) shows that Attention features are more discriminative than FFN features. Both single-module variants underperform the full model, indicating that Attention and FFN capture complementary gradient patterns and must be combined for optimal performance.
167
+ #### 5.4. Analysis
168
+ # 5.4.1. FEATURE DISTRIBUTION
169
+ To explain the classifier's effectiveness, we quantify feature distributions across all layers and sub-modules for member and non-member samples. Figure [4](#page-6-2) shows the eight features with the largest discrepancies. Member samples exhibit smaller Abs Mean and Row Mean Max, indicating lower gradient magnitudes due to higher data familiarity, along with higher Sparsity, smaller Std and Row Mean Std, reflecting more concentrated and stable gradients. They also maintain a consistently higher 10p Ratio, occupying the core of gradient propagation. For locations Row Ecc and Col Ecc, member samples cluster at lower values, while non-members shift higher, suggesting that member-related parameters lie more centrally in weight matrices.
170
+ We collect sub-features with the largest distribution differences between the two sample types and analyze their overall distribution patterns. Figure [5](#page-7-0) show that discriminative sub-features are predominantly concentrated in low layers, while middle and high layers contribute far less. Among sub-modules, attention-related modules are the main sources
171
+ {7}------------------------------------------------
172
+ <span id="page-7-1"></span>*Table 5.* Performance Comparison between LoRA and Full-Parameter Update using AUROC on WikiMIA and ArxivTection.
173
+ | Dataset | Metric | LLaMA-7B | | GPT-J-6B | | OPT-6.7B | | Pythia-6.9B | | Neo-2.7B | |
174
+ |--------------|------------|----------|------|----------|------|----------|------|-------------|------|----------|------|
175
+ | | | LoRA | Full | LoRA | Full | LoRA | Full | LoRA | Full | LoRA | Full |
176
+ | WikiMIA | AUC | 0.96 | 0.96 | 0.93 | 0.90 | 0.94 | 0.92 | 0.92 | 0.89 | 0.90 | 0.88 |
177
+ | | TPR@5% FPR | 0.84 | 0.79 | 0.66 | 0.58 | 0.67 | 0.56 | 0.63 | 0.50 | 0.60 | 0.51 |
178
+ | ArxivTection | AUC | 0.97 | 0.96 | 0.97 | 0.96 | 0.94 | 0.93 | 0.95 | 0.94 | 0.94 | 0.94 |
179
+ | | TPR@5% FPR | 0.85 | 0.84 | 0.86 | 0.79 | 0.75 | 0.67 | 0.83 | 0.73 | 0.73 | 0.75 |
180
+ <span id="page-7-0"></span>![](_page_7_Figure_4.jpeg)
181
+ *Figure 5.* Distribution Difference Statistics of Discriminative Features. The y-axis shows the statistical count.
182
+ of discriminative features, with obvious differences in contribution across modules. In terms of gradient features, grad sparsity exhibits the strongest discriminative power, significantly outperforming other indicators.
183
+ # 5.4.2. FULL PARAMETER TRAINING
184
+ In LoRA training, only FFN and MLP modules are updated, while LayerNorm, despite containing meaningful training dynamics, is excluded. To account for this, we evaluate our method under full-parameter training on two small-scale datasets, BookMIA and ArxivTection, for computational feasibility. As shown in Table [5,](#page-7-1) although full-parameter updates cause a slight performance drop compared to LoRA, our method still outperforms most baselines. We attribute this gap to reduced gradient magnitudes in full training, which weaken discriminative signals between sample types.
185
+ #### 5.4.3. WIKIMIA MODIFICATION
186
+ Dataset partitioning can introduce distribution shifts or dataset-specific artifacts. For example, WikiMIA is split by publication time, with all non-member samples labeled as 2023. To ensure our method does not exploit such artifacts, we remove all timestamp tokens and reevaluate all methods. As shown in Table [6,](#page-7-2) although token removal degrades performance, our method suffers a much smaller drop than the strongest baseline, FSD, and still achieves SOTA results.
187
+ <span id="page-7-2"></span>*Table 6.* Comparison of Temporal Feature Perturbation via AU-ROC. Deletion denotes the removal of all year timestamps.
188
+ | Method | Origin | Deletion |
189
+ |---------|--------|----------|
190
+ | PPL | 0.69 | 0.62 |
191
+ | Min-k | 0.73 | 0.63 |
192
+ | Min-k++ | 0.82 | 0.59 |
193
+ | FSD | 0.92 | 0.76 |
194
+ | Ours | 0.96 | 0.84 |
195
+ <span id="page-7-3"></span>*Table 7.* Cross-Dataset Generalization Performance using AU-ROC. Wiki(arXiv) indicates training on ArxivTection with test on WikiMIA, while Mix indicates mixed datasets.
196
+ | Method | Wiki (arXiv) | arXiv (Wiki) | Mix |
197
+ |--------|--------------|--------------|------|
198
+ | FSD | 0.52 | 0.58 | 0.92 |
199
+ | Ours | 0.66 | 0.68 | 0.95 |
200
+ ### 5.4.4. TRANSFERABILITY
201
+ Although our method shares the same feature extraction framework, it requires dataset-specific classifiers. To examine whether a unified classifier is feasible, we train classifiers on WikiMIA and ArXiv separately and evaluate crossdataset generalization, as well as train a unified classifier on mixed data. Table [7](#page-7-3) shows that cross-dataset transfer leads to notable performance degradation due to dataset shifts (e.g., distribution, difficulty, and pre-training differences), which cause classifiers to overfit dataset-specific gradient features. In contrast, the unified classifier performs well on mixed data, indicating that our method can capture universal feature discrepancies arising from model familiarity.
202
+ # 6. Conclusion
203
+ We revisit pre-training data detection from an optimization and training-dynamics perspective and introduce GDS, a fine-tuning–free method for inferring pre-training membership. By analyzing how models transition from unfamiliarity to familiarity, we show that member and non-member samples exhibit stable, interpretable differences in gradient magnitude, location, and concentration across datasets and architectures. Experiments show that GDS is effective and generalizable, outperforming strong baselines. Future work can focus on developing more generalizable detectors by contrastive learning or deeper feature extraction.
204
+ {8}------------------------------------------------
205
+ # Limitations
206
+ This work investigates pre-training data detection, a form of membership inference that determines whether a given sample was included in a LLM's pre-training corpus. While our proposed GDS method improves detection accuracy and generalization without fine-tuning, it also raises important ethical concerns. Pre-training data detection methods could be misused to probe proprietary or confidential training corpora, potentially revealing sensitive information about data sources or collection practices. Although GDS does not reconstruct or expose training samples directly, it contributes to capabilities that may be exploited if applied irresponsibly. Our primary motivation is to support transparency, accountability, and safety. As pre-training datasets become increasingly large and opaque, tools like GDS can help researchers, auditors, and regulators verify data usage claims, identify potential copyright violations, and detect benchmark contamination. In this sense, GDS is intended as a diagnostic and auditing mechanism rather than a data extraction attack. We release code and models to promote reproducibility while encouraging responsible deployment. Overall, we hope this work advances trustworthy and transparent large-scale model development while highlighting the need for careful governance of pre-training data.
207
+ # References
208
+ - <span id="page-8-1"></span>Balloccu, S., Schmidtova, P., Lango, M., and Du ´ sek, O. ˇ Leak, cheat, repeat: Data contamination and evaluation malpractices in closed-source llms. In *Proceedings of the 18th Conference of the European Chapter of the Association for Computational Linguistics (Volume 1: Long Papers)*, pp. 67–93, 2024.
209
+ - <span id="page-8-14"></span>Biderman, S., Schoelkopf, H., Anthony, Q. G., Bradley, H., O'Brien, K., Hallahan, E., Khan, M. A., Purohit, S., Prashanth, U. S., Raff, E., et al. Pythia: A suite for analyzing large language models across training and scaling. In *International Conference on Machine Learning*, pp. 2397–2430. PMLR, 2023.
210
+ - <span id="page-8-13"></span>Black, S., Leo, G., Wang, P., Leahy, C., and Biderman, S. Gpt-neo: Large scale autoregressive language modeling with mesh-tensorflow. *Zenodo*, 2021.
211
+ - <span id="page-8-8"></span>Bottou, L. Large-scale machine learning with stochastic gradient descent. In *Proceedings of COMPSTAT'2010: 19th International Conference on Computational StatisticsParis France, August 22-27, 2010 Keynote, Invited and Contributed Papers*, pp. 177–186. Springer, 2010.
212
+ - <span id="page-8-3"></span>Carlini, N., Tramer, F., Wallace, E., Jagielski, M., Herbert-Voss, A., Lee, K., Roberts, A., Brown, T., Song, D., Erlingsson, U., et al. Extracting training data from large
213
+ - language models. In *30th USENIX security symposium (USENIX Security 21)*, pp. 2633–2650, 2021.
214
+ - <span id="page-8-5"></span>Choi, H. K., Khanov, M., Wei, H., and Li, Y. How contaminated is your benchmark? measuring dataset leakage in large language models with kernel divergence. In *Fortysecond International Conference on Machine Learning*.
215
+ - <span id="page-8-12"></span>Duan, M., Suri, A., Mireshghallah, N., Min, S., Shi, W., Zettlemoyer, L., Tsvetkov, Y., Choi, Y., Evans, D., and Hajishirzi, H. Do membership inference attacks work on large language models? In *First Conference on Language Modeling*.
216
+ - <span id="page-8-11"></span>Duarte, A. V., Zhao, X., Oliveira, A. L., and Li, L. Decop: Detecting copyrighted content in language models training data. In *Forty-first International Conference on Machine Learning*.
217
+ - <span id="page-8-7"></span>Frankle, J., Schwab, D. J., and Morcos, A. S. The early phase of neural network training. In *International Conference on Learning Representations*.
218
+ - <span id="page-8-2"></span>Grynbaum, M. M. and Mac, R. The times sues openai and microsoft over ai use of copyrighted work. *The New York Times*, 27(1), 2023.
219
+ - <span id="page-8-10"></span>Gur-Ari, G., Roberts, D. A., and Dyer, E. Gradient descent happens in a tiny subspace. *arXiv preprint arXiv:1812.04754*, 2018.
220
+ - <span id="page-8-16"></span>Hu, E. J., Shen, Y., Wallis, P., Allen-Zhu, Z., Li, Y., Wang, S., Wang, L., Chen, W., et al. Lora: Low-rank adaptation of large language models. *ICLR*, 1(2):3, 2022.
221
+ - <span id="page-8-0"></span>Kaplan, J., McCandlish, S., Henighan, T., Brown, T. B., Chess, B., Child, R., Gray, S., Radford, A., Wu, J., and Amodei, D. Scaling laws for neural language models. *arXiv preprint arXiv:2001.08361*, 2020.
222
+ - <span id="page-8-4"></span>Li, Y. Estimating contamination via perplexity: Quantifying memorisation in language model evaluation. In *The Future of Machine Learning Data Practices and Repositories at ICLR 2025*.
223
+ - <span id="page-8-9"></span>Liu, Z., Zhu, T., Tan, C., Liu, B., Lu, H., and Chen, W. Probing language models for pre-training data detection. In *Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)*, pp. 1576–1587, 2024.
224
+ - <span id="page-8-15"></span>Mangrulkar, S., Gugger, S., Debut, L., Belkada, Y., Paul, S., and Bossan, B. Peft: State-of-the-art parameter-efficient fine-tuning methods. 2022.
225
+ - <span id="page-8-6"></span>Ruder, S. An overview of gradient descent optimization algorithms. *arXiv preprint arXiv:1609.04747*, 2016.
226
+ {9}------------------------------------------------
227
+ <span id="page-9-0"></span>Shi, W., Ajith, A., Xia, M., Huang, Y., Liu, D., Blevins, T., Chen, D., and Zettlemoyer, L. Detecting pretraining data from large language models. In *12th International Conference on Learning Representations, ICLR 2024*, 2024.
228
+ <span id="page-9-3"></span>513 514
229
+ <span id="page-9-2"></span>516
230
+ <span id="page-9-7"></span>528 529 530
231
+ - <span id="page-9-5"></span>Tang, H., Zhu, Z., and Yang, Y. Identifying pre-training data in llms: A neuron activation-based detection framework. In *Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing*, pp. 18738– 18751, 2025.
232
+ - <span id="page-9-8"></span>Touvron, H., Lavril, T., Izacard, G., Martinet, X., Lachaux, M.-A., Lacroix, T., Roziere, B., Goyal, N., Hambro, E., ` Azhar, F., et al. Llama: Open and efficient foundation language models. *arXiv preprint arXiv:2302.13971*, 2023.
233
+ - <span id="page-9-6"></span>Wang, B. and Komatsuzaki, A. Gpt-j-6b: A 6 billion parameter autoregressive language model, 2021.
234
+ - Wang, H., Ma, S., Wang, R., and Wei, F. Q-sparse: All large language models can be fully sparsely-activated. *arXiv preprint arXiv:2407.10969*, 2024.
235
+ - Zhang, H., Zhang, S., Jing, B., and Wei, H. Fine-tuning can help detect pretraining data from large language models. In *The Thirteenth International Conference on Learning Representations*.
236
+ - <span id="page-9-1"></span>Zhang, J., Sun, J., Yeats, E., Ouyang, Y., Kuo, M., Zhang, J., Yang, H. F., and Li, H. Min-k%++: Improved baseline for pre-training data detection from large language models. In *The Thirteenth International Conference on Learning Representations*, 2025.
237
+ - Zhang, S., Roller, S., Goyal, N., Artetxe, M., Chen, M., Chen, S., Dewan, C., Diab, M., Li, X., Lin, X. V., et al. Opt: Open pre-trained transformer language models. *arXiv preprint arXiv:2205.01068*, 2022.
238
+ - <span id="page-9-4"></span>Zhang, W., Zhang, R., Guo, J., Rijke, M., Fan, Y., and Cheng, X. Pretraining data detection for large language models: A divergence-based calibration method. In *Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing*, pp. 5263–5274, 2024.
239
+ {10}------------------------------------------------
240
+ # <span id="page-10-0"></span>A. Details of Baseline
241
+ Shared Notations: We first define the universal notations used across all baseline methods for consistency:
242
+ - x: Input text sample for membership inference detection.
243
+ - {x1, x2, . . . , x<sup>N</sup> }: Token sequence of input text sample x, where N denotes the total number of tokens in the text.
244
+ - x<t: Prefix token sequence of the t-th token xt, i.e., x<t = {x1, . . . , xt−1}.
245
+ - θ: Trainable parameters of the pre-trained language model.
246
+ - p(· | ·; θ): Conditional probability distribution parameterized by the model parameters θ.
247
+ - k%: Percentage threshold for selecting low-probability outlier tokens (used in Min-k% and Min-k%++).
248
+ #### A.1. PPL
249
+ Perplexity (PPL) is a classic global likelihood-based metric that measures the model's uncertainty in predicting a given text, with lower PPL indicating higher text familiarity (more likely to be a member sample). First, the text is tokenized into a sequence of tokens {x1, x2, . . . , x<sup>N</sup> }. Then, the log-likelihood of each token is calculated conditional on the preceding tokens, and the final PPL is derived by normalizing the sum of log-likelihoods by the token sequence length and performing an exponential transformation.
250
+ $$PPL = \exp\left(-\frac{1}{N} \sum_{i=1}^{N} \log p(x_i|x_1, ..., x_{x-1}; \theta)\right)$$
251
+ (16)
252
+ #### A.2. Zlib
253
+ Zlib is a compression-based global likelihood-related method that leverages compression entropy to distinguish member and non-member samples, which calibrates the loss using the input's Zlib entropy. For an input text sample x and a pre-trained model M, the Zlib score is defined as the ratio of the loss related to the text and model to the Zlib compression entropy of the input text:
254
+ Zlib Score =
255
+ $$\frac{L(x, M)}{\text{zlib}(x)}$$
256
+ (17)
257
+ where L(x, M) denotes the loss value associated with the input text x under the model M and zlib(x) represents the Zlib compression entropy of the input text x, which is derived from the length of the text after Zlib compression.
258
+ #### A.3. Min-k%
259
+ Min-k% is a local likelihood-based method that mitigates global word frequency interference by focusing on low-probability outlier tokens. For an input text token sequence x = {x1, x2, . . . , x<sup>N</sup> } (where N denotes the total number of tokens), it first calculates the conditional log-likelihood of each token x<sup>i</sup> given its preceding context:
260
+ $$\log p(x_i \mid x_1, x_2, \dots, x_{i-1}; \theta)$$
261
+ Subsequently, it sorts all token conditional probabilities in ascending order, selects the bottom k% tokens (i.e., the k% tokens with the smallest conditional probabilities) to form the low-probability set Tmin(k%) = Min-K%(x). The final Min-k% score is defined as the average conditional log-likelihood of tokens in Tmin(k%):
262
+ Min-k% Score(x) =
263
+ $$\frac{1}{|T_{\min(k\%)}|} \sum_{x_i \in T_{\min(k\%)}} \log p(x_i \mid x_1, \dots, x_{i-1}; \theta)$$
264
+ (18)
265
+ where |Tmin(k%)| = ⌊k% × N⌋ denotes the cardinality of the low-probability token set (rounded down to the nearest integer). During detection, a threshold is set on Min-k% Score(x): text with a score below the threshold is classified as a member sample (since member samples tend to contain more low-probability outlier tokens), and vice versa.
266
+ {11}------------------------------------------------
267
+ #### A.4. Min-k%++
268
+ Min-k%++ is an optimized variant of Min-k% that enhances detection robustness by integrating vocabulary-level probability statistics, addressing the text-length dependency and short-text fluctuation issues of the original method. For an input text token sequence $x = \{x_1, x_2, \dots, x_N\}$ , it first computes the normalized conditional log-likelihood for each token $x_t$ (given prefix $x_{< t} = \{x_1, \dots, x_{t-1}\}$ ) by normalizing with the vocabulary-wide log-probability statistics of the prefix $x_{< t}$ .
269
+ #### **Core Token-Level Score Calculation**
270
+ For each token $x_t$ , the token-level Min-k%++ score is defined as:
271
+ $$Min-k\% + +_{token}(x_{< t}, x_t) = \frac{\log p(x_t \mid x_{< t}; \theta) - \mu_{x_{< t}}}{\sigma_{x_{< t}}}$$
272
+ (19)
273
+ where $\mu_{x_{< t}} = \mathbb{E}_{z \sim p(\cdot \mid x_{< t}; \theta)} [\log p(z \mid x_{< t}; \theta)]$ : Expectation of the next-token log-likelihood over the model's vocabulary, given prefix $x_{< t}$ ; $\sigma_{x_{< t}} = \sqrt{\mathbb{E}_{z \sim p(\cdot \mid x_{< t}; \theta)} \left[ (\log p(z \mid x_{< t}; \theta) - \mu_{x_{< t}})^2 \right]}$ : Standard deviation of the next-token log-likelihood over the vocabulary, given prefix $x_{< t}$ .
274
+ Both $\mu_{x_{< t}}$ and $\sigma_{x_{< t}}$ can be computed analytically using the model's output logits (since $p(\cdot \mid x_{< t}; \theta)$ follows a categorical distribution), requiring no additional computational overhead beyond standard LLM inference.
275
+ #### **Final Sequence-Level Score Calculation**
276
+ Similar to Min-k%, Min-k%++ selects the bottom k% tokens with the smallest Min-k%++<sub>token</sub> scores to form the low-probability set $T_{\min(k\%)}^+$ . The final sequence-level score is the average of the token-level scores in this set:
277
+ $$Min-k\% ++ Score(x) = \frac{1}{|T_{\min(k\%)}^+|} \sum_{(x_{< t}, x_t) \in T_{\min(k\%)}^+} Min-k\% ++_{token}(x_{< t}, x_t)$$
278
+ (20)
279
+ where $|T_{\min(k\%)}^+| = \lfloor k\% \times N \rfloor$ denotes the cardinality of the low-probability token set. During detection, a threshold is applied: text with a lower Min-k%++ score is more likely to be a member sample, as the normalized score better distinguishes low-probability outlier tokens of member samples from non-member ones.
280
+ #### A.5. FSD
281
+ Fine-tuned Score Deviation (FSD) is a fine-tuning enhanced method that leverages score discrepancies between pre-trained and fine-tuned models for member sample detection. Its core workflow includes two key steps: first, constructing a domain-matched non-member fine-tuning dataset (using post-model-release unseen data), then performing self-supervised next-token prediction fine-tuning on the pre-trained model. Finally, it calculates the score difference between the pre-trained and fine-tuned models to distinguish member and non-member samples. The self-supervised fine-tuning loss is defined as:
282
+ $$\mathcal{L}_{\text{fine-tuning}}(x) = -\frac{1}{n} \sum_{i=1}^{n} \log f_{\theta}(x_i \mid x_1, \dots, x_{i-1})$$
283
+ (21)
284
+ The final FSD score is the deviation between the sample scores obtained from the pre-trained model $f_{\theta}$ and the fine-tuned model $f_{\theta'}$ (with parameters $\theta'$ ):
285
+ $$FSD(x; f_{\theta}, f_{\theta'}) = S(x; f_{\theta}) - S(x; f_{\theta'})$$
286
+ (22)
287
+ where $S(\cdot)$ represents a base scoring function (e.g., Perplexity, Min-k%). A large FSD score indicates the sample is likely a non-member (fine-tuning reduces non-member perplexity significantly), while a small score suggests a member sample (fine-tuning has negligible impact on member perplexity). A validation-set optimized threshold $\varepsilon$ is used for final classification.
288
+ #### <span id="page-11-0"></span>A.6. Experimental Settings
289
+ We use the PEFT library (Mangrulkar et al., 2022) for LoRA-based (Hu et al., 2022) gradient feature extraction without parameter updates. The base model is initialized from pre-trained checkpoints, and for LoRA configuration, we adopt
290
+ {12}------------------------------------------------
291
+ default settings with rank r = 16, LoRA scaling factor α = 32, and dropout set to 0 since we only focus on gradients from a single backpropagation step and no parameter updates are required. Target modules include all submodules of attention and FFN, including query, key, value, output, gate, up, and down projections. For different datasets, we select the tokenizer sequence length based on the overall length distribution: 256 for the WikiMIA dataset and 512 for all other datasets. When training the MLP classifier, the dataset is uniformly split into training and validation sets at a ratio of 3:7. The MLP classifier is configured with two hidden layers of dimensions 128 and 64, respectively, and uses the default Adam optimizer with a learning rate of 0.001. An early stopping strategy is implemented to avoid overfitting.
292
+ # <span id="page-12-0"></span>B. Motivation Experiment Supplementary Details
293
+ To verify the parameter update law driven by the training process, we conduct LoRA fine-tuning with 8 epochs on LLaMA-7B using the unseen set of BookMIA dataset, counting LoRA matrix parameter updates per epoch to extract dynamic change curves of target features. Experiments are performed under three learning rates (1e − 5, 3e − 5, 5e − 5). We present the variation trends of the four feature categories across different modules and layers under each learning rate.
294
+ We present the variation trends of the four feature categories across different modules and layers under each learning rate. Across all learning rates, ∆Θ<sup>t</sup> and S<sup>t</sup> exhibit clear epoch-wise patterns: ∆Θ<sup>t</sup> continuously decreases with training epochs, while S<sup>t</sup> gradually increases. For Et, distinct opposite trends are observed between the ATT and MLP modules—the update positions of the ATT module tend to be centralized, whereas those of the MLP module tend to be marginalized. Despite this divergence, E<sup>t</sup> values of both modules converge to the same stable range across the three learning rates. In contrast, T10,t shows a different dynamic: under large learning rates, it first increases and then decreases, yet remains stably around 0.27 throughout training. Notably, the inflection point of T10,t decline coincides with the stage when E<sup>t</sup> stabilizes. This aligns with our core hypothesis: during training, the model identifies core parameters correlated with the input data and performs concentrated updates on them; once this process is completed, the overall parameter update dynamics tend to stabilize. Regarding different hierarchical levels, only E<sup>t</sup> shows noticeable discrepancies, while all other features follow the same evolutionary laws.
295
+ ![](_page_12_Figure_5.jpeg)
296
+ *Figure 6.* Feature Dynamic Changes During LoRA Fine-Tuning (Learning Rate 1e−5). Top row: Features in ATT/MLP modules; Bottom row: Features in low/middle/high layers.
297
+ {13}------------------------------------------------
298
+ ![](_page_13_Figure_1.jpeg)
299
+ *Figure 7.* Feature Dynamic Changes During LoRA Fine-Tuning (Learning Rate 3e − 5).
300
+ ![](_page_13_Figure_3.jpeg)
301
+ *Figure 8.* Feature Dynamic Changes During LoRA Fine-Tuning (Learning Rate 5e − 5).
302
+ {14}------------------------------------------------
303
+ # 771 774
304
+ # 776 778
305
+ # 779 780 781 782 783 784 785
306
+ # 787 788 789 790 791
307
+ # 794 796 798 799 800 801
308
+ # 806 807 808 809 810 811 812
309
+ # <span id="page-14-0"></span>C. Ablation Experiments on Sub-features and Sub-modules
310
+ To further explore the discriminative power of fine-grained components in our method, we conduct two additional ablation experiments: sub-feature category ablation (8 sub-features) and sub-module ablation (7 sub-modules). All experiments follow the same configuration as the main text (LLaMA-7B model, WikiMIA/ArxivTection datasets), with AUC and TPR@5% FPR as evaluation metrics.
311
+ # C.1. Sub-feature Category Ablation Experiment
312
+ The four core feature categories are decomposed into 8 sub-features, as follows:
313
+ - Magnitude Distribution Features: Abs Mean, Std
314
+ - Core Contribution Features: 10p Ratio, Sparsity
315
+ - Position Offset Features: Row Ecc, Col Ecc
316
+ - Row-Dimension Consistency Features: Row Mean Max, Row Mean Std
317
+ <span id="page-14-1"></span>Ablation is performed by removing one sub-feature at a time (retaining the other 7), and the results are shown in Table [8.](#page-14-1)
318
+ *Table 8.* Ablation Experiment Results of Sub-features (AUC Scores).
319
+ | Dataset | Sub-feature (Ablation Variant) | | | | | | | | | | |
320
+ |--------------|--------------------------------|---------------------------------------------------------------------------------|-----------|-----------|-----------|-----------|-----------|-----------|-----------|--|--|
321
+ | | -Abs Mean | -Std<br>-10p Ratio<br>-Sparsity<br>-Row Ecc<br>-Col Ecc<br>-Row Max<br>-Row Std | | | | | | | | | |
322
+ | WikiMIA | 0.95/0.71 | 0.95/0.72 | 0.95/0.70 | 0.94/0.67 | 0.95/0.70 | 0.93/0.62 | 0.95/0.73 | 0.95/0.72 | 0.96/0.84 | | |
323
+ | ArxivTection | 0.96/0.82 | 0.96/0.81 | 0.96/0.83 | 0.96/0.82 | 0.96/0.83 | 0.95/0.78 | 0.96/0.83 | 0.96/0.83 | 0.97/0.85 | | |
324
+ The sub-feature ablation results verify that all sub-features contribute to detection performance, with their combination achieving optimal AUC and TPR scores across both datasets. Among these sub-features, Col Ecc (a Position Offset Feature) is the most critical: its removal leads to the sharpest performance decline (AUC drops to 0.93 on WikiMIA and 0.95 on ArxivTection, with TPR falling to 0.62 and 0.78 respectively). In contrast, removing Abs Mean, Std, 10p Ratio, Row Ecc, Row Max, or Row Std induces only mild performance degradation, with AUC remaining above 0.95 on both datasets, indicating their relatively moderate importance; Sparsity also shows a slight impact on WikiMIA, with its ablation resulting in an AUC of 0.94. Overall, the fine-grained sub-feature design is rational, as each component provides complementary discriminative information for pre-training data detection.
325
+ #### C.2. Sub-module Ablation Experiment
326
+ The ATT and FFN modules are decomposed into 7 sub-modules based on Transformer architecture details:
327
+ - ATT-related sub-modules: Q-Proj, K-Proj, V-Proj, Out-Proj
328
+ - FFN-related sub-modules: Gate-Proj, Up-Proj, Down-Proj
329
+ <span id="page-14-2"></span>Ablation is performed by removing one sub-module's features at a time, and the results are shown in Table [9.](#page-14-2)
330
+ *Table 9.* Ablation Experiment Results of Sub-modules (AUC / TPR@5% FPR Scores).
331
+ | Dataset | Sub-module (Ablation Variant) | | | | | | | | | |
332
+ |--------------|-------------------------------|-----------|--------------------------------------------------------------|-----------|-----------|-----------|-----------|-----------|--|--|
333
+ | | -Q-Proj | -K-Proj | -V-Proj<br>-Out-Proj<br>-Gate-Proj<br>-Up-Proj<br>-Down-Proj | | | | | | | |
334
+ | WikiMIA | 0.95/0.72 | 0.95/0.71 | 0.94/0.69 | 0.94/0.67 | 0.95/0.69 | 0.94/0.65 | 0.94/0.61 | 0.96/0.84 | | |
335
+ | ArxivTection | 0.96/0.80 | 0.96/0.82 | 0.95/0.79 | 0.96/0.80 | 0.96/0.82 | 0.95/0.78 | 0.96/0.82 | 0.97/0.85 | | |
336
+ The sub-module ablation results demonstrate that all sub-modules provide complementary gradient information, as singlesub-module ablation consistently leads to performance degradation while integrating all sub-modules' features achieves
337
+ {15}------------------------------------------------
338
+ <span id="page-15-0"></span>![](_page_15_Figure_1.jpeg)
339
+ *Figure 9.* Impact Analysis of Training Set Size on WikiMIA. The abscissa denotes the training-validation set ratio, the ordinate represents the scores of two metrics, yellow indicates the AUROC score, and blue indicates the TPR@5% FPR.
340
+ the optimal AUC and TPR@5% FPR scores across both datasets. Though the performance differences between individual ablation variants are mild, ATT-related sub-modules show slightly stronger discriminative power than FFN-related ones, with K-Proj performing prominently among ATT sub-modules; in contrast, among FFN sub-modules, Down-Proj and Gate-Proj contribute more to detection performance than Up-Proj, as retaining the former two yields slightly higher AUC and TPR scores. The performance gap between single-sub-module variants and the full model further confirms the necessity of multi-sub-module feature fusion, which enables the capture of comprehensive gradient patterns across the Transformer architecture. It can be seen from this that our method also achieves excellent performance with smaller LoRA adaptation parameters and lower computational complexity.
341
+ #### C.3. Low-Data Scenarios
342
+ To evaluate the data efficiency of our method in scenarios with limited training data, we adjust the training-testing split ratio of the WikiMIA dataset to five settings: 1:9, 2:8, 3:7 and 4:6, while keeping the total sample size fixed. Figure Y shows AUC and TPR@5% FPR scores across different split ratios.
343
+ Figure [9](#page-15-0) show our method's performance improves steadily with increasing training set size. Notably, it achieves an AUC of 0.9 even with only 10% of data, accompanied by a TPR@5% FPR of 0.48, confirming that it can also achieve excellent performance with a small amount of data.