IDEAS home Printed from https://ideas.repec.org/a/gam/jsusta/v18y2026i3p1215-d1848529.html

TopoAD: Resource-Efficient OOD Detection via Multi-Scale Euler Characteristic Curves

Author

Listed:
  • Liqiang Lin

    (College of Computer and Information Sciences, Fujian Agriculture and Forestry University, Fuzhou 350002, China)

  • Xueyu Ye

    (College of Computer and Information Sciences, Fujian Agriculture and Forestry University, Fuzhou 350002, China)

  • Zhiyu Lin

    (College of Computer and Information Sciences, Fujian Agriculture and Forestry University, Fuzhou 350002, China)

  • Yunyu Kang

    (College of Computer and Information Sciences, Fujian Agriculture and Forestry University, Fuzhou 350002, China)

  • Shuwu Chen

    (College of Computer and Information Sciences, Fujian Agriculture and Forestry University, Fuzhou 350002, China
    Engineering Research Center of Smart Sensing and Agricultural Chip Technology, Fujian Province University, Fuzhou 350002, China)

  • Xiaolong Liu

    (College of Computer and Information Sciences, Fujian Agriculture and Forestry University, Fuzhou 350002, China
    Engineering Research Center of Smart Sensing and Agricultural Chip Technology, Fujian Province University, Fuzhou 350002, China)

Abstract

Out-of-distribution (OOD) detection is essential for ensuring the reliability of machine learning models deployed in safety-critical applications. Existing methods often rely solely on statistical properties of feature distributions while ignoring the geometric structure of learned representations. We propose TopoAD, a topology-aware OOD detection framework that leverages Euler Characteristic Curves (ECCs) extracted from intermediate convolutional activation maps and fuses them with standardized energy scores. Specifically, we employ a computationally efficient superlevel-set filtration with a local estimator to capture topological invariants, avoiding the high cost of persistent homology. Furthermore, we introduce task-adaptive aggregation strategies to effectively integrate multi-scale topological features based on the complexity of distribution shifts. We evaluate our method on CIFAR-10 against four diverse OOD benchmarks spanning far-OOD (Textures), near-OOD (SVHN), and semantic shift scenarios. Our results demonstrate that TopoAD-Gated achieves superior performance on far-OOD data with 89.98% AUROC on Textures, while the ultra-lightweight TopoAD-Linear provides an efficient alternative for near-OOD detection. Comprehensive ablation studies reveal that cross-layer gating effectively captures multi-scale topological shifts, while threshold-wise attention provides limited benefit and can degrade far-OOD performance. Our analysis demonstrates that topological features are particularly effective for detecting OOD samples with distinct structural characteristics, highlighting TopoAD’s potential as a sustainable solution for resource-constrained applications in texture analysis, medical imaging, and remote sensing.

Suggested Citation

  • Liqiang Lin & Xueyu Ye & Zhiyu Lin & Yunyu Kang & Shuwu Chen & Xiaolong Liu, 2026. "TopoAD: Resource-Efficient OOD Detection via Multi-Scale Euler Characteristic Curves," Sustainability, MDPI, vol. 18(3), pages 1-15, January.
  • Handle: RePEc:gam:jsusta:v:18:y:2026:i:3:p:1215-:d:1848529
    as

    Download full text from publisher

    File URL: https://www.mdpi.com/2071-1050/18/3/1215/pdf
    Download Restriction: no

    File URL: https://www.mdpi.com/2071-1050/18/3/1215/
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:gam:jsusta:v:18:y:2026:i:3:p:1215-:d:1848529. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: MDPI Indexing Manager (email available below). General contact details of provider: https://www.mdpi.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.