Benjamin Aw
Add updated pkl file v3
6fa4bc9
{
"paper_id": "E99-1033",
"header": {
"generated_with": "S2ORC 1.0.0",
"date_generated": "2023-01-19T10:37:28.410773Z"
},
"title": "Investigating NLG Architectures: taking style into consideration",
"authors": [
{
"first": "Daniel",
"middle": [
"S"
],
"last": "Paiva",
"suffix": "",
"affiliation": {
"laboratory": "",
"institution": "University of Brighton Lewes Road",
"location": {
"postCode": "BN2 4GJ",
"settlement": "Brighton",
"country": "UK"
}
},
"email": "[email protected]"
}
],
"year": "",
"venue": null,
"identifiers": {},
"abstract": "In this paper we propose a methodology for investigating the relationship between architectures of natural language generation (NLG) systems and stylistic properties of texts. Biber's (1988) methodology is used to obtain both the characterisation of style of our corpus and the division of the corpus into sets of linguistically similar texts. These sets will be used for studying the architectural aspects.",
"pdf_parse": {
"paper_id": "E99-1033",
"_pdf_hash": "",
"abstract": [
{
"text": "In this paper we propose a methodology for investigating the relationship between architectures of natural language generation (NLG) systems and stylistic properties of texts. Biber's (1988) methodology is used to obtain both the characterisation of style of our corpus and the division of the corpus into sets of linguistically similar texts. These sets will be used for studying the architectural aspects.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Abstract",
"sec_num": null
}
],
"body_text": [
{
"text": "We started our research with a survey of 19 applied natural language generation (NLG) systems (Paiva, 1998) and noticed that:",
"cite_spans": [
{
"start": 94,
"end": 107,
"text": "(Paiva, 1998)",
"ref_id": null
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "\u2022 almost all the systems followed a pipeline model; \u2022 there was a general agreement on the core NLG tasks that a system should perform (e.g., aggregation, lexicalisation, etc.); \u2022 the surveyed systems mainly differed on the order the NLG tasks are executed (see Cahill et al., 1999) ; We also noticed that the texts produced by the various systems were apparently quite different stylistically (although we did not have a formal method to measure how much different they were) and, in order to explain how this variety of texts was obtained with the same type of architecture (i.e., pipeline), we have put forward the hypothesis that the order in which the NLG tasks are executed influences the kind of text that can be obtained, i.e. a certain order would facilitate the generation of a certain type of text whilst another would not.",
"cite_spans": [
{
"start": 262,
"end": 282,
"text": "Cahill et al., 1999)",
"ref_id": null
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "This hypothesis goes in line with other researchers' results which purport to show that architectural aspects of a NLG system depend on the characteristics of the text to be generated and vice versa. For instance:",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "\u2022 Robin (1994) argues for a revisionincremental architecture for the generation of structurally complex text with floating content --i.e., content that can appear anywhere in the text and is opportunistically realised only if stylistic factors of the surrounding text allow; \u2022 Inui and colleagues (1992) conclude that in order to avoid the generation of text with ambiguous and complex sentences a revision architecture is necessary, with the revision module placed at the end of the generation process (i.e., after the linguistic realisation)l; \u2022 Reiter (ms.) reports that pipeline architectures cannot deal with constraints on the length of a text. It is difficult however to reconcile their results in a unified perspective since each of these reported works started with a different perspective and, generally, had different aims in mind.",
"cite_spans": [
{
"start": 297,
"end": 303,
"text": "(1992)",
"ref_id": null
}
],
"ref_spans": [],
"eq_spans": [],
"section": "237",
"sec_num": null
},
{
"text": "We believe that it is possible to relate those characteristics of text presented above (such as complexity, ambiguity and sentence length) 2 to style, 3 and that we can gain insight into NLG architectures having a systematic way to classify texts by their stylistic properties so that we can analyse the architectural aspects in relation to this stylistic classification.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "237",
"sec_num": null
},
{
"text": "We then start with the point of view that it is reasonable to assume that certain styles of text demand a more specialised type of architecture than others (for example, a revision versus a pipeline architecture 4) and our idea is to develop a methodology for studying which are the appro-Some aspects related to the complexity of a sentence (e.g., sentence length) can only be measured precisely when the text has already been generated. 2 For instance, complexity and (lack of) ambiguity are factors that can be related to the 'clarity\" of a text. 3 Depending on the definition we assume for it. ",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "237",
"sec_num": null
},
{
"text": "In this figure, one group expresses texts that are formal, concise, and not interactive (text type 1 --a possible example is news columns in scientific maga2ines). Another group (text type 2) expresses texts that are informal, highly concise, and highly interactive (e.g., short articles in 'IV magazines answering readers' questions). A third one (text type 3) can be considered neither formal nor informal, is not concise and has a medium value for interacfiveness. priate architectures for the generation of texts in a specific style or more than one style. Hovy (1988) used a similar approach but characterised style in such an informal way that its relation to architectural aspects was compromised; in particular, he could not ensure that he was not missing important relations between style and generator decisions s.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "A B",
"sec_num": null
},
{
"text": "In this paper we will present a characterisation of style and an approach for dealing with it which, we hope, will provide a means to clarify the interaction between the architectures of NLG systems and the type of texts they can, or need to, generate. The paper continues in the following way: in Section 2 we present the definition of style we are working with and in Section 3 we show how this characterisation will help us to deal with aspects of architecture. In Section 4 we discuss the expected results and, finally, we conclude by presenting where we are in this process.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "A B",
"sec_num": null
},
{
"text": "We use the term style to signify the variability in the use of features of a language that can be correlated with certain types of situation --where situation can be regarded \"as the context within which interaction of 'the speech event' occurs\" (Brown and Fraser, 1979; p. 34) , involving the participants, the setting and the purposes of the communication.",
"cite_spans": [
{
"start": 246,
"end": 270,
"text": "(Brown and Fraser, 1979;",
"ref_id": null
},
{
"start": 271,
"end": 277,
"text": "p. 34)",
"ref_id": null
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Investigating Style",
"sec_num": "2"
},
{
"text": "In order to put this definition to work on our problem, first we need to know how to obtain the set of stylistic parameters, i.e., the parameters that, when varied, will be responsible for producing texts in different styles. Secondly, we need to find a way to group stylistically-similar texts into sets so that we can study the architec- tural aspects of each set isolatedly and then try to have a more general view of how style and NLG architectures interact by making a crosscomparison among those isolated analyses. For the first part, there are two approaches in the literature linking stylistic parameters to characteristics of texts. We have already cited Hovy (1988) and its main problem: the lack of formality. DiMarco's (1990) approach was to construct a 'stylistic grammar' using the notion of norm and deviation from norm (see, e.g., Enkvist (1973)). While this approach is enough to obtain the stylistic parameters 6, we think that this characterisation brings a problem for grouping texts into sets --it can create only two sets for studying: the texts that agree with the norm and those that do not. This can be a problem because, although the texts following the norm will comprise a set of similar texts, those in the 'deviant' set can be so dissimilar that any type of analysis based on them (and, consequently, its interpretation in architectural terms) is probably doomed to failure.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Investigating Style",
"sec_num": "2"
},
{
"text": "In our approach we will avoid these problems by following a methodology that can provide two things: (1) a characterisation of the stylistic parameters of a corpus 7, and (2) a partition of a corpus into sets of linguistically similar texts. We are working with Biber's (1988) methodology. From a corpus tagged with a comprehensive set of linguistic features of English, we obtain the frequency count associated with each one) Using a statistical factor analysis, we group the linguistic features that co-occur, considering each group 6 DiMarco refers to them as 'stylistic goals'. 7 Our corpus comprises texts written for two different audiences (patients and doctors) of more than 250 pharmaceutical products --in total it is more than 500 texts. s There are two levels of tagging. First, the corpus is tagged using Brill's (1994) tagger. Secondly, programs for counting specific configurations of tags are run. The process is completely automatic.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Investigating Style",
"sec_num": "2"
},
{
"text": "a stylistic parameter 9 that can then be analysed in functional terms, l\u00b0 Several stylistic parameters can emerge from a corpus, each text of the corpus having a specific value for each of them (see an example with three stylistic parameters in Figure l-A) .",
"cite_spans": [],
"ref_spans": [
{
"start": 245,
"end": 256,
"text": "Figure l-A)",
"ref_id": null
}
],
"eq_spans": [],
"section": "Investigating Style",
"sec_num": "2"
},
{
"text": "Our interest in Biber's work is also related to his definition of text types: \"the texts within each type are maximally similar with respect to their linguistic characteristics, while the types are maximally distinct with respect to their linguistic characteristics\" (Biber (1995), p. 10). In order to obtain the text types, a cluster analysis is used and results in the partitioning of the corpus (i.e., the texts with similar values for all the stylistic parameters will be grouped in a partition (see Figure I-B) ). Following this procedure will allow us to analyse aspects of architecture for each text type (i.e., each partition) in isolation and, more importantly, make cross-comparisons among these analyses.",
"cite_spans": [],
"ref_spans": [
{
"start": 504,
"end": 515,
"text": "Figure I-B)",
"ref_id": null
}
],
"eq_spans": [],
"section": "Investigating Style",
"sec_num": "2"
},
{
"text": "We are using NLG tasks as the basis for our approach to relate style to NIX3 architectures. We are working with a set of core NLG task that we have found to be stable: all of them occurred in almost all the systems we surveyed (Paiva, 1998) . The set comprises the following tasks: content determination, rhetorical structuring, lexicalisation, intra and inter-sentential ordering, referring expression generation, aggregation, segmentation, and linguistic realisation (for an explanation about those task, see Cahill et al., 1999) . ~l Part of the process for relating style to architecture is depicted in Figure 2 . As shown, we start by analysing the NLG tasks that are responsible for the presence of a specific linguistic feature (arrow B). The association of stylistic parameters with linguistic features obtained in the corpus analysis (arrow A) will be used to observe which NLG tasks are responsible for 9 Biber refers to this as a 'dimension of register variation'. raThe assumption is that strong co-occurrence patterns of linguistic features mark underlying functional dimensions (Biber, 1988; p. 13) . Notice that the name of each stylistic parameter, per se, means nothing; it is the linguistic features grouped in each stylistic parameter that are important! Nonetheless, it is easier to refer to a stylistic parameter by its name than to the set of linguistic features it represents. So below we say that a certain text is formal, when, in fact, we want to say that it has certain linguistic features such as passives, formal words, conjuncts, etc.",
"cite_spans": [
{
"start": 227,
"end": 240,
"text": "(Paiva, 1998)",
"ref_id": null
},
{
"start": 511,
"end": 531,
"text": "Cahill et al., 1999)",
"ref_id": null
},
{
"start": 1092,
"end": 1105,
"text": "(Biber, 1988;",
"ref_id": null
},
{
"start": 1106,
"end": 1112,
"text": "p. 13)",
"ref_id": null
}
],
"ref_spans": [
{
"start": 607,
"end": 615,
"text": "Figure 2",
"ref_id": "FIGREF1"
}
],
"eq_spans": [],
"section": "Relating Style to Architecture",
"sec_num": "3"
},
{
"text": "~ We are aware that some of those tasks can be subdivided and that some authors assume different names for2l~ same task. If necessary, we will do extensions to this set. specific values of a stylistic parameter (arrow C). 12 Then we will observe the combinations of the NLG tasks in accordance with each text type (partition) obtained in the corpus analysis. This will give us an idea of which NLG tasks are most responsible for (the linguistic features associated with) the different text types; also, it will show us how the tasks are working (because of the links to the linguistic features (see Figure 2) ). The result of this process will be sets of NLG tasks for each text type.",
"cite_spans": [],
"ref_spans": [
{
"start": 599,
"end": 608,
"text": "Figure 2)",
"ref_id": "FIGREF1"
}
],
"eq_spans": [],
"section": "Relating Style to Architecture",
"sec_num": "3"
},
{
"text": "Eg.:",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "\u2022 )/ \u2022",
"sec_num": null
},
{
"text": "\u2022 conjuncls (~g., \"hoMeveC','in com~=~, \"~ ~=amp~, ...) Our work then will be to observe the NLG tasks (inside each text type first, but making crosscomparisons among text types afterwards) attacking the questions related to architecture, i.e., 'which kind of modularisation and interaction between modules is necessary/appropriate', 'which resources are used', 'what kind of data the modules/tasks exchange', etc.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "\u2022 )/ \u2022",
"sec_num": null
},
{
"text": "We will investigate architectural decisions at three different levels:",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "\u2022 )/ \u2022",
"sec_num": null
},
{
"text": "\u2022 at the task level: how can a certain task be made sensitive to values of stylistic parameters?",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "\u2022 )/ \u2022",
"sec_num": null
},
{
"text": "\u2022 at the level of tasks interaction: is there a natural ordering of tasks for a certain type of text? 13",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "\u2022 )/ \u2022",
"sec_num": null
},
{
"text": "\u2022 at the global level: assuming that tasks are normally encapsulated inside modules, what characteristics of texts force the interaction between modules to be more intense?",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "\u2022 )/ \u2022",
"sec_num": null
},
{
"text": "~2The statistical method by which arrow A in Figure 2 is derived gives a measure of how important the linguistic feature is for a certain stylistic parameter. ~SSee Danlos (1984) for examples of how the order of execution of tasks can favour a certain textual result over another.",
"cite_spans": [
{
"start": 165,
"end": 178,
"text": "Danlos (1984)",
"ref_id": null
}
],
"ref_spans": [
{
"start": 45,
"end": 53,
"text": "Figure 2",
"ref_id": "FIGREF1"
}
],
"eq_spans": [],
"section": "\u2022 )/ \u2022",
"sec_num": null
},
{
"text": "Faced with this classification we will propose solutions that can be used in the specification of an architecture that supports the generation of texts in different styles. We expect these solutions to lead to useful guidelines for helping designers of NLG systems to choose the appropriate architecture for the type of text they want their system to generate.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "\u2022 )/ \u2022",
"sec_num": null
},
{
"text": "One may question why we are repeating Biber's experiment, when he has already obtained a set of stylistic parameters and a set of text types. It is possible that other results emerge from applying his methodology to our corpus, and the only way to know this will be by re-doing the analysis. It is also possible that we obtain a subset of his results, which will at least make our task a more manageable one.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Discussion",
"sec_num": "4"
},
{
"text": "We believe that our result will be of general utility. Although the precise set of stylistic parameters may be dependent on the corpus one is using, we expect that the set of valid task interaction patterns will be restricted, and that the text types emerging from our study will encompass most of the valid patterns. Our programs for counting the linguistic features will be made available for others to use.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Discussion",
"sec_num": "4"
},
{
"text": "In this paper we propose a methodology for investigating the relationship between architectures of NLG systems and stylistic properties of the texts they can generate. Although we are still undertaking the first steps of our methodology (the corpus analysis), we believe that this methodology will allow us to test the hypothesis regarding the order of execution of NLG tasks, and at least provide initial indicators on the relationship between classes of architectures and the style of generated texts.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Conclusion",
"sec_num": "5"
},
{
"text": "I would like to thanks Donia Scott, Roger Evans, Richard Power, Kees van Deemter, and two anonymous reviewers for their comments on this paper.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Acknowledgements",
"sec_num": "6"
},
{
"text": "References Biber, D. (1988) Variation across speech and writing.Cambridge University Press.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "",
"sec_num": null
}
],
"back_matter": [
{
"text": " Biber, D. (1995) Dimensions of register variation: A cross-linguistic comparison. Cambridge University Press. Brill, E. (1994) Some advances in rule-based part of speech tagging. In Procs. ofAAAI'94, Seatle. Brown and Fraser (1979) Speech as a marker of situation. In (eds.) Sheerer, K.R., and Giles, H., 240Social markers in speech. Cambridge University Press, pp. 33-62. Cahill, L., Doran, C., Evans, R., Mellish, C., Paiva, D., Reape, M., Scott, D., and Tipper, N. (1999) In search of a reference architecture for NLG systems. Accepted for EWNLG'99. Danlos, L. 1984 ",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "acknowledgement",
"sec_num": null
}
],
"bib_entries": {},
"ref_entries": {
"FIGREF0": {
"type_str": "figure",
"uris": null,
"num": null,
"text": "A flcti~ous example of the charactedsation of text types in terms of three stylistic parameters (A), and the partition of the corpus into three text types (B)."
},
"FIGREF1": {
"type_str": "figure",
"uris": null,
"num": null,
"text": "Relating values of style parameters to NLG tasks a fictitious example supposing 'formality' as a stylistic parameter."
}
}
}
}