Skip to content

Repo with the winners' code from Unsupervised Wisdom: Explore Medical Narratives on Older Adult Falls

License

Notifications You must be signed in to change notification settings

drivendataorg/unsupervised-wisdom

Repository files navigation



Blue folder of medical records with orange stethoscope laid on top

Goal of the Competition

Falls among adults 65 and older are the leading cause of injury-related deaths. Medical record narratives are a rich yet under-explored source of potential insights about how, when, and why people fall. However, narrative data sources can be difficult to work with, often requiring carefully designed, time-intensive manual coding procedures.

The goal in this challenge was to identify effective methods of using unsupervised machine learning to extract insights about older adult falls from emergency department narratives. Insights extracted from medical record narratives can potentially inform interventions for reducing falls.

What's in this Repository

This repository contains code from winning competitors in the Unsupervised Wisdom: Explore Medical Narratives on Older Adult Falls DrivenData challenge. Code for all winning solutions are open source under the MIT License.

Winning code for other DrivenData competitions is available in the competition-winners repository.

Winning Submissions

Place Team or User Summary of Approach
1 artvolgin Using a downsampling method with ChatGPT and ML techniques, we obtained a full NEISS dataset across all accidents and age groups from 2013-2022 with six new variables: fall/not fall, prior activity, cause, body position, home location, and facility. We showed how these new indicators vary by age and sex for the fall-related cases and how they impact the likelihood of falls and post-fall hospitalization of older people. We also revealed seasonal and yearly trends in falls and provided a comparative age-based perspective, underscoring the value of the full ED narratives dataset in studying falls of older adults.
2 zysymu An information extraction pipeline was developed to aid in obtaining more specific details about what happened in the fall events. Inspired by TabLLM I created a custom prompt in a human-readable format for each data point, combining information contained on tabular variables and event narratives (which are "translated" so that technical terms are easier to understand). Six questions, each related to a different characteristic of the fall (cause, diagnosis, etc.), are appended to the prompts and fed to a Text2Text Generation LLM that extracts information by answering the questions. Finally, I train one LDA model for each kind of question to model the topics of the answers, creating a granular way of analyzing and recovering falls given their different characteristics.
3 saket We leveraged the ‘OpenAI’s text-embedding-ada-002’ embeddings provided by DrivenData to create a vector store in FAISS (Facebook Semantic Search). This allowed us to query the narrative using range search that returned relevant results. A key part of our solution involved meaningful context-aware and narrative (limited character) imposed query construction and understanding/categorizing actions that cause a fall. We also dug into the coding manual to understand how the narrative was structured and how best to extract precipitating events. We compared our solution to samples from OpenAI Chat GPT 3.5 and concluded ours was just as effective.
4 xvii My approach made use of embeddings, dimensionality reduction, clustering algorithms, network graphs and text summarization techniques to effectively identify and understand themes from medical narratives on older adults falls. The clustering analysis employed DBSCAN algorithm in conjunction with UMAP processing on the dimension reduced (PCA) embeddings data to uncover key themes cluster. Network graphs were used to explore keyword pair occurrences within narratives for the different clusters, with keyword ranking via the PageRank algorithm highlighting significant terms. Text ranking and summarization were applied to generate summaries for narrative clusters to provide insights into key themes.

Bonus Prizes

Prize Team or User
Most novel approach SeaHawk
Most compelling insight artvolgin
Best visualization jimking100
Best null result Research4Good
Most helpful shared code zysymu
Most promising mid-point submissions RyoyaKatafuchi, artvolgin, and saket

Additional solution details can be found in the reports folder inside the directory for each submission.

Winners Blog Post: Meet the Winners of the Unsupervised Wisdom Challenge

About

Repo with the winners' code from Unsupervised Wisdom: Explore Medical Narratives on Older Adult Falls

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published