Home

Awesome

[COMMSENG'24, TMI'24] Interactive Computer-Aided Diagnosis using LLMs

This repo includes official implementations of ChatCAD and ChatCAD+

<!-- # [IEEE TMI] ChatCAD+: Towards a Reliable and Universal Interactive CAD using LLMs <!-- (https://arxiv.org/abs/2305.15964) --> <!-- by Zihao Zhao\*, Sheng Wang\*, Jinchen Gu*, Yitao Zhu*, Lanzhuju Mei, Zixu Zhuang, Zhiming Cui, Qian Wang, Dinggang Shen<br/> -->

Paper

<b>[Nature COMMSENG] ChatCAD: Interactive Computer-Aided Diagnosis on Medical Image using Large Language Models</b> by Sheng Wang, Zihao Zhao, Xi Ouyang, Tianming Liu, Qian Wang, Dinggang Shen

<div align="center"> <img src="imgs/cad_teaser.png", style="width: 100%"> </div>
<p align="justify"> (a) Overview of our proposed strategy. The image is processed by various networks to generate diverse outputs, which are then transformed into text descriptions. The descriptions, served as a link between visual and linguistic information, are combined as inputs to a large language model (LLM). With its ability to reason and its knowledge of the medical field, the LLM can provide a condensed report. (b) Interactive explanations and medical advice from ChatCAD.
</p>

<b>[IEEE TMI] ChatCAD+: Towards a Reliable and Universal Interactive CAD using LLMs</b> by Zihao Zhao*, Sheng Wang*, Jinchen Gu*, Yitao Zhu*, Lanzhuju Mei, Zixu Zhuang, Zhiming Cui, Qian Wang, Dinggang Shen

<div align="center"> <img src="imgs/cad+_teaser.png", style="width: 70%"> </div>
<p align="justify"> Overview of our proposed ChatCAD+ system. (a) For patients seeking a diagnosis, ChatCAD+ generates reliable medical reports based on the input medical image(s) by referring to local report database. (b) Additionally, for any inquiry from patients, ChatCAD+ retrieves related knowledge from online database and lets large language model generate reliable response.
</p>

Introduction

This repository provides the official implementation of some components of ChatCAD+:<br/>

<!-- **[ChatCAD: Interactive Computer-Aided Diagnosis on Medical Image using Large Language Models](https://arxiv.org/abs/2302.07257)** <br/> --> <!-- ## 最近更新 - <img src="https://img.shields.io/badge/Version-0.0.3--alpha-brightgreen">(2023.4.18): P-Tuning & 多轮对话 & 模型可靠性提升 -->

Resources

Usage

weights&others

You can either find them from original repository or dowload from Google Drive

Deploy local web ui

<p align="center"> <img src="imgs/gr_init.gif" width=500px/> <br/> </p> - Would like some diagnostic results? upload image via left panel --> wait for your report <p align="center"> <img src="imgs/gr_cxr.gif" width=500px/> <br/> </p> - ChatCAD+ will answer your question with a reference from Merck Manucal Professional <p align="center"> <img src="imgs/gr_msd.gif" width=500px/> <br/> </p> <!-- ## 即将到来的更新 - [x] <img src="https://img.shields.io/badge/Version-0.0.2--alpha-brightgreen"> Migrate the project to Gradio - [ ] <img src="https://img.shields.io/badge/Version-0.0.3--alpha-brightgreen"> Online demo with available dental and Knee MRI network -->

Citation

If you find our work useful, please consider giving a star ⭐ and citation.

@article{wang2023chatcad,
  title={Chatcad: Interactive computer-aided diagnosis on medical image using large language models},
  author={Wang, Sheng and Zhao, Zihao and Ouyang, Xi and Wang, Qian and Shen, Dinggang},
  journal={arXiv preprint arXiv:2302.07257},
  year={2023}
}

@article{zhao2023chatcad,
      title={ChatCAD+: Towards a Universal and Reliable Interactive CAD using LLMs},
      author={Zihao Zhao and Sheng Wang and Jinchen Gu and Yitao Zhu and Lanzhuju Mei and Zixu Zhuang and Zhiming Cui and Qian Wang and Dinggang Shen},
      journal={arXiv preprint arXiv:2305.15964},
      year={2023},
}

Acknowledgment

Our implementation (including coming version) is based on the following codebases. We gratefully thank the authors for their wonderful works.

R2GenCMN, PCAM, CSNet.