Back to search

Universidade de Coimbro

Explainable AI-Driven Diagnosis of Fungal Infections using a Biological Image Dataset

Abstract

dc:description.abstract

Invasive fungal infections require rapid and accurate species identification, yet routine culture-based diagnostics are frequently constrained by slow turnaround times and limited sensitivity. This dissertation develops an automated deep learning framework to distinguish Candida albicans from Candida glabrata in brightfield microscopy images. Using a strictly partitioned, leakage-controlled dataset, the performance of global self-attention mechanisms was evaluated against localized convolutional architectures. Cross-validation of the transformer baseline revealed a distinct sensitivity-specificity trade-off; exploratory analysis suggested that this was linked to visual ambiguity and overlapping feature representations. Conversely, while the convolutional benchmark (DenseNet-121) achieved near-perfect internal classification, its spatial attribution patterns were consistent with a partial reliance on peripheral, slide-associated cues. To address these limitations, a Hybrid Vision Transformer was engineered, incorporating Convolutional Tokenization and Locality Self-Attention to preserve local structural continuity and modulate token interactions. This intervention improved latent class separation and substantially reduced total patch-level errors on the held-out test set from 136 to 37, achieving a balanced accuracy of 0.958. A subsequent interpretability study, using spatial attribution and deletion-based perturbation testing, provided quantitative evidence that the hybrid model functionally relies on highly focal regions, specifically for true-positive and false-positive predictions, even though some localized, slide-correlated misclassifications persisted. Finally, evaluation on an independent cross-microscope cohort revealed a severe drop in diagnostic performance (slide-level balanced accuracy of 0.54), highlighting a high sensitivity to acquisition shifts. These findings indicate that while hybrid locality constraints promote highly focused attribution behavior, achieving broader deployment robustness will require explicit optimization strategies to reduce the network's dependence on acquisition and photometric variance.

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Sá, Rodrigo Oliveira de
Advisor dc:contributor.advisor
  • Ribeiro, Bernardete Martins

Subjects

dc:subject × 8

Rights

dc:rights
Statement dc:rights
  • openAccess
Language dc:language.iso
eng

Identifiers

dc:identifier.*
Dc Identifier Tid
204414830

Chain of custody

source
Harvested from
Universidade de Coimbro
Base URL
estudogeral.sib.uc.pt/oai/request
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Sá, Rodrigo Oliveira de. Explainable AI-Driven Diagnosis of Fungal Infections using a Biological Image Dataset. 2026. https://hdl.handle.net/10316/124353