NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Effective Convolutional Attention Network for Multi-label Clinical Document Classification

Yang Liu, Hua Cheng, Russell Klopfer, Matthew R. Gormley, Thomas Schaaf

Abstract

Medical coding—the assignment of standardized ICD codes to clinical notes—is a critical yet challenging task due to extreme document lengths, large label sets, and sparse data distributions. We present EffectiveCAN (Effective Convolutional Attention Network), a specialized architecture that leverages deep 1D-convolutions, Squeeze-and-Excitation (SE) blocks, and multi-layer attention. By employing a strategic "loss-switching" training regime, EffectiveCAN achieves state-of-the-art performance on clinical benchmarks like MIMIC-III while remaining significantly more memory-efficient than Transformer-based alternatives.

Introduction

Multi-label document classification (MLDC) in the clinical domain is characterized by three primary hurdles: extreme document length (often exceeding 3,000 words), large and sparse label sets (thousands of codes with a "long-tail" distribution), and the need to capture both local and global context. Standard Transformer models often struggle with these constraints due to quadratic scaling with sequence length and memory limitations.

Methodology

EffectiveCAN moves away from the Transformer-only trend, utilizing 1D-CNNs for their computational efficiency and ability to capture local text spans.

Architecture: Res-SE Blocks

The encoder's core consists of Res-SE blocks. These blocks integrate 1D convolutions to aggregate information from adjacent words, Squeeze-and-Excitation (SE) networks to adaptively weight feature channels, and residual connections to facilitate deeper network training without vanishing gradients.

Multi-layer Attention

Unlike standard models that only utilize the final layer's output, EffectiveCAN employs multi-layer attention. This mechanism allows the model to attend to features produced by every block in the encoder, capturing a hierarchy of information from low-level keywords to high-level semantic concepts.

The overall architecture of EffectiveCAN, featuring Res-SE blocks and multi-layer attention.

Focal Loss Switching

To address the challenge of rare labels, the authors utilize Focal Loss, which emphasizes "hard" (rare) examples. The training process begins with standard Binary Cross Entropy (BCE) to learn general features, followed by a switch to Focal Loss for fine-tuning on the long-tail distribution.

Results and Discussion

EffectiveCAN was evaluated on several benchmarks, including MIMIC-III (Full and Top-50) and multi-lingual clinical datasets (Dutch and French).

Performance and Efficiency

On the MIMIC-III-full dataset, EffectiveCAN achieved a Micro F1 of 0.589, setting a new state-of-the-art. Notably, the model maintains a small footprint (10M–38M parameters), making it 10x to 30x smaller than models like RoBERTa-large while delivering superior performance on clinical tasks.

Performance comparison of EffectiveCAN against baseline models on the MIMIC-III dataset.

Cross-Lingual and General Applicability

The model demonstrated robust performance across different languages, significantly outperforming XLM-RoBERTa on Dutch and French clinical datasets. Furthermore, its label-wise attention mechanism provides interpretability, allowing researchers to identify specific n-grams that trigger particular medical codes.

Conclusion

EffectiveCAN demonstrates that convolutional architectures, when augmented with sophisticated attention mechanisms and training strategies, remain highly competitive for long-form clinical document classification. Future work may involve incorporating label correlations via Graph Neural Networks and exploring subword-based pre-training to further enhance performance.

Reference: Liu, Y., et al. (2021). Effective Convolutional Attention Network for Multi-label Clinical Document Classification. Proceedings of EMNLP 2021.

Summary updated

BibTeX
@inproceedings{liu2021effective,
  author = {Yang Liu and Hua Cheng and Russell Klopfer and Matthew R. Gormley and Thomas Schaaf},
  title = {{Effective Convolutional Attention Network for Multi-label Clinical Document Classification}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.emnlp-main.481},
}
Figure