Skip to main content

MindWell: A Conversational Agent for Professional Depression Screening on Social Media

  • Conference paper
  • First Online:
Advances in Information Retrieval (ECIR 2025)

Abstract

Depression is among the most prevalent mental health conditions, with an early and accurate diagnosis being essential for mitigating its effects. Yet, stigma often prevents individuals from seeking professional help. In this context, social media offers a unique resource for depression screening, as users frequently share, comment, and disclose their daily struggles, providing key insights into their mental health through online activity. However, the immense volume of data generated on these platforms presents a significant challenge, requiring substantial time and effort for mental health professionals to analyze. This demo paper introduces MindWell, an open-source conversational agent designed to support clinicians in identifying symptoms and emotions relevant to clinical assessments. MindWell uses a Retrieval-Augmented Generation (RAG) framework, incorporating a Large Language Model (LLM) based on Llama 3.1 and fine-tuned specifically for depression screening based on clinical symptom criteria, particularly the Beck Depression Inventory-II (BDI-II). By leveraging users’ social media history as informed and reliable context, MindWell is designed to answer questions formulated by clinicians, facilitating the review process. We collaborated with a professional psychologist to assess MindWell’s responses in a clinical setting, finding that the system effectively captures users’ depressive signs and shows promise for mental health support applications.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+
from $39.99 /Month
  • Starting from 10 chapters or articles per month
  • Access and download chapters and articles from more than 300k books and 2,500 journals
  • Cancel anytime
View plans

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
eBook
USD 129.00
Price excludes VAT (USA)
Softcover Book
USD 169.99
Price excludes VAT (USA)

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Similar content being viewed by others

Notes

  1. 1.

    https://woebothealth.com.

  2. 2.

    https://www.wysa.com.

  3. 3.

    https://www.elastic.co/es/elasticsearch.

  4. 4.

    https://www.langchain.com module.

References

  1. Association, A.P.: Diagnostic and statistical manual of mental disorders: DSM-5™. American Psychiatric Publishing, a division of American Psychiatric Association, Washington, DC, 5th edn. (2013)

    Google Scholar 

  2. Australian Institute of Health and Welfare: Mental health: Prevalence and impact. Tech. rep, Australian Institute of Health and Welfare (2022)

    Google Scholar 

  3. Bao, E., Pérez, A., Parapar, J.: Explainable depression symptom detection in social media. Health Inf. Sci. Syst. 12(1), 47 (2024)

    Google Scholar 

  4. Beck, A.T., Steer, R.A., Brown, G.: Beck depression inventory–ii (1996)

    Google Scholar 

  5. Callahan, A., Inckle, K.: Cybertherapy or psychobabble? a mixed methods study of online emotional support. British J. Guidance Counselling 40(3), 261–278 (2012)

    Google Scholar 

  6. Dixon-Woods, M., Cavers, D., Agarwal, S., Annandale, E., Arthur, A., Harvey, J., Hsu, R., Katbamna, S., Olsen, R., Smith, L., Riley, R., Sutton, A.J.: Conducting a critical interpretive synthesis of the literature on access to healthcare by vulnerable groups. BMC Med. Res. Methodol. 6(1), 35 (2006)

    Google Scholar 

  7. Ferraro, G., Loo Gee, B., Ji, S., Salvador-Carulla, L.: Lightme: analysing language in internet support groups for mental health. Health Inf. Sci. Syst. 8(1), 34 (2020)

    MATH  Google Scholar 

  8. Fitzpatrick, K.K., Darcy, A., Vierhile, M.: Delivering cognitive behavior therapy to young adults with symptoms of depression and anxiety using a fully automated conversational agent (woebot): A randomized controlled trial. JMIR Ment Health 4(2), e19 (2017)

    Google Scholar 

  9. Gulliver, A., Griffiths, K.M., Christensen, H.: Perceived barriers and facilitators to mental health help-seeking in young people: a systematic review. BMC Psychiatry 10(1), 113 (2010)

    MATH  Google Scholar 

  10. Lewis, P., et al.: Retrieval-augmented generation for knowledge-intensive nlp tasks. In: Proceedings of the 34th International Conference on Neural Information Processing Systems. NIPS ’20, Curran Associates Inc., Red Hook, NY, USA (2020)

    Google Scholar 

  11. Organization, W.H., et al.: Depression and other common mental disorders: global health estimates. World Health Organization, Tech. rep. (2017)

    Google Scholar 

  12. Parapar, J., Martín-Rodilla, P., Losada, D.E., Crestani, F.: erisk 2024: Depression, anorexia, and eating disorder challenges. In: Goharian, N., Tonellotto, N., He, Y., Lipani, A., McDonald, G., Macdonald, C., Ounis, I. (eds.) Advances in Information Retrieval - 46th European Conference on Information Retrieval, ECIR 2024, Glasgow, UK, March 24–28, 2024, Proceedings, Part V. LNCS, vol. 14612, pp. 474–481. Springer (2024)

    Google Scholar 

  13. Pérez, A., Piot-Pérez-Abadín, P., Parapar, J., Barreiro, Á.: Psyprof: a platform for assisted screening of depression in social media. In: Kamps, J., Goeuriot, L., Crestani, F., Maistro, M., Joho, H., Davis, B., Gurrin, C., Kruschwitz, U., Caputo, A. (eds.) Advances in Information Retrieval: 45th European Conference on Information Retrieval, ECIR 2023, Dublin, Ireland, April 2–6, 2023, Proceedings, Part III, pp. 300–306. Springer, Heidelberg (2023)

    Google Scholar 

  14. Prince, M., Patel, V., Saxena, S., Maj, M., Maselko, J., Phillips, M.R., Rahman, A.: No health without mental health. The Lancet 370(9590), 859–877 (2007)

    Google Scholar 

  15. Ríssola, E.A., Aliannejadi, M., Crestani, F.: Beyond modelling: understanding mental disorders in online social media. In: Jose, J.M., Yilmaz, E., Magalhães, J., Castells, P., Ferro, N., Silva, M.J., Martins, F. (eds.) ECIR 2020. LNCS, vol. 12035, pp. 296–310. Springer, Cham (2020). https://doi.org/10.1007/978-3-030-45439-5_20

    Chapter  MATH  Google Scholar 

  16. Thornicroft, G.: Stigma and discrimination limit access to mental health care. Epidemiol. Psichiatr. Soc. 17(1), 14–19 (2008)

    Google Scholar 

  17. Walsh, C.G., et al.: Stigma, biomarkers, and algorithmic bias: recommendations for precision behavioral health with artificial intelligence. JAMIA Open 3(1), 9–15 (01 2020)

    Google Scholar 

  18. Yang, K., Ji, S., Zhang, T., Xie, Q., Kuang, Z., Ananiadou, S.: Towards interpretable mental health analysis with large language models. In: Bouamor, H., Pino, J., Bali, K. (eds.) Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pp. 6056–6077. Association for Computational Linguistics, Singapore, December 2023

    Google Scholar 

  19. Zirikly, A., et al. (eds.): Proceedings of the Eighth Workshop on Computational Linguistics and Clinical Psychology. Association for Computational Linguistics, Seattle, USA, July 2022

    Google Scholar 

Download references

Acknowledgments

This work has received support from projects: PLEC2021-007662 (MCIN/AEI/10.13039/501100011033 Ministerio de Ciencia e Innovación, European Union NextGenerationEU/PRTR) and PID2022-137061OB-C21 (MCIN/AEI/10.13039 /501100011033/, Ministerio de Ciencia e Innovación, ERDF A way of making Europe, by the European Union); Consellería de Educación, Universidade e Formación Profesional, Spain (grant number ED481A-2024-079 and accreditations 2019–2022 ED431G/ 01 and GPC ED431B 2022/33) and the European Regional Development Fund, which acknowledges the CITIC Research Center.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Eliseo Bao .

Editor information

Editors and Affiliations

Ethics declarations

Disclosure of Interests

The authors have no competing interests to declare that are relevant to the content of this article.

Rights and permissions

Reprints and permissions

Copyright information

© 2025 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Bao, E., Pérez, A., Parapar, J. (2025). MindWell: A Conversational Agent for Professional Depression Screening on Social Media. In: Hauff, C., et al. Advances in Information Retrieval. ECIR 2025. Lecture Notes in Computer Science, vol 15576. Springer, Cham. https://doi.org/10.1007/978-3-031-88720-8_9

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-88720-8_9

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-88719-2

  • Online ISBN: 978-3-031-88720-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Keywords

Publish with us

Policies and ethics