First Place Solution of 2023 Global Artificial Intelligence Technology Innovation Competition Track 1

Yang Yang, Xiangyu Wu, Hailiang Zhang, Yang Yang 0128, Jianfeng LuarXiv 2024 · DOI

Abstract

This paper presents the winning strategy for the 2023 Global Artificial Intelligence Technology Innovation Competition (Track 1), focused on automated medical imaging diagnosis report generation. The challenge involved processing highly desensitized medical data where terms were replaced by unique ID numbers. Our approach adapts the CPT-BASE model through vocabulary reconstruction, span-masking pre-training, and a novel iterative Retrieval-Augmented Generation (RAG) framework. A key contribution is the "noise-aware similarity bucket" prompting mechanism, which enables the model to effectively utilize retrieved context while remaining robust to irrelevant information.

Introduction

The automated generation of medical imaging reports aims to reduce the workload of clinicians and minimize subjectivity. However, privacy concerns often lead to data desensitization, where medical terminology is replaced by abstract numerical IDs. This transformation renders standard pre-trained language models ineffective as their vocabularies do not align with the anonymized tokens. Furthermore, the high precision required in medical reporting makes hallucinations particularly dangerous. This paper details a three-stage pipeline designed to bridge the gap between general-purpose models and abstract medical "ID-language."

Methodology

1. Vocabulary and Pre-training Adaptation

The foundation of the solution is the CPT-BASE (Chinese Pre-trained Transformer) model. To accommodate the desensitized data, 347 new "number-tokens" were added to the vocabulary. The model underwent a specialized pre-training phase using Span Masking and a Denoising Auto-Encoder (DAE) task. A curriculum masking strategy was employed, starting with a 0.3 masking ratio and gradually increasing it to force the model to learn complex contextual dependencies between the numerical IDs.

2. Iterative Retrieval Augmentation (RAG)

To provide the generator with high-quality references, an iterative RAG strategy was implemented. A knowledge base was constructed from the training set, allowing the model to retrieve similar "Description-Diagnosis" pairs as context for new inputs.

Iterative Retrieval-Augmented Generation (RAG) pipeline showing the flow from query to retrieval and dataset expansion.

As shown in the RAG pipeline, the process is iterative: as the model's embedding capabilities improve through training, the quality of retrieved references increases, which in turn provides better context for subsequent training cycles.

3. Noise-aware Similarity Bucketing

Retrieval systems inevitably introduce noise. To mitigate this, retrieved samples were categorized into four "buckets" based on their similarity scores: Best Match, Good Match, Not Good Match, and Noisy Match.

Noise-aware similarity bucketing and prompting strategy to help the model distinguish between high-quality and noisy retrieved context.

As illustrated in the bucketing strategy, these bucket labels were prepended as prompts (e.g., [best match]) to the input. This "noise-aware" prompting teaches the generator to dynamically weight the retrieved context, prioritizing high-similarity matches while remaining skeptical of noisy ones.

4. Robust Training Techniques

Several techniques were integrated to ensure model stability and generalization:

  • FGM (Fast Gradient Method): Adversarial training to improve robustness against small input perturbations.
  • R-Dropout: Regularization to prevent overfitting by minimizing the bidirectional KL divergence between two sub-models.
  • EMA (Exponential Moving Average): Maintaining a moving average of model weights for smoother convergence and better performance on unseen data.

Results

The proposed methodology demonstrated consistent performance gains at each stage of the pipeline. Starting from a CPT-BASE baseline score of 2.1876, the inclusion of span masking raised the score to 2.2317. The iterative RAG and similarity bucketing further improved the performance to 2.3013 and 2.3132, respectively. The final ensemble of 10 models achieved a top score of 2.3622, securing first place in the competition.

Conclusion

This work demonstrates that large-scale pre-trained models can be successfully adapted to abstract, desensitized domains through targeted vocabulary expansion and specialized pre-training. The combination of iterative retrieval and noise-aware prompting provides a robust framework for high-precision tasks like medical report generation, effectively balancing the benefits of external knowledge with the need for data integrity.

Summary updated

Abstract

In this paper, we present our champion solution to the Global Artificial Intelligence Technology Innovation Competition Track 1: Medical Imaging Diagnosis Report Generation. We select CPT-BASE as our base model for the text generation task. During the pre-training stage, we delete the mask language modeling task of CPT-BASE and instead reconstruct the vocabulary, adopting a span mask strategy and gradually increasing the number of masking ratios to perform the denoising auto-encoder pre-training task. In the fine-tuning stage, we design iterative retrieval augmentation and noise-aware similarity bucket prompt strategies. The retrieval augmentation constructs a mini-knowledge base, enriching the input information of the model, while the similarity bucket further perceives the noise information within the mini-knowledge base, guiding the model to generate higher-quality diagnostic reports based on the similarity prompts. Surprisingly, our single model has achieved a score of 2.321 on leaderboard A, and the multiple model fusion scores are 2.362 and 2.320 on the A and B leaderboards respectively, securing first place in the rankings.
BibTeX
@misc{yang2024first,
  author = {Yang Yang and Xiangyu Wu and Hailiang Zhang and Yang Yang and Jianfeng Lu},
  title = {{First Place Solution of 2023 Global Artificial Intelligence Technology Innovation Competition Track 1}},
  year = {2024},
  eprint = {2407.01271},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2407.01271},
}
Figure