Your new experience awaits. Try the new design now and help us make it even better

ORIGINAL RESEARCH article

Front. Public Health, 18 September 2025

Sec. Children and Health

Volume 13 - 2025 | https://doi.org/10.3389/fpubh.2025.1659987

This article is part of the Research TopicPublic Health Innovations for Enhancing Newborn and Maternal Well-BeingView all 4 articles

From mother to infant: predicting infant temperament using maternal mental health measures and tabular machine learning models


Rawan AlSaad
Rawan AlSaad1*Majid Alabdulla,Majid Alabdulla2,3Aliya TabassumAliya Tabassum4Javaid SheikhJavaid Sheikh1Rajat ThomasRajat Thomas1
  • 1Weill Cornell Medicine-Qatar, Doha, Qatar
  • 2Mental Health Services, Hamad Medical Corporation, Doha, Qatar
  • 3College of Medicine, Qatar University, Doha, Qatar
  • 4College of Engineering, Qatar University, Doha, Qatar

Background: Negative emotionality is a core dimension of infant temperament, characterized by heightened distress, reactivity, and difficulty with self-regulation. It has been consistently associated with later behavioral and emotional difficulties. Emerging evidence suggests that maternal mental health (MMH) in the postpartum period may influence infant temperament. However, few studies have applied machine learning (ML) methods to examine the predictive capacity of MMH profiles for early infant emotional development.

Objectives: This study aimed to investigate whether postpartum maternal depression, anxiety, and birth-related trauma, along with sociodemographic factors, can predict infant negative emotionality during the first year postpartum using tabular ML models.

Methods: Data were obtained from 410 mother–infant dyads. Infant temperament was assessed using the Negative Emotionality subscale of the Infant Behavior Questionnaire-Revised (IBQ-R). MMH symptoms were measured via the Edinburgh Postnatal Depression Scale (EPDS), the Hospital Anxiety and Depression Scale (HADS), and the City Birth Trauma Scale (City BiTS). Six tabular ML models were trained using MMH and demographic features: Tabular Prior-Data Fitted Network (TabPFN), Light Gradient Boosting Machine (LightGBM), eXtreme Gradient Boosting (XGBoost), Categorical Boosting (CatBoost), Random Forest, and Support Vector Machine (SVM). Performance was evaluated using Receiver Operating Characteristic Area Under The Curve (ROC-AUC), Precision-Recall Area Under the Curve (PR-AUC), F1-score, sensitivity, and specificity.

Results: Postpartum MMH symptoms and maternal–infant characteristics moderately predicted infant negative emotionality. LightGBM achieved the highest performance across ROC-AUC (0.76), F1-score (0.72), sensitivity (0.71), and specificity (0.73). TabPFN yielded the highest PR-AUC (0.78). Key predictors included gestational age, infant's age, EPDS score, mother's age, HADS score, and City BiTS score.

Conclusions: These findings highlight the potential of ML tools in early identification of at-risk infants and the importance of integrating MMH screening into postnatal care. Such predictive insights can inform timely, personalized interventions that address the unique emotional needs of both mother and infant, ultimately fostering healthier developmental trajectories and enhancing overall family well being.

1 Introduction

Infant temperament refers to early-appearing individual differences in emotional reactivity and self-regulation, observable within the first 12 months of life (1). Among the major dimensions of temperament, negative emotionality (often labeled “difficult” temperament) is characterized by heightened sensitivity to stress, frequent expressions of distress, irritability, frustration, and fearfulness (1). Importantly, these early-emerging patterns are not transient and research has shown that infant temperament, especially high negative emotionality, can have a lasting impact on developmental trajectories (2). Specifically, it has been associated with poorer emotional regulation skills, lower cognitive and academic performance, increased risk for behavioral problems, impaired peer relationships, and elevated vulnerability to internalizing and externalizing psychopathologies across childhood and adolescence (3, 4). Early identification of negative emotionality is, therefore critical, as it provides an opportunity for timely, targeted interventions that support both maternal well being and optimal infant developmental outcomes.

Maternal mental health (MMH) has long been linked with infant temperament development. Postpartum depression, in particular, shows a consistent association with perceived difficult infant temperament (5). Longitudinal research suggests this mother-infant dynamic can become bidirectional, whereby maternal depression contributes to infant fussiness, which in turn can exacerbate the mother's depression in a cyclical pattern (6, 7). Beyond depression, maternal anxiety (8) and stress (9) have also been implicated in infant temperament and are associated with poorer infant socio-emotional development.

Despite growing recognition of the impact of MMH on early child development, there remains a notable gap in the application of machine learning (ML) techniques specifically aimed at predicting infant temperament outcomes. Most existing ML studies in the perinatal domain have focused on broader infant health indicators rather than temperament dimensions. Nevertheless, ML offers substantial advantages over traditional statistical methods, particularly in its ability to model complex, non-linear interactions among psychological, demographic, and medical predictors. For example, Yang et al. (10) developed a combined model using random forests and multilayer perceptrons to examine whether maternal health indicators (including psychological well being) could predict infant behavioral characteristics and sleep quality. In addition, Punamaki et al. (11) examined how prenatal and perinatal mental health and medical conditions predict infant's developmental and health status at 12 months.

However, several key gaps exist in the current literature. First, few studies have framed the problem as a classification task, such as distinguishing infants at high vs. low risk for difficult temperament, as opposed to traditional correlational or regression-based analyses of continuous temperament scores. Second, there has been an underuse of modern tabular ML models, algorithms designed to handle structured clinical datasets, for predicting infant temperament outcomes. Third, there is a lack of studies that integrate comprehensive MMH profiles, including concurrent measures of depression, anxiety, and birth-related trauma, in conjunction with relevant maternal variables such as gestational age at birth and maternal age. Addressing these gaps by leveraging efficient tabular ML classification techniques and incorporating a more holistic array of maternal mental health risk factors is essential to enhance the early identification of infants at elevated risk for developing difficult temperament profiles.

The present study investigates whether postpartum maternal depression, anxiety, and birth-related trauma can collectively predict infant negative emotionality during the first year postpartum using tabular ML models. We specifically ask: to what extent can MMH measures predict an infant's high negative emotionality in the first year? To answer this question, we analyzed data from 410 mother–infant dyads, applying six different tabular ML algorithms to classify infants into either “high” or “low-to-moderate” negative emotionality groups based on a standard temperament assessment (Figure 1).

Figure 1
Flowchart showing the prediction of infant temperament using machine learning models. Inputs include postpartum mental health data (depression, anxiety, trauma), sociodemographic data (mother's age, education, marital status, infant's age), and maternal data (gestational age, pregnancy type). Models used are TabPFN, LightGBM, XGBoost, CatBoost, Random Forest, and SVM. The output predicts low-to-moderate or high negative emotionality in infants.

Figure 1. Overview of the study design for predicting infant negative emotionality based on postpartum mental health profiles, sociodemographic characteristics, and maternal data.

2 Methods

2.1 Study population and data sources

This study utilized data from an open-access dataset (12) comprising 410 mother–infant dyads. Data were collected via a cross-sectional online survey conducted between June and September 2020 at a university hospital in Switzerland. Eligible participants were biological mothers aged 18 years or older with an infant aged 3–12 months at the time of participation and no history of major neonatal health complications. For this analysis, we used a subset of the dataset consisting of 60 variables, including six demographic and maternal characteristics, 10 items from the Infant Behavior Questionnaire-Revised (Negative Emotionality dimension), 10 items from the Edinburgh Postnatal Depression Scale, seven items from the Hospital Anxiety and Depression Scale, and 20 items from the Maternal City Birth Trauma Scale. A comprehensive description of the input features is provided in Appendix A.

2.2 Data elements

2.2.1 Infant temperament measures

Infant temperament was assessed using the Negative Emotionality subscale (IBQ-NEG) of the Very Short Form of the Infant Behavior Questionnaire–Revised (IBQ-R VSF) (13). This validated maternal-report instrument captures caregivers' perceptions of specific, observable infant behaviors over the past weeks. The negative emotionality dimension captures the infant's tendency to express distress, sadness, fear, and frustration in response to limitations or unfamiliar situations. It comprises 12 items, with 10 of them included in our analysis as outlined in Appendix A.5. The IBQ-NEG subscale uses a 7-point Likert scale based on frequency of behavior, where 1 = never, 2 = very rarely, 3 = less than half the time, 4 = about half the time, 5 = more than half the time, 6 = almost always, and 7 = always.

Composite scores for negative emotionality were calculated by averaging responses to the 10 selected items from the IBQ-NEG subscale for each infant. To enable machine learning classification, these continuous scores were transformed into two categories based on a threshold of 3.4. This threshold was chosen based on the median score (50th percentile) of the sample distribution, a common and statistically grounded practice when stratifying continuous temperament measures in the absence of established clinical cutoffs. This approach enables a clear separation between higher and lower emotional reactivity, helping identify infants with greater distress tendencies. Although the IBQ-R does not specify clinical cut points, median splits have been widely used in prior studies to model high vs. low negative emotionality groups (14, 15). Infants scoring 3.4 or below were classified as Low-to-Moderate Negative Emotionality (Class 0; n = 202), typically displaying calm or moderately reactive behavior. These infants may show occasional fussiness or clinginess when tired or exposed to unfamiliar stimuli but generally recover well with caregiver support and demonstrate stable emotional regulation. Infants scoring above 3.4 were classified as High Negative Emotionality (Class 1; n = 208), characterized by frequent crying, heightened reactivity, and difficulty calming down—traits that may signal greater sensitivity to environmental stressors and a need for increased emotional support and structured caregiving.

2.2.2 Maternal mental health measures

Data on maternal mental health were collected through a structured questionnaire, which also included basic demographic information such as the mother's age and education level. The assessment targeted three core domains: postpartum depressive symptoms, anxiety, and trauma related to birth. To ensure comprehensive evaluation, three well-established self-report instruments were used: the Edinburgh Postnatal Depression Scale (EPDS) (16), the Hospital Anxiety and Depression Scale: Anxiety subscale (HADS-A) (17), and the City Birth Trauma Scale (City BiTS) (18). These three tools collectively offered a multidimensional evaluation of maternal mental health following childbirth.

2.3 Data preprocessing

Preprocessing steps included calculating total scores for the EPDS, HADS-A, and City BiTS scales, imputing missing values, and recoding variables for consistency. Numerical features were mean-imputed and standardized, while categorical features were mode-imputed and one-hot encoded using a column transformer pipeline. This ensured the data were clean, complete, and ready for machine learning analysis.

2.4 Tabular machine learning models

To examine the predictive utility of postpartum maternal mental health (MMH) symptom profiles combined with sociodemographic variables, we utilized six tabular machine learning models: Tabular Prior-Data Fitted Network (TabPFN), Light Gradient Boosting Machine (LightGBM), eXtreme Gradient Boosting (XGBoost), Categorical Boosting (CatBoost), Random Forest, and Support Vector Machine (SVM). These models were selected to compare the performance of both classical and state-of-the-art tabular algorithms in classifying infant negative emotionality levels.

TabPFN (19) is a recent transformer-based deep learning model trained offline on millions of synthetic tabular tasks. It learns to make predictions using Bayesian model averaging, essentially simulating what an ensemble of classical models might output with a single forward pass. LightGBM (20) is a gradient boosting framework that improves speed and accuracy using histogram-based binning and leaf-wise tree growth strategies. XGBoost (21) is a highly efficient gradient boosting algorithm that builds decision trees sequentially, minimizing the residual errors of prior trees. It is known for its performance and regularization capabilities. CatBoost (22) is a gradient boosting algorithm that is particularly optimized for categorical features, making it well-suited for datasets with mixed feature types. It uses ordered boosting and target statistics to reduce overfitting and improve generalization. Random Forest is an ensemble method that constructs multiple decision trees on random subsets of the data and aggregates their outputs to produce robust predictions. SVM is a kernel-based algorithm that seeks the optimal hyperplane to separate classes in a transformed feature space. We implemented an SVM classifier using the radial basis function (RBF) kernel. The RBF kernel was chosen due to its ability to model non-linear relationships between input features and the outcome.

We selected gradient-boosted trees (LightGBM, XGBoost, and CatBoost), Random Forest, SVM, and TabPFN because the feature set mixes ordinal Likert items and categorical variables and likely exhibits non-linear effects and higher-order interactions. These models natively capture such structure without extensive manual feature engineering and typically perform strongly on medium-sized tabular datasets. We acknowledge that more inherently interpretable families can provide coefficient- or curve-level explanations, albeit with reduced flexibility for complex interactions. Given our screening objective, we prioritized predictive accuracy and addressed interpretability post-hoc via model-agnostic feature importance.

2.5 Evaluation setup

Model performance was evaluated using five key metrics: Area Under the Receiver Operating Characteristic Curve (ROC-AUC), Area Under the Precision-Recall Curve (PR-AUC), F1-score, sensitivity, and specificity. ROC-AUC was selected to measure the models' overall ability to discriminate between high and low-to-moderate negative emotionality across all thresholds. PR-AUC was included to highlight the balance between precision and recall, which is particularly important when correctly identifying at-risk infants is prioritized. F1-score, sensitivity, and specificity were reported to further capture performance trade-offs relevant for real-world screening applications, where both false positives and false negatives carry implications for care. Since the two outcome classes were nearly balanced (208 high vs. 202 low-to-moderate negative emotionality), we did not apply class weighting or any sampling techniques during model training. The dataset was partitioned into a training set (80%) and a testing set (20%) to assess generalizability. We employed repeated five-fold cross-validation with three repetitions, reporting the mean and standard deviation of each evaluation metric across the 15 validation folds to quantify performance variability.

3 Results

3.1 Participant characteristics

A total of 410 mother–infant dyads were included in the study. Participant characteristics and summary measures are presented in Table 1. The mean maternal age was 30.20 years (SD = 4.36). In terms of educational attainment, nearly half of the mothers (46.8%) held a university degree. The majority of participants were in a couple relationship (94.9%). The sample was nearly evenly split by infant gender, with 52% female and 48% male infants. The mean gestational age at birth was 39.1 weeks (SD = 1.90). At the time of assessment, infants were fairly evenly distributed across the three age groups: 3– < 6 months, 6– < 9 months, and 9– < 12 months. Regarding maternal mental health, the mean scores were 9.05 (SD = 6.76) on the EPDS, 7.84 (SD = 4.26) on the HADS-A, and 13.12 (SD = 10.81) on the City BiTS.

Table 1
www.frontiersin.org

Table 1. Sample characteristics and key measures (N = 410).

3.2 Models performance

The prediction task involved classifying infants into high vs. low-to-moderate negative emotionality groups using maternal mental health and demographic features. As shown in Figure 2, LightGBM achieved the highest ROC-AUC (0.76), followed closely by XGBoost (0.75), CatBoost (0.73), and TabPFN (0.73). Traditional classifiers such as Random Forest and SVM demonstrated lower ROC-AUC values of 0.70 and 0.68, respectively. Figure 3 shows a comparison of all performance metrics across all models. In terms of PR-AUC performance, TabPFN ranked highest with a PR-AUC of 0.78, followed by LightGBM and Random Forest (0.73 each), CatBoost and XGBoost (0.72 each), and SVM (0.70). Evaluation of F1-scores revealed that LightGBM outperformed other models (0.72), with CatBoost (0.69), TabPFN (0.67), and XGBoost (0.65) trailing closely, while SVM (0.63) and Random Forest (0.60) yielded the lowest scores. Sensitivity scores were highest for LightGBM (0.71), followed by TabPFN (0.69), and a cluster of models including CatBoost, Random Forest, and SVM (0.67 each); XGBoost showed the lowest sensitivity (0.62). Regarding specificity, LightGBM again led (0.73), followed by CatBoost (0.70), XGBoost (0.68), and TabPFN (0.65). The results of the repeated five-fold cross-validation are summarized in Table B1 of Appendix B.

Figure 2
ROC curves comparing model performance with true positive rate against false positive rate. LightGBM has the highest AUC at 0.76, followed by XGBoost at 0.75. Other models include TabPFN and CatBoost at 0.73, Random Forest at 0.70, and SVM at 0.68. A dashed line represents random guessing.

Figure 2. ROC-AUC curves for all models.

Figure 3
Bar chart comparing six models–TabPFN, LightGBM, XGBoost, CatBoost, Random Forest, and SVM–across five metrics: ROC-AUC, PR-AUC, F1-Score, Sensitivity, and Specificity. Scores range from approximately 60% to 90%, with each model displaying varying performance across the metrics.

Figure 3. Comparison of classification metrics across tabular models.

3.3 Feature importance analysis

Figure 4 presents the most important predictors of infant negative emotionality identified by our models. Gestational age emerged as the most important predictor, followed by the total EPDS score, maternal age, total HADS score, and total CBTS score. Infant age was also among the key features, along with individual items from the CBTS (Items 22, 21, and 5), EPDS (Items 6 and 3), and HADS (Item 7) scales.

Figure 4
Bar plot showing the importance of various features related to infant health. Features include Infant Age, Gestational Age, Total EPDS Score, Mother's Age, Total HADS Score, and several CBTS and EPDS items. Each feature is represented by a horizontal line with a dot indicating importance, with the range from 0.00 to 0.07.

Figure 4. Top predictive features for infant negative emotionality.

4 Discussion

4.1 Main findings

This study investigated whether MMH measures, specifically depression, anxiety, and birth-related trauma, could predict infant negative emotionality during the first year postpartum, by evaluating the performance of six tabular ML models in classifying infants into high vs. low-to-moderate negative emotionality groups.

The findings show that ML models can moderately predict infant temperament based on MMH and demographic data, with performance varying across models and evaluation metrics. Ensemble gradient boosting models, LightGBM and XGBoost, consistently ranked among the top performers across ROC-AUC, F1-score, sensitivity, and specificity. LightGBM, in particular, achieved the highest ROC-AUC (0.76), F1-score (0.72), sensitivity (0.71), and specificity (0.73), highlighting its robust and balanced performance across key classification metrics. TabPFN, a state-of-the-art transformer-based model designed for tabular data, achieved the highest PR-AUC (0.78), indicating strong precision-recall performance, but lagged behind LightGBM and XGBoost in other metrics.

While TabPFN's PR-AUC performance is notable, its inability to outperform traditional ensemble models across all metrics may be attributed to several factors. First, TabPFN is trained on synthetic data from a large meta-distribution of tasks, and although it offers strong inductive biases for generalization, its zero-shot capabilities may not fully exploit the unique patterns present in small, domain-specific datasets such as ours. Additionally, the MMH features used, comprising structured questionnaire items and demographic variables, may be more effectively captured by tree-based models that inherently handle mixed data types, non-linearity, and feature interactions. In contrast, gradient boosting models like LightGBM and XGBoost are well-suited for structured tabular data. Their iterative boosting frameworks enable the capture of subtle feature contributions and non-linear relationships.

Overall, these results support the feasibility of using MMH indicators along with demographic data to identify infants at elevated risk of negative emotionality. While TabPFN shows promise, gradient boosting models remain more reliable for this prediction task given the current data structure and sample size.

4.2 Predictors of infant negative emotionality

Infant age emerged as the strongest predictor of negative emotionality. Previous studies have shown that as infants mature from 3 to 12 months, they gradually exhibit fewer signs of irritability and distress (23, 24). This is largely attributed to the development of self-soothing abilities and enhanced attentional control. These findings underline that infant age robustly shapes the expression and structure of temperament during infancy, reinforcing its significance as a predictive feature in our model.

Interestingly, gestational age at birth appeared as the second strongest predictor of negative emotionality during infancy. This finding aligns with prior literature indicating that preterm birth (birth before 37 weeks gestation) is associated with higher levels of negative emotional reactivity or fussiness in infancy (25). Moreover, studies involving both very preterm infants (born before 32 weeks of gestation) and moderate-to-late preterm infants (born between 32 and 36 weeks of gestation) indicate increased emotional dysregulation and greater affective instability compared with full-term peers (born between 37 and 42 weeks of gestation) (26, 27). Additionally, a meta-analysis (28) confirms that lower gestational age consistently correlates with higher negative emotionality. Collectively, these findings confirm the relevance of gestational age as a prominent predictor in the modeling of infant temperament. Crucially, the association between prematurity and early emotional dysregulation may set the stage for later behavioral and mental health risks (2931).

Postpartum depression, as measured by elevated EPDS scores, has also been identified as a key predictor of infant negative emotionality. Elevated maternal depressive symptoms have been consistently linked to higher levels of infant negative emotionality, likely due to both biological and environmental factors (32, 33). Additional evidence indicates that even subclinical maternal depressive symptoms are linked to more negative maternal perceptions of infant crying, which can reinforce infant negative reactivity (34). These findings validate the EPDS total score as a significant and clinically meaningful predictor in our model's prediction of infant temperament.

Maternal age was also identified as a significant predictor of infant negative emotionality. Younger maternal age has been associated with elevated levels of infant irritability and distress, potentially due to limited parenting experience and emotional resources. In contrast, older maternal age is linked to improved emotional regulation and caregiving stability, contributing to calmer infant temperaments and enhanced self-regulation (35).

Postpartum anxiety, as measured by the total HADS score, was also a significant predictor of infant negative emotionality. Prior research shows that maternal anxiety influences infant affect through both genetic susceptibility and altered caregiving behaviors, such as heightened vigilance and emotional unavailability, which can amplify infant distress and reactivity (8, 36, 37).

Maternal difficulty concentrating, a core symptom of birth-related posttraumatic stress (CBTS Item 21), was identified as an important feature in predicting infant negative. It has been linked to reduced attentiveness in interactions, which can increase infant irritability and emotional reactivity (38). Additionally, neurobehavioral studies have shown that maternal cognitive strain adversely affects responsive parenting, which in turn can hinder infant emotion regulation development and shape more negative temperament profiles (39, 40).

The remaining predictors: CBTS total score, CBTS Items 22 and 5, and EPDS Item 6 further underscore the influence of maternal trauma and depressive symptoms on infant temperament. These items capture maternal emotional overwhelm, flashbacks, and feelings of self-blame, which may impair maternal sensitivity and regulation during caregiving, potentially intensifying infant distress and reinforcing patterns of negative emotionality early in development (41).

Collectively, these findings highlight the complex interplay between maternal mental health symptoms, developmental factors, and caregiving dynamics in predicting infant negative emotionality. It is important to note that a high negative emotionality does not indicate a developmental disorder but reflects a specific temperamental style. Infants with higher scores may be more sensitive or reactive to environmental stimuli and transitions, requiring different caregiving strategies to support emotional regulation. Early recognition of these patterns allows caregivers to tailor interactions, promoting healthy emotional development through consistent routines, gentle soothing, and responsive caregiving.

4.3 Research and clinical implications

The findings of this study have several important implications for both research and clinical practice. First, the results emphasize the critical role of maternal mental health, particularly depressive, anxious, and birth trauma-related symptoms, in shaping infant temperament, specifically negative emotionality. The strong predictive value of maternal and infant age, alongside mental health indicators, underscores the need for early identification of at-risk mother–infant dyads.

From a research perspective, this study demonstrates the utility of tabular machine learning models, particularly gradient boosting algorithms, for predicting complex early behavioral outcomes using postpartum mental health assessments. This approach allows for the integration of heterogeneous data to model non-linear associations that traditional statistical methods may overlook. It also opens the door for predictive frameworks that can be adapted across different populations and clinical contexts. Importantly, the successful application of machine learning in this context supports its use in future research aiming to integrate multimodal data sources, such as genetic, physiological, and wearable data for a more comprehensive understanding of early emotional development. Additionally, these models may aid in identifying modifiable intervention targets and distinct infant subgroups who could benefit from different caregiving strategies or psychosocial support. Finally, the predictive pipeline developed in our study could be refined into real-time decision-support systems for use in maternal-child health research and digital health applications, facilitating earlier and more personalized preventive care tailored to the specific needs of mother–infant dyads.

Clinically, the ability to identify infants at higher risk for elevated negative emotionality could inform early intervention strategies within pediatric and maternal mental health services. Routine screening for maternal depression, anxiety, and birth-related trauma in postpartum care settings may enable clinicians to anticipate infant emotional regulation challenges and initiate preventive strategies. Incorporating these assessments into primary care or well-baby visits could allow for early referral to parent-infant psychotherapy, attachment-based interventions, or targeted parenting programs. Additionally, educating caregivers about temperament traits and offering strategies for managing infant distress, such as responsive soothing, emotion coaching, and structured routines, may buffer long-term emotional and behavioral risks. Personalized support for at-risk mother–infant dyads could ultimately enhance developmental outcomes and family well being. To enhance clinical interpretability, future iterations can include inherently transparent baselines such as elastic-net logistic regression, generalized additive models, and explainable boosting machines, as well as monotonic constraints within boosting models, enabling coefficient-based or shape-function explanations while quantifying any accuracy trade-offs.

4.4 Limitations

This study has several limitations that should be considered when interpreting the findings. First, its cross-sectional design limits the ability to infer causality. While we acknowledge the bidirectional nature of the relationship between MMH and infant temperament, our modeling framework treated maternal factors solely as predictors and infant temperament as a static outcome. This approach was necessitated by the cross-sectional design, which precludes examining temporal dynamics or reciprocal influences over time. Future research employing longitudinal data and advanced modeling frameworks—such as joint prediction models or probabilistic graphical models—could better capture these recursive feedback loops and clarify the directionality of effects. Second, all data were based solely on maternal self-report measures, which may introduce reporting biases and shared method variance. This reliance on a single informant for both predictor and outcome measures may inflate observed associations, as mothers experiencing higher psychological symptoms could perceive or report their infant's behaviors differently. Future studies incorporating multi-informant reports or objective behavioral assessments could mitigate this potential bias. Third, we did not explore ensemble approaches that combine predictions from multiple models (e.g., stacking, blending, or voting) to potentially improve accuracy and robustness. Our primary aim was to benchmark and compare the performance of individual tabular machine learning models. Future work could investigate ensemble strategies, which may leverage complementary strengths of different algorithms to enhance predictive performance. While tree-based models are generally robust to multicollinearity, SVMs—particularly those with linear kernels—can be affected by highly correlated predictors. Although we employed an RBF kernel, which is less sensitive to multicollinearity, this limitation should still be considered when interpreting results. Furthermore, although infant age emerged as a top predictor in our models, we did not stratify model training by age group due to the limited sample size. Our dataset included three infant age groups; dividing the total sample of 410 dyads across these groups would have substantially reduced the number of observations available for model training in each infancy group, risking overfitting and reduced generalizability. Future studies with larger datasets could examine age-stratified models to assess whether predictive performance and feature importance profiles differ across developmental stages within the first year. Finally, the models included a limited set of maternal psychological and demographic predictors. Important contextual factors—such as paternal mental health, caregiving dynamics, socioeconomic stressors, sleep patterns, and infant feeding—were not captured. Including multimodal data from diverse sources in future research would strengthen predictive accuracy and enhance the ecological validity of infant temperament modeling.

5 Conclusion

This study demonstrates the feasibility of using maternal mental health indicators and demographic variables to predict infant negative emotionality during the first year postpartum using tabular machine learning models. Among the six models tested, LightGBM and TabPFN showed the highest predictive performance across multiple evaluation metrics. Key predictors included gestational age, infant age, and maternal depression, anxiety, and birth-related trauma scores. These findings highlight the importance of integrating maternal mental health screening into postnatal care and underscore the potential of ML tools to support early identification of infants at risk for difficult temperament. By leveraging structured postpartum data, ML models can inform timely, targeted interventions to promote healthy infant development and enhance maternal-infant well being. Future work should expand on these findings using longitudinal and multimodal datasets to refine predictive accuracy and develop practical, scalable decision-support tools for clinical and community settings.

Data availability statement

The original contributions presented in the study are included in the article/Supplementary material, further inquiries can be directed to the corresponding author. The data used in this study are publicly available and can be accessed through the Zenodo repository at https://doi.org/10.5281/zenodo.5070945.

Ethics statement

This study analyzed publicly available, de-identified data; therefore, institutional ethics approval and informed consent were not required under applicable regulations. No human participants were recruited and no identifiable information was accessed. See the Data Availability section for dataset details.

Author contributions

RA: Conceptualization, Data curation, Methodology, Visualization, Writing – original draft. MA: Writing – review & editing. AT: Writing – review & editing. JS: Conceptualization, Writing – review & editing. RT: Conceptualization, Methodology, Writing – review & editing.

Funding

The author(s) declare that no financial support was received for the research and/or publication of this article.

Conflict of interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

Generative AI statement

The author(s) declare that no Gen AI was used in the creation of this manuscript.

Any alternative text (alt text) provided alongside figures in this article has been generated by Frontiers with the support of artificial intelligence and reasonable efforts have been made to ensure accuracy, including review by the authors wherever possible. If you identify any issues, please contact us.

Publisher's note

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.

Supplementary material

The Supplementary Material for this article can be found online at: https://www.frontiersin.org/articles/10.3389/fpubh.2025.1659987/full#supplementary-material

Abbreviations

AI, artificial intelligence; CB-PTSD, childbirth-related posttraumatic stress disorder; City BiTS, City Birth Trauma scale; DSM-5, diagnostic and statistical manual of mental disorders, Fifth Edition; ECG, electrocardiogram; EPDS, Edinburgh Postnatal Depression Scale; F1, F1 score (harmonic mean of precision and recall); HADS, Hospital Anxiety and Depression Scale; HADS-A, Hospital Anxiety and Depression Scale–Anxiety Subscale; IBQ-R VSF, Infant Behavior Questionnaire–Revised Very Short Form; IBQ-NEG, Infant Behavior Questionnaire–Negative Emotionality subscale; LightGBM, Light Gradient Boosting Machine; ML, machine learning; MMH, maternal mental health; PR-AUC, Precision-Recall Area Under the Curve; PTSD, posttraumatic stress disorder; ROC-AUC, Receiver Operating Characteristic Area Under The Curve; SVM, Support Vector Machine; TabPFN, Tabular Prior-Data Fitted Network; XGBoost, eXtreme Gradient Boosting.

References

1. Rothbart MK. Early temperament and psychosocial development. In: Tremblay RE, Barr RG, Peters RDeV, , editors. Encyclopedia on Early Childhood Development. Montreal, QC: Centre of Excellence for Early Childhood Development (2019). p.1–6.

Google Scholar

2. Filippi CA, Valadez EA, Fox NA, Pine DS. Temperamental risk for anxiety: emerging work on the infant brain and later neurocognitive development. Curr Opin Behav Sci. (2022) 44:101105. doi: 10.1016/j.cobeha.2022.101105

PubMed Abstract | Crossref Full Text | Google Scholar

3. Phillips EM, Brock RL. Interplay between interparental relationship quality and infant temperament predicts toddler transdiagnostic psychopathology. J Fam Psychol. (2024) 38:1201–13. doi: 10.1037/fam0001263

PubMed Abstract | Crossref Full Text | Google Scholar

4. Joseph HM, Lorenzo NE, Fisher N, Novick DR, Gibson C, Rothenberger SD, et al. Research review: a systematic review and meta-analysis of infant and toddler temperament as predictors of childhood attention-deficit/hyperactivity disorder. J Child Psychol Psychiatry. (2023) 64:715–35. doi: 10.1111/jcpp.13753

PubMed Abstract | Crossref Full Text | Google Scholar

5. Beck CT. A meta-analysis of the relationship between postpartum depression and infant temperament. (1996) 45:225–30. doi: 10.1097/00006199-199607000-00006

PubMed Abstract | Crossref Full Text | Google Scholar

6. Choe DE, Sameroff AJ, McDonough SC. Infant functional regulatory problems and gender moderate bidirectional effects between externalizing behavior and maternal depressive symptoms. Infant Behav Dev. (2013) 36:307–18. doi: 10.1016/j.infbeh.2013.02.004

PubMed Abstract | Crossref Full Text | Google Scholar

7. Rogers AM, Youssef GJ, Teague S, Sunderland M, Le Bas G, Macdonald JA, et al. Association of maternal and paternal perinatal depression and anxiety with infant development: a longitudinal study. J Affect Disord. (2023) 338:278–88. doi: 10.1016/j.jad.2023.06.020

PubMed Abstract | Crossref Full Text | Google Scholar

8. Paul IM, Downs DS, Schaefer EW, Beiler JS, Weisman CS. Postpartum anxiety and maternal-infant health outcomes. Pediatrics. (2013) 131:e1218–24. doi: 10.1542/peds.2012-2147

PubMed Abstract | Crossref Full Text | Google Scholar

9. Hambleton JL, Aubuchon-Endsley NL, Kurien J. Associations among maternal trauma history, postnatal maternal sensitivity, and infant temperament. Children. (2024) 11:301. doi: 10.3390/children11030301

PubMed Abstract | Crossref Full Text | Google Scholar

10. Yang Z, Guo X, Chen X, Huang J. Modeling the relationship between maternal health and infant behavioral characteristics based on machine learning. PLoS One. (2024) 19:e0307332. doi: 10.1371/journal.pone.0307332

PubMed Abstract | Crossref Full Text | Google Scholar

11. Punamaki RL, Repokari L, Vilska S, Poikkeus P, Tiitinen A, Sinkkonen J, et al. Maternal mental health and medical predictors of infant developmental and health problems from pregnancy to one year: does former infertility matter? Infant Behav Dev. (2006) 29:230–42. doi: 10.1016/j.infbeh.2005.12.001

PubMed Abstract | Crossref Full Text | Google Scholar

12. Sandoz V, Horsch A. Dataset of The Distinct Influence of Different Maternal Mental Health Symptom Profiles on Infant Sleep During the First Year Postpartum: A Cross-Sectional Survey. Zenodo (2021). (accessed 30 April, 2025).

Google Scholar

13. Putnam SP, Helbig AL, Gartstein MA, Rothbart MK, Leerkes E. Development and assessment of short and very short forms of the infant behavior questionnaire-revised. J Pers Assess. (2014) 96:445–58. doi: 10.1080/00223891.2013.841171

PubMed Abstract | Crossref Full Text | Google Scholar

14. Parade SH, Leerkes EM. The reliability and validity of the infant behavior questionnaire-revised. Infant Behav Dev. (2008) 31:637–46. doi: 10.1016/j.infbeh.2008.07.009

PubMed Abstract | Crossref Full Text | Google Scholar

15. Gartstein MA, Rothbart MK. Studying infant temperament via the Revised Infant Behavior Questionnaire. Infant Behav Dev. (2003) 26:64–86. doi: 10.1016/S0163-6383(02)00169-8

Crossref Full Text | Google Scholar

16. Cox JL, Holden JM, Sagovsky R. Detection of postnatal depression. Development of the 10-item Edinburgh Postnatal Depression Scale. Br J Psychiatry. (1987) 150:782–6. doi: 10.1192/bjp.150.6.782

PubMed Abstract | Crossref Full Text | Google Scholar

17. Zigmond AS, Snaith RP. The hospital anxiety and depression scale. Acta Psychiatr Scand. (1983) 67:361–70. doi: 10.1111/j.1600-0447.1983.tb09716.x

PubMed Abstract | Crossref Full Text | Google Scholar

18. Ayers S, Wright DB, Thornton A. Development of a measure of postpartum PTSD: the City Birth Trauma scale. Front Psychiatry. (2018) 9:409. doi: 10.3389/fpsyt.2018.00409

PubMed Abstract | Crossref Full Text | Google Scholar

19. Hollmann N, Müller S, Eggensperger K, Hutter F. TabPFN: a transformer that solves small tabular classification problems in a second. arXiv. [preprint] (2023). doi: 10.48550/arXiv.2207.01848

Crossref Full Text | Google Scholar

20. Ke G, Meng Q, Finley T, Wang T, Chen W, Ma W., et al. LightGBM: a highly efficient gradient boosting decision tree. In: Proceedings of the 31st International Conference on Neural Information Processing Systems. Long Beach, CA: Curran Associates Inc. (2017). p. 3149–57.

Google Scholar

21. Chen T, Guestrin C. XGBoost: a scalable tree boosting system. In: Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining. ACM (2016). p. 785–94. doi: 10.1145/2939672.2939785

Crossref Full Text | Google Scholar

22. Prokhorenkova L, Gusev G, Vorobev A, Dorogush AV, Gulin A. CatBoost: unbiased boosting with categorical features. In: Proceedings of the 32nd International Conference on Neural Information Processing Systems. Montréal 32 (NeurIPS 2018) (2018). p. 6639–49.

Google Scholar

23. Gartstein MA, Prokasky A, Bell MA, Calkins S, Bridgett DJ, Braungart-Rieker J, et al. Latent profile and cluster analysis of infant temperament: comparisons across person-centered approaches. Dev Psychol. (2017) 53:1811–25. doi: 10.1037/dev0000382

PubMed Abstract | Crossref Full Text | Google Scholar

24. Lev-Enacab O, Sher-Censor E, Einspieler C, Jacobi OA, Daube-Fishman G, Beni-Shrem S. Spontaneous movements, motor milestones, and temperament of preterm-born infants: associations with mother-infant attunement. Infancy. (2022) 27:412–32. doi: 10.1111/infa.12451

PubMed Abstract | Crossref Full Text | Google Scholar

25. Morris EE, Miller NC, Haapala JL, Georgieff MK, Ramel SE. Preterm infant body composition, working memory, and temperament. Infant Behav Dev. (2023) 70:101808. doi: 10.1016/j.infbeh.2022.101808

PubMed Abstract | Crossref Full Text | Google Scholar

26. Spinelli M, Bornstein MH, Putnick DL, Shah PE. Multimodal assessments of preterm temperament across the first year of life: continuity, stability, and moderation by country of origin and infant age. Infant Ment Health J. (2022) 43:287–99. doi: 10.1002/imhj.21974

PubMed Abstract | Crossref Full Text | Google Scholar

27. Langerock N, van Hanswijck de. Jonge L, Bickle Graz M, Huppi PS, Borradori Tolsa C, Barisnikov K. Emotional reactivity at 12 months in very preterm infants born at < 29 weeks of gestation. Infant Behav Dev. (2013) 36:289–97. doi: 10.1016/j.infbeh.2013.02.006

PubMed Abstract | Crossref Full Text | Google Scholar

28. Cassiano RGM, Provenzi L, Linhares MBM, Gaspardo CM, Montirosso R. Does preterm birth affect child temperament? A meta-analytic study Infant. Behav Dev. (2020) 58:101417. doi: 10.1016/j.infbeh.2019.101417

PubMed Abstract | Crossref Full Text | Google Scholar

29. Klein VC, Rocha LC, Martinez FE, Putnam SP, Linhares MB. Temperament and behavior problems in toddlers born preterm and very low birth weight. Span J Psychol. (2013) 16:E18. doi: 10.1017/sjp.2013.30

PubMed Abstract | Crossref Full Text | Google Scholar

30. Guilherme Monte Cassiano R, Gaspardo CM, Cordaro Bucker Furini G, Martinez FE, Martins Linhares MB. Impact of neonatal risk and temperament on behavioral problems in toddlers born preterm. Early Hum Dev. (2016) 103:175–81. doi: 10.1016/j.earlhumdev.2016.09.015

PubMed Abstract | Crossref Full Text | Google Scholar

31. Caravale B, Sette S, Cannoni E, Marano A, Riolo E, Devescovi A, et al. Sleep characteristics and temperament in preterm children at two years of age. J Clin Sleep Med. (2017) 13:1081–8. doi: 10.5664/jcsm.6728

PubMed Abstract | Crossref Full Text | Google Scholar

32. Lucarelli L, Vismara L, Chatoor I, Sechi C. Parental pre and postnatal depression: the longitudinal associations with child negative affectivity and dysfunctional mother-child feeding interactions. Children. (2023) 10:565. doi: 10.3390/children10030565

PubMed Abstract | Crossref Full Text | Google Scholar

33. Chang O, Huh K, Savoy CD, Krzeczkowski JE, Van Lieshout RJ. Associations between maternal postpartum depression and infant temperament in treatment-seeking mothers prior to and during the COVID-19 pandemic. Dev Psychopathol. (2024) 36:495–503. doi: 10.1017/S0954579422001353

PubMed Abstract | Crossref Full Text | Google Scholar

34. Karreman, A, Starmans MPR, Riem MME. Maternal depressive symptoms and affective responses to infant crying and laughing. J Fam Psychol. (2023) 37:1026–36. doi: 10.1037/fam0001128

PubMed Abstract | Crossref Full Text | Google Scholar

35. Yu WH, Yan HX. Maternal age, early childhood temperament, and youth outcomes. Demography. (2022) 59:2215–46. doi: 10.1215/00703370-10293348

PubMed Abstract | Crossref Full Text | Google Scholar

36. Ionio C, Ciuffo G, Christiansen P, Della Vedova AM, Fallon V, Figlino MF, et al. Postpartum-specific anxiety and maternal-infant bonding: a predictive validity study amongst Italian women. Eur J Investig Health Psychol Educ. (2024) 14:1614–26. doi: 10.3390/ejihpe14060107

PubMed Abstract | Crossref Full Text | Google Scholar

37. Kahya Y, Uluc S, Lee SH, Beebe B. Associations of maternal postpartum depressive and anxiety symptoms with 4-month infant and mother self- and interactive contingency of gaze, affect, and touch. Dev Psychopathol. (2023) 36, 1–18. doi: 10.1017/S0954579423001190

PubMed Abstract | Crossref Full Text | Google Scholar

38. Harris M, MacMillan H, Andrews K, Atkinson L, Kimber M, England-Mason G, et al. Maternal adverse childhood experiences, executive function & emotional availability in mother-child dyads. Child Abuse Negl. (2021) 111:104830. doi: 10.1016/j.chiabu.2020.104830

PubMed Abstract | Crossref Full Text | Google Scholar

39. Bozicevic L, De Pascalis L, Cooper P, Murray L. The role of maternal sensitivity, infant temperament, and emotional context in the development of emotion regulation. Sci Rep. (2025) 15:17271. doi: 10.1038/s41598-025-01714-8

PubMed Abstract | Crossref Full Text | Google Scholar

40. Martin RCB, Bridgett DJ, Mayes LC, Rutherford HJV. Maternal working memory, emotion regulation, and responsivity to infant distress. J Appl Dev Psychol. (2020) 71:101202. doi: 10.1016/j.appdev.2020.101202

PubMed Abstract | Crossref Full Text | Google Scholar

41. Gray PH, Edwards DM, O'Callaghan MJ, Cuskelly M, Gibbons K. Parenting stress in mothers of very preterm infants – influence of development, temperament and maternal depression. Early Hum Dev. (2013) 89:625–9. doi: 10.1016/j.earlhumdev.2013.04.005

PubMed Abstract | Crossref Full Text | Google Scholar

Keywords: artificial intelligence, machine learning, maternal mental health, infant temperament, postpartum depression, women's health, depression, anxiety

Citation: AlSaad R, Alabdulla M, Tabassum A, Sheikh J and Thomas R (2025) From mother to infant: predicting infant temperament using maternal mental health measures and tabular machine learning models. Front. Public Health 13:1659987. doi: 10.3389/fpubh.2025.1659987

Received: 04 July 2025; Accepted: 25 August 2025;
Published: 18 September 2025.

Edited by:

Dominic Azuh, Covenant University, Nigeria

Reviewed by:

Fatima Sadjadpour, Virginia Tech, United States
Erich Seamon, Baylor University, United States

Copyright © 2025 AlSaad, Alabdulla, Tabassum, Sheikh and Thomas. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

*Correspondence: Rawan AlSaad, cnRhNDAwM0BxYXRhci1tZWQuY29ybmVsbC5lZHU=

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.