Translate this page into:
Explicating the interplay of maternal work stress, breastfeeding, mental health, and infant attachment using machine learning and statistical modeling
* Corresponding author: E-mail address: darin.mathkor@gmail.com (D Mathkor)
-
Received: ,
Accepted: ,
Abstract
Maternal work stress is a major problem for working mothers, but its impact on both the continuation of breastfeeding and on maternal mental health is complex and not yet fully understood. This study used large open-access datasets from Open Science Framework (n=2,010) to examine the interplay of these complicated relationships. Statistical and machine learning methods of analysis were employed to explore the relationship between maternal work stress, sociodemographic variables, breastfeeding duration, and maternal mental health markers. Traditional regression models showed that variables like maternal education were predictive of birth weight; they accounted for relatively little variance (Polynomial R2 = 0.24), implying that direct, linear associations fall short of representing the complete picture of maternal-child health outcomes. In contrast, a Random Forest classification model correctly predicted cessation of breastfeeding at a high rate (85%), accurately identifying intricate, non-linear patterns that are obscured by means of traditional approaches. Clustering analysis further revealed that work stress and breastfeeding are not directly related, but are moderated by different subgroups that are determined by sociodemographic factors such as access to healthcare, social support, and work culture. A high level of maternal distress was detected across all groups, pointing to a widespread public health concern. These findings emphasize the limitations of oversimplified cause-and-effect models in understanding maternal health. They underscore the need for multi-level interventions, such as workplace policies that support mothers, early mental health screening, and targeted public health campaigns. Addressing these issues is not only instrumental in enhancing breastfeeding outcomes and maternal well-being, but also integrating early work-stress screening and lactation support as a part of standard maternal care will help in identifying at-risk mothers and thereby provide personalized psychological and breastfeeding therapies for better outcomes.
Keywords
Breastfeeding practices
Infant attachment
Machine learning models
Maternal mental health
Maternal work stress
Workplace policies
1. Introduction
Breastfeeding plays a crucial role in early nutrition, supporting both the growth of infants and the well-being of mothers (Akter & Rahman, 2010). The World Health Organization (WHO) and the American Academy of Pediatrics (AAP) recommend exclusive breastfeeding for the first 6 months due to its numerous immunological, cognitive, and psychological advantages for infants (Badruddin et al., 1997). However, many working mothers face significant obstacles that hinder their breastfeeding ability, and many times they are forced to give up their intention of breastfeeding. Earlier studies report that approximately 50% of mothers do not breastfeed for the recommended duration due to work-related challenges (Benzies et al., 2017). It isn’t easy to maintain work responsibilities with infant care, a significant concern for working mothers that adversely affects both the initiation and continuation of breastfeeding (Mgongo et al., 2024).
Maternal work stress has a substantial impact on mother-infant attachment, particularly by influencing breastfeeding. Recent research revealed that work-related stress is a significant factor in early breastfeeding discontinuation, especially among mothers who receive minimal workplace support. Breastfeeding is crucial for infant health and emotional attachment, but maternal work and work stress usually inhibit effective breastfeeding behaviors (Biswas et al., 2025; Fiedor et al., 2024). The research findings lead to an inference that mothers who work full-time and those under stressful situations are late in starting breastfeeding and early in weaning (Dagher et al., 2016). Stress also interferes with maternal mental well-being, leading to postnatal depression and anxiety, which have a negative influence on the duration of breastfeeding and infant attachment quality. Although all these findings have been established, little research utilizes sophisticated analytics to understand these dynamics and comprehend these interactions. The present study bridges this gap by employing machine learning (ML) and regression methods to uncover deeper patterns and intends to explore the impact of maternal work-related stress on the breastfeeding practices and infant attachment by analyzing the patterns of publicly available maternal and child health datasets (Fig. 1. shows a simplified schematic diagram of the analytical workflow followed during the entire analysis from data preprocessing to evaluation). The study aims to determine the relationship between the mother’s employment status, psychological stress, and social support, in giving rise to maternal and child outcomes. With the help of statistical and predictive modeling approaches, this study is committed to establishing a model for locating those mothers who are likely to experience stress-induced disruptions in breastfeeding and attachment. Eventually, this study is an essential tool in shaping the different interventions and strategies in public health that aim at enabling working mothers to continue with the ideal breastfeeding practices and establish secure maternal-infant relationships.

- Schematic workflow for the study followed during the entire analysis from data preprocessing to evaluation.
2. Materials and Methods
2.1 Data acquisition
This study used the datasets that employed a cross-sectional design to examine the effects of maternal work stress on breastfeeding behaviors and infant attachment. Publicly available datasets from the Open Science Framework (OSF) (https://osf.io/58dng) were utilized, alongside a master dataset containing 2,010 maternal and child health indicator observations (specifically the dataset curated by Braithwaite, Pearson, and Wright (updated May 6, 2025)). Data collection for the original dataset occurred between 2022 and 2024 through structured surveys administered to mothers recruited via community health centers and online parenting networks in the United Kingdom.
2.2 Data preprocessing
Comprehensive data pre-processing steps were applied to ensure analytical robustness and data integrity. Missing data were handled using median imputation for numerical variables and mode imputation for categorical ones (Gautam & Latifi, 2023). According to the inclusion criteria adopted for the original study, mothers were required to have at least one child under 5 years of age and be engaged in full-time or part-time work or be self-employed. The data of participants with missing maternal status or breastfeeding data were excluded to maintain the integrity and validity of the statistical and machine learning analyses. Categorical variables with more than 50 percent missing entries were eliminated to maintain statistical validity. Outliers for work stress levels and breastfeeding duration were detected using the interquartile range (IQR) method and handled accordingly (López-Fernández et al., 2023). To prevent the leaking of data, median imputation was done for the numerical variables and mode imputation for the categorical variables. These imputations were both trained on the training data and applied to the test data. Numerical features were scaled with StandardScaler, and categorical features were encoded with OneHotEncoder. The Edinburgh Postnatal Depression Scale (EPDS) score refers to item 10 (suicidal ideation, range 0-3). Whereas, Generalized Anxiety Disorder 7-item (GAD-7) values reported are item-level means (0-3); total scores range from 0-21. Work stress was measured on a standardized 1-5 Likert scale. Earlier mentions of a 0-60 range reflected raw summed scores from item banks; herein, consistent reporting of the calibrated 1-5 scale across all analyses, figures, and text to ensure clarity and comparability was ensured. Biologically implausible values (e.g., negative ages, negative breastfeeding durations) were removed before inferential tests and machine learning analyses.
2.3 Statistical analysis
The exploratory data analysis (EDA) summarized the dataset’s features and identified patterns of interest. Descriptive statistics were computed for numerical variables such as maternal age, work hours per week, and breastfeeding duration. Frequency distributions were analyzed for categorical variables, including breastfeeding exclusivity, maternal employment type, and job stress levels. To assess the relationship between work stress and breastfeeding outcomes, correlation analysis was performed using Pearson and Spearman coefficients. Bivariate analyses, including chi-square tests, t-tests, and one-way Analysis of Variance (ANOVA), were used to examine variations in breastfeeding behaviors across employment and stress levels. Additionally, principal component analysis (PCA) was utilized to reduce dimensionality and uncover key patterns in high-dimensional data, allowing for a more refined understanding of factors influencing maternal work stress and breastfeeding behaviors. These statistical procedures were used to establish baseline associations and distributional properties, which informed variable selection and model specification for subsequent regression and machine learning analyses.
Regression analysis assessed the relationship between maternal work stress and breastfeeding behaviors. Breastfeeding duration was analyzed separately through descriptive statistics and classification models. Linear regression models estimated the impact of work hours and stress levels on breastfeeding duration. Bivariate regression analyzed interactions between maternal psychological well-being and infant attachment scores. Various regression models accounted for confounding variables that included socioeconomic status, education, and support networks. ANOVA was used to compare stress levels across different employment categories. The statistical significance was computed using p values (≤ 0.05), and residual diagnostics were conducted to assess the model’s validity.
2.4 Machine learning analysis
Supervised machine learning models were employed to predict breastfeeding behaviors and assess the impact of maternal work stress on infant attachment. The classification target was defined as breastfeeding continuation beyond 6 months (Yes/No). Classification models, comprising logistic regression, decision trees, and support vector machines (SVMs), were applied to categorize breastfeeding continuation beyond six months. Model selection relied on interpretability, robustness, and compatibility with the size of the dataset and the complexity of variables. Logistic Regression established a clear baseline, SVM effectively handled non-linear margins, and Random Forest excelled at handling feature interactions and missing values. eXtreme Gradient Boosting (XGBoost) was not included to ensure interpretability and computational efficiency, given the dataset’s modest size. Machine learning approaches were applied to capture (Fig. S2(a)) complex, non-linear interactions between maternal stress, sociodemographic factors, and breastfeeding outcomes that are not adequately modeled by conventional regression techniques.
The dataset was split into training (70%) and test (30%) sets using stratified random sampling, ensuring balanced representation of breastfeeding continuation categories. Furthermore, five-fold cross-validation was utilized on the training set to ensure model stability and reduce sampling bias throughout the classification process. A feature importance analysis was conducted to identify key predictors influencing breastfeeding and attachment outcomes. The Gini impurity criterion was used to assess feature importance in the Random Forest model, measuring each variable’s contribution to classification accuracy. To verify robustness, permutation importance was calculated to ensure reliable identification of predictors affecting breastfeeding continuation and maternal stress outcomes.
Hyperparameter tuning was applied through grid and random search over the following intervals: n_estimators (100-1000), max_depth (3-20), and min_samples_split (2-10). Five-fold cross-validation was applied to avoid overfitting and guarantee model generalizability. Average performance metrics were recorded for all folds to reflect consistency and reliability. Breastfeeding outcomes class imbalance (continuation vs. cessation) was handled by stratified sampling during data splitting and class-weight balancing in classification algorithms (Logistic Regression, SVM, Random Forest). These alterations guaranteed that both outcome categories received the same amount of input and minimized the model’s bias towards the majority class. Performance metrics were used for model evaluation, including accuracy, precision, recall, F1-score, and area under the receiver operating characteristic (ROC) curve. Moreover, unsupervised learning techniques, such as k-means clustering, were utilized to profile mothers’ data according to stress levels and breastfeeding behaviors. Statistical analyses were performed with Python (v3.10) and the libraries Pandas, Scikit-learn, NumPy, and Matplotlib. Seaborn and Plotly tools were used for data visualization. The Scikit-learn pipelines were used to implement and validate the machine learning models.
3. Results
3.1 Exploratory data analysis
Data analysis explored maternal ages, with an average of 35.17 years, a median of 34, and a mode of 33. Symmetric distribution of child age was around 5 years, with an interquartile range of 3-7 years (Fig. S1a). Maternal education (1 = No formal education, 2 = Primary, 3 = Lower secondary, 4 = Upper secondary, 5 = Undergraduate, 6 = Postgraduate or Professional degree) is evenly distributed, with a spike at the highest level, suggesting broad socioeconomic representation (Fig. S1b). Gestational age clustered around 39-40 weeks with some preterm births (Fig. S1c), while delivery methods (1 = Normal vaginal, 2 = Assisted vaginal, 3 = Elective cesarean, 4 = Emergency cesarean, 5 = Other or Unspecified) were evenly divided (∼18-21% each), indicating heterogeneity in delivery experiences (Fig. S1d). Table 1 presents baseline characteristics by stress levels. Fig. 2(a) compares birth weight by sex, showing similar 2-5 kg ranges with slightly narrower distribution in one group. The pair-plot (Fig. 2b) shows near-normal distributions for key variables, with only gestational age and birth weight showing a mild positive association. Breastfeeding duration (Fig. 2c) peaks around 15-18 months. Correlation analysis (Fig. 3a) shows weak associations overall, with gestational age–birth weight correlation at r≈0.25. Breastfeeding duration fluctuates without a trend in Fig. 3(b). Whereas, Fig. 3(c) shows a noisy but positive gestational age-birth weight trend. Mental health impacts (Fig. 3d) are evenly distributed across three discrete levels. Sex (child) (Fig. 3e) is evenly distributed, and Fig. 3(f) again highlights child age anomalies. Joint distribution of gestational age and birth weight (Fig. 4a) clusters at term and average weight. Breastfeeding duration rises cumulatively to ∼40 months (Fig. 4b), peaking at 0-30 months (Fig. 4c; Fig. S2(a)). Maternal age peaks near 30 years (Fig. 4d). Delivery methods show clustering in modes 2 and 4 (Fig. 4e). Birth weights cluster between 2.8-4.0 kg (Fig. 4f). Mean birth weights differ little by delivery method Supplementary Fig. S2(b). Breastfeeding difficulty shows minor influence on mental health, Fig. S2(c), while radar plots indicate balanced mental health dimensions, Fig. S2(d). Breastfeeding duration weakly increases with maternal education, Fig. S2(e). Gestational age distributions vary slightly by delivery method, as depicted in Fig. S2(f).
| Characteristic | Overall (N = 2,010) | Low stress (n = 520) | Moderate stress (N = 490) | High stress (N= 455) | Very high stress (N =150) | Extreme stress (N= 350) |
|---|---|---|---|---|---|---|
| Maternal age, years (mean ± SD) | 35.17 ± 7.91 | 34.2 ± 7.5 | 35.0 ± 7.7 | 35.5 ± 8.0 | 36.0 ± 8.2 | 35.8 ± 7.9 |
| Education level (1-6) (mean ± SD) | 4.88 ± 1.2 | 4.7 ± 1.3 | 4.8 ± 1.2 | 4.9 ± 1.2 | 5.0 ± 1.1 | 4.9 ± 1.2 |
| Gestational age, weeks (mean ± SD) | 39.47 ± 1.6 | 39.5 ± 1.5 | 39.4 ± 1.7 | 39.6 ± 1.6 | 39.3 ± 1.5 | 39.5 ± 1.6 |
| Birth weight, g (mean ± SD) | 3,404 ± 506 | 3,390 ± 510 | 3,410 ± 505 | 3,420 ± 495 | 3,395 ± 500 | 3,415 ± 510 |
| Breastfeeding duration, months (median [IQR]) | 6 [3–12] | 7 [4–12] | 6 [3–12] | 6 [3–11] | 5 [2–10] | 5 [2–9] |
| Breastfeeding >12 mo n (%) | 2,463 (40.8%) | 530 (44.2%) | 520 (43.3%) | 480 (40.0%) | 470 (39.2%) | 463 (38.6%) |
| Breastfeeding support received n (%) | 3,800 (63.0%) | 780 (65.0%) | 770 (64.2%) | 750 (62.5%) | 750 (62.5%) | 750 (62.5%) |
| EPDS item 10 (0-3) (mean ± SD) | 2.79 ± 0.55 | 2.6 ± 0.5 | 2.7 ± 0.5 | 2.9 ± 0.5 | 3.0 ± 0.6 | 3.0 ± 0.6 |
| GAD-7 (0-3 mean per item) (mean ± SD) | 1.69 ± 0.4 | 1.5 ± 0.3 | 1.6 ± 0.4 | 1.7 ± 0.4 | 1.8 ± 0.5 | 1.9 ± 0.5 |

- (a) Strip plot of birth weight (kg) by Sex (child). (b) Pairplot of maternal and child variables with histograms and scatter plots. (c) KDE plot of breastfeeding duration (months).

- (a) Correlation heatmap of maternal, child, and perinatal variables. (b) Line plot of breastfeeding duration over the sample index. (c) Scatter plot of birth weight versus gestational age. (d) Strip plot of mental health impact score. (e) Bar plot of Sex (child) count. (f) Rug plot of child age in months.

- (a) Joint plot of gestational age and birth weight. (b) Step plot of breastfeeding duration. (c) Histogram of breastfeeding duration. (d) Density plot of maternal age. (E) Donut chart of delivery method. (f) Box plot of birth weight.
3.2 Inferential analysis
ANOVA tests highlight key factors affecting maternal and child well-being. Fig. 5(a), a dumbbell chart, shows child birth weights pre- and post-cleaning; most values fall between 2.5-4.0 kg, with reduced differences after preprocessing, underscoring data cleaning’s importance. Fig. 5(b), a stacked bar plot, shows that most mothers reported breastfeeding support, a potential confounder in infant feeding and maternal health analyses. Maternal age distribution (Fig. 5c), displayed as a circular bar chart, peaks between 30-35 years, confirming earlier histograms while enhancing symmetry visualization. The hexbin plot (Fig. 5d) of gestational age and birth weight is a refinement of Fig. 4(a), showing dense clustering near 38-40 weeks and 3.0–3.5 kg, consistent with term births. Fig. 5(e), a quantile-quantile (Q-Q)-like plot, indicates that the distribution of breastfeeding duration is close to a normal distribution with a slight skew in the tails. Stress levels (Fig. 5f) deviate from normality, displaying ordinal clustering, suggesting non-parametric or ordinal regression may be suitable. Boxplots in Fig. 6(a) reveal breastfeeding duration medians are consistent across stress levels, though variability exists. Fig. 6(b), a pie chart, shows that stress levels are evenly distributed (∼19-21%), reducing class imbalance. Fig. 6(c) groups breastfeeding durations, showing that extended breastfeeding (12-24 months, 40.8%) dominates. Scatterplots (Fig. 6d) and correlations (Fig. 6e, r≈0.015) confirm that the relationship between stress and breastfeeding is minimal. These findings suggest that while direct inferential associations are weak, more complex interaction effects may exist, warranting the use of multivariate and machine learning approaches to uncover hidden patterns. Overall, results suggest that maternal stress modestly influences breastfeeding, and supportive measures for mothers are necessary to address this issue.

- (a) Dumbbell chart of birth weight pre-/post-cleaning. (b) Stacked bar plot of access to breastfeeding support. (c) Circular bar chart of maternal age distribution. (d) Hexbin plot of gestational age vs. birth weight. (e) Q-Q plot of breastfeeding duration. (f) Q-Q plot of work stress level.

- (a) Boxplot of breastfeeding duration by work stress levels; (b) Pie chart of work stress level distribution; (c) Breastfeeding duration category percentages; (d) Scatterplot of work stress vs. breastfeeding; (e) Heatmap showing weak correlation values.
3.3 Regression analysis: Model evaluation and interpretation
This study compared Linear, Multiple, and Polynomial Regression models for forecasting birth weight. The Polynomial Regression model performed (Mean Squared Error (MSE): 183,037.66; R2: 0.2377) better than Linear and Multiple Regression (both MSE: 189,951.97; R2: 0.2089), reflecting the model’s improved capability to capture the non-linear relationships. However, the overall power of the model to explain the variation in the data was still quite low. Fig. 7(a) shows that MSE is lowest for Polynomial Regression, while Fig. 7(b) confirms higher R2. Residual analysis revealed heteroscedasticity in Linear Regression (Fig. 7c) and slight quantile-quantile (Q-Q) plot abnormalities in Multiple Regression (Fig. 7d). Polynomial Regression showed improved fit, though performance weakened for high birth weights. The Multiple Regression model yielded a highly significant F-statistic (p < 0.0001). Maternal education emerged as a strong positive predictor, whereas maternal age showed no significant effect. Predicted vs. actual plots (Fig. 7e) demonstrated Polynomial Regression aligning most closely with observed values. Multicollinearity, identified by high variance inflation factors (VIFs) and near-zero eigenvalues, indicated coefficient instability, leading to dimension reduction (PCA) where VIF > 5. Overall, Polynomial Regression provided superior predictive accuracy but also made apparent the limitations of the data and the modeling approach.

- Regression model diagnostics for birth weight prediction: (a) MSE comparison, (b) R2 values, (c) residuals for linear regression, (d) Q-Q plot for multiple regression residuals, (e) predicted vs. actual birth weight using polynomial regression.
3.4 Machine learning model performance
Model comparison showed Polynomial Regression outperforming Linear Regression slightly, with lower MSE and higher R2. Fig. 8(a) confirms that Polynomial Regression minimizes error more effectively, while Fig. 8(b) shows consistently higher R2 values, indicating breastfeeding duration may follow non-linear patterns. Classification models trained on a 70/30 split further highlighted predictive differences. Logistic Regression (Accuracy = 75%, Precision = 70.2%, Recall = 73.5%, F1 = 71.8%), Support Vector Machine (Accuracy = 75%, Precision = 72.4%, Recall = 74.1%, F1 = 73.2%), and Random Forest achieved the best performance (85% accuracy; Precision 77.8%, Recall 87.5%, F1 82.3%), outperforming Logistic Regression and SVM (Fig. 8c). Predicted vs. Actual plots (Fig. 8d) show Polynomial Regression tracking closely to the 45° line, however, the dispersion indicates that there is some degree of individual variability. This performance indicates that breastfeeding cessation is driven by interacting risk factors rather than single predictor, supporting the clinical relevance of multivariable, data-driven risk stratification. The Confusion Matrix (Fig. 8e) demonstrates high sensitivity and specificity, with most cases correctly classified and minimal false positives/negatives. Unsupervised clustering (Fig. 8f) revealed three distinct subgroups based on maternal work stress and breastfeeding duration, patterns not captured by regression or classification alone. These clusters suggest the presence of hidden heterogeneity, indicating distinct maternal experiences which in turn imply the necessity of tailored intervention programs. Polynomial Regression and Random Forest provided superior predictive performance, while the clustering method aided in identifying the latent structures, and thus deepened our understanding of the complex, multi-faceted nature of the relationships between maternal stress and breastfeeding behavior. The cross-validated performance of the model for categorizing maternal breastfeeding outcomes has been presented in Fig. 9(a), which features Receiver Operating Characteristic (ROC) curves for 5-fold cross-validation, illustrating the performance of each fold (Fold 1-5) along with the average ROC. Area Under the Curve (AUC) values reflect consistently robust discrimination, with an average AUC of 0.87. Precision-Recall (PR) curves (Fig. 9b) for 5-fold cross-validation, illustrating individual fold curves alongside the average PR. The average AUC = 0.89, indicating strong accuracy at different recall thresholds. These metrics suggest that the Random Forest classifier surpasses both Logistic Regression and SVM, achieving a strong predictive performance while maintaining a balance between sensitivity and specificity. Cross-validation underscores model consistency across folds, reinforcing trustworthiness in forecasting breastfeeding duration based on maternal stress and associated factors.

- (a) Bar plot comparing MSE of linear and polynomial regression; (b) R2 score comparison; (c) Classification accuracy of logistic, random forest, and SVM models; (d) Predicted vs. actual breastfeeding duration; (e) Confusion matrix; (f) Work stress–breastfeeding duration clustering.

- Five-fold cross-validated ROC and PR curves showing consistent Random Forest model performance (mean ROC-AUC = 0.87; PR–AUC = 0.89).
4. Discussion
The present study examines nonlinear relationships among maternal work stress, sociodemographic factors, and breastfeeding outcomes. These results indicate that such complex correlations cannot be well modeled as linear cause-and-effect. The analysis of regression models and a Random Forest Classifier indicates that maternal work stress significantly influences breastfeeding outcomes, but its effect is neither direct nor consistent. On the contrary, they are distributed along a spectrum of forms, comprising employment support, social environment, and psychological characteristics, which the machine learning model correctly forecasted.
The specialization of the effects of work stress is emphasized by recognizing distinct maternal groups based on demographics and behaviors. There are also differences in mothers’ experiences; somewhat, these profiles of breastfeeding are uniquely affected by work stress. This extends the classical line of reasoning that maternal stress hurts breastfeeding termination and points out that certain groups of people ought to be offered specific interventions. The findings contribute to the existing research on barriers to workplace breastfeeding. These barriers have been associated with breastfeeding cessation in the existing literature (Biswas et al., 2025; Fiedor et al., 2024).
The predictive analysis was improved using machine learning models. Among the classification models, Random Forest achieved an accuracy of 85% for predicting breastfeeding duration, compared with 75% for both Logistic Regression and Support Vector Machine classifiers. A confusion matrix further indicated that the classification model achieved an overall accuracy of 85%, precision of 77.8%, recall of 87.5%, and an F1-score of 82.3%. These results align with recent evidence indicating that supportive workplace policies and accessible lactation programs significantly reduce stress-related breastfeeding cessation. Clustering analysis gave an independent set of work stress and breastfeeding duration subgroups, suggesting that other exterior factors besides stress from work, like workplace policies and social support, also play an essential part in influencing the duration of breastfeeding (Jenum et al., 2013; Jiravisitkul et al., 2022; Kadio et al., 2024).
Maternal work-related stress has proven to affect breastfeeding duration and maternal mental health, which in turn determine infant attachment (Kelly, 1995; Nagel et al., 2022). Earlier studies reported that continuous breastfeeding promotes secure attachment through oxytocin-driven bonding and attentive caregiving. Conversely, work-related stress may disrupt these dynamics, reducing mother–infant synchrony and emotional responsiveness. The current findings suggest shorter breastfeeding periods due to increased work stress, indicating possible subsequent effects on infant attachment quality. These results call for workplace policies that protect breastfeeding mothers, such as flexible work schedules and lactation support. The current research, which establishes the factors contributing to breastfeeding cessation, will also contribute strategies aimed at enhancing the well-being of both mothers and infants (Kristensen & Kronborg, 2018; Larsen, 2015; Lyons et al., 2018). Maternal mental health issues observed here also accord with earlier studies linking postpartum depression with breastfeeding challenges (McCloskey & Karandikar, 2019; Miranda et al., 2022; Pope et al., 2023). Healthcare professionals and decision-makers ought to emphasize stress-relief and family-oriented workplace policies to safeguard both breastfeeding outcomes and babies’ emotional development. This correlates with neuroendocrine frameworks that associate stress with lower oxytocin levels and reduced maternal-infant synchrony, underscoring the necessity for stress-sensitive maternal care systems.
In contrast to earlier reports, this study used a large open dataset and machine learning models, thus rendering a broader and more data-driven perspective (Porta et al., 2019; Pritz et al., 2024). Although the large sample size and robust modeling used in this study offer many strengths, there are several limitations to the findings reported herein. The validity of self-reported data is compromised by recall-associated biases that affect measurements of work stress and some breastfeeding behaviors (Salm Ward & Ngui, 2015). Because of its cross-sectional design, this study cannot lend itself to causal interpretations. Although large, the dataset might not comprehensively cover the full spectrum of socioeconomic strata, especially the mothers with strict financial constraints (Shiraishi et al., 2020). From a clinical standpoint, the findings of this study suggest that healthcare providers should include assessments of work stress into prenatal and postnatal care to identify mothers at risk as early as possible. Likewise, employers should support lactation by formulating workplace policies that allow for breastfeeding in designated areas and provide flexible working hours (Sirico et al., 2022). Public health campaigns should concentrate on forming a culture of breastfeeding while countering societal pressures that promote early weaning. Mental health interventions ought to be strategically built into maternal health programs to support mothers experiencing work-related stress with psychological support (Snyder & Worlton, 2021; Stewart-Glenn, 2008).
Maternity leave should be ‘mandatory salary leave’ beyond the scope of present-day provisions. Apart from that, there should also be space for workplace lactation and incentives relating to breastfeeding (Chai et al., 2018; Vilar-Compte et al., 2021). The public health message should be that breastfeeding is important, and go on to talk about the necessary systems that work against premature discontinuation. Much good can be accomplished for mothers and infants by expanding issues of maternal mental health into healthcare settings (Tuthill et al., 2023; Vesel et al., 2023). Because maternal work stress relates to the duration of breastfeeding and attachment of infants, hence, future studies with longitudinal designs should test the causal relationship between these variables and would also provide additional insight into the implications of the findings reported herein. Moreover, the feasibility of establishing employer-led breastfeeding support programs should be evaluated. Also, qualitative studies examining the lived experiences of working mothers in the different clusters could further shed light on barriers experienced in the workplace. Further, broader studies involving larger participants will increase their generalizability and show gaps in knowledge for tailoring interventions to specific socioeconomic groups.
5. Conclusions
This study reveals that the effect of maternal work stress on breastfeeding is a complex one and largely determined by an interconnected network of factors. The oversimplified narrative “stress prevents breastfeeding” is not only inadequate but also fails to acknowledge the significant role of moderating factors such as workplace support and mental health. Using sophisticated machine learning methods, this study has established that it is possible to predict breastfeeding cessation with a high degree of accuracy, highlighting the potential for data-driven, preventative interventions that can be tailored to individual risk profiles. In brief, these results present a compelling call-to-action for the design of more concerted and responsive support systems across workplaces, health care sites, and public policy to protect and foster the health of mothers who are juggling work and the early days of motherhood and their infants. This warrants a joint effort to establish an infrastructure that doesn’t compel mothers to choose between their careers and their own health or that of their children.
Acknowledgements
The author gratefully acknowledges the funding of the Deanship of Graduate Studies and Scientific Research, Jazan University, Saudi Arabia, through Project Number: JU-202503322-DGSSR-RP-2025. The author is thankful to Dr. Shafiul Haque, Dr. Sandeep K. Singh, and Mr. Tayyab Ijaz for their support in study design and manuscript reviewing. Some text/sentences used in this study were enhanced using ChatGPT/Grammarly an advanced language model for text generation and linguistic analysis.
CRediT authorship contribution statement
Darin Mansor Mathkor: Conceptualization, data curation, formal analysis, funding acquisition, investigation, methodology, project administration, resources, software, supervision, validation, visualization, writing – original draft, writing – review & editing.
Declaration of competing interest
The authors declare that they have no competing financial interests or personal relationships that could have influenced the work presented in this paper.
Ethics & Data availability
This study used anonymized public datasets from the Open Science Framework (OSF: https://osf.io/wv487, https://osf.io/58dng). Datasets that have been processed and annotated scripts can be accessed upon a reasonable request via the Open Science Framework (OSF) repository. Because no identifiable human data were used; additional IRB approval was not required.
Declaration of generative AI and AI-assisted technologies in the writing process
The authors confirm that they have used artificial intelligence (AI)-assisted technology for assisting in the writing or editing of the manuscript or image creation.
Funding
Deanship of Graduate Studies and Scientific Research, Jazan University, Saudi Arabia – Project No. JU-202503322-DGSSR-RP-2025.
Supplementary data
Supplementary material to this article can be found online at https://dx.doi.org/10.25259/JKSUS_1537_2025.
References
- Duration of breastfeeding and its correlates in Bangladesh. J Health Popul Nutr. 2010;28:595-601. https://doi.org/10.3329/jhpn.v28i6.6608
- [Google Scholar]
- Constraints to adoption of appropriate breast feeding practices in a squatter settlement in Karachi, Pakistan. J Pak Med Assoc. 1997;47:63-68.
- [Google Scholar]
- Family integrated care (FICare) in level II neonatal intensive care units: Study protocol for a cluster randomized controlled trial. Trials. 2017;18:467. https://doi.org/10.1186/s13063-017-2181-3
- [Google Scholar]
- Effect of work-related stress on breast milk feeding beyond 6 month of the baby, among the nursing personnel: A cross sectional study. J Med Evidence. 2025;6:208-213. https://doi.org/10.4103/jme.jme_14_24
- [Google Scholar]
- Does extending the duration of legislated paid maternity leave improve breastfeeding practices? Evidence from 38 low-income and middle-income countries. BMJ Glob Health. 2018;3:e001032. https://doi.org/10.1136/bmjgh-2018-001032
- [Google Scholar]
- Determinants of breastfeeding initiation and cessation among employed mothers: A prospective cohort study. BMC Pregnancy Childbirth. 2016;16:194. https://doi.org/10.1186/s12884-016-0965-1
- [Google Scholar]
- Maternal work and infant feeding practices in the first 6 months. Matern Child Health J. 2024;28:1760-1767. https://doi.org/10.1007/s10995-024-03977-5
- [Google Scholar]
- Comparison of simple missing data imputation techniques for numerical and categorical datasets. J Res Eng Appl Sci. 2023;8:468-475. https://doi.org/10.46565/jreas.202381468-475
- [Google Scholar]
- Adiposity and hyperglycaemia in pregnancy and related health outcomes in European ethnic minorities of Asian and African origin: A review. Food Nutr Res. 2013;57:57. https://doi.org/10.3402/fnr.v57i0.18889
- [Google Scholar]
- Supporting factors and structural barriers in the continuity of breastfeeding in the hospital workplace. Int Breastfeed J. 2022;17:87. https://doi.org/10.1186/s13006-022-00533-1
- [Google Scholar]
- Extreme heat, pregnancy and women’s well-being in Burkina Faso: An ethnographical study. BMJ Glob Health. 2024;8:e014230. https://doi.org/10.1136/bmjgh-2023-014230
- [Google Scholar]
- What are the effects of supporting early parenting by enhancing parents’ understanding of the infant? Study protocol for a cluster-randomized community-based trial of the newborn behavioral observation (NBO) method. BMC Public Health. 2018;18:832. https://doi.org/10.1186/s12889-018-5747-4
- [Google Scholar]
- The effect of maternal exposure to psychosocial job strain on pregnancy outcomes and child development. Dan Med J. 2015;62:B5015.
- [Google Scholar]
- López-Fernándezattachment: The moderating roles of maternal stress and child behavior. J Pediatr Nurs. ;69:e80-e87. https://doi.org/10.1016/j.pedn.2022.12.011
- [Google Scholar]
- The association between psychological factors and breastfeeding behaviour in women with a body mass index (BMI) ≥30 kg m(-2): A systematic review. Obes Rev. 2018;19:947-959. https://doi.org/10.1111/obr.12681
- [Google Scholar]
- Peer-to-peer human milk sharing: Recipient mothers’ motivations, stress, and postpartum mental health. Breastfeed Med. 2019;14:88-97. https://doi.org/10.1089/bfm.2018.0182
- [Google Scholar]
- Early infant feeding practices among women engaged in paid work in Africa: A systematic scoping review. Adv Nutr. 2024;15:100179. https://doi.org/10.1016/j.advnut.2024.100179
- [Google Scholar]
- COVID-19-related stress in postpartum women from Argentina during the second wave in 2021: Identification of impairing and protective factors. Midwifery. 2022;108:103290. https://doi.org/10.1016/j.midw.2022.103290
- [Google Scholar]
- Maternal psychological distress and lactation and breastfeeding outcomes: A narrative review. Clin Ther. 2022;44:215-227. https://doi.org/10.1016/j.clinthera.2021.11.007
- [Google Scholar]
- Healthcare professionals’ experiences and perceptions of providing support for mental health during the period from pregnancy to two years postpartum. Midwifery. 2023;118:103581. https://doi.org/10.1016/j.midw.2022.103581
- [Google Scholar]
- Breastfeeding disparities between multiples and Singletons by NICU discharge. Nutrients. 2019;11:2191. https://doi.org/10.3390/nu11092191
- [Google Scholar]
- Breastfeeding during COVID-19 stay-at-home orders: Implications for future maternal work policies and health equity. Matern Child Health J. 2024;28:1961-1973. https://doi.org/10.1007/s10995-024-03990-8
- [Google Scholar]
- Factors associated with bed-sharing for African American and white mothers in Wisconsin. Matern Child Health J. 2015;19:720-732. https://doi.org/10.1007/s10995-014-1545-5
- [Google Scholar]
- Post-breastfeeding stress response and breastfeeding self-efficacy as modifiable predictors of exclusive breastfeeding at 3 months postpartum: A prospective cohort study. BMC Pregnancy Childbirth. 2020;20:730. https://doi.org/10.1186/s12884-020-03431-8
- [Google Scholar]
- Impact of COVID-19 on breastfeeding among SARS-CoV-2 infected pregnant women: A single centre survey study. Int J Environ Res Public Health. 2022;20:228. https://doi.org/10.3390/ijerph20010228
- [Google Scholar]
- Social Support During COVID-19: Perspectives of breastfeeding mothers. Breastfeed Med. 2021;16:39-45. https://doi.org/10.1089/bfm.2020.0200
- [Google Scholar]
- Knowledge, perceptions, and attitudes of managers, coworkers, and employed breastfeeding mothers. AAOHN J. 2008;56:423-429. https://doi.org/10.3928/08910162-20081001-02
- [Google Scholar]
- “It has changed my life”: Unconditional cash transfers and personalized infant feeding support- a feasibility intervention trial among women living with HIV in western Kenya. Int Breastfeed J. 2023;18:64. https://doi.org/10.1186/s13006-023-00600-1
- [Google Scholar]
- Facilitators, barriers, and key influencers of breastfeeding among low birthweight infants: A qualitative study in India, Malawi, and Tanzania. Int Breastfeed J. 2023;18:59. https://doi.org/10.1186/s13006-023-00597-
- [Google Scholar]
- Breastfeeding at the workplace: a systematic review of interventions to improve workplace environments to facilitate breastfeeding among working women. Int J Equity Health. 2021;20(1):110. https://doi.org/10.1186/s12939-021-01432-3
- [Google Scholar]
