[Paper Review] Customizing General-Purpose Foundation Models for Medical Report Generation
This paper proposes a method to customize general-purpose foundation models—specifically EVA-ViT-g and ChatGLM-6B—for medical report generation by using a lightweight query Transformer (Q-Former) to bridge vision and language encoders. The approach achieves state-of-the-art performance, ranking 4th and 2nd on BERTScore and ROUGE-1 in the ImageCLEFmedical 2023 Caption Prediction Task, with key findings showing that fine-tuning both the vision encoder and language model via parameter-efficient methods is essential for optimal results.
Medical caption prediction which can be regarded as a task of medical report generation (MRG), requires the automatic generation of coherent and accurate captions for the given medical images. However, the scarcity of labelled medical image-report pairs presents great challenges in the development of deep and large-scale neural networks capable of harnessing the potential artificial general intelligence power like large language models (LLMs). In this work, we propose customizing off-the-shelf general-purpose large-scale pre-trained models, i.e., foundation models (FMs), in computer vision and natural language processing with a specific focus on medical report generation. Specifically, following BLIP-2, a state-of-the-art vision-language pre-training approach, we introduce our encoder-decoder-based MRG model. This model utilizes a lightweight query Transformer to connect two FMs: the giant vision Transformer EVA-ViT-g and a bilingual LLM trained to align with human intentions (referred to as ChatGLM-6B). Furthermore, we conduct ablative experiments on the trainable components of the model to identify the crucial factors for effective transfer learning. Our findings demonstrate that unfreezing EVA-ViT-g to learn medical image representations, followed by parameter-efficient training of ChatGLM-6B to capture the writing styles of medical reports, is essential for achieving optimal results. Our best attempt (PCLmed Team) achieved the 4th and the 2nd, respectively, out of 13 participating teams, based on the BERTScore and ROUGE-1 metrics, in the ImageCLEFmedical Caption 2023 Caption Prediction Task competition.
Motivation & Objective
- To address the challenge of limited labeled medical image-report pairs in training deep neural networks for medical report generation.
- To investigate whether off-the-shelf general-purpose foundation models can be effectively adapted for medical report generation without full fine-tuning.
- To identify the critical components and training strategies for effective transfer learning in a vision-language medical report generation setting.
- To improve model performance while minimizing computational cost through parameter-efficient fine-tuning techniques.
Proposed method
- A vision-language encoder-decoder framework is constructed using EVA-ViT-g as the vision encoder and ChatGLM-6B as the language decoder, connected via a lightweight query Transformer (Q-Former).
- The Q-Former is trained end-to-end to align visual features from the image with textual representations from the language model.
- The vision encoder (EVA-ViT-g) is unfreezed to learn medical-specific image representations during fine-tuning.
- The language model (ChatGLM-6B) is fine-tuned using P-tuning, a parameter-efficient method, to adapt to medical report writing styles.
- Ablative experiments are conducted to evaluate the impact of different trainable components, including freezing or unfreezing the vision and language encoders.
- The model is trained directly on the ImageCLEF 2023 dataset without pre-training on image-text pairs, differing from BLIP-2.
Experimental results
Research questions
- RQ1What is the impact of unfreezing the vision foundation model (EVA-ViT-g) on medical report generation performance?
- RQ2How effective is parameter-efficient fine-tuning (via P-tuning) of the large language model (ChatGLM-6B) for capturing medical report writing styles?
- RQ3Does direct fine-tuning on the target medical dataset outperform pre-training on general image-text pairs for medical report generation?
- RQ4What are the key components that contribute most significantly to performance gains in foundation model customization for medical report generation?
- RQ5How do hallucination, code-switching, and catastrophic forgetting affect the performance of fine-tuned foundation models in medical captioning?
Key findings
- Unfreezing EVA-ViT-g and fine-tuning it on medical images significantly improves performance, indicating that learning domain-specific visual representations is crucial.
- Parameter-efficient fine-tuning of ChatGLM-6B using P-tuning leads to better alignment with medical report writing styles and results in higher-quality outputs.
- The best-performing model achieved 4th and 2nd place among 13 teams on the ImageCLEF 2023 Caption Prediction Task, scoring 0.607918 on BERTScore and 0.242249 on ROUGE-1.
- Ablative studies confirmed that joint fine-tuning of both the vision encoder and language model yields the best results, outperforming models where either component is frozen.
- The model exhibits challenges such as hallucination, code-switching (e.g., generating Chinese tokens in English reports), and catastrophic forgetting of zero-shot visual question-answering abilities.
- Polishing generated reports with ChatGPT did not significantly improve metrics, indicating that non-English token generation is a persistent issue requiring architectural or prompt-level solutions.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.