|
ShodhKosh: Journal of Visual and Performing ArtsISSN (Online): 2582-7472
Visualizing Stress and Mindfulness: Integrating Intelligent Systems for Experiential Well-Being Practices Silky Arora 1 1 Department
of Computer Science and Engineering, CT University Ludhiana, Punjab, India, 2 Assistant
Professor, School of Wellness, AAFT University of Media and Arts, Raipur,
Chhattisgarh-492001, India 3 School of Liberal Arts, Noida International University, Noida, Uttar
Pradesh, India 4 Department of Computer Science and Engineering, CT University
Ludhiana, Punjab, India 5 Dean Academics and Research Head, Datta Meghe Institute of Management
Studies, Nagpur, Maharashtra, India 6 Assistant Professor, Department of E and TC Engineering, Vishwakarma
Institute of Technology, Pune, Maharashtra, India
1. INTRODUCTION The faster pace of life and the worry of work, school, and social obligations have made stress-related health problems much more common in modern society. It is now known that chronic worry can lead to a number of physical and mental illnesses, such as heart problems, anxiety, sadness, and problems with the immune system Jin et al. (2023). Stress is everywhere, so we need to come up with new and better ways to spot it early and help people who are experiencing it. Traditional ways of measuring stress, like self-reported surveys and professional conversations, can be helpful, but they are often subjective, look backwards, and can't give real-time information Shikha et al. (2024) Adhau and Gadicha (2024). People are moving more and more towards using bodily data and computer intelligence to make systems that automatically spot stress. Heart rate variability (HRV), galvanic skin reaction (GSR), and skin temperature are some of the most accurate ways to tell if someone is stressed Motogna et al. (2021). Wearable devices can constantly record these biosignals, which show how the body's autonomic nervous system reacts to stresses. Wearable tech and low-power biosensors have recently made it possible to collect this kind of data in real time, laying the groundwork for long-term tracking of stress Sagar and Ninoria (2022). The raw data from these sensors is often noisy and has a lot of dimensions Pecori et al. (2024). To make sure that the data can be interpreted meaningfully, it needs strong preparation, feature extraction, and pattern recognition methods. Machine learning (ML) techniques are very useful for finding complicated, non-linear connections in sensing data that are hard to see with traditional statistical methods Pecori et al. (2024). Many supervised learning methods, like Support Vector Machines (SVM) and Random Forests (RF), as well as deep learning models, like Convolutional Neural Networks (CNNs), have shown a lot of promise in a number of biological signal classification tasks Chaudhari and Shrivastava (2024). By learning from labelled datasets, these models can be taught to recognise stress trends. This makes stress recognition automatic and scalable. Also, methods for decreasing the number of dimensions, such as Principal Component Analysis (PCA), can improve model efficiency by cutting down on computing costs without affecting accuracy too much Shahid et al. (2023). Real-time stress recognition not only give quick feedback, but it also change your behaviour in a way that works for you. People can get quick feedback on their stress levels by adding prediction models to mobile or smart platforms Maji et al. (2024). This instant feedback process is especially helpful in mindfulness-based programs, where the success of the intervention often relies on being aware of and controlling bodily states at the right time. In these situations, real-time information can make people more interested, help tailor actions, and eventually lead to better psychological results. Adding machine learning models to systems that find signs of stress also makes it possible to keep an eye on people without touching them in places other than hospital settings. Applications go beyond mental health care and include fitness programs at work, tracking student success in school, and systems that let people connect with computers. ML-driven models will be very important in the future of personalised mental health solutions because they can be used on a large scale and can be changed to fit different needs. Even though there might be perks, there are still some problems. Stress recognition models may not work as well for everyone because people are different, sensors can be noisy, and the environment can affect how our bodies react. For these problems to be solved, we need large datasets, complex preparation processes, and knowledge about the environment. To make sure responsible operation, social issues like data protection, user consent, and feedback delivery must also be carefully thought through. Because of these problems, this study shows a complete plan for finding stress in real time by using machine learning on biosensor data. The system includes getting signals from HRV, GSR, and temperature monitors, cleaning the data, extracting features, training and testing the model, and incorporating real-time input. to find the best performance settings, comparative research is done on several machine learning models. The ultimate goal is to create a strong, flexible system that can support mindfulness-based treatments by monitoring stress in a personalised way all the time. 2. Related work A lot of progress has been made in the field of stress monitoring using sensing data, especially since machine learning and wearable tools were added. Using different techniques and tracking methods, different studies have looked into whether bodily signs can be used to detect stress. Wearable sensors and Random Forest algorithms were used in a groundbreaking study by Gjoreski et al. to find stress in real life. Earlier, Healey and Picard looked into how to use ECG, EMG, and galvanic skin response (GSR) to find driving stress. By using SVM-based segmentation, they saw big changes in the body's functions while moving. The managed nature of the data collection meant that it couldn't be used in more natural settings. Kim et al. used convolutional and recurrent neural networks on sensing data from different types, like skin temperature (TEMP), photoplethysmography (PPG), and electrodermal activity (EDA). Their deep learning design was more accurate than standard methods, but the study didn't look into how to make the computations simpler so that they could be used in real time. Gjoreski et al. used decision trees and ensemble methods to show how to find passive stress. It was interesting that they focused on daily stress in unstructured settings, but the lack of relevant and adaptable input made the system less interactive and responsive to users. Schmidt et al. studied how to find stress using deep learning, PPG data, and motion artefact reduction methods. Their study was very accurate, but it didn't take into account how people's bodies are different or come up with ways for different users to change. Table 1
3. System Architecture 3.1. Biosensor Data Acquisition Getting data from biosensors is the first step in the real-time stress recognition system. Wearable physiological monitors are used by the system to record constant data that show how the autonomic nervous system (ANS) is working. Heart rate variability (HRV), galvanic skin response (GSR), and peripheral skin temperature are the three main biosignals that are being looked at. Each of these is linked to changes in the body that happen when you're stressed. HRV is extracted from photoplethysmography (PPG) or electrocardiogram (ECG) signals, where the instantaneous heart rate (HR(t)) is derived from the inverse of the R-R interval Δt, as
HRV is measured by the successive beat-to-beat interval
variability, which is written as HRV(t)=d(HR)/dt. To capture dynamic fluctuations, higher-order
derivatives such as Figure 1
Figure 1
Block Diagram of
Proposed system Electrodermal activity (EDA), which shows sympathetic
excitement, is measured by GSR. The raw
GSR signal G(t) is modelled as the sum of a slowly varying tonic component
Thermistors measure the temperature of the skin (T(t)), and changes are modelled by a thermal conduction differential Skin temperature (T(t)) is monitored through thermistors, with variations modelled via a thermal conduction differential equation:
The heat loss constant is given by k, and the external standard is given by T_ambient. Samples of data are taken at rates between 1 and 10 Hz to find a good mix between fine-grained time detail and fast computing. 3.2. Signal Preprocessing Preprocessing of raw sensing data is necessary to make sure that machine learning models get accurate and noise-free input. Physiological signals, like HRV, GSR, and temperature, can be affected by noise, motion artefacts, and baseline drift, so they need to be filtered, normalised, and transformed. Heart rate data often have high-frequency noise in them because of electricity or motion disturbance. A Butterworth low-pass filter of order (n = 4 \) is applied, with the transfer function defined as:
The cutoff frequency is shown by ω_c. This keeps important data shape while reducing distortion. GSR signals undergo smoothing using a moving average filter defined by:
which does discrete-time integration over a window of N samples that moves. For each signal, baseline correction is applied by estimating the local mean μ(t) using convolution:
where (h(t)) denotes a Gaussian kernel. The signal that has been corrected for the
baseline is then given by
Linear splines are used to fill in missing data points, which are usually caused by sensors dropping out.
This step makes sure that the biosignals are consistent, smooth, and right for the next step, which is feature extraction. 3.3. Feature Extraction Feature extraction is a key step in turning biosensor data that has already been processed into an organised form that can be used for stress classification. After the HRV, GSR, and temperature data have been cleaned up, time-domain, frequency-domain, and nonlinear dynamic features are calculated to find important physiological trends linked to stress reactions. The mean of NN intervals (\mu_{NN}}), the standard deviation of NN intervals (SDNN), and the root mean square of successive differences (RMSSD) are time-domain features from HRV. They are given by:
The average conductance over time is used to figure out the skin conductance level (SCL) from the GSR. Figure 2
Figure 2 Block diagram of Feature Extraction The first derivative is used to model the skin conductance reaction rate (SCRR).
The Fast Fourier Transform (FFT) is used for spectral analysis to get frequency-domain data for HRV. The power spectral density (P(f)) is calculated as:
After that, the low-frequency (LF) and high-frequency (HF) parts are combined as
Autonomic balance can be seen in the LF/HF ratio.
Nonlinear features, like sample entropy (SampEn), measure how skewed the signal
is. We can see how temperatures change
over time by looking at slope analysis This set of multiple features covers the complexity of stress physiology and makes it easier to learn how to tell the difference between things. 3.4. Feature Selection and Dimensionality Reduction To lessen the effects of the curse of dimensionality, make computations easier, and make the classification model more general, it is important to choose the right features and lower the number of dimensions. When drawn from multi-modal physiological data, high-dimensional feature spaces often have features that are duplicated or don't tell us much. In this way, statistical filtering and linear projection are used to find the best region. After that,
Principal Component Analysis (PCA) is used to change the feature space in an
orthogonal way. Given a zero-centered
feature matrix
Eigenvalue decomposition of Σ yields eigenvectors
The principal components are chosen if their eigenvalues
are greater than a certain level
where
where This step makes sure that the features are represented in a way that is both fast and useful for training the model. 3.5. Model Training To sort stress levels based on features from biosensors, a one-dimensional Convolutional Neural Network (1D-CNN) is used because it is better at detecting time relationships and local patterns in sequential physiological data. CNNs are great at processing time series with a lot of dimensions because they use hierarchical neural layers to automatically separate features. The input feature
matrix is written as
To reduce dimensionality and enhance spatial invariance, a max-pooling operation is applied:
where p is the pooling size. The feature maps that are made are then smoothed and run through thick layers that are fully linked. The model is trained by minimizing the binary cross-entropy loss function:
where
where 3.6. Real-Time Feedback Integration Adding real-time input to the system that detects stress is important for making sure that changes in mindfulness programs happen at the right time. Let us call the
stream of signals coming from biosensors S(t).
A sliding window function W(t) extracts segments of length T with a
stride
The CNN looks at each window (W(t) ) and gives back a stress probability (P_stress (t)∈ [0,1]). A dynamic threshold (θ(t)) is computed adaptively based on recent predictions and their variance \
A sensitivity measure is given by \ (α). When
3.7. Comparative Performance Evaluation To validate the effectiveness of the proposed stress detection model, a comparative performance analysis was conducted against established machine learning classifiers. The evaluation employed consistent experimental conditions, including identical training-test splits (80:20), 5-fold cross-validation, and a common feature set extracted from biosensor signals. The models evaluated include Support Vector Machine (SVM), Random Forest (RF), K-Nearest Neighbors (KNN), and the proposed 1D-Convolutional Neural Network (CNN). Table 2
Figure 3 |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
This work is licensed under a: Creative Commons Attribution 4.0 International License
© ShodhKosh 2025. All Rights Reserved.