Stanford
University
  • Stanford Home
  • Maps & Directions
  • Search Stanford
  • Emergency Info
  • Terms of Use
  • Privacy
  • Copyright
  • Trademarks
  • Non-Discrimination
  • Accessibility
© Stanford University.  Stanford, California 94305.
AI Researchers Tap into Medical Twitter To Create Powerful New Analysis Tool | Stanford HAI

Stay Up To Date

Get the latest news, advances in research, policy work, and education program updates from HAI in your inbox weekly.

Sign Up For Latest News

Navigate
  • About
  • Events
  • Careers
  • Search
Participate
  • Get Involved
  • Support HAI
  • Contact Us
Skip to content
  • About

    • About
    • People
    • Get Involved with HAI
    • Support HAI
    • Subscribe to Email
  • Research

    • Research
    • Fellowship Programs
    • Grants
    • Student Affinity Groups
    • Centers & Labs
    • Research Publications
    • Research Partners
  • Education

    • Education
    • Executive and Professional Education
    • Government and Policymakers
    • K-12
    • Stanford Students
  • Policy

    • Policy
    • Policy Publications
    • Policymaker Education
    • Student Opportunities
  • AI Index

    • AI Index
    • AI Index Report
    • Global Vibrancy Tool
    • People
  • News
  • Events
  • Industry
  • Centers & Labs
news

AI Researchers Tap into Medical Twitter To Create Powerful New Analysis Tool

Date
August 28, 2023
Topics
Healthcare
Communications, Media
DALL-E

Stanford researchers discover a rich new data source in the anonymized pathology images and online comments of thousands of pathologists.

Most are familiar with Twitter — recently redubbed X — but few are aware that this popular social media channel also plays host to various sub-communities. Take medical Twitter, for instance, where an energetic community of clinicians trades interesting, intriguing, and often perplexing medical images and asks other highly trained clinicians to weigh in.

Recognizing a rich, untapped resource, researchers at Stanford University have combed medical Twitter to gather more than 200,000 anonymized diagnostic images of cancers and other diseases, along with the professional annotations provided by those highly trained clinicians. From that data, they have built a powerful artificial intelligence (AI) model able to correctly analyze and diagnose previously unseen images.

“One of the biggest challenges of developing diagnostic AI is lack of large-scale annotated data,”  says James Zou, a professor of biomedical data science and member of the Stanford Institute for Human-Centered AI (HAI). “But right there was this highly trained group of physicians sharing data and insights on social media. Medical Twitter is a tremendous boon to medical AI.”

Read the preprint study, "Leveraging Medical Twitter to Build a Visual–language Foundation Model for Pathology AI"

 

Despite the clear promise, Zou says, computational pathology, as the field is known, has lagged behind other areas of AI due to the dearth of anonymized, well-annotated image datasets, complicated by the fact that there is a universe of 8,000 known diseases to classify — and an untold number of potentially valuable images kept locked away in private hospital databases.

In paging through medical Twitter, Zhi Huang and Federico Bianchi, postdocs at Stanford and co-leaders of the project, realized that with each posted image, each insightful analysis, each careful hashtag (#breastcancer), and each probing question, community members were in effect labeling the data.

“A pathologist would run up against something they’d never seen before and post the image to the community, asking, ‘What do you think is going on here?’ And a knowledgeable group of colleagues around the world would respond in written text,” Zou explains. “In that combination of text and images, we had our resource.”

Gathering and curating more than 243,000 diagnostic images and their comments from medical Twitter, anonymizing them and winnowing out the poor-quality images and responses, Huang, Bianchi, and the team created OpenPath, one of the largest public pathology datasets with natural language descriptions. The team then trained PLIP — a foundation AI that can understand both images and text.

“That pairing of images and text makes it quite useful. PLIP enables researchers to retrieve similar cases by searching using either images or words,” Zou says. “We think it should greatly facilitate knowledge sharing within the pathology community worldwide.”

Asked about some of the recent changes at Twitter — including potential changes in the API that restrict researchers from gathering this kind of data — Zou says he’s not troubled. The real message in this research is not specific to Twitter, but something larger, more democratic — and more exciting.

“The insight here may be that much medical knowledge is shared on social media,” Zou says. “I think we can be very creative in looking for new and diverse sources of data to improve medical AI.”

Stanford HAI’s mission is to advance AI research, education, policy and practice to improve the human condition. Learn more. 

DALL-E
Share
Link copied to clipboard!
Contributor(s)
Andrew Myers

Related News

AI Reveals How Brain Activity Unfolds Over Time
Andrew Myers
Jan 21, 2026
News
Medical Brain Scans on Multiple Computer Screens. Advanced Neuroimaging Technology Reveals Complex Neural Pathways, Display Showing CT Scan in a Modern Medical Environment

Stanford researchers have developed a deep learning model that transforms overwhelming brain data into clear trajectories, opening new possibilities for understanding thought, emotion, and neurological disease.

News
Medical Brain Scans on Multiple Computer Screens. Advanced Neuroimaging Technology Reveals Complex Neural Pathways, Display Showing CT Scan in a Modern Medical Environment

AI Reveals How Brain Activity Unfolds Over Time

Andrew Myers
HealthcareSciences (Social, Health, Biological, Physical)Jan 21

Stanford researchers have developed a deep learning model that transforms overwhelming brain data into clear trajectories, opening new possibilities for understanding thought, emotion, and neurological disease.

Why 'Zero-Shot' Clinical Predictions Are Risky
Suhana Bedi, Jason Alan Fries, and Nigam H. Shah
Jan 07, 2026
News
Doctor reviews a tablet in the foreground while other doctors and nurses stand over a medical bed in the background

These models generate plausible timelines from historical patterns; without calibration and auditing, their “probabilities” may not reflect reality.

News
Doctor reviews a tablet in the foreground while other doctors and nurses stand over a medical bed in the background

Why 'Zero-Shot' Clinical Predictions Are Risky

Suhana Bedi, Jason Alan Fries, and Nigam H. Shah
HealthcareFoundation ModelsJan 07

These models generate plausible timelines from historical patterns; without calibration and auditing, their “probabilities” may not reflect reality.

Stanford Researchers: AI Reality Check Imminent
Forbes
Dec 23, 2025
Media Mention

Shana Lynch, HAI Head of Content and Associate Director of Communications, pointed out the "'era of AI evangelism is giving way to an era of AI evaluation,'" in her AI predictions piece, where she interviewed several Stanford AI experts on their insights for AI impacts in 2026.

Media Mention
Your browser does not support the video tag.

Stanford Researchers: AI Reality Check Imminent

Forbes
Generative AIEconomy, MarketsHealthcareCommunications, MediaDec 23

Shana Lynch, HAI Head of Content and Associate Director of Communications, pointed out the "'era of AI evangelism is giving way to an era of AI evaluation,'" in her AI predictions piece, where she interviewed several Stanford AI experts on their insights for AI impacts in 2026.