Skip to content
Apixo
Blog
news· 3 min read· via MIT News AI

MIT and Dana-Farber Researchers Use AI to Analyze Code Sharing in Medical Studies

A recent study led by MIT and Dana-Farber researchers used large language models to analyze thousands of medical papers, revealing significant gaps in code sharing and documentation.

MIT and Dana-Farber Researchers Use AI to Analyze Code Sharing in Medical Studies

Access to underlying data and code allows researchers to understand how a study was conducted, examine methodologies, and build upon previous work. In medical research, choices regarding data preparation, model development, and performance evaluation significantly influence results. While a methods section provides an overview, capturing every detail requires access to the actual code. However, a lack of clear guidance on what constitutes a well-organized code collection has made reuse difficult.

To address this, an international team led by researchers at MIT and the Dana-Farber Cancer Institute investigated how code is currently shared in clinical prediction studies. These studies evaluate models that estimate patient outcomes, such as disease risk, which directly inform patient care decisions. The findings were recently published in Nature Medicine and are helping to inform TRIPOD-Code, an upcoming reporting guideline designed to clarify code-sharing standards.

Using LLMs to Screen Thousands of Papers

The research team focused on studies that developed, updated, or validated prediction models by examining papers citing the TRIPOD or TRIPOD+AI reporting checklists. Using PubMed Central’s open-access collection, they identified nearly 4,000 studies for analysis.

Because authors link to and discuss code in many different ways, the information was highly inconsistent. To manage this unstructured data, the team used large language models to screen the papers, identify code availability statements, and extract repository links. Automated software then retrieved the linked repositories to evaluate characteristics such as documentation completeness, software requirements, and reuse terms.

Tom Pollard, a research scientist at MIT's Laboratory for Computational Physiology and Computer Science and Artificial Intelligence Laboratory and a senior author of the study, noted that LLMs excel at processing scattered, unstructured information. To ensure accuracy, human reviewers independently checked 500 papers and a separate sample of repositories, resolving discrepancies before comparing them with the automated results.

Findings: Low Rates and High Variability

The analysis uncovered two primary gaps: code sharing remains uncommon, and public code does not consistently include the necessary documentation for reuse. Only about one in eight studies reported sharing their code.

Among the repositories that were shared, organization levels varied widely. Some were exceptionally well-documented, while others provided virtually no guidance. Practices also differed substantially across journals and countries, with journal sharing rates ranging from zero to over 70 percent. Notably, some journals with low sharing rates had written policies in place, indicating that policies alone may not be sufficient to drive action. For developers seeking to experiment with text processing workflows and other applications, developers can try top AI models cheaply through one API at https://apixoai.online.

What it means for developers

For software developers and computational researchers working with scientific code, the study highlights the practical challenges of reproducibility. Clinical prediction research involves contributors from medicine, statistics, and computer science, often leading to differing expectations for documentation. The ongoing development of TRIPOD-Code aims to establish a consensus through an expert review process, defining essential elements for shared analytical code. This initiative intends to provide practical instructions for researchers and clearer expectations for academic journals.


Source: AI helps researchers investigate how thousands of medical studies share code — MIT News AI. Written by the Apixo team from that report.

#ai-news#artificial-intelligence#medical-research#llms#mit#software-sharing
Try it with your own tools

One key for Claude, GPT, GLM, DeepSeek and more. Pay per token with crypto.

Get your API key

Keep reading