acceptodds
Published as a conference paper at NeurIPS 2026

DART: Domain-Agnostic Residual Transfer for Generalist Anomaly Detection

Muhammad Aqeel, Maham Nazir, Marco Cristani, Francesco Setti

Abstract

Generalist Anomaly Detection (GAD) aims to detect anomalies in unseen domains using only a few reference samples. Recent normal-abnormal guided methods improve this setting by exploiting abnormal references, but their residuals often mix transferable anomaly cues with domain-specific appearance factors such as texture, geometry, and acquisition conditions. This residual domain entanglement limits cross-domain transfer and may produce spurious activations on novel domains. We propose DART, a plug-in framework for normal-abnormal guided GAD that learns to separate residuals into anomaly-relevant and domain-specific components. DART combines a Residual Disentanglement Module, which preserves anomaly-discriminative information while suppressing domain information, with Cross-Domain Meta-Training, which forms episodes across source domains to make the separation effective. The method is architecture-agnostic and can be inserted between residual computation and the detection head of existing GAD pipelines. Experiments on MVTec AD, VisA, and BraTS show consistent improvements over multiple base methods, with the largest gains under stronger domain shifts. Code will be available upon publication.

Keywords:
Paris

Reviews

Among:
Shape:
123456this paper, Bottom 4%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 3.67 over 3 reviews, above 4% of the others.
Reviewer_SH1VOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
4
Quality
3
Significance
3
Read review
Summary

This paper focuses on the Generalist Anomaly Detection under cross-domain transfer and the authors propose DART, a plug-in framework for Domain-Agnostic Residual Transfer. DART has two main components: a Residual Disentanglement Module that separates anomaly-relevant and domain-specific residuals, and Cross-Domain Meta-Training that builds episodes across source domains. Extensive experiments on MVTec AD, VisA, and BraTS show improved image-level detection and competitive localization performance, especially under strong domain shifts.

Strengths and weaknesses

Strengths

  1. Clear problem motivation: In normal-abnormal guided GAD, residuals may contain both anomaly cues and domain-specific appearance factors. This makes the focused GAD problem different from standard domain adaptation and gives the paper a clear research target.
  2. Reasonable and modular framework: DART is designed as a plug-in module placed between residual computation and the detection head. This is an intuitive design choice because it allows the method to be applied to different residual-based GAD pipelines. The Residual Disentanglement Module is also intuitive: the anomaly branch is trained to preserve anomaly information, remove domain information, and avoid collapse through reconstruction. The Cross-Domain Meta-Training strategy further supports this goal by making domain-specific cues less reliable during training.
  3. Extensive experimental results: The experiments cover three benchmarks, including MVTec AD, VisA, and BraTS.

Weakness

Main:

  1. The central claim should be further justified: The paper argues that residual domain entanglement is the main bottleneck and that DART separates anomaly-relevant residuals from domain-specific residuals. However, much of the evidence is indirect, mainly based on downstream detection gains and t-SNE visualization. It would be stronger to provide more direct quantitative evidence that domain information is reduced while anomaly information is preserved. I completely understand that this is an intuitive design, and a design-relevant empirical study may be challenging, so a more interpretable discussion is also acceptable.
  2. Sensitivity analysis over Loss weights is needed: The authors give the default Loss weights, while the Sensitivity analysis is necessary. Once the Loss weights change, the information captured by the anomaly encoder and domain encoder would be influenced.

Minor:

  1. Some typos should be corrected: For example, the label “)domain class)” in Figure 2 appears to contain a typo and should be revised.
Questions
  1. How are abnormal references selected during evaluation?

The paper uses the (A^1) setting, but it is not fully clear whether this means one abnormal reference for the whole target category, or one abnormal reference for each anomaly type. According to the protocol inherited from NAGL, the abnormal reference seems to be selected according to the query defect type. This is a strong assumption, because in real anomaly detection, the defect type of a query is usually unknown before detection. Could the authors clarify how abnormal references are selected in the main experiments? It would also be helpful to report results under a more realistic setting where the abnormal reference is randomly selected from the target category and is not matched to the query defect type.

  1. Can the authors clarify the query-reference-target sampling protocol?

The cross-domain setting is the most challenging and important part of this paper, but the current description is somewhat hard to follow. Appendix Table 5 gives examples of ((D_i, D_j, D_k)), where one domain provides references, another provides queries, and the target domain is held out for inference. However, the main paper does not clearly explain how query domains, reference domains, and target domains are sampled in the main experiments. Could the authors provide a clear protocol table or diagram in the main paper? In particular, please clarify when the query and reference come from the same domain, when they come from different domains, and how the target-domain references are selected at inference.

Limitations

Have been discussed by authors in App. A.7

Paper formatting concerns

n/a

Final justification

The authors’ rebuttal resolved most of my concerns, and I now consider the method technically solid. The additional clarification and experiments on reference selection were particularly helpful. However, the current version still appears sensitive to how normal references are selected, which may limit its generalization to truly novel anomaly types. I therefore raised my score to 4, while leaving the AC to weigh this remaining concern against the work’s clear potential for broader extensions.

Reviewer_6CWeOpenReview ↗
Rating
3
Clarity
3
Confidence
3
Originality
2
Quality
2
Significance
3
Read review
Summary

The manuscript proposes domain agnostic residual transfer, a plug-in framework designed to address the residual domain entanglement problem in normal-abnormal guided generalist anomaly detection framework. The authors argue that existing methods in the area mix transferable anomaly cues with domain specific appearance factors, which hinders cross-domain performance. To resolve this, their framework utilizes a residual disentanglement module combined with cross domain meta training to separate anomaly-relevant features from domain-specific features.

Strengths and weaknesses

Strengths:

S1. The paper identifies residual domain entanglement as a significant limiting factor in cross-domain anomaly detection, framing the problem intuitively.

S2. DART is designed as an architecture agnostic modular plug-in that operates seamlessly between residual computation and the detection head.

S3. The manuscript is fairly well presented and the evaluation on the cross-domain transfer is particularly compelling.

Weaknesses:

W1. The methodological core of the residual disentanglement module relies on standard domain adaptation techniques, specifically Gradient Reversal Layers (GRL) and reconstruction. The underlying disentanglement paradigm is incremental relative to existing literature.

W2. The framework relies on having at least one abnormal reference sample at test time, which restricts its applicability in strict zero-shot or where obtaining a labeled abnormal reference for a completely unseen target domain is often impractical.

W3. The empirical results presented in Table 1 reveal only minor improvements in a lot of cases, and in some instances, slight degradations when DART is integrated with a baseline method. This raises concerns regarding the necessity of the additional DART module, particularly given the computational overhead introduced by conducting meta-training of the transformer block on top of a pre-trained model.

Questions

Q1. The motivation behind training the domain encoder and decoder lacks sufficient clarity. Although rdr_d is designed to absorb complementary information, there is no theoretical or empirical guarantee that it isolates domain-specific factors without retaining anomaly-relevant features. Consequently, the term "disentanglement" may be a strong claim for the achieved representation.

Q2. How sensitive is the framework's overall performance to the loss weighting hyperparameters λadv\lambda_{adv} and λrecon\lambda_{recon}?

Q3. What happens if the host method is trained (or fine-tuned) directly using the CDMT strategy, bypassing the DART plug-in entirely?

Q4. The authors should better discuss the practical utility of DART in light of its computational trade-offs. According to Table 4, the module introduces up to 20.1M additional parameters and requires approximately 1 GPU-hour of training. Given the marginal empirical gains on some datasets as shown in Table 1, the necessity of this training overhead for a plug-in module remains concerning.

Minor Comments:

Q5. The formal task definition is somewhat unclear. Is the primary objective a binary anomaly detection (differentiating normal from anomalous samples) or fine-grained defect classification (as shown by the distinct defect clusters in Figure 1b)? Where do the normal samples project in Figure 1?

Q6. The definition of residue/ residual signal is not well-clear in the Introduction. Is the number of defects (anomalies) fixed and static in both source and target domains?

Limitations

The authors acknowledge that DART strictly requires at least one abnormal reference sample at test time, which may not be feasible in true zero-shot scenarios.

Paper formatting concerns

No concerns.

Reviewer_9QU6OpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
2
Quality
3
Significance
3
Read review
Summary

This paper addresses the problem of generalist anomaly detection, where the goal is to localize anomalies in a query image from an unseen domain given only a limited number of reference examples. Prior work has developed methods to extract residual anomaly descriptors by comparing the query sample with reference data, using either only normal samples or both normal and anomalous examples in the reference support set. However, the training process for learning such descriptors typically relies on a source domain that differs from the target domain observed at inference time. As a result, the learned descriptor may retain domain-specific information that negatively affects generalization. To address this issue, the proposed approach leverages well-established domain adaptation techniques, combining them to isolate a domain-invariant residual descriptor and improve performance.

Strengths and weaknesses

Strengths

  • The paper is well written and generally easy to follow. The figures are effective and help the reader understand the main components of the method.
  • The proposed approach is computationally efficient, introducing only a limited number of additional parameters while adding negligible inference overhead.
  • The experimental results and ablation studies consistently demonstrate the benefit of the proposed method over competing approaches.

Weaknesses

  • The technical solution mainly combines well-known domain adaptation techniques. While the intuition behind adapting these techniques to generalist anomaly detection is interesting, the degree of technical novelty appears limited.
  • The experimental results show relatively small gains over the current sota method (NAGL). Although these improvements are consistent across different source-target domain settings, their magnitude remains modest. It would be useful to provide more insights into the cases where DARTS leads to performance degradation. From Table 6 in the supplementary material, such degradation appears relatively frequent for pixel-level metrics.
  • The experimental setting is not entirely clear. The paper describes training episodes involving reference and query samples "from different source domains". However, the experiments appear to focus on settings with one source domain and one target domain. Since the target domain is only observed at test time and is not involved during training, this suggests that training effectively occurs on a single source domain. This point should be clarified.
  • The explanation in Section 3.1 helps convey the high-level intuition of the method, but it does not map cleanly to the actual implementation. Prior domain adaptation literature has proposed information-maximization strategies that encourage individually confident yet globally diverse target predictions, but this does not seem to correspond directly to what is implemented here. Moreover, after the high-level definition of transformation TT, this notation does not seem to be used again in the paper (not even in the schematic figure), which weakens the conceptual consistency of the presentation.

The authors may also benefit from discussing the recent work “Hunting Normality from Query Sample via Residual Learning for Generalist Anomaly Detection” (accepted at CVPR 2026). While this paper was likely still under review when the present submission was written, it would nevertheless be valuable to clarify how the proposed method differs from and relates to that work.

Questions

Please address the listed weaknesses.

Limitations

Yes - the limitations are discussed in Appendix A.7

Paper formatting concerns

None

Final justification

I thank the authors for the answers. I believe the paper presents some interesting contributions. For the work to be sufficiently clear and self-contained, the key additional information and discussions provided during the rebuttal phase should be incorporated into the manuscript. Overall, I keep my original rating.

Comments on the paper

1 comment
Meta-review

Summary:

  • The paper addresses anomaly detection, where anomalies must be detected in unseen domains using only a few reference samples. The authors observe that in normal-abnormal guided methods, residuals mix transferable anomaly cues with domain-specific appearance factors such as texture, geometry, and acquisition conditions, which harms cross-domain transfer. They propose DART, an architecture-agnostic plug-in inserted between residual computation and the detection head. It combines a Residual Disentanglement Module, which separates anomaly-relevant from domain-specific residuals, with Cross-Domain Meta-Training, which builds episodes across source domains. Experiments on MVTec AD, VisA, and BraTS show consistent gains over multiple base methods, with the largest improvements under stronger domain shifts.

Strengths:

  • The reviewers agree the paper tackles a clear, well-motivated problem in cross-domain anomaly detection.
  • The proposed framework is intuitive, computationally efficient and architecture-agnostic.
  • The experiments demonstrates that the proposed method has an advantage over existing methods although there are extra computation overheads.

Weaknesses:

  • The reviewers find that the paper has limited technical novelty, as the approach heavily relies on well-known domain adaptation techniques.
  • The empirical performance gain also seems marginal over the state-of-the-art baselines.
  • Writing is overall clear but some parts have missing details.

Suggestions for rebuttal:

  • Methodological novelty of the paper beyond the combination of well-known approaches can be better explained.
  • Please address the reviewers' detailed questions on experimental settings, sampling protocols, and abnormal reference selection.
  • Please provide direct quantitative evidence that DART successfully disentangles domain-specific factors from anomaly-related features in addition to qualitative results such as t-SNE.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.