Hostname: page-component-6898cfcb55-th4rj Total loading time: 0 Render date: 2026-11-11T11:37:00.521Z Has data issue: false hasContentIssue false

Designing a virtual patient dialogue system based on terminology-rich resources: Challenges and evaluation

Published online by Cambridge University Press:  15 July 2019

Leonardo Campillos-Llanos*
Affiliation:
LIMSI, CNRS, Université Paris-Saclay, Orsay, FranceSATT Paris-Saclay, Orsay, France
Catherine Thomas
Affiliation:
LIMSI, CNRS, Université Paris-Saclay, Orsay, FranceSATT Paris-Saclay, Orsay, France
Éric Bilinski
Affiliation:
LIMSI, CNRS, Université Paris-Saclay, Orsay, France
Pierre Zweigenbaum
Affiliation:
LIMSI, CNRS, Université Paris-Saclay, Orsay, France
Sophie Rosset
Affiliation:
LIMSI, CNRS, Université Paris-Saclay, Orsay, France
*
*Corresponding author. E-mails: campillos@limsi.fr; leonardo.campillos@gmail.com
Rights & Permissions [Opens in a new window]

Abstract

Virtual patient software allows health professionals to practise their skills by interacting with tools simulating clinical scenarios. A natural language dialogue system can provide natural interaction for medical history-taking. However, the large number of concepts and terms in the medical domain makes the creation of such a system a demanding task. We designed a dialogue system that stands out from current research by its ability to handle a wide variety of medical specialties and clinical cases. To address the task, we designed a patient record model, a knowledge model for the task and a termino-ontological model that hosts structured thesauri with linguistic, terminological and ontological knowledge. We used a frame- and rule-based approach and terminology-rich resources to handle the medical dialogue. This work focuses on the termino-ontological model, the challenges involved and how the system manages resources for the French language. We adopted a comprehensive approach to collect terms and ontological knowledge, and dictionaries of affixes, synonyms and derivational variants. Resources include domain lists containing over 161,000 terms, and dictionaries with over 959,000 word/concept entries. We assessed our approach by having 71 participants (39 medical doctors and 32 non-medical evaluators) interact with the system and use 35 cases from 18 specialities. We conducted a quantitative evaluation of all components by analysing interaction logs (11,834 turns). Natural language understanding achieved an F-measure of 95.8%. Dialogue management provided on average 74.3 (±9.5)% of correct answers. We performed a qualitative evaluation by collecting 171 five-point Likert scale questionnaires. All evaluated aspects obtained mean scores above the Likert mid-scale point. We analysed the vocabulary coverage with regard to unseen cases: the system covered 97.8% of their terms. Evaluations showed that the system achieved high vocabulary coverage on unseen cases and was assessed as relevant for the task.

Information

Type
Article
Copyright
© Cambridge University Press 2019
Figure 0

Figure 1.Sample dialogue (D: doctor; P: patient, simulated by the system) and relation to the patient record. Phenomena to be addressed are shown in bold: discourse phenomena, linguistic variation (blue circles) and termino-ontological variation (green boxes). The patient record structure is simplified due to space constraints. We show real replies of the current version of the French system, but we translated them to English.

Figure 1

Figure 2.Sample of dialogue with a VP avatar.

Figure 2

Figure 3.Patient record model.

Figure 3

Table 1.Sample clinical record: the format used is YAML

Figure 4

Figure 4.Dedicated interface to input data on the VP record.

Figure 5

Figure 5.Knowledge model for the dialogue task (sample). The upper part shows the relation between questions on the patient record, questions types and topics, and entity types. The lower part shows how system components instantiate this model. NLU: natural language understanding; NLG: natural language generation.

Figure 6

Figure 6.Linguistic and termino-ontological model at the core of system architecture.

Figure 7

Figure 7.Relation between entity types, concepts and terms. Linguistic knowledge processes affixes or morphological variants; ontological knowledge classifies terms into entity types; UMLS terms are indexed by CUIs.

Figure 8

Table 2.Types of resources used in each processing step for managing linguistic and terminological variation (and examples of each type), listed according to linguistic aspects (morphology and synonymy) and termino-ontological aspects (concepts and ontology relations)

Figure 9

Table 3.Correspondence between VP record sections, NLU labels and lists, and sources

Figure 10

Table 4.Resources for managing linguistic and terminological variation

Figure 11

Figure 8.Example of question-reply processing.

Figure 12

Table 5.NLU rules (actual code) for dialogue acts (greetings and acknowledging), questions on hours, and entity types (diseases and surgeries). Labels start with the _ character; & indicates a sub-expression that can be reused in different locations; | indicates alternation; ˄, start of string;

Figure 13

Table 6.Types of input questions

Figure 14

Table 7.Instructions available on the evaluation interface

Figure 15

Table 8.Data collected during the evaluation by medical doctors

Figure 16

Table 9.Evaluation schema for the NLU module (with examples)

Figure 17

Table 10.Evaluation metrics for the NLU evaluation

Figure 18

Table 11.Evaluation of the entity detection (NLU)

Figure 19

Figure 9.Dialogue manager evaluation.

Figure 20

Table 12.Dialogue manager evaluation (medical doctors)

Figure 21

Figure 10.Qualitative evaluation by non-medical users (left) and medical users (right).

Figure 22

Table 13.A selection of positive and negative user comments in the qualitative evaluation (translated from French)

Figure 23

Table 14.Sample case of the Epreuves Classantes Nationales (ECN, ‘National Classifying Examination’), and its translation

Figure 24

Figure 11.Breakdown of types of OOV words in ECN texts.

Figure 25

Figure 12.Qualitative analysis of term distribution in dialogues and VP records.

Figure 26

Table 15.Most and least frequent terms (translated from French) observed in dialogues with 28 different VPs for entity types of symptoms and diseases

Figure 27

Table 16.Most and least frequent tokens (translated from French) observed in the 28 analysed VP records (only a selection of the least frequent tokens is shown)