Elamur Research

Another Stride Towards Knowledge-Based Machine Translation

Paper · 1986 · Masaru Tomita and Jaime G. Carbonell

Summary

A patient can describe an ache in several ways, and a translation system has to work out which details each version conveys. It needs to identify who is experiencing the pain, where it is located, and what kind of pain the patient describes. Those details belong to the situation. The order of the words and the grammatical cues that reveal their roles belong to the language. This paper asks how a system for machine translation can use both kinds of information without making grammar writers describe the same patterns again for every subject area or making domain specialists redefine the same concepts for every language.

The authors give each language a functional grammar, which describes roles such as subject and object, and give each domain a set of entity definitions, which describe the situations and objects the system needs to recognize. A medical complaint, for example, can have a person experiencing pain and a description of that pain. A pain description can in turn specify a body part and a quality. The system analyzes the source sentence into a structured representation of these details. A generator for the target language can then use that representation to express the complaint in a grammatical form of its own.

The paper’s main contribution is a way to turn these separately maintained descriptions into a parser that can apply them together. A compiler combines the grammar, the domain descriptions, the dictionary, and the word-formation rules. It produces phrase structure rules with small programs attached. The rules tell the parser which constituents can combine, while the programs check conditions such as agreement and assemble the corresponding pieces of meaning. A further compilation step produces a parsing table that the analyzer can use as the input arrives, word by word.

The authors illustrate the design with a pilot in doctor–patient communication and identify English and Japanese as the initial languages. Their worked example traces how a complaint about an ache in the chest can become a structured description of the speaker and the pain. They also cite a speed advantage over Earley’s parser in separate tests using English grammars and sample sentences. The pilot illustrates how domain knowledge and a language grammar can work together in analysis. The paper leaves open how completely the system can cover its chosen domain, how well the shared grammar will serve generation at scale, and how often a user would have to clarify an input.

Deep dive: Another Stride Towards Knowledge-Based Machine Translation

This paper explains how knowledge-based machine translation combines reusable language grammars with domain knowledge for fast parsing. · about 33 minutes to read

The problem and its context

What a translation system has to recover

Words carry different kinds of evidence about an utterance. A noun or verb can suggest the sort of situation under discussion. The grammatical relationships among the words tell the listener how the people, actions, and objects fit into that situation. In a consultation, identifying a word for pain is only part of understanding the complaint. The translator also needs to determine whose pain it is and how the speaker relates the pain to a part of the body. If the source gives a quality such as dullness, the translation has to retain that information as well.

The authors approach this as a problem in knowledge representation and reasoning. They want the analyzer to produce a canonical description, meaning a common internal form that several source expressions can lead to. A target-language generator can work from that description without having to reconstruct the original sentence. If different expressions in the source describe the same situation, the generator can choose a conventional way of expressing that situation in the target language. An analysis that identifies the wrong participant or attachment can therefore have consequences all the way through to a fluent but misleading output.

The authors see a difference between what the analyzer must accept and what the generator needs to produce. The analyzer has to deal with the form the user actually supplies. Several constructions can convey the same underlying message, including constructions a system designer would never choose as standard output. The generator has more freedom. If conveying the meaning is the immediate objective, it can select a standard construction for a given representation. The authors treat analysis in that setting as many ways of saying something converging on a common description. They also recognize that expressive output, or output intended to preserve features of the source construction, gives the generator a wider range of decisions to make.

This places substantial demands on the knowledge of the subject area. A language grammar can say which kinds of phrases may appear in a particular construction. Knowledge of the subject can say which kinds of things plausibly occupy a role in the corresponding situation. In the complaint example, the grammar helps identify a subject and an object. The subject matter determines what counts as an experiencer, a pain, and a location for that pain. The authors argue that accurate analysis, including analysis tolerant of small deviations in the input, needs access to sufficiently complete information of the latter kind.

Because of this, the paper focuses on well-defined domains. Its examples of promising applications include financial transactions, weather reports, and doctor–patient communication. Developing domain knowledge takes work up front. The authors see a case for doing that work when a large volume of texts draws on the same body of knowledge. A bounded subject also gives the developers a way to decide which distinctions the system needs to cover. For a complaint about pain, the entity definitions need a place for the quality and location of the pain because those details matter to the message the system is meant to convey.

Where earlier approaches put the knowledge

The paper places its proposal alongside earlier work in parsing. It mentions systems built around context-free grammar, augmented transition networks, and grammars that represent functional relationships and feature constraints. A context-free phrase structure rule describes how categories can combine into a larger category. An augmented transition network can associate tests or actions with progress through a grammatical structure. The functional approaches give the grammar writer a way to state relationships such as subjecthood independently of the position where the corresponding phrase appears.

As the authors describe the earlier work, systems that brought substantial semantic knowledge to parsing sometimes did so by embedding both kinds of knowledge in the recognition program. The program might understand a construction in a particular domain, but an extension could require changing code that handled other constructions or other domains. Subsequent approaches moved more of the domain information into explicit descriptions. The authors see an obstacle where the syntactic interpretation still resides in the recognizer. An editor of a domain description can inspect the roles of an entity, yet a grammar writer has no comparable external grammar in which to make a general change to the language.

The paper acknowledges earlier attempts to separate these responsibilities. It identifies Lytinen’s system as a possible precedent for keeping the sources of knowledge separate while applying them together. It also describes earlier knowledge-based translation work by Carbonell, Cullingford, and Gershman as a demonstration of technical feasibility on a limited scale. The question guiding the present paper is how to make an implementation easier to extend while keeping the benefits of analyzing a text through the situations it describes.

The authors draw a distinction between knowledge-based and transfer-based translation. In the transfer approach they discuss, a grammar mediates between particular source and target languages, with separate work needed for each direction. In their knowledge-based approach, each language is connected to a shared representation of meaning for the domain. Analysis in a source language and generation in a target language can then meet at that representation. The contrast concerns where the translation rules are written and what they take as input. There is also a practical aim behind it. The authors want a person who knows the subject and the source language to be able to clarify a difficult input without calling in a bilingual post-editor to repair the output.

Why bring entity definitions and functional grammars together?

Hayes’s entity-oriented approach organizes domain knowledge by the things a system needs to recognize. An entity can represent an object, event, state, or command. Its definition can specify what it contains, how its parts relate to other entities, and what forms in the input can express it. In a medical domain, a grammar writer can look at a complaint definition and see which part of the form supplies the patient and which supplies the description of pain. That organization makes a particular domain concept easier to inspect and revise.

The authors identify a cost to putting all that information in the entity definition. A general fact about how a language forms sentences or phrases can end up being specified individually for many entities. The grammar writer then has to carry the same linguistic knowledge from one concept to the next and from one domain to the next. Keeping each concept self-contained makes sense for the roles that distinguish it. It is much less convenient for grammatical patterns shared across a language.

Functional grammars offer the complementary organization. Their descriptions make it possible to talk about grammatical roles without expressing those roles solely through surface order. The paper uses Japanese to illustrate why that distinction matters. Case marking can supply clues about a constituent’s role even where position is a less decisive guide than it is in English. The domain meaning, such as who experiences an ache, still needs to be represented separately from the grammatical means by which a language identifies that person.

The authors group Lexical Functional Grammar and Functional Unification Grammar under the same broad label for the purposes of this design. They mention work in the PATR-II project as an example of efforts to implement such grammatical descriptions. The gap they identify in those efforts is integration with an external store of domain knowledge for the purposes of knowledge-based translation. They also regard direct use of functional grammar for analysis as relatively costly compared with simpler phrase structure techniques. Their proposal consequently has to solve a problem of representation and a problem of execution. A general grammar must be capable of describing linguistic patterns, and the running parser must be able to apply both the grammar and the domain constraints promptly.

The method, step by step

From a complaint to its parts

Consider the paper’s example of a speaker who reports a dull ache in the chest. It contains information at different levels. The sentence describes a complaint by the speaker. Within that complaint is a description of pain. Within the pain description are a location and a quality. The system’s intermediate result is a record with that nesting. The word for the ache serves as evidence for a pain entity, and the phrases and words around it help supply details of that particular pain.

The grammar writer and the domain writer have different questions to answer. A language grammar describes how to identify a subject, recognize a noun phrase, or check agreement. A domain description specifies the kind of person who can fill a role in a complaint and the kind of location that belongs in a pain record. An entity’s description can also include a surface pattern that connects the two. It can state, for instance, that the phrase functioning as the object of a complaint expression supplies the pain. This is more informative than a general grammatical rule and more specific to a language than the domain’s definition of pain itself.

The compiler links these descriptions before sentences are analyzed. The resulting parser can consult grammatical and semantic constraints at the point where a combination is being considered. A rule can recognize a subject and a predicate as parts of a sentence, test whether they agree, and carry information about the subject into the semantic record for the sentence. The generator uses the resulting record as the input from which it produces a target expression.

From separate knowledge sources to translation

The steps in order.

From separate knowledge sources to translationStep 1: Define domain entities and their semantic roles1. Define domain entities and their semantic rolesStep 2: Write functional grammars for the languages2. Write functional grammars for the languagesStep 3: Compile grammar, entities, dictionary, and word formation3. Compile grammar, entities, dictionary, and word formationStep 4: Build an augmented parsing table4. Build an augmented parsing tableStep 5: Analyze incoming words and apply rule actions5. Analyze incoming words and apply rule actionsStep 6: Assemble a language-independent meaning representation6. Assemble a language-independent meaning representationStep 7: Generate an expression in the target language7. Generate an expression in the target language

Specify the domain entities

An entity definition is a description of a type. It specifies the fields that instances of that type can have and the kinds of values allowed in those fields. In the example domain, the complaint is an event and the pain is a separate entity that can be included within it. The complaint includes an agent whose value is human and a field for the pain. The pain description includes a location whose value is a body part and a field for the kind of sensation. This organization lets the complaint carry a structured pain description as a whole.

The paper’s sample definitions connect some of those fields to recognizable forms. The complaint fragment associates a sentence pattern with verbs such as have and feel. Its subject supplies the person and its object supplies the pain. The pain fragment associates the entity with noun phrases headed by words such as pain or ache. A prepositional phrase with in can introduce the location. When its complement describes a body part, the internal pain record can carry that part as the location.

There are therefore two separate choices in describing a pain location. One is that a pain in this domain can have a location expressed as a body part. That is a statement about the entity. The other concerns how an English expression brings that information into a pain phrase. That is information about the form. A different surface pattern can point to the same field. The representation can keep the location stable across changes in how it is expressed, as long as the analyzer has a pattern that connects the expression to that field.

The authors give several forms the complaint description ought to accommodate. Some are statements by a patient about an ache or a burning sensation. Another is a statement that denies feeling pain, and another is a question about whether an ache was experienced. This collection shows the range of forms relevant to the medical exchange. The paper supplies a worked internal record for the chest-ache statement. A reader can use it to see how the pain structure is populated, while the examples involving denial and questioning identify additional forms an analyzer for the domain has to contend with.

In the worked record, the experiencer is the speaker, the location is the chest, and the quality represented by dull is recorded as diffuse. These details show how the analyzer goes beyond passing on the sequence of words. It gives the downstream component a place to look for each role and records a domain value for the pain quality. That interpretation also illustrates the purpose of a shared domain record. A language can supply its own expression for a diffuse pain while using the same field that the source analysis has filled.

Entity definitions support reuse within an analysis as well as across languages. A description of a body part supplies information to the pain definition because the latter calls for a body part in its location field. The pain definition supplies information to the complaint because the complaint has a field for pain. Each constituent can thus contribute a smaller record to the larger one. The worked complaint gives a concrete example of what the relation between entities buys the analyzer. The person and the pain are distinguishable, and the location is associated with the pain inside the complaint.

Describe the language in terms of grammatical functions

The functional grammar describes how expressions are organized in a particular language. A subject is a grammatical function, whereas the pain experiencer is a role in the domain description. For this complaint pattern, the grammar identifies the subject and the entity pattern associates it with the human participant. This separation lets a grammar talk about subjects across domains. A complaint definition then has to specify what the subject means in a complaint expression, without rewriting the general rules that identify a subject.

The functional descriptions include attributes that can be assigned and checked. An agreement attribute can be carried by a verb and a larger phrase that contains it. When that phrase combines with a subject, a rule can compare their attributes. Such an operation concerns the form of the sentence. A different operation can copy the meaning of the subject into the complaint’s agent field. Both operations can be applied during the same reduction, even though one derives from linguistic knowledge and the other from the connection between linguistic form and an entity.

The paper refers to functional structures, or f-structures, as an input to compilation. They organize information through grammatical functions and features. Phrase structure, by comparison, describes the grouping of words and phrases. A noun phrase and a verb phrase can combine as constituents of a sentence, and the functional information can say that the noun phrase serves as the subject. The compiler can use constituent patterns to guide recognition while turning functional information into operations that assign features or check whether assignments are compatible.

This distinction is important for the scope of reuse. The language grammar is written to apply across domains. In a new domain, the same kind of subject construction can be used with new entities and new mappings between grammatical functions and domain roles. A domain description is written around concepts that can be shared across languages. To use those concepts with another language, the system still needs the language’s grammar and the forms that express the relevant entities. Sharing the semantic record and preparing its linguistic realizations are separate pieces of work.

Compile a language and domain into rules with actions

The first compilation stage brings together the functional grammar and entity definitions with the dictionary and morphology. Morphology concerns the forms that words take. The compiler incorporates the information needed to recognize a word’s form and carry relevant attributes into larger constituents. The output is a potentially large grammar of phrase structure rules. Its categories can reflect domain distinctions, as when a verb phrase is specifically associated with a complaint.

Each rule has attached Lisp code. In the direction of analysis, this code can test a condition, pass a value upward, or assign a role in a newly constructed record. The authors also specify a generation program for each rule. These are programs synthesized by the precompiler from the grammatical and entity descriptions. The developers author those descriptions, and the compiler turns them into the operations that will accompany individual rules. Further compilation of the Lisp programs into machine code is possible in the design.

The paper presents its procedure through grammar productions and examples of the generated code. The following production restates the first rule of the compiled complaint fragment with readable labels.

Complaint-S → Patient-NP Complaint-VP

Complaint-S is the category for the completed complaint sentence. Patient-NP is the noun phrase that identifies the patient, and Complaint-VP is the accompanying complaint verb phrase. S stands for sentence, NP for noun phrase, and VP for verb phrase. The arrow gives the production’s constituent structure. In analysis, the right-hand constituents can be reduced to the category on the left when the associated tests succeed.

The rule’s action compares agreement information and can reject the proposed combination if the values conflict. It takes the semantic case information from the verb phrase and adds the meaning of the patient noun phrase as the agent. A semantic case describes a role in the situation, such as the complaint’s agent. The action also records the noun phrase as the syntactic subject. Thus the same recognized constituent supplies information to both records, with the role identified separately in each.

A production lower down in the fragment shows where the verb phrase gets information from its verb.

Complaint-VP → Complaint-V

Complaint-VP is the verb phrase associated with the complaint. Complaint-V is a verb recognized in that complaint use, and V stands for verb. The arrow says that the verb can constitute the whole verb phrase for this production. The attached program carries the verb’s semantic information, agreement value, and form into the new phrase. It also records the verb in the phrase’s syntactic information as the predicate.

The next production supplies a lexical basis for that verb category.

Complaint-V → Ache-V

Complaint-V is the complaint verb category, and Ache-V is the lexical category associated with the verb ache. The arrow indicates that this lexical verb can support a complaint verb analysis. The action assigns a complaint frame to the resulting constituent and passes along information about form and agreement. Here a frame is the collection of roles used to describe the relevant type of situation.

Read from the bottom up, the fragment shows how a lexical item acquires a domain interpretation and how that interpretation is preserved as the parser builds larger constituents. The agreement information travels with it until the parser has an opportunity to check it against the subject. At the sentence level, the subject’s meaning fills an open role in the complaint. The paper gives this compiled fragment and the record for the longer chest-ache example as illustrations of the architecture at different points. The fragment shows an action for a particular set of productions, while the longer example shows the kind of nested representation a complete analysis can return.

An important property of the design is when these operations are specified and when they are executed. The precompiler determines the structure of the rule and synthesizes the code associated with it before input arrives. Whether particular words have compatible agreement values and which body part a patient mentions can only be decided while analyzing an utterance. Those decisions are made by the generated programs during parsing. Grammar construction prepares actions in advance whose effects depend on the constituents recognized at run time.

Compile the rules into a parsing table

The authors then compile the augmented grammar into an LR parsing table. In the paper’s design, the table supports Tomita’s extension of LR parsing for context-free grammars. A table organizes the parser’s decisions in advance so that recognition can proceed from the current analysis state and the incoming input. When a phrase structure rule is applied to reduce constituents, its associated program is evaluated. The phrase structure machinery supplies the candidate combination. The program can determine whether the combination is compatible with the constraints and construct the result that the larger phrase will carry.

This division of labor allows the table to handle the order and grouping of constituents while the attached code handles details such as agreement and the construction of a semantic case frame. The executable grammar may contain many specialized rules because compilation brings general linguistic patterns into contact with particular entities. The authors expect such a grammar to be harder for a person to read than the original descriptions. A developer has the general grammar and the entity definitions to inspect when making changes, while the parser has the expanded rules and table arranged for execution.

The parser reads input from left to right. In interactive use, it starts analyzing when the user has supplied the first word. It can perform work on the prefix while the user continues to type. If a problem is already recognizable from the words entered, the parser may report it before the sentence ends. This is useful for a typing error or a grammatical problem that makes the current continuation untenable. Where a sequence remains compatible with more than one interpretation, later input may still be needed to decide how its parts fit together.

The term on-line in the paper describes this ability to process input as it arrives. It is also distinct from the authors’ proposed incremental compilation. On-line parsing concerns a user adding words to an utterance. Incremental compilation would concern a developer changing the grammar or dictionary and wanting the affected compiled structures updated rapidly. The running analyzer is designed for the former. The authors identify the latter as work still to be explored.

Generate from the resulting meaning

The target generator receives the language-independent representation. For the chest-ache example, the intended input to generation specifies the experiencer, the existence of the pain, and the location and quality recorded by the analysis. A target grammar determines how to express that content. Because the representation already identifies the semantic roles, generation can start from those roles when selecting a grammatical expression rather than starting from the source word order.

The paper’s proposal for reversibility is at the level of the authored grammar. A description that relates a grammatical form to its function and meaning can, in principle, be used to look for a form when given a function and meaning. The implementation can compile that description into a structure suited to recognition and a different structure suited to generation. The parsing table described in detail is for the recognition direction. The fact that the starting description is shared leaves a practical question about how effectively it can be compiled and used in each direction.

The worked meaning record is also intended to be accessible to other kinds of applications. The paper mentions a paraphraser, a database query system, and an expert system as possible consumers. The relevant property for translation is that the representation exposes roles that downstream software can inspect directly. If the analyzer reaches a difficulty the domain knowledge cannot resolve, the interactive architecture also makes room for clarification by someone who understands the subject. The authors envisage that interaction taking place in the source language.

How the system acquires its knowledge

The procedure begins with authored resources. Developers specify the domain entities and allowable values, describe forms and their connections to those entities, and prepare the language grammar and lexical information. Compilation creates the specialized grammar and table from these inputs. There is no training split or parameter estimation procedure in the method. The sample sentences serve to illustrate forms and interpretations relevant to the pilot, and the timing comparison cited by the authors comes from work on parsing algorithms.

The unit of reuse is an authored source of knowledge. A language grammar can be recompiled with an additional domain, and a domain can be used with another language whose grammar and surface descriptions have been prepared. Compilation generates the executable structures for the chosen combination. The amount of work this saves depends on how often a new combination can use the existing descriptions without requiring revisions to them. The pilot illustrates the mechanics of combining the resources, which is a prerequisite for measuring that broader saving.

Experiments and results

The medical pilot

The pilot covers a restricted part of doctor–patient communication. The authors choose it because the meanings they need to represent are relatively self-contained while the expressions have enough grammatical variety to exercise the analyzer. The initial complaint provides the main worked example. A patient may use an ache noun, describe a sensation with a pain phrase, or name a body part in which the pain occurs. These expressions supply different pieces of evidence for a representation whose organizing categories are the complaint, the person, and the pain.

The paper’s worked input about a dull ache in the chest shows which pieces of a particular utterance the system preserves. The semantic output identifies the speaker as the person experiencing the pain. It places the chest in the pain’s location field and represents the sensation as diffuse. These are observable features of the output the authors display. A reader can trace the relevant expressions in the input to the fields in the resulting record and see that the location and quality are nested under the pain.

The compiled grammar fragment shows a separate part of the implementation. Its productions build a complaint from smaller constituents and its attached programs carry semantic and grammatical information across those steps. The rule that combines the subject with the predicate includes an agreement check. If it succeeds, the rule can place the subject’s semantic information in the agent field while preserving the role of the subject in the syntactic record. The fragment demonstrates what the precompiler has to produce in order for a general parser to execute a domain-specific construction.

The complaint utterances are examples of the domain and its forms. The paper gives no corpus size, partition into development and test material, or set of reference translations. It reports no aggregate measure of meaning recovery or translation quality for the pilot. Its evidence is qualitative. The entity definitions, the generated rules, and the instantiated record demonstrate different stages of the analysis. A reference translation and an independently judged collection of outputs would be needed to turn that kind of demonstration into a measurement of how well the target sentences work across the domain.

English and Japanese are named as the initial languages, but the paper gives no comparative scores by language or by direction. In particular, the examples of English sentence analysis cannot establish how frequently the same semantic records are obtained from Japanese input. The reported result is an implementation example in the selected domain, with the proposed translation architecture around it.

The parser timing comparison

The numerical performance evidence concerns the parsing algorithm selected for the system. The authors cite several comparisons using English grammars and sample sets of sentences. Earley’s algorithm is the baseline, and the measured quantity is parsing speed as assessed by timing. The authors describe a speed advantage for Tomita’s algorithm of severalfold, with a lower figure of 5 times the speed of Earley’s algorithm in those comparisons. The paper gives the result as a range across tests instead of giving a timing for each sample or grammar.

That comparison supports the choice of a table-driven context-free parsing algorithm. The table is prepared in advance, and the authors say that once it has been obtained, the parser’s efficiency is independent of the size of the grammar from which it was produced. They see this as particularly significant because the combined grammar could become large. A grammar that specializes rules for domain entities can expand during compilation even when its source descriptions remain relatively concise.

The figure of 5 belongs to the English grammar and sentence-sample comparison. It is a relative speed figure for the parsing algorithms. The paper gives no absolute processing time, timing breakdown for the Lisp actions, table construction time, or measure of latency from an incoming complaint to its translation. Processing a prefix while a user types can reduce the amount of work left at the end of an utterance, but the paper explains that benefit through the operation of the parser and gives no interactive timing series.

The projected number of grammars

The paper also gives a numerical comparison of development requirements. This is an architectural calculation. It concerns the number of grammars that would be required for a multilingual system under the authors’ assumptions about how each approach is organized. It is distinct from the timing tests and from the medical examples.

Let N denote the number of languages involved. For the knowledge-based architecture, the paper gives the following grammar count.

N

N is both the number of languages and, in this count, the number of bidirectional language grammars, since a grammar for a language can be compiled for analysis and generation. The count assumes that those two uses work with a shared meaning representation for the domain.

For conventional transfer in the comparison, the paper describes the order of the grammar count using this expression.

N²

N again denotes the number of languages. The superscript ² denotes squaring. The expression gives the order of growth, since the comparison assumes that transfer rules have to be authored for individual language pairs and directions. The paper uses that reasoning to contrast the amounts of directional transfer work and language-specific grammar work.

For a set of 72 languages, the authors project 72 functional/entity grammars against over 5,000 transfer grammars. The lower bound in the chart therefore stands for the paper’s phrase over 5,000. The comparison uses grammar count as its measure and has no sentence dataset. It assumes successful reuse in both directions for each of the languages in the proposed architecture.

Projected grammar counts for translation among 72 languages

The shared meaning representation reduces the number of grammars under the paper’s development assumptions.

Projected grammar counts for translation among 72 languagesDirection-specific transfer grammars, lower bound: 5,000Direction-specific transfer grammars,lower bound5,000Bidirectional functional/entity grammars (this paper): 72Bidirectional functional/entity grammars(this paper)72
The numbers
System or settinggrammars
Direction-specific transfer grammars, lower bound5,000
Bidirectional functional/entity grammars (this paper)72

The count addresses how frequently language-specific grammar descriptions have to be prepared. It leaves open how much work an individual grammar requires, how much work it takes to specify a domain, and how many compiled configurations must be built and maintained. The value of the comparison is that it identifies the source of the expected saving. Connecting each language to the common representation can make that connection usable with other languages already connected to it. The medical pilot does not measure the cost of writing or validating these resources for the set of 72 languages.

What the ablations show

The paper reports no ablations, and its analyses consist of worked representations and generated rules, a comparison of parsing algorithms, and a calculation of grammar requirements.

What the worked rules let a reader inspect

The generated code illustrates where grammatical constraints and semantic assignments enter the analysis. In the sentence production, the agreement check precedes construction of the completed record. The rule then copies the semantic information of the verb phrase and uses the subject constituent to supply the agent. A reader can inspect these operations individually. The code makes it possible to see which operation is responsible for rejecting an incompatible subject and which is responsible for giving the complaint an experiencer.

This is evidence about how the system works in the example. It does not give a frequency for errors caught by the agreement constraint or for ambiguities resolved by the entity definitions. Those questions would require running the analyzer with selected information withheld and comparing the resulting analyses on shared inputs. The paper’s worked rules demonstrate that the compiled representation has a place for both constraints and semantic construction. They leave the empirical contribution of each type of knowledge to be measured.

The examples of surface variation illuminate a related point. The complaint descriptions can associate different forms with the same domain concept. For the chest-ache sentence, the output shows the values associated with the speaker and the sensation. The examples also include an inquiry and a denial. Each would require an analysis that preserves its communicative function along with the situation it concerns. The paper gives no paired records for these different forms that would show exactly which properties the system shares across their analyses and which properties it distinguishes.

What the comparisons actually vary

The timing comparison varies the parser. Its reported advantage speaks to the use of Tomita’s algorithm with English grammars and sentence samples. It does not isolate the effect of compiling semantic entity knowledge together with a functional grammar. A comparison about that effect would need alternative implementations applying comparable grammatical and semantic constraints on a common input set. The cited timing tests establish that the authors have a reason to choose one parsing algorithm over the other. The cost of the full chain of domain-specific checks remains a separate measurement.

The grammar-count calculation varies the way languages are connected. In the transfer case, the language pair and direction determine which grammar is needed. In the proposed architecture, the connection from a language to the shared representation can serve multiple target languages. The resulting difference in counts follows from that change in organization. The calculation is informative about the consequences of successful reuse. It contains no observation of grammar writing or maintenance across the projected language set.

The paper’s treatment of on-line behavior offers an analysis of when work can be done. A left-to-right analyzer can process a prefix before the utterance is complete and can report a problem once it becomes detectable. In a batch application the full text is already present, so the user-facing benefit of an early warning during entry does not arise. The underlying ability to process a prefix is the same. The paper gives these cases to explain why the parsing order matters and leaves the size of the latency improvement unmeasured.

Taken together, these analyses address different design questions. The rule fragment shows how a candidate construction acquires both an acceptability check and an interpretation. The timing comparison informs the choice of the parser that will invoke those actions. The projected grammar counts explain the incentive for keeping domain meaning separate from each language’s grammar. A measurement of the whole system would have to connect these pieces by following an input through analysis, any clarification, and final generation.

Limitations

Limits the authors state

The authors restrict the practical case for their approach to domains for which sufficiently detailed semantic knowledge can be specified. The analyzer uses that knowledge to determine what the input means and to help resolve grammatical choices. Its ability to draw those distinctions depends on having relevant entities and constraints. A domain with much unfamiliar content would call for more preparation, and the authors see the initial cost as easiest to justify when the same knowledge can be used over a large volume of material.

Even in the medical pilot, they describe more complete subdomain coverage as a goal. The worked complaint illustrates a recognizable event with a relatively direct structure. A wider range of inputs would require more surface forms and enough domain knowledge to interpret them. The authors also envisage asking the source-language user for clarification when the available knowledge is insufficient. Their objective is to make that intervention rare and to remove any dependence on a bilingual post-editor. The paper presents these as objectives for the system’s development.

Reversibility is another explicit open issue. The authors say that the theoretical ability of a functional description to relate forms and meanings in either direction still needs validation in large implementations. Their proposal for separate compiled structures for parsing and generation is intended to make each direction efficient. A successful example of generating one structure from the common description would leave a further question about whether that procedure scales to a broad collection of grammatical patterns and domain entities.

The paper also limits its treatment of expressive generation. Its simpler account assumes that the generator can choose a well-defined realization of a given meaning. More expressive translation, or translation that aims to preserve features of the source construction, would need a generator with wider choices. This caveat matters to the authors’ claim that analysis is the more difficult direction. The claim depends on the kind of output considered acceptable. The broader the generation requirements, the more distinctions the generator may need to make from the available representation.

The authors identify robust treatment of ill-structured input as important, especially in domains with short interactive utterances. They report earlier experience with selective relaxation in MULTIPAR, where syntactic and semantic constraints could be relaxed during recovery. They had yet to investigate how to apply or extend those methods to the functional and entity-based architecture of this paper. A parser’s ability to flag an error early and its ability to recover a valid interpretation from the input are distinct. The on-line design helps with notification, while the authors leave recovery in this architecture as further research.

Other development goals involve the cost of modifying and extending the system. The authors consider incremental compilation as a way to shorten the cycle when a developer changes a large grammar. They also consider an interface that would let a user add lexical entries and entities without knowing the internal implementation. They regard extending the domain semantics as more difficult than adding dictionary entries. Speech input and output are longer-term objectives, with a related project investigating recognition and semantic analysis of spoken English.

Limits visible in the evidence

A reader can verify the contents of the worked semantic record against the sample utterance. The paper does not supply a representative body of annotated complaints against which to check the analyzer’s choices. It therefore leaves unanswered how often the system assigns the correct entity, participant, pain quality, and location when confronted with varied input. It also leaves open the distribution of failures. An unrecognized expression, an incorrect grammatical connection, and a missing entry in the domain knowledge would call for different changes, but the demonstration gives no failure counts by cause.

The source examples vary in ways that matter for translation. A question about a previous ache and an assertion that there is no pain both involve the concept of pain. Their interpretations still need to distinguish the question, the assertion, and the denial. The chest-ache record shows how the participants and pain details of an affirmative example are organized. It supplies no corresponding evidence about the representation or generation of the other forms. The scope of the example should therefore guide conclusions about which aspects of meaning the implementation has been shown to preserve.

There is also a distinction between recognizing an acceptable source analysis and producing an acceptable target sentence. The shared representation can support generation only to the extent that it retains what the target expression requires. The paper’s record makes several important distinctions explicit. It contains no systematic target-language evaluation that would show whether other distinctions are lost or whether the generator consistently expresses the fields it receives. The proposed preservation of meaning is a property to establish for a language pair and domain, with the shared representation providing a way to specify what should be preserved.

The retiming of work through compilation has costs that would matter in a larger system. The authors describe the combined grammar as potentially large and the parsing table as larger still. The paper gives no compiled sizes, memory measurements, or recompile times for the pilot. A grammar may remain usable at the point of entry even if it is expensive to rebuild after a change. Conversely, a manageable compilation process says little about the time needed to run semantic tests on difficult inputs. The English parser timings give evidence for the recognition algorithm under the cited test conditions. They leave the costs of those other operations unresolved.

The proposed extensibility has a similar evidence boundary. The organization provides a way to add a grammar or a domain as a distinct resource. Demonstrating effective reuse would require showing what happens when the same language grammar is applied to a substantially different domain or when an additional language is connected to the same domain. Either extension might reveal constructions or conceptual distinctions missing from an existing description. The paper reports an initial domain and language choices and presents broader coverage as the next stage of validation.

Finally, the grammar-count projection relies on comparable units. A functional grammar linked to domain entities and a directional transfer grammar are counted as grammars, although the paper does not measure how their authoring efforts compare. The projection gives the expected number of descriptions under the chosen architecture. It cannot by itself predict the labor needed to build new language grammars, prepare surface expressions, complete the domain knowledge, or verify translation in both directions. Those costs determine how much of the projected structural saving would translate into practical savings.

What came after

The paper records a research program in progress. It gives no account of subsequent work citing the proposal or of completed follow-up evaluations. The closest related work it describes is a parallel effort at Carnegie Mellon to connect speaker-independent continuous speech recognition with a semantic case-frame parser for English. A case frame represents a situation through roles such as its participants and related objects. That makes the speech effort relevant to the translation proposal, whose analyzer likewise needs to turn a sequence of words into a structured account of who did or experienced what. The authors describe the parallel effort as moving toward compiled parsers and expect it to inform a later attempt at speech translation.

For the translation pilot itself, the next extension the authors discuss is deeper coverage of the medical subdomain. Wider coverage within the same subject would test whether the entity definitions and general grammar could handle more ways of expressing a complaint. They also report beginning to investigate Spanish, French, German, and Italian. This line of work would test whether the common domain representation can accommodate more languages with their own grammatical cues and surface expressions. Extending the system to another domain would exercise the reuse claim from the other direction, by asking an existing language grammar to work with different entities.

The plans for compilation focus on what happens once the initial resources exist. If a grammar writer changes a construction or adds a lexical entry, it would be useful to update the affected compiled structures quickly. The authors note prior success compiling earlier parsers and identify incremental compilation as a new technical problem. Their proposal for user extensibility addresses a related issue in authoring. A user familiar with the subject could potentially contribute a term or an entity through a structured interface, with that contribution interpreted alongside existing grammatical and semantic knowledge. This is a research direction in the paper, with no implementation outcome given.

The authors also describe the creation of the International Center for Machine Translation at Carnegie Mellon, with an investigation of the functional grammar and entity-oriented approach as its first major project. The planned program connects the paper’s design to the work needed to assess it on a larger scale. Adding languages would test the shared representation. Changing domains would test the general grammar. Compiling for generation would test practical reversibility. The pilot provides the architecture and a worked analysis from which those investigations could proceed.

Cite

Cite as Masaru Tomita and Jaime G. Carbonell. 1986. Another Stride Towards Knowledge-Based Machine Translation. Coling 1986 Volume 1: The 11th International Conference on Computational Linguistics.

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{tomita1986another,
  title = {{Another Stride Towards Knowledge-Based Machine Translation}},
  author = {Masaru Tomita and Jaime G. Carbonell},
  booktitle = {Coling 1986 Volume 1: The 11th International Conference on Computational Linguistics},
  year = {1986},
  doi = {10.1184/r1/6603530},
  url = {https://doi.org/10.1184/r1/6603530}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/tomita-1986-another-stride-knowledge-based-machine/