Skip to content
This repository was archived by the owner on Oct 6, 2025. It is now read-only.
This repository was archived by the owner on Oct 6, 2025. It is now read-only.

The baseline results are too weak #1

Description

@JoakimEdin

I enjoyed your paper a lot! However, I have one big criticism: I think that the implemented BERT models are too weak. Your results are worse than those I've seen in the literature. Either your dataset is more challenging than MIMIC-III and MIMIC-IV, or you have not implemented the BERT models properly. I have some suggestions for how to get stronger baseline models and make the comparison with the LLMs more fair:

  1. Use a stronger decoder. Simply applying a linear layer on top of the average of the output word representations or the CLS token representation results in poor performance in multi-label classification (https://arxiv.org/abs/2103.06511). Try using PLM-ICD (https://aclanthology.org/2022.clinicalnlp-1.2/). It uses label-wise attention on the word representations and is currently the SOTA model on MIMIC-III and MIMIC-IV for automated medical coding. You can find the code for the model here: https://github.com/JoakimEdin/medical-coding-reproducibility/blob/main/src/models/plm_icd.py
  2. Setting the decision boundary threshold to 0.5 results in poor performance. You have to tune the decision boundary on the validation set. We demonstrated this in our paper: https://dl.acm.org/doi/10.1145/3539618.3591918
  3. Truncate the text to the same length when validating BERT and the LLMs. Truncating them to different lengths is not a fair comparison.
  4. Perform hyperparameter tuning on the models. Play with learning rate, dropout, and weight decay.

I hope these comments are not interpreted as self-promotion! I am genuinely interested in how LLMs perform on automated medical coding compared to other models! Also, cool to see a comparison on a new dataset!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions