Error-Aware Curriculum Learning for Biomedical Relation Classification

Sinchani Chakraborty, Sudeshna Sarkar, Pawan GoyalarXiv 2025 · DOI

Abstract

Extracting relationships between biomedical entities is essential for modern clinical decision-making and drug discovery. However, smaller, efficient models often struggle with the linguistic complexity and domain-specific nuances of biomedical text. This paper presents a novel framework that utilizes a Large Language Model (LLM) as a "Teacher" to guide the training of smaller "Student" models. By categorizing errors, enriching data with knowledge graphs, and employing a curriculum-based learning strategy, the framework achieves state-of-the-art performance on major benchmarks, including the DDI and PPI datasets.

Introduction

Biomedical relation classification involves identifying interactions between entities like drugs, proteins, and diseases. The task is complicated by long sentences, nested entities, and subtle linguistic cues such as negation. While Large Language Models (LLMs) like GPT-4o exhibit strong reasoning capabilities, their high operational costs make them less suitable for large-scale production than smaller models like PubMedBERT. However, these smaller models often lack the "world knowledge" and structural robustness required for complex cases. To address this, we propose an error-aware curriculum learning framework that uses an LLM teacher to systematically remediate student failures.

Methodology: The Teacher-Student Framework

The proposed approach consists of a three-phase pipeline designed to transfer reasoning and domain knowledge from a large teacher model to a smaller student model.

Overview of the three-phase teacher-student framework for error-aware curriculum learning.

Phase 1: Teacher-Guided Remediation and Enrichment

In the first phase, a baseline student model is evaluated on a training set to identify error-prone samples. A "Teacher" model (GPT-4o) then analyzes these failures and categorizes them according to a specific error taxonomy. This taxonomy includes linguistic, knowledge-based, and structural categories. For each error, the teacher generates remediation strategies, such as simplified sentence rewrites (Synthesized Sentences), step-by-step reasoning (Solution Guidance), and external context retrieved from a heterogeneous knowledge graph, BiomedKG.

Taxonomy of error types used by the Teacher model to categorize student failures.

Phase 2: Student Mimicry

A first-stage student model (MedLLaMA-3-8B) is fine-tuned to mimic the teacher’s diagnostic behavior. It learns to classify errors and assign a difficulty score (0–5) to each sample. This phase utilizes LISA (Layer Importance Sampling for Adaptation), a parameter-efficient fine-tuning method that offers significant speed improvements over standard techniques like LoRA.

Phase 3: Curriculum-Guided Training

The final student model (PubMedBERT) is trained on the enriched dataset using a "Baby Steps" curriculum. The model begins training on the easiest examples (difficulty score 0) and progressively moves to more complex cases. This structured approach helps the model build robust linguistic representations and prevents the "catastrophic forgetting" often seen when models are immediately exposed to highly complex data.

Results

The framework was evaluated on several major biomedical benchmarks, including Protein-Protein Interaction (PPI), Drug-Drug Interaction (DDI), and ChemProt.

  • DDI Dataset: The model achieved a state-of-the-art (SOTA) F1 score of 96.30, significantly outperforming previous graph-based and LLM-based approaches.
  • PPI Datasets: The framework set new SOTA records on 4 out of 5 datasets, including AiMed (95.6 F1) and IEPA (95.90 F1).
  • ChemProt: The model remained highly competitive with an F1 score of 88.91.

Ablation studies confirmed the importance of the curriculum; the "Baby Steps" approach provided a consistent boost of up to +2.18 F1 on the DDI task compared to standard training. Furthermore, the targeted use of Knowledge Graph enrichment proved more effective than indiscriminate data augmentation, as it reduced noise by focusing only on identified "Knowledge Deficiency" errors.

Conclusion

This research demonstrates that the reasoning power of LLMs can be effectively distilled into smaller models through structured error analysis and curriculum learning. By moving beyond "black box" training and providing models with a roadmap of their own failures, we can achieve high-performance, efficient relation extraction. Future work will explore expanding the scope of the BiomedKG and applying this curriculum strategy to other complex biomedical NLP tasks such as summarization and question answering.

Summary updated

Abstract

Relation Classification (RC) in biomedical texts is essential for constructing knowledge graphs and enabling applications such as drug repurposing and clinical decision-making. We propose an error-aware teacher--student framework that improves RC through structured guidance from a large language model (GPT-4o). Prediction failures from a baseline student model are analyzed by the teacher to classify error types, assign difficulty scores, and generate targeted remediations, including sentence rewrites and suggestions for KG-based enrichment. These enriched annotations are used to train a first student model via instruction tuning. This model then annotates a broader dataset with difficulty scores and remediation-enhanced inputs. A second student is subsequently trained via curriculum learning on this dataset, ordered by difficulty, to promote robust and progressive learning. We also construct a heterogeneous biomedical knowledge graph from PubMed abstracts to support context-aware RC. Our approach achieves new state-of-the-art performance on 4 of 5 PPI datasets and the DDI dataset, while remaining competitive on ChemProt.
BibTeX
@misc{chakraborty2025error,
  author = {Sinchani Chakraborty and Sudeshna Sarkar and Pawan Goyal},
  title = {{Error-Aware Curriculum Learning for Biomedical Relation Classification}},
  year = {2025},
  eprint = {2507.14374},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.14374},
}
Figure