Cargando…

DxFormer: a decoupled automatic diagnostic system based on decoder–encoder transformer with dense symptom representations

MOTIVATION: Symptom-based automatic diagnostic system queries the patient’s potential symptoms through continuous interaction with the patient and makes predictions about possible diseases. A few studies use reinforcement learning (RL) to learn the optimal policy from the joint action space of sympt...

Descripción completa

Detalles Bibliográficos
Autores principales: Chen, Wei, Zhong, Cheng, Peng, Jiajie, Wei, Zhongyu
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Oxford University Press 2022
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9825744/
https://www.ncbi.nlm.nih.gov/pubmed/36409016
http://dx.doi.org/10.1093/bioinformatics/btac744
_version_ 1784866688696582144
author Chen, Wei
Zhong, Cheng
Peng, Jiajie
Wei, Zhongyu
author_facet Chen, Wei
Zhong, Cheng
Peng, Jiajie
Wei, Zhongyu
author_sort Chen, Wei
collection PubMed
description MOTIVATION: Symptom-based automatic diagnostic system queries the patient’s potential symptoms through continuous interaction with the patient and makes predictions about possible diseases. A few studies use reinforcement learning (RL) to learn the optimal policy from the joint action space of symptoms and diseases. However, existing RL (or Non-RL) methods focus on disease diagnosis while ignoring the importance of symptom inquiry. Although these systems have achieved considerable diagnostic accuracy, they are still far below its performance upper bound due to few turns of interaction with patients and insufficient performance of symptom inquiry. To address this problem, we propose a new automatic diagnostic framework called DxFormer, which decouples symptom inquiry and disease diagnosis, so that these two modules can be independently optimized. The transition from symptom inquiry to disease diagnosis is parametrically determined by the stopping criteria. In DxFormer, we treat each symptom as a token, and formalize the symptom inquiry and disease diagnosis to a language generation model and a sequence classification model, respectively. We use the inverted version of Transformer, i.e. the decoder–encoder structure, to learn the representation of symptoms by jointly optimizing the reinforce reward and cross-entropy loss. RESULTS: We conduct experiments on three real-world medical dialogue datasets, and the experimental results verify the feasibility of increasing diagnostic accuracy by improving symptom recall. Our model overcomes the shortcomings of previous RL-based methods. By decoupling symptom query from the process of diagnosis, DxFormer greatly improves the symptom recall and achieves the state-of-the-art diagnostic accuracy. AVAILABILITY AND IMPLEMENTATION: Both code and data are available at https://github.com/lemuria-wchen/DxFormer. SUPPLEMENTARY INFORMATION: Supplementary data are available at Bioinformatics online.
format Online
Article
Text
id pubmed-9825744
institution National Center for Biotechnology Information
language English
publishDate 2022
publisher Oxford University Press
record_format MEDLINE/PubMed
spelling pubmed-98257442023-01-10 DxFormer: a decoupled automatic diagnostic system based on decoder–encoder transformer with dense symptom representations Chen, Wei Zhong, Cheng Peng, Jiajie Wei, Zhongyu Bioinformatics Original Paper MOTIVATION: Symptom-based automatic diagnostic system queries the patient’s potential symptoms through continuous interaction with the patient and makes predictions about possible diseases. A few studies use reinforcement learning (RL) to learn the optimal policy from the joint action space of symptoms and diseases. However, existing RL (or Non-RL) methods focus on disease diagnosis while ignoring the importance of symptom inquiry. Although these systems have achieved considerable diagnostic accuracy, they are still far below its performance upper bound due to few turns of interaction with patients and insufficient performance of symptom inquiry. To address this problem, we propose a new automatic diagnostic framework called DxFormer, which decouples symptom inquiry and disease diagnosis, so that these two modules can be independently optimized. The transition from symptom inquiry to disease diagnosis is parametrically determined by the stopping criteria. In DxFormer, we treat each symptom as a token, and formalize the symptom inquiry and disease diagnosis to a language generation model and a sequence classification model, respectively. We use the inverted version of Transformer, i.e. the decoder–encoder structure, to learn the representation of symptoms by jointly optimizing the reinforce reward and cross-entropy loss. RESULTS: We conduct experiments on three real-world medical dialogue datasets, and the experimental results verify the feasibility of increasing diagnostic accuracy by improving symptom recall. Our model overcomes the shortcomings of previous RL-based methods. By decoupling symptom query from the process of diagnosis, DxFormer greatly improves the symptom recall and achieves the state-of-the-art diagnostic accuracy. AVAILABILITY AND IMPLEMENTATION: Both code and data are available at https://github.com/lemuria-wchen/DxFormer. SUPPLEMENTARY INFORMATION: Supplementary data are available at Bioinformatics online. Oxford University Press 2022-11-21 /pmc/articles/PMC9825744/ /pubmed/36409016 http://dx.doi.org/10.1093/bioinformatics/btac744 Text en © The Author(s) 2022. Published by Oxford University Press. https://creativecommons.org/licenses/by/4.0/This is an Open Access article distributed under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted reuse, distribution, and reproduction in any medium, provided the original work is properly cited.
spellingShingle Original Paper
Chen, Wei
Zhong, Cheng
Peng, Jiajie
Wei, Zhongyu
DxFormer: a decoupled automatic diagnostic system based on decoder–encoder transformer with dense symptom representations
title DxFormer: a decoupled automatic diagnostic system based on decoder–encoder transformer with dense symptom representations
title_full DxFormer: a decoupled automatic diagnostic system based on decoder–encoder transformer with dense symptom representations
title_fullStr DxFormer: a decoupled automatic diagnostic system based on decoder–encoder transformer with dense symptom representations
title_full_unstemmed DxFormer: a decoupled automatic diagnostic system based on decoder–encoder transformer with dense symptom representations
title_short DxFormer: a decoupled automatic diagnostic system based on decoder–encoder transformer with dense symptom representations
title_sort dxformer: a decoupled automatic diagnostic system based on decoder–encoder transformer with dense symptom representations
topic Original Paper
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9825744/
https://www.ncbi.nlm.nih.gov/pubmed/36409016
http://dx.doi.org/10.1093/bioinformatics/btac744
work_keys_str_mv AT chenwei dxformeradecoupledautomaticdiagnosticsystembasedondecoderencodertransformerwithdensesymptomrepresentations
AT zhongcheng dxformeradecoupledautomaticdiagnosticsystembasedondecoderencodertransformerwithdensesymptomrepresentations
AT pengjiajie dxformeradecoupledautomaticdiagnosticsystembasedondecoderencodertransformerwithdensesymptomrepresentations
AT weizhongyu dxformeradecoupledautomaticdiagnosticsystembasedondecoderencodertransformerwithdensesymptomrepresentations