Spectral Harmonic Routing: A MechanisticInterpretability Framework for Tracing AcousticBiomarkers in Vision Transformers
Automated voice pathology detection offers and accessible method for diagnosing laryngeal disorders, such as laryngitis, and neurological conditions, including Parkinson's disease and dysarthria. Deep learning methods applied to acoustic spectrograms have achieved remarkable diagnostic accuracy. Vision Transformers (ViTs), in particular, have emerged as powerful tools for this task, leveraging their global receptive field to capture long-range spectral dependencies that traditional convolutional networks often miss. Despite this success the clinical adoption of ViTs is severely bottlenecked by their opaque, "black-box" nature. In sensitive medical contexts accuracy alone is insufficient clinicians require auditable, causally grounded explanations to trust an algorithmic diagnosis. While post-hoc Explainable AI (XAI) techniques like Grad-CAM and Integrated Gradients are frequently employed to generate visual heatmaps, these methods possess fundamental limitations. They provide pixel space attribution that highlights where a models looks but fails to explain how specific acoustic biomarkers such as fundamental frequency (F 0), harmonic bands, or structural noise—are computationally routed through the network. Therefore, "shortcut learning," in which a model may attain high accuracy by relying on bogus background artifacts rather than true vocal fold physiology, cannot be fully ruled out by standard XAI. To address this critical gap the field of mechanistic interpretability has emerged, seeking to reverse-engineer deep neural networks by tracing their internal causal circuitry. While this approach has yielded profound insights into Large Language Models, its application to medical audio and vision tasks remains largely unexplored. In this study we bridge this gap by introducing Spectral Harmonic Routing (SHR), a mechanistic interpretability framework designed specifically for Vision Transformers. Moving beyond heatmaps SHR rigorously traces gradient-weighted activation pathways across the internal residual streams of the transformer. By mapping layer-level and patch-level routing dynamics, we construct an empirical Activation-based Computational Flow Graph (ACFG) that explicitly visualizes how acoustic information flows from raw spectral input to final clinical diagnosis. Applying SHR across various ViT architecture we uncovered a striking, universal phenomenon of "Harmonic Circuits". We demonstrate that the initial transformer layers systematically act as an indispensable functional bottleneck for routing pathological acoustic features. This work creates a mathematically auditable foundation for transformer-based voice diagnostics by rigorous causal ablation and quantitative faithfulness benchmarking, changing the paradigm from correlational explanations to causal, biomarker-grounded interpretability.
Authors
- R. Sreehari
Institutions
- APJ Abdul Kalam Technological University (IN)
Publication Details
- Journal
- Research Square
- Published
- 2026-12-01
- DOI
- https://doi.org/10.21203/rs.3.rs-11916347/v1
- Primary Topic
- Explainable Artificial Intelligence (XAI)
- Type
- preprint