Hiring in life sciences? Share your open positions with our professional community. Read more Close

Advertisement

Scalable classification of infant breast milk feeding status from clinical notes using weak supervision and rule-based natural language processing.

Created on 01 Nov 2026

Authors

Connor Grannis, Ping Wei, Austin A Antoniou, David M Gordon, Jinyu Xu, Jianing Liu, Peter White, Sarah A Keim, Lang Li, Christopher W Bartlett

Published in

JAMIA open. Volume 9. Issue 5. Pages ooag211. Epub Oct 30, 2026.

Abstract

Extract infant breast milk feeding status from electronic health record clinical notes to support observational drug-safety studies.
Infant notes (19 489; 228 infants) were weakly labeled by large language model (LLM) and validated on 1045 manually reviewed notes. Using these labels, we built a rule-based medspaCy classifier from a curated feeding term set and compared it with ClinPhen and fine-tuned Bidirectional Encoder Representations from Transformers (BERT) document classifiers. Maternal postpartum notes (23 mothers; 616 partitions) were manually labeled to compare BERT with prompt-based language models.
LLM labels achieved 99.62% accuracy (macro F1 99.32%). medspaCy achieved 94.36% accuracy and 90.40% balanced accuracy (macro F1 0.90) and was applied to 52 278 mother-infant dyads. On maternal notes, the prompt-based model improved Positive-class F1 vs BERT (0.96 vs 0.82).
LLMs were most effective for scalable labeling; deterministic rules supported transparent large-scale inference.
Weak supervision plus lightweight rules can convert sparse breastfeeding documentation into structured variables at-scale.

PMID:
42965252
Bibliographic data and abstract were imported from PubMed on 01 Nov 2026.

Read full publication at:
Please sign in to see all details.

Advertisement

Stats

  • Community rating n/a 0 votes
  • Reviewers' rating n/a 0 votes
  • Your rating

1-terrible, 9-excellent. How would you rate this publication? Sign in in to submit your rating.

  • Recommendations n/a n/a positive of 0 vote(s)
  • Views 7
  • Comments 0

Recommended by

  • No recommendations yet.

Post a comment

You need to be signed in to post comments. You can sign in here.

Comments

There are no comments yet.

Advertisement