Pablo Torres-Carrion still remembers the moment his team’s algorithm correctly flagged a healthcare worker with low psychological resilience—just from their survey answers. It wasn’t magic, but machine learning trained on real pandemic experiences. In a study using data from 2,055 U.S. healthcare workers collected between 2021 and 2022, his team built a model that identifies those struggling to cope with stress at work—before burnout sets in. The best-performing model, logistic regression, did so with 75.6% accuracy, a promising step toward early mental health support in high-pressure jobs.

Most research on healthcare workers during the pandemic focused on what goes wrong—burnout, depression, anxiety. This study flips the script. Instead of measuring harm, it measures strength: the ability to bounce back, feel in control, and stay confident under pressure. The researchers combined these traits into a resilience index and split workers into two groups—high and low resilience—based on the median score. Their goal? To catch warning signs early, not just document damage after the fact.

The model revealed clear patterns. Stress was the strongest predictor of low resilience, carrying the most weight in the algorithm at 0.182. Depression (0.160) and anxiety (0.145) followed closely, with hopelessness and sleep changes also playing a role. But the good news emerged in the coping strategies. Actions like seeking social support, praying, meditating, or diving into a hobby had a measurable, positive effect. Even better: the more strategies someone used, the higher their resilience score tended to be. It wasn’t about one fix—it was about stacking small, healthy habits.

Still, the study has limits. All data came from U.S. workers during a specific, intense period. People reported their own feelings, which can be subjective. And since healthcare systems differ widely, the model may not work the same way in other countries—especially in Latin America, where access to mental health resources and workplace culture can vary.

That’s exactly where the team wants to go next. They’re calling for validation studies with healthcare workers across Latin America and suggest adding objective measures like sleep tracking or heart rate data to strengthen the model. For now, the real power lies in simplicity. This isn’t a complex AI system needing supercomputers. It’s a practical tool that hospitals could use with existing survey data to spot at-risk staff early—offering help before crisis hits. As Torres-Carrion puts it, the future of mental health care might not be about waiting for breakdowns, but building resilience before they’re needed.