What Drives the Inlier-Memorization Effect? A Theory of Outlier Detection via Early Training Dynamics
Anonymous authors
ICLR 2027
Abstract. Outlier detection (OD) aims to identify anomalous instances by learning the underlying structure of normal data (inliers), and is particularly challenging in fully unsupervised settings where no information about anomalies is available during training. Recent advances have leveraged the inlier-memorization (IM) effect, a phenomenon in which deep models memorize inlier patterns earlier than those of outliers, as a powerful signal for distinguishing outliers. However, despite its empirical success, the theoretical understanding of the IM effect remains limited. In this work, we present a theoretical study of the IM effect. Focusing on a simple autoencoder with a fixed decoder and an encoder trained by full-batch gradient descent, we show that, under suitable regularity conditions, the IM effect emerges over a range of training iterations. Our results characterize when such an interval exists and which outliers can be separated from inliers throughout the interval. Further, we characterize how data distribution and weight initialization affect the strength and persistence of the IM effect, and provide empirical support for these theoretical predictions through simulation studies. Guided by these insights, we study compact representations and EMA-based initialization as two practical strategies for enhancing the IM effect. Experiments on real-world data further evaluate their individual and combined effects on the performance of IM-based outlier detection methods.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
ICLR 2027
Under review · 3 reviews · OpenReview
Updated 25 Nov 2026, 10:35 UTC.
- Rating
- 3/4(+1)
- Confidence
- 2/4
- Soundness
- 2/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
The paper investigates the inlier-memorization (IM) effect in unsupervised outlier detection: a model may learn shared inlier structure before fitting outlier-specific deviations. It studies a bias-free, single-hidden-layer autoencoder with a fixed decoder and an encoder optimized by full-batch gradient descent. The core argument compares actual training with a reference trajectory using nearest-cluster-center inputs. Theorem 3.1 establishes, under explicit regularity and interval conditions, a nonempty interval of cluster-consistent reconstructions; Theorem 3.2 and Corollary 3.3 then give sufficient geometric conditions under which an outlier has larger reconstruction error than every inlier. Simulations examine cluster compactness, cluster imbalance, contamination and initialization. Motivated by these results, the authors test pretrained compact representations and an EMA warm-up on ODIM and ALTBI, reporting modest average improvements on ADBench datasets.
Strengths
-
A well-targeted theoretical question. Unlike prior IM-based detectors emphasizing exploitation or stopping of early training, the submission directly asks when cluster-consistent reconstruction and provable inlier/outlier loss separation can occur. The explicit connection between the center-tracking bound Bν(t), separation threshold 2Bν(t)+εc, and a certified training interval is an intelligible conceptual contribution (Sec. 3; Appendix A.3.2).
-
A reasonably broad attempt to test qualitative predictions. The paper studies four controlled factors and checks both an idealized fixed-decoder regime and more practical joint-training dynamics (Sec. 4.1; Appendix B.3). It also reports individual/combined EMA and representation changes across two established methods and a large benchmark collection, rather than evaluating only a new bespoke detector (Sec. 4.2; Tables B.3–B.9).
Weaknesses
1.Clarify the feasibility and practical significance of the theoretical sufficient conditions. Theorem 3.1 requires a positive margin (c > 0), the interval condition in Eq. (A.24), and uniform Jacobian regularity under Assumption A.2. While these conditions are mathematically meaningful, their feasibility in representative experimental settings remains unclear. The authors are encouraged to provide an illustrative example with estimates of the relevant theoretical quantities and compare the predicted interval with observed training dynamics. A clearer discussion of the restrictiveness of these assumptions would help establish the practical significance of the theoretical guarantees.
2.Strengthen the connection between the theoretical analysis and the proposed practical strategies. The theoretical analysis considers a fixed-decoder autoencoder trained with full-batch gradient descent, whereas the practical experiments involve more general training settings. Although the authors provide supporting simulations, the connection between the theoretical quantities and the proposed representation and EMA strategies could be more explicit. Reporting how these strategies affect representative measures of cluster compactness and initialization quality on selected datasets would help substantiate their theoretical motivation.
3.Further examine performance variability and cases of degradation. The proposed strategies yield modest average improvements but exhibit considerable variability across datasets. For instance, the AUROC of ODIM on shuttle decreases from 0.982 to 0.709 after applying the combined modifications (Table B.6). Moreover, the average AUPRC of ODIM decreases from 0.334 to 0.322 (Table B.7). A brief analysis of such cases, together with a summary of dataset-level improvements and degradations and their variability across random seeds, would help clarify the reliability and applicability of the proposed strategies.
4.Further assess the robustness of the geometric diagnostic analysis. The geometric diagnostic (\sigma) in Section 4.2 provides an interesting empirical connection to Corollary 3.3. However, it is a post-hoc measure based on estimated cluster statistics rather than a direct verification of the theoretical separation condition. Given that the correlation analysis involves only eleven datasets, a simple robustness check, such as a rank-based correlation or leave-one-dataset-out analysis, would help strengthen the interpretation of the reported relationship.
5.Clarify the construction and robustness of TabPFN representations in the unsupervised setting. Appendix B.1 describes extracting TabPFN representations by treating the first feature column as a supervised target, or the second column when the first has negligible variance. Although this procedure does not directly use anomaly labels, the rationale for selecting an arbitrary feature as the prediction target remains unclear. The authors should clarify how this choice affects representation quality and, if feasible, examine whether the detection performance is sensitive to the selection of the target feature.
Questions for the authors
Q1. Could the authors provide an illustrative example showing how the sufficient conditions of Theorem 3.1 relate to the empirically observed IM interval?
Q2. Which theory-relevant quantities remain most informative when extending the analysis from fixed-decoder training to practical joint-training settings?
Q3. Does EMA warm-up measurably improve the initial cluster-center reconstruction quality? How does it compare with a non-EMA warm-up under a similar computational budget?
Q4. Could the authors discuss the substantial performance degradation of ODIM on shuttle and clarify the dataset characteristics under which the proposed strategies may be less effective?
Q5. Section 4.1 and Appendix B.2 appear to use different definitions of the empirical IM window. Could the authors clarify which definition was used to generate the reported results?
6 comments
Response to Reviewer XH38 (2/4)
W2: Strengthen the connection between the theoretical analysis and the proposed practical strategies. The theoretical analysis considers a fixed-decoder autoencoder trained with full-batch gradient descent, whereas the practical experiments involve more general training settings. Although the authors provide supporting simulations, the connection between the theoretical quantities and the proposed representation and EMA strategies could be more explicit. Reporting how these strategies affect representative measures of cluster compactness and initialization quality on selected datasets would help substantiate their theoretical motivation.
Response
Thank you for this valuable suggestion.
-
EMA versus ordinary warm-up. In the simulation (), both methods reduced the mean initial cluster-center reconstruction error from to similar values after updates, with for ordinary warm-up and a slightly lower for EMA. Since the true centers are unknown in the eleven real-world datasets, we compare AUROC and AUPRC using the same TabPFN representations and identical warm-up updates.
Dataset ALTBI standard ALTBI EMA ODIM standard ODIM EMA ALOI 0.542 / 0.036 0.542 / 0.037 0.534 / 0.042 0.532 / 0.041 annthyroid 0.601 / 0.091 0.597 / 0.090 0.539 / 0.084 0.518 / 0.079 campaign 0.601 / 0.173 0.599 / 0.175 0.577 / 0.188 0.568 / 0.183 landsat 0.515 / 0.220 0.510 / 0.211 0.553 / 0.223 0.580 / 0.236 magic.gamma 0.650 / 0.530 0.648 / 0.527 0.639 / 0.539 0.636 / 0.532 mammography 0.764 / 0.054 0.757 / 0.053 0.747 / 0.052 0.718 / 0.052 PageBlocks 0.841 / 0.348 0.853 / 0.343 0.864 / 0.392 0.902 / 0.425 shuttle 0.928 / 0.355 0.928 / 0.425 0.890 / 0.246 0.901 / 0.300 SpamBase 0.628 / 0.537 0.627 / 0.536 0.614 / 0.521 0.611 / 0.526 Wilt 0.391 / 0.040 0.391 / 0.040 0.394 / 0.040 0.394 / 0.040 yeast 0.510 / 0.344 0.512 / 0.346 0.509 / 0.345 0.509 / 0.346 Mean difference (EMA − standard) -0.0004 / +0.0051 +0.0008 / +0.0079 With EMA, mean AUROC changed little, while mean AUPRC increased modestly ( for ALTBI and for ODIM). ODIM’s two largest AUPRC gains occurred on PageBlocks and shuttle, which also had the highest values after TabPFN ( and , respectively). We conjecture that EMA may help preserve inlier-cluster structure during warm-up, making outliers that lie relatively far from those centers easier to detect.
-
Effect of the TabPFN representation. For the eleven datasets, we applied the procedure of Section 4.2 to the raw input and the TabPFN representation of the same samples, and computed and the relative inlier spread .
Dataset before TabPFN after TabPFN (after − before) : before → after ALOI 0.224 0.313 +0.088 7.14 → 1.22 annthyroid 0.491 0.360 -0.131 6.87 → 1.01 campaign 0.577 0.327 -0.250 2.01 → 0.98 landsat 0.485 0.273 -0.212 2.81 → 1.10 magic.gamma 0.703 0.325 -0.378 4.94 → 1.42 mammography 0.586 0.278 -0.308 5.45 → 1.13 PageBlocks 1.125 0.651 -0.473 6.00 → 1.78 shuttle 3.729 0.547 -3.181 1.71 → 1.10 SpamBase 0.322 0.018 -0.304 8.16 → 1.05 Wilt 0.257 0.505 +0.248 5.94 → 1.10 yeast 0.254 0.361 +0.107 1.43 → 1.17 TabPFN makes the inlier clusters more compact on all eleven datasets (mean relative spread ) and reduces on average (). We have added both comparisons to Appendix B.4.
Response to Reviewer XH38 (3/4)
W3: Further examine performance variability and cases of degradation. The proposed strategies yield modest average improvements but exhibit considerable variability across datasets. For instance, the AUROC of ODIM on shuttle decreases from 0.982 to 0.709 after applying the combined modifications (Table B.6). Moreover, the average AUPRC of ODIM decreases from 0.334 to 0.322 (Table B.7). A brief analysis of such cases, together with a summary of dataset-level improvements and degradations and their variability across random seeds, would help clarify the reliability and applicability of the proposed strategies.
Response
Thank you for the suggestion.
-
Dataset-level differences over the 57 datasets. Using the full-precision means over three seeds underlying Tables B.6–B.7, we computed the dataset-level AUROC difference (modified − original), also without shuttle.
Method / metric Datasets Mean difference Increase / tie / decrease ALTBI / AUROC 57 +0.0091 32 / 2 / 23 ODIM / AUROC 57 +0.0056 32 / 0 / 25 ALTBI / AUROC 56 (without shuttle) +0.0092 31 / 2 / 23 ODIM / AUROC 56 (without shuttle) +0.0106 32 / 0 / 24 Both methods improve the mean AUROC, and improve it on of the datasets. Without shuttle, the mean AUROC gain of ODIM nearly doubles (), so much of the variability comes from the single large drop on shuttle.
- In addition, the variation across seeds is small. Rerunning ODIM on the raw input with three data seeds, the AUROC varies by at most on shuttle and campaign and by on SpamBase, which is small compared with the differences between datasets.
- For reference, ODIM's stopping rule is a heuristic and can select an unsuitable iteration. ODIM stops with a patience rule and reports the scores of the single check at which the separation between two Gaussian components fitted to the mini-batch losses is largest. This criterion is heuristic and fairly sensitive to the loss trajectory, so it occasionally stops outside the period in which the outliers are well separated. Changing the representation changes this trajectory, which we believe causes the drop on shuttle.
- In contrast, ALTBI averages the scores over iterations and is less sensitive to this choice. As discussed in Remark 3.1, neither the optimal stopping iteration nor is known in practice, and averaging the reconstruction errors over training iterations retains the separation obtained within while reducing the dependence on a single stopping iteration. This is why, with the same TabPFN representation, ODIM drops to while ALTBI keeps AUROC (Table B.6).
- Moreover, shuttle is already well separated. Shuttle has the largest in Table B.3 (), so a new representation has little room to improve detection. We have added this discussion to Appendix B.4.
W4: Further assess the robustness of the geometric diagnostic analysis. The geometric diagnostic (\sigma) in Section 4.2 provides an interesting empirical connection to Corollary 3.3. However, it is a post-hoc measure based on estimated cluster statistics rather than a direct verification of the theoretical separation condition. Given that the correlation analysis involves only eleven datasets, a simple robustness check, such as a rank-based correlation or leave-one-dataset-out analysis, would help strengthen the interpretation of the reported relationship.
Response
Thank you for the suggestion.
-
We computed the Spearman correlation and Kendall's between and the AUROC change on the eleven datasets, and repeated each after leaving out one dataset at a time.
Analysis ODIM ALTBI Spearman (p) -0.809 (0.003) -0.882 (0.00033) Kendall (p) -0.673 (0.003) -0.782 (0.00033) Leave-one-out Spearman [-0.891, -0.745] [-0.964, -0.842] Leave-one-out Kendall [-0.778, -0.600] [-0.911, -0.733] Both rank correlations are significantly negative, and they remain negative after leaving out any single dataset, including shuttle. That is, the relation between and the gain does not depend on a particular dataset. We have added these results to Appendix B.4.
- Rating
- 2/4
- Confidence
- 3/4
- Soundness
- 2/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
The paper studies an autoencoder with a fixed decoder and an encoder trained by full-batch gradient descent. It establishes a training interval during which reconstructions remain close to cluster centers, yielding reconstruction-error separation for sufficiently distant outliers. The authors examine the effects of data geometry and initialization, then evaluate pretrained representations and EMA-based initialization in ODIM and ALTBI.
Strengths
S1. The comparison between reference and actual training trajectories provides a substantive theoretical result: sufficient conditions for a nonempty interval and outlier separation within it.
S2. The main simulations use a fixed decoder and full-batch gradient descent, matching the theoretical setting. The four-way ablation on eleven tabular datasets also helps distinguish the performance contributions of EMA and pretrained representations.
Weaknesses
W1. The theoretical guarantee lacks a quantitative connection to the observed IM window. The nonempty interval depends on conditions including Eq. A.24, but the experiments neither verify these conditions nor evaluate (B_\nu(t)) against the observed reconstruction-to-center distances. The simulations support several qualitative trends, but leave unclear whether the tested settings satisfy the theorem’s assumptions and whether its bounds are informative. The relationship between the certified interval and the empirical IM window defined by an AUROC threshold remains untested.
W2. The practical improvements do not establish the proposed mechanism. The four-way ablation measures each component’s effect on detection performance, but does not directly show that EMA extends the IM window by reducing the initial cluster-center reconstruction error. A matched-budget warm-up without parameter averaging is missing, leaving the effects of additional training and averaging unresolved. Likewise, the correlation between data geometry and performance gains does not establish that pretrained representations improve detection through the mechanism described by the theory.
W3. The robustness of the overall gains remains unclear. Average AUROC improves across the 57 datasets, but average AUPRC increases only from 0.350 to 0.352 for ALTBI and decreases from 0.334 to 0.322 for ODIM. On shuttle, ODIM’s AUPRC drops from 0.944 to 0.302 (Table B.7). The main benchmark results report means over three seeds without paired uncertainty estimates. The substantial regressions also require an account of when these modifications fail.
The center-tracking analysis is the strongest part of the paper. My main reservation is that the experiments do not yet connect the theoretical conditions, observed training dynamics, and detection gains. The empirical gains are also mixed, with limited evidence on their robustness. I therefore lean toward weak rejection. Quantitative validation of the theoretical interval and controls that isolate the effect of EMA would materially affect my assessment.
Questions for the authors
Q1. Can you verify the interval conditions in one synthetic setting, evaluate (B_\nu(t)), and jointly show the certified interval, observed center-tracking error, and empirical IM window?
Q2. With input representations and training budget held fixed, does EMA still improve over ordinary warm-up? Do the initial reconstruction error and IM duration change as hypothesized?
Q3. Can you report paired confidence intervals for the performance differences and investigate the large regression on shuttle?
6 comments
Response to Reviewer JSri (1/3)
We thank the reviewer for the helpful comments and suggestions. We address the concerns point-by-point as below.
W1. The theoretical guarantee lacks a quantitative connection to the observed IM window. The nonempty interval depends on conditions including Eq. A.24, but the experiments neither verify these conditions nor evaluate (B_\nu(t)) against the observed reconstruction-to-center distances. The simulations support several qualitative trends, but leave unclear whether the tested settings satisfy the theorem’s assumptions and whether its bounds are informative. The relationship between the certified interval and the empirical IM window defined by an AUROC threshold remains untested.
Response
Thank you for this important suggestion.
-
The constants in are defined over a whole neighborhood of the initialization and cannot be computed exactly, so we approximated on the original simulation data by measuring its three terms directly.
-
Setting. We used the original Figure 2 data with (, , ) and one of its original initializations, fixed the decoder, and trained the encoder by full-batch gradient descent with learning rate for updates.
-
approximation. In Eq. (A.19) (Appendix A.3.2), is the sum of three terms: the input-replacement error, the gap between the actual and reference trajectories, and the reference reconstruction error. We measured each term directly during training and summed them, i.e., we obtained an upper bound on the distance between each reconstruction and its center. Taking this bound over or of the samples gives the approximated .
-
Result. The table reports the intervals in which , together with the observed distance and the AUROC over each interval.
Fraction of samples Empirical bound range Observed distance quantile Updates with Length (% of 600,000 updates) AUROC 80% 0.08808–0.10809 0.06465–0.08892 250,000–600,000 350,000 (58.3%) 0.971–0.974 90% 0.10089–0.10712 0.07490–0.08674 290,000–600,000 310,000 (51.7%) 0.972–0.974 The approximated bound stays below for more than half of training ( updates, , for of the samples), and the AUROC stays high (–) throughout this interval. That is, as the theory states, the IM effect appears while the reconstructions stay close to their centers. We have added these results to Appendix A.4.
-
To complement these empirical results and demonstrate that the sufficient conditions can hold jointly, we constructed a separate synthetic example: two tight Gaussian clusters in , each with inliers, with center separation , and one outlier near each center. We used a fixed-decoder autoencoder with and full-batch gradient descent. Bounding the Jacobian quantities over the prescribed neighborhood gives , , and . All conditions of Theorem 3.1 hold, with margin and Eq. (A.24) satisfied (), yielding the certified center-tracking interval . Throughout this interval, the observed maximum center-tracking error stays below , while . This example demonstrates the feasibility of the sufficient conditions, complementing the empirical analysis on the original simulation data. Details are provided in Appendix A.4.
Response to Reviewer JSri (2/3)
W2. The practical improvements do not establish the proposed mechanism. The four-way ablation measures each component’s effect on detection performance, but does not directly show that EMA extends the IM window by reducing the initial cluster-center reconstruction error. A matched-budget warm-up without parameter averaging is missing, leaving the effects of additional training and averaging unresolved. Likewise, the correlation between data geometry and performance gains does not establish that pretrained representations improve detection through the mechanism described by the theory.
Response
Thank you for this valuable suggestion.
-
EMA versus warm-up without EMA. On the TabPFN representations of the eleven datasets, we compared the EMA warm-up with a warm-up that takes exactly the same updates but keeps the last weights (AUROC / AUPRC).
Dataset ALTBI standard ALTBI EMA ODIM standard ODIM EMA ALOI 0.542 / 0.036 0.542 / 0.037 0.534 / 0.042 0.532 / 0.041 annthyroid 0.601 / 0.091 0.597 / 0.090 0.539 / 0.084 0.518 / 0.079 campaign 0.601 / 0.173 0.599 / 0.175 0.577 / 0.188 0.568 / 0.183 landsat 0.515 / 0.220 0.510 / 0.211 0.553 / 0.223 0.580 / 0.236 magic.gamma 0.650 / 0.530 0.648 / 0.527 0.639 / 0.539 0.636 / 0.532 mammography 0.764 / 0.054 0.757 / 0.053 0.747 / 0.052 0.718 / 0.052 PageBlocks 0.841 / 0.348 0.853 / 0.343 0.864 / 0.392 0.902 / 0.425 shuttle 0.928 / 0.355 0.928 / 0.425 0.890 / 0.246 0.901 / 0.300 SpamBase 0.628 / 0.537 0.627 / 0.536 0.614 / 0.521 0.611 / 0.526 Wilt 0.391 / 0.040 0.391 / 0.040 0.394 / 0.040 0.394 / 0.040 yeast 0.510 / 0.344 0.512 / 0.346 0.509 / 0.345 0.509 / 0.346 Mean difference (EMA − standard) -0.0004 / +0.0051 +0.0008 / +0.0079 On average, EMA warm-up produces little change in AUROC, with somewhat larger numerical gains in AUPRC ( for ALTBI and for ODIM). Notable gains occur on PageBlocks and shuttle, which also have the two largest values after TabPFN ( and , respectively). We conjecture that greater relative separation of outliers from inlier-cluster centers may make EMA warm-up more effective, although this relationship remains to be verified.
-
Effect of the TabPFN representation. For the eleven datasets, we applied the procedure of Section 4.2 to the raw input and the TabPFN representation of the same samples, and computed and the relative inlier spread .
Dataset before TabPFN after TabPFN (after − before) : before → after ALOI 0.224 0.313 +0.088 7.14 → 1.22 annthyroid 0.491 0.360 -0.131 6.87 → 1.01 campaign 0.577 0.327 -0.250 2.01 → 0.98 landsat 0.485 0.273 -0.212 2.81 → 1.10 magic.gamma 0.703 0.325 -0.378 4.94 → 1.42 mammography 0.586 0.278 -0.308 5.45 → 1.13 PageBlocks 1.125 0.651 -0.473 6.00 → 1.78 shuttle 3.729 0.547 -3.181 1.71 → 1.10 SpamBase 0.322 0.018 -0.304 8.16 → 1.05 Wilt 0.257 0.505 +0.248 5.94 → 1.10 yeast 0.254 0.361 +0.107 1.43 → 1.17 TabPFN makes the inlier clusters more compact on all eleven datasets (mean relative spread ) and reduces on average (). We have added both comparisons to Appendix B.4.
Response to Reviewer JSri (3/3)
W3. The robustness of the overall gains remains unclear. Average AUROC improves across the 57 datasets, but average AUPRC increases only from 0.350 to 0.352 for ALTBI and decreases from 0.334 to 0.322 for ODIM. On shuttle, ODIM’s AUPRC drops from 0.944 to 0.302 (Table B.7). The main benchmark results report means over three seeds without paired uncertainty estimates. The substantial regressions also require an account of when these modifications fail. The center-tracking analysis is the strongest part of the paper. My main reservation is that the experiments do not yet connect the theoretical conditions, observed training dynamics, and detection gains. The empirical gains are also mixed, with limited evidence on their robustness. I therefore lean toward weak rejection. Quantitative validation of the theoretical interval and controls that isolate the effect of EMA would materially affect my assessment.
Response
Thank you for the suggestion.
-
Dataset-level differences over the 57 datasets. Using the full-precision means over three seeds underlying Tables B.6–B.7, we computed the dataset-level AUROC difference (modified − original), also without shuttle.
Method / metric Datasets Mean difference Increase / tie / decrease ALTBI / AUROC 57 +0.0091 32 / 2 / 23 ODIM / AUROC 57 +0.0056 32 / 0 / 25 ALTBI / AUROC 56 (without shuttle) +0.0092 31 / 2 / 23 ODIM / AUROC 56 (without shuttle) +0.0106 32 / 0 / 24 Both methods improve the mean AUROC, and improve it on of the datasets. Without shuttle, the mean AUROC gain of ODIM nearly doubles (), so much of the variability comes from the single large drop on shuttle.
- For reference, ODIM's stopping rule is a heuristic and can select an unsuitable iteration. ODIM stops with a patience rule and reports the scores of the single check at which the separation between two Gaussian components fitted to the mini-batch losses is largest. This criterion is heuristic and fairly sensitive to the loss trajectory, so it occasionally stops outside the period in which the outliers are well separated. Changing the representation changes this trajectory, which we believe causes the drop on shuttle.
- In contrast, ALTBI averages the scores over iterations and is less sensitive to this choice. As discussed in Remark 3.1, neither the optimal stopping iteration nor is known in practice, and averaging the reconstruction errors over training iterations retains the separation obtained within while reducing the dependence on a single stopping iteration. This is why, with the same TabPFN representation, ODIM drops to while ALTBI keeps AUROC (Table B.6).
- Moreover, shuttle is already well separated. Shuttle has the largest in Table B.3 (), so a new representation has little room to improve detection. We have added this discussion to Appendix B.4.
Q1. Can you verify the interval conditions in one synthetic setting, evaluate , and jointly show the certified interval, observed center-tracking error, and empirical IM window?
Response
- Please see our response to W1.
Q2. With input representations and training budget held fixed, does EMA still improve over ordinary warm-up? Do the initial reconstruction error and IM duration change as hypothesized?
Response
- Please see our response to W2.
Q3. Can you report paired confidence intervals for the performance differences and investigate the large regression on shuttle?
Response
- Please see our response to W3.
- Rating
- 3/4(+1)
- Confidence
- 3/4
- Soundness
- 2/3
- Presentation
- 2/3
- Informativeness
- 2/3
Read review
Summary
This paper analyzes why reconstruction-based unsupervised anomaly detectors may fit inliers before outliers. Its formal model is a bias-free, one-hidden-layer autoencoder with a fixed decoder and an encoder trained by full-batch gradient descent. The authors compare actual training with a reference problem that replaces each input by its assigned cluster center but retains the original observation as the reconstruction target. In the reference dynamics, cluster-shared residuals contract while within-cluster deviations are not fitted in the same way. A trajectory-stability argument then yields a conditional interval during which every reconstruction stays near its assigned center. A separate geometric requirement is needed to guarantee that a given outlier's reconstruction error exceeds every inlier's. The bounds suggest effects of cluster compactness, size balance, contamination, and initialization. The experiments vary these factors in two-dimensional simulations, repeat qualitative tests under joint training with mini-batch Adam, and study EMA warm-up and TabPFN representations in ODIM and ALTBI on ADBench. The real-data results include component analyses and AUROC/AUPRC results over 57 datasets.
Strengths
- The paper identifies a concrete training-dynamics mechanism rather than merely restating that inliers are learned first. Its reference problem gives samples in the same cluster a shared center as input while retaining their individual observations as reconstruction targets. This separates cluster-shared residuals, which contract along the reference trajectory, from sample-specific residuals, which are not fitted in the same way. A trajectory-stability argument then connects the reference behavior to training on the observed inputs. The analysis explains why a model may temporarily reconstruct common cluster structure without yet fitting an outlier’s individual deviation.
- The paper carefully separates cluster-consistent reconstruction from actual anomaly-score separation. Theorem 3.1 establishes a conditional interval in which reconstructions remain close to their assigned centers. Since that property alone does not imply successful detection, Theorem 3.2 adds an outlier-distance condition before concluding that a qualifying outlier has a larger reconstruction error than every inlier; Corollary 3.3 supplies a condition valid throughout the interval. This layered result makes clear which outliers are covered and when, avoiding the common but unjustified leap from center tracking to universal anomaly detection.
Weaknesses
- The central theoretical assumption has an underexplained architectural restriction. Assumption A.2(i) requires the cluster-center Jacobian to have a nonzero response in every output direction. Because the decoder is fixed, however, every encoder-induced output change lies in the decoder’s column space. The assumption therefore requires the decoder to have full row rank and the hidden width to be at least the input dimension, in addition to the stated requirement that it be at least the number of clusters. A fixed-decoder bottleneck autoencoder cannot satisfy the premise. This does not invalidate the conditional results, but it makes the claimed mildness and practical reach of their assumptions less convincing, particularly when the real-data models fall outside the formal setup.
- The experiments do not show whether the theorem’s separation guarantee is non-vacuous in the tested regimes. Theorem 3.2 concerns a qualifying outlier whose reconstruction error exceeds that of every inlier during a certified interval. The simulations instead identify an empirical window using AUROC above 0.9. A high AUROC neither establishes that the theorem’s sufficient conditions hold nor reveals how many outliers receive its pointwise guarantee. The paper does not report, even for its controlled synthetic data, the interval certified by its own bound or the fraction of outliers satisfying the separation condition. Consequently, the observed trends may be consistent with the theory without demonstrating that the proved mechanism actually accounts for them. This gap is consequential because the paper’s explanatory contribution depends on connecting its formal result to the phenomenon it measures.
Questions for the authors
- Under its assumptions, Theorem 3.1 guarantees a contiguous training interval in which every reconstruction stays within a distance of half the minimum inter-center separation from its assigned center. In the controlled simulations of Figures 2–4, how long are the observed intervals satisfying this all-sample condition as within-cluster variation, cluster imbalance, and outlier rate change?
- Theorem 3.2 gives strict error separation for qualifying outliers, while Section 4.1 identifies empirical IM windows using AUROC of at least 0.9. How does the proportion of outliers whose reconstruction error exceeds the maximum inlier error evolve during those windows?
- Table 1 suggests a negative association between initial cluster-centered reconstruction error and IM-window length across three random initializations. With the data and decoder held fixed, does this association persist on average across a larger set of encoder initializations?
- Figure 5 shows that adding TabPFN after EMA substantially reduces ODIM’s AUROC on shuttle, while ALTBI remains stable. What explains the different responses of the two methods to the same representation?
5 comments
Response to Reviewer N4XM (1/2)
We thank the reviewer for the helpful comments and suggestions. We address the concerns point-by-point as below.
W1: Assumption A.2(i) implicitly requires a full-row-rank fixed decoder and hidden width at least the input dimension, excluding bottleneck autoencoders. Please clarify these restrictions and their practical implications.
Response
Thank you for the careful reading.
- The rank and width requirements are already implied by Assumption A.2(i), and we have stated them explicitly. With the decoder fixed, every encoder-induced output change lies in the column space of , so Assumption A.2(i) requires , i.e., . We have stated this together with the existing condition in Remark A.3, and revised Remark A.2 accordingly.
- Our simulations satisfy this assumption. The simulations use , , and ( in the imbalance experiment), so . The fixed decoder at initialization has full row rank (eigenvalues of : and ), and the cluster-center Jacobian keeps full row rank throughout training, with smallest singular value – over the runs of Figure 2.
- We fix the decoder to simplify the analysis. A decoder change , with held fixed, changes each center output by . If are linearly independent, these changes span all center-output directions without requiring . Extending our proof would require this ability to remain well-conditioned throughout the neighborhood considered, so that no output direction becomes insensitive to parameter changes. We would also need training on actual inputs to stay close to reference training on center inputs as both and evolve. Indeed, the joint-training experiments in Appendix B.3 also exhibit the IM effect and qualitatively similar trends for the four factors in the settings studied, supporting the relevance of our theoretical insights beyond fixed-decoder training.
W2: High AUROC does not verify Theorem 3.2's sufficient conditions or pointwise separation guarantee. Please report the certified interval and the fraction of outliers satisfying the separation condition.
Response
Thank you for this important point.
-
Following your suggestion, we reran the simulations of Figures 2–4 and directly measured the outlier errors of Theorem 3.2. For each setting, we computed the interval in which at least of outliers exceed the th percentile of inlier errors, and, within the AUROC window, the median fraction of outliers exceeding the maximum inlier error. The last column is the overlap between the two intervals, relative to the AUROC window (in iterations).
Setting AUROC window length Observed separation interval length Outliers above every inlier (median fraction) Overlap / AUROC window 9,030 8,830 0.92 97.8% 5,870 5,350 0.72 91.1% 3,660 2,410 0.34 65.8% 11,670 12,300 0.80 100.0% 9,260 10,720 0.89 100.0% 9,240 7,170 0.81 77.6% 6,930 6,470 0.82 93.3% 4,220 4,040 0.82 95.6% 2,795 2,830 0.80 100.0% The results shows that, the observed separation interval largely overlaps with the AUROC window (–) and gives the same message as Section 4.1. That is, the interval is longer for tighter, more balanced, and less contaminated clusters. The fraction of outliers above every inlier is also larger for tighter clusters (, , ). We have added these new results to Appendix A.4.
Response to Reviewer N4XM (2/2)
Q1: Under its assumptions, Theorem 3.1 guarantees a contiguous training interval in which every reconstruction stays within a distance of half the minimum inter-center separation from its assigned center. In the controlled simulations of Figures 2–4, how long are the observed intervals satisfying this all-sample condition as within-cluster variation, cluster imbalance, and outlier rate change?
Response
-
In the simulation settings of the paper (Figures 2–4), we trained for iterations, measured every iterations the fraction of all samples (inliers and outliers) whose reconstruction lies within of the assigned center, and report the interval in which this fraction is at least or .
Setting At least 80% within At least 90% within 180–40,000 210–40,000 220–2,850 None None None 470–40,000 710–40,000 480–40,000 820–40,000 390–40,000 870–40,000 200–40,000 280–1,140 200–3,740 None 220–640 None As Section 4.1 shows, tighter clusters and lower outlier rates give longer intervals, and in the balance experiment the interval begins earlier for more balanced clusters (, , and iterations, respectively). We have added these intervals to Appendix A.4.
Q2: Theorem 3.2 gives strict error separation for qualifying outliers, while Section 4.1 identifies empirical IM windows using AUROC of at least 0.9. How does the proportion of outliers whose reconstruction error exceeds the maximum inlier error evolve during those windows?
Response
- Please see our response to W2.
Q3: Table 1 suggests a negative association between initial cluster-centered reconstruction error and IM-window length across three random initializations. With the data and decoder held fixed, does this association persist on average across a larger set of encoder initializations?
Response
Thank you for the suggestion.
-
Section 3.3 suggests earlier reference-dynamics entry for smaller , motivating our analysis of its association with the empirical IM-window onset. We fixed the data and decoder of Table 1 (, , full-batch gradient descent), additionally drew encoder initializations, and repeated the same analysis. Five of them are shown below.
Example Onset IM-window length 1 17.4 40 4,710 2 17.8 50 4,350 3 30.2 90 4,200 4 33.1 100 3,480 5 40.6 130 3,300 A smaller is associated with an earlier onset of the IM window across the tested initializations. Over the initializations, the Spearman correlation between and is (). In addition, the IM window also becomes longer. We have added the scatter plot of against to Appendix A.4.
Q4: Figure 5 shows that adding TabPFN after EMA substantially reduces ODIM’s AUROC on shuttle, while ALTBI remains stable. What explains the different responses of the two methods to the same representation?
Response
-
ODIM selects a checkpoint for scoring using a heuristic based on the separation of two Gaussian components fitted to minibatch losses. Changing the representation can alter this criterion’s trajectory and may lead to a less suitable checkpoint.
-
ALTBI averages scores across iterations, potentially reducing sensitivity to checkpoint selection. As discussed in Remark 3.1, averaging preserves separation when positive margins within the IM interval outweigh adverse contributions outside it. This difference may contribute to the contrasting AUROC results on shuttle: for ODIM and for ALTBI (Table B.6).
-
Shuttle also offers limited room for improvement: ODIM already achieves AUROC on the original inputs, and shuttle has the largest in Table B.3 (). We have added this discussion to Appendix B.4.
[Reminder: discussion period ends soon]
Dear reviewer N4XM,
Thank you again for your review. We understand that you are very busy, but as the discussion period ends soon, we would appreciate if you could take a look at our response. We hope and believe that it has addressed your concerns, and we would be grateful to know whether any other concerns remain.
Thanks, Authors
Comments on the paper
1 comment
[General Response]
To reviewers: We sincerely thank all reviewers for their careful reading and constructive comments. Following the review comments, we clarify the concerns and bridge the gap between our theory and numerical studies. Please also find our point-by-point responses below.
Summary of Changes
- Remarks A.2–A.3. The decoder rank and width requirements and the role of the fixed decoder.
- Appendix A.4. The observed separation intervals, the reconstruction-to-center intervals, the approximation of on the simulation data, and the initialization analysis.
- Appendix B.4. The comparison of warm-ups with and without EMA on TabPFN, the geometry before and after TabPFN, the dataset-level differences on the benchmark, the rank correlations of , and the discussion of shuttle.
- Appendices B.1 and B.4. The rationale and sensitivity of the TabPFN target.
- Section 4.1. The IM-window definition aligned with Appendix B.2.
- Remark 3.2. The quantities that remain relevant under joint training.
All changes are highlighted in blue in the revised manuscript.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Response to Reviewer XH38 (1/4)
We thank the reviewer for the helpful comments and suggestions. We address the concerns point-by-point as below.
Response
Thank you for this important suggestion.
The constants in Bν(t) are defined over a whole neighborhood of the initialization and cannot be computed exactly, so we approximated Bν(t) on the original simulation data by measuring its three terms directly.
Setting. We used the original Figure 2 data with εc=1.0 (n=2,000, K=3, p=2) and one of its original initializations, fixed the decoder, and trained the encoder by full-batch gradient descent with learning rate 10−4 for 600,000 updates.
Bν(t) approximation. In Eq. (A.19) (Appendix A.3.2), Bν(t) is the sum of three terms: the input-replacement error, the gap between the actual and reference trajectories, and the reference reconstruction error. We measured each term directly during training and summed them, i.e., we obtained an upper bound on the distance between each reconstruction and its center. Taking this bound over 80% or 90% of the samples gives the approximated Bν(t).
Result. The table reports the intervals in which Bν(t)<δ/2=0.1092, together with the observed distance and the AUROC over each interval.
The approximated bound stays below δ/2 for more than half of training (310,000 updates, 51.7%, for 90% of the samples), and the AUROC stays high (0.972–0.974) throughout this interval. That is, as the theory states, the IM effect appears while the reconstructions stay close to their centers.
To directly illustrate the feasibility of the sufficient conditions, we also considered a separate synthetic setting with two tight Gaussian clusters in R3, each containing 5,000 inliers, with center separation δ=0.99 and one outlier near each center. We trained a fixed-decoder autoencoder with H=64 using full-batch gradient descent. Bounds valid throughout the prescribed neighborhood give αc=6.997, βc=7.001, and Lc=0.351. All conditions of Theorem 3.1 are satisfied: the margin is c=0.482>0, and Eq. (A.24) holds (81.8<959.9), producing the certified center-tracking interval [32,53]. Over this interval, the theoretical bound is Bν(t)∈[0.024,0.040], while the observed maximum center-tracking error remains below 9.4×10−5. Full details are provided in Appendix A.4.