Journal of Intelligent Systems and Internet of Things

A Deep Learning-Based Guidance for Stuttering Prediction

Rajeswary Nair, K. S. Kannan
Volume 17, Issue 1, pp. 89-105 (2025)
DOI: https://doi.org/10.54216/JISIoT.170107
Online: https://www.americaspg.com/journal/18/article/3779

Abstract

Advanced stuttering detection and classification using artificial intelligence is the main emphasis of this work. Determining the degree of stuttering for speech therapists, providing an early patient diagnosis and facilitating communication with voice assistants are just a few of the uses for an efficient classification of stuttering and its subclasses. This work's first portion examines the databases and features utilized, along with the deep learning and classical methods used for automated stuttering categorization. The Bayesian Bi-directional Long Short Memory with Fully Convoluted Classifier model (BaBi-LSTM) is a deep learning model in conjunction with an available stuttering information set. The tests evaluate the impact of individual signal features on the classification outcomes, including pitch-determining variables, different 2D speech representations, and Mel-Frequency Cepstral Coefficients (MFCCs). The suggested technique turns out to be the most successful, obtaining a 95% F1 measure for the entire class. When detecting stuttering disorders, deep learning algorithms outperform classical methods. However, the results differ amongst stuttering subtypes because of incomplete data and poor annotation quality. The study also examines the impact of the number of thick layers, the magnitude of the training information set, and the division apportionment of data into training and evaluation groups on the effectiveness of stuttering event recognition to offer insights for future technique improvements.

Keywords: Stuttering; Prediction; Deep learning; Cepstral coefficients; Speech representation

1. Introduction

Because of our fundamental propensity for participation and contact, humans are social creatures at heart. Speaking to others verbally is a special quality of humans that is essential to their ability to share their ideas, worries, and points of view with others [1]. However, when it comes to interacting with their communities, people with speech impairments face serious social, psychological, and intellectual obstacles. It seems that there are more and more people living with disability. Approximately 1.3 billion disabled individuals worldwide require assistive technology (AT) [2], following WHO recommendations. Approximately 2 billion citizens could be on this list by 2030. One important human right that has been confirmed is the AT provision: The United Nations Convention on the Rights of Persons with Disabilities, a key international treaty promoting disability rights [3]. Diagnosis of speech impairments is linked to numerous interventions. Certain research has given treatments for therapy or aid for people with speech impairments according to the fundamental reasons for the irregularities in speech [4]. Multitudes of persons, ranging in age from 11 to 15, employ deep learning and statistical modelling techniques to identify, categorize, prognosis, and evaluate speech impairments. Robust advances in both industry and academia have been made in statistical modelling (ML), a well-known area within artificial intelligence (AI) [5] – [6]. Applications for text-to-speech and voice-to-text powered by AI have shown to be highly beneficial in terms of improving communication tools for those with speech difficulties. These tools improve speech recognition accuracy and accessibility as well as word predictability. Furthermore, statistical modelling offers an array of potent, automated algorithms that can manage enormous volumes of data from numerous disciplines, such as core HCI technologies: speech, language, vision, and human-computer interaction interface including vocabulary context-aware prediction, recommender systems, health informatics, and more [7]. Recent studies have shown that employing statistical modeling approaches for thorough voice signal analysis to identify problematic speech has yielded positive results by identifying important components such as Spectro Temporal utterances and Mel-frequency Cepstral Coefficients (MFCCs) from these signals. The results are more dependable when these two qualities are combined. From notably using statistical modelling approaches for voice synthesis, tailored language patterns, speech recognition and enhanced communication, voice synthesis, and accessibility and user experience improvement [8]. Users of ATSs with ML capabilities can teach and modify ML patterns. Identifying the speech patterns and subtleties of individual users would be possible for statistical modelling algorithms through the collection, annotation, and analysis of huge and varied information sets of disordered speech samples. In order to create customized patterns that are integrated into assistive technology, like voice recognition or speech producing systems, this is helpful. Additionally, in the diagnosis and treatment of speech impairments, statistical modelling techniques, being data-driven techniques, can be very beneficial [9]. It is important to recognize the following disadvantages of the SLR, even with the aforementioned benefits. The majority of suggested SLRs, which exclusively examine aphasia and dysarthria, respectively, concentrated on one kind of speech defect. A patient's age that of children is taken into consideration by other SLRs. The employment of assistive technologies is the main topic [10].

Instead of concentrating on a single illness or speech analysis tool, as was the case in earlier studies, the current systematic literature review examined several speech disorders that are suited for all age groups [11]. Finding, classifying, and contrasting efficient speech disorder detection methods was the aim. The goal of the inclusive systematic review that is being suggested is to investigate how deep learning techniques might be used to recognize, categorize, and assess these illnesses. In addition, the study is centred on the use of DL to the treatment of various diseases, considering its possible environmental, psychological, or biological roots, even in the absence of impairments caused by stuttering [12]. With an emphasis on the difficulties and constraints, this paper attempts to thoroughly examine statistical modelling approaches for speech impairment detection because of stuttering. The following imply our work’s main contribution:

 This work offers an overview of the newest deep learning methods, strategies for extracting features, model performance measures, and the properties of the information sets that are acquired with an emphasis on identifying the researchers' choices for these approaches.  Determining the categories of speech impairments that currently exist and explaining how various learning techniques target these issues.  To propose a novel Bayesian Bi-directional Long Short Memory with a Fully Convoluted Classifier model (BaBi-

LSTM) to evaluate the impact of individual signal features including pitch-determining variables, different 2D speech representations, and MFCCs.  Analysing the shortcomings and difficulties in the assessment, classification, and detection systems for speech disorders that are now DL-based. Finding areas of weakness and possible avenues for additional study and advancements.

The investigation is drafted as: Section 2 summarizes the feature representation connected to stuttering and the methodological explanation is provided in Section 3. The results of the study are reported in Section 4. Conclusion and future directions in Section 5

The quantity of features that can raise computation time costs and system performance is one of the main issues facing any ASR system. Feature selection is a solution that can help minimize the number of features by improving system efficiency and eliminating features that are superfluous or unnecessary [13]. The progress of speech analysis and its applicability to people with motor impairments has received more attention in recent years. According to earlier studies, speech interaction apps for the elderly, blind, and people with low hand dexterity have made use of deep learning (DL) and statistical modeling (ML) [14] – [15]. The application of ML and DL techniques in SED has only been skimmed at in previous academic endeavors. The standard of living for the 70 million PWS globally could be impacted in a variety of ways by the use of SED in various applications. First off, they might comprehend stuttering speech better if a strong SED is integrated with the speech assistance technology that is available today. Second, SED is crucial in simplifying and facilitating the assessment of stuttering severity in CWS, which may have an effect on the treatment strategy for CWS [16].

Even while voice assistants have become more and more popular over time, current technologies have not yet been able to generalize to grasp stuttering speech. Fluent speech data was used to train the early versions of assistive technology, including SIRI, Google, and Alexa [17]. Consequently, the current assistants will be pruning major stuttering behaviours, including prolongation, audible block, and repetitions, which may impair their performance. PWS will gain from these technologies, and combining the existing ASR with SED can enhance their capacity for generalization in order to comprehend instances of stuttering. Another critical application requiring an effective SED is stuttering evaluation [18]. It is necessary to have a speech-language pathologist (SLP) evaluate stuttering in early infancy (preschool age), particularly between the ages of three and five. According to [19], it might make stuttering easier to spot and enable 20% of CWS to get treatment before it gets worse. However, stuttering evaluation is expensive for many people, and involves a substantial investment of time and energy for SLPs and PWS. To assess the severity of stuttering, SLPs typically employ two techniques: perceptual scaling and counting process [20] – [21]. The percentage of stuttering words (%SW) or stuttering syllables (%SS) that occur most frequently (%SW) are manually counted by the SLP during the counting method. As a result, automatic SED could facilitate can make the process of evaluating severity easier while also assisting SLPs with stuttering evaluation sessions [22].

The author in [23] suggested fusing a residual network with a Bi-LSTM built on hybrid deep neural networks. The model was trained using various repeat patterns and interruptions, with STFT serving as the only auditory characteristic. The author in [22], proposed a model initially, the input signal was converted to a 256-frequency-bin STFT, indicating an end-to-end SED network. This was done by clipping the signal into a fixed-size audio clip lasting four seconds, sampled at 16 kHz. Frame-level spectral representations are obtained from these spectrograms by using a squeeze-and-excitation residual network [23]. In the last recurrent layer, to call attention to the speech's more noteworthy passages, they added a global attention mechanism. To differentiate between four stuttering episodes, using a neural network, the author of [24] suggests integrating MFCC with phoneme classifications and probabilities. A different section of the model is employed to categorize dysfluency. The 20 × 47 vector, which contained the extracted MFCC coefficients, phoneme class probabilities (18x299 dimensions), and phoneme information for speech recognition estimate with a 1D array with 299 elements, was created by downsampling the 3-second speech signal to 8 kHz [25]. Following feature extraction, three simultaneous patterns are given to the data. Each model has a temporal distribution, rectified linear Activation Function (ReLU), thick multiple layers, after which a bidirectional LSTM component is utilized. Each model's output is normalized using batch normalization and regularized with dropout layers following their merger and passage through two thick layers. Two distinct classifiers are used at the network's end to identify and categorize stuttering events. The under-sampling technique was employed by the author to address the imbalance present in the stuttering speech data. This was achieved by randomly eliminating speech samples [26]. The relevant papers demonstrate the importance of various features in the temporal, frequency, and ASR domains for accurate stuttering episode recognition.

However, the majority of research only employed one perspective on the speech signals, such as time-domain, ASR, or spectral features based on auditory input. MFCC was the only acoustic feature employed by the authors of [27]. While the authors made use of time-domain characteristics such as fundamental frequency, envelope parameters, duration energy peaks, and autocorrelation (ACF). To identify particular stuttering episodes, such as prolongation, these characteristics are crucial. Wav2Vec2.0 contextual embeddings in SED were first introduced, improved, and used by the authors of [28]. To identify recurrence occurrences and improve SED performance, these embeddings are crucial. The literature contains very little study on fused multi-feature in SED. The author in [29] added pitch articulatory elements to the frequency domain and temporal domain data for detection. The author in [30] discovered four stuttering cases by combining MFCC, phoneme classes, and probability. This work develops a multi-modal deep learning model with attention-based feature learning that learns appropriate feature dimensionality reduction by considering a set of features encompassing temporal dynamics, pitch, and auditory spectral properties, along with speech-to-text capabilities to enhance the performance of sound event detection systems [30].

3. Methodology

Automatic speech recognition is a method where a computer can understand and respond to spoken words or utterances or stuttering is the primary element of assistive technology for those with speech difficulties. DL approaches used for ASR as shown in Fig 1 may be employed for analyse and recognize speech patterns data to produce typed content from voice. Analysing different speech signals about different the ASR system's primary objective is to recognize phonemes, syllables, words, and phrases. Patients to identify voice disorders about speech impairments can use aSRs and voice pathologists can intelligently assess patients in this regard. The training information set is randomly selected to create training and testing sets from observations of both healthy and sick voices is primarily responsible for the ASR's performance. The measure of the model's goodness of fit and assess the effectiveness and transferability of the statistical modelling model after it has been built using the learning set. To apply DL algorithms, the user's voice needs to be analysed and turned into a set of features. The most important and initial phase of automatic speech recognition is pre-processing must be applied to the raw audio signal before any features can be extracted. In this step, speech activity is detected, the vocal tract's length is normalized and the voice signal is cleaned of unwanted and ambient noise. By applying several techniques such as noise reduction, enhancing the optimization of speech recognition systems for low-latency processing is the goal of pre-processing a speech signal, which includes vocal tract length normalization, audio activity detection identification, speech pre-emphasis, audio framing, windowing, and feature extraction. The method of feature extraction selects the most discriminative characteristics parts of the audio stream that can be used to filter out background noise and unnecessary information while detecting language content. The general term for the digital process of producing the voice signal is feature extraction. Linguistic, contextual, auditory, and hybrid features can be broadly divided into four groups. This first phase might involve the use of a variety of feature extraction approaches, including:

 Acoustic analysis is the process of analysing spoken sound data to extract characteristics of voice quality, prosody, articulation, and phonation, among other areas.  Vowel quality, tongue movement, occlusion weakening, speech time, and the synchronization of supralaryngeal and laryngeal activity are a few examples of articulation elements. Pitch, loudness, and length are examples of prosodic features. On the other hand, pitch variability, amplitude variability, and spectral noise ratio were the first three formants associated with vocal quality.  The timbral information of sounds is recorded and the frequency-domain analysis of an audio signal structure is represented employing Mel-filterbank-based cepstral coefficients. A Mel-cepstral feature extraction is formed by the set of coefficients known as the MFCCs. With just 12 characteristics about frequency amplitude, MFCCs offer an adequate amount of frequency channels for audio analysis.  One major challenge for the number of characteristics that any ASR system has might raise computation time costs and system performance. By eliminating features are superfluous and unnecessary while improving system performance, feature selection serves as a remedy to decrease the overall feature count.

3.1. Information set

The quality and diversity of the information set employed for model development DL and AI patterns is essential to the efficacy of these systems' stuttering detection. The importance of comprehensive information sets that span a comprehensive range of stuttering patterns, spoken input variants, and linguistic settings is highlighted by this crucial dependency. Researchers have employed a variety of information sets in the literature, including SEP-28k, and FluencyBank. In addition, some researchers have even created their own customized information sets to meet their particular study requirements. This joint project highlights the value of large and well-curated data in enhancing deep learning and artificial intelligence approaches for stuttering detection technology.

3.2 Feature-Extraction approach

In voice recognition systems, feature extraction is a crucial stage that transforms unprocessed audio signals into meaningful information for further processing. It is essential to the process of converting spoken language into digital information, which makes communication between people and technology easier. Earlier research has focused on a number of speech characteristics, including the Mel frequency Cepstral Coefficient (MFCC).

Figure 1. Speech signal pre-processing
Figure 1. Speech signal pre-processing

𝑥(𝑛)

Table 1 lists every category along with a description. In the realm of speech technology, particularly speaker identification and voice recognition, MFCC is a well-liked parameterization technique that was developed and applied extensively in recent decades. Additionally, research on speech stuttering with MFCC has been conducted. This method's key component is the MFCC acoustic properties, which are said to be reliable for voice recognition tasks. Even if MFCC analysis is twisted according to Mel-scale, its frequency is the same as cepstral analysis. Mel-frequency Cepstrum, as opposed to linearly spaced frequency bands utilizing standard Cepstrum, more closely approximates the response of the human hearing system. Logarithm is employed in MFCC to distinguish between the vocal system spectrum and the excitation spectrum. The word forms of the vocal tract are measured by the Cepstrum findings that are uttered and show gradual fluctuations in the signal spectrum. Fig 1 provides an illustration of cepstral feature vector computation. First, for every time step of N samples, the windowed signal's temporal representation is transmuted to spectral representation using the FFT. According to [20], the Critical band filter, commonly known as a triangle bandpass filter bank, is filtered before the power coefficients by the FFT block. There are two types of frequency spacing in the Mel-frequency scale: logarithmic above 1 kHz and linear below 1 kHz.

700) (1) 𝑀𝑒𝑙 (𝑓) = 2595 log10 (1 + 𝑓

Table 1 shows the filter bank for the mel scale. Eq. (1) illustrates how mel-frequency is converted to linear frequency. Mel-cepstral feature extraction Coefficients (MFCC) are obtained by applying the DCT to translate the temporal log Mel spectral representation.

Table 1. Mel-scale filtering
Table 1. Mel-scale filtering
Figure

3.3. Bayesian Bi-directional LSTM

Let 𝑀 represent the collection of all known ASR appliances. Let 𝐸 be the total voice signal measured (𝐸𝑡𝑜𝑡𝑎𝑙). Assuming discrete times 𝑝(𝑡𝑛) = 𝑝(𝑛𝑇) = 𝑝(𝑛), where the sampling interval is denoted by 𝑇 = 𝑡𝑛 − 𝑡𝑛−1. From the 𝑀 available, the active power load of the 𝑗𝑡ℎ appliance will now be shown as 𝑝𝑗(𝑛). Furthermore, it is thought that we have 𝑀 distinct patterns, each of which is associated with an appliance. This results in a modular architecture where a new network is formed each time an appliance is added where (𝑛) can be expressed as:

𝑀 𝑝(𝑛) = ∑𝑝𝑗(𝑛) + 𝑒(𝑛) 𝑗=1

where, 𝑒(𝑛) represents the measurement's additive noise. Since there are no installed input voice, the metrics 𝑝𝑗(𝑛) are not available in an ASR modeling framework. Rather, just (𝑛) is provided. Thus, the task involves estimating 𝑝𝑗(𝑛) given (𝑛). Every input has a distinct spectral signature. We utilize this fundamental idea to break down the aggregate signal (𝑛) into its constituent parts, 𝑝𝑗(𝑛). In reality, the spectral characteristics of a signal are obtained by integrating its values over a period of time. Therefore, to get the estimates 𝑝̂𝑗(𝑛) of 𝑝𝑗(𝑛), measurements of the aggregate signal 𝑝(𝑛) must be gathered over a period of time 𝐾+ 1. As a result, 𝑝(𝑛) = [𝑝(𝑛) ⋯ 𝑝(𝑛 − 𝐾)]𝑇 𝑇. After that, a non-linear relationship of (𝑛) can be used to express the values of 𝑝𝑗(𝑛). Consequently, we have that

𝑝𝑗(𝑛) = 𝑓(𝑝(𝑛) + 𝑒(𝑛) = 𝑝̂𝑗(𝑛) + 𝑒(𝑛)

3.4. Bidirectional Long Short-Term model

A fully connected neural network is one method for approximating the unknown relationship 𝑓(∙).

𝑝̂𝑗(𝑛) = 𝑢𝑗(𝑛)𝑇. 𝑣𝑗 (4)
𝑇. 𝑝(𝑛)) ⋮ tanh (𝑤𝑗,𝐿 𝑢𝑗,1(𝑛) tanh(𝑤𝑗,1 ] 𝑢𝑗(𝑛) = [ ⋮ 𝑢𝑗𝐿(𝑛) ] = [ 𝑇. 𝑝(𝑛))

The hyperbolic tagent is denoted by 𝑡𝑎𝑛ℎ, and the weights 𝑤𝑗,𝑖 =, 𝑖= 1, … , 𝐿 are those that connect that gathers each and every response from the hidden layer 𝑢𝑗,𝑖. The appliance in which the regressor is constructed is denoted by index 𝑗. Using a set of weights 𝑣, the estimate of 𝑝̂𝑗(𝑛) is obtained by linearly combining these non-linear adjustments. For the sake of convenience, the author has omitted the subscript 𝑗 in the following since we are referring to a specific 𝑗𝑡ℎ regressor. The state vector (𝑛) of the signals is dependent on its prior values because they randomly become dynamically active or inactive. Thus, it follows that:

𝑇. 𝑢(𝑛−1)) (6) 𝑇. 𝑝(𝑛) + 𝑟𝑖 𝑢𝑖(𝑛) = 𝑔(𝑤𝑖

where, 𝑟𝑖 is a set of parameters that measure how much 𝑢(𝑛 − 1) contributed to the values of the current state. In actuality, Eq. (6) represents a short-range recurrent regression. Input signal dependencies should be considered in respect to both past and future states, since they are in fact non-causal signals. The model is to be divided into two sections: the forward pass (which relates to the past) and the backward pass (which relates to the future). In other words:

𝑇. 𝑢(𝑛+ 1)) (7) 𝑇. 𝑢(𝑛−1) + 𝑟⃐𝑖 𝑢𝑖(𝑛) = 𝑔(𝑤𝑖
𝑇. 𝑝(𝑛) + 𝑟𝑖

Certain applications exhibit recurring patterns over extended durations, suggesting that short-range reliance is insufficient. For example, goes through multiple operating cycles are connected to one another over an extended period of time. Because of this, in this work, a bidirectional LSTM network serves in the form of foundational voice estimation using linear regression. As seen in Fig 2, each node, or memory module, is composed of three separate parts: the forgetting mechanism, input command, processing logic, and output response.

Forget gate: This part is to remove any information that isn't needed from the memory cell. The output has a range of 0 to 1; numbers near 0 signify that the entering data should be discarded, while values around 1 denote information that should be remembered.

Input node/gate: The matching state that the input node appropriately activates determines whether the "𝑡𝑎𝑛ℎ" activation is true or false. As an alternative, the input gate controls the sigmoid function of the regression model by deciding if the associated hidden state is "significant enough."

Output gate: if the appropriate memory cell’s response is “significant enough” to have an impact on the memory this indicator determines cell right in front of it.

Figure 2. BaBi-LSTM
Figure 2. BaBi-LSTM

3.5. Bayesian Optimization

The choice of the recommended network's (BaBi-LST) setup settings is a crucial component of our design. To improve the model configuration parameters, this study provides a probabilistic Bayesian framework rather than using the conventional manual-based tuning method. Assume for the purposes of this discussion that a specific quantity of setup parameters, represented by the symbol 𝜋, are accessible. These characteristics include things like learning rates and the quantity of memory cells. Upon receiving the data (𝑝), which comprises an aggregate voice signal collection across a specified time window in the form of a temporal-time series by the network, it can evaluate the error (𝑝, 𝑑, 𝜋) that it produces. It can also be used to compare the output of the network with the specified 𝜋 model configuration (i.e., target) outputs (𝑑). This can be done by building a set of 𝑄 distinct configurations, for instance, 𝐷1: 𝑄 = {𝜋1 ⋯ 𝜋𝑄}. Here, they are referring to any time occurrence, hence index n has been omitted. The Mean Square Error (MSE) is an assumption made by researchers. Let us indicate the minimum for all Q setups as 𝐸𝑚𝑖𝑛. Next, the following improvement function is provided:

𝐼(𝑝, 𝑑, 𝜋) = max{0, 𝐸𝑚𝑖𝑛−𝐸(𝑝, 𝑑, 𝜋)} (8)

Given a probabilistic framework, we calculate:

𝐸𝑥𝑝𝑒𝑐𝑡(𝐼(𝑝, 𝑑, 𝜋)) = 𝐸𝑥𝑝𝑒𝑐𝑡(𝑚𝑎𝑥{0, 𝐸𝑚𝑖𝑛 − 𝐸(𝑝, 𝑑, 𝜋)} (9)

When the error function's probability distribution is met, 𝑃(𝐸|𝐷1:𝑄) is known can we solve Eq. (10). With the use of Bayes' conditional probability formula, the probability distribution is characterized by:

𝑃(𝐸|𝐷1:𝑄) 𝛼 𝑃(𝐷1:𝑄|𝐸)𝑃(𝐸) (10)

A stochastic process with Gaussian increments with population mean μ(π) and population standard deviation Σ can be used to express 𝑃(𝐷1:𝑄|𝐸), given that 𝑃(𝐸) usually has a Gaussian distribution:

(11)

𝑘(𝜋1, 𝜋1) … 𝑘(𝜋1, 𝜋𝑄) ⋮ ⋱ ⋮ 𝑘(𝜋𝑄, 𝜋1) … 𝑘(𝜋𝑄, 𝜋𝑄) ] 𝛴= [

Whereas, 𝑘(∙) represents a kernel function. Our goal in optimizing is to identify an improved configuration π* ≡ 𝜋𝑄+1 that will boost the improvement 𝐼(𝑝, 𝑑, 𝜋∗) or further minimize the MSE. After that, 𝑃(𝐷1:𝑄+1 |𝐸) will once more be characterized by a Gaussian process with standard deviation for the newly extended set 𝐷1:𝑄+1, which includes 𝜋∗≥ 𝜋𝑄+1.

[ 𝛴 𝑏 𝑏𝑇 𝑘(𝜋𝑄+1, 𝜋𝑄+1)] (12)

Here, 𝑏 = [𝑘(𝜋𝑄+1, 𝜋1) … 𝑘(𝜋𝑄+1, 𝜋𝑄)]. The (𝐸𝑄+1 |𝐷1:𝑄, 𝜋𝑄+1) can also demonstrated to be a Gaussian whose standard deviation and mean are related to earlier variables. Eq. (12) is employed to calculate the new configuration 𝜋∗ which is the probability that 𝐼(∙) will occur. In actuality, it is the integral of 𝐷(∙) 𝑎𝑛𝑑 𝐷(𝐷𝑄+1 |𝐷1:𝑄, 𝜋𝑄+1).

4. Numerical results and discussion

The ensuing section details the empirical methodology findings from the suggested framework for detecting stuttering occurrences. Some existing authors used FluencyBank information sets to train and assess the model on stuttering core behaviors. Furthermore, detailed are the experimental design, assessment criteria, and outcomes. Also included are the ramifications and importance of the results for the identification of stuttering, as well as an assessment of performance differences between the suggested pattern and current patterns. The holdout test and k-fold CV were used in this work to assess the recommended model's performance. The separate-test-set method technique separated fluency disorder information sets into test and training collections so that the trained model may be evaluated on stuttering episodes that are not immediately visible. The cherry-picked debate was avoided by using random splitting with test and training sets that were 10% and 90% split. Ten-fold CV selects ten folds at random from the training set. Single-cross-validation fold is used to verify the model's mean squared error while in contrast other folds are utilized for training purposes. The manuscript's conclusions are computed using the test information set's mean of the 10 folds. The statistical metrics listed below are examined in this study.

The weighted average of 𝑅𝑒𝑐𝑎𝑙𝑙 and 𝑃 𝑼𝑒𝑐𝑖𝑠𝑀𝑜𝑛 is known as the F1-Score. The impact of imbalance on performance information sets is measured using it, and it is calculated as:

𝑝𝑟𝑒𝑐𝑖𝑠𝑖𝑜𝑛+ 𝑟𝑒𝑐𝑎𝑙𝑙 (13) 𝐹1 = 2 ∗𝑝𝑟𝑒𝑐𝑖𝑠𝑖𝑜𝑛∗𝑟𝑒𝑐𝑎𝑙𝑙

Recall stands for the sensitivity of the model. It calculates the proportion of all stuttering occurrences in the real class, i.e. to the number of correctly predicted positive events, y = p. Recall is computed as follows:

𝑅𝑒𝑐𝑎𝑙𝑙= 𝑇𝑃 𝑇𝑃+ 𝐹𝑁 (14)

Sensitivity (𝑇𝑃𝑇𝑃+𝐹𝑁) and Specificity (𝑇𝑁𝐹𝑃+𝑇) are combined to get Unweighted Average Recall (UAR). The ratio of all predicted positives to all positives in the sensitivity in a binary classification problem is defined as follows. It is also known as the positive class recall at times. Specificity is defined as recall on the negative class; however, recall measures the number of true positives relative to entire number of correctly identified expected negatives to the aggregate number of negatives.

2 (15) 𝑈𝐴𝑅= 𝑠𝑝𝑒𝑐𝑖𝑓𝑖𝑐𝑖𝑡𝑦+ 𝑠𝑒𝑛𝑠𝑖𝑡𝑖𝑣𝑖𝑡𝑦

A statistical metric called the EER assesses how incorrectly the model has classified its predictions. It can be used to compute the UAR. To compute it, divide by the total number of accurate (𝐹𝑃+ 𝐹𝑁) forecasts, the total number of incorrect (𝐹𝑃+ 𝐹𝑁+ 𝑇𝑁+ 𝑇𝑃) projections is found. This yields Eq. (10).

𝐸𝐸𝑅= 𝐹𝑃+ 𝐹𝑁 𝐹𝑃+ 𝐹𝑁+ 𝑇𝑁+ 𝑇𝑃 (16)

4.1. Implementation process

The model that has been suggested is constructed and trained using the TensorFlow 2.6 framework using the parameters. Researchers can effectively create and implement statistical modelling patterns with the help of TensorFlow, a Google statistical modelling framework that is available as open source. To extract sound-based attributes spectrum, melody, rhythm, and tempo aspects from the phonetic signals mentioned utilize the Librosa Python package. This library is used in audio and voice analysis. In addition, the k-fold cross-validation technique is implemented using the Python module for Sklearn. Furthermore, to give the voice signals context, a pre-trained Wav2vec2 base model is supplied. By utilizing these instruments, voice sounds may be processed and detected with great accuracy. The training sets of labels and temporal regions that go with them are specifically used to train the model. Using balanced class weights and shuffled data before each fold, it uses ten folds of k-fold cross-validation. By using the k-fold class in the sklearn package, during the training phase, there are model development and validation datasets. Learning makes use of the Adam optimizer, initialized with a learning rate of 0.0001, and binary crossentropy as the loss function cost function. To reduce over-fitting, model training is stopped early after 5 epochs without improvement, and the optimal model weights from training are maintained. For the suggested method to be used in practical applications, processing speed and temporal complexity are essential. Inference has been carried out on 500 speech data samples using the Psutil Python package on a 12.68 GB total memory Google Colab Tesla T4 GPU. Table 2 explains the techniques used to determine the typical time needed to process data using each feature extraction method.

4.2. Ablation study

The current research aims to, a hybrid approach combining multiple features as the proposed strategy that combines spectral characteristics of audio features, ASR embedding, and time-series features retrieved from speech signals. To investigate the sensitivity of the model to different feature extraction techniques on the functionality of the suggested pattern, four sets of a series of experiments were carried out as shown in Table 3. Spectral flux onset (SFO), Zero Crossing Rate (ZCR), logits derived from the Wav2vec2 model, Mel-Frequency Cepstral Coefficients (MFCCs), and fundamental frequency were some of the experimental feature representations. Every trial raised questions about the impact of attention mechanisms. The MFCC stated in process 1 is the only acoustic characteristic of a baseline model with BaBi-LSTM block employed in the first experiment. The goal of this experiment was to use MFCC to investigate the baseline model's behavior. As a result, the Bi-LSTM block is made up of input, output, and forgot gates. Following that, MFCC-based Bayesian optimizer maps are used to process the feature maps. The bidirectional LSTM layer with 64 units, the global average pooling layer, and the time-distributed dense layer make up the RNN block. A dense layer using sigmoid activation functions processes the signal and generates a probability for each stuttering event. To observe how attention affects model performance, the baseline model which is the one shown in group 1 was tested without MFCC.

Table 2. Time complexity and processing time analysis
Table 2. Time complexity and processing time analysis
Table 3. Experimental feature analysis
Table 3. Experimental feature analysis
Table 4. Experimental outcomes
Table 4. Experimental outcomes
Table 5. F1-score of proposed with existing approach comparison using SEP-28k
Table 5. F1-score of proposed with existing approach comparison using SEP-28k
Table 6. F1-score of proposed with existing approach comparison using FluencyBank
Table 6. F1-score of proposed with existing approach comparison using FluencyBank
Figure 3. Processing time comparison based on features
Figure 3. Processing time comparison based on features

In Fig 4a and Fig 4b, the baseline architecture and the proposed architecture without the MFCC mechanism’s behavior F1-scores are shown. It was shown that the F1 scores for block (from 88% to 90%) and prolongation (from 96.41% to 96.68%) improved significantly, when the MFCC module was used. However, an investigation showed that overfitting resulted from MFCC's significant relationship with other classes. The F1 score for sound repetition dropped as a result, going from 88% to 93%. Reducing the dimensionality of the feature collection and implementing regularization helped to address this anomaly. Additionally, there was no discernible variation in the F1-score for interjection that held steady at 85.5% and 95%, correspondingly. These findings suggest that the MFCC module can significantly accelerate the block’s throughput but it may have a detrimental impact on the sound repetition task. Additionally, using other features as an exclusive acoustic feature instead of just a handcrafted MFCC may improve BaBi-LSTM performance.

To investigate the impact of contextual factors on the trial outcomes, in the second trial (group 2). The MFCC was utilized to fuse the logits of the pre-trained basic LSTM model. Researchers examined the model structure in the absence of MFCC. The outcomes show that, aside from extension, the model's performance increased in every class. The F1 score saw the largest gain, rising from 88% to 95% (4% increase) in sound repetition. This suggests that the model might be capable of efficiently learning and generalizing to sound repetition. Furthermore, there was a notable improvement observed in both the block and word repetition, with increases of 3% from 88% to 91% and 93% to 97.52%, respectively. Additionally, there was a minor but significant improvement in the interjection class, going from 75% to 76%. In contrast, prolongation went from 66% to 67% with a small rise of less than 1%. The results of the experiment show that the inclusion of MFCC had a negligible impact on the model's performance. More precisely, there was a 0.16% increase in the model's F1-score. Nonetheless, there was a 1% enhancement in F1 metric for both the delay and the interjection. As shown in Table 4, in the third trial (group 3), by combining several characteristics, auditory-based, contextual, and time-domain spectral information may be represented by the model developed a temporal understanding feature representation at the frame level. The five concurrent streams, which have followed the same structural design as the fundamental model, inherit these traits. The findings show that a multi-feature model utilizing MFCC performs better than the others in each of its five classes. The group that improved the most on stuttering instances was the sound repetition class (4.61%) suggesting that the model had difficulties identifying sound repeat in the early groups that lacked pitch and temporal data.

Figure

Figure 4a. Group_1 based experimental outcomes Figure 4b. Group_2 based experimental outcomes

Nonetheless, there was a 1% increase in the interjection F1-score. Additionally, there was a 1.5% increase in the block's F1 score for word extension and repetition. In the fourth trial (group 4) to address the issue of class imbalance, by using the sigmoid activation function integrated with Focal Loss (FL) and 𝛼 = 0.25 and 𝛾 = 2.0, a focal weight was added in contrast to the standard cross-entropy loss function employed in the multi-class prediction algorithm. The testing results' overall F1-score grew by 3%, from 71.39% to 74.45%, in tandem with FL hyper-tuning. As shown in Fig 5a and Fig 5b, apart from the improvement in the F1 score, there was a 2% gain in UAR, a 7% decrease in EER, and an approximately 7% increase in recall.

4.3. Comparative analysis

Table 5 shows that on the SEP-28k information set, the recommended pattern achieves a mean harmonic F1-score of 94%, which represents a 4% absolute improvement over existing approach. F1-score of 91% with a high effect size. In comparison to existing works, the model using the Fluency Bank information set obtains a moderate effect size and the average F1 score increased by 3% absolute (91.41% versus 98.2%). The difference has an effect size of 0.85 (𝑝 < 0.01) according to Cohen's d, indicating statistical significance. Significant improvements over the previous state of the art are shown by statistical testing, with impact sizes ranging from moderate to large (0.4 to 0.7 for Cohen's d). This shows notable increases in detecting performance in real-world applications. On both information sets, the model performs better in terms of block and word repetition than the cutting-edge methods used today. To be more exact, the block event scored 66% on FluencyBank and 69% on the SEP-28k. However, the F1-score for word repetition on the SEP-28k and FluencyBank was 83% and 90%, respectively. The outperforming of current patterns indicates that the suggested model has the potential for stuttering event identification and shows a discernible improvement in the block. Three key aspects account for the model's increased performance on word and block repetition in the two information sets. First, as the data section states, there is a 25% consensus on this event, and SLPS is not the information set's annotator. As a result, the suggested model uses an annotator consistency analysis with a minimum of three independent raters to address the information set’s reliability issues.

Figure

Figure 5a. SEP-28k based comparison Figure 5b. FluencyBlank based comparison

Although some existing works address this issue using, the same techniques as the recommended model use the intrarater agreement to explain the results in terms of blocks and other events. The combination of pitch, contextual, and temporal characteristics is the second element. This outcome corroborates other research in the field that suggested the significance of these traits for the detection block. Ultimately, by using the best-fit focal weights determined through extensive testing, the model successfully addresses the issue of class imbalance. The model only achieves state-of-the-art findings and performs well on 8 hours and 1.5 hours, respectively, of trustworthy data on all stuttering events from FluencyBank and SEP-28k. The model beats the most advanced approach by 7.38% from the perspective of prolongation class on the FluencyBank information set; on SEP-28k, however, only barely beats the suggested model by 73.00%. In terms of sound repetition, the model outperforms the prior demonstrated superior performance, with gains of 7.8% on SEP-28k and 66.41% on FluencyBank, relative to previous studies. Since the sound repetition performance is 11% worse than in the previous study, The F1-score was applied to minority groups are both word repetition and sound were merged into a single core behaviour class, which could be the reason for looking at the baseline outcomes of existing approaches. Thus, it could be wise to divide word and sound repetition into different groups. The author demonstrated good sound repetition performance (75%) and interjection performance (83%) on the FluencyBank information set, but it was unable to identify any more stuttering episodes. As a result, these stuttering events are covered by the phoneme probabilities and features of the articulatory vocal tract mentioned. Additionally, in a small sample, misclassification of interjection and sound due to missing data may arise from employing the agreements of three annotators to resolve inter-rater agreements. The proposed model performed worse for FluencyBank than SEP28-k did. Upon more examination, it was shown that SEP28-k had poorer annotation quality, particularly for the block class. After removing low-confidence samples from the model to enhance performance, it was retrained to deal with this.

5. Conclusion

The advantages of fully connected Bayesian Bi-directional Long Short Memory with Fully Convoluted Classifier model (BaBi-LSTM) are integrated into this work to create a more powerful hybrid acoustic model. Speech recognition tasks are used to highlight the power of BaBi-LSTM architecture. Varieties of pooling and weight-sharing mechanisms that are commonly employed in computer vision are investigated. Unfortunately, in the ASR task, no pooling strategy showed significant performance gains. The optimal result is shown to be obtained with the structure consisting of Bayesian Bi-directional Long Short Memory with Fully Convoluted Classifier model (BaBi-LSTM). Researchers also find that MFCCs are the best locally correlated feature set for BaBi-LSTM. Additionally, our team created a novel method of MFCC feature integration with the BaBi-LSTM feature. Relative improvements over the best-performing existing CNN system were 5.8% and the DNN system was 10%, respectively, for the suggested design. The proposed system was able to achieve this high gain because of speaker-adapted features and neuron characteristics. The experimental findings demonstrated the computational efficiency and competitiveness of the BaBi-LSTM system when compared to the current baseline.

Figure
Figure