Parsing with Assertion Sets and Information Monotonicity
Proceedings of the Ninth International Joint Conference on Artificial Intelligence. Natural Language. Pages 769-770.
© 1985 International Joint Conferences on Artificial Intelligence
Abstract
We propo se a new app roac h t o par sing ambiguity in whi ch a parser always m ov Ps forw a rd with th e common elemen ts of competing synta cti c analyses. Th e approach involves assertio n sets cons train ed so t hat information is monotonically pre serv ed t hr ough o ut a parse . Asser1ion sets hav e several advan t ages over t rees as a parsin g re pr esen tati on. Th ey may also Iead to better computational und er sta nding of th e attention-shifting m ec hamsm.
- Barton, E. (1984). "Toward a Principle-Based Parser ," A.l. Memo No. 788, M.I.T. Artificial Intelligence Labaratory Cambridge, Mass. '
- Chomsky, N. (1955). The Logical Structure of Linguistic Theory, published in 1975 by Plenum Press (New York) .
- Chomsky, N. {1981). Lectures on Government and Binding. Dordrecht, Holland: Foris Publications .
- Goodall, G . (1984). "Coordination," PhD dissertation, De- partment of Linguistics, University of California at San Diego.
- Kroch, A ., and A. Joshi (1985) . "The Linguistic Relevance of Tree Adjoining Grammars ," Technical Report No . MS- CIS-85-16 , Department of Computer and Information Sci- ence , Moore School , University of Pennsylvania, Philadephia, Penn .
- Lasnik , H. , and J. Kupin (1977) . "A Restrictive Theory of Transformational Grammar," Theoretical Linguistics 4:3, 173-196.
- Levy, 1., and A. Joshi (1978) . "Skeletal Structural Descrip- tions," Information and Control 39:192-211.
- Marcus, M . (1980). A Theory of Syntactic Recognition for Natural Language. Cambridge, Mass.: M .I.T. Press.
- Marcus, M., D. Hi~dle , and M. Fleck (1983). "D-Theory: Talkmg about Talkmg about Trees," ACL '83 proceedings.
- Marr, D. (1982). Vision. San Francisco : W. H. Freeman and Company. 111]
- Nirenburg , S., and C. Attiya (1984) . "Interruptible Transi- tion Networks ," COLING '84 proceedings, pp . 393-397. 112
- Reuland, E. (1984). "Features for the Set of Categorial Heads," ms.
References were extracted automatically from the PDF and may contain errors.
Full text extracted automatically from the PDF; figures, tables and equations may differ. The PDF is the version of record.
PARSING WITH ASSERTION SETS AND INFORMATION MONOTONICITY*
G. Edward Barton, Jr . and Robert C. Berwick
M.I .T. Artificial lntelligence Labaratory 545 Technology Square Cambridge, MA 02139
as possible on t he predicates of linguistic theory. We hope t.o re duce t he amount of grammatically extraneous information that the parser manipulates .
II ASSERTION SETS
It. is doubtful that traditional parse trees areideal for repre senting syntactic structure, for in general the range of structural information that a tree makes explicit may not correspond to the information that is grammatically relevant . For example, X-theory suggests that the head-projection relationship may be more important grammatically than the immediate-domination relationship that a tree displays. In a different vein, it has been hypothesized (Lasnik and Kupin, 1977:178f) that linguistic the ory is insensitive to characteristics of trees that cannot be recov ered from information about the range of terminals spanned by each consti t uen t .
We are investigating the use of monotonically growing asser tion sets as a parsing representation. A constituent is represented by a triple C10 i j), where 10 is a bundle of syntactic features ( e. g. one that we might abbreviate with the usual Iabel NP) and i , j are the input positions defining the left and right edges of the constituent* For example, if we assume that Adj" N forms a constituent that we will call NBAR, the structure of the NP the red block might be represented by the assertion set
{(NP 0 3),(Det 0 1) , (Adj 1 2) , (N 2 3) , (NBAR 1 3)} .
With this representation, parsing is the construction of such an assertion set - closely akin to a "phrase-marker" in the sense of Chomsky 's (1955) early work . (In the early stages of parsing, the assertion should actually appear as (NP 0 *) to indicate that the right edge of the constituent has not yet been encountered.)
An assertion-set parser develops its analyses deterministi cally if changes in its (global) assertion set are always refine ments in the information-theoretic sense - that is, if informa tion is monotonically preserved. Under determinism, the only possible refinements are adding a new assertion, changing a * to a specific value , and adding features to an underspecified cate gory. For example, operating under a rudimentary X-theory, it would be possible to change the features of a constituent from \+N1 to \+N, - V, +max], i.e. from an underspecified category to NP, but impossible to change NP to VP. Monotonic1ty would also rule out the usual notion of nondeterministic chart parsing; the parser would be unable to remove initially plausible analyses that failed to pan out.
Monotonically growing assertion sets are attractive in several ways for representing syntactic structure. For example, beyond the device of using initially underspecified feature bundles, there are some useful structural modifications that are information preserving when applied to assertion sets , but not when applied
* This representation t akes a cue from Lasnik and Kupin as weil as from the representations used in chart parsing. Nirenburg and Attiya (1984) use a similar representation, but do not add the constraint of information mono tonicity. Although we use numeric input indices here for simplicity, a repre sentation based instead on the actual words of. the terminal strin11 i~ better in cases of movement and, under an new analys1s by Goodall (1984), m cases of conjunction.
ABSTRACT
We propose a new approach to parsing ambiguity in whi ch a parser always movPs forward with the common elements of competing syntactic analyses. The approach involves assertion sets constrained so t hat information is monotonically preserved throughout a parse. Asser1 ion sets have several advant ages over t rees as a parsing representation. They may also Iead to bet ter computational understanding of the attention-shifting mech amsm.
I INTRODUCTION
Recent linguistic theories divide linguistic constraints into subsystems each having its own character. The complex sur face character of a language is ultimate]y generated by the in teractions among a few fundamental processes and constraints. We are most interested in the GB-theory framework of Chom sky (1981), which identifies subtheories concerned with local ity, government , assignment of semantic roles, pronoun bind ing , case, control , and X-constraints , but some developments in other frameworks also tend toward modularity. For instance, Shieber (1983:2ff) describes a version of the GPSG formalism that separates immediate-dominance rules, Iinear-order con straints, and metarules, while the TAG formalism (Kroch and Joshi , 1985) factors recursion apart from co-occurrence restric t ions.
The surface complexity of parsing should be decomposed in the same way as the surface complexity of language. Principles that are common to alllanguages should not have their effects re peatedly redescribed in the descriptions of particular languages, but should instead be exploited as part of parser design. Simi larly, a single underlying process within an individual language should not have its effects spelled out separately in each sur face manifestation ; ideally the process should be encoded just once, in such a way that the parser can work out what sur face appearances to Iook for . Beyond syntactic theory, parser design provides additional opportunities for such factoring ; not only linguistic principles but also aspects of parser control struc ture may be factored out . However , the general effect on the description of a language is the same: Less information is needed to describe a language, if redundancy can be factored out and if control-structure elements can be removed from the grammar and incorporated in basic parser design .
Our goal is thus a dual one. We aim to build a parser that bases its operation on modular subcomponents instead of a weiter of surface-oriented rules ; in so doing , we will reduce the amount of language-particular syntactic information that must be sup plied by the designer of a natural-language system** As one component of this effort, we are considering possible ways to use a "stripped-down" parsing representation that is based as much to trees* Changing the tree for I told John a ghost story into the tree for I told J ohn a ghost story was the las/ thing I wanted to hear requires (non-monotonically) breaking t.he link between VP and [Nr a ghost story ] and replacing it with a link between VP and S. In the same way, a tree link is deleted when John is moved one Ievel deeper in going from see John to see John and Bill. In the assertion-set representation, each of these changes can be described as the addition of an assertion. An S assertion is added in the first change , an NP assertion in the second; in each case all previous structure assertions remain valid when the new assertion is added, if the change is made hefore the right edge of VP has been declared. Assertion sets can thus allow a deterministic parsertobe partially noncommittal about the exact attachment Ievel of a constituent.**
* This report describes research done at the Artificial Intelligence Laboratory of the Massachuset ts Inst itute of Technology. Support for the Laboratory's art ificial intelligence research has been provided in part by the Advanced Research Projects Agency of the Depo.rtment of Defense under Office of Naval Research contract N00014-80-C-0505. During a portion of this research Ed Barton's graduate studies were supported by the Fannie and John Hertz Foundation.
** See Barton (1 984) for more information on t his general research program.
The ability of assertion sets to represent partial information can also be useful in handling PP-attachment ambiguity. If it is not clear whether to attach an adjunct PP under NP or VP, for instance, the various structural possibilities will still agree on the existence and internal structure of PP. If NP with ad junct PP is analyzed as [NP NP PP ] , they will also agree on the lower NP*** This example illustrates the fact that assertion sets support co-called Chomsky-adjunction more naturally than sister-adjunction. For example, on some analyses of the right ward movement called Heavy NP Shift , NP is Chomsky-adjoined to the end of VP to produce the structure [vr VP NP ]. With as sertion sets, the representation of the lower VP is ( monotonically) preserved when the assertion is added that describes the upper VP. Some linguists have argued that the preservation of informa tion about constituent structure makes this form of adjunction the appropriate one for describing the structural changes wrought by transformations.**** With trees, it is sister-adjunction that is information-preserving, as in a hypothetical replacement of [vr V t PP ] with [vr V t PP NP ].
III THE THEORY OF ATTENTION-SHIFTING
Because of its atomistic character, the assertion-set represen tation may also pave the way to a better understanding of the attention-shifting mechanism of the deterministic Marcus parser (Marcus, 1980:175) . The attention-shifting mechanism imple ments a "wait-and-see" strategy for dealing with some of the cases in which the parser cannot teil which possible step to take next. lnterpreted abstractly, the strategy allows the parser to move forward with those elements of the structural analysis that it can be sure of. When attention-shifting rules begin to build a constituent, it may be unclear how it will fit into the final parse tree . However, a deterministic parser cannot be justified in building the constituent unless all competing analyses agree on its existence and internal structure. *****
The possibility exists that a parser could deal with parsing ambiguity by explicity observing the operating principle: always go ahead with the common elements of competing syntactic anal yses. Under this principle, it would not be necessary to write at tention shifts into the rule system explicitly; attention-shifting, when necessary, would be automatic. Such a parser could ezplain attention-shifting behavior by deriving it from a principled treat ment of parsing ambiguity, could validate the informal character ization of attention-shifting as the implementatiön of a wait-and see strategy, and would clarify the computational problern that is solved by the attention-shifting mechanism. In brief, it would contribute to the computational theory of the Marcus parser - in Marr 's (1980:25) sense - in addition to serving the goal of removing control-structure elements from language descriptions.
* Marcus <! ai. (1983) describe a parsing representation that also differs from trees in its possibilities for information-preserving structural modification.
** This should be especially helpful in devising a data-driven treatment of conjunction tha.t does not predict conjoined NPs except when prompted by specific cues. The close rela.tion between some variant of a.ssertion sets and the monostrings that La.snik and Kupin have described also makes assertion sets promising for the implementation of Goodall 's new (1984) monostring ba.sed theory of conjunction.
** * The a.ssertion-set framework is compa.tible with having the a.ssertion sets filtered by extra.syntactic informa.tion in order to ultimately resolve the a.tta.chment ambiguity.
**** Chomsky (1981:141), among others, has tentatively argued this. How ever, "Chomsky-adjunction" as a name for this operation is historically accidental.
***** Marcus's actual mechanism includes nothing to guarantee such agree ment , with consequences that become more severe a.s lexica.l ambiguity increa.ses.
Assertion sets are superior to trees for use in such a parser . It is unclear how to intersect trees in order to take the com mon elements of different analyses, while ordinary set intersec tion roughly suffices for assertion sets because of their atomistic character* It is also unclear how the tree represimting com mon elements of analysis could be partially noncommittal about attachment point in the cases mentioned earlier. Finally, in the presence of left-recursion as with possessive NPs, there will be an infinite number of ways to extend a tree downward to encompass a new element ; with at most bounded lookahead, it is impossible to say how many tree nodes lie between the new input and the point of attachment to the existing tree. It will thus be difficult to envision all possible syntactic analyses in a tree-based parser. Left-recursion causes no more of a problern with assertion sets than it does with the related representation of a chart parser, since the ·-notation collapses an infinite nurober of nodes into a single assertion.
Several issues must be addressed in the design of any parser that proceeds by moving ahead with those elements of the syn tactic analysis that are known for certain. The parsing repre sentation must be decomposable into smaller elements that have meaning when separated ; assertion sets fit the bill here. Differ ent aspects of parsing rules and actions must also be separable in the sense that some parsing actions can still be licensed even when knowledge is insufficient to license all of them. It should sometimes be possible for parsing ambiguity to be eventually re solved when disambiguating evidence is encountered; elements of analysis that are correct but were initially discarded because of uncertainty should not remain forever absent . A decision must be made about the stringency of rule matching; it is customary to require the parsing representation to explicitly Iist the features mentioned in a rule, but because taking the common elements of competing analyses will result in feature underspecification, it may be better to require only feature compatibility between the rule pattern and the parsing representation. One must ensure that the implementation strategy does not allow combinatorial blowup to creep into the rule-matching process. Finally, it will be necessary to impose some coherence requirement on the col lection of analytic possibilities; if they diverge too widely, the parser cannot sensibly integrate their common elements.
IV SHAPE COMPATIBILITY
The application of this parsing method is not completely worked out , either in the Marcus framewerk or in a standard context-free parsing framework . However, some of the intent can be suggested by sketching out a simplified model based on CFGs. The basic parsing cycle is to involve three steps: matehing rules against the parsing representation, running the matehing rules to produce several possible extensions of the representation, and intersecting the possibilities to produce the next parsing repre sentation. The fundamental problern is to intertwine analysis and control in such a way that the monotonically growing syntactic analysis is always sufficient to support rule matching, while the control component always runs a set of rules that will advance the analysis one step further in a coherent way - all the while operating under the strategy of taking the common elements of competing syntactic analyses.
As an initial approximation , suppose predictions define the unit of licensed parse continuation. Then if a is ambiguously ei ther A1 or A2 and the rules S -> A1 B z and S -> A2 B y are being considered while parsing astring that begins with a, it will initially be unclear whether to reduce a as A1 or .4 2 . However in either case it is pr~di~ted that a B will come next in the inp~t. Thts common predtctwn can hcense the construct ion of a B and eventually allow the parser to see the disambi guat.ing x at the end of the string. The same principle operat.es in a more com plex way when parsing the VP know that big red blocks . .. given a determmer-noun agreement mechanism; if that can be either Camp or Det , it is initially unclear which interpretation to take. However , the competing syntactic analyses agree that an NBAR is possible after that. Thus the construction of !'\BAR is licensed , and the agreement mechanism can rule out the determiner inter pretation once the NBAR is built .
* Some modificat ion is necessary in order to a.ccommodate analyses that disagree only on node features.
Closer scrutiny reveals that intersection of predictions is not actually the appropriate operation here . Suppose B above sur faces as k-b, another constituent C surfaces as k ·c, and the rule S --> AtCz is possible. The construction of either Bor C should be licensed after the initial a; in fact, B and C can always be distinguished by the time they have been completely scanned. However, only B is licensed if we take the intersection of all predictions. In seeming contradiction to the principle of taking common elements of competing analyses, predictions should be subject to union rather than intersection.
The contradiction is resolved by noticing that in any deter ministic parser, it is necessary to say what counts as part of the syntactic analysis subj,ect to determinism. In Marcus's parser, packet acttvatwns don t count ; in cantrast to features , they may be both added and removed. Packet activation licenses the inter pretation of certain elements in certain ways if they occur , but it does .not commit the parser to expecting those elements. (Node creatwn and attachment, on the other hand, are subject to de terminism.) Predictions in the CFG framework license possible interpretations in the same way, hence they should not be sub ject to intersection; rather, the interpretations that are actually imposed should be intersected.
lf some operations involve the union rather than the inter section of possibilities, an immediate question is why the parsing method does not degenerate to the full Earley algorithm. In this sketch, that question is where the coherence requirement comes in. In the assertion-set framework, the simplest require ment to impose is one of shape compatibility. In the case of that ambiguity, even though we cannot initially decide whether that is a complementizer or a determiner, in either case it bears the same structural relationship to the next constituent (commanding the NBAR of NP, or commanding the S of SBAR) .* lf different anal yses must place constituent boundaries in the same place but may disagree about constituent identity, dotted-rule items will not re quire a return address as they do in the full Earley algorithm. In the above example, the possibilities (Al 0 1) and (A2 0 1) are shape-compatible and can intersect to the featureless lump ( * 0 1). When the end of a dotted rule is reached, such lumps can be back-traversed to find the left edge of the completed con stituent . Thus the coherence requirement of shape compatibility allows the parser to use a finite "packet structure," as indeed it must if information monotonicity is not to be vacuous.
Preliminary investigation suggests that shape compatibility can help in many troublesome cases, e.g. that-ambiguity and for-ambiguity. Other cases such as PP-attachment ambiguity will require mechanisms to be extended. As one possibility, limited lookahead promotes coherence by filtering out shape incompatible possibilities that would die soon anyway. Exten sions will also be required for full attention-sl)ifting behavior.
Ideally, CFGs and dotted rules should be dispensed with and the feature bundles of assertions should drive the entire analysis. By separability, this is feasible only if the feature system that is used can support a parsing interpretation for individual fea tures. A feature system under development by Reuland (1984) is especially interesting in this regard, since each of his features describes a separate aspect of the combinatorial possiblities of a syntactic category. However, the standard X features I±N ,±V] also are individually relevant to Case-assignment rules and other constraints that could be exploi ted in parsing. In addition some rases of parsing ambiguity that have been thought to r~quire att entwn-shtftmg mtght be analy zed in terms of other common elcments between competing analyses besides those mentioned here. For example, a fact closely related to shape compatibility is that English that must begin some kind of X projection, whether 11 1s the specifier (Det) or the head (Camp) ofthat projection .
* The possibilities sha.re the sa.me skeleton, in the sense of Levy a.nd Joshi (1978).
@inproceedings{ijcai1985p151,
title = {Parsing with Assertion Sets and Information Monotonicity},
author = {Jr., G. Edward Barton and Berwick, Robert C.},
booktitle = {Proceedings of the Ninth International Joint Conference on
Artificial Intelligence, {IJCAI-85}},
publisher = {International Joint Conferences on Artificial Intelligence},
editor = {Aravind Joshi},
pages = {769--770},
year = {1985},
note = {Natural Language},
url = {https://ijcai.org/proceedings/1985/151},
}
TY - CPAPER TI - Parsing with Assertion Sets and Information Monotonicity AU - Jr., G. Edward Barton AU - Berwick, Robert C. T2 - Proceedings of the Ninth International Joint Conference on Artificial Intelligence, IJCAI-85 PB - International Joint Conferences on Artificial Intelligence PY - 1985 SP - 769 EP - 770 UR - https://ijcai.org/proceedings/1985/151 ER -Copied
Machine-readable versions of this paper, for tools and AI agents:
Welcome
Future Conferences
AI Journal Division
IJCAI Proceedings
About IJCAI
IJCAI Awards