[Paper Review] Encoding Structure-Texture Relation with P-Net for Anomaly Detection in Retinal Images
This paper proposes P-Net, a novel deep learning framework for retinal image anomaly detection that leverages the structural-textural relationship in healthy retinal images. By first extracting structural features (e.g., blood vessel topology), fusing them with deep texture features, and reconstructing the original image, P-Net uses the difference between original and reconstructed structure as a key anomaly metric, achieving state-of-the-art performance on RESC and iSee datasets with average AUCs of 0.965 and 0.958, respectively.
Anomaly detection in retinal image refers to the identification of abnormality caused by various retinal diseases/lesions, by only leveraging normal images in training phase. Normal images from healthy subjects often have regular structures (e.g., the structured blood vessels in the fundus image, or structured anatomy in optical coherence tomography image). On the contrary, the diseases and lesions often destroy these structures. Motivated by this, we propose to leverage the relation between the image texture and structure to design a deep neural network for anomaly detection. Specifically, we first extract the structure of the retinal images, then we combine both the structure features and the last layer features extracted from original health image to reconstruct the original input healthy image. The image feature provides the texture information and guarantees the uniqueness of the image recovered from the structure. In the end, we further utilize the reconstructed image to extract the structure and measure the difference between structure extracted from original and the reconstructed image. On the one hand, minimizing the reconstruction difference behaves like a regularizer to guarantee that the image is corrected reconstructed. On the other hand, such structure difference can also be used as a metric for normality measurement. The whole network is termed as P-Net because it has a ``P'' shape. Extensive experiments on RESC dataset and iSee dataset validate the effectiveness of our approach for anomaly detection in retinal images. Further, our method also generalizes well to novel class discovery in retinal images and anomaly detection in real-world images.
Motivation & Objective
- To address the challenge of anomaly detection in retinal images using only normal training data, which is more readily available than diseased data.
- To exploit the clinical insight that retinal diseases disrupt regular anatomical structures (e.g., blood vessels, layering), while normal images exhibit strong structural regularity.
- To improve anomaly detection by explicitly modeling the interplay between image texture and structural layout, rather than treating them independently.
- To develop a method that generalizes beyond retinal images to novel class discovery and real-world image anomaly detection.
Proposed method
- A structure extraction network G_s is trained to extract structural representations S from normal retinal images I, using edge-based or topology-aware features.
- The extracted structure S and high-level feature representations from the original image I are fused and used to reconstruct the input image Î via a generative decoder.
- The reconstruction process enforces consistency between the original image and the reconstructed image, minimizing pixel-level and feature-level reconstruction errors.
- A second structure extraction from the reconstructed image Î produces Ŝ, and the structural difference between S and Ŝ is computed as a key anomaly indicator.
- The final anomaly score combines the image reconstruction loss and the structural consistency loss, forming a dual-regularization mechanism that enhances detection fidelity.
- The overall architecture is shaped like a 'P', hence the name P-Net, with the structure branch forming the vertical stem and the reconstruction path forming the horizontal bar.
Experimental results
Research questions
- RQ1Can modeling the relationship between image texture and structure improve anomaly detection performance in retinal images?
- RQ2How does the integration of structural priors (e.g., vessel topology) enhance reconstruction fidelity and anomaly detection robustness?
- RQ3Can the structural consistency loss between original and reconstructed images serve as a reliable anomaly metric when combined with reconstruction loss?
- RQ4Does P-Net generalize to novel class discovery in retinal images, where anomalies represent previously unseen disease types?
- RQ5How does P-Net perform on real-world image datasets compared to existing SOTA methods in zero-shot anomaly detection?
Key findings
- P-Net achieves state-of-the-art performance on the RESC dataset with an average AUC of 0.965, significantly outperforming baseline methods such as AE (SSIM), AnoGAN, and TI.
- On the iSee dataset, P-Net achieves an average AUC of 0.958, demonstrating strong generalization across diverse retinal disease types and imaging modalities.
- The method shows superior performance on object-like images (e.g., capsule, screw, zipper) where structural edges correspond to meaningful shapes, achieving mean anomaly region overlap of 0.89.
- Performance degrades on texture-like images (e.g., carpet, grid, leather) due to high edge density and noise, which complicates accurate structure extraction.
- The ablation study confirms that combining both reconstruction loss and structural consistency loss leads to better anomaly detection than using either loss alone.
- P-Net generalizes well to novel class discovery, as validated in supplementary experiments, indicating its robustness to previously unseen anomaly patterns.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.