Wiki: When Labels Are Missing: Building ML Pipelines Without Annotated Data

For agents: Markdown version · Wiki index · Explore

Written by an LLM from machine transcripts. It can contain errors. Check the transcript before you quote it.

Summary

The speaker discusses the challenges of building machine learning pipelines for medical coding when labeled data is scarce and high accuracy is critical. The talk highlights the importance of moving beyond simple classification to context and dependency understanding using a hybrid approach of linguistic rules and language models. The audience learns how combining grammatical dependency graphs with model training enables reliable, production-ready pipelines in high-stakes domains.

Key points

  • 1:05 Free-text medical records must be translated into structured medical codes for research, hospitals, and insurance.
  • 3:10 Medical coding errors have asymmetric and severe real-world consequences, requiring extremely high accuracy.
  • 6:20 Medical datasets suffer from a long-tail distribution where rare conditions appear very infrequently.
  • 10:42 The pipeline is split into stages including anchor detection, context understanding, and terminology linking.
  • 14:56 Linguistic rules based on sentence syntax can outperform human annotators and raw models in specific assertion tasks.
  • 15:57 Dependency graphs capture relationships between words to determine whether a symptom is present or denied.
  • 21:12 Combining fine-tuned models with a rule-based layer in production pushes accuracy up to 99.2 percent.

Takeaways

  • Use a hybrid approach combining linguistic rules and machine learning models when labeled data is scarce.
  • Analyze syntactic dependencies using dependency graphs to accurately capture semantic context like negation.
  • In high-stakes domains, integrating post-inference rules helps catch long-tail edge cases and boosts production reliability.

Questions this talk answers

  • How can you train accurate ML models when labeled data in your domain is extremely scarce?
  • What is the advantage of using linguistic rules alongside language models for clinical text processing?
  • How do you handle long-tail distributions and rare classes in classification tasks?

Technologies

BERT, OpenAI

Tags

classification, data pipelines, healthcare, machine learning, nlp, production, supervised learning