+ All Categories
Home > Documents > Mediating Between Hearer's and Speaker's Views in the ...

Mediating Between Hearer's and Speaker's Views in the ...

Date post: 04-Jan-2022
Category:
Upload: others
View: 0 times
Download: 0 times
Share this document with a friend
15
Pergamon Expert Systems With Applications, Vol. 8, No. 4, pp. 429-443, 1995 Copyright © 1995 Elsevier Science Ltd Printed in the USA. All rights reserved 0957-4174/95 $9.50 + .00 0957-4174(94)E0034-R Mediating Between Hearer's and Speaker's Views in the Generation of Adaptive Explanations FIORELLA DE ROSIS, FLORIANA GRASSO Dipartimento di Informatica, Universitg di Bari, Bari, Italy DIANNE C. BERRY, AND TONY GILLIE Department of Psychology, University of Reading, Reading, UK Abstract--In this article, we examine the case of a system that cooperates with a "direct" user to plan an activity that some "'indirect" user, not interacting with the system, should perform. The specific application we consider is the prescription of drugs. In this case, the direct user is the prescriber and the indirect user is the person who is responsible for performing the therapy. Relevant characteristics of the two users" are represented in two user models. Explanation strategies are represented in planning operators whose preconditions encode the cognitive state of the indirect user; this allows tailoring the message to the indirect user's characteristics. Expansion of optional subgoals and selection among candidate operators is made by applying decision criteria represented as metarules, that negotiate between direct and indirect users' views also taking into account the context where explanation is provided. After the message has been generated, the direct user may ask to add or remove some items, or change the message style. The system defends the indirect user's needs as far as possible by mentioning the rationale behind the generated message. If needed, the plan is repaired and the direct user model is revised accordingly, so that the system learns progressively to generate messages suited to the preferences of people with whom it interacts. 1. INTRODUCTION RECENT APPROACHES to text generation (Andre & Rist, 1992; Mittal & Paris, 1993) distinguish between mes- sages corresponding to different roles played by system and user (monologue vs. dialogue), having different purposes (explanation vs. critique), and using different communication means (linguistic vs. multimedia acts). Several aspects of the text vary according to these conditions: the discourse structure, the tone of interac- tion, and, consequently, the rhetorical techniques and the communication means used. The needto adapt the message to the intended hearer is also recognized as essential, to ensure that the message achieves its pur- Acknowledgments--The OPADE project is a cooperative venture. We are, therefore, indebted to our colleagues for fruitful discussions, especially concerning the application domain to which this study refers. Requests for reprints should be sent to Fiorella de Rosis, Diparti- mento di Informatica, Universit?t di Bari, Via Amendola 173, 70126 Bari, Italy. E-mail: [email protected] 429 pose. When the message is a dialogue, information collected during the interaction can help in understand- ing the hearer needs and in revising the message ac- cordingly. Thus, one can start with an incomplete and approximate model of the hearer, and use hearer feed- back to build a progressively more realistic image of his or her characteristics. The above experiences all relate to a situation where the system plays the role of the main speaker and the user is the target of the message, that is, the hearer. The user can then intervene in the dialogue by asking for more explanation or clarification, or by critiquing the system's statements. But, let us consider the case of a message that is generated by the system to be addressed to a person who does not interact with the system itself. Furthermore, let us suppose that the per- son who is responsible for delivering the message in- teracts with the system and is, therefore, able to control the message, to validate it. The two users' views on what the message should Contain and how it should be formulated will presumably differ. In generating the message, the system will, therefore, have to ensure that
Transcript
Page 1: Mediating Between Hearer's and Speaker's Views in the ...

Pergamon Expert Systems With Applications, Vol. 8, No. 4, pp. 429-443, 1995

Copyright © 1995 Elsevier Science Ltd Printed in the USA. All rights reserved

0957-4174/95 $9.50 + .00

0957-4174(94)E0034-R

Mediating Between Hearer's and Speaker's Views in the Generation of Adaptive Explanations

FIORELLA DE ROSIS, FLORIANA GRASSO

Dipartimento di Informatica, Universitg di Bari, Bari, Italy

DIANNE C. BERRY, AND TONY GILLIE

Department of Psychology, University of Reading, Reading, UK

Abstract--In this article, we examine the case of a system that cooperates with a "direct" user to plan an activity that some "'indirect" user, not interacting with the system, should perform. The specific application we consider is the prescription of drugs. In this case, the direct user is the prescriber and the indirect user is the person who is responsible for performing the therapy. Relevant characteristics of the two users" are represented in two user models. Explanation strategies are represented in planning operators whose preconditions encode the cognitive state of the indirect user; this allows tailoring the message to the indirect user's characteristics. Expansion of optional subgoals and selection among candidate operators is made by applying decision criteria represented as metarules, that negotiate between direct and indirect users' views also taking into account the context where explanation is provided. After the message has been generated, the direct user may ask to add or remove some items, or change the message style. The system defends the indirect user's needs as far as possible by mentioning the rationale behind the generated message. I f needed, the plan is repaired and the direct user model is revised accordingly, so that the system learns progressively to generate messages suited to the preferences of people with whom it interacts.

1. I N T R O D U C T I O N

RECENT APPROACHES to text generation (Andre & Rist, 1992; Mittal & Paris, 1993) distinguish between mes- sages corresponding to different roles played by system and user (monologue vs. dialogue), having different purposes (explanation vs. critique), and using different communication means (linguistic vs. multimedia acts). Several aspects of the text vary according to these conditions: the discourse structure, the tone of interac- tion, and, consequently, the rhetorical techniques and the communication means used. The need to adapt the message to the intended hearer is also recognized as essential, to ensure that the message achieves its pur-

Acknowledgment s - -The OPADE project is a cooperative venture. We are, therefore, indebted to our colleagues for fruitful discussions, especially concerning the application domain to which this study refers. Requests for reprints should be sent to Fiorella de Rosis, Diparti- mento di Informatica, Universit?t di Bari, Via Amendola 173, 70126 Bari, Italy. E-mail: [email protected]

429

pose. When the message is a dialogue, information collected during the interaction can help in understand- ing the hearer needs and in revising the message ac- cordingly. Thus, one can start with an incomplete and approximate model of the hearer, and use hearer feed- back to build a progressively more realistic image of his or her characteristics.

The above experiences all relate to a situation where the system plays the role of the main speaker and the user is the target of the message, that is, the hearer. The user can then intervene in the dialogue by asking for more explanation or clarification, or by critiquing the system's statements. But, let us consider the case of a message that is generated by the system to be addressed to a person who does not interact with the system itself. Furthermore, let us suppose that the per- son who is responsible for delivering the message in- teracts with the system and is, therefore, able to control the message, to validate it. The two users' views on what the message should Contain and how it should be formulated will presumably differ. In generating the message, the system will, therefore, have to ensure that

Page 2: Mediating Between Hearer's and Speaker's Views in the ...

430 F. de Rosis et al.

the text produced is acceptable to both of them: to do this, it will have to know the main characteristics of both users and will have to adapt the text accordingly, by finding the best compromise between their views.

We have studied this problem in the context of a knowledge based system on drug prescription (Optimi- zation of drug Prescription using ADvancEd informa- tics [OPADE]I). The user who interacts with this sys- tem is the drug prescriber (usually, a physician), whereas the person to whom the message is addressed is someone who is responsible for performing the ther- apy. This could be the patient, a nurse, a prescriber's colleague, or the general practitioner. The message consists of a set of instructions concerning the drug therapy, and its role is to provide the hearer with infor- mation needed to perform this therapy correctly. To be really useful to the physician, the text has to be generated by minimizing the physician intervention. It is thus, essentially, an argumentative discourse, and a monologue. However, the physician is allowed to ob- ject to the computer-generated text, and the system will try to defend its choice by entering into negotiation with the physician, and will revise the text if needed. As compared with previous studies, then, the hearer of the message is what we call the indirect user (be- cause he/she does not interact with the system), whereas the speaker is the physician (the direct user) and the system plays the role of a scrivener who is aware of both users' needs.

2. T H E C O N T E X T

2.1 The Application Domain

The objective of OPADE is to improve the quality of drug treatment by supporting the physician in the prescription process and by increasing compliance with the therapy. To do this, OPADE makes available to the prescribing physician detailed, up-to-date infor- mation on all drugs within the European Community; it also suggests alternative, cheaper generics if they exist, and checks that some "principles of therapeu- t ics" are not violated. As OPADE plays the role of an expert critiquing system, the first and the final deci- sions are always left to the prescriber. To increase compliance, the health personnel who are responsible for patient care during the hospital stay (nurses or pre- scriber's colleagues) have to know the therapy and how to perform it. Similarly, when the patient is dis-

i The OPADE project is partially funded by the Advanced In- formatics in Medicine (AIM) initiative of the EEC under contract number A2027. It is a 3-year project, which started in January 1992. The OPADE consortium is composed of the following partners: BIM (B), Bari University (!), City University of London and Reading University (UK), ECLIMED and SETEC Informatique (F), and SWEDIS (SW).

charged, the general practitioner and the patient or his/ her family have to know all the information that is relevant for a correct application of the therapy. Other researchers have studied the problem of improving in- formation exchange between physicians and other actors in the health care process, in particular patients (Buchanan, Moore, Forsythe, Banks, & Ohlsson, 1993). They have proposed that patients should be given the possibility of interacting with the computer, in order to obtain explanations and to ask specific ques- tions, when these are not sufficiently clear or complete. We are convinced that this solution is not immediately practicable in most European contexts. Given that the objective of the OPADE project is to produce and evaluate a system prototype before 1995, we have de- cided to generate a written explanation that will be attached to the prescription, tailored to the user to whom it is addressed. However, this should not neces- sarily be considered to be a negative aspect of the system. Written explanations also have the advantage that they can be reread, for example when the patient returns home.

2.2. The Knowledge Sources

The knowledge base on drugs is the core of OPADE. It is made up of two components (OPADE, 1993): • A European object oriented database on drugs,

which is created at an international level from ex- isting drug databanks, and is updated with national and local information. Each drug in the database is described by several attributes (commercial name, therapeutic class, expected effect, side effects, con- traindications, etc . . . . ).

• A set of principles o f therapeutics. These rules are the core of the expert critiquing system. An example is, "avoid prescribing two or more drags belonging to the neuroleptics therapeutic class." Terms used during the prescription process and their

links are represented in a multilingual thesaurus. In addition to this general knowledge, information about the specific patient and the specific drug treatment are stored in two case-specific knowledge sources: • A patient model, which includes identification data

and the main environmental, physiological, and pathological variables that might influence the drug prescription (socioeconomic stares, main diseases and symptoms, etc . . . . ). These data are derived from the database of medical records to which OPADE is linked.

• A prescription record, which includes a list of drugs prescribed, with the directions for administration (dosage, route of administration, intake modalities, etc . . . . ).

Page 3: Mediating Between Hearer's and Speaker's Views in the ...

Generation of Adaptive Explanations 431

3. EXPERIMENTAL BASIS FOR TEXT G E N E R A T I O N

Two studies guided us in understanding what direct and indirect users would like to see in an explanation attached to a prescription for medication. The first study was an analysis of the information needs of indi- rect users (patients and nurses). The second study ex- amined how direct users would explain to indirect us- ers a prescription for medication for specifiC clinical cases. These studies are described in detail elsewhere (Berry, Gillie, & Banbury, 1995; OPADE, 1993). We will report here only the main issues that are relevant for the generation of explanations to patients and nurses.

3.1. Study One: Analysis of Information Needs of Indirect Users

3.1.1. What do pat ients want to know. Berry, Gillie and Banbury (1995) report three studies investigating what patients would like to know about the medication they are prescribed. In their first study, people were presented with a hypothetical scenario about a visit to the doctor and were asked to write down the questions they would like to ask the doctor about the prescribed medication. Twenty question categories were identified and ranked in order of frequency of occurrence. Table 1 shows the top 12 question categories in order of frequency of occurrence.

3.1.2. What do nurses want to know. A similar study was carried out with nurses (OPADE, 1993). In this case, nurses were presented with one of four hypotheti- cal scenarios describing a patient who had been admit- ted onto their ward and had been prescribed a drug with which they were not familiar. For example: " A n elderly gentleman has been admitted to your ward with abdominal pain. He has a past history of heart failure and diabetes, and is taking regular medication for these. He may need surgical intervention at some stage. He has been prescribed a drug for the abdominal pain that you are not familiar with." The nurses were asked to write down the questions they would like to ask the doctor about the prescribed medication, as well as what other actions they would take. Again, 12 question cate- gories were identified and ranked in order of frequency of occurrence. Table 1 shows the 12 question catego- ries in order of frequency of occurrence.

The frequency with which particular questions were asked gave us a measure of the importance attached to the questions by the two categories of indirect users. We called these "ratings of importance to indirect us- ers" (RII). As would be expected from Table 1, there were some differences in the ratings for the two classes of indirect user. While both patients and nurses asked questions about side effects and information about the

TABLE 1 Categories Corresponding to the Most Frequently Asked

Questions by Patients and Nurses

Patients (excluding questions about diagnosis) 1. Side effects of medication 2. What does the medication do 3. Any lifestyle changes 4. Details about taking the medication 5. What it is--what is the active ingredient 6. Interactions with previously prescribed medication 7, What to do if symptoms change 8, Is it known to be effective 9, Any alternatives

10, Probability medication will be effective 11. Does the medication treat symptoms of the

underlying cause 12. What if I forget to take some or take too much. Nurses

1, Side effects 2, Information about drug 3. Drug administration 4, Rationale for prescription 5, Observations/special actions to be taken 6. Specific interactions between drug and patient

conditions 7. Drug interactions 8. Contraindications 9. Likely effects of drug

10. Administrative issues 11. Legal issues 12. Future actions/follow-up

medication (what it does and how it works), the nurses were very concerned with details about the drug ad- ministration and which observations to make or associ- ated actions to take. Some items requested by the pa- tients were completely absent from the nurses list; for example, questions about lifestyle changes, alterna- tives to the medication, and risks of not taking the medication.

3.2. Study Two: How Doctors Explain Their Prescription; Analysis of Transcripts

The purpose of this second study (also reported in OPADE, 1993) was to investigate how direct users (physicians) explain their prescriptions to certain classes of indirect user (colleague, patient, nurse). A preliminary study was carried out in Italy with pediatri- cians. A follow-up study was then conducted in the UK with cardiologists and other physicians. In these studies, doctors were presented with a hypothetical sce- nario about a patient and were asked to make a pre- scription and then provide an explanation of this pre- scription aimed at different classes of indirect user. Four scenarios were used in the Italian study and a different four in the UK study. An example of one of the UK scenarios is as follows:

Page 4: Mediating Between Hearer's and Speaker's Views in the ...

432 F. de Rosis et al.

" A 62-year-old man complains of central chest pain, radiat- ing to the left shoulder and arm. The pain occurs on climbing steep slopes or more than two flights of stairs. He does not have to do either of these frequently, and can walk at least three miles on the flat without difficulty, ff the pain does occur, it will disappear after a couple of minutes rest. He is otherwise very well, and is not unduly worried about his symptoms. Tests confirm coronary disease but no other spe- cific clinical abnormalities. The patient has been diagnosed as suffering from exercise induced angina in a mild form."

A total o f 69 explanat ions (in the two studies) were col lected f rom 15 doctors overall . The explanat ions were tape recorded and subsequent ly transcribed.

A n advantage of using these hypothet ica l scenarios is that it is poss ib le to exert control over the data gather ing process. The same scenario can be presented to more than one doctor, and each doctor can be asked to provide explanat ions for specific types o f indirect user. Of course, one can argue that this is a rather unnatural situation. However , most o f the doctors com- mented that they found it a fair ly natural procedure. This was also evident in their transcripts where it can be seen that some doctors added in addi t ional informa- tion about the hypothet ica l patients. For example , one doctor started his explanat ion to a nurse in the fo l low- ing way: " I wonder i f you could take care o f this p leasant 62-year-o ld gen t l eman . "

The explanat ions p rov ided by the doctors var ied according to several factors: the doctor, the expected hearer, and the cl inical context. W e examined each text in terms of communica t ive act ions and of rhetorical structure (Grosz & Sidner, 1986; Mann, Matthiesen, & Thompson, 19892).

Al though there was a constant plot of communica- t ive act ions used in the various texts, and some recur- rent rhetor ical techniques, there were a lot of differ- ences be tween the texts. These were presumably due to differences in the assumptions that each doctor made about the hea t e r ' s knowledge , goals, and role in the drug t reatment process. A synthetic descr ipt ion of dif- ferences in the frequencies with which par t icular infor- mat ion i tems were ment ioned in explanat ions ad- dressed to pat ients and nurses can be found in Table

2 Rhetorical smacture theory provides a framework for describing the network of relations among successively larger parts of the text (nucleus and satellite). Various types of relations have been pro- posed. For example: in the "solutionhood" relation, the satellite (S) presents a problem; the nucleus (N) a (partial) solution to the prob- lem. The expected effect is that the hearer recognizes the situation presented in N as a partial solution to the problem presented in S. In the "justification" relation, N presents a decision of which the speaker is an actor; S is the reason why the decision was taken; comprehending S, thus, increases the hearer's acceptance of the decision described in N. For the definition of other rhetorical rela- tions employed in this article refer to Mann, Matthiesen, and Thomp- son (1989).

2. Explanat ions to patients were, in general , more de- tailed, especia l ly in relat ion to drug administrat ion. Nurses were in formed about the pa t ien t ' s general con- dit ion and were instructed more careful ly about moni- tor ing/observat ion actions.

Let us now examine two examples in detail . F igures 1 and 2 show explanat ions (with their pat tern of action goals) relat ing to the case descr ibed in the above sce- nario, which are addressed to a pat ient and to a nurse, respect ively. F igures 3 and 4 show the rhetorical struc- ture of the same texts o f figures 1 and 2, respect ively. In the formal iza t ion o f communica t ive act ions in Fig- ures 1 and 2, the argument " ind i rec t u s e r " is omitted, as all acts (to explain, to describe, and so on) are addressed to the indirect user.

There are l inks be tween the hierarchies of actions and o f rhetorical relations. For example , in the explana- t ion to the pat ient (Figure 1), the action IO: (Explain the drug prescript ion) is decomposed in two main ac- tions I1, 12-13: (Descr ibe the health state o f the patient) and (Expose the t reatment plan). I1 and 13 refer, re- spect ively, to discourse segments DS1 and DS3, the first one relat ing to utterances 1 to 3C, and the second one to utterances f rom 4 on. These two text spans are l inked by a rhetorical relat ion o f solut ionhood (Figure 3), whose satell i te is DS1 and whose nucleus is DS3. The l inkage be tween the two text spans is marked by the cue phrase 3DE which, at the same time, synthe- sizes the t reatment plan: " b u t I do think we should treat it, and I ' d l ike to give you three separate drugs for th i s . " In other cases, this re la t ionship is implici t . For example , in the explanat ion to the nurse (Figure 4), DS 1 is the satell i te and DS2 is the nucleus o f the solut ionhood; however , no l inguist ic marker denotes this relation.

The message is ta i lored to the indirect user and to the cl inical context by varying both discourse features. First, by changing the pat tern of communica t ive acts, one detai ls different ly the various aspects o f the expla- nation. Second, by changing the rhetorical structure, one achieves t h e same intention by using different ar- guments. Let us look again at examples 1 and 2.

3.2.1. C o m m u n i c a t i v e acts . T h e first part of the expla- nation to the patient (DS1 in Figure 1) is aimed at describ- ing his health state (I1) by describing both his clinical situation (14, DS4) and the presumed severity of this situation (I6, DS6). To convince the hearer of the diagno- sis, just a generic sentence ( "you r tests have come back" ) is used; in other cases, the list of symptoms and/ or tests that support the diagnosis is provided. The disease is defined by illustrating its pathophysiological character- istics (I5, DS5). When explaining the s a m e case to the nurse (Figure 4), the name of the disease with its severity is considered as sufficient. The doctor does not consider it necessary to persuade the nurse about the diagnosis or to give a definition of the disease. Probably, he/she is

Page 5: Mediating Between Hearer's and Speaker's Views in the ...

Generation of Adaptive Explanations 433

TABLE 2 Information Items in the Doctors' Explanations

In fo rmat ion I tems To Pat ien ts To Nurses

Patient status age - - 33 l iv ing cond i t i ons - - 17 d iagnos is :

n a m e 72 83 d i sease c lass 67 8 def in i t ion ( t r igger ing events , cause, effect) 28 - - re la ted s y m p t o m s 22 17 re la ted tes t resul ts - - 25 e t i o l ogy 6 - - se r iousness 28 17 p rognos i s 6 - -

Treatment overa l l p u r p o s e - - 8 drug:

n a m e 50 95 the rapeu t i c c lass or ac t i ve ingred ien t 25 18 p u r p o s e 87 9 l ikely e f fects 25 - - t ime for e f fects 25 - - deg ree of e f f i cacy 21 - -

admin is t ra t i on moda l i t ies : d o s a g e 62 50 rou te of admin is t ra t i on 29 - - t ime of admin is t ra t i on 33 - - s tar t ing even t o f t r e a t m e n t 33 - - quan t i t y o f in takes 83 - - in take moda l i t i es 83 18

t r e a t m e n t dura t ion 12 - - s ide ef fects:

t y p e 46 9 se r iousness 21 - - ac t i ons if p resen t 4 5

con t ra ind i ca t i ons 12 23 Follow-up

Observa t i ons / spec ia l ac t i ons to be t aken - - 50 w h e n to s top t r e a t m e n t 4 - - w h e n to inc rease d o s a g e - - 5 tes ts - - 8 fu ture d e v e l o p m e n t s of t r e a t m e n t - - 8

convinced that the nurse already knows the concept and has confidence in his/her diagnostic decision. A more limited use of the "persuasion" communicative goal is made in explanations addressed to the nurse than in ex- planations to the patient. For example, the segment 4E in Figure 3: "this has been shown to reduce the chance of you having a heart attack with your angina," which is aimed at persuading the patient about the desirable consequences of taking the first drug by describing its beneficial effects, has no correspondent in Figure 4. In- structions about administration of simple drugs, which are given to the patient (utterances 4CD) are also omitted from explanations to the nurse, as the doctor presumes that the nurse already knows them. However, action goals in the nurse explanations are not simply a subset of those in the patient explanations: some of them such as exposing revisions to be made in the therapy (I6), or controls (17) are introduced only in the nurse message.

Drawing this together, we can say that explanations given by doctors have an overall structure that can be represented by a hierarchy of communicative actions. Each action goal in the hierarchy can be assigned a rating of importance-- to the doctor (RID): some goals are es- sential, and, therefore, are introduced in all explanations; others are optional, and are introduced only by some doctors and in some cases. For example, the information content of explanations addressed to patients is different from the content of those addressed to nurses. It varies, as well, according to the doctors' characteristics, such as their country, the institution where they work, and their degree or type of experience.

3.2.2. Rhetorical techniques. Typical argumentation techniques are used intensively to convince the pa- tient about the diagnosis or to persuade him/her to perform the therapy. In Figure 3, evidence supports

Page 6: Mediating Between Hearer's and Speaker's Views in the ...

434 F. de Rosis et aL

BS0 5s

h

DS2

~s3

DS4

DS5

5s7 DS9 4A

B k

-DS10 C -- D DS11

D S 1 2 E

F

DS13 5A B C

1A Well, Mr Smith, your tests have come back B and they confirm that you have angina.

2A This is a condition where the heart muscle, B when you exercise, C can't get enough oxygen D which is just like cramp in your leg, E and when you rest and the hearth slows down and relaxes, F then it gets the oxygen it needs G and the pain goes away.

3A This condition is very mild, B as you ere able to do a lot of exercise C before the pain comes on,

D but I do think we should treat it, E and I'd like to give you three separate drugs for this.

The first drug is aspirin, just ordinary aspirin

which I want you to take four times a day by mouth

and this has been shown to reduce the chance of you having a heart attack

with your angina.

The only possible side effect this may have is to upset your stomach a little bit, and I must check that you don't have an ulcer

D before I prescribe it to you.

11 0 Explain (Prescription (drug, patient )) 11 Describe (HealthState (patient))

14 Describe (ClinicalState (patient)) I 5 Define (ClinicaiState (patient)) 16 Describe (Severity (ClinicaiState (patient)))

12 Expose (TreatmentPlan (patient), general) 13 Expose (TreatmentPlan (patient), details)

17 Expose (Therapy (Alldrugs, patient ), present ) 18 Argue-about(Administer (drug1, patient))

19 Request(Administer (drug1, patient)) 110 Enable (Administer (drug1, patient )) I1 1 Persuade (Administer (drugl, patient))

I1 2 Describe (DesirableConsequents(Administer (drug1, patient))) 11 3 Exclude (UndesirableConsequents(Administer (drugl, patient )))

FIGURE 1. Exp lana t i on to a pa t i en t o f a c a s e o f ang ina in a 6 3 - y e a r - o l d man, given by an English physician. The upper pa r t o f t he f i gu re shows the d iv i s ion o f t he t e x t in to sepa ra te , numbered utterances ( f rom 1A to 5D) and the w a y in which utterances are g r o u p e d in to discourse segments (from DS0 to DS13). The l o w e r pa r t shows communicative acts corresponding to each

discourse segment.

the diagnosis (1A-1B) or the statement of the severity of the disease (3A-3BC); a concession supports the need to treat the disease in spite of its mildness (3AC- 3DE). To ensure that the patient really understands the intended therapy, a restatement is used (4A-4B) and, in other cases, an elaborate set-member is used to define the drug. The nurse explanation (Figure 4) is more informative and less argumentative: it does not use evidence in DS 1. The message states briefly the immediate actions, and also what has to be done if a new situation occurs; the description of this situa- tion is linked to the action by a relation of condition. Finally, a justification relation is used to exclude un- desirable consequents of prescribed drugs (necessary

to persuade the indirect user to administer or to take the drug). However, this is done in different ways for the two classes of indirect user. The patient is in- formed about controls that will be made (e.g., check- ing that the patient does not have an ulcer before prescribing medication known to upset the stomach). These controls are the nucleus of the relation, whose satellite is the description of possible undesirable con- sequents (5AB-5CD in Figure 3). In the nurse expla- nation, the description of undesirable consequents is omitted. The doctor simply assumes that the appro- priate controls have been made, and mentions them (3AB, Figure 4) to justify the recommended therapy (utterance 2).

Page 7: Mediating Between Hearer's and Speaker's Views in the ...

Generation of Adaptive Explanations 435

~ S 0 DS1

I-DS3 ~S4

%S2 1355

~ S 6

~ $8

VDS9 ~DS10

FDS11 ~ )$12

"DS7

1A Mr Smith has got an angina B which appears to be mild.

2A He is written up for three drugs, B aspirin, C atenolol and D nitrolingual spray.

3A He doesn't have problems with asthma B or peptic ulcer disease

4 I just prescribed these drugs as written.

5A If he has chest pain B then I would let him have two puffs C of nitrolingual spray

6A and, if it doesn't go away B I would arrange an ECG for him.

11 0 Explain (Prescription (drug, patient )) 11 Describe (HealthState (patient))

13 Describe (ClinicalState (patient)) 14 Describe (Evolution ((ClinicalState (patient)))

12 Expose (TreatmentPlan (patient), details) 15 Expose (Therapy (Alldrugs, patient), present )

18 Argue-about(Administer (drug1, patient)) 19 Argue-about(Administer (drug2, patient)) I1 0 Argue-about(Administer (drug3, patient))

11 1 Persuade (Administer (drug2, patient)) 113 Exclude (UndesirableConsequents(Administer (drug2, patient)))

1 1 2 Persuade (Administer (drug1, patient)) 114 Exclude (UndesirableConsequents(Administer (drug1, patient)))

1 6 Expose (Therapy (AIIdrugs, patient), revision) 17 Expose (Controls (patient), future)

FIGURE 2. Explanation to a nurse of the same case of angina, given by the same physician as in Figure 1.

3.3. C o n c l u s i o n s

The structure o f a " g e n e r i c " explanat ion that covers a l ternat ive ways o f i l lustrat ing a drug prescr ipt ion can

be represented by a hierarchical structure of communi - cat ive actions. To each action are at tached two ratings o f impor tance: an impor tance to the direct user (RID) and an impor tance to the indirect user (RII). RIDs vary

solutionhood

1-3C I

I elab. object-attr. I

evidence ] elab.object-attr.

,P-~_L_f-~ 1A 1B , ~

sequence / " ~

I I volitional cause ~ I

" f ' - " ~ ~ I Lrcurns~Bce [ ~ v°liti°nal I

otatemeot

°,rou

2E 3 =

J 1-10

I 3D-5

concession I elab.general:specitic

..... 4-5 el a~object-attr.___~

I evidence I 4 -J - '= -" I r~ans u ~

~ _L_f-~ "1 ~ ~= 31:) 315 I ~ justification

____L,-~blernent ~__. ~ " -..,.~

• ' ~ / c D 15 ,~ I restatement I

° .

A B

FIGURE 3. Rhetorical structure of the text shown in Figure 1.

Page 8: Mediating Between Hearer's and Speaker's Views in the ...

436 F. de Rosis et aL

solutionhood

' I e l ~ c t - a t t r .

1A B I ] ~ ~ . . . 2 " 4 restatement

A B

condition

enabl

B C

1-6

2-6

A B

FIGURE 4. Rhetorical structure of the text shown in Figure 2.

according to the direct user and to the category of indirect user to whom the message is addressed (nurse or patient). Indirect users' knowledge of concepts is also relevant to decide what to introduce in the expla- nation. The three parameters are correlated but not totally interdependent. Indirect users might ignore a concept, and have no interest in being informed about it. Direct users might want to avoid talking about a subject even if they assume that the indirect user does not know it, and so on. Finally, the content of the explanation is also affected by the clinical context. Detailed instructions about drug administration are usually irrelevant in the case of a simple therapy such as aspirin.

If the information content of explanations is a func- tion of the structure of action goals, their coherence is ensured by the structure of rhetorical relations: in text generation, rhetorical relations allow the introduction of linguistic markers that make clearer the relative role of two or more spans. Linguistic markers are especially important when these roles are not evident, and when understanding these roles is crucial to understanding the message (Ingham, 1993). Hence, they are necessary for some groups of communicative actions, and for some indirect users. In addition, attaching different rhetorical relations to the same action allows the style of interaction to be adapted. The two different uses of a justification to exclude undesirable consequents of prescribed drugs, in Figures 3 and 4, is an example of this adaptation. The same objective can be achieved, as well, by using a concession whose satellite is the description of undesirable consequents and whose nu- cleus is the description of the therapy. In this case, one can add to the text the declaration that negative results of controls prove that undesirable consequents do not apply in the specific case; this text span can be linked to the description of the therapy as in the example of the nurse's message.

4. THE E X P L A N A T I O N M O D U L E

4.1. Functions As we anticipated in the Introduction, our explanation module can be seen as a scrivener, which helps the prescriber in generating the explanation. Thus, after having completed the prescription, the doctor asks OPADE to generate the explanation, and specifies the indirect user to whom it has to be addressed. OPADE knows what the doctor would like to see in the explana- tion (or presumes to know it). However, it is not totally submissive to the doctor's wishes: it also tries to re- spect the indirect user's wishes as far as possible. It then generates an explanation that mediates between the two users' views: a message that is convincing to the indirect user (in order to increase probability of compliance) and that is, at the same time, acceptable to the direct user who has to deliver it.

The generated message is displayed: the direct user can accept it, or he/she can ask to modify specific parts of it (to delete a text span, to add more detail, or to modify its style). The request is seen by the generator as a plan failure, and a diagnosis of the reasons for failure is made. The failure can be due to an error in the system's image of the direct user; for example, the doctor was presumed to consider an information item important but does not want it included in the explana- tion. Or, it can be due to differences between direct and indirect users' views; for example, the doctor would not have mentioned the side effects of a drug when talking to the nurse, but the system introduced them in explanations because nurses want to know them. Finally, it can be due to an error in the explana- tion strategy; for example, the doctor may consider it wrong to instruct patients with a low educational level about administration of simple drugs by just men- tioning the dosage. Taking corrective action requires different measures. In the first case, OPADE will cor-

Page 9: Mediating Between Hearer's and Speaker's Views in the ...

Generation of Adaptive Explanations 437

Prescription I Drug KB Thesaurus

DOMAIN KNOWLEDGE BASE

I M°del I

I plan operators ]

HIERARCHICAL Plan Failure

PLANNER Diagnosis and

Repair

Direct User I I I M°del I

Indirect User[ Model I

& Plan ~ Re uest of amendment / I

Library of I ATN I I ~ENERAT°R ~ ~ L J ~ ~ ' ~ . )

FIGURE 5. Architecture of OPADE's explanation generator.

rect its image of the direct user, and will revise the message accordingly. In the second one, it will try to justify the reasons why the discussed text span was introduced in the explanation, by mentioning the com- municative action that it was aimed at achieving and the presumed information needs and knowledge of the indirect user. If needed, it will then negotiate, with the direct user, a new version of the message. In the third case, OPADE will recognize its error. If the error is due to absence of information in the Domain KB, the doctor will be required to introduce the missing part in the text; otherwise, the strategy will be revised.

4.2. Architecture

Figure 5 shows the main components of OPADE's explanation module. The text organization is estab- lished by a hierarchical expansion planner, according to strategies represented in a library of plan operators. The surface generation of the text is made by activating a list of ATNs corresponding to the generated plan and by filling up their parameters with values from the Domain KB (Miller & Rennels, 1988). Planning and surface generation activities are guided by the descrip- tion of direct and indirect users' characteristics, repre- sented in two separate models. In case of plan failure, an ad hoc module is charged to diagnose and repair the failure. The repair procedure requires initiating a dialogue between the system and the direct user, to negotiate changes to be made. The dialogue may end up with a new planning--generation cycle and, possi- bly, with a revision of the direct user model and of the planning strategy. In this way, OPADE progressively learns to generate messages suited to the preferences of people with whom it interacts.

4.3. Planning Operators

Our planning operators take hints from those employed in EES (Moore and Paris, 1992) and in TEXPLAN (Maybury, 1992, 1993). They have the following slots) * Constraints encode conditions on the Domain KB. * Intentional constraints encode conditions on the

system beliefs about the mental state of the indirect user (IU). Both categories of constraints have to be true for the operator to be applied, and cannot be affected by the planning agent.

• Preconditions and Effect indicate system beliefs about the mental state of IU before and after the communicative action formalized by the operator. If a precondition is not verified, another operator can be invoked to make it true. Mental states are repre- sented by assertions concerning the IU's knowledge of specific subjects (KNOW-ABOUT (IU, subject)), or competence or intention to perform an action (KNOW-HOW (IU, action)), (WANT-TO-DO (IU, action)). The second argument of these predicates may correspond to a constant, a variable or a func- tional expression. During the planning, values of variables are instantiated by using pattern-matching with data about the specific prescription that has to be explained.

3 In all formulae mentioned in this paper, binary relation con- stants denoting direct or indirect users' characteristics are repre- sented with capitals. The same notation is used for constants. Vari- ables appear in italics. Relational or functional predicates on the domain begin with capital letters, as well as predicates denoting communicative actions, rhetorical relations, or speech acts.

Page 10: Mediating Between Hearer's and Speaker's Views in the ...

438 F. de Rosis et al.

• Header and Decomposition indicate, respectively, the communicative action formalized by the operator and the way that it can be expanded into one or more subgoals. A subgoal can be "optional." This means that, although it is useful from the communi- cation point of view, its elimination does not entail loosing coherence in the text. As the main purpose of the explanation is to encourage the IU to perform the drug therapy and, subordinately, to support re- lated conclusions, typical argumentation strategies of Reques t - -Enable- -Persuade and of Descr ibe-- Persuade are adopted (Maybury, 1992, 1993; Moore & Paris, 1992). The Decomposition slot may contain a primitive action of the communication pro- cess, that is an illocutionary speech act such as As- sert (proposition) or Direct (action). An illocutionary act can be transformed into different surface speech acts. For example, a Direct speech act can be realized by a Suggest, an Ask, a Command and so on. Each of them is appropriate for some direct user and in some circumstance. We found, in our studies, that English doctors tend to employ an Ask when ad- dressing instructions to a nurse, whereas Italian doc- tors tend to use a Command in the same context. This possibility of choice is represented, in our plan library, by several operators having the same header (an illocutionary speech act) and different decompo- sitions (surface speech acts).

• Rhetorical Relation indicates the name of the rela- tionship between elements in the Decomposition, which are marked as Nucleus (N) or Satellite (S).

4.4. Double Modell ing

4.4.1. Ind i rec t user model . Assertions about the pre- sumed mental state of the direct user are encapsulated in a stereotype. In order to reduce information to be stored in this model, elements of the Thesaurus are categorized according to their complexity. Indirect us- ers' knowledge about these categories of entities and their attributes, and intention to perform related actions are stored in the stereotype. In addition to knowledge and intentions, the Indirect User Model includes inter- est about subjects that are represented by WANT-TO- KNOW predicates and correspond to the ratings of importance (RIIs) defined in 3.1. RIIs are coded in three classes: H = high, M = medium, and L = low. Figure 6 shows examples of assertions in an IU model.

4.4.2. D irec t user model . OPADE has a model of the direct user that it uses to adapt other aspects of interac- tion, like preferences about physical features of the interface, rights of access to specific functions and so on. This model is activated by addressing a few "trig- ger" questions to the user at the beginning of the inter- action. We added a set of assertions to this model to indicate the propensity to talk about specific subjects,

when the message is addressed to each category of indirect user. These characteristics are represented by WANT-TO-SAY predicates, and correspond to the rat- ings of importance (RIDs) defined in 3.2. The follow- ing assertion in the direct user's (DU's) model of Fig- ure 6:

WANT-TO-SAY (DU, Expected Effects (DrugCategoryl), NURSE, L) states that this direct user does not give much importance to mentioning expected effects of drugs in the category 1 when giving explanations to nurses. Finally, pref- erences about styles are represented as assertions on the PREFER predicate. For example, PREFER (DU, direct, NURSE, COMMAND) states that this direct user prefers using a "command" speech act when talking to a nurse.

4.5. Planning as a Mediation Between Different Viewpoints

The planning process is initiated by posting a top com- municative goal (Explain the prescription of a medica- tion for a given patient) that corresponds to the header of the top operator. Goal refinement is made by match- ing header-decomposition fields. As we mentioned in the previous paragraph, we make the hypothesis that the factors that influence adaptation are: (a) knowl- edge, intentions and interests of IUs and (b) propensity and preferences of DUs. Some of these features (knowledge and intentions of the IU) are mentioned in the operator's preconditions and intentional con- straints, and thus guide selection of the operator to be applied. If a precondition is not verified, another opera- tor is activated to achieve this effect, by pattern match- ing on precondition--effect fields. If no such operator exists or a domain or intentional constraint is not veri- fied, the operator fails. The operator also fails when all its optional subgoals fail.

The other features, IU's interests and DU's propen- sity and preferences, determine selection of the "best way" to inform or to convince the IU about something, and, therefore, of the discourse strategy to apply. If direct and indirect users' views are different, this strat- egy is the result of a mediation, which attributes differ- ent weights to these different interests, preferences, propensities, according to general considerations about the explanation purpose and the context where expla- nation is provided. Some examples of strategy are as follows: S1. "An indirect user's moderate interest for a subject

has to be satisfied even if the direct user is not particularly inclined to talk about the subject, un- less this makes the explanation too long;"

$2. " I f the direct user tends to prefer command-type direct speech acts and the indirect user has not much health care experience, then this speech act has to be used."

Page 11: Mediating Between Hearer's and Speaker's Views in the ...

Generation of Adaptive Explanations 439

Plennino Operator

Header: Persuade (Administer (x, patient))

Constraints: Drug(x ) and Prescribed (x, patient))

Intentional eonstr,: ~WANT-TO-DO (IU, Administer (x, patient ))

Preconditions; KNOW (IU, Prescribed (x, patient))

Effects: WANT-TO-DO(IU, Administer (x, pat ient) )

Decomposition: Describe(DesirableConsequents (Administer ()(,patient))) N opt

Exclude(UndesirableConsequents (Administer (x, patient))) S opt

Rhet.Reletion: Concession

Indirect User Model usertype: PATIENT

knowledoe KNOW-ABOUT

(IU, subject1 subject

drua category1 ExpectedEffect N HowltWorks N LevelOfEfficacy N RisksOfNotTaking N

interest WANT-TOKNOW

(IU,~bjec~

M M M L

knowledqe KNOW-HOW (IU,action)

action Administer(drug,patient) N

intention WANT-TO-DO (IU,action)

N

Planninq Operator

Header: Describe(DesirableCcnsequents (Administer ()(,patient)))

Constraints: Drug(x ) and Prescribed (x, patient)

Intentional constr.: ~ KNOW-ABOUT (IU, (DesirableConsequents(Administer (x, patient ))))

Preconditions: KNOW-ABOUT (IU,x)

Effects: KNOW-ABOUT(IU, (DesirableConsequents(Administer (x, patient 1)))

Decomposition: Describe (ExpectedEffects (x 1) opt Assert (HowltWorks (x)) opt Assert (LevelOfEfficacy (x)) opt Assert (RisksOfNotTaking (x)) opt

Rhet, Relation: Joint

Expand-rule i f WANT-TO-KNOW (IU, subject, M) and

WANT-TO,SAY (DE], subject, L) and LevelOfComplexity. (plan, M)

then WANT-TO-SAY (System, subject)

Direct User Model country: ITALY

subject

Prooensitv WANT-TO-SAY (DU, subject, IU)

IU=patient IU=nurse

drua category1

ExpectedEffect HowltWorks LevelOfEfficacy RisksOfNotTaking

M L M L M L L L

Preferences PREFER (DU, speechact, IU)

IU=patient IU=nuree

speech act Direct SUGGEST COMMAND

FIGURE 6. Adaptivity of the level of detail in the text by user and context tailored expansion of optional subgoals.

We represent these strategies separately from the plan operators' knowledge, as metaplanning rules. Expand rules decide whether or not to expand a node corre- sponding to an "opt ional" subgoal in the planning hierarchy. Their right side has the form: WANT-TO- SAY (System, Subject). Select rules decide which op- erator to select in case of conflicts originated from different operators having the same header and effect. Their right side has the form: SELECT the planning operator having a specified Decomposition value.

The left side of metaplanning rules is a logical com- bination of conditions on the IU's interests and the DU's preferences and propensities. In addition, condi- tions on the level of complexity of the plan, on the domain knowledge and on general IU's characteristics can be added. The separate representation of criteria into metarules gives the greatest flexibility in graduat- ing the mediation between indirect and direct users' views according to the specific situation. As usual,

explicit representation of this control knowledge has a lot of advantages, such as the possibility of using it to justify a message, of revising the criteria after evalua- tion, and so on. It does, however, have the disadvantage of slowing down the planner performance, as the plan- ner has to look at the two user models before deciding to apply a candidate operator.

Figure 6 gives an example of adaptation of the infor- mation content, by an Expand rule that encodes the strategy S1. The optional subgoal: Describe(Ex- pectedEffects(drug)) of the planning operator: Descri- be(DesirableConsequents(Administer(drug, patient))) is expanded only if the Expand Rule is fired, that is if the plan is not too complex. An example of Select rule that encodes the strategy $2: If PREFER (DU, direct, IU, command) and Experience (IU, L) then SELECT (S, command).

The result of the planning process is a tree, which represents the hierarchical structure of communicative

Page 12: Mediating Between Hearer's and Speaker's Views in the ...

440 F. de Rosis et al.

Header: Exclude (UndesirableConsequents (Administer (x, patient)))

Constraints: 3 x Drug(x) and Prescribed (x, patient)

Intentional Constraints: ~ KNOW-ABOUT (IU, UndasirebleConsequents

(Administer(x, patient)))

Preconditions: KNOW-ABOUT (IU, x)

Effects: KNOW-ABOUT (IU, UndesirebleConsequents (Administer(x, patient)))

Decomposition: Explain (ConlTaindications (x)) opt

Explain (SideEffects (x)) opt

Explain(Interactions(x)) opt

Rhetorical Relation: Joint

Header: Explain (SideEffects (x))

Constraints: _~_x Drag(x) and Prescdbed (x, patient)

Intentional Constraints:- KNOW-ABOUT (IU, SideEffects(x)) or

~ KNOW-ABOUT (IU, ~ KNOW-ABOUT (IU, Evotution(SideEffects(x)))

Preconditions: KNOW-ABOUT (IU, x)

Effects: KNOW-ABOUT (IU, SideEffects(x)) and KNOW-ABOUT

(IU,Evolution(SideEffects(x)))

Decomposition: Descdbe (SideEffects (x) 8

Assert(Evolution (SideEffects (x))) N

Rhetorical Relation: Concession

Header: Describe (SideEffects (x))

Constraints: _a_x _Drag(x) and Prescdbed (x,patient)

Intentional Constraints: ~ KNOW-ABOUT (IU, SideEffect(x)) or

~ KNOW-ABOUT(IU, Sevedty(SideEffects(x)))

Preconditions: KNOW-ABOUT (IU, x)

Effects: KNOW-ABOUT (IU, SideEffect(x)) and KNOW-ABOUT(IU, Sevedty(SideEffects(x)))

Decomposition: (Assert (SideEffects (x)) N

(Assert (Severity (SideEffects(x))) S opt

Rhetorical Relation: ElaboretionObjectAttdbute

FIGURE 7. Planning operators.

actions and rhetorical relations. Terminal elements of this structure are surface speech acts. The surface gen- erator selects an appropriate ATN for each of these terminal elements of the plan and fills up their parame- ters with values from the Domain KB.

4.6. An Example

Let us consider the case of an explanation addressed to the 63-year-old angina patient described in the sce- nario of 3.2. We will describe how the segment of the discourse aimed at persuading the patient to take the second drug in the prescription is generated. We cannot describe all planning operators relating to this part of the text generation. However, we will refer in particu- lar to those shown in Figure 6, plus the ones shown in Figure 7.

The text plan is shown in Figure 8. In this figure, note that some subgoals are not expanded (the corre-

sponding text is an *). This is due to several reasons. In some cases, Expand rules were responsible: interest and propensity for Contraindications were, respec- tively, low and medium for the patient and the doctor; they were medium and low for Interactions. So, in both cases, metarules established that they should not be mentioned in explanations because the generated text would have been too long. The "Side effects" subgoal was expanded because interest of the patient for this item was high. Other subgoals were not expanded be- cause relevant information was not available in the Domain KB, for this drug: how the drug works, risks of not taking it, severity of side effects. A rhetorical relation of concession was used to explain side effects of this drug by mentioning their expected evolution, because Measures to take against these Side effects were not known. Finally, the Therapeutic class of the drug was mentioned in the text because the precondi- tion KNOW-ABOUT (IU, drug) was not true in the patient model.

5. COMPARISON WITH RELATED WORK

Assigning to the system the role of a mediator between speaker and hearer entails some differences between OPADE's explanation module and previous text plan- ning systems. We will examine these differences by making special reference to three systems: Hovy ' s PAULINE, Moore and Paris 's EES, and Maybury 's TEXPLAN.

5.1. Hearer Representation

These three systems tailor information content to the hearer knowledge. The hearer goals are aimed mainly at focusing the discourse on subjects of interest to the hearer, through appropriate variable binding. The hearer interests are not considered in these systems: it is left to the speaker to decide what it is important to say, and the hearer model only contributes by not dwelling on subjects that are already known. The strat- egy used to generate the explanation is the speaker's strategy. Moore and Paris plan to tailor the plan selec- tion heuristics to the hearer preferences in a future version of EES. However, they plan to adapt general characteristics of the explanation (such as "be brief/ verbose") . We think that the information content of each text span in the explanation has to be adapted to the related interests of the hearer. As a consequence of this choice, our hearer model is more complex.

5.2. Speaker Representa t ion

In other systems, the speaker is unique (i.e., it is the system). The explanation strategy is thus also unique, and reflects the speaker ' s view about what it is important to say, and what the speaker has the

Page 13: Mediating Between Hearer's and Speaker's Views in the ...

Generation of Adaptive Explanations 441

Argue-about(Administer(drug Patient))

I equest(Administer(drug patient))

l Direct (Administer(drug patient))

I pu ese

Assert(Indication(drug patient))

~:s/asb'e2b;~hCte;ape~bt~tc;lass(drug)) joint Persuade (Administer(drug patient))

i Describe(DesirableConsequents(Administer(drug .Describe(Expected Effeets(d rug))

/ I Assert(ExpectedEffects(drug))

join/t : : : : : : : : : : : : : : : : : : : : : : : : : : :

conces:::: ert(RisksO'NetTaking(drug))

patient)))

The second drug I will g i v e

you is Glyceryl Trinitrate

which is to

treat the heart attacks

when they occur,

It is a beta blocker.

It will cause a diminution

of pain in your chest

in

two or three minutes.

It is very powerful

even if Exclude(UndesirableConsequents(Administer(drug patient)))

/~Explain (Centraindications(drug)) * Explain (SideEffects(drug))

/ [Describe (SideEffects(drug)) joi/nt / [ / Assert(SideEffects(drug)) i~ eC:c.n :~ :e a:O~h: n

\ ~ ~e/ab.obj-attribute beginning of treatment.

\ ~ --Assert(Severity(SideEffects(drug)) * \ ~oonce~sJon .awever,

Assert(Evolution(SideEffects(drug))) this will disappear

~ Explain(Interactions(drug)) progress ive ly .

Enable(Administer(drug patient))

FIGURE 8. An example of planning tree.

propensity to say. There are, instead, several poten- tial speakers in OPADE. Furthermore, OPADE has to do its best to imagine the explanation strategy that each of them might prefer; this strategy is a function of the hearer to whom the message is addressed. Thus, we have to represent the speaker characteris- tics in a model. The importance attached to each subject and the propensi ty to talk about it are not coincident. For example, some doctors prefer not to disclose the diagnosis of a serious disease to patients even though they know it is relevant, because they think that it might entail negative consequences for the psychological health status of the patient.

5.3. Planning Direction

We were tempted by the idea of generating our expla- nations according to a "bottom-up" approach. We had

a list of information items available in our KB, and a rating of importance attributed to each of them by each category of direct and indirect user. We might then select the items to be included in the explanation as a compromise between the two rating scales, and gener- ate a coherent text by using appropriate rhetorical tech- niques, as in Hovy (1988). With this approach, adapta- tion of the text and resolution of conflicts between direct and indirect users' views would have been made at the level of information items to be included in the text and rhetorical relations between them, rather than in terms of communicative actions. However, translat- ing results of our two experimental studies in terms of adaptation of action goals was much more natural and rational to us. Moreover, representation of effects of each communicative action on the IU ' s mental state gave us the possibility of defending and, if necessary,

Page 14: Mediating Between Hearer's and Speaker's Views in the ...

442 F. de Rosis et al.

repairing failed plans. For these reasons, we preferred a prescriptive, " top-down" approach.

5.4. Plan Operators

We see the following main differences between EES's and TEXPLAN's operator structures:

5.4.1. Use o f rhetorical structure theory. This ensures coherence of the text. EES plans start from a (high level) discourse goal, and expand it in terms of rhetori- cal relations, until coming to primitive linguistic acts. As the backward chaining of operators is made on the effect-nucleus or the effect-satellite couples, the three slots may contain a high level discourse goal or the name of a rhetorical relation. Nucleus and satellite may also contain a primitive linguistic act. TEXPLAN elim- inates rhetorical relations from the operators, to include "rhetorical predicates" as classes of primitive linguis- tic acts with different semantic content. Looking at examples of propositions presented in Maybury 's arti- cles, one notices that they correspond, in most of the cases, to text spans including both nucleus and satellite of a rhetorical relation. For example:

purpose: "He talked in order to avoid torture." motivation: "Substance abuse motivated him to steal." evidence: "Red splotches suggest measles."

In other cases, the proposition contains only the nu- cleus or the satellite. For example, the inference/con- clusion proposition describes the nucleus of a back- ground rhetorical relation.

There are, in our opinion, several consequences of Maybury 's choice: (a) the "grain size" of his planner is coarse; his rhetorical propositions are full phrases, whereas Moore and Paris 's primitive acts may be frag- ments of a phrase or even single words; (b) rhetorical relations between parts of the text are introduced ex- plicitly, by linguistic markers, only in the peripheral part of the plan and not at the higher levels of the hierarchy; and (c) when the same nucleus supports several satellites, to which it is linked by different rhetorical relations as in: " I prescribed Lasix, a hyper- tensive (classification) in order to reduce your blood pressure (purpose)," the nucleus has to be repeated several times.

5.4.2. Types o f slots. Knowledge organization in TEXPLAN's operators is more rational than in EES's: (a) the conditions of application relating to the baseline domain are separated from those referring to the mental state of the hearer, in constraints and preconditions; (b) in addition, the operator's results concerning the communicative acts and the mental state of the hearer are represented separately in header and effects. This organization improves readability of the operators and

makes the planning process more efficient. Our opera- tors are a compromise between the two proposals, as they represent both the pattern of communicative ac- tions and the rhetorical structure of the text. The text plan, thus, indicates the purpose of each part of the explanation and how different parts are related to each other. Rhetorical relationships between large or smaller spans of texts can be evidenced by means of appro- priate linguistic markers. At the same time, the reason why each intentional goal and each rhetorical relation was selected, according to criteria of mediation be- tween the two users' views, can be justified when needed. One might argue that propositions in the effect field should be unique, and that having multiple propo- sitions does not allow separating intended effects from side effects, nor representing the relationships between intentions that are needed to recover from plan failures. This is true in dialogue systems. But, OPADE will not engage in conversations with indirect users, and, therefore, only has to be able to repair the types of failure mentioned in 4.1. Knowledge organization in our plan operators serves this purpose. When an expla- nation segment is questioned, the operator that was responsible for generating it is located, as well as the metarules that establish expansion of subgoals or selec- tion among alternative operators. Thus, the system has the information it needs to diagnose the reasons of failure, and will ask the DU for further clarifications aimed at identifying the specific cause of the failure itself.

6. C O N C L U S I O N S

Although our research is motivated by a welt-defined application purpose, we believe that our method can be applied in other situations where the system coop- erates with the user to generate a written message whose ultimate addressee is someone who does not interact with the system itself. In this case, explana- tion generation implies achieving a consensus in a two-agent environment, and, therefore, requires ex- plicit and complete information about the two agents ' characteristics. In the solution we propose, the system behaves as a mediator between the two agents ' views, and negotiates with the interacting agent the best " c o m p r o m i s e " solution. The weight given to each agent 's view in the negotiation can be graduated by changing metalevel strategies. This allows adaptation of the strategies to the roles played by the two agents in the domain context to which the explanation refers, and to their relationship.

In this article, we have only described how we generate the first explanation. We still have to define in detail the way that we plan to diagnose and repair plan failures, by revising the DU model at the same time. Even before engaging in evaluation of generated texts, we know that explanations produced from our

Page 15: Mediating Between Hearer's and Speaker's Views in the ...

Generation o f Adaptive Explanations 443

first prototype are much more rudimentary than those that a phys ic ian would provide, and that they would not easily pass the examina t ion of a l inguist , as far as their style is concerned. As we do not represent the focus of at tent ion of the discourse, its coherence

wil l probably be insufficient. However, the ma in pur- pose of the evaluat ion wil l be to assess whether IU are satisfied with explanat ions that O P A D E is able to

provide. We also have on our side the fact that the texts we will produce have no " n a t u r a l " alternative, at present. In most cases, IU do not receive any expla- na t ion on the drug prescript ion from the physician. Often their only informat ion source is the c o m p a n y ' s leaflet attached to the drug packet. Therefore, we hope that they wil l appreciate even the subopt imal product of our system, provided that it responds to their infor- mat ion needs. Of course, this wil l be matter for future evaluation.

REFERENCES

Andre, E., & Rist, T. (1992). The design of illustrated documents as a planning task (Research Report 92-45). Saarbrucken, Germany: DFKI.

Berry, D., Gillie, T., & Banbury, S. (1995). What do patients want to know: An empirical approach to explanation generation and validation. Expert Systems with Applications, 8, 419-428.

Buchanan, B. G., Moore, J., Forsythe, D., Banks, G., & Ohlsson, S. (1993). Involving patients in health care, explanation in the clini- cal setting. Proceedings AMIA 1993, 510- 514.

Grosz, B. J., & Sidner, C. L. (1986). Attention, intention and the structure of discourse. Computational Linguistics, 12, 175-204.

Hovy, E. H. (1988). Two types of planning in language generation (Tech. Rep. 88-209). Marina del Rey, CA: University of Califor- nia, Information Science Institute.

Ingham, R. (1993). Achieving coherence, code and inference in the analysis of texts (Internal Report). Reading, United Kingdom: University of Reading, Department of Linguistics.

Mann, W. C., Matthiesen, C. M., & Thompson, S. (1989). Rhetorical structure theory and text analysis (Report 89-242). Marina del Rey, CA: University of California, Information Science Institute.

Maybury, M. T. (1992). Communicative acts for explanation genera- tion. International Journal of Man-Machine Studies, 37, 135-172.

Maybury, M. T. (1993). Communicative acts for generating natural language arguments. Proceedings of AAAI 93, Washington. Menlo Park, CA: AAAI Press/The MIT Press.

Miller, P. L., & Rennels, G. D. (1988). Prose generation from expert systems. A1 Magazine, Fall, 37-44.

Mittal, V., & Paris, C. (1993, July). Text generation, explanation vs criticism in expert systems. Notes of the Workshop on Expert Critiquing Systems, AAAI 93, Washington, D.C.

Moore, J., & Paris, C. (1992). Exploiting user feedback to compen- sate for the unreliability of user models. User Modeling and User-Adapted Interaction, 2, 287-330.

OPADE (1993). Necessary input for a computerized drug prescrip- tion system. (Deliverable n.5, AIM Main Phase, Project A2027)


Recommended