potentialpaper

DART: Domain-Agnostic Residual Transfer for Generalist Anomaly Detection

Muhammad Aqeel, Maham Nazir, Marco Cristani, Francesco Setti

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

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. https://github.com/aqeeelmirza/DART

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 paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:45 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
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.
Final justification

After the rebuttal, the reviewers' concerns such as the missing details on the experiments, quantitative evidence of disentanglement beyond t-SNE, and the sensitivity of DART to loss weights, have been satisfactorily addressed. While there are remaining concerns from the reviewers regarding the novelty of the method and the modest empirical gains, there are clear strengths of the paper which were further reinforced after the rebuttal. Considering both, I recommend accept for this paper.

Area Chair h4hu · Meta-reviewOpenReview ↗
Read meta-review
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.
Final justification

After the rebuttal, the reviewers' concerns such as the missing details on the experiments, quantitative evidence of disentanglement beyond t-SNE, and the sensitivity of DART to loss weights, have been satisfactorily addressed. While there are remaining concerns from the reviewers regarding the novelty of the method and the modest empirical gains, there are clear strengths of the paper which were further reinforced after the rebuttal. Considering both, I recommend accept for this paper.

Reviewer SH1VOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
4/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
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

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.

Formatting concerns

n/a

6 comments
Authors · CommentOpenReview ↗

1/2

Thank you for your valuable feedback. We appreciate the opportunity to clarify some points.

W1. Direct quantitative evidence of disentanglement. We appreciate this suggestion. Beyond the t-SNE visualization, the paper already provides quantitative evidence for both parts of our claim. Domain information is measured independently of the detector through the domain silhouette score, which decreases from 0.246 to 0.192 with DART, while the same module applied in backbone feature space increases it to 0.611 and reduces performance (−0.54 I-AUROC). In contrast, residual-space disentanglement both reduces domain separability and improves detection (+1.15 I-AUROC; Fig. 3, Table 3f). Anomaly information is preserved by the frozen host detector: it receives only r_a so lost anomaly cues cannot be recovered through adaptation. Consistently, L_suf, which enforces this property, is the most critical component; its removal causes the largest drop (−2.64 I-AUROC; Table 3e). We agree that this evidence should be presented more prominently and will move Fig. 3 into the main paper, explicitly relating these analyses to our central claim.

W2: Loss-weight sensitivity. We evaluated the sensitivity of DART to both loss weights. Performance is largely insensitive around the default values (λ_adv=0.1, λ_recon=0.5): among all the combinations of λ_adv=[0.05,0.1,0.15,0.2] and λ_recon=[0.40,0.45,0.5,0.55,0.6,0.65], I-AUROC varies by less than 1%. In contrast, setting either weight to zero removes the corresponding objective from Eq. (8) and leads to a larger degradation: λ_adv=0 yields 95.57 I-AUROC and λ_recon=0 yields 95.48, compared to 96.21 with the default settings (Table 3e). An even stronger effect is observed when the sufficiency constraint is removed (adversarial-only, Table 2c), which drops performance to 93.61, below the unmodified host (95.06). Overall, which objectives are active is considerably more important than the precise weighting of the auxiliary losses.

On the concern that the loss weights change what the two encoders capture: λ_adv and λ_recon control the trade-off between domain suppression and reconstruction, while the always-active, unweighted sufficiency loss L_suf constrains r_a to remain anomaly-discriminative. Empirically, performance is largely insensitive to λ_adv and λ_recon(≤0.8 I-AUROC drop even when either is set to zero), whereas removing L_suf causes the largest degradation (−2.64 I-AUROC). This indicates that the active constraints matter far more than the precise weighting of the auxiliary losses. Moreover, the same setting (λ_adv=0.1, λ_recon=0.5) is used for all hosts and datasets, with no per-host or per-dataset tuning (App. A.1). We will include the hyperparameter sweep in the appendix.

Minor: Fig. 2 typo. We will correct ")domain class)" and re-proof all figure labels.

Q1: Abnormal-reference selection. In the A¹ protocol, each query is paired with one abnormal reference image (K_2=1), following NAGL experimental protocol [11]. The selection depends on the dataset annotation. On MVTec AD, where defect types are annotated, the abnormal reference is sampled from the same defect type as the query. In VisA, where defect types are not annotated, the sampled item is randomly drawn from the target category, so it is generally not matched to the query. We agree that defect-type matching is a strong assumption for practical deployment.

To address this concern, we evaluated the more realistic protocol suggested by the reviewer on MVTec AD, selecting the abnormal reference uniformly at random from the target category. The performance of both NAGL and NAGL+DART changes by at most 0.01 I-AUROC across all shot settings, with the same conclusion for pixel-level metrics. Thus, the relative improvement of DART is unaffected by defect-type matching. We will clarify the selection protocol in Sec. 4 and report results for both evaluation protocols.

Authors · CommentOpenReview ↗

2/2

Q2: Query, reference, and target sampling. Our experimental protocol follows the standard setup of NAGL [11] and related work. The complete protocol is specified in the supplementary material (Appendix A.1, line 749–763; Appendix A.2). We think the ambiguity stems from these details not being summarized in the main paper.

In CDMT, a domain denotes an object category rather than a dataset. Accordingly, the source pool contains 15 categories when MVTec AD is the source and 12 when VisA is the source, while the evaluation dataset is held out entirely. Each episode draws its reference set from a source category D_i and its query from a category D_j; after a same-domain warm-up, the probability that D_j ≠ D_i rises linearly to 0.3. At inference, both the query and all reference images come from the same held-out target category, again following prior work. The abnormal reference consists of a single image (A¹, (K_2=1)), sampled by the query’s defect type when annotations are available (MVTec AD) and by category otherwise (VisA).

We will add these experimental details in Section 4 to make the protocol explicit in the main paper.

Reviewer SH1V · CommentOpenReview ↗

The author addresses some of my comcerns. However, there are remaining points that have not been addressed. For example, W1 suggests authors provide more direct evidence or at least discussion, while they primarily highlight the results from the original paper during the rebuttal, which is not enough. Overall, I keep my original score.

Reviewer 6CWeOpenReview ↗
Rating
3/6
Confidence
3/5
Quality
2/4
Clarity
3/4
Significance
3/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
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.

Formatting concerns

No concerns.

5 comments
Authors · CommentOpenReview ↗

1/3

Thank you for your valuable feedback. We appreciate the opportunity to clarify some points.

W1: Technical novelty. Residual-based GAD implicitly assumes that residual computation suppresses domain-specific information. This assumption is reasonable for query–normal residuals, but does not hold once an abnormal reference is introduced: in this case, the residual inherits both anomaly cues and the appearance of the abnormal reference. As a result, the residual space remains domain-dependent (domain silhouette 0.246), with residuals clustering by object category rather than defect type (Figs. 1a, 4a). This is also reflected empirically: naively introducing abnormal references degrades ResAD by 3.0% I-AUROC on MVTec AD and 6.5% on VisA (N¹, Table 6), indicating that abnormal references alone are insufficient unless their domain-specific content is disentangled.

Where disentanglement is applied is also essential. Applying the same module in backbone feature space (DART-F) increases domain separation (0.246→0.611) and reduces performance by 0.54% I-AUROC, whereas applying it in residual space reduces domain separation (0.246→0.192) and improves performance by 1.15% I-AUROC (Table 3f, Fig. 3; MVTec AD, InCTRL, k=2). This suggests that domain information is intrinsic to pretrained backbone features but only incidental in residual representations, making residual-space disentanglement tractable.

Finally, DART differs from standard adversarial domain adaptation in two important aspects. First, the adversarial signal is defined by the reference domain, not the query domain, because the residual is anchored on the abnormal reference while the host detector remains frozen. Second, adversarial training is coupled with cross-domain meta-training: without cross-domain episodes there is no supervision encouraging removal of reference-specific appearance. Table 2d isolates these effects: RDM alone improves performance by only +0.48% I-AUROC, while CDMT alone yields no improvement; only their combination produces the full gain. These design choices arise from the structure of normal-abnormal residuals and are not direct adaptations of existing adversarial learning methods.

We agree that these distinctions could be emphasized more clearly and will revise the Introduction accordingly.

W2: Reliance on one abnormal reference. We agree that DART is not designed for the normal-only or strict zero-shot setting. Instead, it follows the increasingly adopted normal-abnormal guided GAD protocol introduced by NAGL [11], in which inference is conditioned on a small support set comprising normal references and a single abnormal reference (A^1, K_2=1). Our contribution is to improve cross-domain transfer within this setting, rather than to relax its assumptions. We will move this limitation from Appendix A.7 to the main paper.

We also note that the required supervision is modest: only one abnormal reference image per unseen target domain, rather than a labeled anomaly dataset. This assumption is realistic in many industrial inspection scenarios, where a representative defective sample is often available from historical failures, quality-control archives, or intentional collection during commissioning, while large annotated anomaly datasets remain impractical.

W3: Magnitude of gains and necessity of additional module. The observed gains scale with domain shift, which is precisely the paper’s claim. On MVTec AD, where both source and target are industrial and NAGL already achieves 95-97% I-AUROC, DART improves performance by +0.39%, +0.01%, and +0.26% at N¹, N², and N⁴, respectively. On VisA, where the MVTec-trained model faces a substantially larger domain gap, the same plug-in yields gains of +1.42%, +1.82%, and +0.99%. Relative to the remaining error, these correspond to 9% to 15% error reductions across both datasets. When the host model has greater headroom under a larger shift, the effect is substantially larger: InCTRL improves by +13.28% I-AUROC on BraTS at N¹ (65.20%→78.48%; Table 2a). As for the computational load introduced by DART, please see the response to Q4 below.

Authors · CommentOpenReview ↗

2/3

Q1: Motivation for E_d and G, and the scope of “disentanglement”. We agree that “disentanglement” should not be interpreted as a guarantee that r_d contains only domain-specific information. Indeed, this is not the paper's claim. The role of E_d and G is to provide a reconstruction path: E_d produces the complementary representation r_d, G reconstructs the original residual from [r_a;r_d ], and L_recon enforces completeness rather than purity. Information may move from r_a to r_d, but it cannot simply be discarded, preventing the trivial solution where r_a fools the domain classifier by carrying less information overall. L_suf closes the complementary shortcut by requiring r_a alone to remain sufficient for anomaly detection; empirically, it is the strongest constraint, with a 2.64 I-AUROC drop when removed, compared to 0.73 for L_recon (Table 3e).

Importantly, r_d, G, and the domain classifier are discarded at inference, so anomaly information remaining in r_d does not affect test-time predictions. The relevant property is therefore that r_a remains sufficient for detection while carrying less domain information than the original residual. We support this empirically through both the L_suf ablation and the reduction in domain separability (silhouette 0.246→0.192; Fig. 3). We will revise Sec. 3.2 to narrow the wording accordingly, explicitly presenting L_adv as a surrogate for reducing domain information rather than a guarantee of perfect disentanglement, and replacing statements that describe L_recon as preventing collapse with the more precise notion of enforcing completeness.

Q2. Sensitivity to λ_adv and λ_recon. We evaluated the sensitivity of DART to both loss weights. Performance is largely insensitive around the default values (λ_adv=0.1, λ_recon=0.5): among all the combinations of λ_adv=[0.05,0.1,0.15,0.2] and λ_recon=[0.40,0.45,0.5,0.55,0.6,0.65], I-AUROC varies by less than 1%. In contrast, setting either weight to zero removes the corresponding objective from Eq. (8) and leads to a larger degradation: λ_adv=0 yields 95.57 I-AUROC and λ_recon=0 yields 95.48, compared to 96.21 with the default settings (Table 3e). An even stronger effect is observed when the sufficiency constraint is removed (adversarial-only, Table 2c), which drops performance to 93.61, below the unmodified host (95.06). Overall, which objectives are active is considerably more important than the precise weighting of the auxiliary losses. We also emphasize that the same hyperparameters are used for all hosts and datasets, with no per-host or per-dataset tuning (App. A.1).

Q3: Host trained directly with CDMT. This experiment is already reported in Table 2d. With RDM removed, applying CDMT yields identical performance to the vanilla host (95.06 I-AUROC on MVTec AD and 87.96 on VisA; Δ=0.00 in both cases). This is expected because CDMT is only an episode sampling strategy: it introduces no trainable parameters, and with the host frozen and RDM absent, there is nothing to optimize. The gains appear only when CDMT is coupled with RDM, improving over same-domain training from +0.48 to +1.15 I-AUROC on MVTec AD and from +0.21 to +0.68 on VisA. Fine-tuning the host under CDMT would answer a different question: whether cross-domain episodic training improves the host architecture itself. DART instead isolates the effect of residual disentanglement by keeping the backbone, residual operator, and detection head fixed. This isolation is intentional: it ensures that all observed improvements are attributable to the proposed residual transformation rather than changes to the underlying GAD model.

Q4: Parameter and training overhead. The numbers reported in Table 4 correspond to the training-time model. At inference, only the anomaly encoder E_a is retained; the domain encoder, reconstruction decoder, and domain classifier are training-only components and are discarded after learning the residual decomposition. Consequently, the inference overhead is substantially smaller than the reported training footprint (e.g., 0.82M/3.1M parameters for InCTRL, 0.89M/4.2M for NAGL, and 9.06M/20.1M for ResAD).

Even during training, the additional parameters represent a modest overhead relative to the host networks (117.5M, 24.4M, and 59.2M parameters for InCTRL, NAGL, and ResAD, respectively), and are well within the scale routinely handled by current GPU hardware. Moreover, this cost is incurred only once: the host remains frozen, and the learned module transfers directly to unseen target domains without any further optimization or retraining of the host. The original training cost of the host is therefore never re-incurred. We will revise Table 4 to explicitly distinguish training-time and inference-time parameter counts.

Authors · CommentOpenReview ↗

3/3

Q5. Task definition and Fig. 1. The task is binary anomaly detection and localization; supervision consists only of image-level anomaly labels and pixel-level masks. Defect type is never used for training or prediction. In Fig. 1, defect type is introduced only for visualization, to color residual embeddings after training and illustrate their organization. The resulting clustering is therefore an analysis of the learned representation, not a model output. Normal samples are not shown in Fig. 1 because it visualizes abnormal-anchored residuals; they are included in the token-level visualization of Fig. 4 (Appendix A.9), where colors indicate normal versus anomalous tokens. We will clarify both points in the caption of Fig. 1.

Q6: Residual definition and defect set. Eq. (1) defines the residual generically as r=R(f^q;F_n;F_a ), where Ris the residual operator of the host method. For InCTRL, R computes query-normal discrepancy maps; for ResAD, residual feature distributions; and for NAGL, residuals involving both normal and abnormal references. We follow the NAGL protocol. In particular, the abnormal reference contributes via an abnormal-anchored residual stream (Eq. 3 in [11]), in which each abnormal patch is compared to its nearest normal reference patch. This residual inherits the appearance of the abnormal reference and is precisely the representation DART disentangles. We agree that this concrete instantiation should be stated earlier and will introduce it in the Introduction.

DART does not assume a fixed or shared set of anomaly types across domains. The learning objective is binary anomaly detection, not defect classification, so no correspondence between source and target defect categories is required. This is reflected in our evaluation, where the benchmarks have different annotation granularities (MVTec AD: 73 defect types; VisA: category-level anomaly labels; BraTS: a single anomaly type), and the target dataset is always held out during training. The most extreme case, MVTec AD → BraTS, transfers from industrial defects to brain tumors, demonstrating that DART does not rely on a shared defect vocabulary.

Reviewer 9QU6OpenReview ↗
Rating
4/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
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

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.

Formatting concerns

None

2 comments
Authors · CommentOpenReview ↗

1/2

Thank you for your valuable feedback. We appreciate the opportunity to clarify some points.

W1: Technical novelty. Residual-based GAD implicitly assumes that residual computation suppresses domain-specific information. This assumption is reasonable for query–normal residuals, but does not hold once an abnormal reference is introduced: in this case, the residual inherits both anomaly cues and the appearance of the abnormal reference. As a result, the residual space remains domain-dependent (domain silhouette 0.246), with residuals clustering by object category rather than defect type (Figs. 1a, 4a). This is also reflected empirically: naively introducing abnormal references degrades ResAD by 3.0% I-AUROC on MVTec AD and 6.5% on VisA (N¹, Table 6), indicating that abnormal references alone are insufficient unless their domain-specific content is disentangled.

Where disentanglement is applied is also essential. Applying the same module in backbone feature space (DART-F) increases domain separation (0.246→0.611) and reduces performance by 0.54% I-AUROC, whereas applying it in residual space reduces domain separation (0.246→0.192) and improves performance by 1.15% I-AUROC (Table 3f, Fig. 3; MVTec AD, InCTRL, k=2). This suggests that domain information is intrinsic to pretrained backbone features but only incidental in residual representations, making residual-space disentanglement tractable.

Finally, DART differs from standard adversarial domain adaptation in two important aspects. First, the adversarial signal is defined by the reference domain, not the query domain, because the residual is anchored on the abnormal reference while the host detector remains frozen. Second, adversarial training is coupled with cross-domain meta-training: without cross-domain episodes there is no supervision encouraging removal of reference-specific appearance. Table 2d isolates these effects: RDM alone improves performance by only +0.48% I-AUROC, while CDMT alone yields no improvement; only their combination produces the full gain. These design choices arise from the structure of normal-abnormal residuals and are not direct adaptations of existing adversarial learning methods.

We agree that these distinctions could be emphasized more clearly and will revise the Introduction accordingly.

W2: Gain magnitude and pixel-level degradations. The observed gains scale with domain shift, which is precisely the paper’s claim. On MVTec AD, where both source and target are industrial and NAGL already achieves 95-97% I-AUROC, DART improves performance by +0.39%, +0.01%, and +0.26% at N¹, N², and N⁴, respectively. On VisA, where the MVTec-trained model faces a substantially larger domain gap, the same plug-in yields gains of +1.42%, +1.82%, and +0.99%. Relative to the remaining error, these correspond to 9% to 15% error reductions across both datasets. When the host model has greater headroom under a larger shift, the effect is substantially larger: InCTRL improves by +13.28% I-AUROC on BraTS at N¹ (65.20%→78.48%; Table 2a).

Pixel-level localization is not an optimization target of our method. Training is driven entirely by image-level anomaly detection, with no pixel-level supervision or localization loss. Accordingly, the observed degradations are confined to the threshold-dependent pixel F1-max. In Table 6, P-AUROC decreases by at most 0.3 and PRO by at most 0.8, whereas pixel F1-max drops by up to 5.0 (ResAD, VisA, N²). This behavior is expected: F1-max is evaluated at a single threshold and is therefore sensitive to score calibration. LayerNorm in (E_a) renormalizes the residual, changing the absolute scale of the anomaly map without altering its ordering, which explains why the rank-based metrics (P-AUROC and PRO) remain essentially unchanged. Qualitative results further show that the lower scores are primarily due to a slight overestimation of the defects’ area, so thresholding produces larger predicted regions rather than poorer anomaly localization.

We will add this explanation alongside Table 6.

Authors · CommentOpenReview ↗

2/2

W3: Experimental protocol. Our experimental protocol follows the standard setup of NAGL [11] and related work. The complete protocol is specified in the supplementary material (Appendix A.1, line 749–763; Appendix A.2). We think the ambiguity stems from these details not being summarized in the main paper.

In CDMT, a domain denotes an object category rather than a dataset. Accordingly, the source pool contains 15 categories when MVTec AD is the source and 12 when VisA is the source, while the evaluation dataset is held out entirely. Each episode draws its reference set from a source category D_iand its query from a category D_j; after a same-domain warm-up, the probability that D_j≠D_i rises linearly to 0.3. At inference, both the query and all reference images come from the same held-out target category, again following prior work. The abnormal reference consists of a single image (A¹, (K_2=1)), sampled by the query's defect type when annotations are available (MVTec AD) and by category otherwise (VisA).

We will add these experimental details in Section 4 to make the protocol explicit in the main paper.

W4: Sec. 3.1 and the notation T. We apologize for the confusion arising from our notation. The transformation in Eq. (2) is precisely the anomaly encoder, i.e., T=E_a, with r_a=E_a (r) being the representation used at inference. Although Fig. 2 labels E_a as "Transformation T(r)," the text never states this identity, making the notation appear unused. We will explicitly define T=E_a after Eq. (2), use this notation consistently throughout Sec. 3.2, and make the correspondence clearer in Fig. 2.

Eq. (2) is intended as a design objective, not an optimization objective. It motivates the training losses rather than being optimized directly. Unlike information-maximization methods such as SHOT [Liang et al., ICML 2020], which rely on confident and diverse predictions over unlabeled target data, DART never accesses target-domain samples during training. Instead, Eq. (2) follows the domain-invariance framework [12,13]: L_suf is the surrogate for maximizing anomaly information I(T;(r)Y), L_adv minimizes domain information through gradient reversal, and L_recon prevents degenerate information removal. We will revise Sec. 3.1 to make this correspondence explicit and cite SHOT to clearly distinguish our formulation.

Liang, J., Hu, D., Feng, J. “Do we really need to access the source data? Source hypothesis transfer for unsupervised domain adaptation.” ICML 2020.

W5: Relation to “Hunting Normality from Query Sample” (CVPR 2026). We thank the reviewer for pointing out this related work and will include a discussion in the revised paper. HNQ addresses the normal-only GAD setting, where residuals are computed between the query and normal references, and argues that their magnitude is unreliable; it therefore leaves residual space and reconstructs normality proxies for detection. In contrast, DART targets the normal-abnormal setting, where residuals are anchored on abnormal references and become entangled with the reference's domain appearance. Our contribution is to show that the content of these residuals, not their magnitude, is unreliable, and to disentangle domain-specific appearance from transferable anomaly cues while retaining residual-space detection. The two perspectives are complementary. In fact, HNQ assumes that residual subtraction produces a class-invariant representation, whereas our analysis shows that this assumption no longer holds once abnormal references are introduced. We will add this comparison to the Related Work.

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

Missing a submission?

Loading the discussion…