Computational Pathology with Topological signatures and Visual Word Encoding

preprint OA: closed
Full text JSON View at publisher
Full text 159,517 characters · extracted from preprint-html · click to expand
Computational Pathology with Topological signatures and Visual Word Encoding | Research Square window.SnipcartSettings = { analytics: { enabled: false } }; (function() { var accessVector = localStorage.getItem('access_vector') || ''; window.dataLayer = window.dataLayer || []; if (accessVector) { window.dataLayer.push({ user: { profile: { profileInfo: { snid: accessVector } } } }); } })(); (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src='https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer','GTM-K279D39R'); Browse Preprints In Review Journals COVID-19 Preprints AJE Video Bytes Research Tools Research Promotion AJE Professional Editing AJE Rubriq About Preprint Platform In Review Editorial Policies Our Team Advisory Board Help Center Sign In Submit a Preprint Cite Share Download PDF Research Article Computational Pathology with Topological signatures and Visual Word Encoding Taymaz Akan, Richa Aishwarya, Md. Shenuarin Bhuiyan, Mohammad Alfrad Nobel Bhuiyan This is a preprint; it has not been peer reviewed by a journal. https://doi.org/ 10.21203/rs.3.rs-7724033/v1 This work is licensed under a CC BY 4.0 License Status: Under Revision Version 1 posted 7 You are reading this latest preprint version Abstract Tissue analysis is considered the gold standard for the diagnosis of a wide spectrum of disorders. However, pathologists perform labor-intensive evaluations to ensure accurate results. Computational pathology has made significant advances in the development of task-specific predictive models. Nevertheless, traditional pixel- or texture-based features often fail to capture both local and global structural patterns together with their spatial organization. This study developed TopoBoW, a computational framework to objectively characterize morphological patterns using local and global microscopy image features. We developed TopoBoW by integrating Topological Data Analysis (TDA) and Bag-of-Visual-Words (BoVW), combining it with an attention-guided multi-layer perceptron (MLP) trained to distinguish between healthy and pathological muscle tissue. TDA captures global structural features with Betti curves derived from persistent homology, whereas BoVW encodes local textural patterns with SURF descriptors and histogram encoding. We also utilized visualizations to examine the statistical behavior of feature vectors across disease classes and healthy controls, evaluating their discriminative ability. We compare TopoBoW with several baseline and advanced models, including TDA, histogram of oriented gradients (HOG) with XGBoost and Attention-based MLP. TopoBoW demonstrated state-of-the-art performance on muscle tissue classification and outperformed all baselines in terms of all classification criteria, including accuracy, F1-score, and AUC. With its interpretable feature-based computational framework, TopoBoW can assist with pathological research, education, and interactive diagnostic workflows by integrating global structural and local textural information from images. Computational pathology Topological data analysis Persistent homology image classification Machin Learning Figures Figure 1 Figure 2 Figure 3 Figure 4 Figure 5 Figure 6 Figure 7 Figure 8 Figure 9 1 Introduction Tissue pathology reflects a wide range of structural and cellular changes resulting from physiological conditions, aging, injury, and disease. These changes often result in altered tissue architecture, cell morphology, nuclear positioning, and extracellular matrix organization [ 1 ]. Such morphological changes are significant biomarkers for the diagnosis, monitoring of disease progression, and assessment of therapeutic efficacy in a wide range of medical conditions, including genetic, neurological, and metabolic diseases. For instance, diseases like diabetes and amyotrophic lateral sclerosis (ALS) frequently cause pathological alterations in skeletal muscle, including fiber atrophy, nuclear mislocalization, and altered extracellular matrix composition [ 2 ], [ 3 ]. Histological analysis remains the gold standard for detecting such tissue abnormalities, but traditional methods rely heavily on manual annotations by trained experts. Even more so in large-scale or longitudinal studies, this labor-intensive and time-consuming manual process is affected by inter- and intra-observer variability [ 4 ], [ 5 ]. Consequently, there is a growing demand for objective, interpretable, and scalable computational tools to assist in pathology analysis across a variety of tissue types and disease contexts. Computational pathology has undergone significant changes in recent years due to the rise of digital slide scanning, AI research advancements, increased access to large datasets, and high-performance computing resources [ 6 ], [ 7 ], [ 8 ]. This field has huge potential for automating clinical diagnosis, predicting patient prognosis and response to therapy, and discovering new morphological biomarkers using tissue imaging. The clinical practice of pathology involves a wide range of tasks, including metastasis detection [ 9 ], [ 10 ], subtyping [ 11 ], [ 12 ], grading [ 13 ], [ 14 ], and staging. Given the huge variety of possible disease presentations, pathologists are often required to address highly diverse diagnostic challenges simultaneously [ 8 ], [ 15 ], [ 16 ]. In order to meet this complexity, computational pathology has successfully employed a variety of methods, such as deep learning, handcrafted feature extraction, and hybrid approaches, each tailored to specific tasks [ 17 ], [ 18 ], [ 19 ], [ 20 ], [ 21 ]. However, despite these promising developments, many existing approaches fall short in capturing the full spectrum of tissue morphology, particularly when both global structural patterns and local textural details must be jointly analyzed for reliable and interpretable outcomes. Despite these advancements, it is still challenging to extract clinically significant features from WGA-stained images. Conventional techniques like ImageJ-based tools are time-consuming and produce varying outcomes due to their manual cell counting, segmentation, and thresholding. Moreover, the majority of existing automated pipelines use classical image processing or CNN-based segmentation, which are frequently limited to fiber boundary detection or average size quantification [ 22 ], [ 23 ], [ 24 ], [ 25 ], [ 26 ], [ 27 ]. These approaches may overlook higher-order structural properties, such as fiber spatial arrangement, global tissue organization, or disease-related shape irregularities. Furthermore, the majority of developed automated methods have been primarily developed and validated on H&E-stained images [ 28 ], [ 29 ], [ 30 ], [ 31 ], where muscle fiber boundaries are less distinct and are frequently simplified using basic geometric assumptions, such as circular or elliptical area estimations (i.e., approximating each muscle fiber as a perfect circle or ellipse to compute cross-sectional area). On the other hand, WGA-stained images demonstrate a precise delineation of the sarcolemma, which reveals the original irregularity and complexity of muscle fiber contours. These detailed boundaries present a challenge in terms of the application of traditional shape-based metrics, such as cross-sectional area or diameter, without a substantial reduction in structural detail. Consequently, to accurately interpret the morphological complexity captured in WGA-stained muscle sections, more sophisticated and robust analysis techniques are necessary, particularly in diseased tissues where the shape of the fibers is frequently highly variable. In this context, topological data analysis (TDA) offers a promising alternative. TDA can extract global shape features that are invariant to local deformations and noise by characterization the connectivity and voids within tissue architecture. Betti curves are a frequently employed TDA tool that summarizes the evolution of topological features (e.g., connected components, holes) across filtration thresholds, thereby providing an interpretable descriptor of tissue geometry [ 32 ]. In addition to TDA, local texture and color data within muscle images can be efficiently captured using the Bag of Visual Words (BoVW) technique, which is derived from natural language processing [ 33 ]. BoVW models visual content by extracting local descriptors (e.g., SURF [ 34 ]), clustering them into a visual vocabulary, and encoding images as histograms over this vocabulary. This representation preserves fine-grained patterns of color, shape, and texture, which may correspond to pathological microstructures in diseased muscle. In this study, we propose a hybrid feature extraction framework that fuses TDA-derived Betti curve features with BoVW histograms to create a unified representation of pathological image morphology. We apply this approach to WGA-stained sections of five different skeletal muscles—quadriceps, gastrocnemius, soleus, extensor digitorum longus (EDL), and tibialis anterior (TA)—collected from healthy wild-type mice and two disease models: G93A*SOD1 mice, a well-established model for ALS, and C57BL/6-Ins2Akita/J (Akita) mice, a Type I diabetes model. The pathological characteristics identified in these models, including central nucleation, variability in fiber size, and structural disarray, are amenable to assessment through both topological and texture-based descriptors. This study aims to advance pathological image analysis by integrating global structural summaries (TDA) with local appearance cues (BoVW). This integration improves the capacity to discriminate between healthy and diseased muscle tissues. The fused features improve classification performance while also providing interpretable insights into disease morphological signatures, paving the way for scalable and objective skeletal muscle phenotyping in preclinical research. 2 Materials and methods 2.1 Animal Models and Tissue Preparation Skeletal muscle samples were collected from two established mouse models of disease: G93ASOD1 transgenic mice, which are a model of amyotrophic lateral sclerosis (ALS), and C57BL/6-Ins2Akita/J (Akita) mice, which are a model for Type I diabetes. Healthy controls were established using wild-type and G93ASOD1 non-carrier mice on a C57BL/6 background. Both the disease models and their respective control mice were acquired from The Jackson Laboratories (Bar Harbour, ME, USA). All mice were housed in standard conditions, which included a typical chow diet, unlimited access to water, 12-hour light-dark cycles, and temperature-controlled environments. All animals were purchased from The Jackson Laboratory (Bar Harbor, ME, USA), a commercial research animal supplier, and were not privately owned. The LSU Health-Shreveport Institutional Animal Care and Use Committee approved the animal care and experimental procedures in accordance with the NIH Guide for the Care and Use of Laboratory Animals. The specifics of muscle dissection and sample processing have been previously described [ 35 ]. 2.2 WGA Staining and Microscopy Skeletal muscle tissues were obtained from five distinct anatomical regions: the quadriceps, gastrocnemius, soleus, extensor digitorum longus (EDL), and tibialis anterior (TA). All mice were anesthetized with isoflurane (Isospire™, Dechra Veterinary Products, KS, USA) overdose (5% concentration), and anesthesia was confirmed by the absence of a pedal withdrawal reflex before euthanasia by exsanguination and pneumothorax. Tissues were, then, extracted bilaterally, fixed in formalin, and paraffin-embedded to prepare histological blocks. Deparaffinization and rehydration were performed on thin sections (5 µm). Antigen retrieval was accomplished by boiling the samples in 10 mmol/L sodium citrate buffer (pH 6.0) at 100°C. In order to label cell membranes, sections were incubated with Alexa Fluor 488-conjugated wheat germ agglutinin (WGA, 5 µg/mL) for 1 hour after being blocked in a solution containing 1% bovine serum albumin, 0.1% cold water fish skin gelatin, and 1% Tween-20 in PBS. The nuclei were counterstained with DAPI for a period of 5 minutes. The slides were washed in PBS and mounted using Vectashield mounting medium. The images were analyzed using Nikon NIS Elements (v4.13.04), and the Nikon A1R confocal microscope (20× objective) was used to conduct the imaging. The complete staining and imaging protocol has been comprehensively described in previous research [ 35 ], [ 36 ]. 2.3 Dataset and Classification Framework The final dataset comprised five distinct muscle types per subject, including WGA-stained muscle sections from Akita, G93A*SOD1, and wild-type mice. Centrally located nuclei, an increase in small or irregularly shaped fibers, and altered myofiber morphology are some of the pathological changes observed in G93A*SOD1 mice, a model that is representative of ALS [ 35 ], [ 37 ], [ 38 ]. Conversely, healthy muscle fibers are distinguished by their variable cross-sectional area (CSA), peripheral nuclei, and polygonal geometry [ 11 ]. Histological abnormalities and muscle dysfunction are the distinguishing characteristics of the Akita mouse, which functions as a model for Type I diabetes [ 39 ], [ 40 ]. For the purpose of model development and evaluation, all images were classified as either healthy or diseased (e.g., diabetic muscle or ALS). In order to evaluate the classification framework's performance, the dataset was partitioned into training and test sets. 2.4 Computational Feature Extraction and Classification We propose a hybrid classification framework for histology image analysis that combines classical computer vision features with topological descriptors. We apply this approach to automatically classify skeletal muscle histology images into healthy, ALS, or diabetic categories. To guarantee consistency across the dataset, all input images were resized to a fixed resolution of 224 × 224 pixels before feature extraction. First, we employed the BoVW model to capture textural and morphological information. For each image in the training set, Speeded-Up Robust Features (SURF) were extracted to identify key local interest points. These features were then clustered using K-Means to create a unified "visual vocabulary." Subsequently, each image in the dataset was represented as a histogram corresponding to the frequency of these visual words, effectively summarizing the textural content of the image. Next, TDA features were implemented to characterize the structural organization of the muscle fibers. These pre-computed TDA features offer a distinctive, global perspective on tissue architecture by quantifying high-level spatial relationships, including the cyclic structures and connectivity patterns formed by the muscle cells. Finally, the TDA feature vector and BoVW histogram of each image were combined to create a single, all-inclusive hybrid feature vector. Local textural patterns are combined with global topological signatures in this fused vector. The fused feature vectors from the training set were used to train an attention-based multilayer perceptron (MLP). 2.4.1 Bag-of-Visual-Words (BoVW) Using SURF Descriptors We implemented a BoVW model to extract local visual patterns from WGA-stained images. This model pipeline was constructed as follows: I. Keypoint Detection and Description : Speeded-Up Robust Features (SURF) were extracted for each image. Each image \(\:I\) was represented by a set of local descriptors \(\:D=\left\{{d}_{1},{d}_{2},\dots\:,{d}_{N}\right\}\) , where \(\:{d}_{i}\in\:{\mathbb{R}}^{k}\) . II. Visual Vocabulary Construction : All descriptors from training images were clustered into \(\:K\) clusters using MiniBatch K-Means. The centroid of each cluster represented a "visual word," forming the vocabulary \(\:V=\left\{{v}_{1},{v}_{2},\dots\:,{v}_{K}\right\}\) . $$\:\underset{V}{\text{m}\text{i}\text{n}}\:\sum\:_{i=1}^{N}\:\underset{j=1,\dots\:,K}{\text{m}\text{i}\text{n}}\:{‖{d}_{i}-{v}_{j}‖}^{2}$$ 1 For this study, we set \(\:K=150\) . III. Histogram Representation : Each image was encoded as a histogram \(\:h\in\:{\mathbb{R}}^{K}\) , where each element \(\:{h}_{j}\) denotes the frequency of visual word \(\:{v}_{j}\) in the image. We refer to this histogram representation as the BoVW feature vector for an image. 2.4.2 TDA Features To capture the higher-order structural and spatial information of muscle fibers, we incorporated topological features derived from persistent homology. I. Persistence Diagrams : Using Cubical Persistence, we computed \(\:0D\) and \(\:1D\) persistence diagrams \(\:{\text{P}\text{D}}_{0}\) and \(\:{\text{P}\text{D}}_{1}\) from RGB channel (Red, Green, Blue) alongside grayscale image [ 41 ]. Let \(\:f:{\mathbb{Z}}^{2}\to\:\mathbb{R}\) express the pixel intensity function. The sublevel sets of \(\:f\) define a filtration, and persistent homology tracks the birth and death of connected components \(\:\left({\text{H}}_{0}\right)\) and loops \(\:\left({\text{H}}_{1}\right)\) . II. Betti Curve Representation : Each persistence diagram was converted to a Betti curve \(\:{\beta\:}_{k}\left(t\right)\) using 100 bins for each channel, where \(\:k\in\:\left\{\text{0,1}\right\}\) . The Betti curve counts the number of topological features alive at threshold \(\:t\) . 2.4.3 Feature Concatenation: The Betti curves from grayscale, red, green, and blue channels were concatenated, resulting in a final 800-dimensional vector per image: $$\:{\mathbf{x}}_{\text{T}\text{D}\text{A}}=\left[{\beta\:}_{0}^{\text{gray\:}},{\beta\:}_{1}^{\text{gray\:}},{\beta\:}_{0}^{\text{red\:}},{\beta\:}_{1}^{\text{red\:}},\dots\:\right]\in\:{\mathbb{R}}^{800}$$ 2 By concatenating the vectors obtained from the TDA and BoVW pipelines, we implemented a feature-level fusion strategy to take advantage of complementary information captured by topological and visual descriptors. Figure 1 shows how the TDA features were calculated using Betti curves for each topological channel (Red-TDA, Green-TDA, Blue-TDA, and Gray-TDA). This made a fixed-size representation that shows multi-scale topological summaries across color channels. We also computed BoVW histograms by taking SURF descriptors from input images, using k-means clustering to construct a visual vocabulary, and then encoding each image as a normalized histogram over visual word occurrences. The final feature representation for each image was obtained by concatenating the TDA-based topological feature vector with the BoVW histogram. This fused vector integrates global structural signatures (from persistent homology) and local texture-color statistics (from visual words), enhancing the model's capacity to distinguish disease phenotypes in skeletal muscle morphology. All features were standardized prior to classification. 2.4.4 Classification To harness both local (BoVW) and global (TDA) representations, we concatenated the normalized feature vectors from both methods for each sample per \(\:{\mathbf{x}}_{\text{hybrid}}=\left[{\mathbf{x}}_{\text{TDA}},{\mathbf{x}}_{\text{BoVW}}\right]\in\:{\mathbb{R}}^{950}\) , where 800 dimensions are from TDA and 150 from BoVW. The concatenation of BoVW and TDA features produced the fused feature vectors, resulting in a 950-dimensional feature vector per sample (800 from TDA and 150 from BoVW). The 200-dimensional representations that were taken from each RGB channel and grayscale (i.e., 200 × 4 = 800) made up the TDA features. Each sample was then truncated to 950 features in order to guarantee dimensional consistency across all input vectors. For the classification task, all samples were numerically encoded in binary form and labeled as either disease or non-disease. Prior to classification, the dataset was partitioned using stratified 20-fold cross-validation, which preserved the class balance in each training and validation split. This approach ensured that all samples contributed to both model training and evaluation, while preventing data leakage and maintaining robust performance estimation. All processing steps were applied consistently across folds with fixed random seed initialization to enable reproducibility. Model Architecture Our classification architecture is a neural network designed to process 950-dimensional feature vectors using a Multi-Head Attention mechanism. The input vector is initially molded into a series of eight segments with 475 dimensions each. This sequence is processed by a 10-head Multi-Head Attention layer with 0.1 dropout, which learns the contextual inter-dependencies between the feature segments. To improve generalization, we apply feature-level noise augmentation during training. Specifically, Gaussian noise with a standard deviation of 0.05 is added to the 950-dimensional input vector before it is reshaped for attention processing. This augmentation is only applied during training and has no effect at inference time. The resulting sequence is flattened and passed into a deep Multi-Layer Perceptron (MLP) for classification. This classifier head is composed of four sequential blocks: a dense layer (1024 units) with GELU activation and 0.4 dropout; a dense layer (512 units) with GELU activation and 0.4 dropout; a dense layer (256 units) with GELU activation and 0.3 dropout; and a final dense layer (1024 units) with GELU activation and 0.2 dropout. This deep structure creates a feature bottleneck that encourages the model to learn a compressed yet rich representation. The network concludes with a 2-unit dense output layer for the final binary classification. The architecture of the proposed classifier is illustrated in Fig. 2 . It successfully distinguishes between diseased and non-diseased cases by processing the features through a multi-head attention mechanism and a series of dense layers. 3 Results Histological image analysis facilitates the identification of structural changes associated with numerous diseases. This study examines skeletal muscle tissue by analyzing WGA-stained sections to evaluate myofiber size alterations and categorize samples into ALS, diabetic, and healthy groups across various muscles, including the quadriceps, gastrocnemius, tibialis anterior, extensor digitorum longus, and soleus. We created the TopoBoW model to automate the classification process, enabling it to learn distinguishing features from patterns in histopathology. To evaluate the efficacy of our proposed TopoBoW model for classifying skeletal muscle pathology, extensive comparisons against several baseline and advanced models, including TDA, histogram of oriented gradients (HOG) with XGBoost and Attention-based MLP. WGA-stained histopathological images of diverse muscle types were employed in the classification task to distinguish between ALS, diabetic, and healthy skeletal muscle tissue. 3.1 Configuration We conducted hyperparameter adjustment for all methods with XGBoost classifiers to attain optimal model performance. Cross-validation was employed to meticulously refine critical parameters, including the learning rate, maximal tree depth, number of estimators, and subsampling ratio. The optimum configurations were determined based on validation accuracy. The HOG + XGBoost model was specifically constructed with 300 estimators, a learning rate of 0.01, a maximum depth of 7, and a subsample ratio of 0.6. The TDA + XGBoost model achieved its highest accuracy with 200 estimators, a learning rate of 0.05, a maximum depth of 6, and a subsample ratio of 0.8. The XGBoost was implemented in the TopoBoW + XGBoost model with 100 estimators, a default learning rate of 0.3, and a maximum depth of 6. For MLP, the AdamW optimizer was employed to optimize the model for 500 epochs, with a learning rate of 10e − 4 and learning rate scheduling via cosine annealing. The final evaluation was conducted using the model that demonstrated the highest level of performance for each fold, as designated by the validation accuracy. 3.2 Quantitative Evaluation Quantitative evaluation criteria, including precision, recall, F1-score, accuracy (with standard deviation), and area under the curve (AUC), are given in Table 1 . In this table, WGA-stained skeletal muscle images are used to compare the classification performance of various feature-based models to the proposed TopoBoW technique. The TopoBoW model combined with attention achieved the highest performance across all evaluation metrics, with a precision of 0.97, recall of 0.98, F1-score of 0.97, accuracy of 0.98, and an AUC of 0.98. In contrast, the TopoBoW + XGBoost model had a remarkable performance, achieving an F1-score of 0.87 and an AUC of 0.94, however it did not surpass the attention-based alternative. Traditional models such as HOG + XGBoost and HOG + Attention showed notably lower performance, particularly in recall and F1-score, indicating limited capacity to capture discriminative morphological features. TDA-based models outperformed their HOG-based counterparts, highlighting the stronger discriminative capacity of topological features. Specifically, the TDA + Attention model achieved an AUC of 0.90 and an F1-score of 0.83. The TopoBoW + Attention model demonstrated the most successful performance in all metrics, demonstrating the efficacy of integrating topological and visual representations within an attention-guided learning framework. Figure 3 shows the confusion matrices for six classification models based on various topological and visual features. Models using only TDA or HOG features, such as TDA + XGBoost or HOG + XGBoost, performed unevenly, particularly in classifying diseased tissue (class 1). Moreover, the performance of both TDA and HOG was slightly enhanced by the inclusion of attention mechanisms, which suggests that local context refinement may be valuable for feature discrimination. It is worth noting that the integration of global structural alongside local visual features led to a significant improvement when TDA and BoVW were combined (TDA + BoVW + XGBoost). Finaly, the Topo-BoVW model outperformed the others, with a classification accuracy of 98% across every category. Integrating topological signatures with BoVW encoding effectively captures morphological and textural features that are critical for disease classification. Table 1 Comparison of classification performance across traditional feature-based models and TopoBoW on WGA-stained skeletal muscle images. Metrics reported include precision, recall, F1-score, accuracy (with standard deviation where applicable), and AUC. The proposed fusion with attention-based model outperformed all baselines in all evaluation criteria using 20-fold cross-validation. Method Train/Test Precision Recall F1-Score Accuracy AUC TDA + XGB [ 42 ] 20-fold 0.81 0.81 0.81 0.841 (± 0.041) 0.89 TDA + Attention 20-fold 0.84 0.83 0.83 0.854% (± 0.081) 0.90 HOG + XGBOOST 20-fold 0.68 0.57 0.56 0.724 (± 0.049) 0.66 HOG + Attention 20-fold 070 0.59 0.60 0.743 (± 0.050) 0.68 TopoBoW + XGBOOST 20-fold 0.88 0.87 0.87 0.882(± 0.051) 0.94 TopoBoW 20-fold 0.97 0.98 0.97 0.975 (+/-0.033) 0.98 Figure 4 illustrates a detailed comparison of model performance. The TopoBoW model demonstrated superior discrimination abilities with an AUC of 0.98, as shown in the ROC curves (Fig. 4 a). Alternative TDA-based architectures, such as TDA + BoVW + XGBoost and TDA + Attention, exhibited commendable performance, achieving AUC values of 0.94 and 0.90, respectively. The HOG-based models, on the other hand, had much lower AUC values and a severely limited ability to classify data. The radar plot (Fig. 4 b) represents a comprehensive view of performance across five key metrics. TopoBoW consistently outperformed, with the highest values for precision, recall, F1-score, accuracy, and AUC. These findings support the benefit of combining topological and visual features with attention-based learning for robust muscle disease classification. 3.3 Exploratory Feature Analysis We conducted a series of visualizations intended to describe the statistical behavior of feature vectors across the two classes: disease (diabetic or ALS) and non-disease (healthy control) in order to evaluate the discriminative ability of the extracted features, which included BoVW and TDA representations. These plots aid in determining which feature types contribute to class separability and help confirm whether feature distributions differ significantly across classes. By visualizing raw values, class-wise averages, variability, and projections, we aimed to Determine the global patterns of class separation across the 950 features., Determine which feature blocks (e.g., Gray-TDA, RGB-TDA, BoVW) differ the most across conditions, Determine whether the learned features meaningfully encode disease-specific muscle morphology. Figure 5 a shows all of the standardized feature vectors from the dataset, with each class's vectors overlay on top of each other. Each line indicates the full 950-dimensional feature vector of one sample. Class 0 (non-disease) is shown in blue, and Class 1 (disease) is shown in red. The bolded curves are associated with the class-wise means, while the semi-transparent lines reflect individual sample variations. This visualization provides a quick overview of how features behave across classes and highlights regions of concentrated variance and divergence. In particular, features in the BoVW region (Last 150 features) along with certain color-specific TDA blocks, especially the Green and Blue channels, show a considerable separation between classes, highlighting their higher discriminatory potential. In contrast, features derived from the red channel (indices 200–400) show minimal divergence, likely due to the negligible signal in this channel, as seen in the WGA-stained image in Fig. 1 . Representative WGA-stained skeletal muscle image, in which green fluorescence highlights extracellular matrix boundaries. The absence of red signal corresponds with the low relevance of red-channel-derived features observed in Fig. 1 . This analysis is further illustrated in Fig. 5 b, which shows the class-wise mean and standard deviation for each feature dimension. Shaded bands indicate one standard deviation around the mean, and solid lines represent the standardized mean feature values in the plot. Each feature group (Gray-TDA, Red-TDA, Green-TDA, Blue-TDA, and BoVW) is visually segmented to aid interpretability. This figure demonstrates that Class 1 (disease group) has a more consistent morphological phenotype, with less variability in TDA-derived features in particular. In contrast, the non-disease class (Class 0) displays higher variability, especially in the Gray-TDA and Red-TDA groups. Importantly, the BoVW features again show marked separation between the two classes. The radar plot of the mean feature values for each class is shown in Fig. 6 for a comprehensive, angular class-wise view of the feature behavior. The 950 features are arranged circularly, and colored regions denote class-wise magnitude differences across angular segments corresponding to feature groups. This plot demonstrates that the BoVW, Gray-TDA, and Green-TDA regions present the most pronounced class separations, highlighting their predominant role in the differentiation of diseased from non-diseased tissue. Although Blue-TDA features exhibit certain class-wise variation, the separation is less consistent. Conversely, the Red-TDA features demonstrate a significant degree of overlap between classes, which suggests that they have limited discriminative value and is indicative of the minimal red signal present in the original WGA-stained images. Figure 7 a and 7 b show two- and three-dimensional UMAP projections to determine whether the extracted hybrid features preserve meaningful structure in a reduced latent space. These plots demonstrate that the features capture class-relevant patterns even after nonlinear dimensionality reduction, as evidenced by the minimal overlap between clusters of disease and non-disease samples. Despite the reduction in nonlinear dimensionality, these plots show clearly defined clusters of disease and non-disease samples with little overlap. The 2D embedding (Fig. 7 a) clearly demonstrates bifurcated groupings, whereas the 3D projection (Fig. 7 b) confirms the stability of class separation in multiple views and provides additional spatial depth. These representations prove that the hybrid feature structure is effective at encoding morphological features that are specific to diseases. Finally, Fig. 8 presents grouped boxplots of standardized feature values across both classes, segmented by feature source. The 950-dimensional feature vector was split into five blocks: Gray-TDA, Red-TDA, Green-TDA, Blue-TDA, and BoVW. Each pair of class-specific boxplots is positioned side by side and overlaid on a soft background to visually separate feature groups. This plot enables comparative assessment of intra-group and inter-class variation. It further confirms that BoVW features and Blue-TDA exhibit the largest differences between classes, while Gray-TDA and Green-TDA are largely overlapping. This group representation provides a brief but useful summary of how each feature category contributes with the classification challenge. BoVW features appeared as the most discriminative in terms of both statistical variation and latent space structure, always showing clearer class-wise separation across visualizations. Among the TDA-derived features, those extracted from the Blue channel exhibited the greatest discriminative capacity, while features from the Gray and Green channels showed moderate separation. In contrast, Red-channel features demonstrated minimal variance and limited utility in distinguishing between classes. It is worth mentioning that Class 1 disease samples showed less variation across different feature groups. This could reflect the presence of consistent morphological abnormalities such as atrophied fibers and centrally located nuclei, as highlighted by WGA staining. Collectively, these observations verify that the combined feature representation, which incorporates BoVW and multi-channel TDA, effectively encodes class-relevant structural information and facilitates its application for precise disease classification. Although the BoVW-derived features appear discriminative—particularly in the region spanning the last 150 indices of the 950-dimensional feature space—the corresponding attention map indicates relatively low attention weights in that segment. The attention mechanism divides the full feature vector into five equal segments (each with 190 features), and BoVW features occupy the final segment (indices 760–949), with only 150 out of 190 positions used. The classification model may be prioritizing global structural information captured by topological features over localized visual patterns, as illustrated by the observed reduction in attention within this region (See Fig. 9 that visualized for 5 randomly selected test samples). This implies that, for differentiating between ALS and diabetic conditions in WGA-stained skeletal muscle images, the model relies more heavily on the global organization and spatial topology of muscle fibers than on fine-grained texture or shape descriptors encoded by BoVW. 4 Discussion In this study, we developed an automated pathological image analysis pipeline termed TopoBoW to evaluate skeletal muscle pathology in two disease models: ALS and diabetic myopathy. The parallel comparison with TopoBoW and manual approach showed that the TopoBoW pipeline can deliver relatively accurate measurements of muscle features. This is expected to facilitate the evaluation of therapeutic impact and the pathophysiological studies of muscle diseases. The most critical steps involve the identification of muscle fiber boundaries in WGA-stained sections, which allows for the computation of fiber cross-sectional areas (CSA), evaluation of fiber size variability, and detection of shape abnormalities. These structural features, along with the spatial correlation between muscle fibers, assist in the diagnosis of conditions such as ALS and diabetic myopathy, which necessitates expert knowledge and intensive manual labor. On the other hand, the proposed model can find disease-related patterns directly from raw image features, which means it doesn't need to do explicit CSA calculations. This could lead to uncovering hidden pathological patterns that are not readily captured through manual analysis. Our model circumvents these limitations by integrating topological signatures to capture global morphological structure and BoVW to encode local texture and color patterns. The model leverages complementary representations of muscle tissue without requiring explicit CSA measurement or manual annotation. The incorporation of an attention mechanism facilitates better classification performance by means of adaptive focus on the most discriminative features across these heterogeneous domains. Together, this design facilitates the identification of disease-specific tissue alterations in a more effective and interpretable manner. Our exploratory feature analysis provides further insight into the model's decision-making process. BoVW features demonstrated the highest-class separability, possibly due to their adaptability to local anomalies in fiber texture and intensity patterns. TDA-derived features, except for the red channel's features, showed substantial discriminatory power, reflecting the prominence of WGA fluorescence in these spectral bands. In contrast, the red-channel features exhibited minimal variance, which is consistent with the weak red signal in the original images. However, the attention heatmaps of the model demonstrated that the BoVW segment of the feature vector receives relatively low attention, despite its class-discriminative potential. This implies that the model might prioritize global features over local patterns during classification. Furthermore, disease-class samples have less variability across most feature groups, indicating a more homogeneous pathological tissue morphology. This is in line with the recognized histological characteristics of ALS and diabetic myopathy, which include increased central nucleation, fiber atrophy, and loss of structural integrity. These features are more consistent in affected samples than in healthy muscle tissue, which exhibits greater heterogeneity. Despite our promising findings, our study has a number of limitations. First, the dataset was constructed from a limited animal models, each representing a specific disease state (ALS or diabetes) and genetic background. While this design enables controlled comparisons, it may restrict the generalizability of the model to other types of myopathies or to human tissue. Secondly, the WGA staining protocol is capable of achieving exceptional membrane delineation; however, it fails to capture intracellular features, including fibrosis, inflammation, or mitochondrial alterations, which are also pertinent to the progression of the disease. Third, the classification task was framed as a binary distinction between healthy and diseased tissue, thereby oversimplifying the heterogeneity that exists within and across disease types. Furthermore, although the BoVW and TDA features are interpretable to a certain extent, they are still representations that are either handcrafted or engineered. The model does not currently incorporate spatial context or anatomical muscle-specific priors, which may be important in more complex classification settings. Finally, although the attention-based classifier improves interpretability and performance, it remains a black-box model to some extent, and future work should explore methods such as feature attribution techniques to improve transparency and trustworthiness in biomedical applications. 5 Conclusions This study proposes TopoBoW, an interpretable and efficient framework for automated skeletal muscle pathology classification. Thanks to integrated BoVW and TDA features, the model captures not only local texture but also global tissue structure, which leads to a more accurate classification of ALS, diabetic, and healthy muscle tissue. Although BoVW features showed the highest statistical separability, attention-based analysis revealed that the model assigned lower attention to this segment. This suggests that disease classification in WGA-stained muscle sections may rely more on global architectural organization than on local texture irregularities. Moreover, the reduced variability observed in diseased samples supports the presence of consistent morphological signatures associated with pathology. This study has certain limitations, despite the promising outcomes. These include a relatively small dataset, limited disease diversity, and the lack of spatial context in feature representation. In order to enhance interpretability and clinical relevance, future research will expand the dataset, apply feature attribution techniques, and incorporate anatomical priors. Declarations Ethics approval and consent to participate All animal procedures were conducted in compliance with the Guide for the Care and Use of Laboratory Animals and were approved by the Institutional Animal Care and Use Committee of Louisiana State University Health Sciences Center at Shreveport. The animals used in this study were obtained from The Jackson Laboratory (Bar Harbor, ME, USA), a licensed commercial vendor. No privately owned animals were used; therefore, owner consent was not applicable. Consent for publication Not applicable. Data Availability Statement All datasets generated and analyzed during the previous study are available from the corresponding author on reasonable request. Competing interests The authors declare no conflict of interest. Funding This work was supported by an Institutional Development Award (IDeA) from the National Institutes of General Medical Sciences NIH under grant number P20GM121307 to MANB. This project is also partially supported by Ike Muslow, MD, Endowed Chair in Healthcare Informatics of LSU Health Sciences Center Shreveport. Author Contributions Statement T.A. and M.A.N.B. conceptualized the study and designed the methodology. T.A developed the code and performed the experiments. T.A. wrote the initial draft of the manuscript, and M.A.N.B. reviewed and edited the text. R.A. and M.S.B. prepared the dataset. All authors reviewed and approved the final manuscript. Acknowledgements We acknowledge the use of large language models, including ChatGPT and QuillBot, to support grammar correction and language refinement throughout the preparation of this manuscript. References Chen M et al. Jun., ‘Multimodal whole slide image processing pipeline for quantitative mapping of tissue architecture and tissue microenvironment’, npj Imaging 2025 3:1 , vol. 3, no. 1, pp. 1–16, 2025, 10.1038/s44303-025-00088-w Abu-Rumeileh S et al. Mar., ‘Phosphorylated tau 181 and 217 are elevated in serum and muscle of patients with amyotrophic lateral sclerosis’, Nature Communications 2025 16:1 , vol. 16, no. 1, pp. 1–13, 2025, 10.1038/s41467-025-57144-7 Breschi A et al. Jul., ‘Multi-modal analyses of proteomic measurements associated with type 2 diabetes from the Project Baseline Health Study’, Communications Medicine 2025 5:1 , vol. 5, no. 1, pp. 1–14, 2025, 10.1038/s43856-025-00964-x Niu J et al. Apr., ‘Analysis of Sensitivity and Specificity: Precise Recognition of Neutrophils During Regeneration of Contused Skeletal Muscle in Rats’, Forensic Sci Res , vol. 7, no. 2, pp. 228–237, 2022, 10.1080/20961790.2020.1713432 LIU F, MACKEY AL, SRIKUEA R, ESSER KA, YANG L. Automated image segmentation of haematoxylin and eosin stained skeletal muscle cross-sections. J Microsc. Dec. 2013;252(3):275–85. https://doi.org/10.1111/jmi.12090 . Chen RJ, et al. Towards a general-purpose foundation model for computational pathology. Nat Med. 2024;30(3):850–62. Konnaris MA, et al. Computational pathology for musculoskeletal conditions using machine learning: advances, trends, and challenges. Arthritis Res Ther. 2022;24(1):68. Song AH et al. ‘Artificial intelligence for digital and computational pathology’, Nature Reviews Bioengineering 2023 1:12, vol. 1, no. 12, pp. 930–949, Oct. 2023. 10.1038/s44222-023-00096-8 Huang SC et al. Jun., ‘Deep neural network trained on gigapixel images improves lymph node metastasis detection in clinical settings’, Nature Communications 2022 13:1 , vol. 13, no. 1, pp. 1–14, 2022, 10.1038/s41467-022-30746-1 Zhou H et al. Sep., ‘Length-scale study in deep learning prediction for non-small cell lung cancer brain metastasis’, Scientific Reports 2024 14:1 , vol. 14, no. 1, pp. 1–13, 2024, 10.1038/s41598-024-73428-2 Coudray N, et al. Classification and mutation prediction from non–small cell lung cancer histopathology images using deep learning. Nat Med. Oct. 2018;24(10):1559–67. 10.1038/S41591-018-0177-5; . SUBJMETA=114,1305,631;KWRD=MACHINE+LEARNING. Lu MY, Williamson DFK, Chen TY, Chen RJ, Barbieri M, Mahmood F. Data-efficient and weakly supervised computational pathology on whole-slide images. Nat Biomed Eng. Jun. 2021;5(6):555–70. 10.1038/S41551-020-00682- . W;SUBJMETA=114,1305,139,1564,422,631,692,700;KWRD=IMAGE+PROCESSING,MACHINE+LEARNING,PATHOLOGY. Thomas T. ‘Automated systems comparable to expert pathologists for prostate cancer Gleason grading’, Nature Reviews Urology 2020 17:3, vol. 17, no. 3, pp. 131–131, Feb. 2020. 10.1038/s41585-020-0294-z Van Booven DJ et al. May., ‘Mitigating bias in prostate cancer diagnosis using synthetic data for improved AI driven Gleason grading’, npj Precision Oncology 2025 9:1 , vol. 9, no. 1, pp. 1–13, 2025, 10.1038/s41698-025-00934-5 Bera K, Schalper KA, Rimm DL, Velcheti V, Madabhushi A. Artificial intelligence in digital pathology — new tools for diagnosis and precision oncology. Nat Rev Clin Oncol. Nov. 2019;16(11):703–15. 10.1038/S41571-019-0252- . Y;SUBJMETA=114,1305,139,422,631,692,700;KWRD=MACHINE+LEARNING,PATHOLOGY. Desbois M et al. Nov., ‘Integrated digital pathology and transcriptome analysis identifies molecular mediators of T-cell exclusion in ovarian cancer’, Nature Communications 2020 11:1 , vol. 11, no. 1, pp. 1–14, 2020, 10.1038/s41467-020-19408-2 Tolkach Y, Dohmgörgen T, Toma M, Kristiansen G. ‘High-accuracy prostate cancer pathology using deep learning’, Nature Machine Intelligence 2020 2:7 , vol. 2, no. 7, pp. 411–418, Jul. 2020, 10.1038/s42256-020-0200-7 Jiang R et al. Jul., ‘A transformer-based weakly supervised computational pathology method for clinical-grade diagnosis and molecular marker discovery of gliomas’, Nature Machine Intelligence 2024 6:8 , vol. 6, no. 8, pp. 876–891, 2024, 10.1038/s42256-024-00868-w Huang L, Li Y, Pillar N, Keidar Haran T, Wallace WD, Ozcan A. A robust and scalable framework for hallucination detection in virtual tissue staining and digital pathology. Nat Biomedical Eng. Jun. 2025;2025:1–19. 10.1038/s41551-025-01421-9 . Lu MY, Williamson DFK, Chen TY, Chen RJ, Barbieri M, Mahmood F. Data-efficient and weakly supervised computational pathology on whole-slide images. Nat Biomed Eng. Jun. 2021;5(6):555–70. 10.1038/S41551-020-00682- . W;SUBJMETA=114,1305,139,1564,422,631,692,700;KWRD=IMAGE+PROCESSING,MACHINE+LEARNING,PATHOLOGY. Lee Y et al. ‘Derivation of prognostic contextual histopathological features from whole-slide images of tumours via graph deep learning’, Nature Biomedical Engineering 2022, pp. 1–15, Aug. 2022. 10.1038/s41551-022-00923-0 Hatipoglu N, Bilgin G. Cell segmentation in histopathological images with deep learning algorithms by utilizing spatial relationships. Med Biol Eng Comput. Oct. 2017;55(10):1829–48. 10.1007/S11517-017-1630-1/TABLES/13 . Jamal SB, Bilgin G. ‘Use of spatial information via markov and conditional random fields in histopathological images’, 2019 42nd International Conference on Telecommunications and Signal Processing, TSP 2019 , pp. 71–75, Jul. 2019. 10.1109/TSP.2019.8769093 Sun C et al. Oct., ‘Gastric histopathology image segmentation using a hierarchical conditional random field’, Biocybern Biomed Eng , vol. 40, no. 4, pp. 1535–1555, 2020, 10.1016/J.BBE.2020.09.008 Xu G et al. ‘CAMEL: A Weakly Supervised Learning Framework for Histopathology Image Segmentation’, 2019. Accessed: Jul. 02, 2025. [Online]. Available: https://github.com/ThoroughImages/CAMEL Waisman A, Norris AM, Elías M, Costa, Kopinke D. ‘Automatic and unbiased segmentation and quantification of myofibers in skeletal muscle’, Scientific Reports 2021 11:1 , vol. 11, no. 1, pp. 1–14, Jun. 2021, 10.1038/s41598-021-91191-6 Srinidhi CL, Kim SW, Chen FD, Martel AL. Self-supervised driven consistency training for annotation efficient histopathology image analysis. Med Image Anal. Jan. 2022;75:102256. 10.1016/J.MEDIA.2021.102256 . Naik N et al. Dec., ‘Deep learning-enabled breast cancer hormonal receptor status determination from base-level H&E stains’, Nat Commun , vol. 11, no. 1, pp. 1–8, 2020, 10.1038/S41467-020-19334-3 ;TECHMETA=139,141;SUBJMETA=114,1305,1347,631,67;KWRD=BREAST+CANCER,MACHINE+LEARNING. de Haan K et al. Aug., ‘Deep learning-based transformation of H&E stained tissues into special stains’, Nature Communications 2021 12:1 , vol. 12, no. 1, pp. 1–13, 2021, 10.1038/s41467-021-25221-2 Shamai G et al. Nov., ‘Deep learning-based image analysis predicts PD-L1 status from H&E-stained histopathology images in breast cancer’, Nature Communications 2022 13:1 , vol. 13, no. 1, pp. 1–13, 2022, 10.1038/s41467-022-34275-9 Garberis I et al. Jul., ‘Deep learning assessment of metastatic relapse risk from digitized breast cancer histological slides’, Nature Communications 2025 16:1 , vol. 16, no. 1, pp. 1–13, 2025, 10.1038/s41467-025-60824-z Skaf Y, Laubenbacher R. Topological data analysis in biomedicine: A review. J Biomed Inf. Jun. 2022;130:104082. 10.1016/J.JBI.2022.104082 . Sivic J, Zisserman A. ‘Video google: A text retrieval approach to object matching in videos’, Proceedings of the IEEE International Conference on Computer Vision , vol. 2, pp. 1470–1477, 2003, 10.1109/ICCV.2003.1238663 Bay H, Tuytelaars T, Van Gool L. ‘SURF: Speeded Up Robust Features’, Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) , vol. 3951 LNCS, pp. 404–417, 2006, 10.1007/11744023_32 Aishwarya R et al. ‘Pathological Sequelae Associated with Skeletal Muscle Atrophy and Histopathology in G93A*SOD1 Mice’, Muscles 2023, Vol. 2, Pages 51–74, vol. 2, no. 1, pp. 51–74, Feb. 2023. 10.3390/MUSCLES2010006 Aishwarya R, et al. Molecular Characterization of Skeletal Muscle Dysfunction in Sigma 1 Receptor (Sigmar1) Knockout Mice. Am J Pathol. Jan. 2022;192(1):160–77. 10.1016/J.AJPATH.2021.10.003 . Soendenbroe C, Karlsen A, Svensson RB, Kjaer M, Andersen JL, Mackey AL. ‘Marked irregular myofiber shape is a hallmark of human skeletal muscle ageing and is reversed by heavy resistance training’, J Cachexia Sarcopenia Muscle , vol. 15, no. 1, pp. 306–318, Feb. 2024, 10.1002/JCSM.13405;PAGEGROUP:STRING:PUBLICATION Dobrowolny G et al. Nov., ‘Skeletal Muscle Is a Primary Target of SOD1G93A-Mediated Toxicity’, Cell Metab , vol. 8, no. 5, pp. 425–436, 2008, 10.1016/j.cmet.2008.09.002 Rutkowski DT, Kaufman RJ. ‘That which does not kill me makes me stronger: adapting to chronic ER stress’, Trends Biochem Sci , vol. 32, no. 10, pp. 469–476, Oct. 2007, 10.1016/J.TIBS.2007.09.003/ASSET/60B111BD-AD67-441F-BE4B-E2283DDFA96D/MAIN.ASSETS/GR3.JPG Basu R, et al. Type 1 diabetic cardiomyopathy in the Akita (Ins2WT/C96Y) mouse model is characterized by lipotoxicity and diastolic dysfunction with preserved systolic function. Am J Physiol Heart Circ Physiol. Dec. 2009;297(6):2096–108. 10.1152/AJPHEART.00452.2009/SUPPL_FILE/FIGURE+S1.PDF . Akan T, Gelir F, Aishwarya R, Bhuiyan MS, Bhuiyan MAN. ‘AFTG-Net: A Deep Attention-based Fusion Framework of Topological and Gradient Features for Pathological Image Analysis’, Res Sq , p. rs-3, 2025. Coskunuzer B, Ahmed F. ‘Topo-Net: Retinal Image Analysis with Topological Deep Learning’, Available at SSRN 4725148 . Additional Declarations No competing interests reported. Cite Share Download PDF Status: Under Revision Version 1 posted Editorial decision: Revision requested 12 Feb, 2026 Reviews received at journal 21 Jan, 2026 Reviewers agreed at journal 08 Jan, 2026 Reviewers invited by journal 24 Nov, 2025 Editor assigned by journal 16 Oct, 2025 Submission checks completed at journal 16 Oct, 2025 First submitted to journal 15 Oct, 2025 You are reading this latest preprint version Research Square lets you share your work early, gain feedback from the community, and start making changes to your manuscript prior to peer review in a journal. As a division of Research Square Company, we’re committed to making research communication faster, fairer, and more useful. We do this by developing innovative software and high quality services for the global research community. Our growing team is made up of researchers and industry professionals working together to solve the most critical problems facing scientific publishing. Also discoverable on Platform About Our Team In Review Editorial Policies Advisory Board Help Center Resources Author Services Accessibility API Access RSS feed Manage Cookie Preferences © Research Square 2026 | ISSN 2693-5015 (online) Privacy Policy Terms of Service Do Not Sell My Personal Information {"props":{"pageProps":{"initialData":{"identity":"rs-7724033","acceptedTermsAndConditions":true,"allowDirectSubmit":false,"archivedVersions":[],"articleType":"Research Article","associatedPublications":[],"authors":[{"id":551302217,"identity":"8e5868b8-a174-4776-a8d1-ee8b30697dc7","order_by":0,"name":"Taymaz Akan","email":"","orcid":"","institution":"LSU Health Shreveport","correspondingAuthor":false,"prefix":"","firstName":"Taymaz","middleName":"","lastName":"Akan","suffix":""},{"id":551302218,"identity":"c589deef-afba-44ef-a867-b5900770b791","order_by":1,"name":"Richa Aishwarya","email":"","orcid":"","institution":"LSU Health Shreveport","correspondingAuthor":false,"prefix":"","firstName":"Richa","middleName":"","lastName":"Aishwarya","suffix":""},{"id":551302219,"identity":"c5e8b1c1-bc81-4df2-b1ce-b251a613a45b","order_by":2,"name":"Md. Shenuarin Bhuiyan","email":"","orcid":"","institution":"LSU Health Shreveport","correspondingAuthor":false,"prefix":"","firstName":"Md.","middleName":"Shenuarin","lastName":"Bhuiyan","suffix":""},{"id":551302220,"identity":"b6eee2c0-9961-412c-8ca7-5aceeb0ab9d3","order_by":3,"name":"Mohammad Alfrad Nobel Bhuiyan","email":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAAyAQMAAABI0h/eAAAABlBMVEX///8AAABVwtN+AAAACXBIWXMAAA7EAAAOxAGVKw4bAAABDklEQVRIiWNgGAWjYBACgwM8DAwPGP4kMDCDuBUWDAwSIAYbbi0WIC0JDMegWs5IENZiA9FyOAHMY2wjRsvx3oMPgLbkGRznMfxcOE/C3uB2+wOGD2WHcWoxO3Mu2SCB4U+xwWEeY+mZ2yQSN9w5Y8A44xweLTdyzCSAtiRuOMxjIM27TSLB4EYOAzNvG24txjdyzH8A/QLSYvybdw7QYTfSHzD/xaPFEGgLA1SLmTRvgwTjhhsJBsyM+LQA/QJ0zLHEmYfZyqx5jkkkzryRY3Cw51w6Ti0GwBD78KHiT2Lf+cObb/PU2Njz3Uh/+OBHmTVOLVCNIILDAM4/QEA9DLA/IFLhKBgFo2AUjDQAANvIX7xi2Hi7AAAAAElFTkSuQmCC","orcid":"","institution":"LSU Health Shreveport","correspondingAuthor":true,"prefix":"","firstName":"Mohammad","middleName":"Alfrad Nobel","lastName":"Bhuiyan","suffix":""}],"badges":[],"createdAt":"2025-09-26 17:53:14","currentVersionCode":1,"declarations":"","doi":"10.21203/rs.3.rs-7724033/v1","doiUrl":"https://doi.org/10.21203/rs.3.rs-7724033/v1","draftVersion":[],"editorialEvents":[],"editorialNote":"","failedWorkflow":false,"files":[{"id":97124439,"identity":"2c3ef349-ccc7-41cb-bbca-b79a4f3a6171","added_by":"auto","created_at":"2025-12-01 08:11:02","extension":"docx","order_by":0,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":1320342,"visible":true,"origin":"","legend":"","description":"","filename":"P09RA02.docx","url":"https://assets-eu.researchsquare.com/files/rs-7724033/v1/0f5ddaeb599f36f4c5e3e6ef.docx"},{"id":97124438,"identity":"d06b45e8-036b-45f1-af5d-7940f74fedc9","added_by":"auto","created_at":"2025-12-01 08:11:02","extension":"json","order_by":1,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":6264,"visible":true,"origin":"","legend":"","description":"","filename":"9c558b650c7b4ad48b681d083678eb6e.json","url":"https://assets-eu.researchsquare.com/files/rs-7724033/v1/c734b58aff5475d00bd53190.json"},{"id":97124440,"identity":"31ac13a4-16aa-48dd-8d61-f13ce67eb8c1","added_by":"auto","created_at":"2025-12-01 08:11:02","extension":"xml","order_by":2,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":121570,"visible":true,"origin":"","legend":"","description":"","filename":"9c558b650c7b4ad48b681d083678eb6e1enriched.xml","url":"https://assets-eu.researchsquare.com/files/rs-7724033/v1/6619afc42347d384ceeb56c0.xml"},{"id":97124442,"identity":"bb3cc7d1-f008-405d-b517-0ecac3033af1","added_by":"auto","created_at":"2025-12-01 08:11:03","extension":"jpeg","order_by":3,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":338853,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage1.jpeg","url":"https://assets-eu.researchsquare.com/files/rs-7724033/v1/41f1c7ece52f636f891e2e45.jpeg"},{"id":97124444,"identity":"dbbec1b3-8cf9-41d2-beab-20e308232449","added_by":"auto","created_at":"2025-12-01 08:11:03","extension":"jpeg","order_by":4,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":251976,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage2.jpeg","url":"https://assets-eu.researchsquare.com/files/rs-7724033/v1/440be0a72ab20dc287793ce8.jpeg"},{"id":97142886,"identity":"1d494716-3f48-42b2-b3bd-5c19372f731d","added_by":"auto","created_at":"2025-12-01 10:08:03","extension":"png","order_by":5,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":58742,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage3.png","url":"https://assets-eu.researchsquare.com/files/rs-7724033/v1/0a0513ce41a63ac757624c42.png"},{"id":97124457,"identity":"8d080d6e-1062-40d7-b09d-1e6039e8241d","added_by":"auto","created_at":"2025-12-01 08:11:03","extension":"jpeg","order_by":6,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":510252,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage4.jpeg","url":"https://assets-eu.researchsquare.com/files/rs-7724033/v1/3713193b61a116b19ccc951d.jpeg"},{"id":97124459,"identity":"f6b2bae9-3e4e-4ebd-8738-b6c2304e9be9","added_by":"auto","created_at":"2025-12-01 08:11:03","extension":"jpeg","order_by":7,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":621410,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage5.jpeg","url":"https://assets-eu.researchsquare.com/files/rs-7724033/v1/a385068a53bc99257b2bed66.jpeg"},{"id":97124468,"identity":"79c33ef5-c5dd-4d06-8d7e-3b7e556c46e2","added_by":"auto","created_at":"2025-12-01 08:11:04","extension":"jpeg","order_by":8,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":318885,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage6.jpeg","url":"https://assets-eu.researchsquare.com/files/rs-7724033/v1/42c27271690243a53c55f634.jpeg"},{"id":97142573,"identity":"36640676-2bcc-431c-8d19-b6864136d558","added_by":"auto","created_at":"2025-12-01 10:07:43","extension":"jpeg","order_by":9,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":394899,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage7.jpeg","url":"https://assets-eu.researchsquare.com/files/rs-7724033/v1/c96b3058ea9ba6e55aa801b6.jpeg"},{"id":97124470,"identity":"67dd72fd-9ed3-49e8-9a3e-2acd88a6119f","added_by":"auto","created_at":"2025-12-01 08:11:04","extension":"jpeg","order_by":10,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":302921,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage8.jpeg","url":"https://assets-eu.researchsquare.com/files/rs-7724033/v1/3d7271eb855c87c4670fed82.jpeg"},{"id":97140783,"identity":"963fb779-60c9-4d3a-b572-e4c6c1ec2b63","added_by":"auto","created_at":"2025-12-01 10:05:46","extension":"jpeg","order_by":11,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":93519,"visible":true,"origin":"","legend":"","description":"","filename":"floatimage9.jpeg","url":"https://assets-eu.researchsquare.com/files/rs-7724033/v1/f8f2890178f15b5a3321dedc.jpeg"},{"id":97142266,"identity":"89869858-fdf7-4a74-9529-febad19ca3e2","added_by":"auto","created_at":"2025-12-01 10:07:28","extension":"png","order_by":12,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":57008,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage1.png","url":"https://assets-eu.researchsquare.com/files/rs-7724033/v1/b76a1bda20353c93beb38a5d.png"},{"id":97142354,"identity":"dc69c88c-17e8-4626-859a-194dfc481076","added_by":"auto","created_at":"2025-12-01 10:07:33","extension":"png","order_by":13,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":44140,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage2.png","url":"https://assets-eu.researchsquare.com/files/rs-7724033/v1/6508897181d48d9721282ee7.png"},{"id":97141197,"identity":"c4ca8893-00d3-4a0d-b241-f7baee6391e5","added_by":"auto","created_at":"2025-12-01 10:06:24","extension":"png","order_by":14,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":19700,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage3.png","url":"https://assets-eu.researchsquare.com/files/rs-7724033/v1/e54bee86e132cc475e39bca7.png"},{"id":97124453,"identity":"58b4a72c-1d58-494f-8fcc-d476e0deca8a","added_by":"auto","created_at":"2025-12-01 08:11:03","extension":"png","order_by":15,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":109419,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage4.png","url":"https://assets-eu.researchsquare.com/files/rs-7724033/v1/0c167c782e27c0eea81c08cf.png"},{"id":97124454,"identity":"dfa85730-3ce5-4a1b-9b9a-20eb3e2ee2b9","added_by":"auto","created_at":"2025-12-01 08:11:03","extension":"png","order_by":16,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":134123,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage5.png","url":"https://assets-eu.researchsquare.com/files/rs-7724033/v1/43ab2ae953751e981914b010.png"},{"id":97141338,"identity":"50718341-03d3-49ef-9061-e0a96c05e297","added_by":"auto","created_at":"2025-12-01 10:06:36","extension":"png","order_by":17,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":73195,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage6.png","url":"https://assets-eu.researchsquare.com/files/rs-7724033/v1/62d7d6c100df234d8b007dbb.png"},{"id":97124448,"identity":"3d4c9ac6-8873-4115-ba37-24d4cbe91d26","added_by":"auto","created_at":"2025-12-01 08:11:03","extension":"png","order_by":18,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":75325,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage7.png","url":"https://assets-eu.researchsquare.com/files/rs-7724033/v1/a2dd217011b916b3da5569ac.png"},{"id":97124451,"identity":"21427208-0074-42ed-8291-96f9a72828ac","added_by":"auto","created_at":"2025-12-01 08:11:03","extension":"png","order_by":19,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":55721,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage8.png","url":"https://assets-eu.researchsquare.com/files/rs-7724033/v1/dd436af3a8f6065ee55b4dcb.png"},{"id":97141936,"identity":"dfcb95f7-1547-4097-9a65-609193aed7e7","added_by":"auto","created_at":"2025-12-01 10:07:10","extension":"png","order_by":20,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":18514,"visible":true,"origin":"","legend":"","description":"","filename":"Onlinefloatimage9.png","url":"https://assets-eu.researchsquare.com/files/rs-7724033/v1/2b394bab9a3034d78c726217.png"},{"id":97142579,"identity":"5ec48e0b-6c2d-4d22-8af9-bdc942045a94","added_by":"auto","created_at":"2025-12-01 10:07:43","extension":"xml","order_by":21,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":119805,"visible":true,"origin":"","legend":"","description":"","filename":"9c558b650c7b4ad48b681d083678eb6e1structuring.xml","url":"https://assets-eu.researchsquare.com/files/rs-7724033/v1/e7531660f7358c14f22849f1.xml"},{"id":97124463,"identity":"c0437b16-f072-499d-bd49-5058c9a26c3f","added_by":"auto","created_at":"2025-12-01 08:11:03","extension":"html","order_by":22,"title":"","display":"","copyAsset":false,"role":"acdc-reference","size":133783,"visible":true,"origin":"","legend":"","description":"","filename":"earlyproof.html","url":"https://assets-eu.researchsquare.com/files/rs-7724033/v1/5f95876fac8d97dad7528a08.html"},{"id":97124435,"identity":"232fe3ad-7b1c-44a5-ac8b-1aec5a98c71e","added_by":"auto","created_at":"2025-12-01 08:11:02","extension":"jpg","order_by":1,"title":"Figure 1","display":"","copyAsset":false,"role":"figure","size":113962,"visible":true,"origin":"","legend":"\u003cp\u003eOverview of the hybrid feature extraction pipeline. Topological features are obtained using Betti curves from persistence barcodes across multiple color channels, while visual features are extracted using the BoVW approach based on SURF descriptors. The resulting topological and visual histograms are concatenated to form the final feature vector for classification.\u003c/p\u003e","description":"","filename":"1.jpg","url":"https://assets-eu.researchsquare.com/files/rs-7724033/v1/6f25f02fffa3700bbb335c53.jpg"},{"id":97142555,"identity":"eb549970-2da9-4ecf-83c3-901f1d1aa4a7","added_by":"auto","created_at":"2025-12-01 10:07:43","extension":"jpg","order_by":2,"title":"Figure 2","display":"","copyAsset":false,"role":"figure","size":80721,"visible":true,"origin":"","legend":"\u003cp\u003eArchitecture of the classification model. The 950-dimensional hybrid feature vector is first passed through a multi-head attention mechanism (10 heads), followed by flattening. The output is processed through a series of fully connected layers with GELU activation and dropout regularization. The final dense layer with two output units performs binary classification to distinguish between disease and non-disease samples.\u003c/p\u003e","description":"","filename":"2.jpg","url":"https://assets-eu.researchsquare.com/files/rs-7724033/v1/722ea30e2380cc087756743b.jpg"},{"id":97124436,"identity":"67f9905c-3660-4911-b808-20e38fa1bd5e","added_by":"auto","created_at":"2025-12-01 08:11:02","extension":"jpg","order_by":3,"title":"Figure 3","display":"","copyAsset":false,"role":"figure","size":92382,"visible":true,"origin":"","legend":"\u003cp\u003eConfusion matrices demonstrate the classification performance of six different models on WGA-stained skeletal muscle images. With its superior sensibility and accuracy, the TopoBoW model effectively distinguishes between healthy and diseased muscle tissue, surpassing other models in terms of false positives and true negatives.\u003c/p\u003e","description":"","filename":"3.jpg","url":"https://assets-eu.researchsquare.com/files/rs-7724033/v1/f2bcc137c0d53c2cca05eb2b.jpg"},{"id":97141587,"identity":"3018615a-0a6a-4451-9ff3-f455df34230c","added_by":"auto","created_at":"2025-12-01 10:06:50","extension":"jpg","order_by":4,"title":"Figure 4","display":"","copyAsset":false,"role":"figure","size":199679,"visible":true,"origin":"","legend":"\u003cp\u003e\u003cstrong\u003e(a) \u003c/strong\u003eCompare all models' classification performance with ROC curves. The TopoBoW model had the highest AUC of 0.98, indicating excellent discrimination. HOG-based models had lower AUC values and limited classification capacity. \u003cstrong\u003e(b)\u003c/strong\u003e Radar plot showing precision, recall, F1-score, accuracy, and AUC for each method. The TopoBoW model consistently outperformed all other approaches across all metrics in capturing topological and visual features for skeletal muscle pathology classification.\u003c/p\u003e","description":"","filename":"4.jpg","url":"https://assets-eu.researchsquare.com/files/rs-7724033/v1/980d32f27d5e5bbf506e1b63.jpg"},{"id":97124449,"identity":"4d733a71-5ed4-4dc3-bc74-bff33df24125","added_by":"auto","created_at":"2025-12-01 08:11:03","extension":"jpg","order_by":5,"title":"Figure 5","display":"","copyAsset":false,"role":"figure","size":177463,"visible":true,"origin":"","legend":"\u003cp\u003e\u003cstrong\u003e(a) \u003c/strong\u003eStandardized feature vectors for all samples plotted per class. Each line represents the 950-dimensional feature vector of a single image, with semi-transparent curves showing individual samples and bold lines denoting class-wise means (blue: non-disease, red: disease). Regions of pronounced divergence suggest features with high class-separability.\u003cstrong\u003e (b\u003c/strong\u003e) Class-wise mean and standard deviation (mean ± std) for each feature dimension. Shaded regions represent one standard deviation around the mean value for each class.\u003c/p\u003e","description":"","filename":"5.jpg","url":"https://assets-eu.researchsquare.com/files/rs-7724033/v1/b837c7c4c3d305a35572e6e0.jpg"},{"id":97142005,"identity":"7358f55d-43dd-43b4-88fa-e7ceea93c520","added_by":"auto","created_at":"2025-12-01 10:07:16","extension":"jpg","order_by":6,"title":"Figure 6","display":"","copyAsset":false,"role":"figure","size":88783,"visible":true,"origin":"","legend":"\u003cp\u003eRadar plot illustrating the class-wise mean values of standardized features, which are categorized according to their origin: Gray-TDA, Red-TDA, Green-TDA, Blue-TDA, and BoVW. Each region represents a different set of features, with Class 0 (non-disease) in light blue and Class 1 (disease) in orange.\u003c/p\u003e","description":"","filename":"6.jpg","url":"https://assets-eu.researchsquare.com/files/rs-7724033/v1/922d8ef606276714a876d475.jpg"},{"id":97141080,"identity":"e311ca87-0638-4937-babf-710ea2fc2107","added_by":"auto","created_at":"2025-12-01 10:06:12","extension":"jpg","order_by":7,"title":"Figure 7","display":"","copyAsset":false,"role":"figure","size":168413,"visible":true,"origin":"","legend":"\u003cp\u003eUMAP visualizations of hybrid feature vectors with both topological (TDA) and visual (BoVW) representations. \u003cstrong\u003e(a)\u003c/strong\u003e 2D UMAP projection with class labels (0: no disease, 1: disease) that shows different clustering patterns between the two groups. \u003cstrong\u003e(b)\u003c/strong\u003e 3D UMAP projection further highlights the class-wise separability in the embedded space, supporting the discriminative capacity of the hybrid feature set.\u003c/p\u003e","description":"","filename":"7.jpg","url":"https://assets-eu.researchsquare.com/files/rs-7724033/v1/593862ed4780c34ed9cf7712.jpg"},{"id":97124462,"identity":"f35c845a-104a-465b-a055-47b60d934d0f","added_by":"auto","created_at":"2025-12-01 08:11:03","extension":"jpg","order_by":8,"title":"Figure 8","display":"","copyAsset":false,"role":"figure","size":131638,"visible":true,"origin":"","legend":"\u003cp\u003eGrouped boxplots show scaled feature values from different feature sources (Gray-TDA, Red-TDA, Green-TDA, Blue-TDA, and BoVW) and classes (0: no disease, 1: disease). Each pair of boxplots represents the distribution of all features extracted from a given source, separated by class. Red-TDA features show little variation, but other groups, in particular BoVW, Blue-TDA, and Gray-TDA, show clear differences in median and spread between classes, reflecting their relative discriminative capacity.\u003c/p\u003e","description":"","filename":"8.jpg","url":"https://assets-eu.researchsquare.com/files/rs-7724033/v1/d21f823534804927909db6ca.jpg"},{"id":97124466,"identity":"dcd8524a-142f-4ead-832a-e419630adff0","added_by":"auto","created_at":"2025-12-01 08:11:03","extension":"jpg","order_by":9,"title":"Figure 9","display":"","copyAsset":false,"role":"figure","size":40522,"visible":true,"origin":"","legend":"\u003cp\u003eAttention heatmap over the 950-dimensional feature space, visualized for 5 randomly selected test samples. The model divides the input feature vector into five equal-length segments (190 features each) for attention processing.\u003c/p\u003e","description":"","filename":"9.jpg","url":"https://assets-eu.researchsquare.com/files/rs-7724033/v1/be814d63071ab5b96e92f71c.jpg"},{"id":97249392,"identity":"454956dc-0aad-4924-a149-a9ef80fd1f70","added_by":"auto","created_at":"2025-12-02 13:12:28","extension":"pdf","order_by":0,"title":"","display":"","copyAsset":false,"role":"manuscript-pdf","size":1947402,"visible":true,"origin":"","legend":"","description":"","filename":"manuscript.pdf","url":"https://assets-eu.researchsquare.com/files/rs-7724033/v1/1a2b9e59-d6f5-473a-aa1f-604d264b2e4d.pdf"}],"financialInterests":"No competing interests reported.","formattedTitle":"Computational Pathology with Topological signatures and Visual Word Encoding","fulltext":[{"header":"1 Introduction","content":"\u003cp\u003eTissue pathology reflects a wide range of structural and cellular changes resulting from physiological conditions, aging, injury, and disease. These changes often result in altered tissue architecture, cell morphology, nuclear positioning, and extracellular matrix organization [\u003cspan citationid=\"CR1\" class=\"CitationRef\"\u003e1\u003c/span\u003e]. Such morphological changes are significant biomarkers for the diagnosis, monitoring of disease progression, and assessment of therapeutic efficacy in a wide range of medical conditions, including genetic, neurological, and metabolic diseases. For instance, diseases like diabetes and amyotrophic lateral sclerosis (ALS) frequently cause pathological alterations in skeletal muscle, including fiber atrophy, nuclear mislocalization, and altered extracellular matrix composition [\u003cspan citationid=\"CR2\" class=\"CitationRef\"\u003e2\u003c/span\u003e], [\u003cspan citationid=\"CR3\" class=\"CitationRef\"\u003e3\u003c/span\u003e]. Histological analysis remains the gold standard for detecting such tissue abnormalities, but traditional methods rely heavily on manual annotations by trained experts. Even more so in large-scale or longitudinal studies, this labor-intensive and time-consuming manual process is affected by inter- and intra-observer variability [\u003cspan citationid=\"CR4\" class=\"CitationRef\"\u003e4\u003c/span\u003e], [\u003cspan citationid=\"CR5\" class=\"CitationRef\"\u003e5\u003c/span\u003e]. Consequently, there is a growing demand for objective, interpretable, and scalable computational tools to assist in pathology analysis across a variety of tissue types and disease contexts.\u003c/p\u003e\u003cp\u003eComputational pathology has undergone significant changes in recent years due to the rise of digital slide scanning, AI research advancements, increased access to large datasets, and high-performance computing resources [\u003cspan citationid=\"CR6\" class=\"CitationRef\"\u003e6\u003c/span\u003e], [\u003cspan citationid=\"CR7\" class=\"CitationRef\"\u003e7\u003c/span\u003e], [\u003cspan citationid=\"CR8\" class=\"CitationRef\"\u003e8\u003c/span\u003e]. This field has huge potential for automating clinical diagnosis, predicting patient prognosis and response to therapy, and discovering new morphological biomarkers using tissue imaging.\u003c/p\u003e\u003cp\u003eThe clinical practice of pathology involves a wide range of tasks, including metastasis detection [\u003cspan citationid=\"CR9\" class=\"CitationRef\"\u003e9\u003c/span\u003e], [\u003cspan citationid=\"CR10\" class=\"CitationRef\"\u003e10\u003c/span\u003e], subtyping [\u003cspan citationid=\"CR11\" class=\"CitationRef\"\u003e11\u003c/span\u003e], [\u003cspan citationid=\"CR12\" class=\"CitationRef\"\u003e12\u003c/span\u003e], grading [\u003cspan citationid=\"CR13\" class=\"CitationRef\"\u003e13\u003c/span\u003e], [\u003cspan citationid=\"CR14\" class=\"CitationRef\"\u003e14\u003c/span\u003e], and staging. Given the huge variety of possible disease presentations, pathologists are often required to address highly diverse diagnostic challenges simultaneously [\u003cspan citationid=\"CR8\" class=\"CitationRef\"\u003e8\u003c/span\u003e], [\u003cspan citationid=\"CR15\" class=\"CitationRef\"\u003e15\u003c/span\u003e], [\u003cspan citationid=\"CR16\" class=\"CitationRef\"\u003e16\u003c/span\u003e]. In order to meet this complexity, computational pathology has successfully employed a variety of methods, such as deep learning, handcrafted feature extraction, and hybrid approaches, each tailored to specific tasks [\u003cspan citationid=\"CR17\" class=\"CitationRef\"\u003e17\u003c/span\u003e], [\u003cspan citationid=\"CR18\" class=\"CitationRef\"\u003e18\u003c/span\u003e], [\u003cspan citationid=\"CR19\" class=\"CitationRef\"\u003e19\u003c/span\u003e], [\u003cspan citationid=\"CR20\" class=\"CitationRef\"\u003e20\u003c/span\u003e], [\u003cspan citationid=\"CR21\" class=\"CitationRef\"\u003e21\u003c/span\u003e]. However, despite these promising developments, many existing approaches fall short in capturing the full spectrum of tissue morphology, particularly when both global structural patterns and local textural details must be jointly analyzed for reliable and interpretable outcomes.\u003c/p\u003e\u003cp\u003eDespite these advancements, it is still challenging to extract clinically significant features from WGA-stained images. Conventional techniques like ImageJ-based tools are time-consuming and produce varying outcomes due to their manual cell counting, segmentation, and thresholding. Moreover, the majority of existing automated pipelines use classical image processing or CNN-based segmentation, which are frequently limited to fiber boundary detection or average size quantification [\u003cspan citationid=\"CR22\" class=\"CitationRef\"\u003e22\u003c/span\u003e], [\u003cspan citationid=\"CR23\" class=\"CitationRef\"\u003e23\u003c/span\u003e], [\u003cspan citationid=\"CR24\" class=\"CitationRef\"\u003e24\u003c/span\u003e], [\u003cspan citationid=\"CR25\" class=\"CitationRef\"\u003e25\u003c/span\u003e], [\u003cspan citationid=\"CR26\" class=\"CitationRef\"\u003e26\u003c/span\u003e], [\u003cspan citationid=\"CR27\" class=\"CitationRef\"\u003e27\u003c/span\u003e]. These approaches may overlook higher-order structural properties, such as fiber spatial arrangement, global tissue organization, or disease-related shape irregularities.\u003c/p\u003e\u003cp\u003eFurthermore, the majority of developed automated methods have been primarily developed and validated on H\u0026amp;E-stained images [\u003cspan citationid=\"CR28\" class=\"CitationRef\"\u003e28\u003c/span\u003e], [\u003cspan citationid=\"CR29\" class=\"CitationRef\"\u003e29\u003c/span\u003e], [\u003cspan citationid=\"CR30\" class=\"CitationRef\"\u003e30\u003c/span\u003e], [\u003cspan citationid=\"CR31\" class=\"CitationRef\"\u003e31\u003c/span\u003e], where muscle fiber boundaries are less distinct and are frequently simplified using basic geometric assumptions, such as circular or elliptical area estimations (i.e., approximating each muscle fiber as a perfect circle or ellipse to compute cross-sectional area). On the other hand, WGA-stained images demonstrate a precise delineation of the sarcolemma, which reveals the original irregularity and complexity of muscle fiber contours. These detailed boundaries present a challenge in terms of the application of traditional shape-based metrics, such as cross-sectional area or diameter, without a substantial reduction in structural detail. Consequently, to accurately interpret the morphological complexity captured in WGA-stained muscle sections, more sophisticated and robust analysis techniques are necessary, particularly in diseased tissues where the shape of the fibers is frequently highly variable.\u003c/p\u003e\u003cp\u003eIn this context, topological data analysis (TDA) offers a promising alternative. TDA can extract global shape features that are invariant to local deformations and noise by characterization the connectivity and voids within tissue architecture. Betti curves are a frequently employed TDA tool that summarizes the evolution of topological features (e.g., connected components, holes) across filtration thresholds, thereby providing an interpretable descriptor of tissue geometry [\u003cspan citationid=\"CR32\" class=\"CitationRef\"\u003e32\u003c/span\u003e].\u003c/p\u003e\u003cp\u003eIn addition to TDA, local texture and color data within muscle images can be efficiently captured using the Bag of Visual Words (BoVW) technique, which is derived from natural language processing [\u003cspan citationid=\"CR33\" class=\"CitationRef\"\u003e33\u003c/span\u003e]. BoVW models visual content by extracting local descriptors (e.g., SURF [\u003cspan citationid=\"CR34\" class=\"CitationRef\"\u003e34\u003c/span\u003e]), clustering them into a visual vocabulary, and encoding images as histograms over this vocabulary. This representation preserves fine-grained patterns of color, shape, and texture, which may correspond to pathological microstructures in diseased muscle.\u003c/p\u003e\u003cp\u003eIn this study, we propose a hybrid feature extraction framework that fuses TDA-derived Betti curve features with BoVW histograms to create a unified representation of pathological image morphology. We apply this approach to WGA-stained sections of five different skeletal muscles\u0026mdash;quadriceps, gastrocnemius, soleus, extensor digitorum longus (EDL), and tibialis anterior (TA)\u0026mdash;collected from healthy wild-type mice and two disease models: G93A*SOD1 mice, a well-established model for ALS, and C57BL/6-Ins2Akita/J (Akita) mice, a Type I diabetes model. The pathological characteristics identified in these models, including central nucleation, variability in fiber size, and structural disarray, are amenable to assessment through both topological and texture-based descriptors.\u003c/p\u003e\u003cp\u003eThis study aims to advance pathological image analysis by integrating global structural summaries (TDA) with local appearance cues (BoVW). This integration improves the capacity to discriminate between healthy and diseased muscle tissues. The fused features improve classification performance while also providing interpretable insights into disease morphological signatures, paving the way for scalable and objective skeletal muscle phenotyping in preclinical research.\u003c/p\u003e"},{"header":"2 Materials and methods","content":"\u003cdiv id=\"Sec3\" class=\"Section2\"\u003e\u003ch2\u003e2.1 Animal Models and Tissue Preparation\u003c/h2\u003e\u003cp\u003eSkeletal muscle samples were collected from two established mouse models of disease: G93ASOD1 transgenic mice, which are a model of amyotrophic lateral sclerosis (ALS), and C57BL/6-Ins2Akita/J (Akita) mice, which are a model for Type I diabetes. Healthy controls were established using wild-type and G93ASOD1 non-carrier mice on a C57BL/6 background. Both the disease models and their respective control mice were acquired from The Jackson Laboratories (Bar Harbour, ME, USA). All mice were housed in standard conditions, which included a typical chow diet, unlimited access to water, 12-hour light-dark cycles, and temperature-controlled environments. All animals were purchased from The Jackson Laboratory (Bar Harbor, ME, USA), a commercial research animal supplier, and were not privately owned. The LSU Health-Shreveport Institutional Animal Care and Use Committee approved the animal care and experimental procedures in accordance with the NIH Guide for the Care and Use of Laboratory Animals. The specifics of muscle dissection and sample processing have been previously described [\u003cspan citationid=\"CR35\" class=\"CitationRef\"\u003e35\u003c/span\u003e].\u003c/p\u003e\u003c/div\u003e\u003cdiv id=\"Sec4\" class=\"Section2\"\u003e\u003ch2\u003e2.2 WGA Staining and Microscopy\u003c/h2\u003e\u003cp\u003eSkeletal muscle tissues were obtained from five distinct anatomical regions: the quadriceps, gastrocnemius, soleus, extensor digitorum longus (EDL), and tibialis anterior (TA). All mice were anesthetized with isoflurane (Isospire\u0026trade;, Dechra Veterinary Products, KS, USA) overdose (5% concentration), and anesthesia was confirmed by the absence of a pedal withdrawal reflex before euthanasia by exsanguination and pneumothorax. Tissues were, then, extracted bilaterally, fixed in formalin, and paraffin-embedded to prepare histological blocks. Deparaffinization and rehydration were performed on thin sections (5 \u0026micro;m). Antigen retrieval was accomplished by boiling the samples in 10 mmol/L sodium citrate buffer (pH 6.0) at 100\u0026deg;C. In order to label cell membranes, sections were incubated with Alexa Fluor 488-conjugated wheat germ agglutinin (WGA, 5 \u0026micro;g/mL) for 1 hour after being blocked in a solution containing 1% bovine serum albumin, 0.1% cold water fish skin gelatin, and 1% Tween-20 in PBS. The nuclei were counterstained with DAPI for a period of 5 minutes. The slides were washed in PBS and mounted using Vectashield mounting medium. The images were analyzed using Nikon NIS Elements (v4.13.04), and the Nikon A1R confocal microscope (20\u0026times; objective) was used to conduct the imaging. The complete staining and imaging protocol has been comprehensively described in previous research [\u003cspan citationid=\"CR35\" class=\"CitationRef\"\u003e35\u003c/span\u003e], [\u003cspan citationid=\"CR36\" class=\"CitationRef\"\u003e36\u003c/span\u003e].\u003c/p\u003e\u003c/div\u003e\u003cdiv id=\"Sec5\" class=\"Section2\"\u003e\u003ch2\u003e2.3 Dataset and Classification Framework\u003c/h2\u003e\u003cp\u003eThe final dataset comprised five distinct muscle types per subject, including WGA-stained muscle sections from Akita, G93A*SOD1, and wild-type mice. Centrally located nuclei, an increase in small or irregularly shaped fibers, and altered myofiber morphology are some of the pathological changes observed in G93A*SOD1 mice, a model that is representative of ALS [\u003cspan citationid=\"CR35\" class=\"CitationRef\"\u003e35\u003c/span\u003e], [\u003cspan citationid=\"CR37\" class=\"CitationRef\"\u003e37\u003c/span\u003e], [\u003cspan citationid=\"CR38\" class=\"CitationRef\"\u003e38\u003c/span\u003e]. Conversely, healthy muscle fibers are distinguished by their variable cross-sectional area (CSA), peripheral nuclei, and polygonal geometry [\u003cspan citationid=\"CR11\" class=\"CitationRef\"\u003e11\u003c/span\u003e]. Histological abnormalities and muscle dysfunction are the distinguishing characteristics of the Akita mouse, which functions as a model for Type I diabetes [\u003cspan citationid=\"CR39\" class=\"CitationRef\"\u003e39\u003c/span\u003e], [\u003cspan citationid=\"CR40\" class=\"CitationRef\"\u003e40\u003c/span\u003e]. For the purpose of model development and evaluation, all images were classified as either healthy or diseased (e.g., diabetic muscle or ALS). In order to evaluate the classification framework's performance, the dataset was partitioned into training and test sets.\u003c/p\u003e\u003c/div\u003e\u003cdiv id=\"Sec6\" class=\"Section2\"\u003e\u003ch2\u003e2.4 Computational Feature Extraction and Classification\u003c/h2\u003e\u003cp\u003eWe propose a hybrid classification framework for histology image analysis that combines classical computer vision features with topological descriptors. We apply this approach to automatically classify skeletal muscle histology images into healthy, ALS, or diabetic categories. To guarantee consistency across the dataset, all input images were resized to a fixed resolution of 224 \u0026times; 224 pixels before feature extraction.\u003c/p\u003e\u003cp\u003eFirst, we employed the BoVW model to capture textural and morphological information. For each image in the training set, Speeded-Up Robust Features (SURF) were extracted to identify key local interest points. These features were then clustered using K-Means to create a unified \"visual vocabulary.\" Subsequently, each image in the dataset was represented as a histogram corresponding to the frequency of these visual words, effectively summarizing the textural content of the image. Next, TDA features were implemented to characterize the structural organization of the muscle fibers. These pre-computed TDA features offer a distinctive, global perspective on tissue architecture by quantifying high-level spatial relationships, including the cyclic structures and connectivity patterns formed by the muscle cells. Finally, the TDA feature vector and BoVW histogram of each image were combined to create a single, all-inclusive hybrid feature vector. Local textural patterns are combined with global topological signatures in this fused vector. The fused feature vectors from the training set were used to train an attention-based multilayer perceptron (MLP).\u003c/p\u003e\u003cdiv id=\"Sec7\" class=\"Section3\"\u003e\u003ch2\u003e2.4.1 Bag-of-Visual-Words (BoVW) Using SURF Descriptors\u003c/h2\u003e\u003cp\u003eWe implemented a BoVW model to extract local visual patterns from WGA-stained images. This model pipeline was constructed as follows:\u003c/p\u003e\u003cp\u003e\u003cb\u003eI. Keypoint Detection and Description\u003c/b\u003e:\u003c/p\u003e\u003cp\u003eSpeeded-Up Robust Features (SURF) were extracted for each image. Each image \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\:I\\)\u003c/span\u003e\u003c/span\u003e was represented by a set of local descriptors \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\:D=\\left\\{{d}_{1},{d}_{2},\\dots\\:,{d}_{N}\\right\\}\\)\u003c/span\u003e\u003c/span\u003e, where \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\:{d}_{i}\\in\\:{\\mathbb{R}}^{k}\\)\u003c/span\u003e\u003c/span\u003e.\u003c/p\u003e\u003cp\u003e\u003cb\u003eII. Visual Vocabulary Construction\u003c/b\u003e:\u003c/p\u003e\u003cp\u003eAll descriptors from training images were clustered into \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\:K\\)\u003c/span\u003e\u003c/span\u003e clusters using MiniBatch K-Means. The centroid of each cluster represented a \"visual word,\" forming the vocabulary \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\:V=\\left\\{{v}_{1},{v}_{2},\\dots\\:,{v}_{K}\\right\\}\\)\u003c/span\u003e\u003c/span\u003e.\u003cdiv id=\"Equ1\" class=\"Equation\"\u003e\u003cdiv format=\"TEX\" class=\"mathdisplay\" id=\"FileID_Equ1\" name=\"EquationSource\"\u003e\n$$\\:\\underset{V}{\\text{m}\\text{i}\\text{n}}\\:\\sum\\:_{i=1}^{N}\\:\\underset{j=1,\\dots\\:,K}{\\text{m}\\text{i}\\text{n}}\\:{‖{d}_{i}-{v}_{j}‖}^{2}$$\u003c/div\u003e\u003cdiv class=\"EquationNumber\"\u003e1\u003c/div\u003e\u003c/div\u003e\u003c/p\u003e\u003cp\u003eFor this study, we set \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\:K=150\\)\u003c/span\u003e\u003c/span\u003e.\u003c/p\u003e\u003cp\u003e\u003cb\u003eIII. Histogram Representation\u003c/b\u003e:\u003c/p\u003e\u003cp\u003eEach image was encoded as a histogram \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\:h\\in\\:{\\mathbb{R}}^{K}\\)\u003c/span\u003e\u003c/span\u003e, where each element \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\:{h}_{j}\\)\u003c/span\u003e\u003c/span\u003e denotes the frequency of visual word \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\:{v}_{j}\\)\u003c/span\u003e\u003c/span\u003e in the image. We refer to this histogram representation as the BoVW feature vector for an image.\u003c/p\u003e\u003c/div\u003e\u003cdiv id=\"Sec8\" class=\"Section3\"\u003e\u003ch2\u003e2.4.2 TDA Features\u003c/h2\u003e\u003cp\u003eTo capture the higher-order structural and spatial information of muscle fibers, we incorporated topological features derived from persistent homology.\u003c/p\u003e\u003cp\u003e\u003cb\u003eI. Persistence Diagrams\u003c/b\u003e:\u003c/p\u003e\u003cp\u003eUsing Cubical Persistence, we computed \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\:0D\\)\u003c/span\u003e\u003c/span\u003e and \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\:1D\\)\u003c/span\u003e\u003c/span\u003e persistence diagrams \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\:{\\text{P}\\text{D}}_{0}\\)\u003c/span\u003e\u003c/span\u003e and \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\:{\\text{P}\\text{D}}_{1}\\)\u003c/span\u003e\u003c/span\u003e from RGB channel (Red, Green, Blue) alongside grayscale image [\u003cspan citationid=\"CR41\" class=\"CitationRef\"\u003e41\u003c/span\u003e].\u003c/p\u003e\u003cp\u003eLet \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\:f:{\\mathbb{Z}}^{2}\\to\\:\\mathbb{R}\\)\u003c/span\u003e\u003c/span\u003e express the pixel intensity function. The sublevel sets of \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\:f\\)\u003c/span\u003e\u003c/span\u003e define a filtration, and persistent homology tracks the birth and death of connected components \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\:\\left({\\text{H}}_{0}\\right)\\)\u003c/span\u003e\u003c/span\u003e and loops \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\:\\left({\\text{H}}_{1}\\right)\\)\u003c/span\u003e\u003c/span\u003e.\u003c/p\u003e\u003cp\u003e\u003cb\u003eII. Betti Curve Representation\u003c/b\u003e:\u003c/p\u003e\u003cp\u003eEach persistence diagram was converted to a Betti curve \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\:{\\beta\\:}_{k}\\left(t\\right)\\)\u003c/span\u003e\u003c/span\u003e using 100 bins for each channel, where \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\:k\\in\\:\\left\\{\\text{0,1}\\right\\}\\)\u003c/span\u003e\u003c/span\u003e. The Betti curve counts the number of topological features alive at threshold \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\:t\\)\u003c/span\u003e\u003c/span\u003e.\u003c/p\u003e\u003c/div\u003e\u003cdiv id=\"Sec9\" class=\"Section3\"\u003e\u003ch2\u003e2.4.3 Feature Concatenation:\u003c/h2\u003e\u003cp\u003eThe Betti curves from grayscale, red, green, and blue channels were concatenated, resulting in a final 800-dimensional vector per image:\u003cdiv id=\"Equ2\" class=\"Equation\"\u003e\u003cdiv format=\"TEX\" class=\"mathdisplay\" id=\"FileID_Equ2\" name=\"EquationSource\"\u003e\n$$\\:{\\mathbf{x}}_{\\text{T}\\text{D}\\text{A}}=\\left[{\\beta\\:}_{0}^{\\text{gray\\:}},{\\beta\\:}_{1}^{\\text{gray\\:}},{\\beta\\:}_{0}^{\\text{red\\:}},{\\beta\\:}_{1}^{\\text{red\\:}},\\dots\\:\\right]\\in\\:{\\mathbb{R}}^{800}$$\u003c/div\u003e\u003cdiv class=\"EquationNumber\"\u003e2\u003c/div\u003e\u003c/div\u003e\u003c/p\u003e\u003cp\u003eBy concatenating the vectors obtained from the TDA and BoVW pipelines, we implemented a feature-level fusion strategy to take advantage of complementary information captured by topological and visual descriptors. Figure\u0026nbsp;\u003cspan refid=\"Fig1\" class=\"InternalRef\"\u003e1\u003c/span\u003e shows how the TDA features were calculated using Betti curves for each topological channel (Red-TDA, Green-TDA, Blue-TDA, and Gray-TDA). This made a fixed-size representation that shows multi-scale topological summaries across color channels. We also computed BoVW histograms by taking SURF descriptors from input images, using k-means clustering to construct a visual vocabulary, and then encoding each image as a normalized histogram over visual word occurrences.\u003c/p\u003e\u003cp\u003eThe final feature representation for each image was obtained by concatenating the TDA-based topological feature vector with the BoVW histogram. This fused vector integrates global structural signatures (from persistent homology) and local texture-color statistics (from visual words), enhancing the model's capacity to distinguish disease phenotypes in skeletal muscle morphology. All features were standardized prior to classification.\u003c/p\u003e\u003cp\u003e\u003c/p\u003e\u003c/div\u003e\u003cdiv id=\"Sec10\" class=\"Section3\"\u003e\u003ch2\u003e2.4.4 Classification\u003c/h2\u003e\u003cp\u003eTo harness both local (BoVW) and global (TDA) representations, we concatenated the normalized feature vectors from both methods for each sample per \u003cspan class=\"InlineEquation\"\u003e\u003cspan class=\"mathinline\"\u003e\\(\\:{\\mathbf{x}}_{\\text{hybrid}}=\\left[{\\mathbf{x}}_{\\text{TDA}},{\\mathbf{x}}_{\\text{BoVW}}\\right]\\in\\:{\\mathbb{R}}^{950}\\)\u003c/span\u003e\u003c/span\u003e, where 800 dimensions are from TDA and 150 from BoVW. The concatenation of BoVW and TDA features produced the fused feature vectors, resulting in a 950-dimensional feature vector per sample (800 from TDA and 150 from BoVW). The 200-dimensional representations that were taken from each RGB channel and grayscale (i.e., 200 \u0026times; 4\u0026thinsp;=\u0026thinsp;800) made up the TDA features. Each sample was then truncated to 950 features in order to guarantee dimensional consistency across all input vectors. For the classification task, all samples were numerically encoded in binary form and labeled as either disease or non-disease.\u003c/p\u003e\u003cp\u003ePrior to classification, the dataset was partitioned using stratified 20-fold cross-validation, which preserved the class balance in each training and validation split. This approach ensured that all samples contributed to both model training and evaluation, while preventing data leakage and maintaining robust performance estimation. All processing steps were applied consistently across folds with fixed random seed initialization to enable reproducibility.\u003c/p\u003e\u003cp\u003e\u003cb\u003eModel Architecture\u003c/b\u003e\u003c/p\u003e\u003cp\u003eOur classification architecture is a neural network designed to process 950-dimensional feature vectors using a Multi-Head Attention mechanism. The input vector is initially molded into a series of eight segments with 475 dimensions each. This sequence is processed by a 10-head Multi-Head Attention layer with 0.1 dropout, which learns the contextual inter-dependencies between the feature segments. To improve generalization, we apply feature-level noise augmentation during training. Specifically, Gaussian noise with a standard deviation of 0.05 is added to the 950-dimensional input vector before it is reshaped for attention processing.\u003c/p\u003e\u003cp\u003eThis augmentation is only applied during training and has no effect at inference time. The resulting sequence is flattened and passed into a deep Multi-Layer Perceptron (MLP) for classification. This classifier head is composed of four sequential blocks: a dense layer (1024 units) with GELU activation and 0.4 dropout; a dense layer (512 units) with GELU activation and 0.4 dropout; a dense layer (256 units) with GELU activation and 0.3 dropout; and a final dense layer (1024 units) with GELU activation and 0.2 dropout. This deep structure creates a feature bottleneck that encourages the model to learn a compressed yet rich representation. The network concludes with a 2-unit dense output layer for the final binary classification. The architecture of the proposed classifier is illustrated in Fig.\u0026nbsp;\u003cspan refid=\"Fig2\" class=\"InternalRef\"\u003e2\u003c/span\u003e. It successfully distinguishes between diseased and non-diseased cases by processing the features through a multi-head attention mechanism and a series of dense layers.\u003c/p\u003e\u003cp\u003e\u003c/p\u003e\u003c/div\u003e\u003c/div\u003e"},{"header":"3 Results","content":"\u003cp\u003eHistological image analysis facilitates the identification of structural changes associated with numerous diseases. This study examines skeletal muscle tissue by analyzing WGA-stained sections to evaluate myofiber size alterations and categorize samples into ALS, diabetic, and healthy groups across various muscles, including the quadriceps, gastrocnemius, tibialis anterior, extensor digitorum longus, and soleus.\u003c/p\u003e\u003cp\u003eWe created the TopoBoW model to automate the classification process, enabling it to learn distinguishing features from patterns in histopathology. To evaluate the efficacy of our proposed TopoBoW model for classifying skeletal muscle pathology, extensive comparisons against several baseline and advanced models, including TDA, histogram of oriented gradients (HOG) with XGBoost and Attention-based MLP. WGA-stained histopathological images of diverse muscle types were employed in the classification task to distinguish between ALS, diabetic, and healthy skeletal muscle tissue.\u003c/p\u003e\u003cdiv id=\"Sec12\" class=\"Section2\"\u003e\u003ch2\u003e3.1 Configuration\u003c/h2\u003e\u003cp\u003eWe conducted hyperparameter adjustment for all methods with XGBoost classifiers to attain optimal model performance. Cross-validation was employed to meticulously refine critical parameters, including the learning rate, maximal tree depth, number of estimators, and subsampling ratio. The optimum configurations were determined based on validation accuracy. The HOG\u0026thinsp;+\u0026thinsp;XGBoost model was specifically constructed with 300 estimators, a learning rate of 0.01, a maximum depth of 7, and a subsample ratio of 0.6. The TDA\u0026thinsp;+\u0026thinsp;XGBoost model achieved its highest accuracy with 200 estimators, a learning rate of 0.05, a maximum depth of 6, and a subsample ratio of 0.8. The XGBoost was implemented in the TopoBoW\u0026thinsp;+\u0026thinsp;XGBoost model with 100 estimators, a default learning rate of 0.3, and a maximum depth of 6. For MLP, the AdamW optimizer was employed to optimize the model for 500 epochs, with a learning rate of 10e\u0026thinsp;\u0026minus;\u0026thinsp;4 and learning rate scheduling via cosine annealing. The final evaluation was conducted using the model that demonstrated the highest level of performance for each fold, as designated by the validation accuracy.\u003c/p\u003e\u003c/div\u003e\u003cdiv id=\"Sec13\" class=\"Section2\"\u003e\u003ch2\u003e3.2 Quantitative Evaluation\u003c/h2\u003e\u003cp\u003eQuantitative evaluation criteria, including precision, recall, F1-score, accuracy (with standard deviation), and area under the curve (AUC), are given in Table\u0026nbsp;\u003cspan refid=\"Tab1\" class=\"InternalRef\"\u003e1\u003c/span\u003e. In this table, WGA-stained skeletal muscle images are used to compare the classification performance of various feature-based models to the proposed TopoBoW technique. The TopoBoW model combined with attention achieved the highest performance across all evaluation metrics, with a precision of 0.97, recall of 0.98, F1-score of 0.97, accuracy of 0.98, and an AUC of 0.98. In contrast, the TopoBoW\u0026thinsp;+\u0026thinsp;XGBoost model had a remarkable performance, achieving an F1-score of 0.87 and an AUC of 0.94, however it did not surpass the attention-based alternative. Traditional models such as HOG\u0026thinsp;+\u0026thinsp;XGBoost and HOG\u0026thinsp;+\u0026thinsp;Attention showed notably lower performance, particularly in recall and F1-score, indicating limited capacity to capture discriminative morphological features. TDA-based models outperformed their HOG-based counterparts, highlighting the stronger discriminative capacity of topological features. Specifically, the TDA\u0026thinsp;+\u0026thinsp;Attention model achieved an AUC of 0.90 and an F1-score of 0.83. The TopoBoW\u0026thinsp;+\u0026thinsp;Attention model demonstrated the most successful performance in all metrics, demonstrating the efficacy of integrating topological and visual representations within an attention-guided learning framework.\u003c/p\u003e\u003cp\u003eFigure \u003cspan refid=\"Fig3\" class=\"InternalRef\"\u003e3\u003c/span\u003e shows the confusion matrices for six classification models based on various topological and visual features. Models using only TDA or HOG features, such as TDA\u0026thinsp;+\u0026thinsp;XGBoost or HOG\u0026thinsp;+\u0026thinsp;XGBoost, performed unevenly, particularly in classifying diseased tissue (class 1). Moreover, the performance of both TDA and HOG was slightly enhanced by the inclusion of attention mechanisms, which suggests that local context refinement may be valuable for feature discrimination. It is worth noting that the integration of global structural alongside local visual features led to a significant improvement when TDA and BoVW were combined (TDA\u0026thinsp;+\u0026thinsp;BoVW\u0026thinsp;+\u0026thinsp;XGBoost). Finaly, the Topo-BoVW model outperformed the others, with a classification accuracy of 98% across every category. Integrating topological signatures with BoVW encoding effectively captures morphological and textural features that are critical for disease classification.\u003c/p\u003e\u003cp\u003e\u003cdiv class=\"gridtable\"\u003e\u003ctable float=\"Yes\" id=\"Tab1\" border=\"1\"\u003e\u003ccaption language=\"En\"\u003e\u003cdiv class=\"CaptionNumber\"\u003eTable 1\u003c/div\u003e\u003cdiv class=\"CaptionContent\"\u003e\u003cp\u003eComparison of classification performance across traditional feature-based models and TopoBoW on WGA-stained skeletal muscle images. Metrics reported include precision, recall, F1-score, accuracy (with standard deviation where applicable), and AUC. The proposed fusion with attention-based model outperformed all baselines in all evaluation criteria using 20-fold cross-validation.\u003c/p\u003e\u003c/div\u003e\u003c/caption\u003e\u003ccolgroup cols=\"7\"\u003e\u003cdiv align=\"left\" class=\"colspec\" colname=\"c1\" colnum=\"1\"\u003e\u003c/div\u003e\u003cdiv align=\"left\" class=\"colspec\" colname=\"c2\" colnum=\"2\"\u003e\u003c/div\u003e\u003cdiv align=\"left\" class=\"colspec\" colname=\"c3\" colnum=\"3\"\u003e\u003c/div\u003e\u003cdiv align=\"char\" char=\".\" class=\"colspec\" colname=\"c4\" colnum=\"4\"\u003e\u003c/div\u003e\u003cdiv align=\"char\" char=\".\" class=\"colspec\" colname=\"c5\" colnum=\"5\"\u003e\u003c/div\u003e\u003cdiv align=\"left\" class=\"colspec\" colname=\"c6\" colnum=\"6\"\u003e\u003c/div\u003e\u003cdiv align=\"char\" char=\".\" class=\"colspec\" colname=\"c7\" colnum=\"7\"\u003e\u003c/div\u003e\u003cthead\u003e\u003ctr\u003e\u003cth align=\"left\" colname=\"c1\"\u003e\u003cp\u003eMethod\u003c/p\u003e\u003c/th\u003e\u003cth align=\"left\" colname=\"c2\"\u003e\u003cp\u003eTrain/Test\u003c/p\u003e\u003c/th\u003e\u003cth align=\"left\" colname=\"c3\"\u003e\u003cp\u003ePrecision\u003c/p\u003e\u003c/th\u003e\u003cth align=\"left\" colname=\"c4\"\u003e\u003cp\u003eRecall\u003c/p\u003e\u003c/th\u003e\u003cth align=\"left\" colname=\"c5\"\u003e\u003cp\u003eF1-Score\u003c/p\u003e\u003c/th\u003e\u003cth align=\"left\" colname=\"c6\"\u003e\u003cp\u003eAccuracy\u003c/p\u003e\u003c/th\u003e\u003cth align=\"left\" colname=\"c7\"\u003e\u003cp\u003eAUC\u003c/p\u003e\u003c/th\u003e\u003c/tr\u003e\u003c/thead\u003e\u003ctbody\u003e\u003ctr\u003e\u003ctd align=\"left\" colname=\"c1\"\u003e\u003cp\u003eTDA\u0026thinsp;+\u0026thinsp;XGB [\u003cspan citationid=\"CR42\" class=\"CitationRef\"\u003e42\u003c/span\u003e]\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c2\"\u003e\u003cp\u003e20-fold\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c3\"\u003e\u003cp\u003e0.81\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"char\" char=\".\" colname=\"c4\"\u003e\u003cp\u003e0.81\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"char\" char=\".\" colname=\"c5\"\u003e\u003cp\u003e0.81\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c6\"\u003e\u003cp\u003e0.841 (\u0026plusmn;\u0026thinsp;0.041)\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"char\" char=\".\" colname=\"c7\"\u003e\u003cp\u003e0.89\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd align=\"left\" colname=\"c1\"\u003e\u003cp\u003eTDA\u0026thinsp;+\u0026thinsp;Attention\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c2\"\u003e\u003cp\u003e20-fold\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c3\"\u003e\u003cp\u003e0.84\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"char\" char=\".\" colname=\"c4\"\u003e\u003cp\u003e0.83\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"char\" char=\".\" colname=\"c5\"\u003e\u003cp\u003e0.83\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c6\"\u003e\u003cp\u003e0.854% (\u0026plusmn;\u0026thinsp;0.081)\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"char\" char=\".\" colname=\"c7\"\u003e\u003cp\u003e0.90\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd align=\"left\" colname=\"c1\"\u003e\u003cp\u003eHOG\u0026thinsp;+\u0026thinsp;XGBOOST\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c2\"\u003e\u003cp\u003e20-fold\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c3\"\u003e\u003cp\u003e0.68\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"char\" char=\".\" colname=\"c4\"\u003e\u003cp\u003e0.57\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"char\" char=\".\" colname=\"c5\"\u003e\u003cp\u003e0.56\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c6\"\u003e\u003cp\u003e0.724 (\u0026plusmn;\u0026thinsp;0.049)\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"char\" char=\".\" colname=\"c7\"\u003e\u003cp\u003e0.66\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd align=\"left\" colname=\"c1\"\u003e\u003cp\u003eHOG\u0026thinsp;+\u0026thinsp;Attention\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c2\"\u003e\u003cp\u003e20-fold\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c3\"\u003e\u003cp\u003e070\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"char\" char=\".\" colname=\"c4\"\u003e\u003cp\u003e0.59\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"char\" char=\".\" colname=\"c5\"\u003e\u003cp\u003e0.60\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c6\"\u003e\u003cp\u003e0.743 (\u0026plusmn;\u0026thinsp;0.050)\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"char\" char=\".\" colname=\"c7\"\u003e\u003cp\u003e0.68\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd align=\"left\" colname=\"c1\"\u003e\u003cp\u003eTopoBoW\u0026thinsp;+\u0026thinsp;XGBOOST\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c2\"\u003e\u003cp\u003e20-fold\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c3\"\u003e\u003cp\u003e0.88\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"char\" char=\".\" colname=\"c4\"\u003e\u003cp\u003e0.87\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"char\" char=\".\" colname=\"c5\"\u003e\u003cp\u003e0.87\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c6\"\u003e\u003cp\u003e0.882(\u0026plusmn;\u0026thinsp;0.051)\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"char\" char=\".\" colname=\"c7\"\u003e\u003cp\u003e0.94\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd align=\"left\" colname=\"c1\"\u003e\u003cp\u003eTopoBoW\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c2\"\u003e\u003cp\u003e20-fold\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c3\"\u003e\u003cp\u003e\u003cb\u003e0.97\u003c/b\u003e\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"char\" char=\".\" colname=\"c4\"\u003e\u003cp\u003e\u003cb\u003e0.98\u003c/b\u003e\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"char\" char=\".\" colname=\"c5\"\u003e\u003cp\u003e\u003cb\u003e0.97\u003c/b\u003e\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"left\" colname=\"c6\"\u003e\u003cp\u003e\u003cb\u003e0.975 (+/-0.033)\u003c/b\u003e\u003c/p\u003e\u003c/td\u003e\u003ctd align=\"char\" char=\".\" colname=\"c7\"\u003e\u003cp\u003e\u003cb\u003e0.98\u003c/b\u003e\u003c/p\u003e\u003c/td\u003e\u003c/tr\u003e\u003c/tbody\u003e\u003c/colgroup\u003e\u003c/table\u003e\u003c/div\u003e\u003c/p\u003e\u003cp\u003e\u003c/p\u003e\u003cp\u003eFigure \u003cspan refid=\"Fig4\" class=\"InternalRef\"\u003e4\u003c/span\u003e illustrates a detailed comparison of model performance. The TopoBoW model demonstrated superior discrimination abilities with an AUC of 0.98, as shown in the ROC curves (Fig.\u0026nbsp;\u003cspan refid=\"Fig4\" class=\"InternalRef\"\u003e4\u003c/span\u003ea). Alternative TDA-based architectures, such as TDA\u0026thinsp;+\u0026thinsp;BoVW\u0026thinsp;+\u0026thinsp;XGBoost and TDA\u0026thinsp;+\u0026thinsp;Attention, exhibited commendable performance, achieving AUC values of 0.94 and 0.90, respectively. The HOG-based models, on the other hand, had much lower AUC values and a severely limited ability to classify data. The radar plot (Fig.\u0026nbsp;\u003cspan refid=\"Fig4\" class=\"InternalRef\"\u003e4\u003c/span\u003eb) represents a comprehensive view of performance across five key metrics. TopoBoW consistently outperformed, with the highest values for precision, recall, F1-score, accuracy, and AUC. These findings support the benefit of combining topological and visual features with attention-based learning for robust muscle disease classification.\u003c/p\u003e\u003cp\u003e\u003c/p\u003e\u003c/div\u003e\u003cdiv id=\"Sec14\" class=\"Section2\"\u003e\u003ch2\u003e3.3 Exploratory Feature Analysis\u003c/h2\u003e\u003cp\u003eWe conducted a series of visualizations intended to describe the statistical behavior of feature vectors across the two classes: disease (diabetic or ALS) and non-disease (healthy control) in order to evaluate the discriminative ability of the extracted features, which included BoVW and TDA representations. These plots aid in determining which feature types contribute to class separability and help confirm whether feature distributions differ significantly across classes.\u003c/p\u003e\u003cp\u003eBy visualizing raw values, class-wise averages, variability, and projections, we aimed to\u003c/p\u003e\u003cp\u003e\u003cul\u003e\u003cli\u003e\u003cp\u003eDetermine the global patterns of class separation across the 950 features.,\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003cp\u003eDetermine which feature blocks (e.g., Gray-TDA, RGB-TDA, BoVW) differ the most across conditions,\u003c/p\u003e\u003c/li\u003e\u003cli\u003e\u003cp\u003eDetermine whether the learned features meaningfully encode disease-specific muscle morphology.\u003c/p\u003e\u003c/li\u003e\u003c/ul\u003e\u003c/p\u003e\u003cp\u003eFigure \u003cspan refid=\"Fig5\" class=\"InternalRef\"\u003e5\u003c/span\u003ea shows all of the standardized feature vectors from the dataset, with each class's vectors overlay on top of each other. Each line indicates the full 950-dimensional feature vector of one sample. Class 0 (non-disease) is shown in blue, and Class 1 (disease) is shown in red. The bolded curves are associated with the class-wise means, while the semi-transparent lines reflect individual sample variations. This visualization provides a quick overview of how features behave across classes and highlights regions of concentrated variance and divergence. In particular, features in the BoVW region (Last 150 features) along with certain color-specific TDA blocks, especially the Green and Blue channels, show a considerable separation between classes, highlighting their higher discriminatory potential. In contrast, features derived from the red channel (indices 200\u0026ndash;400) show minimal divergence, likely due to the negligible signal in this channel, as seen in the WGA-stained image in Fig.\u0026nbsp;\u003cspan refid=\"Fig1\" class=\"InternalRef\"\u003e1\u003c/span\u003e. Representative WGA-stained skeletal muscle image, in which green fluorescence highlights extracellular matrix boundaries. The absence of red signal corresponds with the low relevance of red-channel-derived features observed in Fig.\u0026nbsp;\u003cspan refid=\"Fig1\" class=\"InternalRef\"\u003e1\u003c/span\u003e.\u003c/p\u003e\u003cp\u003eThis analysis is further illustrated in Fig.\u0026nbsp;\u003cspan refid=\"Fig5\" class=\"InternalRef\"\u003e5\u003c/span\u003eb, which shows the class-wise mean and standard deviation for each feature dimension. Shaded bands indicate one standard deviation around the mean, and solid lines represent the standardized mean feature values in the plot. Each feature group (Gray-TDA, Red-TDA, Green-TDA, Blue-TDA, and BoVW) is visually segmented to aid interpretability. This figure demonstrates that Class 1 (disease group) has a more consistent morphological phenotype, with less variability in TDA-derived features in particular. In contrast, the non-disease class (Class 0) displays higher variability, especially in the Gray-TDA and Red-TDA groups. Importantly, the BoVW features again show marked separation between the two classes.\u003c/p\u003e\u003cp\u003e\u003c/p\u003e\u003cp\u003eThe radar plot of the mean feature values for each class is shown in Fig.\u0026nbsp;\u003cspan refid=\"Fig6\" class=\"InternalRef\"\u003e6\u003c/span\u003e for a comprehensive, angular class-wise view of the feature behavior. The 950 features are arranged circularly, and colored regions denote class-wise magnitude differences across angular segments corresponding to feature groups. This plot demonstrates that the BoVW, Gray-TDA, and Green-TDA regions present the most pronounced class separations, highlighting their predominant role in the differentiation of diseased from non-diseased tissue. Although Blue-TDA features exhibit certain class-wise variation, the separation is less consistent. Conversely, the Red-TDA features demonstrate a significant degree of overlap between classes, which suggests that they have limited discriminative value and is indicative of the minimal red signal present in the original WGA-stained images.\u003c/p\u003e\u003cp\u003eFigure \u003cspan refid=\"Fig7\" class=\"InternalRef\"\u003e7\u003c/span\u003ea and \u003cspan refid=\"Fig7\" class=\"InternalRef\"\u003e7\u003c/span\u003eb show two- and three-dimensional UMAP projections to determine whether the extracted hybrid features preserve meaningful structure in a reduced latent space. These plots demonstrate that the features capture class-relevant patterns even after nonlinear dimensionality reduction, as evidenced by the minimal overlap between clusters of disease and non-disease samples. Despite the reduction in nonlinear dimensionality, these plots show clearly defined clusters of disease and non-disease samples with little overlap. The 2D embedding (Fig.\u0026nbsp;\u003cspan refid=\"Fig7\" class=\"InternalRef\"\u003e7\u003c/span\u003ea) clearly demonstrates bifurcated groupings, whereas the 3D projection (Fig.\u0026nbsp;\u003cspan refid=\"Fig7\" class=\"InternalRef\"\u003e7\u003c/span\u003eb) confirms the stability of class separation in multiple views and provides additional spatial depth. These representations prove that the hybrid feature structure is effective at encoding morphological features that are specific to diseases.\u003c/p\u003e\u003cp\u003e\u003c/p\u003e\u003cp\u003e\u003c/p\u003e\u003cp\u003eFinally, Fig.\u0026nbsp;\u003cspan refid=\"Fig8\" class=\"InternalRef\"\u003e8\u003c/span\u003e presents grouped boxplots of standardized feature values across both classes, segmented by feature source. The 950-dimensional feature vector was split into five blocks: Gray-TDA, Red-TDA, Green-TDA, Blue-TDA, and BoVW. Each pair of class-specific boxplots is positioned side by side and overlaid on a soft background to visually separate feature groups. This plot enables comparative assessment of intra-group and inter-class variation. It further confirms that BoVW features and Blue-TDA exhibit the largest differences between classes, while Gray-TDA and Green-TDA are largely overlapping. This group representation provides a brief but useful summary of how each feature category contributes with the classification challenge.\u003c/p\u003e\u003cp\u003e\u003c/p\u003e\u003cp\u003eBoVW features appeared as the most discriminative in terms of both statistical variation and latent space structure, always showing clearer class-wise separation across visualizations. Among the TDA-derived features, those extracted from the Blue channel exhibited the greatest discriminative capacity, while features from the Gray and Green channels showed moderate separation. In contrast, Red-channel features demonstrated minimal variance and limited utility in distinguishing between classes. It is worth mentioning that Class 1 disease samples showed less variation across different feature groups. This could reflect the presence of consistent morphological abnormalities such as atrophied fibers and centrally located nuclei, as highlighted by WGA staining. Collectively, these observations verify that the combined feature representation, which incorporates BoVW and multi-channel TDA, effectively encodes class-relevant structural information and facilitates its application for precise disease classification.\u003c/p\u003e\u003cp\u003eAlthough the BoVW-derived features appear discriminative\u0026mdash;particularly in the region spanning the last 150 indices of the 950-dimensional feature space\u0026mdash;the corresponding attention map indicates relatively low attention weights in that segment. The attention mechanism divides the full feature vector into five equal segments (each with 190 features), and BoVW features occupy the final segment (indices 760\u0026ndash;949), with only 150 out of 190 positions used. The classification model may be prioritizing global structural information captured by topological features over localized visual patterns, as illustrated by the observed reduction in attention within this region (See Fig.\u0026nbsp;\u003cspan refid=\"Fig9\" class=\"InternalRef\"\u003e9\u003c/span\u003e that visualized for 5 randomly selected test samples). This implies that, for differentiating between ALS and diabetic conditions in WGA-stained skeletal muscle images, the model relies more heavily on the global organization and spatial topology of muscle fibers than on fine-grained texture or shape descriptors encoded by BoVW.\u003c/p\u003e\u003cp\u003e\u003c/p\u003e\u003c/div\u003e"},{"header":"4 Discussion","content":"\u003cp\u003eIn this study, we developed an automated pathological image analysis pipeline termed TopoBoW to evaluate skeletal muscle pathology in two disease models: ALS and diabetic myopathy. The parallel comparison with TopoBoW and manual approach showed that the TopoBoW pipeline can deliver relatively accurate measurements of muscle features. This is expected to facilitate the evaluation of therapeutic impact and the pathophysiological studies of muscle diseases.\u003c/p\u003e\u003cp\u003eThe most critical steps involve the identification of muscle fiber boundaries in WGA-stained sections, which allows for the computation of fiber cross-sectional areas (CSA), evaluation of fiber size variability, and detection of shape abnormalities. These structural features, along with the spatial correlation between muscle fibers, assist in the diagnosis of conditions such as ALS and diabetic myopathy, which necessitates expert knowledge and intensive manual labor. On the other hand, the proposed model can find disease-related patterns directly from raw image features, which means it doesn't need to do explicit CSA calculations. This could lead to uncovering hidden pathological patterns that are not readily captured through manual analysis.\u003c/p\u003e\u003cp\u003eOur model circumvents these limitations by integrating topological signatures to capture global morphological structure and BoVW to encode local texture and color patterns. The model leverages complementary representations of muscle tissue without requiring explicit CSA measurement or manual annotation. The incorporation of an attention mechanism facilitates better classification performance by means of adaptive focus on the most discriminative features across these heterogeneous domains. Together, this design facilitates the identification of disease-specific tissue alterations in a more effective and interpretable manner.\u003c/p\u003e\u003cp\u003eOur exploratory feature analysis provides further insight into the model's decision-making process. BoVW features demonstrated the highest-class separability, possibly due to their adaptability to local anomalies in fiber texture and intensity patterns. TDA-derived features, except for the red channel's features, showed substantial discriminatory power, reflecting the prominence of WGA fluorescence in these spectral bands. In contrast, the red-channel features exhibited minimal variance, which is consistent with the weak red signal in the original images. However, the attention heatmaps of the model demonstrated that the BoVW segment of the feature vector receives relatively low attention, despite its class-discriminative potential. This implies that the model might prioritize global features over local patterns during classification.\u003c/p\u003e\u003cp\u003eFurthermore, disease-class samples have less variability across most feature groups, indicating a more homogeneous pathological tissue morphology. This is in line with the recognized histological characteristics of ALS and diabetic myopathy, which include increased central nucleation, fiber atrophy, and loss of structural integrity. These features are more consistent in affected samples than in healthy muscle tissue, which exhibits greater heterogeneity.\u003c/p\u003e\u003cp\u003eDespite our promising findings, our study has a number of limitations. First, the dataset was constructed from a limited animal models, each representing a specific disease state (ALS or diabetes) and genetic background. While this design enables controlled comparisons, it may restrict the generalizability of the model to other types of myopathies or to human tissue. Secondly, the WGA staining protocol is capable of achieving exceptional membrane delineation; however, it fails to capture intracellular features, including fibrosis, inflammation, or mitochondrial alterations, which are also pertinent to the progression of the disease. Third, the classification task was framed as a binary distinction between healthy and diseased tissue, thereby oversimplifying the heterogeneity that exists within and across disease types. Furthermore, although the BoVW and TDA features are interpretable to a certain extent, they are still representations that are either handcrafted or engineered. The model does not currently incorporate spatial context or anatomical muscle-specific priors, which may be important in more complex classification settings. Finally, although the attention-based classifier improves interpretability and performance, it remains a black-box model to some extent, and future work should explore methods such as feature attribution techniques to improve transparency and trustworthiness in biomedical applications.\u003c/p\u003e"},{"header":"5 Conclusions","content":"\u003cp\u003eThis study proposes TopoBoW, an interpretable and efficient framework for automated skeletal muscle pathology classification. Thanks to integrated BoVW and TDA features, the model captures not only local texture but also global tissue structure, which leads to a more accurate classification of ALS, diabetic, and healthy muscle tissue. Although BoVW features showed the highest statistical separability, attention-based analysis revealed that the model assigned lower attention to this segment. This suggests that disease classification in WGA-stained muscle sections may rely more on global architectural organization than on local texture irregularities. Moreover, the reduced variability observed in diseased samples supports the presence of consistent morphological signatures associated with pathology. This study has certain limitations, despite the promising outcomes. These include a relatively small dataset, limited disease diversity, and the lack of spatial context in feature representation. In order to enhance interpretability and clinical relevance, future research will expand the dataset, apply feature attribution techniques, and incorporate anatomical priors.\u003c/p\u003e"},{"header":"Declarations","content":"\u003cp\u003e\u003cstrong\u003eEthics approval and consent to participate\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003e\u0026nbsp;\u003c/strong\u003eAll animal procedures were conducted in compliance with the Guide for the Care and Use of Laboratory Animals and were approved by the Institutional Animal Care and Use Committee of Louisiana State University Health Sciences Center at Shreveport.\u003c/p\u003e\n\u003cp\u003eThe animals used in this study were obtained from The Jackson Laboratory (Bar Harbor, ME, USA), a licensed commercial vendor. No privately owned animals were used; therefore, owner consent was not applicable.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eConsent for publication\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eNot applicable.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eData Availability Statement\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eAll datasets generated and analyzed during the previous study are available from the corresponding author on reasonable request.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eCompeting interests\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eThe authors declare no conflict of interest.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eFunding\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eThis work was supported by an Institutional Development Award (IDeA) from the National Institutes of General Medical Sciences NIH under grant number P20GM121307 to MANB. This project is also partially supported by Ike Muslow, MD, Endowed Chair in Healthcare Informatics of LSU Health Sciences Center Shreveport.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eAuthor Contributions Statement\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eT.A. and M.A.N.B. conceptualized the study and designed the methodology. T.A developed the code and performed the experiments. T.A. wrote the initial draft of the manuscript, and M.A.N.B. reviewed and edited the text. R.A. and M.S.B. prepared the dataset. All authors reviewed and approved the final manuscript.\u003c/p\u003e\n\u003cp\u003e\u003cstrong\u003eAcknowledgements\u003c/strong\u003e\u003c/p\u003e\n\u003cp\u003eWe acknowledge the use of large language models, including ChatGPT and QuillBot, to support grammar correction and language refinement throughout the preparation of this manuscript.\u003c/p\u003e"},{"header":"References","content":"\u003col\u003e\u003cli\u003e\u003cspan\u003eChen M et al. Jun., \u0026lsquo;Multimodal whole slide image processing pipeline for quantitative mapping of tissue architecture and tissue microenvironment\u0026rsquo;, \u003cem\u003enpj Imaging 2025 3:1\u003c/em\u003e, vol. 3, no. 1, pp. 1\u0026ndash;16, 2025, \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1038/s44303-025-00088-w\u003c/span\u003e\u003cspan address=\"10.1038/s44303-025-00088-w\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eAbu-Rumeileh S et al. Mar., \u0026lsquo;Phosphorylated tau 181 and 217 are elevated in serum and muscle of patients with amyotrophic lateral sclerosis\u0026rsquo;, \u003cem\u003eNature Communications 2025 16:1\u003c/em\u003e, vol. 16, no. 1, pp. 1\u0026ndash;13, 2025, \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1038/s41467-025-57144-7\u003c/span\u003e\u003cspan address=\"10.1038/s41467-025-57144-7\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eBreschi A et al. Jul., \u0026lsquo;Multi-modal analyses of proteomic measurements associated with type 2 diabetes from the Project Baseline Health Study\u0026rsquo;, \u003cem\u003eCommunications Medicine 2025 5:1\u003c/em\u003e, vol. 5, no. 1, pp. 1\u0026ndash;14, 2025, \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1038/s43856-025-00964-x\u003c/span\u003e\u003cspan address=\"10.1038/s43856-025-00964-x\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eNiu J et al. Apr., \u0026lsquo;Analysis of Sensitivity and Specificity: Precise Recognition of Neutrophils During Regeneration of Contused Skeletal Muscle in Rats\u0026rsquo;, \u003cem\u003eForensic Sci Res\u003c/em\u003e, vol. 7, no. 2, pp. 228\u0026ndash;237, 2022, \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1080/20961790.2020.1713432\u003c/span\u003e\u003cspan address=\"10.1080/20961790.2020.1713432\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eLIU F, MACKEY AL, SRIKUEA R, ESSER KA, YANG L. Automated image segmentation of haematoxylin and eosin stained skeletal muscle cross-sections. J Microsc. Dec. 2013;252(3):275\u0026ndash;85. \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003ehttps://doi.org/10.1111/jmi.12090\u003c/span\u003e\u003cspan address=\"10.1111/jmi.12090\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eChen RJ, et al. Towards a general-purpose foundation model for computational pathology. Nat Med. 2024;30(3):850\u0026ndash;62.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eKonnaris MA, et al. Computational pathology for musculoskeletal conditions using machine learning: advances, trends, and challenges. Arthritis Res Ther. 2022;24(1):68.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eSong AH et al. \u0026lsquo;Artificial intelligence for digital and computational pathology\u0026rsquo;, \u003cem\u003eNature Reviews Bioengineering\u003c/em\u003e 2023 1:12, vol. 1, no. 12, pp. 930\u0026ndash;949, Oct. 2023. \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1038/s44222-023-00096-8\u003c/span\u003e\u003cspan address=\"10.1038/s44222-023-00096-8\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eHuang SC et al. Jun., \u0026lsquo;Deep neural network trained on gigapixel images improves lymph node metastasis detection in clinical settings\u0026rsquo;, \u003cem\u003eNature Communications 2022 13:1\u003c/em\u003e, vol. 13, no. 1, pp. 1\u0026ndash;14, 2022, \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1038/s41467-022-30746-1\u003c/span\u003e\u003cspan address=\"10.1038/s41467-022-30746-1\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eZhou H et al. Sep., \u0026lsquo;Length-scale study in deep learning prediction for non-small cell lung cancer brain metastasis\u0026rsquo;, \u003cem\u003eScientific Reports 2024 14:1\u003c/em\u003e, vol. 14, no. 1, pp. 1\u0026ndash;13, 2024, \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1038/s41598-024-73428-2\u003c/span\u003e\u003cspan address=\"10.1038/s41598-024-73428-2\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eCoudray N, et al. Classification and mutation prediction from non\u0026ndash;small cell lung cancer histopathology images using deep learning. Nat Med. Oct. 2018;24(10):1559\u0026ndash;67. \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1038/S41591-018-0177-5;\u003c/span\u003e\u003cspan address=\"10.1038/S41591-018-0177-5;\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e. SUBJMETA=114,1305,631;KWRD=MACHINE+LEARNING.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eLu MY, Williamson DFK, Chen TY, Chen RJ, Barbieri M, Mahmood F. Data-efficient and weakly supervised computational pathology on whole-slide images. Nat Biomed Eng. Jun. 2021;5(6):555\u0026ndash;70. \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1038/S41551-020-00682-\u003c/span\u003e\u003cspan address=\"10.1038/S41551-020-00682-\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e. W;SUBJMETA=114,1305,139,1564,422,631,692,700;KWRD=IMAGE+PROCESSING,MACHINE+LEARNING,PATHOLOGY.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eThomas T. \u0026lsquo;Automated systems comparable to expert pathologists for prostate cancer Gleason grading\u0026rsquo;, \u003cem\u003eNature Reviews Urology\u003c/em\u003e 2020 17:3, vol. 17, no. 3, pp. 131\u0026ndash;131, Feb. 2020. \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1038/s41585-020-0294-z\u003c/span\u003e\u003cspan address=\"10.1038/s41585-020-0294-z\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eVan Booven DJ et al. May., \u0026lsquo;Mitigating bias in prostate cancer diagnosis using synthetic data for improved AI driven Gleason grading\u0026rsquo;, \u003cem\u003enpj Precision Oncology 2025 9:1\u003c/em\u003e, vol. 9, no. 1, pp. 1\u0026ndash;13, 2025, \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1038/s41698-025-00934-5\u003c/span\u003e\u003cspan address=\"10.1038/s41698-025-00934-5\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eBera K, Schalper KA, Rimm DL, Velcheti V, Madabhushi A. Artificial intelligence in digital pathology \u0026mdash; new tools for diagnosis and precision oncology. Nat Rev Clin Oncol. Nov. 2019;16(11):703\u0026ndash;15. \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1038/S41571-019-0252-\u003c/span\u003e\u003cspan address=\"10.1038/S41571-019-0252-\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e. Y;SUBJMETA=114,1305,139,422,631,692,700;KWRD=MACHINE+LEARNING,PATHOLOGY.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eDesbois M et al. Nov., \u0026lsquo;Integrated digital pathology and transcriptome analysis identifies molecular mediators of T-cell exclusion in ovarian cancer\u0026rsquo;, \u003cem\u003eNature Communications 2020 11:1\u003c/em\u003e, vol. 11, no. 1, pp. 1\u0026ndash;14, 2020, \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1038/s41467-020-19408-2\u003c/span\u003e\u003cspan address=\"10.1038/s41467-020-19408-2\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eTolkach Y, Dohmg\u0026ouml;rgen T, Toma M, Kristiansen G. \u0026lsquo;High-accuracy prostate cancer pathology using deep learning\u0026rsquo;, \u003cem\u003eNature Machine Intelligence 2020 2:7\u003c/em\u003e, vol. 2, no. 7, pp. 411\u0026ndash;418, Jul. 2020, \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1038/s42256-020-0200-7\u003c/span\u003e\u003cspan address=\"10.1038/s42256-020-0200-7\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eJiang R et al. Jul., \u0026lsquo;A transformer-based weakly supervised computational pathology method for clinical-grade diagnosis and molecular marker discovery of gliomas\u0026rsquo;, \u003cem\u003eNature Machine Intelligence 2024 6:8\u003c/em\u003e, vol. 6, no. 8, pp. 876\u0026ndash;891, 2024, \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1038/s42256-024-00868-w\u003c/span\u003e\u003cspan address=\"10.1038/s42256-024-00868-w\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eHuang L, Li Y, Pillar N, Keidar Haran T, Wallace WD, Ozcan A. A robust and scalable framework for hallucination detection in virtual tissue staining and digital pathology. Nat Biomedical Eng. Jun. 2025;2025:1\u0026ndash;19. \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1038/s41551-025-01421-9\u003c/span\u003e\u003cspan address=\"10.1038/s41551-025-01421-9\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eLu MY, Williamson DFK, Chen TY, Chen RJ, Barbieri M, Mahmood F. Data-efficient and weakly supervised computational pathology on whole-slide images. Nat Biomed Eng. Jun. 2021;5(6):555\u0026ndash;70. \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1038/S41551-020-00682-\u003c/span\u003e\u003cspan address=\"10.1038/S41551-020-00682-\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e. W;SUBJMETA=114,1305,139,1564,422,631,692,700;KWRD=IMAGE+PROCESSING,MACHINE+LEARNING,PATHOLOGY.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eLee Y et al. \u0026lsquo;Derivation of prognostic contextual histopathological features from whole-slide images of tumours via graph deep learning\u0026rsquo;, \u003cem\u003eNature Biomedical Engineering\u003c/em\u003e 2022, pp. 1\u0026ndash;15, Aug. 2022. \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1038/s41551-022-00923-0\u003c/span\u003e\u003cspan address=\"10.1038/s41551-022-00923-0\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eHatipoglu N, Bilgin G. Cell segmentation in histopathological images with deep learning algorithms by utilizing spatial relationships. Med Biol Eng Comput. Oct. 2017;55(10):1829\u0026ndash;48. \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1007/S11517-017-1630-1/TABLES/13\u003c/span\u003e\u003cspan address=\"10.1007/S11517-017-1630-1/TABLES/13\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eJamal SB, Bilgin G. \u0026lsquo;Use of spatial information via markov and conditional random fields in histopathological images\u0026rsquo;, 2019 \u003cem\u003e42nd International Conference on Telecommunications and Signal Processing, TSP 2019\u003c/em\u003e, pp. 71\u0026ndash;75, Jul. 2019. \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1109/TSP.2019.8769093\u003c/span\u003e\u003cspan address=\"10.1109/TSP.2019.8769093\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eSun C et al. Oct., \u0026lsquo;Gastric histopathology image segmentation using a hierarchical conditional random field\u0026rsquo;, \u003cem\u003eBiocybern Biomed Eng\u003c/em\u003e, vol. 40, no. 4, pp. 1535\u0026ndash;1555, 2020, \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1016/J.BBE.2020.09.008\u003c/span\u003e\u003cspan address=\"10.1016/J.BBE.2020.09.008\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eXu G et al. \u0026lsquo;CAMEL: A Weakly Supervised Learning Framework for Histopathology Image Segmentation\u0026rsquo;, 2019. Accessed: Jul. 02, 2025. [Online]. Available: \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003ehttps://github.com/ThoroughImages/CAMEL\u003c/span\u003e\u003cspan address=\"https://github.com/ThoroughImages/CAMEL\" targettype=\"URL\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eWaisman A, Norris AM, El\u0026iacute;as M, Costa, Kopinke D. \u0026lsquo;Automatic and unbiased segmentation and quantification of myofibers in skeletal muscle\u0026rsquo;, \u003cem\u003eScientific Reports 2021 11:1\u003c/em\u003e, vol. 11, no. 1, pp. 1\u0026ndash;14, Jun. 2021, \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1038/s41598-021-91191-6\u003c/span\u003e\u003cspan address=\"10.1038/s41598-021-91191-6\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eSrinidhi CL, Kim SW, Chen FD, Martel AL. Self-supervised driven consistency training for annotation efficient histopathology image analysis. Med Image Anal. Jan. 2022;75:102256. \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1016/J.MEDIA.2021.102256\u003c/span\u003e\u003cspan address=\"10.1016/J.MEDIA.2021.102256\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eNaik N et al. Dec., \u0026lsquo;Deep learning-enabled breast cancer hormonal receptor status determination from base-level H\u0026amp;E stains\u0026rsquo;, \u003cem\u003eNat Commun\u003c/em\u003e, vol. 11, no. 1, pp. 1\u0026ndash;8, 2020, \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1038/S41467-020-19334-3\u003c/span\u003e\u003cspan address=\"10.1038/S41467-020-19334-3\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e;TECHMETA=139,141;SUBJMETA=114,1305,1347,631,67;KWRD=BREAST+CANCER,MACHINE+LEARNING.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003ede Haan K et al. Aug., \u0026lsquo;Deep learning-based transformation of H\u0026amp;E stained tissues into special stains\u0026rsquo;, \u003cem\u003eNature Communications 2021 12:1\u003c/em\u003e, vol. 12, no. 1, pp. 1\u0026ndash;13, 2021, \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1038/s41467-021-25221-2\u003c/span\u003e\u003cspan address=\"10.1038/s41467-021-25221-2\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eShamai G et al. Nov., \u0026lsquo;Deep learning-based image analysis predicts PD-L1 status from H\u0026amp;E-stained histopathology images in breast cancer\u0026rsquo;, \u003cem\u003eNature Communications 2022 13:1\u003c/em\u003e, vol. 13, no. 1, pp. 1\u0026ndash;13, 2022, \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1038/s41467-022-34275-9\u003c/span\u003e\u003cspan address=\"10.1038/s41467-022-34275-9\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eGarberis I et al. Jul., \u0026lsquo;Deep learning assessment of metastatic relapse risk from digitized breast cancer histological slides\u0026rsquo;, \u003cem\u003eNature Communications 2025 16:1\u003c/em\u003e, vol. 16, no. 1, pp. 1\u0026ndash;13, 2025, \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1038/s41467-025-60824-z\u003c/span\u003e\u003cspan address=\"10.1038/s41467-025-60824-z\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eSkaf Y, Laubenbacher R. Topological data analysis in biomedicine: A review. J Biomed Inf. Jun. 2022;130:104082. \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1016/J.JBI.2022.104082\u003c/span\u003e\u003cspan address=\"10.1016/J.JBI.2022.104082\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eSivic J, Zisserman A. \u0026lsquo;Video google: A text retrieval approach to object matching in videos\u0026rsquo;, \u003cem\u003eProceedings of the IEEE International Conference on Computer Vision\u003c/em\u003e, vol. 2, pp. 1470\u0026ndash;1477, 2003, \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1109/ICCV.2003.1238663\u003c/span\u003e\u003cspan address=\"10.1109/ICCV.2003.1238663\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eBay H, Tuytelaars T, Van Gool L. \u0026lsquo;SURF: Speeded Up Robust Features\u0026rsquo;, \u003cem\u003eLecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics)\u003c/em\u003e, vol. 3951 LNCS, pp. 404\u0026ndash;417, 2006, \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1007/11744023_32\u003c/span\u003e\u003cspan address=\"10.1007/11744023_32\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eAishwarya R et al. \u0026lsquo;Pathological Sequelae Associated with Skeletal Muscle Atrophy and Histopathology in G93A*SOD1 Mice\u0026rsquo;, \u003cem\u003eMuscles\u003c/em\u003e 2023, Vol. 2, Pages 51\u0026ndash;74, vol. 2, no. 1, pp. 51\u0026ndash;74, Feb. 2023. \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.3390/MUSCLES2010006\u003c/span\u003e\u003cspan address=\"10.3390/MUSCLES2010006\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eAishwarya R, et al. Molecular Characterization of Skeletal Muscle Dysfunction in Sigma 1 Receptor (Sigmar1) Knockout Mice. Am J Pathol. Jan. 2022;192(1):160\u0026ndash;77. \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1016/J.AJPATH.2021.10.003\u003c/span\u003e\u003cspan address=\"10.1016/J.AJPATH.2021.10.003\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eSoendenbroe C, Karlsen A, Svensson RB, Kjaer M, Andersen JL, Mackey AL. \u0026lsquo;Marked irregular myofiber shape is a hallmark of human skeletal muscle ageing and is reversed by heavy resistance training\u0026rsquo;, \u003cem\u003eJ Cachexia Sarcopenia Muscle\u003c/em\u003e, vol. 15, no. 1, pp. 306\u0026ndash;318, Feb. 2024, \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1002/JCSM.13405;PAGEGROUP:STRING:PUBLICATION\u003c/span\u003e\u003cspan address=\"10.1002/JCSM.13405;PAGEGROUP:STRING:PUBLICATION\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eDobrowolny G et al. Nov., \u0026lsquo;Skeletal Muscle Is a Primary Target of SOD1G93A-Mediated Toxicity\u0026rsquo;, \u003cem\u003eCell Metab\u003c/em\u003e, vol. 8, no. 5, pp. 425\u0026ndash;436, 2008, \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1016/j.cmet.2008.09.002\u003c/span\u003e\u003cspan address=\"10.1016/j.cmet.2008.09.002\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eRutkowski DT, Kaufman RJ. \u0026lsquo;That which does not kill me makes me stronger: adapting to chronic ER stress\u0026rsquo;, \u003cem\u003eTrends Biochem Sci\u003c/em\u003e, vol. 32, no. 10, pp. 469\u0026ndash;476, Oct. 2007, \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1016/J.TIBS.2007.09.003/ASSET/60B111BD-AD67-441F-BE4B-E2283DDFA96D/MAIN.ASSETS/GR3.JPG\u003c/span\u003e\u003cspan address=\"10.1016/J.TIBS.2007.09.003/ASSET/60B111BD-AD67-441F-BE4B-E2283DDFA96D/MAIN.ASSETS/GR3.JPG\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eBasu R, et al. Type 1 diabetic cardiomyopathy in the Akita (Ins2WT/C96Y) mouse model is characterized by lipotoxicity and diastolic dysfunction with preserved systolic function. Am J Physiol Heart Circ Physiol. Dec. 2009;297(6):2096\u0026ndash;108. \u003cspan class=\"ExternalRef\"\u003e\u003cspan class=\"RefSource\"\u003e10.1152/AJPHEART.00452.2009/SUPPL_FILE/FIGURE+S1.PDF\u003c/span\u003e\u003cspan address=\"10.1152/AJPHEART.00452.2009/SUPPL_FILE/FIGURE+S1.PDF\" targettype=\"DOI\" class=\"RefTarget\"\u003e\u003c/span\u003e\u003c/span\u003e.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eAkan T, Gelir F, Aishwarya R, Bhuiyan MS, Bhuiyan MAN. \u0026lsquo;AFTG-Net: A Deep Attention-based Fusion Framework of Topological and Gradient Features for Pathological Image Analysis\u0026rsquo;, \u003cem\u003eRes Sq\u003c/em\u003e, p. rs-3, 2025.\u003c/span\u003e\u003c/li\u003e\u003cli\u003e\u003cspan\u003eCoskunuzer B, Ahmed F. \u0026lsquo;Topo-Net: Retinal Image Analysis with Topological Deep Learning\u0026rsquo;, \u003cem\u003eAvailable at SSRN 4725148\u003c/em\u003e.\u003c/span\u003e\u003c/li\u003e\u003c/ol\u003e"}],"fulltextSource":"","fullText":"","funders":[],"hasAdminPriorityOnWorkflow":false,"hasManuscriptDocX":true,"hasOptedInToPreprint":true,"hasPassedJournalQc":"","hasAnyPriority":false,"hideJournal":false,"highlight":"","institution":"","isAcceptedByJournal":false,"isAuthorSuppliedPdf":false,"isDeskRejected":"","isHiddenFromSearch":false,"isInQc":false,"isInWorkflow":false,"isPdf":false,"isPdfUpToDate":true,"isWithdrawnOrRetracted":false,"journal":{"display":true,"email":"[email protected]","identity":"diagnostic-pathology","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":false,"externalIdentity":"dpat","sideBox":"Learn more about [Diagnostic Pathology](http://diagnosticpathology.biomedcentral.com)","snPcode":"13000","submissionUrl":"https://submission.nature.com/new-submission/13000/3","title":"Diagnostic Pathology","twitterHandle":"@OncoBioMed","acdcEnabled":true,"dfaEnabled":true,"editorialSystem":"em","reportingPortfolio":"BMC/SO AJ","inReviewEnabled":true,"inReviewRevisionsEnabled":true},"keywords":"Computational pathology, Topological data analysis, Persistent homology, image classification, Machin Learning","lastPublishedDoi":"10.21203/rs.3.rs-7724033/v1","lastPublishedDoiUrl":"https://doi.org/10.21203/rs.3.rs-7724033/v1","license":{"name":"CC BY 4.0","url":"https://creativecommons.org/licenses/by/4.0/"},"manuscriptAbstract":"\u003cp\u003eTissue analysis is considered the gold standard for the diagnosis of a wide spectrum of disorders. However, pathologists perform labor-intensive evaluations to ensure accurate results. Computational pathology has made significant advances in the development of task-specific predictive models. Nevertheless, traditional pixel- or texture-based features often fail to capture both local and global structural patterns together with their spatial organization. This study developed TopoBoW, a computational framework to objectively characterize morphological patterns using local and global microscopy image features. We developed TopoBoW by integrating Topological Data Analysis (TDA) and Bag-of-Visual-Words (BoVW), combining it with an attention-guided multi-layer perceptron (MLP) trained to distinguish between healthy and pathological muscle tissue. TDA captures global structural features with Betti curves derived from persistent homology, whereas BoVW encodes local textural patterns with SURF descriptors and histogram encoding. We also utilized visualizations to examine the statistical behavior of feature vectors across disease classes and healthy controls, evaluating their discriminative ability. We compare TopoBoW with several baseline and advanced models, including TDA, histogram of oriented gradients (HOG) with XGBoost and Attention-based MLP. TopoBoW demonstrated state-of-the-art performance on muscle tissue classification and outperformed all baselines in terms of all classification criteria, including accuracy, F1-score, and AUC. With its interpretable feature-based computational framework, TopoBoW can assist with pathological research, education, and interactive diagnostic workflows by integrating global structural and local textural information from images.\u003c/p\u003e","manuscriptTitle":"Computational Pathology with Topological signatures and Visual Word Encoding","msid":"","msnumber":"","nonDraftVersions":[{"code":1,"date":"2025-12-01 08:10:58","doi":"10.21203/rs.3.rs-7724033/v1","editorialEvents":[{"type":"communityComments","content":0},{"type":"decision","content":"Revision requested","date":"2026-02-12T14:17:38+00:00","index":"","fulltext":""},{"type":"editorInvitedReview","content":"","date":"2026-01-21T17:10:58+00:00","index":"hide","fulltext":""},{"type":"reviewerAgreed","content":"300495151200834491892269257186204440251","date":"2026-01-09T02:02:09+00:00","index":"hide","fulltext":""},{"type":"reviewersInvited","content":"","date":"2025-11-24T12:49:58+00:00","index":"","fulltext":""},{"type":"editorAssigned","content":"","date":"2025-10-17T01:21:41+00:00","index":"","fulltext":""},{"type":"checksComplete","content":"","date":"2025-10-16T10:56:04+00:00","index":"","fulltext":""},{"type":"submitted","content":"Diagnostic Pathology","date":"2025-10-15T18:21:07+00:00","index":"","fulltext":""}],"status":"published","journal":{"display":true,"email":"[email protected]","identity":"diagnostic-pathology","isNatureJournal":false,"hasQc":true,"allowDirectSubmit":false,"externalIdentity":"dpat","sideBox":"Learn more about [Diagnostic Pathology](http://diagnosticpathology.biomedcentral.com)","snPcode":"13000","submissionUrl":"https://submission.nature.com/new-submission/13000/3","title":"Diagnostic Pathology","twitterHandle":"@OncoBioMed","acdcEnabled":true,"dfaEnabled":true,"editorialSystem":"em","reportingPortfolio":"BMC/SO AJ","inReviewEnabled":true,"inReviewRevisionsEnabled":true}}],"origin":"","ownerIdentity":"46baac56-74ac-4c5d-8fea-dd50013491bc","owner":[],"postedDate":"December 1st, 2025","published":true,"recentEditorialEvents":[],"rejectedJournal":[],"revision":"","amendment":"","status":"in-revision","subjectAreas":[],"tags":[],"updatedAt":"2026-05-18T01:54:48+00:00","versionOfRecord":[],"versionCreatedAt":"2025-12-01 08:10:58","video":"","vorDoi":"","vorDoiUrl":"","workflowStages":[]},"version":"v1","identity":"rs-7724033","journalConfig":"researchsquare"},"__N_SSP":true},"page":"/article/[identity]/[[...version]]","query":{"redirect":"/article/rs-7724033","identity":"rs-7724033","version":["v1"]},"buildId":"8U1c8b4HqxoKbykW_rLl7","isFallback":false,"isExperimentalCompile":false,"dynamicIds":[84888],"gssp":true,"scriptLoader":[]}

Text is read by the "Ask this paper" AI Q&A widget below. Extraction quality varies by source — PMC NXML preserves structure cleanly, OA-HTML may include some navigation residue, and OA-PDF can have broken hyphenation. The publisher copy (via DOI) is the canonical version.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: preprint-html

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2025) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.

Source provenance

europepmc
last seen: 2026-05-20T01:45:00.602351+00:00