In-batch Relational Features Enhance Precision in An Unsupervised Medical Anomaly Detection Task
P. Bilha Githinji, Xi Yuan, Ijaz Gul, Lian Zhang, Jinhao Xu, Zhenglin Chen, Peiwu Qin, Dongmei Yu · 2026
Read In-batch Relational Features Enhance Precision in An Unsupervised Medical Anomaly Detection Task by P. Bilha Githinji, Xi Yuan, Ijaz Gul, Lian Zhang, Jinhao Xu, Zhenglin Chen, Peiwu Qin, Dongmei Yu (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2603-05534.txt.
Introduction
Githinji and team tackle false positives in unsupervised medical-image anomaly detection, where pathology mixes with normal range. They augment the latent form of a convolutional autoencoder with matches to a normal cohort, via hypergraph estimation within batches and a shared-weights graph convolution layer. This forms a group-aware embedding. On brain-tumor 2D MRI scans, the method improves the split between healthy and pathological samples. It reaches 0.90 AUC-ROC with a 16% gain in average precision, lowering false alarm rates. Larger mini-batch context improves finding and sorting alike.
Catalog record
| CREATOR | P. Bilha Githinji, Xi Yuan, Ijaz Gul, Lian Zhang, Jinhao Xu, Zhenglin Chen, Peiwu Qin, Dongmei Yu |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 28790 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2603.05534
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
In-batch Relational Features Enhance Precision in An Unsupervised Medical Anomaly Detection Task P. Bilha Githinji, Xi Yuan, Ijaz Gul, Lian Zhang, Jinhao Xu, Zhenglin Chen, Peiwu Qin, Dongmei Yu Abstract Confounding pathology with normal anatomical variation remains a significant challenge in unsupervised medical-image anomaly detection, resulting in numerous false positives. To enhance integration of healthy variation, we augment the latent representation of a CNN autoencoder with contextual similarities within a normal cohort through batch-wise hypergraph estimation and a shared-weights graph convolution layer, producing a population-aware embedding. On a heterogeneous brain-tumor dataset of 2D MRI scans, the method improves separability between healthy and pathological samples, achieving an AUC-ROC of 0.90 (95% CI 0.84-0.95, 5.7% absolute gain), and a 16% absolute improvement in average precision (0.78 AP, 95% CI 0.66-0.89), thereby lowering false-positive rates. Moreover, both anomaly detection and downstream tumor versus no-tumor classification performance improve with the size of the mini-batch context captured in the augmented representation, suggesting a tunable lever for integrating healthy variation. Keywords Anomaly Detection ⋅ \cdot Relational Regularization ⋅ \cdot Graph Learning ⋅ \cdot Population-aware Embedding ⋅ \cdot False Positive Reduction 1 Introduction Unsupervised anomaly detection enables the identification of lesions and rare pathologies without the burden of extensive annotation. The utility of reconstruction-based unsupervised anomaly detection hinges on balancing the expressiveness required to model complex healthy tissue against the restrictiveness needed to fail on anomalies 1 , 2 , 3 . High-capacity models will generalize too well and accurately reconstruct anomalies, despite being trained exclusively on healthy data. Conversely, overly constraining the latent space results in the loss of fine-grained anatomical details, conflating benign variance with pathology and inflating false positive rates. To disentangle acceptable biological variance from pathological deviation, we propose a method that leverages the relational structure of a healthy cohort to regularize the latent representation of an unsupervised anomaly detection image auto-encoder. Unlike standard training, where image samples are encoded independently 1 , 4 , our approach dynamically constructs a similarity-based hypergraph within each training mini-batch to define the manifold of plausible healthy variation. We utilize a graph convolutional neural network (GCN) layer within the bottleneck of a convolutional neural network (CNN) auto-encoder (AE) to aggregate relational features from neighboring healthy samples, augmenting the latent code with population-aware constraints. By requiring that the latent codes be coherent with the healthy cohort, our method ensures that the model is expressive enough to reconstruct complex healthy anatomy yet restrictive enough to fail on anomalies that lack support in the training cohort, thereby improving detection separability and reducing false positive rates. Our specific contributions include • Population-aware feature refinement . We propose a module that transforms independent sample-based latent codes into population-aware representations. By dynamically estimating similarity-based hypergraphs within training mini-batches and utilizing a shared-weight GCN layer, we aggregate relational features from k -nearest neighbors and project an augmented latent code to the decoding unit. This integration is architecturally non-intrusive, preserving the base auto-encoder structure. • Mitigation of false positives . We empirically demonstrate the feasibility of a batch-wise implementation and that the method particularly mitigates false positive rates. The proposed method delivers a 16.0% absolute improvement in average precision (AP, 25.9% relative improvement) and a 5.7% absolute gain in AUC-ROC (6.7% relative gain). Mean AP = 0.78 [95% CI: 0.66-0.89 ], mean AUC = 0.90 [95% CI: 0.84-0.95 ]. • Manifold structure analysis . We systematically assess the impact of the neighborhood context size k . We find that a broader population-aware augmentation attains a more discriminative latent space structure and that there is a monotonic improvement in performance metrics as the context size increases. Moreover, an insufficient context does not degrade the host AE. 2 Prior Works Prior approaches to improving the performance of unsupervised anomaly detection entail constraining the capacity of the model through architectural asymmetry, creating restrictive bottlenecks, and enhancing the latent representation with prototypical features of normalcy. Architectural asymmetry intentionally cripples the decoder’s capacity to reconstruct samples (e.g., removing skip connections) or employs an architecturally different decoder (e.g., transformers) with an inductive bias that differs from that of the encoder, in effect degrading reconstruction of anomalous regions 5 , 4 , 6 , 7 . Enhancing latent representations with prototypical healthy features has been achieved through integration of discrete memory banks or vector quantization 8 , 9 , 7 . During training, these methods learn a discrete set of latent features that store snapshots of prototypical normal patterns. While effective, these methods are constrained by the size of the memory bank, which may additionally hinder the ability to capture continuous variations. Our work focuses on enhancing the latent representation of an unsupervised anomaly detection AE by integrating shared features of normalcy using graph convolution within a training batch. Unlike memory modules that represent the population norm with a static set of prototypes, our approach learns to dynamically infer relational sub-structures of healthy cohorts and learn the continuous rules of normal variation within the shared weights of the GCN. Furthermore, while graph neural networks (GNNs) and hypergraphs have successfully modeled population relationships for disease classification 10 , 11 , 12 , this work explores their application as a dynamic regularization mechanism for pixel-wise reconstruction in unsupervised anomaly detection. Our approach structures the latent space of the AE to better model the manifold of normal variation without auxiliary losses or architectural changes to the host AE. 3 Materials and Methods 3.1 Dataset The input dataset is a heterogeneous public brain tumor dataset of 7,023 2-D MRI images collated from three other sources 13 . It captures variations in intensity values and covers four disease classes, namely, glioma, meningioma, pituitary tumors, and no-tumor. The no-tumor or normal class contains images from the Br35H dataset. We utilize the axial plane images and normalize the intensity range of images to [0,1] . Training is conducted with the normal samples only, which are additionally augmented with random operations of blurring and masking of several small regions with the median intensity value of the input image. 3.2 Model architecture The core of the system is a reasonably capable autoencoder (AE) into which we integrate our proposed method and explore its contribution. We adopt the ResNet101 backbone and under-specify the decoder function by dropping skip connections from the first layer of the encoder. This serves to regularize against learning the identity function. This AE is also a baseline model. Population-aware latent representation. Our proposed module operates in the latent space of a convolutional auto-encoder. It takes as input the latent code z_{e}\in\mathbb{R}^{c\times h\times w} from the AE encoder, and outputs an augmented but similarly sized latent code z_{g}\in\mathbb{R}^{c\times h\times w} that is then fed to the decoder. For a mini-batch of size B , we estimate a k-uniform similarity-based hypergraph and then utilize message passing convolution operation of a single-layer graph convolutional network (GCN) to aggregate the neighborhood features and update the latent code of the sample. Using a hyperparameter k_{\mathrm{perc}}\in[0,1] , the number of k-nearest neighbors is determined as k=\lceil B*k_{\mathrm{perc}}\rceil . The hypergraph G=\{V,E,W\} is then estimated such that samples in a batch constitute the node set V=\{{v}_{i}\}_{i=1}^{B} , the set of edges E=\big\{(i,j)\mid j\in\mathcal{N}_{k}(i)\big\} depicts the association between a node v_{i} and its k nearest neighbors