{ "paper_id": "P95-1009", "header": { "generated_with": "S2ORC 1.0.0", "date_generated": "2023-01-19T08:33:39.575487Z" }, "title": "User-Defined Nonmonotonicity in Unification-Based Formalisms", "authors": [ { "first": "Lena", "middle": [], "last": "Str~smb~ick", "suffix": "", "affiliation": { "laboratory": "", "institution": "LinkSping University", "location": { "postCode": "S-58185", "settlement": "LinkSping", "country": "Sweden" } }, "email": "" } ], "year": "", "venue": null, "identifiers": {}, "abstract": "A common feature of recent unificationbased grammar formalisms is that they give the user the ability to define his own structures. However, this possibility is mostly limited and does not include nonmonotonic operations. In this paper we show how nonmonotonic operations can also be user-defined by applying default logic (Reiter, 1980) and generalizing previous results on nonmonotonic sorts (Young and Rounds, 1993).", "pdf_parse": { "paper_id": "P95-1009", "_pdf_hash": "", "abstract": [ { "text": "A common feature of recent unificationbased grammar formalisms is that they give the user the ability to define his own structures. However, this possibility is mostly limited and does not include nonmonotonic operations. In this paper we show how nonmonotonic operations can also be user-defined by applying default logic (Reiter, 1980) and generalizing previous results on nonmonotonic sorts (Young and Rounds, 1993).", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Abstract", "sec_num": null } ], "body_text": [ { "text": "Most of the more recent unification-based formalisms, such as TFS (Emele and Zajac, 1990) , UD (Johnson and Rosner, 1989) , CUF (DSrre and Eisele, 1991) , and FLUF (StrSmb~ick, 1994) , provide some possibility for the user to define constructions of his own. This possibility can be more or less powerful in different formalisms. There are, however, several constructions proposed as desirable extensions to unification grammars that cannot be defined in a general and well-defined way in these formalisms. One such class of constructions is those that have some degree of nonmonotonic behaviour. Examples of such constructions are any-values, default-values, and some constructions (e.g. constraining equations, completeness and coherence) used in LFG (Kaplan and Bresnan, 1983) . This paper describes a method that permits the user to define such nonmonotonic constructions. This is done through generalizing the work on nonmonotonic sorts (Young and Rounds, 1993) . This generalization results in a default logic similar to (Reiter, 1980) , but where subsumption and unification are used instead of logical truth and consistency.", "cite_spans": [ { "start": 66, "end": 89, "text": "(Emele and Zajac, 1990)", "ref_id": null }, { "start": 95, "end": 121, "text": "(Johnson and Rosner, 1989)", "ref_id": "BIBREF3" }, { "start": 128, "end": 152, "text": "(DSrre and Eisele, 1991)", "ref_id": null }, { "start": 164, "end": 182, "text": "(StrSmb~ick, 1994)", "ref_id": null }, { "start": 753, "end": 779, "text": "(Kaplan and Bresnan, 1983)", "ref_id": null }, { "start": 942, "end": 966, "text": "(Young and Rounds, 1993)", "ref_id": "BIBREF8" }, { "start": 1027, "end": 1041, "text": "(Reiter, 1980)", "ref_id": "BIBREF5" } ], "ref_spans": [], "eq_spans": [], "section": "Background", "sec_num": "1" }, { "text": "There are three main advantages to Young and Rounds' work compared with other approaches to default unification (Bouma, 1990; Bouma, 1992; Russel et al., 1992) which justify choosing it as a starting point for this work. The first is the separation of definite and default information, where Young and Rounds are more distinct than the other. The second is that the nonmonotonic unification operation used is order independent. This is achieved by separating the unification operation from computing the nonmonotonic extension, which Young and Rounds call explanation. This suggests that all the user needs to define when generalizing the approach is how a sort is explained. Finally, there is a close relationship to Reiter's (1980) default logic.", "cite_spans": [ { "start": 112, "end": 125, "text": "(Bouma, 1990;", "ref_id": "BIBREF0" }, { "start": 126, "end": 138, "text": "Bouma, 1992;", "ref_id": null }, { "start": 139, "end": 159, "text": "Russel et al., 1992)", "ref_id": "BIBREF6" }, { "start": 718, "end": 733, "text": "Reiter's (1980)", "ref_id": "BIBREF5" } ], "ref_spans": [], "eq_spans": [], "section": "Background", "sec_num": "1" }, { "text": "This paper starts by providing the minimal properties required of a unification-based formalism when extending with nonmonotonic definitions. I then describe the approach of user-defined nonmonotonicity and illustrate how some commonly used nonmonotonic constructions can be defined within it. Finally I conclude with a discussion of the relation to Reiter's default logic and computational properties of the approach.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Background", "sec_num": "1" }, { "text": "There are two main properties that will be assumed of a unification-based formalism in order to extend it with the possibility of defining nonmonotonic constructions. The first, and most important, is that we require a subsumption order on the set S of objects denoted by the formalism. Secondly it should be possible to define inheritance hierarchies on the linguistic knowledge described by the formalism. One very plausible subsumption order that can be used is the ordinary subsumption lattice of feature structures. It is, however, possible to use some other kind of subsumption order if that is more suitable for the domain to be modelled by the formalism. Examples of other subsumption orders that might be useful are typed feature structures, feature structures extended with disjunction, or simply an order based on sets and set inclusion.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Preliminaries", "sec_num": "2" }, { "text": "In this paper the notation a U b is used whenever a subsumes b (i.e. whenever a \"is more specific than\" or \"contains more information than\" b). Consequently, a I'-b is used whenever a _ b but a \u00a2 b.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Preliminaries", "sec_num": "2" }, { "text": "The subsumption order is assumed to be a semi-lattice and permits computing a unifier, denoted a N b, corresponding to the greatest lower bound, for every pair of elements within it. The element corresponding to the bottom of the order relation is denoted fail and represents inconsistent information or unification failure. The second constraint placed on the formalism, the possibility of defining an inheritance hierarchy, is not essential for the definition of nonmonotonic operations. It is, however, very useful when defining nonmonotonic constructions. The following notation will be used for describing an inheritance hierarchy.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Preliminaries", "sec_num": "2" }, { "text": "class the name of the class;", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Preliminaries", "sec_num": "2" }, { "text": "isa its parent in the hierarchy; requires a structure.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Preliminaries", "sec_num": "2" }, { "text": "Thus, each member in the inheritance hierarchy is called a class, which is defined by giving it a name and a parent in the hierarchy. It is also possible to define some constraints, called requirements, which must hold for a class. These requirements can be both structures in the subsumption order and nonmonotonic rules. The constraints on classes are inherited through the hierarchy. Every object in a class is assumed to contain at least the information given by the constraints specified for it and all its ancestors. For simplicity multiple inheritance between classes will not be allowed. This means that two classes where none of them is a subclass of the other, will always be considered inconsistent and thus yield a failure when unified.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Preliminaries", "sec_num": "2" }, { "text": "User-Defined Nonmonotonicity I will now describe how the work by Young and Rounds can be generalized to allow the user to define nonmonotonic constructions. The main idea in their approach is that each node in a feature structure consists of a nonmonotonic sort. Such sorts can contain two different kinds of information, the ordinary monotonic information and a set of defaults. If we assume that fl is defined as a default in Young and Rounds' work then it is interpreted according to the rule: if it is consistent to believe # then believe #. In Reiter's default logic this is expressed with the following normal default rule.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "3", "sec_num": null }, { "text": "In this paper I want to allow the user to use other forms of nonmonotonic inferences and not only the normal default rule given above. Therefore, I will consider the general form of default rules. An intuitive reading of a general default rule is, if a is believed and it is consistent to believe # then believe 7. In default logic this is usually expressed as 7", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": ":# #", "sec_num": null }, { "text": "The next question is how such defined nonmonotonic rules are going to be interpreted in a unification framework. In (Reiter, 1980) , a rule like the one above could be applied whenever a is true and # is consistent with the information we already have. If we assume that V represents the information already given this means that the default rule can be applied whenever Y C a and Y I-I # does not yield unification failure. When the rule is applied the new information obtained would be 1/Iq 7.", "cite_spans": [ { "start": 116, "end": 130, "text": "(Reiter, 1980)", "ref_id": "BIBREF5" } ], "ref_spans": [], "eq_spans": [], "section": ":# #", "sec_num": null }, { "text": "In the approach described in this paper, the user is allowed to define the actual nonmonotonic rule that should be used for a particular operation by using the following syntax. nonmon name (parameter1,...parametern) : when a :#=>7", "cite_spans": [ { "start": 190, "end": 216, "text": "(parameter1,...parametern)", "ref_id": null } ], "ref_spans": [], "eq_spans": [], "section": ":# #", "sec_num": null }, { "text": "In the syntax given above name assigns a name to the defined rule, and thus allows the user to use nonmonotonic information when defining linguistic knowledge. The parameters in the rule definition are variables, which can be used within the actual default rule at the end of the description. The user is assumed to assign the nonmonotonic information contained in this rule to his linguistic knowledge by using an expression of the form", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": ":# #", "sec_num": null }, { "text": "narne(pararneterl , . . . parametern ).", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": ":# #", "sec_num": null }, { "text": "The when slot in the rule allows the user to decide when the rule is going to be applied, or in Young and Rounds' terminology, explained. I will make use of two values for the when-slot, immediate and posterior. Immediate means that the nonmonotonic rule is going to be applied each time a full unification task has been solved or whenever all information about an object in the defined inheritance hierarchy has been retrieved. Posterior explanation means that the explanation of the rule is postponed until reaching the result of some external process, for example, a parser or generator. There is however no hinder in excluding the use of other values here. One could, for example, imagine cases where one would want different nonmonotonic rules to be explained after a completed parse, a generation, or after resolving discourse referents.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": ":# #", "sec_num": null }, { "text": "Note that although the when slot in the definition of a nonmonotonic rule allows the user to define when his rule is going to be applied we will still have an order independent nonmonotonic unification operator. This is the case because we follow Young and Rounds' approach and separate the unification operation from the explanation of a nonmonotonic rule. Therefore, what affects the final result of a computation is when one chooses to explain default rules and not the order of the unification operations occurring between such explanations.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": ":# #", "sec_num": null }, { "text": "In this section I provide give the formal definitions for nonmonotonic sorts and how nonmonotonic sorts are unified and explained. The definitions are generalizations of the definitions in Young and Rounds (1993) . The notation a -,~ b is used to denote the fact that a I-1 b does not yield unification failure. A nonmonotonic sort is a structure containing both information from the basic subsumption order and information about default rules to be explained at a later point in the computation.", "cite_spans": [ { "start": 189, "end": 212, "text": "Young and Rounds (1993)", "ref_id": "BIBREF8" } ], "ref_spans": [], "eq_spans": [], "section": "Formal Definitions", "sec_num": "4" }, { "text": "Definition 1 A nonmonotonic sort is a pair (s, A)", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Formal Definitions", "sec_num": "4" }, { "text": "where s E S and A is a set of nonmonotonic rules of the form (w, a : fl ==~ 3') where w is an atom and a, fl and 3' E S. It is assumed that for each nonmonotonic rule 3' _C fl, a --, s, fl ,~ s, and 713s C s.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Formal Definitions", "sec_num": "4" }, { "text": "As seen by the definition a nonmonotonic sort is considered to be a pair of monotonic information from the subsumption order and nonmonotonic information represented as a set of nonmonotonic rules, The user can assign nonmonotonic information to a nonmonotonic sort by calling a nonmonotonic definition as defined in the previous section. The actual nonmonotonic rule occurring within the sort is a pair consisting of the when slot and the last part of the nonmonotonic definition, with the parameter variables instantiated according to the call made by the user.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Formal Definitions", "sec_num": "4" }, { "text": "The second part of this definition contains some well-foundedness conditions for a nonmonotonic sort. The first condition (3' _C ~) is a restriction similar to the restriction to normal default rules in Reiter's (1980) default logic. This restriction ensures that the application of one default rule will never cause previously applied default rules to be inapplicable. This makes the procedure for application of defaults more efficient and will be further discussed in section 6.", "cite_spans": [ { "start": 203, "end": 218, "text": "Reiter's (1980)", "ref_id": "BIBREF5" } ], "ref_spans": [], "eq_spans": [], "section": "Formal Definitions", "sec_num": "4" }, { "text": "The next two conditions in the definition, a ,-, s and fl ~ s, guarantee that the default rule is or can be applicable to the nonmonotonic sort. The reason for only checking that a ~ s instead of s C a is that future unifications can restrict the value of s into something more specific than a and thus may make the default rule applicable.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Formal Definitions", "sec_num": "4" }, { "text": "The last condition on a nonmonotonic sort, 3'Us rs, may seem superfluous. The reason for including it is to ensure that applying the default actually restricts the value of the sort. Otherwise the default rule would have no effect and can be removed. Note in particular that the above conditions on a nonmonotonic sort implies that 7 may be fail.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Formal Definitions", "sec_num": "4" }, { "text": "Given the unification operation of objects within the subsumption order and the definition of nonmonotonic sorts it is possible to define an operation for nonmonotonic unification.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Formal Definitions", "sec_num": "4" }, { "text": "Definition 2 The nonmonotonic unification (n~v) of two nonmonotonic sorts (sl, A1) and (s2, A2) is the sort (s, A) where $ S ~ S 1 17 $2 and , A = {did= (w, tr : fl ::\u00a2, 7), de A1U A2, a., ~s, ~, ..s, The nonmonotonic unification is computed by computing the unification of the monotonic parts of the two sorts and then taking the union of their nonmonotonic parts. The extra conditions used when forming the union of the nonmonotonic parts of the sorts are the same as in the definition of a nonmonotonic sort and their purpose is to remove nonmonotonic rules that are no longer applicable, or would have no effect when applied to the sort resulting from the unification.", "cite_spans": [ { "start": 42, "end": 47, "text": "(n~v)", "ref_id": null }, { "start": 181, "end": 184, "text": "A2,", "ref_id": null }, { "start": 185, "end": 188, "text": "a.,", "ref_id": null }, { "start": 189, "end": 192, "text": "~s,", "ref_id": null }, { "start": 193, "end": 195, "text": "~,", "ref_id": null }, { "start": 196, "end": 200, "text": "..s,", "ref_id": null } ], "ref_spans": [], "eq_spans": [], "section": "Formal Definitions", "sec_num": "4" }, { "text": "It is important to note that this generalization of the original definition of nonmonotonic unification from Young and Rounds (1993) preserves the property of order independence for default unification.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Formal Definitions", "sec_num": "4" }, { "text": "When using nonmonotonie sorts containing nonmonotonic rules, we also need to know how to merge the monotonic and nonmonotonic information within the sort. I will use the terminology wapplication for applying one nonmonotonic rule to the sort and w-ezplanation when applying all possible rules.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Formal Definitions", "sec_num": "4" }, { "text": "Definition 3 The nonmonotonic rule (w, c~ : fl =\u00a2, 7) is w-applicable to s E S if:", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Formal Definitions", "sec_num": "4" }, { "text": "\u2022 sI--Ot \u2022 s...flors=fail \u2022 slqTl-sors=fail", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Formal Definitions", "sec_num": "4" }, { "text": "The result of the w-application is 3' I'1 s Note that the w in w-application should be considered as a variable. This means that only nonmonotonic rules whose first component is w are considered and that it is possible to choose which nonmonotonic rules should be applied in a particular point at some computation.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Formal Definitions", "sec_num": "4" }, { "text": "In addition note that the restriction that 7 --in all nonmonotonic rules and the special cases for s = fail ensures that the application of one nonmonotonic rule never destroys the applicability of a previously applied rule. This reduces the amount of work required when computing a w-explanation. Based on these observations, a sufficient condition for w-explanation is defined as follows.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Formal Definitions", "sec_num": "4" }, { "text": "Definition 4 t is a w-ezplanation of a nonmonotonic sort (s, A) if it can be computed in the following way:", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Formal Definitions", "sec_num": "4" }, { "text": "1. If s = fail or no d E A is w-applicable then t = s else 2. Ch,,ose a d = (w, cr : fl =\u00a2, 7) E A such that d is w-applicable to s. 3. Let s = sl'lT and go to 1.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Formal Definitions", "sec_num": "4" }, { "text": "As shown by the definition, a w-explanation is computed by choosing one w-applicable default rule at a time and then applying it. Since the definition of w-applicability and the condition that 7in all nonmonotonic rules ensures that whenever a nonmonotonic rule is applied it can never be inapplicable, there is no need to check if the preconditions of earlier applied nonmonotonic rules still hold.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Formal Definitions", "sec_num": "4" }, { "text": "Note also that the choice of which nonmonotonic rule to apply in each step of a w-explanation is nondeterministic. Consequently, it is possible to have conflicting defaults and multiple w-explanations for a nonmonotonic sort.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Formal Definitions", "sec_num": "4" }, { "text": "Note also that the result of a w-explanation is allowed to be fail. Another option would be to interpret .fail as if the application of the nonmonotonic rule should not be allowed. However, as seen in the next section, for many uses of nonmonotonic extensions within unification-based formalisms, the aim is to derive failure if the resulting structure does not fulfill some particular conditions. This makes it important to allow fail to be the result of applying a nonmonotonic rule.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Formal Definitions", "sec_num": "4" }, { "text": "In this section I will show how some of the most common nonmonotonic extensions to unificationbased grammar can be expressed by defining rules as above. I will start with defining default values. While retrieving the information for these two verbs we will obtain the following two feature structures containing nonmonotonic sorts:", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Examples", "sec_num": "5" }, { "text": "For skickade: Since I have used immediate for the when-slot in the definition of the default rule, this nonmonotonic rule will be applied immediately after retrieving all information about a verb in the hierarchy. For the two structures above, the default rule can be applied for skickade, since active is consistent with D, but not for skickades, since active and passive are inconsistent. The result after applying immediateexplanation to the two structures above is shown below.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Examples", "sec_num": "5" }, { "text": "For skickade: For skickades:", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Examples", "sec_num": "5" }, { "text": "[lex: skicka, form: passive]", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Examples", "sec_num": "5" }, { "text": "Another nonmonotonic operation that has been used in LFG (Kaplan and Bresnan, 1983) is the value constraint (=e) used to check whether a substructure has a particular value after a completed parse. The definition of value constraints as a nonmonotonic rule makes use of negation, interpreted as negation as failure.", "cite_spans": [ { "start": 57, "end": 83, "text": "(Kaplan and Bresnan, 1983)", "ref_id": null } ], "ref_spans": [], "eq_spans": [], "section": "Examples", "sec_num": "5" }, { "text": "nonmon =c(X):posterior :-~X => fail. One use of value constraints in LFG is to assert a condition that some grammar rules can only be used for passive sentences. I will here assume that a representation for verbs where passive verbs have the value passive for the attribute form, but where other verbs have no value for this attribute. In the syntax used in this paper the constrMnt that a particular grammar rule can only be used for passive verbs would be expressed as below:", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "class value ;", "sec_num": null }, { "text": "[form: =c(passive)]", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "class value ;", "sec_num": null }, { "text": "This would result in the nonmonotonic sort: As seen by the definition of =c, the explanation for this nonmonotonic sort is postponed and is assumed to be computed after finding a parse for some sentence. This implies that the only case where this rule would not apply, and thus not give fail as a result, is when the value of form actually is passive.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "class value ;", "sec_num": null }, { "text": "For all other values of form, we would have something that is consistent with ~passive and thus the nonmonotonic rule will derive failure when applied. In this small hierarchy it is assumed that all possible values of a structure is a subtype of value. We then divide this into none, which represents that a structure cannot have any value and any_value which contains all actual values. The class any_value is then further divided into a class called any_no_value, which only contains this single value, and the actual values of a structure. The class any_no_value", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "class value ;", "sec_num": null }, { "text": "should not be used when defining linguistic knowledge. However, when applying the default rule a value that has not been instantiated is compatible with this any_no_value. Therefore the default rule can make the conclusion that the structure is inconsistent, which is what we desire. Note that, as soon as a value has been further instantiated into a 'real' value, it will no longer be consistent with any_no_value, and the nonmonotonic rule cannot apply. Two examples will further illustrate this.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "class value ;", "sec_num": null }, { "text": "The nonmonotonic sort:", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "class value ;", "sec_num": null }, { "text": "(0, {( posterior, :any_no_value fail )})", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "class value ;", "sec_num": null }, { "text": "will be posterior-explained to: fail While the sort:", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "class value ;", "sec_num": null }, { "text": "([lex: kalle], {( posterior, :any_no_value ~ fail )}) will be posterior-explained to:", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "class value ;", "sec_num": null }, { "text": "[lex : kalle]", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "class value ;", "sec_num": null }, { "text": "The last nonmonotonic operations I want to discuss are completeness and coherence as used in LFG. To be able to define these operations I assume the inheritance hierarchy above, without the nonmonotonic definition of any. I will, instead, make use of the two nonmonotonic definitions below. The first of these rules is used to check coherence, and the effect is to add the value none to each attribute that has been defined to be relevant for coherence check, but has not been assigned a value in the lexicon. The second rule is used for checking completeness and it works similarly to the any-definition above.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "class value ;", "sec_num": null }, { "text": "Finally, I will show how a fragment of a lexicon can be defined according to these rules. Note that in the definition of the transitive verb, the value any_value is given to the appropriate attributes. This means that they are inconsistent with none, and thus, the coherence rule cannot be applied. ", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "class value ;", "sec_num": null }, { "text": "In this section I will discuss the relation of this work to Reiter's (1980) default logic. There will also be some discussion on the computational properties and limitations of the given approach. Compared with Reiter's default logic, our notion of nonmonotonic sorts corresponds to default theories. Unification of nonmonotonic sorts would then correspond to merging two default theories into one single theory and our notion of explaining a nonmonotonic sort corresponds to computing the extension of a default theory in default logic.", "cite_spans": [ { "start": 60, "end": 75, "text": "Reiter's (1980)", "ref_id": "BIBREF5" } ], "ref_spans": [], "eq_spans": [], "section": "Relation to Default Logic", "sec_num": "6" }, { "text": "In default logic there is often a restriction to normal-default theories since non-normal default theories are not even semi-decidable. The restriction in our nonmonotonic rules that 7 C fl is similar to the restriction into normal default rules and captures the important property, that the application of one nonmonotonic rule should not affect the applicability of previously applied rules. The decidability of the nonmonotonic rules defined here is, however, highly dependant on the given subsumption order. In particular it is dependent on having a decidable unification operation and subsumption check.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Relation to Default Logic", "sec_num": "6" }, { "text": "As mentioned previously there is with nonmonotonic sorts, as well as normal default logic, a possibility of conflicting defaults and thus multiple nonmonotonic extensions for a structure. One difference is that nonmonotonic sorts allow that the application of a nonmonotonic rule leads to fail, i.e. an inconsistent structure, while default logic does not allow this outcome. However, since fail is allowed as a valid explanation for a nonmonotonic sort, there is, as for normal default logic, always at least one explanation for a sort.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Relation to Default Logic", "sec_num": "6" }, { "text": "The two following examples will illustrate the difference between nonmonotonic rules giving multiple extensions and nonmonotonic rules giving a single explanation fail. In example a the application of one rule, does not make the other inapplicable. Thus the only explanation for a structure is achieved by applying both these two rules and results in fail. In example b, however, the application of one of the rules would block the application of the other. Thus, in this case there are two explanations for the structure dependant on which of the rules that has been applied first. Note that even though there is an order dependency on the application order of nonmonotonic rules this does not affect the order independency on nonmonotonic unification between application of nonmonotonic rules.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Relation to Default Logic", "sec_num": "6" }, { "text": "Allowing multiple extensions gives a higher computational complexity than allowing only theories with one extension. Since it is the user who defines the actual nonmonotonic theory multiple extensions must be allowed and it must be considered a task for the user to define his theory in the way he prefers.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Relation to Default Logic", "sec_num": "6" }, { "text": "7 Improvements of the Approach I will start with two observations regarding the definitions given in section 3. First, it is possible to generalize these definitions to allow the first component of a nonmonotonic sort to contain substructures that are also nonmonotonic sorts. With the generalized versions of the definitions explanations that simultaneously explain all substructures of a nonmonotonic sort will be considered. Note that the explanation of default rules at one substructure might affect the explanation of rules at other substructures. Therefore the order on which nonmonotonic rules at different substructures are applied is important and all possible application orders must be considered.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Relation to Default Logic", "sec_num": "6" }, { "text": "Considering unification of nonmonotonic sorts it is not necessary to simplify the nonmonotonic part of the resulting sort. A = A i U A2 can be defined as an alternative to the given definition. This alternate definition is useful for applications where the simplification of nonmonotonic sorts by each unification is expected to be more expensive than the extra work needed to explain a sort whose nonmonotonic part is not simplified.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Relation to Default Logic", "sec_num": "6" }, { "text": "As stated previously, nonmonotonic sorts allow multiple explanations of a nonmonotonic sort. If desired, it would be fairly easy to add priorities to the nonmonotonic rules, and thus induce a preference order on explanations.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Relation to Default Logic", "sec_num": "6" }, { "text": "One further example will illustrate that it is also possible to define negation as failure with nonmonotonic rules. An intuitive interpretation of the defined rule below is that if X is believed (1/E X), failure should be derived.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Relation to Default Logic", "sec_num": "6" }, { "text": "nonmon not(X) :immediate X => fail;", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Relation to Default Logic", "sec_num": "6" }, { "text": "However, if this definition is to be really useful we must also allow one definition of a nonmonotonic rule to make use of other nonmonotonic rules. In our original definition we said that the nonmonotonic rule above should be applied if Y ,~ --X. This can be generalized to the case where --X is a nonmonotonic rule if we extend the definition of -~ to also mean that the application (or explanation) of the not rule at this node does not yield failure.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Relation to Default Logic", "sec_num": "6" }, { "text": "However, this generalization is outside default logic. Therefore, its computational properties are unclear and needs more investigation.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Relation to Default Logic", "sec_num": "6" }, { "text": "In this paper I have proposed a method allowing the user to define nonmonotonic operations in a unification-based grammar formalism. This was done by generalizing the work on nonmonotonic sorts (Young and Rounds, 1993) to allow not only normal defaults rules but general default rules that are defined by the user. The method has a very close relation to Reiter (1980) . We also noted that the method can be applied to all domains of structures where we have a defined subsumption order and unification operation.", "cite_spans": [ { "start": 355, "end": 368, "text": "Reiter (1980)", "ref_id": "BIBREF5" } ], "ref_spans": [], "eq_spans": [], "section": "Conclusion", "sec_num": "8" }, { "text": "The generality of the approach was demonstrated by defining some of the most commonly used nonmonotonic operations. We also gave formal definitions for the approach and provided a discussion on its computational properties.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Conclusion", "sec_num": "8" } ], "back_matter": [ { "text": "This work has been supported by the Swedish Research Council for Engineering Sciences (TFR). I would also like to thank Lars Ahrenberg and Patrick Doherty for comments on this work and Mark A. Young for providing me with much-needed information about his and Bill Rounds' work.", "cite_spans": [], "ref_spans": [], "eq_spans": [], "section": "Acknowledgments", "sec_num": null } ], "bib_entries": { "BIBREF0": { "ref_id": "b0", "title": "Defaults in Unification Grammar", "authors": [ { "first": "Gosse", "middle": [], "last": "Bouma", "suffix": "" } ], "year": 1990, "venue": "Proceedings of ~he 1990 Conference of ~he Association for Computational Linguistics", "volume": "18", "issue": "", "pages": "183--203", "other_ids": {}, "num": null, "urls": [], "raw_text": "Gosse Bouma. 1990. Defaults in Unification Gram- mar. in Proceedings of ~he 1990 Conference of ~he Association for Computational Linguistics, pages 165-172. Gosse Bouma. 1992. Feature Structures and Nonmonotonicity. Computational Linguistics 18(2):183-203.", "links": null }, "BIBREF1": { "ref_id": "b1", "title": "A Comprehensive Unification-Based Grammar Formalism", "authors": [ { "first": "Jochen", "middle": [], "last": "D6rre", "suffix": "" }, { "first": "Andreas", "middle": [], "last": "Eisele", "suffix": "" } ], "year": 1991, "venue": "", "volume": "", "issue": "", "pages": "", "other_ids": {}, "num": null, "urls": [], "raw_text": "Jochen D6rre and Andreas Eisele. 1991. A Compre- hensive Unification-Based Grammar Formalism. DYANA Report -Deliverable R3.1B. January 1991.", "links": null }, "BIBREF2": { "ref_id": "b2", "title": "Typed Unification Grammars", "authors": [ { "first": "C", "middle": [], "last": "Martin", "suffix": "" }, { "first": "Remi", "middle": [], "last": "Emele", "suffix": "" }, { "first": "", "middle": [], "last": "Zaja\u00a2", "suffix": "" } ], "year": 1990, "venue": "Proceedings of the I gth International Conference on Computational Linguistics", "volume": "3", "issue": "", "pages": "293--298", "other_ids": {}, "num": null, "urls": [], "raw_text": "Martin C. Emele, and Remi Zaja\u00a2. 1990. Typed Unification Grammars. In Proceedings of the I gth International Conference on Computational Lin- guistics, Vol. 3, pages 293-298, Helsinki, Finland.", "links": null }, "BIBREF3": { "ref_id": "b3", "title": "A Rich Environment for Experimentation with Unification Grammars", "authors": [ { "first": "Rod", "middle": [], "last": "Johnson", "suffix": "" }, { "first": "Michael", "middle": [], "last": "Rosner", "suffix": "" } ], "year": 1989, "venue": "Proceedings of the 4th Conference of the European Chapter of the Association for Computational Linguistics", "volume": "", "issue": "", "pages": "182--189", "other_ids": {}, "num": null, "urls": [], "raw_text": "Rod Johnson and Michael Rosner. 1989. A Rich En- vironment for Experimentation with Unification Grammars. In Proceedings of the 4th Conference of the European Chapter of the Association for Computational Linguistics, pages 182-189, Man- chester, England.", "links": null }, "BIBREF4": { "ref_id": "b4", "title": "The Mental Representation of Grammatical Relations", "authors": [ { "first": "R", "middle": [], "last": "Kaplan", "suffix": "" }, { "first": "J", "middle": [], "last": "Bresnan", "suffix": "" } ], "year": 1983, "venue": "", "volume": "", "issue": "", "pages": "", "other_ids": {}, "num": null, "urls": [], "raw_text": "R. Kaplan and J.Bresnan. 1983. A Formal System for Grammatical Representation. In: J Bresnan (ed.), The Mental Representation of Grammatical Relations. MIT Press, Cambridge, Massachusetts.", "links": null }, "BIBREF5": { "ref_id": "b5", "title": "A Logic for Default Reasoning", "authors": [ { "first": "Ray", "middle": [], "last": "Reiter", "suffix": "" } ], "year": 1980, "venue": "In Artificial Intelligence", "volume": "13", "issue": "", "pages": "81--132", "other_ids": {}, "num": null, "urls": [], "raw_text": "Ray Reiter. 1980. A Logic for Default Reasoning. In Artificial Intelligence, 13:81-132.", "links": null }, "BIBREF6": { "ref_id": "b6", "title": "A Practical Approach to Multiple Default Inheritance for Unification-Based Lexicons", "authors": [ { "first": "Graham", "middle": [], "last": "Russel", "suffix": "" }, { "first": "Afzal", "middle": [], "last": "Ballim", "suffix": "" }, { "first": "John", "middle": [], "last": "Carrol", "suffix": "" }, { "first": "Susan", "middle": [], "last": "Warwick-Armstrong", "suffix": "" } ], "year": 1992, "venue": "Computational Linguistics", "volume": "18", "issue": "3", "pages": "311--337", "other_ids": {}, "num": null, "urls": [], "raw_text": "Graham Russel, Afzal Ballim, John Carrol and Susan Warwick-Armstrong. 1992. A Practi- cal Approach to Multiple Default Inheritance for Unification-Based Lexicons. Computational Lin- guistics 18(3):311-337.", "links": null }, "BIBREF7": { "ref_id": "b7", "title": "Achieving Flexibility in Unification Grammars", "authors": [], "year": null, "venue": "Proceedings of the 15th International Conference on Computational Linguistics", "volume": "3", "issue": "", "pages": "842--846", "other_ids": {}, "num": null, "urls": [], "raw_text": "Lena Str6mb/ick. 1994. Achieving Flexibility in Uni- fication Grammars. In Proceedings of the 15th In- ternational Conference on Computational Lingui- stics, Vol. 3, pages 842-846, Kyoto, Japan.", "links": null }, "BIBREF8": { "ref_id": "b8", "title": "A Logical Semantics for Nonmonotonic Sorts", "authors": [ { "first": "A", "middle": [], "last": "Mark", "suffix": "" }, { "first": "Bill", "middle": [], "last": "Young", "suffix": "" }, { "first": "", "middle": [], "last": "Rounds", "suffix": "" } ], "year": 1993, "venue": "Proceedings of the 1993 Conference of the Association for Computational Linguistics", "volume": "", "issue": "", "pages": "209--215", "other_ids": {}, "num": null, "urls": [], "raw_text": "Mark A Young and Bill Rounds. 1993. A Logi- cal Semantics for Nonmonotonic Sorts. In Procee- dings of the 1993 Conference of the Association for Computational Linguistics, pages 209-215", "links": null } }, "ref_entries": { "FIGREF3": { "uris": null, "type_str": "figure", "num": null, "text": "class value; nonmon coherence(A) :immediate : [A: none] => [A: none]; nonmon completeness (A) :posterior :[A: any_no_value] => fail." }, "TABREF0": { "text": "This default rule can be used when defining verbs. The rule is used for stating that verbs are active by default. I also define the two Swedish verbs skickade (sent) and skickades (was sent) to illustrate how this rule works.", "html": null, "num": null, "content": "
class value ;
nonmon default(X) :immediate :X =>
X.
class verb;
isa value ;
requires [form: default(active)].
class skickade;
isa verb;
requires [lex: skicka] .
class skickades ;
isa verb;
requires [lex: skicka, form:
passive].
", "type_str": "table" }, "TABREF1": { "text": "The next nonmonotonic structure I want to discuss is any-values. The inheritance hierarchy is used to be able to define any-values in a simple way.", "html": null, "num": null, "content": "
class class any_value;
isa value.
nonmon any():posterior
:any_no_value => fail.
class any_no_value ;
isa any_value.
", "type_str": "table" } } } }