Manuscript Offprint
arXiv:2611.05781Timing is Everything: Inferring Temporal Membership in Continually Updated Models
Jie Fu
jfu13@stevens.edu Stevens Institute of Technology Hoboken, New Jersey, USA
Yuan Hong
yuan.hong@uconn.edu University of Connecticut Storrs, Connecticut, USA
Xiangpeng Deng
xdeng12@stevens.edu Stevens Institute of Technology Hoboken, New Jersey, USA
Wendy Hui Wang
hwang4@stevens.edu Stevens Institute of Technology Hoboken, New Jersey, USA
Abstract
Continual model updating has become a common practice in the deployment of machine learning systems. However, the dynamic training behaviors give rise to new risks not sufficiently addressed by existing studies. In this paper, we present the first systematic study of temporal privacy risk in continually updated deep learning models. We formalize the notion of temporal membership in continually updated models. We then define the temporal membership inference attack, which seeks to infer whether and when individual samples were involved in model training, at both timestamp-level and interval-level granularities. To this end, we propose TMIA, a novel black-box attack that leverages bidirectional LSTMs to infer temporal membership from model outputs observed across successive updates. Through extensive experiments on three language models and three image classification models, we show that TMIA is highly effective and significantly outperforms existing baselines. Finally, we evaluate three potential defenses, revealing the trade-off between privacy protection and model utility.
Keywords
Membership inference, temporal privacy, continually updated models, machine unlearning, privacy attacks
While continual updates improve model adaptability, they introduce new privacy risks. In particular, membership inference attacks (MIAs) [52, 59], which seek to determine whether specific data samples were used to train a model, will take on new forms in the dynamic setting. Beyond inferring whether a sample was ever used for training, an adversary may attempt to infer when a sample entered or left the training process. Revealing not only membership but also its timing can expose additional information about a model's training dynamics. For example, in a continually updated
Table 1: Comparison between TMIA and existing MIAs against models with updates. INS: Insertion; DEL: deletion; : consecutive model snapshot pair; : Full sequence of model snapshots.
| Study | Operation | Frequency | Attack Input |
| [26] | INS only | One-time | |
| [12, 21, 37] | DEL only | One-time | |
| [35] | INS only | One-time | |
| Ours | INS & DEL | Repeatedly |
language model, identifying the time interval during which a sensitive document was included in training may reveal details about data retention or update policies.
Although several prior works have proposed MIAs against models with updates [12, 21, 26, 35, 37], none addresses the membership privacy risks considered in our setting for the following reasons. First, these studies assume that membership changes occur in only one direction. Specifically, they consider either insertion-only updates [26, 35]¹ or removal-only updates [12, 21, 37]. Thus they are unsuitable for settings where both insertion and deletion occur during model updates. Second, these works assume that each sample undergoes at most one membership transition and thus they cannot capture repeated membership changes, where the same sample may be inserted into and removed from the training set multiple times. Third, most existing approaches [12, 21, 26, 37] infer membership changes by comparing only two consecutive model snapshots. As shown in Section 4.1, such pairwise analysis fails to capture the temporal dependencies across a sequence of model updates, resulting in inaccurate reconstruction of a sample's membership history. In particular, these methods may infer temporally inconsistent update sequences, such as predicting that a sample was removed before it was ever inserted. Table 1 summarizes the key differences between TMIA and these prior studies.
In this paper, we present the first systematic study of temporal privacy risks in continually updated deep learning models. We consider a general update setting that accommodates both data insertions and removals, as well as single-update and repeated-update scenarios. We formalize the problem of temporal membership inference at two levels of granularity. At the timestamp level, the
¹Although [26, 35] do not explicitly state an insertion-only assumption, their problem formulation implicitly assumes that training data are updated by inserting new samples.
adversary seeks to determine whether a target sample belongs to the training set at a specific point in time. At the interval level, the adversary aims to infer the time interval(s) during which the sample participates in training, identifying its entry and exit points (i.e., when it is inserted into or removed from the model).
To address this problem, we propose TMIA, a novel attack framework that leverages temporal patterns in model outputs across the sequence of model snapshots. We made the following contributions:
-
We introduce the notion of temporal membership and formally define timestamp-level and interval-level membership inference for continually updated models.
-
We develop TMIA, a black-box temporal membership inference attack that leverages a bidirectional LSTM to accurately predict a sample's entry and exit points from its confidence-score trajectories across model updates. Beyond identifying entry and exit points, TMIA constructs valid membership intervals that respect the temporal constraints, such as correct ordering and exit-entry matching between these points.
-
We empirically evaluate TMIA on both language models and deep image classification models with various update algorithms. Our results demonstrate that TMIA is highly effective, with F1-scores at both timestamp-level and interval-level outperforming the baseline approaches significantly. Furthermore, we demonstrate that TMIA remains effective when attacking large generative language models.
-
We extend three widely-used defense mechanisms for static models, namely, label-only outputs, dropout, and differential privacy, to the continual update setting, and evaluate their effectiveness against TMIA. Our results show that these defenses can reduce TMIA's privacy risks, but often at the cost of model utility, highlighting the inherent trade-off between protection and model performance in continuously updated models.
2 Background and Related Work
2.1 Long Short-Term Memory Network
A Long Short-Term Memory (LSTM) network is a class of gated recurrent neural networks designed to model sequential data with long-range dependencies via gated memory cells [23]. At each time step , an LSTM maintains a hidden state and a cell state , which are updated through nonlinear gated transformations of the current input , the previous hidden state , and the previous cell state .
A bidirectional LSTM (BiLSTM) extends the LSTM model by processing a sequence in both forward and backward directions [20]. A BiLSTM model consists of two independent LSTM networks: a forward LSTM that processes the sequence left-to-right, and a backward LSTM that processes the sequence right-to-left. The hidden and cell states at the timestamp for each LSTM are computed accordingly:
Finally, the BiLSTM combines the two hidden states:
2.2 Privacy Leakage from Model Updates
MIAs against Model Updates. Membership inference attack (MIA) is one of the most common privacy attacks against machine learning models [47]. It aims to determine whether a specific data instance was included in the training set of a target model [49, 52]. Jagielski et al. [26] developed the first MIA to attack models with updates. They considered both single-update and multiple-update settings and developed two attacks: (1) Membership inference, where the adversary aims to infer whether a specific data sample is included in the update set at a particular time point; and (2) Entry inference, which aims to infer which time epoch the data sample enters the dataset. Michel et al. [35] proposed the Sequential Membership Inference (SeMI) attacks that exploit the sequence of models and injecting a target canary at a controlled insertion time. They derived the optimal SeMI attack as a likelihood-ratio (LR) test, and designed a LR-based white-box attack and a loss-based black-box attack. Both studies [26, 35] consider data insertions only. Since insertion-only updates is a special case of the update scenario that we consider, they are not directly applicable to our setting where both insertion and removal operations are allowed.
MIAs against Machine Unlearning Models. In practice, model updates often only involve data deletions. Machine unlearning (MU) [9] enables efficient removal of the influence of specific samples from a trained model without retraining from scratch [39, 51]. Recent studies have shown that MU can introduce privacy risks. By exploiting the difference between the original and unlearned models, the adversary can infer whether the target sample belongs to the removed set [12, 15, 17, 21, 37, 58]. Since these works focus solely on inferring single-removal events, they are not directly applicable to the more general update scenarios considered in this work, where insertions and removals occur continuously.
3 Problem Formulation
In this paper, we focus on deep neural networks for classification as our target models. Given an input sample, the target model outputs a posterior probability vector over the predefined set of classes, where each entry represents the model's predicted probability for the corresponding class.
3.1 Temporal Membership
Consider a classification model initially trained on a dataset by running a learning algorithm . The model is continuously updated through a set of updates at timestamps , yielding a corresponding sequence of model snapshots . Each snapshot is obtained by an update algorithm on and . Each update set consists of two disjoint sets and , where the insertion set includes samples inserted into the model , and the removal set includes samples whose influence is removed from . Either or may be empty, corresponding to updates that involve only insertions or removals. We also allow samples to be repeatedly inserted or removed across different updates. We define the latest update time of a sample up to timestamp , denoted as , as follows: , with the convention that is undefined if has never been updated.

Figure 1: An example of the ground-truth and inferred temporal membership intervals.
DEFINITION 1 (TEMPORAL MEMBERSHIP). We say that is a member of model snapshot if either (i) and is undefined, or (ii) the most recent update involving up to and including snapshot is an insertion, i.e., . Otherwise, is a non-member of .
Although the update-wise MIA proposed in [26] aims to infer whether a sample belongs to a specific update set, whereas our goal is to infer whether a sample is a member of a given model snapshot, these two notions of membership are equivalent, as [26] considers only data insertions.
Temporal Membership Interval. Given a sequence of observed model snapshots, we define the temporal membership intervals of a sample as the time periods during which is a member of the corresponding model snapshots. Formally, let denote a temporal membership interval of , where is the first timestamp at which becomes a member of the model, and is the last timestamp at which remains a member. Specifically, if is inserted through the update set , then . If is subsequently removed through the update set , then is the first timestamp at which becomes a non-member. Accordingly, we define and . Thus, is the timestamp immediately after in the model-snapshot sequence. In the following, we refer to as an entry point and as an exit point. All other timestamps at which the membership status of does not change are referred to as non-change points. If is a member of the initial model , we define as the timestamp corresponding to and set .
Since a sample can enter and exit the training set multiple times, its temporal membership may cover a set of disjoint intervals , where each interval represents the contiguous range of snapshots in which is included in the training process. For two consecutive intervals and , we require , ensuring that at least one non-member snapshot separates them. otherwise, the two intervals are contiguous and are merged into . The set of membership timestamps included in is given by , where denotes the timestamps covered by the interval .
3.2 Threat Model
Attack Goal. We consider a black-box attacker modeled as an external, untrusted party with legitimate query access to the deployed model, but no involvement in its training. An example of such attacker is a client (user) of a machine learning service (e.g., an API consumer) who can submit inputs and observe outputs. Specifically, given a target sample , the adversary's objective is to infer its temporal membership intervals of : . The number of inferred intervals may not match that of the ground-truth interval(s), allowing the adversary to infer either more or
fewer membership intervals than actually present. Figure 1 shows an example of the ground-truth and inferred temporal membership intervals. The inferred membership intervals can be used to characterize privacy risks at different granularity. Specifically, at the timestamp-level, the adversary infers that the sample was used by the model at timestamp if lies within any interval in . At the interval-level, the adversary infers that was included in the model within a time window if there is a predicted interval such that .
Temporal membership inference can leak sensitive information that goes beyond whether a user's data was ever used. In many real-world deployments, this temporal dimension is tightly coupled with highly sensitive user behaviors and life events. Consider an online service whose models are periodically updated using recent user queries. During a period of illness, a user may issue many health-related queries that are incorporated into subsequent model updates. After recovery, the user stops issuing such queries and may later request the removal of queries concerning sensitive medical conditions. By inferring the temporal membership, the attacker can identify the time window during which these health-related queries have been used by the model and thus reconstruct sensitive health timelines of the target user.
Adversary's Knowledge and Capabilities. The adversary is granted black-box access to a sequence of model snapshots , allowing them to query each snapshot with arbitrary inputs and observe the corresponding outputs. In this work, we assume the observable output takes the format of posterior probability vectors. By default, the adversary can access all model snapshots. We also consider a more realistic setting in which the adversary has access to only a subset of the snapshots, and evaluate the robustness of our attack under this restricted access model in Section 7.
Beyond black-box access, the adversary has no knowledge of the target model's internal details, including its parameters, architecture, training hyperparameters, update algorithm, or update data. In particular, the adversary does not know the contents or types of model updates (i.e., whether a sample is inserted or removed at a given update). Consequently, the temporal membership history of a target sample such as the number of membership intervals and their durations is entirely unknown to the adversary.
We further assume that the adversary is passive and cannot influence the model update process. For example, they cannot inject crafted samples into the training set and subsequently request their removal to manipulate the model's evolution. This assumption is consistent with prior work [10, 12] and reflects many practical deployment scenarios in which model updates are controlled solely by the service provider.
Finally, the adversary has access to one or more auxiliary shadow datasets, which need not follow the same distribution as the target model's training data. These datasets may consist of publicly available data from related domains (e.g., public image repositories or open-domain text corpora), data collected through web crawling, or auxiliary datasets released by the model provider or third parties.
Based on the adversary's objective and capabilities, we define a black-box temporal membership inference attack (TMIA) as learning a mapping function that takes the target sample and its outputs by a sequence of observed snapshots and returns a set of non-overlapping time intervals during which is inferred to be a member:
By default, x is considered a non-member in the model snapshots at all timestamps not covered by the inferred intervals.
Note that TMIA aims to reconstruct a sample's membership history over the queried snapshots only. Any insertion or deletion events that occur entirely between two consecutive queried snapshots are inherently unobservable to any black-box adversary, as they leave no directly observable evidence. Therefore, if a sample enters and exits the training set multiple times between two queried snapshots, these intermediate transitions cannot be recovered by TMIA without additional observations. This limitation is fundamental to the threat model rather than to our attack.
Applicability and Practical Relevance. TMIA can be applied to any update scenario, including streaming, online, or periodically retrained paradigms. The considered threat model is consistent with prior studies on privacy leakage from model updates [26, 35, 48, 61]. It is also well motivated by real-world machine learning systems, where models are continuously updated to improve performance, incorporate newly collected data, or address errors and safety issues while retaining access to previous model versions. Many machine learning platforms explicitly support versioned models that can be queried independently. For example, DataRobot [2] maintains registered model versions, while H2O MLOps [1] enables multiple model versions to be deployed and queried simultaneously. Likewise, commercial foundation model providers expose multiple model snapshots through their APIs. For instance, OpenAI [3] utilizes date-based naming conventions for their API model snapshots (e.g., "gpt-4o-2024-08-06"). Therefore, an adversary can issue the same query to different model snapshots over time, making access to multiple model snapshots a realistic assumption in practice.
3.3 Measurement of Temporal Membership
Temporal membership inference seeks to determine when a particular sample has influenced the model. This setting requires privacy measurements at both timestamp and interval levels.
Timestamp-level Measurement. To capture the temporal membership privacy at both timestamp levels, we use a unified measurement framework that evaluates the precision and recall of the inferred membership intervals. Formally, let denote the set of ground-truth temporal membership intervals of a sample x, and let denote the set of temporal intervals inferred by the adversary. Let and be the set of distinct membership timestamps in and , respectively. We define timestamp-level precision (T-Pre) as the fraction of the inferred timestamps that are correct (i.e., they belong to the ground-truth set), and timestamp-level recall (T-Rec) as the fraction of ground-truth timestamps that are correctly inferred:
EXAMPLE 2. Consider the ground-truth membership interval and the inferred interval shown in Figure 1. The corresponding timestamp sets are and . Therefore, , and .
We further define the timestamp-level F1 score (T-F1) as the harmonic mean of T-Pre and T-Rec. A higher T-F1 score reflects a stronger membership inference capability at the timestamp level.
Interval-level Measurement. To assess the accuracy of inferred membership intervals, we introduce an interval-level metric that jointly evaluates interval matching and boundary precision. Since the number of predicted intervals may differ from those in the ground truth, the predicted intervals cannot be directly compared with the ground-truth ones. Therefore, we evaluate the interval-level membership inference by measuring the overlap between the interval sets. Specifically, let and denote the sets of ground-truth and inferred membership intervals for sample , respectively. An inferred interval is said to match a ground-truth interval if they overlap, i.e., . The interval-level precision (I-Pre) of a predicted interval with respect to a matching ground-truth interval is defined as the
fraction of that overlaps with : .
The corresponding interval-level recall (I-Rec) of a ground-truth interval with respect to a matching predicted interval is defined
as the fraction of correctly covered by : .
A predicted interval may match multiple ground-truth intervals, and conversely, a single ground-truth interval may be matched by multiple predicted intervals. Let be the set of ground-truth intervals that match a predicted interval , and be the set of predicted intervals that match a ground-truth interval . We compute the per-interval precision and recall as follows:
Finally, we aggregate per-interval precision and recall, and measure the interval-level precision and interval-level recall for any given sample x:
EXAMPLE 3. Continuing with Example 2, we compute and , yielding . Similarly, and , resulting in .
Finally, we compute the interval-level F1 score (I-F1) as the harmonic mean of I-Pre and I-Rec values. A larger I-F1 score indicates higher interval-level membership privacy risk.
Together, timestamp-level and interval-level metrics provide complementary views of the inferred temporal intervals. Timestamp-level metrics measure fine-grained, point-wise detection performance, whereas interval-level metrics evaluate whether the detected timestamps are properly grouped into coherent temporal segments.
Note that a prediction can achieve high timestamp-level accuracy yet low interval-level accuracy if correct timestamps are fragmented into many small intervals, because I-Pre and I-Rec are averaged over intervals and therefore penalize fragmented predictions. Conversely, high interval-level accuracy with low timestamp-level

Figure 2: Entry and exit points predicted by three straw-man approaches (Pythia-70M model, SST-5 datasets). The target sample was initially present in the training set. It was removed at the 36th timestamp, and re-inserted at the 70th timestamp.
accuracy is unlikely, since significant timestamp-level errors typically reduce interval overlap and negatively affect interval-level performance.
4 Motivation of Attack Design
4.1 Characterization of Temporal Membership Signals
Continual model updates fundamentally alter model behavior over time. Understanding these behavioral changes is critical for revealing when and how membership signals emerge, and for informing the design of effective temporal membership inference attacks. To this end, we first conduct an empirical analysis to characterize how model updates influence black-box model behaviors, particularly confidence trajectories, and to identify consistent signatures associated with true data membership changes.
In our empirical study, we train two models: Pythia-70M model [8] on the SST-5 dataset and SimpleCNN [12] on the CIFAR-10 dataset². At each update step, we randomly sample 1% the original training data as the removal set, along with a set of in-distribution samples not included in the training data of the same amount as the insertion set. We adopt fine-tuning as the update algorithm. Finally, we randomly select a target sample from the training data, which is removed and subsequently re-inserted at a later model update, and track its predicted confidence across successive model snapshots.
Figure 2 illustrates the confidence score of the target sample across 80 snapshots of the Pythia-70M model. The results of the SimpleCNN model are similar and can be found in Appendix C. We observe a pronounced disparity between insertion and deletion in their effects on a sample's confidence score. While both operations alter the model's outputs, insertion results in rapid stabilization: once the sample is incorporated into the training set, its confidence quickly converges and remains relatively stable under subsequent updates. In contrast, deletion exhibits a more persistent influence, with the sample's confidence continuing to fluctuate as the model undergoes further updates. This disparity indicates that the temporal dynamics of confidence scores can be leveraged not only to
identify the timing of model updates but also to distinguish between sample insertion and removal events.
4.2 Straw-man Approaches and Their Insufficiency
Can existing approaches be readily adapted to our setting to identify the entry and exit points of a target sample? We investigate this question by considering three straw-man baselines: timestamp-wise MIA (TS-MIA), update-wise MIA (UP-MIA), and change-point-wise MIAs (CP-MIA). TS-MIA performs membership inference independently at each timestamp, UP-MIA relies on pairwise comparisons between consecutive model snapshots, and CP-MIA applies statistical analysis over the entire sequence of model snapshots. We describe the details of each approach below. To highlight their limitations, we evaluate these attacks under the same experimental setting as described in Section 4.1 and visualize the entry and exit points detected by each method in Figure 2. To rule out inaccuracies arising from uncertainty in the number of update events and to provide a strong baseline for comparison, we further assume that the adversary underlying all three straw-man approaches knows the total number of update events.
Timestamp-wise MIA (TS-MIA). TS-MIA applies an existing MIA developed for static models [52, 54] independently to each model snapshot, aiming to determine whether a given sample is present in that snapshot. As shown in Figure 2, by operating on each snapshot in isolation, TS-MIA discards valuable temporal dependencies, resulting in poor accuracy when identifying entry and exit points. For instance, it infers an entry point at the 46th timestamp, which is substantially off from the ground truth at the 70th timestamp.
Update-wise MIA (UP-MIA). We consider the delta attack [26], a state-of-the-art MIA against model updates. It classifies a sample as a member of the update set at time point if it exhibits a large loss difference between two consecutive model snapshots, and .
One major weakness of the delta attack is that relying solely on adjacent snapshots provides insufficient temporal context for accurate temporal membership inference. As shown in Figure 2, even when the target sample is not included in any update set between the 36th and 70th timestamps, its confidence score still fluctuates substantially across consecutive model snapshots. Importantly, the magnitude of these fluctuations can be comparable to—or even exceed—those induced by true update events. Because UP-MIA infers membership solely from the maximum output change between adjacent model snapshots, it can be severely misaligned with the true insertion and deletion timestamps, resulting in large deviations from the ground truth (e.g., incorrectly identifying the 40th timestamp as an entry point in Figure 2). Even worse, UD-MIA can infer an incorrect temporal ordering of update events by predicting the exit point after the entry point, indicating a wrong insertion-then-removal update event.
Change-point-wise MIA (CP-MIA). Intuitively, the model outputs across all snapshots can be treated as a time-series sequence, and the inference attack can be framed as a change-point detection problem whose goal is to identify the precise times at which these
²Details of the dataset and model are provided in Appendix B.
statistical shifts occur [6]. Following this idea, we apply Cumulative Sum (CUSUM) [30], a state-of-the-art change-point detection method that detects abrupt changes in the mean or variance of a time series. Since the original CUSUM method does not distinguish between entry and exit points, we introduce an additional constraint to make CP-MIA a strong baseline: the adversary is assumed to know the temporal order of update events.
Figure 2 shows that the change points identified by CP-MIA do not align with the true entry and exit points of the target sample. For instance, it predicts an exit point at the 45th timestamp, which is considerably distant from the ground truth at the 36th timestamp. This highlights a fundamental limitation of CP-MIA: statistical shifts in the time series alone are insufficient to accurately infer temporal membership, even under strong adversarial knowledge of the update sequence.
To summarize, our empirical results demonstrate that the dynamics of model outputs cannot be adequately captured by timestamp-wise membership reasoning (TS-MIA), pairwise snapshot comparisons (UP-MIA), or sequence-wise statistical analysis (CP-MIA). This highlights the need for designing effective attacks that explicitly update-induced model dynamics.
5 Attack Methodology
In this section, we present the design of TMIA, our proposed black-box temporal membership inference attack. TMIA infers temporal membership intervals by analyzing model updates across multiple timestamps. The framework consists of three main components: training update-aligned shadow models, labeling timestamps, and constructing membership intervals. Below, we describe each phase in detail.
5.1 Training Update-Aligned Shadow Models
Recall that the adversary has only black-box access to the target model. To approximate the behavior of the target model under continuous updates, the adversary constructs a sequence of shadow models that emulate the target model's evolution over time. Formally, let denote the sequence of target model snapshots. The adversary's goal is to construct a corresponding sequence of shadow models such that these shadow models approximate the update behavior of . This alignment enables the adversary to capture temporal changes in the model's outputs and leverage them for temporal membership inference in the next steps.
Unlike conventional MIAs [49, 52, 59] that train one or more static shadow models to approximate a single fixed target model, training update-aligned shadow models introduces several difficulties. First, the shadow model must mimic the target model's behavior across successive updates, despite that the adversary has no knowledge of the update algorithm used by the target model. Second, continual updates introduce distribution shift in the model output, making it difficult for shadow models to emulate the target model's update behavior across all time steps. These challenges make update-aligned shadow model training more complex than static shadow model training.
To train the update-aligned shadow models, the adversary first trains an initial shadow model , using a shadow dataset sampled from the adversary's auxiliary knowledge. We assume that the architecture, dataset distribution and hyperparameters of the shadow model may differ from those of the target model. The adversary then performs a sequence of model updates, yielding a series of shadow models . At each timestamp , the adversary simulates the target model's update by updating with a shadow update set . The shadow update sets need not follow the same distribution as the target model's update sets. Since the adversary does not have the knowledge of the update algorithm used by the target model either, there can be mismatch between the updates by the target model and the shadow model. We will empirically evaluate the effectiveness of TMIA under such discrepancies in Section 6.
5.2 Labeling Timestamps
We define the task of identifying the entry and exit points as a sequence labeling problem. Formally, given a sample and its corresponding time-series sequence , where each denotes the output of model snapshot on , i.e., , the goal is to learn a mapping function that maps each timestamp in with a specific label:
where label N indicates that the timestamp i is a non-change point of x; label E indicates that timestamp i is an entry point of x (i.e., x is inserted into ); and label X indicates that timestamp i is an exit point of x (i.e., x is removed from ).
We train the sequence labeling model by two steps: constructing a training dataset, and training an LSTM-based model. Next, we explain the details of each step.
5.2.1 Constructing Sequence Labeling Training Dataset. After the adversary obtained a sequence of update-aligned shadow models (Section 5.1), the adversary randomly selects a set of samples , each sampled from the sets according to a uniform distribution. Here, denotes the training set used to train , and is the update set used to update the model snapshot . Next, for each sample , the adversary queries each shadow model with and collects the output posterior probability vectors, forming a time series sequence . We obtain a univariate time series accordingly, where denotes the confidence score extracted from . This time series captures the temporal evolution of the model's response to the target sample across updates. After obtaining the time series , the adversary assigns each value a label from , depending on whether is a non-change point, an entry point, or an exit point in the model snapshot , respectively.
5.2.2 Training Sequence Labeling Model. We train a LSTM model for sequence labeling, since they capture temporal dependencies across time steps. However, as traditional LSTM models are primarily designed to capture global long-term dependencies, they may fail to detect membership transition events as the incorporated distant temporal context may become noise to the inference. To address this issue, we adopt the sliding-window based LSTM approach [7, 42, 50] to our setting, and design a bidirectional LSTM (BiLSTM) [20] incorporated with a sliding window, aiming

Figure 3: Illustration of the sequence labeling model.
to emphasize local temporal patterns around entry and exit points. Figure 3 illustrates our sequence labeling model.
Specifically, given a time series s, for each timestamp in s, we construct a fixed-length sliding window of size : . Near the beginning or end of the sequence, where the sliding window extends beyond the time series, we pad all out-of-range window positions by replicating the nearest boundary value ( or ).
Next, we incorporate both forward and backward LSTM in the BiLSTM model with the sliding window, ensuring the hidden state at time only depends on inputs from to , not from to . Specifically, let the effective start of the window at time be
The forward LSTM update is then defined as
(4)
where , are reset (e.g., zero-initialized or learned) at the beginning of each sliding window, and is defined in Eqn. (1).
Similarly, let the effective end of the window at time be
Here, N is the number of timestamps in the whole sequence.
The backward LSTM update is then defined as the follows:
(6)
Here, is defined in Eqn. (1). The hidden and cell states are reset at the end of each window, so that the hidden state at time depends only on the inputs from to within the sliding window, and is independent of inputs beyond the window.
Finally, the hidden states at timestamp is obtained by concatenating the forward and backward hidden states:
After obtaining , it is passed through a linear layer followed by a softmax activation to produce class probabilities. We use cross-entropy as the loss function. In this way, the model maps the learned representations to the target labels.
5.3 Constructing Membership Intervals
A major limitation of the sequence labeling model is that assigning labels to individual timestamps independently fails to capture the temporal dependencies between entry and exit points. The model may predict an exit point before the corresponding entry point, or generate isolated entry or exit labels in the sequence. Such inconsistencies can prevent the construction of valid membership intervals.
First, we formally define valid membership intervals.
DEFINITION 4 (VALID MEMBERSHIP INTERVALS). Let be a sequence of timestamps, where each timestamp is assigned a label by our BiLSTM model, representing a non-change, entry, and exit point, respectively. Let , and denote the sets of entry and exit timestamps, respectively. A set of membership intervals is valid if there exists an injective matching function: that satisfies the following three requirements:
(1) Correct ordering. Every exit point is matched to a preceding entry point: .
(2) Entry-exit matching. Every exit point in is matched to exactly one entry point in , while each entry point is matched to at most one exit point in . Consequently, an entry point may remain unmatched, corresponding to a membership interval that extends to the last observed timestamp .
(3) Non-overlapping intervals. For any two intervals , induced by , .
To construct valid temporal membership intervals, we design a three-step procedure: Step 1 extracts the entry and exit points and partitions them into groups, Step 2 selects a representative timestamp for each group, and Step 3 pairs the representatives to form membership intervals. Step 1 ensures Requirement 1, while Steps 2 & 3 ensures Requirements 2 & 3. of valid membership intervals to be satisfied. Next, we discuss the details of each step.
Step 1: We discard all non-change points and keep all entry and exit timestamps in , sorted in increasing order. We partition into maximal groups of consecutive same-label timestamps . Each group is a maximal run with , and , .
Step 2: For each group , we select the timestamp with the highest confidence score as the representative timestamp . Let denote the chronologically ordered sequence of representative timestamps.
Step 3: We process in chronological order. For each with , we match it to the immediately preceding unmatched entry (); by alternation this is the entry right before it. Each matched entry-exit pair defines the closed membership interval . There are two boundary cases: (i) if the sequence ends with an unmatched entry , the sample is inferred to remain a member through the final snapshot, giving ; and (ii) if the sequence begins with an exit , is inferred to be included in the initial training set and use the implicit entry point , giving .

Figure 4: An example of membership interval construction.
Figure 4 illustrates an example of our membership interval construction process. Building on this construction process, we formally state the following theorem, which establishes the correctness of our method.
THEOREM 5. The three-step process guarantees to return valid membership intervals (Definition 4).
The proof of Theorem 5 can be found in Appendix A. By guaranteeing valid membership intervals, Theorem 5 formalizes the correctness of our approach and provides a foundation for interval-level measurement.
6 Evaluation
This section presents the results of our empirical evaluation. All the experiments are executed on a server with 4 NVIDIA A100 GPUs, each with 40GB of memory. All the experimental results are obtained as the average of three trials.
6.1 Setup
Models and Datasets. To assess the generality of our approach across different modalities and architectures, we consider both language and vision models in our evaluation: (1) Language models (LM): we consider three widely-used transformer-based architectures: Pythia-70M [8], T5 [44], and GPT-2 Small [43]; (2) Image classification DNNs: ResNet-18 [22], SimpleCNN [12], and MobileNet [24]. We use three widely-adopted text datasets: SST-5 [53], News20 [5], MNLI [56], and three image benchmark datasets: CIFAR-10 [31], SVHN [38], and CINIC-10 [14].
Updates. We simulate 80 and 60 update steps for the examined LMs and DNNs, respectively. Each update includes both insertions and removals. The update sizes are dataset-dependent: 1% for SST-5 and News20, and 0.5% for MNLI. All inserted and removed samples are randomly drawn from the dataset. Under this update process, a sample may be inserted into and removed from the training set multiple times throughout the update sequence. Across datasets, 31%–55% of updated samples have at least two membership intervals, with each sample undergoing up to three or four insertion/removal events depending on the dataset. Additional details of update sampling, ratio calculation, and evaluation-sample composition are provided in Appendix B.3. Beyond this default setting, we evaluate TMIA under correlated updates, model quantization, and partial observation of model snapshots (Section 7).
Regarding model update algorithms, we consider three algorithms for LMs: fine-tuning [34] for both data insertion and removal, as well as Gradient Ascent (GA) [27] and Negative Preference
Optimization (NPO) [62] for data removal (forgetting). For DNNs, besides fine-tuning and GA, we consider SCRUB [32] for data forgetting. The implementation details of these algorithms are described in Appendix B.5.
Evaluation Metrics. We evaluate timestamp-level inference accuracy using T-Pre, T-Rec, and T-F1, and interval-level inference accuracy using I-Pre, I-Rec, and I-F1 (Section 3.3). Higher T-F1 and I-F1 scores indicate stronger attack effectiveness. Since our attack directly predicts temporal membership intervals rather than producing probabilistic or threshold-based decisions, AUC is not an applicable evaluation metric.
Compared Methods . We consider two approaches: ① Timestamp-wise MIA (TS-MIA): We apply the entropy-based MIA [54], one of the recent benchmark MIAs, independently to each model snapshot; and ② Update-wise MIA (UP-MIA): We adapt the delta attack [26], the only prior update-wise MIA, to our setting. The attack compares outputs of consecutive model snapshots to infer entry and exit points: round i is an entry if the loss difference exceeds a threshold, and an exit if it falls below. Thresholds are set using the shadow-model calibration strategy from [26].
More details of the experimental setup, including the datasets, target models, data updates, attack model and its training process, can be found in Appendix B.
6.2 Performance of TMIA
In this section, we report the timestamp-level and interval-level inference performance of TMIA and the baseline methods. In addition, we measure the accuracy of inferred entry/exit points, and report the results in Appendix D.
Timestamp-level Inference. Table 2 reports the T-Pre, T-Rec, and T-F1 of TMIA and the two baselines. TMIA achieves consistently strong T-Pre, T-Rec, and T-F1 results across all the settings. Specifically, across the three language models, TMIA achieves both high T-Pre and T-Rec results ( 80.51%), with T-F1 score higher than 83% in all settings.
Compared with the baselines, TMIA significantly outperforms both in terms of T-F1 score across all the settings. Specifically, while TS-MIA achieves high T-Rec (often exceeding 85%), it does so by predicting entry points at nearly all timestamps for all test samples. This behavior leads to low precision, with T-Pre typically remaining below 70%, which significantly limits its overall T-F1 performance. In contrast, UP-MIA consistently yields low T-Pre and T-Rec values across different models and datasets, resulting in substantially lower T-F1 scores. These results demonstrate that TMIA achieves a significantly better balance between precision and recall, enabling more accurate timestamp-level membership inference intervals in all settings.
Interval-level Inference. Table 3 reports the I-Pre, I-Rec, and I-F1 results of TMIA and the two baselines. TMIA also achieves consistently strong interval-level attack performance on all models and datasets, yielding favorable I-Pre, I-Rec, and I-F1 results. For example, the I-F1 score of TMIA exceeds 72% when attacking the Pythia-70M model across the three text datasets. Furthermore,
The CP-MIA method assumes a known number of membership transitions and is therefore not directly included in the comparison.
https://github.com/inspire-group/membership-inference-evaluation
Table 2: Timestamp-level accuracy of TMIA and baselines. The best T-F1 results for each setting are marked in gray.
| Model | Dataset | TMIA (Ours) | Timestamp-wise MIA | Update-wise MIA | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| T-Pre | T-Rec | T-F1 | T-Pre | T-Rec | T-F1 | T-Pre | T-Rec | T-F1 | ||
| Pythia-70M | SST-5 | 88.78 | 94.06 | 91.34 | 69.26 | 88.21 | 77.59 | 52.01 | 65.25 | 57.88 |
| News20 | 82.55 | 84.58 | 83.55 | 57.33 | 79.44 | 66.60 | 29.01 | 59.81 | 39.07 | |
| MNLI | 83.67 | 91.19 | 87.27 | 72.91 | 94.16 | 82.18 | 45.35 | 75.41 | 56.64 | |
| T5 | SST-5 | 84.73 | 92.19 | 88.30 | 61.53 | 90.94 | 73.40 | 46.35 | 89.87 | 61.16 |
| News20 | 80.51 | 88.10 | 84.13 | 57.25 | 81.31 | 67.19 | 31.78 | 63.26 | 42.30 | |
| MNLI | 90.32 | 91.92 | 91.10 | 64.79 | 91.77 | 75.95 | 42.88 | 75.26 | 54.64 | |
| GPT-2 | SST-5 | 83.54 | 90.52 | 86.89 | 60.96 | 91.01 | 73.01 | 38.02 | 78.30 | 51.18 |
| News20 | 82.64 | 84.88 | 83.75 | 52.65 | 85.19 | 65.08 | 30.71 | 61.80 | 41.03 | |
| MNLI | 81.28 | 86.79 | 83.94 | 68.25 | 86.33 | 76.23 | 41.63 | 71.01 | 52.49 | |
| ResNet-18 | CIFAR10 | 77.33 | 81.48 | 79.35 | 59.51 | 84.73 | 69.91 | 39.53 | 73.28 | 51.36 |
| SVHN | 71.30 | 74.24 | 72.74 | 43.23 | 81.76 | 56.55 | 33.77 | 59.94 | 43.20 | |
| CINIC10 | 77.06 | 83.75 | 80.27 | 60.54 | 88.36 | 71.85 | 44.83 | 68.11 | 54.07 | |
| SimpleCNN | CIFAR10 | 80.22 | 76.39 | 78.26 | 66.40 | 85.78 | 74.85 | 35.00 | 75.07 | 47.74 |
| SVHN | 70.43 | 72.69 | 71.02 | 47.18 | 86.68 | 61.10 | 34.56 | 70.48 | 46.38 | |
| CINIC10 | 78.28 | 76.87 | 77.57 | 66.74 | 85.49 | 74.96 | 51.13 | 79.35 | 62.19 | |
| MobileNet | CIFAR10 | 80.36 | 76.86 | 78.57 | 66.17 | 87.81 | 75.47 | 46.26 | 79.19 | 58.40 |
| SVHN | 72.15 | 77.38 | 74.23 | 41.90 | 96.04 | 58.35 | 34.07 | 65.64 | 44.85 | |
| CINIC10 | 81.34 | 73.65 | 77.30 | 64.77 | 87.68 | 74.50 | 57.54 | 79.61 | 66.80 | |
Table 3: Interval-level accuracy of TMIA and baselines. The best I-F1 results for each setting are marked in gray.
| Model | Dataset | TMIA (Ours) | Timestamp-wise MIA | Update-wise MIA | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| I-Pre | I-Rec | I-F1 | I-Pre | I-Rec | I-F1 | I-Pre | I-Rec | I-F1 | ||
| Pythia-70M | SST-5 | 80.89 | 87.70 | 84.16 | 56.47 | 57.57 | 57.01 | 46.93 | 68.35 | 55.65 |
| News20 | 75.04 | 79.58 | 77.24 | 47.52 | 50.85 | 49.13 | 30.66 | 64.35 | 41.53 | |
| MNLI | 78.84 | 76.63 | 77.72 | 46.50 | 59.73 | 52.29 | 39.16 | 74.89 | 51.43 | |
| T5 | SST-5 | 68.70 | 77.97 | 73.04 | 53.23 | 61.25 | 56.96 | 29.85 | 87.63 | 44.53 |
| News20 | 74.15 | 71.69 | 72.90 | 50.31 | 51.92 | 51.10 | 35.70 | 68.67 | 46.98 | |
| MNLI | 72.81 | 69.61 | 71.17 | 43.59 | 57.04 | 49.42 | 39.62 | 74.64 | 51.76 | |
| GPT-2 | SST-5 | 69.20 | 82.41 | 75.23 | 47.00 | 64.03 | 54.21 | 31.17 | 80.45 | 44.93 |
| News20 | 75.13 | 77.66 | 76.37 | 39.41 | 58.81 | 47.19 | 34.35 | 68.29 | 45.71 | |
| MNLI | 76.38 | 63.50 | 69.35 | 49.18 | 38.68 | 43.30 | 34.89 | 70.66 | 46.71 | |
| ResNet-18 | CIFAR10 | 74.75 | 68.26 | 71.36 | 40.74 | 43.02 | 41.85 | 23.93 | 67.20 | 35.29 |
| SVHN | 63.47 | 67.94 | 65.63 | 26.23 | 36.20 | 30.42 | 34.59 | 36.21 | 35.38 | |
| CINIC10 | 75.01 | 59.07 | 66.09 | 41.55 | 52.09 | 46.23 | 35.35 | 72.55 | 47.54 | |
| SimpleCNN | CIFAR10 | 79.05 | 53.26 | 63.64 | 47.56 | 40.65 | 43.83 | 23.26 | 50.30 | 31.81 |
| SVHN | 73.76 | 56.28 | 63.85 | 29.95 | 36.67 | 32.97 | 33.40 | 27.89 | 30.40 | |
| CINIC10 | 70.10 | 62.63 | 66.15 | 50.29 | 44.21 | 47.05 | 29.89 | 65.15 | 40.98 | |
| MobileNet | CIFAR10 | 80.16 | 62.36 | 70.15 | 46.49 | 43.61 | 45.00 | 26.34 | 61.00 | 36.79 |
| SVHN | 71.36 | 63.04 | 66.94 | 20.14 | 42.79 | 27.39 | 33.56 | 34.44 | 33.99 | |
| CINIC10 | 75.62 | 60.35 | 67.13 | 45.45 | 44.51 | 44.98 | 36.66 | 72.19 | 48.63 | |
TMIA consistently attains higher I-Pre and I-Rec than the baselines in most settings, and achieves substantially higher I-F1 across all cases, with observed relative improvements of at least 21.82%. These results show that TMIA enables accurate recovery of continuous membership intervals for interval-level membership inference. Note that recovering temporal membership intervals is inherently more challenging than timestamp-level inference, as it requires not only identifying the correct timestamps but also accurately localizing interval boundaries and preserving the continuity of membership segments. Unlike binary classification, interval-level prediction is evaluated based on the overlap between predicted and ground-truth intervals, where even small boundary errors can substantially reduce the score. Although the absolute I-F1 values are lower than the timestamp-level results in some settings, particularly for vision models, TMIA consistently provides the most accurate interval recovery among all evaluated methods. These results demonstrate that TMIA substantially advances interval-level membership inference under this considerably more challenging prediction task.
6.3 Robustness to Shadow Model Heterogeneity
In practice, an adversary's knowledge of the shadow dataset, model architecture, and update algorithm may not align with those used by the target model. In this section, we conduct a comprehensive set of experiments evaluating TMIA's performance across varying mismatched scenarios, including mismatched datasets, mismatched model architecture, and mismatched update algorithms. Due to space limit, we only report the T-F1 results for the three LMs in this section. The I-F1 performance can be found in Appendix E.
Mismatched Datasets. We fix the target model to Pythia-70M and vary the shadow and target datasets among SST5, News20, and MNLI. Figure 5a reports the T-F1 of TMIA under these settings. As expected, TMIA achieves the highest T-F1 when the shadow and target datasets coincide. Notably, even when the shadow model is trained on a different dataset, TMIA remains highly effective, exhibiting a marginal reduction in T-F1 of at most 4.95% across all settings.
Mismatched Model Architectures. We fix SST5 as the target dataset and vary the shadow and target models across three architectures: Pythia-70M, T5, and GPT-2. Figure 5b reports the T-F1 results. In all cases, TMIA achieves its best performance when the shadow and target models share the same architecture. Nevertheless, TMIA remains robust when the two models use different architectures, with a T-F1 degradation of no more than 2.1% relative to the best-performing shadow architecture.
Mismatched Update Algorithms. We use Pythia-70M for both the shadow and target models and fix SST5 as the training dataset for both models. We then vary the update algorithms used by the shadow and target models. As shown in Figure 5c, TMIA achieves the highest T-F1 when the same update algorithm is used for both models. More importantly, when the shadow and target models employ different update algorithms, TMIA experiences only marginal performance degradation, with T-F1 remaining at least 88.33% across all settings.
Mismatched Update Volume. We fix the dataset to SST-5 and the target model to Pythia-70M, and vary the shadow and target per-timestamp update volumes among 0.5%, 1%, and 5% of the training data size. Figures 5d reports the corresponding T-F1 and I-F1 of TMIA, respectively. Both metrics peak when the update volumes match. When the shadow update volume is no larger than the target's, T-F1 and I-F1 decrease by at most 1.91% and 4.04%, respectively. Larger drops occur when the shadow model uses 5% of the training data per timestamp while the target uses 0.5% or 1%, with T-F1 decreasing by up to 18.09%.
In summary, these results indicate that TMIA captures fundamental behavioral changes induced by model updates, thus enables effective transfer across diverse datasets, model architectures, update strategies, and update volumes.
6.4 Parameter Sensitivity Analysis
In this section, we evaluate the effect of four key parameters on TMIA's performance: (1) BiLSTM sliding-window size; (2) per-timestamp update volume (total number of inserted and deleted
samples per timestamp), (3) per-sample update count, and (4) per-sample membership duration (how long a sample participates in training). Figure 6 reports the results for the Pythia-70M model trained on SST-5 dataset. Additional results for other settings are in Appendix F.
Sliding-window Size. Figure 6a reports the performance of TMIA under different sliding-window sizes in the BiLSTM model. We observe that attack performance improves consistently as the sliding window size increases. Notably, a window size of 7 yields the best T-F1 performance, while a window size of 11 achieves the highest I-F1 performance. Further increasing the window size provides no additional benefit and instead slightly degrades both T-F1 and I-F1 scores. These results suggest that there exists an optimal window size for balancing timestamp- and interval-level inference, beyond which larger windows offer diminishing benefits.
Per-timestamp Update Volume. We vary the update volume, which is measured as the ratio to the training data size, from 0.1% to 10%, and evaluate TMIA's performance. As shown in Figure 6b, as the update volume increases, both T-F1 and I-F1 values increase accordingly. This is expected as higher update volumes induce stronger perturbations to the model parameters, which enables the update effects to persist over longer periods, leading samples to form more stable temporal intervals to be identified.
Per-sample Update Count. Figure 6c shows TMIA's performance as the per-sample update count rises from 1 to 5. Both T-F1 and I-F1 decline slightly, likely due to more frequent membership changes fragmenting temporal patterns and complicating entry/exit identification. The decrease is minimal—only 1.3% in T-F1 and 1.98% in I-F1. The limited performance drop indicates that TMIA is robust to large per-sample update counts.
Per-sample Membership Duration. Figure 6d presents TMIA's performance under varying membership durations, measured as the ratio to the total number of timestamps (80 in total). TMIA's performance consistently improves as the length of the membership duration increases across all datasets. This is because longer membership intervals allow confidence score changes to stabilize over time, making entry and exit points easier to identify. These results show that longer participation in training amplifies temporal membership leakage and poses greater privacy risks.
6.5 Extending to Large Generative Models
To assess TMIA's effectiveness on large generative language models, we experiment with the LLaMA 3 family [18], a widely used open-weight LLM. We evaluate two models with 3B and 8B parameters, denoted LLaMA-3B and LLaMA-8B. Two question-answering datasets are used: SQuAD [45] (≈100K QA pairs) and SimpleQA [57] (≈4K QA pairs). We simulate continual updates across 40 timestamps, with each operation affecting 1% of the training set. Updates are applied using LoRA-based fine-tuning [33].
Since prediction confidence scores are not directly available for generative language models, we instead rely on the model's perplexity (PPL). Perplexity is a standard metric for evaluating a language model's ability to predict the next token in a sequence [28], with lower values indicating better predictive performance and higher confidence. We adapt TMIA to the generative language model setting by using the sequence of the PPL values across all

(a) Target-shadow datasets
(b) Target-shadow models
(c) Target-shadow update methods
(d) Target-shadow update volume
Figure 5: Timestamp-level performance of TMIA when the shadow model mismatches the target model. The horizontal and vertical axes correspond to the target and shadow configurations, respectively, including the model, dataset and update method.

(a) Sliding-window size
(b) Per-timestamp update volume
(c) Per-sample update count

(d) Per-sample mem. duration
Figure 6: Performance of TMIA under various parameter configurations (Pythia-70M, SST-5)
Table 4: Timestamp-level accuracy of TMIA and baselines for language models. The best results for each setting are marked in gray.
| Model | Dataset | TMIA (Ours) | Timestamp-wise MIA | Update-wise MIA | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| T-Pre | T-Rec | T-F1 | T-Pre | T-Rec | T-F1 | T-Pre | T-Rec | T-F1 | ||
| Llama-3B | Squad | 99.48 | 81.59 | 89.65 | 53.87 | 95.70 | 68.79 | 32.87 | 47.11 | 38.72 |
| Simpleqa | 98.25 | 92.15 | 95.25 | 59.05 | 99.98 | 74.06 | 57.83 | 47.56 | 52.19 | |
| Llama-8B | Squad | 96.22 | 85.16 | 90.35 | 50.61 | 94.98 | 65.88 | 32.34 | 46.66 | 38.21 |
| Simpleqa | 95.61 | 75.45 | 84.34 | 55.08 | 99.95 | 70.88 | 56.73 | 45.66 | 50.6 | |
model snapshots as the input. For the baseline methods, we first implement a timestamp-wise MIA (TS-MIA) by applying a PPL-based membership inference attack [11] independently to each model snapshot. For the update-wise MIA (UP-MIA), we modify the delta attack [26] by replacing confidence scores with PPL values.
Table 4 reports the timestamp-level attack performance of TMIA and two baseline methods. TMIA consistently achieves very high timestamp-level precision (T-Pre), ranging from 95.61% to 99.48%, together with strong recall (T-Rec), resulting in T-F1 scores above 84% across all settings. In contrast, the timestamp-wise MIA attains high recall but suffers from low precision, while the update-wise MIA performs poorly on both precision and recall, leading to substantially lower T-F1 scores. The results of interval-level attack performance are similar and can be found in Appendix G.
7 Robustness Under Realistic Updates
To further assess the practicality and robustness of TMIA, we evaluate its performance under three realistic scenarios: (1) Model updates exhibit temporal correlations; (2) Model outputs are modified with reduced precision; and (3) The adversary observes only a subset of model snapshots. These evaluations are designed to examine whether TMIA can generalize to realistic conditions in which the attacker has incomplete observations and the target model differs from the original full-precision setting.
7.1 Attacking Correlated Model Updates
So far, our evaluation has focused on uncorrelated model updates, where the samples involved in each update are drawn independently. In practice, however, ML systems often receive correlated updates, such as data that share the same topic, belong to the same class, or follow the same distribution. Such correlations may alter
Table 5: Performance of TMIA under correlated model updates (SST-5, Pythia-70M).
| Updates | Timestamp-level | Interval-level | ||||
|---|---|---|---|---|---|---|
| T-Pre | T-Rec | T-F1 | I-Pre | I-Rec | I-F1 | |
| Uncorrelated | 88.81 | 91.51 | 90.14 | 72.10 | 89.92 | 80.03 |
| Correlated insertion | 88.50 | 91.70 | 90.07 | 71.50 | 90.60 | 79.92 |
| Correlated removal | 88.30 | 91.20 | 89.73 | 71.40 | 89.80 | 79.55 |
| Correlated (both) | 87.60 | 91.80 | 89.65 | 70.20 | 91.30 | 79.37 |
Table 6: Performance of TMIA against reduced-precision model outputs by quantization (Pythia-70M model).
| Setting | Timestamp-level | Interval-level | ||||
|---|---|---|---|---|---|---|
| T-Pre | T-Rec | T-F1 | I-Pre | I-Rec | I-F1 | |
| Full precision | 88.81 | 91.51 | 90.14 | 72.10 | 89.92 | 80.03 |
| 8-bit | 83.64 | 77.26 | 80.32 | 70.61 | 74.53 | 72.52 |
| 4-bit | 75.72 | 54.33 | 63.27 | 62.52 | 62.49 | 62.50 |
the influence of individual updates and, consequently, affect the effectiveness of TMIA.
To investigate this effect, we use the Pythia-70M model trained on the SST-5 dataset as the victim model. We simulate correlated updates by constructing each model update from samples (sentences) belonging to a single sentiment class. Since all samples in an update share the same label, they are semantically correlated. In contrast, samples drawn from different sentiment classes are treated as uncorrelated.
We evaluate TMIA under the following four update settings: (1) Correlated insertion: insert correlated samples while removing uncorrelated samples; (2) Correlated removal: remove correlated samples while inserting uncorrelated samples; (3) Correlated insertion & removal: both inserted and removed samples are correlated; and (4) Uncorrelated updates: both inserted and removed samples are uncorrelated. To reflect a realistic attack scenario, we assume the adversary has no prior knowledge of whether the target model is updated with correlated or uncorrelated data. Consequently, the attacker trains shadow models using only uncorrelated updates.
Table 5 shows that TMIA remains highly effective even when the victim model undergoes correlated updates, achieving attack accuracy comparable to the uncorrelated baseline. Although correlated updates lead to a slight reduction in performance, the degradation is modest: T-F1 and I-F1 change by at most 0.49% and 0.66%, respectively. The slight performance drop likely because correlated samples more similar model updates, reducing the diversity of update signatures and making insertion and removal events somewhat less distinguishable. However, they still leave consistent traces in the model parameters which allow TMIA to generalize effectively even though its shadow models are trained exclusively on uncorrelated updates.
Table 7: Performance of TMIA under partial access to model updates (Pythia-70M model).
| Access to model updates | Timestamp-level | Interval-level | ||||
|---|---|---|---|---|---|---|
| T-Pre | T-Rec | T-F1 | I-Pre | I-Rec | I-F1 | |
| Full sequence | 88.81 | 91.51 | 90.14 | 72.10 | 89.92 | 80.03 |
| 50% of snapshots | 69.07 | 76.98 | 72.82 | 60.54 | 69.39 | 64.66 |
| 25% of snapshots | 40.42 | 60.55 | 48.48 | 37.96 | 35.10 | 36.47 |
7.2 Attacking Model Outputs with Reduced-Precision
In practice, an adversary may only have access to reduced-precision model outputs rather than full-precision predictions. Such outputs commonly arise because deployed machine learning systems models often undergo post-processing, such as quantization, pruning, distillation, or output calibration. These techniques can alter or smooth the model outputs. Since TMIA relies on temporal variations in model outputs, such reduced-precision outputs may weaken the temporal membership signals exploited by the attack.
To evaluate whether TMIA remains effective against model outputs with reduced precision, we configure the target model using per-channel symmetric uniform quantization [25] on the Pythia-70M model. The weights in each linear layer are quantized to b bits, while activations remain in full precision. We consider two quantization levels, . We assume a strong adversary who knows that the target model has been quantized and is aware of the quantization algorithm and configuration. Accordingly, the adversary applies the same quantization procedure to its shadow models. Such an assumption is reasonable in practice, as many deployed models publicly disclose their quantization method and bit width.
Table 6 reports the performance of TMIA on both full-precision and quantized models. As expected, reducing the output precision degrades the attack performance, with T-F1 and I-F1 decreasing by 26.37% and 17.53% for 4-bit quantization, as well as 9.82% and 7.51% for 8-bit quantization, respectively, compared with the full-precision model. The degradation occurs because quantization suppresses small variations in the model outputs, making temporal membership signals less distinguishable across consecutive model snapshots. Nevertheless, TMIA remains effective even under aggressive 4-bit quantization, achieving T-F1 and I-F1 scores of 63.3% and 62.5%, respectively. This result indicates that quantization does not eliminate the changes in model updates, allowing TMIA to reliably infer temporal membership.
7.3 Attacking with Partial Observation of Model Updates
Our evaluation so far has assumed that the adversary can query every model snapshot throughout the model update sequence. In practice, however, an adversary may have only intermittent or limited access to the deployed model and thus observe only a subset of the snapshots.
To evaluate the robustness of TMIA under such restricted access, we consider two scenarios where the adversary observes only 25% and 50% of the complete sequence of model snapshots, respectively.
Table 8: Performance of three defense mechanisms against TMIA.
| Dataset/Model | Defense | Timestamp-level | Interval-level | Model Utility | |||||
|---|---|---|---|---|---|---|---|---|---|
| T-Pre | T-Rec | T-F1 | I-Pre | I-Rec | I-F1 | Train. Acc | Test. Acc | ||
| SST-5/Pythia-70M | W/o defense | 88.78 | 94.06 | 91.34 | 80.89 | 87.70 | 84.16 | 99.18 | 43.26 |
| Label-only output | 84.79 | 91.44 | 87.99 | 67.90 | 83.39 | 74.85 | 99.18 | 43.25 | |
| Dropout | 80.71 | 71.77 | 75.36 | 73.63 | 72.84 | 73.22 | 65.12 | 40.13 | |
| Dropout | 76.39 | 46.99 | 58.18 | 64.15 | 43.51 | 51.82 | 60.11 | 41.24 | |
| DP | 71.60 | 24.03 | 35.99 | 27.47 | 14.93 | 19.35 | 54.67 | 40.11 | |
| DP | 63.35 | 10.12 | 17.47 | 6.62 | 4.28 | 5.20 | 46.32 | 38.43 | |
| CIFAR10/SimpleCNN | W/o defense | 80.22 | 76.39 | 78.26 | 79.05 | 53.26 | 63.64 | 100.00 | 72.12 |
| Label-only output | 75.95 | 75.61 | 75.78 | 65.49 | 51.37 | 57.56 | 100.00 | 72.12 | |
| Dropout | 75.01 | 73.33 | 73.53 | 62.88 | 50.52 | 56.03 | 98.12 | 71.23 | |
| Dropout | 70.62 | 54.38 | 61.44 | 40.53 | 18.83 | 25.76 | 86.22 | 71.51 | |
| DP | 69.58 | 27.62 | 39.54 | 34.43 | 17.88 | 23.54 | 56.65 | 52.33 | |
| DP | 67.13 | 16.20 | 26.10 | 27.08 | 10.10 | 14.77 | 45.28 | 41.31 | |
For each ratio, we randomly sample the accessible snapshots from the entire update sequence while preserving their original temporal order. This simulates realistic scenarios where an adversary can periodically query the target model but cannot continuously monitor every update.
As shown in Table 7, reducing snapshot availability degrades the performance of TMIA. This degradation is expected because some insertion/removal events may occur between two observed snapshots and therefore remain undetected, reducing both attack precision and recall. Nevertheless, TMIA remains effective even with limited observations. When the adversary has access to only 50% of the model snapshots, TMIA still achieves a T-F1 score of 72.82% and an I-F1 score of 64.66%, demonstrating that periodic access to model snapshots still poses a substantial privacy threat.
8 Potential Defense
Having established the effectiveness of TMIA, we next evaluate the effectiveness of potential defense mechanisms against the attack.
We adapt three defense strategies: label-only output [12, 13], dropout [29, 60], and differential privacy (DP) [19], which have been shown effective against MIAs in static models, to our setting:
- Label-only output: each model snapshot returns only its predicted class label, without exposing confidence scores. To construct TMIA's attack features, we assign a binary correctness indicator of 1 if the predicted label matches, and 0 otherwise. Then we replace the confidence-score trajectory with the binary indicators to construct the attack features.
- Dropout: dropout is enabled during both model training (including subsequent updates) and inference. A fraction of units in the input and fully connected layers are randomly deactivated, so each snapshot's outputs are also subject to dropout at query time. Following prior work [29, 60], We use dropout rates .
- Differential privacy: we deploy Differentially Private Stochastic Gradient Descent (DP-SGD) [4], a state-of-the-art DP mechanism, to each model snapshot. The total privacy loss is obtained by summing the RDP guarantees across all timestamps, leveraging the composability property of RDP [36]. Finally, the accumulated RDP guarantee is converted into the corresponding -DP guarantee using the standard RDP-to-DP conversion [36]. We use the privacy budget and fix in our evaluation.
Table 8 reports the performance of the three defense mechanisms. All three consistently reduce attack performance at both the timestamp and interval levels, with DP offering the strongest protection and achieving the largest reductions in both T-F1 and I-F1. On the other hand, the label-only output defense yields the weakest mitigation power, resulting in modest reductions in both T-F1 and I-F1 (3% and 11% reduction, respectively).
Table 8 also reveals a privacy-utility trade-off. While DP offers the strongest protection, it also incurs the most severe loss in model utility. In contrast, the label-only output defense largely preserves model utility but provides only marginal privacy protection against TMIA. These results suggest that dropout offers the most favorable balance between privacy protection and model utility.
9 Conclusion
In this paper, we first studied the problem about temporal membership inference in continually updated deep learning models and formalize timestamp-level and interval-level membership inference. We proposed TMIA, a novel temporal attack that exploits membership dynamics to infer whether and when specific samples are involved in the training process of the target model. Extensive experiments demonstrated the effectiveness of TMIA.
This work opens several promising directions for future research. First, while we focus on black-box attacks, extending to the white-box setting and investigating how model internals, such as gradients, interact with different update strategies remains an open question. Second, although TMIA was tested against common defenses, designing methods specifically to mitigate temporal membership leakage is largely unexplored. Finally, temporal membership inference raises fundamental questions about defining and auditing privacy for evolving models. Developing formal guarantees and benchmarks that account for temporal dynamics is both crucial and urgent.
A Proof of Theorem 5
PROOF. First, we have the following lemma that presents an important property of the representative timestamps output by Step 2.
LEMMA 1 (ALTERNATING LABELS OF CONSECUTIVE REPRESENTATIVE TIMESTAMPPS). Let denote the set of representative timestamps. Then no two consecutive timestamps in share the same label; that is, for all , we have
PROOF. The proof is straightforward. If , Step 1 would merge the groups of these two representative timestamps into a single larger group. The representative timestamp of the merged group would then be the one with the higher confidence score among and .
Let denote the set of representative timestamps. Let be the labels associated with each representative timestamps. Let and be the number of label 1 (Entry-point) and 2 (Exit-point) in . Following Lemma 1, no consecutive labels in are the same, leading to the following three cases. For clarity of presentation, we use “E” and “X” to denote labels 1 and 2, respectively, in the following discussions.
Case 1: . Since no consecutive labels in are the same, the label sequence of must take one of the following two alternating forms:
In the first form, Step 3 generates membership intervals, each corresponding to an adjacent pair. In the second form, Step 3 generates membership intervals: the first interval is , the last interval is , and the remaining intervals correspond to the intermediate pairs, where and denote the timestamp of the first X and the last E label in .
Case 2: . For this case, the label sequence must take the following form:
It is possible that ; then . Then Step 3 constructs intervals: the first intervals correspond to the intermediate pairs, while the last interval is , where denotes the timestamp of the last E label in . When , it only constructs one interval .
Case 3: . For this case, the label sequence must take the following form:
It is possible that ; then . Then Step 3 constructs intervals: the first interval is , where denotes the timestamp of the first X label in , while the remaining intervals
Table 9: Statistics of datasets
| Dataset | Modality | Feature dim. | # labels | # train samples | # test samples |
|---|---|---|---|---|---|
| SST-5 | Text | 512 | 5 | 8,544 | 2,210 |
| News20 | Text | 512 | 20 | 11,314 | 7,532 |
| MNLI | Text | 512 | 3 | 50,000 | 9,815 |
| CIFAR-10 | Image | 3072 | 10 | 50,000 | 10,000 |
| SVHN | Image | 3072 | 10 | 73,257 | 26,032 |
| CINIC-10 | Image | 3072 | 10 | 90,000 | 90,000 |
Table 10: Architectural details of models used in the experiments
| Model | # Layers | Layer width | # of Parameters |
|---|---|---|---|
| Pythia-70M | 6 | 512 | 70M |
| GPT-2 Small | 12 | 768 | 124M |
| T5 | 12 | 512 | 220M |
| ResNet-18 | 18 | {64,128,256,512} | 11.7M |
| SimpleCNN | 4 | {32,64,128,128} | 1.2M |
| MobileNet | 28 | {32-1024} | 4.2M |
correspond to the intermediate pairs. When , it only constructs one interval .
In all three cases, the constructed intervals satisfy the three requirements in Definition 4. First, every entry point precedes its matched exit point because the representative timestamps are processed in chronological order. Second, every explicit exit point is matched with a unique preceding entry point: it is either paired with the immediately preceding entry representative or, when it is the first representative, with the implicit entry point . Moreover, because the labels strictly alternate, only the final entry representative can remain without an explicit exit point. Third, for any two consecutively constructed intervals, the exit index of the first interval strictly precedes the entry index of the second interval. Thus the theorem follows.
B Experimental Setup
B.1 Datasets
We evaluate three text and three image datasets; Table 9 summarizes their statistics. SST-5 [53] contains movie-review sentences for sentiment classification, News20 [5] contains documents from 20 topics, and MNLI [56] contains premise-hypothesis pairs for natural language inference. CIFAR-10 [31] and CINIC-10 [14] contain color images from 10 classes, with CINIC-10 combining CIFAR-10 and ImageNet images. SVHN [38] contains cropped street-view house-number digits.
B.2 Models
Table 10 summarizes the model architectures. Pythia-70M [8] and GPT-2 Small [43] are autoregressive transformers; T5 [44] is a text-to-text transformer with ReLU activation, while GPT-2 uses GELU. The vision models are ResNet-18 [22], a residual CNN; SimpleCNN [12], with four ReLU convolutional layers, max-pooling, and two fully connected layers; and MobileNet [24], an efficient CNN with ReLU activation.
B.3 Data Updates
At each update, insertion and removal sets are independently sampled from the current non-member and member sets, respectively, allowing removed samples to be reinserted later. Each set contains 1% of the current training set for SST-5, News20, CIFAR-10, and SVHN, 0.5% for MNLI, and 0.1% for CINIC-10. Updates operate at the sentence level for SST-5 and MNLI, document level for News20, and image level for image datasets. Repeated membership refers to at least two disjoint membership intervals. Among evaluation samples, approximately 1% remain members throughout the observed sequence, 99% undergo membership transitions, and none remain non-members throughout.
B.4 Setup of Attack Model
The attack model uses a BiLSTM with feature dimension 32, followed by two fully connected layers: a 32-neuron ReLU hidden layer and a three-neuron softmax output layer. We randomly select 3,000 shadow samples for training and 1,200 target samples for evaluation.
B.5 Update Methods
We consider the following update methods in the paper:
- Fine-tuning (FT): For removal, we fine-tune on forget samples with intentionally incorrect labels; for insertion, we use newly added samples with correct labels.
- Gradient Ascent (GA): GA [27] increases the cross-entropy loss on forget samples, combined with a retain-set loss to preserve utility.
- Negative Preference Optimization (NPO): NPO [62] suppresses forget-sample likelihood relative to a fixed reference model. We use and a retain-set loss.
- SCRUB: SCRUB [32] trains a student model to diverge from a frozen teacher model on forget samples while preserving predictions and accuracy on retained samples. We disable checkpoint rewinding. The default batch size is 256, with learning rates of for image classifiers and for language models.
C Additional Results: Empirical Characterization of Temporal Membership Signals
Figure 7 shows a target sample's confidence across 60 SimpleCNN snapshots under the CIFAR-10 update setting in Section 4.1. Confidence fluctuates after deletion but remains high and stable after insertion. All three existing methods fail to identify the true entry and exit points, consistent with Section 4.
D Accuracy of Inferred Entry & Exit Points
Evaluating the accuracy of inferred entry and exit points is not straightforward because these inferred points may not exactly match their ground-truth ones but with a small derivation instead. Consequently, even when the predicted entry or exit points does not exactly coincide with their ground-truth, a prediction with a small temporal offset should still be regarded as successfully localizing the membership transition in time. Therefore, we introduce a tolerance

Figure 7: Change of confidence score across model snapshots (SimpleCNN model, CIFAR-10 dataset). The target sample was initially present in the training set. It was removed at the 27th timestamp, and re-inserted at the 48th timestamp.
window to enable a more realistic evaluation of attack effectiveness in continually updated settings, without overly penalizing minor temporal misalignments.
Specifically, give a tolerance window of size , we say a ground-truth entry/exit point has a hit if there exists a predicted entry/exit point within the tolerance window, i.e., . Based on the definition of the hit, we measure the hit rate of the ground-truth entry/exit points as the percentage of these points that are correctly predicted. We report the hit rate of entry and exit points by TMIA and two baseline methods in Figure 8.
Comparison with baselines. Our method consistently outperforms both baseline approaches across all settings. The performance gap is particularly pronounced at small , where accurate temporal localization is most critical. For instance, at , TMIA substantially improves the hit rate for entry points compared to the timestamp-wise MIA, achieving 71.00% versus 33.33% when attacking the ResNet-18 model trained on CIFAR-10 dataset, and 81.04% versus 63.75% when attacking the Pythia-70M trained on SST-5 dataset. Similar gains are observed for exit point detection. As increases, TMIA consistently achieves higher hit rates than the baseline methods, indicating that it not only detects correct entry and exit events more frequently, but also localizes them more precisely in time.
Effect of tolerance window size. Across all datasets and models, increasing the tolerance window consistently improves the hit rate for methods that produce temporally localized entry and exit predictions, including TMIA and Timestamp-wise MIA. As increases from 0 to 4, both methods exhibit a monotonic or near-monotonic improvement in hit rate for both entry and exit detection. This trend indicates that many prediction errors correspond to small temporal shifts, rather than completely incorrect inferences, and that a larger tolerance window can absorb minor misalignments between predicted and ground-truth transition points. In contrast, while Update-wise MIA also shows modest improvements in hit rate as increases in certain settings (e.g., CIFAR-10 and CINIC-10), its gains are substantially smaller and less consistent. This suggests that Update-wise MIA lacks precise temporal localization, and its predictions remain weakly aligned with the true entry and exit points even under relaxed tolerance.

Figure 8: Accuracy of inferring entry and exit points
E Additional Results: Robustness of TMIA Under Shadow Model Heterogeneity
E.1 Interval-level Attack Performance
Figure 9 reports interval-level performance under shadow-model mismatch for the three LMs.
Mismatched Datasets. With Pythia-70M fixed, we vary shadow and target datasets among SST-5, News20, and MNLI. Matching datasets yield the highest I-F1; mismatch reduces I-F1 by at most 5.04% (Figure 9a).
Mismatched Model Architectures. On SST-5, we vary shadow and target architectures among Pythia-70M, T5, and GPT-2. Matching architectures perform best; the maximum I-F1 reduction under mismatch is approximately 13% (Figure 9b).
Mismatched Update Algorithms. For Pythia-70M/SST-5, we vary shadow and target update algorithms. Matching algorithms yield the highest I-F1, while mismatched configurations retain I-F1 of at least 81.92% (Figure 9c).
Mismatched Update Volume. On SST-5/Pythia-70M, we vary shadow and target per-timestamp update volumes among 0.5%, 1%, and 5% of the training-set size (Figure 9d). For each target, matching volumes maximize I-F1. Relative to matched settings, I-F1 drops by at most 4.04 percentage points when the shadow volume does not exceed the target's.
F Additional Results: Parameter Sensitivity Analysis
Figure 10 reports TMIA's performance under various parameter configurations, with Pythia-70M trained on News20 dataset as the target model.
Sliding-window Size Figure 10a presents the impact of different sliding-window sizes on the attack performance of TMIA on the
News20 dataset. The overall trend remains consistent with our previous experiments: as the sliding-window size increases, the attack performance improves steadily. Specifically, a window size of 7 yields the best T-F1 performance, while a window size of 11 achieves the highest I-F1 score.
Per-timestamp Update Volume We further examine the effect of different update volumes, measured as a ratio of the training data size ranging from 0.1% to 10%. As shown in Figure 10b, both T-F1 and I-F1 scores increase as the per-timestamp update volume grows. As a result, samples form more stable and contiguous temporal intervals in their member and non-member states, amplifying the temporal signals exploited by TMIA.
Per-sample Update Count Figure 10c reports the performance of TMIA under varying per-sample update counts, where the number of insertion–removal cycles increases from 1 to 5. We observe a gradual decrease in both T-F1 and I-F1 as the update count increases.
Per-sample Membership Duration Figure 10d illustrates TMIA's performance under different membership durations, measured as the ratio of the membership interval to the total number of timestamps (80 in total). The results show that TMIA's performance consistently improves as the membership duration increases across all settings.
G Additional Results: Interval-level attack performance for Large Generative Models
Table 11 compares interval-level attacks on large generative models. TMIA achieves strong I-Pre and I-Rec, with I-F1 reaching 95.01%, while both baselines yield substantially lower I-F1. These results show that TMIA recovers continuous membership intervals even from large generative models.
I-F1

(a) Target-shadow datasets
(b) Target-shadow models
(c) Update methods
(d) Update volume
Figure 9: Interval-level attack Performance of TMIA when the shadow model mismatches the target model. The horizontal and vertical axes correspond to the target and shadow configurations, respectively, including the model, dataset, update method, and update volume.

(a) Sliding-window size

(b) Update volume

(c) Update count

(d) Membership duration
Figure 10: Performance of TMIA under various parameter configurations (Pythia-70M, News20)
Table 11: Interval-level acc of TMIA and baselines on generative models. The best results for each setting are marked in gray.
| Model | Dataset | TMIA (Ours) | Timestamp-wise MIA | Update-wise MIA | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| I-Pre | I-Rec | I-F1 | I-Pre | I-Rec | I-F1 | I-Pre | I-Rec | I-F1 | ||
| Llama-3B | Squad | 97.37 | 82.59 | 89.37 | 38.42 | 84.67 | 52.86 | 34.30 | 10.90 | 16.54 |
| Simpleqa | 97.23 | 92.89 | 95.01 | 34.98 | 59.15 | 43.96 | 60.01 | 8.84 | 15.41 | |
| Llama-8B | Squad | 94.63 | 87.14 | 90.73 | 35.32 | 82.68 | 49.50 | 33.86 | 10.55 | 16.09 |
| Simpleqa | 96.46 | 73.22 | 83.25 | 31.71 | 49.91 | 38.78 | 58.82 | 8.35 | 14.62 | |
References
[1] 2015. H2O.ai AI platform. https://h2o.ai.
[2] 2017. DataRobot Inc. https://www.datarobot.com.
[3] 2018. Openai. https://openai.com/zh-Hans-CN/research/index/.
[4] Martin Abadi, Andy Chu, Ian Goodfellow, H Brendan McMahan, Ilya Mironov, Kunal Talwar, and Li Zhang. 2016. Deep learning with differential privacy. In Proceedings of the 2016 ACM SIGSAC conference on computer and communications security. 308–318.
[5] Khaled Albishre, Mubarak Albathan, and Yuefeng Li. 2015. Effective 20 news-groups dataset cleaning. In 2015 IEEE/WIC/ACM International Conference on Web Intelligence and Intelligent Agent Technology (WI-IAT), Vol. 3. IEEE, 98–101.
[6] Samaneh Aminikhanghahi and Diane J Cook. 2017. A survey of methods for time series change point detection. Knowledge and information systems 51, 2 (2017), 339–367.
[7] Zahra Atashgahi, Decebal Constantin Mocanu, Raymond Veldhuis, and Mykola Pechenizkiy. 2022. Memory-free online change-point detection: A novel neural network approach. arXiv preprint arXiv:2207.03932 (2022).
[8] Stella Biderman, Hailey Schoelkopf, Quentin Gregory Anthony, Herbie Bradley, Kyle O'Brien, Eric Hallahan, Mohammad Aflah Khan, Shivanshu Purohit, USVSN Sai Prashanth, Edward Raff, et al. 2023. Pythia: A suite for analyzing
large language models across training and scaling. In International Conference on Machine Learning. PMLR, 2397–2430.
[9] Lucas Bourtoule, Varun Chandrasekaran, Christopher A Choquette-Choo, Hengrui Jia, Adelin Travers, Baiwu Zhang, David Lie, and Nicolas Papernot. 2021. Machine unlearning. In 2021 IEEE symposium on security and privacy (SP). IEEE, 141–159.
[10] Nicholas Carlini, Steve Chien, Milad Nasr, Shuang Song, Andreas Terzis, and Florian Tramer. 2022. Membership inference attacks from first principles. In 2022 IEEE Symposium on Security and Privacy (SP). IEEE, 1897–1914.
[11] Nicholas Carlini, Florian Tramer, Eric Wallace, Matthew Jagielski, Ariel Herbert-Voss, Katherine Lee, Adam Roberts, Tom Brown, Dawn Song, Ulfar Erlingsson, et al. 2021. Extracting training data from large language models. In 30th USENIX security symposium (USENIX Security 21). 2633–2650.
[12] Min Chen, Zhikun Zhang, Tianhao Wang, Michael Backes, Mathias Humbert, and Yang Zhang. 2021. When machine unlearning jeopardizes privacy. In Proceedings of the 2021 ACM SIGSAC conference on computer and communications security. 896–911.
[13] Christopher A Choquette-Choo, Florian Tramer, Nicholas Carlini, and Nicolas Papernot. 2021. Label-only membership inference attacks. In International conference on machine learning. PMLR, 1964–1974.
[14] Luke N Darlow, Elliot J Crowley, Antreas Antoniou, and Amos J Storkey. 2018. Cinic-10 is not imagenet or cifar-10. arXiv preprint arXiv:1810.03505 (2018).
[15] Advit Deepak, Megan Mou, Jing Huang, and Diyi Yang. 2025. Identifying Unlearned Data in LLMs via Membership Inference Attacks. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing. 10884–10903.
[16] Behrouz Derakhshan, Alireza Rezaei Mahdiraji, Tilmann Rabl, and Volker Markl. 2019. Continuous Deployment of Machine Learning Pipelines.
[17] Jiacheng Du, Zhibo Wang, Jie Zhang, Xiaoyi Pang, Jiahui Hu, and Kui Ren. 2024. Textual unlearning gives a false sense of unlearning. arXiv preprint arXiv:2406.13348 (2024).
[18] Abhimanyu Dubey, Abhinav Jauhri, Abhinav Pandey, Abhishek Kadian, Ahmad Al-Dahle, Aiesha Letman, Akhil Mathur, Alan Schelten, Amy Yang, Angela Fan, et al. 2024. The llama 3 herd of models. arXiv e-prints (2024), arXiv–2407.
[19] Cynthia Dwork. 2006. Differential privacy. In International colloquium on automata, languages, and programming. Springer, 1–12.
[20] Alex Graves and Jürgen Schmidhuber. 2005. Frameworke phoneme classification with bidirectional LSTM networks. In Proceedings. 2005 IEEE International Joint Conference on Neural Networks, 2005, Vol. 4. IEEE, 2047–2052.
[21] Jamie Hayes, Ilya Shumailov, Eleni Triantafillou, Amr Khalifa, and Nicolas Papernot. 2024. Inexact unlearning needs more careful evaluations to avoid a false sense of privacy. arXiv preprint arXiv:2403.01218 (2024).
[22] Kaiming He, Xiangyu Zhang, Shaoqing Ren, and Jian Sun. 2016. Deep residual learning for image recognition. In Proceedings of the IEEE conference on computer vision and pattern recognition. 770–778.
[23] Sepp Hochreiter and Jürgen Schmidhuber. 1997. Long short-term memory. Neural computation 9, 8 (1997), 1735–1780.
[24] Andrew G Howard, Menglong Zhu, Bo Chen, Dmitry Kalenichenko, Weijun Wang, Tobias Weyand, Marco Andreetto, and Hartwig Adam. 2017. Mobilenets: Efficient convolutional neural networks for mobile vision applications. arXiv preprint arXiv:1704.04861 (2017).
[25] Benoit Jacob, Skirmantas Kligs, Bo Chen, Menglong Zhu, Matthew Tang, Andrew Howard, Hartwig Adam, and Dmitry Kalenichenko. 2018. Quantization and training of neural networks for efficient integer-arithmetic-only inference. In Proceedings of the IEEE conference on computer vision and pattern recognition. 2704–2713.
[26] Matthew Jagielski, Stanley Wu, Alina Oprea, Jonathan Ullman, and Roxana Geambasu. 2023. How to combine membership-inference attacks on multiple updated machine learning models. Proceedings on Privacy Enhancing Technologies (2023).
[27] Joel Jang, Dongkeun Yoon, Sohee Yang, Sungmin Cha, Moontae Lee, Lajamugen Logeswaran, and Minjoon Seo. 2023. Knowledge Unlearning for Mitigating Privacy Risks in Language Models. In 61st Annual Meeting of the Association for Computational Linguistics, ACL 2023. Association for Computational Linguistics (ACL), 14389–14408.
[28] Fred Jelinek, Robert L Mercer, Lalit R Bahl, and James K Baker. 1977. Perplexity—a measure of the difficulty of speech recognition tasks. The Journal of the Acoustical Society of America 62, S1 (1977), S63–S63.
[29] Yigitcan Kaya, Sanghyun Hong, and Tudor Dumitras. 2020. On the effectiveness of regularization against membership inference attacks. arXiv preprint arXiv:2006.05336 (2020).
[30] Christian Kleiber. 2017. Structural change in (economic) time series. In Complexity and synergetics. Springer, 275–286.
[31] Alex Krizhevsky, Geoffrey Hinton, et al. 2009. Learning multiple layers of features from tiny images. (2009).
[32] Meghdad Kurmanji, Peter Triantafillou, Jamie Hayes, and Eleni Triantafillou. 2023. Towards unbounded machine unlearning. Advances in neural information processing systems 36 (2023), 1957–1987.
[33] Yezri Liu, Hanning Chen, Wenjun Huang, Yang Ni, and Mohsen Imani. 2025. Lune: Efficient llm unlearning via lora fine-tuning with negative examples. arXiv preprint arXiv:2512.07375 (2025).
[34] Pratyush Maini, Zhili Feng, Avi Schwarzschild, Zachary C Lipton, and J Zico Kolter. 2024. Tofu: A task of fictitious unlearning for llms. arXiv preprint arXiv:2401.06121 (2024).
[35] Thomas Michel, Debabrata Basu, and Emilie Kaufmann. 2026. Sequential Membership Inference Attacks. arXiv preprint arXiv:2602.16596 (2026).
[36] Ilya Mironov. 2017. Rényi differential privacy. In 2017 IEEE 30th computer security foundations symposium (CSF). IEEE, 263–275.
[37] Nima Naderlou, Shenao Yan, Binghui Wang, Jie Fu, Wendy Hui Wang, Weiran Liu, and Yuan Hong. 2025. Rectifying Privacy and Efficacy Measurements in Machine Unlearning: A New Inference Attack Perspective. arXiv preprint arXiv:2506.13009 (2025).
[38] Yuval Netzer, Tao Wang, Adam Coates, Alessandro Bissacco, Baolin Wu, Andrew Y Ng, et al. 2011. Reading digits in natural images with unsupervised feature learning. In NIPS workshop on deep learning and unsupervised feature learning, Vol. 2011. Granada, 7.
[39] Thanh Tam Nguyen, Thanh Trung Huynh, Zhao Ren, Phi Le Nguyen, Alan Wee-Chung Liew, Hongzhi Yin, and Quoc Viet Hung Nguyen. 2022. A survey of
machine unlearning. arXiv preprint arXiv:2209.02299 (2022).
[40] Stuart L Pardau. 2018. The California consumer privacy act: Towards a European-style privacy regime in the United States. Journal of Technology Law & Policy 23 (2018), 68.
[41] German I Parisi, Ronald Kemker, Jose L Part, Christopher Kanan, and Stefan Wermter. 2019. Continuous lifelong learning with neural networks: A review. Neural networks 113 (2019), 54–71.
[42] Songtao Peng, Yiping Chen, Xincheng Shu, Wu Shuai, Shenhao Fang, Zhongyuan Ruan, and Qi Xuan. 2023. MAD-MulW: A multi-window anomaly detection framework for BGP security events. arXiv preprint arXiv:2312.11225 (2023).
[43] Alec Radford, Jeffrey Wu, Rewon Child, David Luan, Dario Amodei, Ilya Sutskever, et al. 2019. Language models are unsupervised multitask learners. OpenAI blog 1, 8 (2019), 9.
[44] Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J Liu. 2020. Exploring the limits of transfer learning with a unified text-to-text transformer. Journal of machine learning research 21, 140 (2020), 1–67.
[45] Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, and Percy Liang. 2016. Squad: 100,000+ questions for machine comprehension of text. arXiv preprint arXiv:1606.05250 (2016).
[46] Protection Regulation. 2018. General data protection regulation. Intouch 25 (2018), 1–5.
[47] Maria Rigaki and Sebastian Garcia. 2023. A survey of privacy attacks in machine learning. Comput. Surveys 56, 4 (2023), 1–34.
[48] Ahmed Salem, Agraat Bhattacharya, Michael Backes, Mario Fritz, and Yang Zhang. 2020. {Updates-Leak}: Data set inference and reconstruction attacks in online learning. In 29th USENIX security symposium (USENIX Security 20). 1291–1308.
[49] Ahmed Salem, Yang Zhang, Mathias Humbert, Pascal Berrang, Mario Fritz, and Michael Backes. 2018. MI-leaks: Model and data independent membership inference attacks and defenses on machine learning models. arXiv preprint arXiv:1806.01246 (2018).
[50] Sayed Rafay Bin Shah, Gavneet Singh Chadha, Andreas Schwung, and Steven X Ding. 2021. A sequence-to-sequence approach for remaining useful lifetime estimation using attention-augmented bidirectional LSTM. Intelligent Systems with Applications 10 (2021), 200049.
[51] Thanveer Shaik, Xiaohui Tao, Haoran Xie, Lin Li, Xiaofeng Zhu, and Qing Li. 2024. Exploring the landscape of machine unlearning: A comprehensive survey and taxonomy. IEEE Transactions on Neural Networks and Learning Systems (2024).
[52] Reza Shokri, Marco Stronati, Congzheng Song, and Vitaly Shmatikov. 2017. Membership inference attacks against machine learning models. In 2017 IEEE symposium on security and privacy (SP). IEEE, 3–18.
[53] Richard Socher, Alex Perelygin, Jean Wu, Jason Chuang, Christopher D Manning, Andrew Y Ng, and Christopher Potts. 2013. Recursive deep models for semantic compositionality over a sentiment treebank. In Proceedings of the 2013 conference on empirical methods in natural language processing. 1631–1642.
[54] Liwei Song and Prateek Mittal. 2021. Systematic evaluation of privacy risks of machine learning models. In 30th USENIX security symposium (USENIX security 21). 2615–2632.
[55] Shashi Thota, Subrahmanyasarma Chitta, V Alluri, V Vangoor, and Chetan Sasidhar Ravi. 2022. MLOps: Streamlining machine learning model deployment in production. African J. of Artificial Int. and Sust. Dev 2, 2 (2022), 186–206.
[56] Alex Wang, Amanpreet Singh, Julian Michael, Felix Hill, Omer Levy, and Samuel Bowman. 2018. GLUE: A multi-task benchmark and analysis platform for natural language understanding. In Proceedings of the 2018 EMNLP workshop BlackboxNLP: Analyzing and interpreting neural networks for NLP. 353–355.
[57] Jason Wei, Nguyen Karina, Hyung Won Chung, Yunxin Joo Jiao, Spencer Papay, Amelia Glaese, John Schulman, and William Fedus. 2024. Measuring short-form factuality in large language models. arXiv preprint arXiv:2411.04368 (2024).
[58] Xiaoyu Wu, Yifei Pang, Terrance Liu, and Steven Wu. 2025. Unlearned but Not Forgotten: Data Extraction after Exact Unlearning in LLM. In The Thirty-ninth Annual Conference on Neural Information Processing Systems.
[59] Samuel Yeom, Irene Giacomelli, Matt Fredrikson, and Somesh Jha. 2018. Privacy risk in machine learning: Analyzing the connection to overfitting. In 2018 IEEE 31st computer security foundations symposium (CSF). IEEE, 268–282.
[60] Yu Yin, Ke Chen, Lidan Shou, and Gang Chen. 2021. Defending privacy against more knowledgeable membership inference attackers. In Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery & Data Mining, 2026–2036.
[61] Santiago Zanella-Béguelin, Lukas Wutschitz, Shruti Tople, Victor Rühle, Andrew Paverd, Olga Ohrimenko, Boris Köpf, and Marc Brockschmidt. 2020. Analyzing information leakage of updates to natural language models. In Proceedings of the 2020 ACM SIGSAC conference on computer and communications security. 363–375.
[62] Ruiqi Zhang, Licong Lin, Yu Bai, and Song Mei. 2024. Negative preference optimization: From catastrophic collapse to effective unlearning. arXiv preprint arXiv:2404.05868 (2024).