---
title: "Development of an Enterprise-Grade Contract Understanding"
description: "Development of an Enterprise-Grade Contract Understanding System explains how TECUS uses linguistic rules and reviewer feedback to…"
canonical: "https://research.elamur.ai/free/en/papers/agarwal-2021-development-enterprise-grade-contract-understanding/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/agarwal-2021-development-enterprise-grade-contract-understanding/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2021](https://md.research.elamur.ai/free/en/papers/2021/) / Development of an Enterprise-Grade Contract Understanding System

# Development of an Enterprise-Grade Contract Understanding System

Paper · 2021 · Arvind Agarwal, Laura Chiticariu, Poornima Chozhiyath Raman et al.

**Authors:** [Arvind Agarwal](https://md.research.elamur.ai/free/en/authors/arvind-agarwal/), [Laura Chiticariu](https://md.research.elamur.ai/free/en/authors/laura-chiticariu/), Poornima Chozhiyath Raman, [Marina Danilevsky](https://md.research.elamur.ai/free/en/authors/marina-danilevsky/), Diman Ghazi, [Ankush Gupta](https://md.research.elamur.ai/free/en/authors/ankush-gupta/), Shanmukha Guttula, [Yannis Katsis](https://md.research.elamur.ai/free/en/authors/yannis-katsis/), Rajasekar Krishnamurthy, [Yunyao Li](https://md.research.elamur.ai/free/en/authors/yunyao-li/), Shubham Mudgal, Vitobha Munigala, Nicholas Phan, Dhaval Sonawane, Sneha Srinivasan, Sudarshan R. Thitte, Mitesh Vasa, Ramiya Venkatachalam, Vinitha Yaski and [Huaiyu Zhu](https://md.research.elamur.ai/free/en/authors/huaiyu-zhu/) · **Year:** 2021 · **Venue:** Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies: Industry Papers · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

[**3** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W3170261061) · [Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies: Industry Papers](https://aclanthology.org/volumes/2021.naacl-industry/) · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2021.naacl-industry.28/)
- [PDF](https://aclanthology.org/2021.naacl-industry.28.pdf)
- [DOI 10.18653/v1/2021.naacl-industry.28](https://doi.org/10.18653/v1/2021.naacl-industry.28)
- [OpenAlex](https://openalex.org/W3170261061)

Citations: OpenAlex, 2026-10-14.

## Summary

A legal reviewer can read every word of an agreement and still spend much of the review keeping track of which provisions bear on each decision. A purchase provision, for example, may set a price and commit a named party to an action. The subject of the provision, the commitment it creates, and the party concerned are different pieces of information. TECUS, the commercial contract analysis system described in this paper, makes each available as a way to navigate the agreement. It also finds details that a reviewer may want to check directly, such as a currency mentioned in a provision or the date on which the contract takes effect. Enterprises had been using the system since 2017. The paper examines how it analyzes individual agreements and how the team maintains that capability as users bring it new material.

TECUS uses [semantic role labeling](https://md.research.elamur.ai/free/en/concepts/semantic-role-labeling/) to describe the relationships within a provision, including the connection between an action and its participants. Developers write explicit rules that turn patterns in this description into legal review labels. A separate [information extraction](https://md.research.elamur.ai/free/en/concepts/information-extraction/) task finds items such as organizations and amounts. Reviewers see the results alongside the agreement and can flag a label for removal or supply one that is missing. When TECUS identifies other passages linked to the same linguistic pattern, it asks the reviewer whether the correction fits those passages too. The developers can use the same connection to investigate the responsible rule, the linguistic analysis that preceded it, and the reference judgment against which the result was assessed.

The authors test how well classification transfers from procurement agreements available inside IBM to procurement agreements collected from the web. On the web test, the reported micro-F1 comparisons favor TECUS by factors of 1.3x against a bidirectional long short-term memory classifier, 2.09x against a convolutional neural network, and 2.58x against logistic regression. Micro-F1 summarizes how well the system finds the labels that belong on the passages while keeping erroneous assignments in check, with decisions pooled across labels. In a separate development series, the team increases the number of supported categories from 10 to 23 and reports steady precision and recall during the expansion. On material relevant to a particular customer, both scores rise during development informed by other customers, then rise further during a period when the team incorporates that customer's own feedback.

The paper connects the design of a classifier to the practical work of correcting it. A wrong result can originate in the rule, in an earlier stage such as document conversion, or in the reference label itself. A record of how the result was produced gives developers a way to pursue those possibilities before making a change. The procurement comparison measures the performance of the complete approach on a particular transfer test. The development histories show what the team achieved while it expanded coverage and incorporated feedback, leaving the effect of each individual design choice unresolved.

## Deep dive: Development of an Enterprise-Grade Contract Understanding System

How TECUS uses linguistic rules to find contract provisions, how legal reviewers correct its labels, and how it fares on unfamiliar agreements. · about 34 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### Reading an agreement for a business decision

An agreement creates commitments that the parties may be required to honor. Before accepting those commitments, a business may ask legal advisers to examine the language and identify terms that differ from what the business is prepared to accept. The authors cite an estimate of 5 hours of legal review for an average procurement contract. Their motivation is the work involved in getting from a long document to a set of provisions whose wording matters to a decision. That work recurs in several settings, each with its own priorities.

During procurement negotiations, there may be numerous agreements to consider and a compliance checklist to consult. In accounts receivable, language bearing on cash flow may deserve particular attention. A review concerned with early termination may need both the period of notice and a possible penalty. Those details could be useful to the same person even if they appear in different places and belong to different kinds of output. What matters about the text depends partly on the decision that prompted the reading.

These examples explain why the authors begin their [natural language processing](https://md.research.elamur.ai/free/en/concepts/natural-language-processing/) work by defining the outputs with legal specialists. Contract understanding names an area of activity without specifying a standard input and output for a computational task. A request to identify the provisions about pricing asks for a judgment over passages. A request to find the named organizations calls for marking expressions within the text. A request to find when the agreement takes effect asks which date has a particular legal function. An implementation needs to give each of these questions a concrete target before the team can assess an answer.

The method centers on review of an individual document. The broader system also compares agreements at clause level. In that setting, one task is to find clauses that are identical, another is to find clauses on a shared subject whose contents differ, and a further task is to identify provisions that have no counterpart in the other document. Those decisions depend on relationships across agreements. The single-contract task begins with a different question about what a provision says and how to make the relevant portions of one agreement accessible. The authors set the comparison component aside because of space.

#### Why available agreements give an uneven picture

A development team can encounter a shortage of representative material even when contracts are plentiful in the businesses that use them. Companies may treat the documents as proprietary. What developers can obtain may consequently represent the language of only some organizations or lines of business. A collection from a particular source can supply repeated examples of one drafting convention while telling the team little about how an agreement elsewhere expresses the same commitment.

Labeling adds a separate constraint. To decide which labels should go on a provision, the team needs people qualified to interpret the distinctions the labels represent. The authors call these people subject matter experts. Their time carries a cost, and the expense affects both the amount of material the team can label and the amount of evidence it can gather about unfamiliar cases. A set of examples suited to development may therefore offer only a partial view of both the drafting variation and the legal judgments that matter at deployment.

Recurring templates make the distinction between familiarity and coverage especially concrete. If several contracts describe a transaction in much the same wording, examples from that template are informative about others that follow it. The harder question is what carries over when the structure or phrasing changes. A purchase commitment can still have an action, a party, and an object even when the terms expressing them appear in a different arrangement. The authors' design seeks linguistic evidence at that level so that the useful part of a development example can extend beyond the precise wording in which it was first observed.

Expert input also helps specify what should count as the same kind of provision. A topic can have a clear purpose in a review and still have boundaries on which legal users differ. The authors report discovering such differences among users. For the development team, a disagreement on an example can consequently raise a question about the labeling criteria as well as a question about whether the software found the right textual evidence. The challenge is to establish a common vocabulary for most review work while giving an individual customer a practical way to tell the developers where its judgments diverge.

#### What deployment asks of each revision

The authors treat the release of a working system as the beginning of an ongoing development process. New material can reveal constructions the developers have never encountered. An expert can correct an earlier judgment. Users can ask for more coverage, either because they want an additional category or because relevant provisions within a supported category are being missed. All of these changes occur while the software is already supplying information to people who have established ways of working with it.

Predictability has a practical meaning in this setting. If the team changes how a category is assigned, it should be possible to investigate which conditions led to the change and why a given provision now appears in a review. Developers also need to notice whether improvements on new examples coincide with problems elsewhere. The paper's discussion of stability is motivated by this continuing dependence of business processes on the classifications, and its design gives developers a way to connect a decision to an identifiable part of the system.

A useful distinction follows from the production setting. Adding a category is an intended change to what a user can find. Correcting a label when a clause was previously misread is also an intended change. The concern is over collateral changes, or changes whose basis is difficult to reconstruct. An identifiable rule offers a starting point for examining the reach of a revision. The results later in the paper use a broader measure of stability, the behavior of precision and recall during a period of development. These two perspectives concern different scales of the same maintenance problem.

#### Commercial systems and earlier research

The paper puts TECUS in a field that already included commercial contract analysis. Kira, LawGeex, LegalSifter, and Lexion are among the offerings the authors mention. The authors say the internal designs of the products they discuss were undisclosed. Their account of commercial work therefore supplies context for TECUS and explains what they consider unusual about publishing a technical description of a system in enterprise use.

The research precedents include work on finding obligations and prohibitions in contracts and work on identifying sentence-level modality in financial legislation. The papers serve as examples of related problems studied with bidirectional recurrent architectures. The legal material and target distinctions matter here. An obligation is a type of action that a contract reviewer may want to locate. Modality in financial legislation is a related question about the force expressed by a sentence. Those precedents give the authors a basis for discussing classifiers that learn from labeled examples, while TECUS makes the kinds of passage a reviewer might seek part of a broader scheme that also includes topic and party.

The main technical antecedent for the authors' own approach is SystemT, a declarative text processing engine. It supplies linguistic information and supports extraction. Declarative rules describe what must be found in the text for a result to follow. That gives the TECUS developers a place to write conditions in terms they can revisit when reviewing errors. The paper also draws on earlier work on the analysis of failures, including [Beyond Accuracy: Behavioral Testing of NLP Models with CheckList](https://md.research.elamur.ai/free/en/papers/ribeiro-2020-beyond-accuracy-behavioral-testing-nlp/). The authors invoke that work in explaining why evaluation summaries need to be followed by inspection of individual cases.

### The method, step by step

#### Define what can be assigned to a passage

The project starts with decisions about what the system should call things. The development team and legal specialists iteratively establish an [ontology](https://md.research.elamur.ai/free/en/concepts/ontology-engineering/), a set of defined concepts used to organize the system's classifications. Here the ontology gives each label a purpose in review. A useful definition has to be specific enough to guide the people labeling examples and the developers writing rules, while reflecting the distinctions legal specialists actually use.

The working unit is an *element*. A sentence often supplies the text for an element. The software can also classify a bullet or material in a table, since agreements can express important terms through layout as well as through continuous prose. Calling the unit an element allows the paper to discuss a classification consistently across those forms. It is the item that appears in a filtered set and that a reviewer can return to in the document.

TECUS performs [text classification](https://md.research.elamur.ai/free/en/concepts/text-classification/) along dimensions the authors call Category, Nature, and Party. A Category identifies the subject under discussion. Pricing & Taxes is an example. A Nature identifies the type of action the provision expresses. An Obligation is one such type. A Party label identifies the participant affected by that action. These dimensions let separate judgments stand alongside one another even when they arise from the same wording.

Within any dimension, more than one label may be appropriate. A provision can address several subjects, describe multiple actions, or concern multiple parties. The authors call the task multi-class because several classes are available, and multi-label because assigning one class to an element can leave other assignments available for the same element. For legal review, this means a provision can appear under more than one filter when the text warrants it. A reader searching for a topic need not know ahead of time what the system has said about the action or the parties.

The paper works through a provision involving a purchaser's commitment to acquire assets by making a specified payment in cash. The payment gives a pricing reviewer a reason to examine the clause. The commitment is a reason to describe its nature as an obligation. The roles within the action identify whose commitment it is. To understand the classification, it helps to keep the distinct questions in view: why would a pricing reviewer look at this clause, what kind of act does it describe, and which party does that act concern? The same words can supply evidence for all of those judgments.

There is a separate set of outputs for extracted information. An attribute is anchored in an element. The paper's examples include people, organizations, locations, dates, and currencies. Contract metadata describes the agreement as a whole, with examples such as the amount of the contract and dates governing its commencement or termination. Mentioning a date somewhere in a provision and identifying that date as the agreement's effective date are decisions with different scope. The system presents each where that scope is useful to the reader.

From agreement structure to review and revision The steps in order.

#### Recover the text and analyze its structure

In the authors' walkthrough, the input is a contract PDF. The system recovers text and structural information from it. Sections, lists, and tables help establish how the information is grouped and how the reader can find it again. The authors use PDF for the illustration and say the techniques can also be used with formats such as Microsoft Word. The contract presented in the interface rests on this earlier work of finding text within a document that may represent the order and grouping of provisions through formatting.

Syntactic analysis then identifies sentences or other elements for classification, as well as tokens and phrases for extraction. A token is a unit into which the text is divided for analysis. A phrase groups words that may belong together for the relevant task. The purchaser's payment expression, for instance, can span a portion of an element while the commitment described in that element is the basis for a wider judgment about its nature. This difference in scale explains why the pipeline prepares both kinds of unit.

Document recovery matters to diagnosis because every later step depends on what it passes forward. If conversion gives the next stage a damaged expression or the wrong span of text, an apparently incorrect classification can begin with a preparation problem. When reviewing a displayed result, the developer therefore has reason to examine what was analyzed alongside the passage itself. The paper includes PDF conversion among the causes that the team distinguishes when recording errors.

Once the elements are available, SystemT identifies extended semantic roles. An action provides the center of a role description. Other parts of the element can be identified by their relationship to that action, for example as a participant, an affected object, or an expression of where, when, or how the event takes place. The extension also makes linguistic information such as tense and voice available. These details can matter because the position or grammatical function of a phrase and its part in the underlying event are related in ways that can vary with the construction.

In the purchase illustration, the purchaser takes part in the acquisition, the assets are what is being acquired, and the payment wording describes how that acquisition is to take place. The semantic analysis makes such relations available to the classifier. It puts the developer in a position to write a condition about the phrase that plays a particular role, rather than treating each word in the element as independent evidence for the final legal label. The actual labels are assigned in the next step.

The distinction between roles and legal labels is important to the architecture. A participant role describes a relationship in the language. An Obligation label describes the way the provision functions for contract review. The role analysis provides evidence on which a rule can act. A rule then determines whether that evidence meets the conditions the developers have specified for a classification. The two decisions can be examined separately if the result is disputed.

#### Match legal review labels to linguistic patterns

The authors call their rules Linguistic Logical Expressions, abbreviated LLEs. The inputs to an expression are linguistic facts of the kind SystemT exposes. Its conditions describe a pattern in those facts, and a match supports an assignment. An LLE can thus express relationships within an element rather than requiring the element to reproduce a particular sentence from the development collection. The system for a classification task is made up of a collection of these expressions.

In the purchase example the authors use simplified expressions to illustrate the link between linguistic evidence and legal labels. The relevant path runs from the action and its associated phrases to judgments on subject, nature, and party. A connection between a purchase and its payment supplies evidence about pricing. The commitment involving the purchaser supplies evidence about the action and the party. These are explanations of what the example is meant to show. The authors describe the expressions as logical formulae over linguistic analysis and present simplified illustrations of their use, with the production rule definitions left unspecified.

The declarative design gives developers a direct role in deciding what each expression should recognize. They can use a legal judgment about a provision to ask which linguistic relationships make the assignment appropriate. They then write a condition that can be checked on other provisions. Developers construct the rules manually. The paper mentions that [machine learning](https://md.research.elamur.ai/free/en/concepts/machine-learning/) can assist with developing linguistic expressions, while its account of TECUS centers on the expressions written by the development team.

This use of examples differs in purpose from giving the system a stock of sentences to match exactly. A previously seen provision can reveal a useful relationship that may also be present in unfamiliar wording. If the new wording receives an analysis with the relevant action and roles and satisfies the expression, it can receive the assignment. The logic of transfer is conditional on both steps. The intermediate analysis has to recover the relevant evidence, and the rule has to demand the kind of evidence that supports the intended legal judgment. A rule can fail in a new agreement because those conditions are too restrictive, and it can succeed on an irrelevant passage because they are too permissive.

Entity extraction also uses SystemT. In the article's architecture, the extraction tasks run alongside passage classification, drawing on the detail within elements and, for document metadata, on the agreement as a whole. The paper goes into greater depth on the label rules. It identifies the intended extraction targets and their scope, leaving the exact conditions for selecting, for instance, the contract's effective date out of its detailed walkthrough. A reader can therefore follow the classification from document to label more closely than the assignment of an extracted value to a metadata field.

#### Put results where the reviewer can check them

The Document Visualizer lets the user navigate by the assigned classifications. Its exploration pane offers facets, which are dimensions along which the reader can narrow the display. Someone interested in Pricing & Taxes can select that category and inspect the elements returned under it. The other dimensions offer further ways to direct attention to relevant material. The interface then locates the selected elements in the agreement so that the reviewer can read the wording that gave rise to the result.

This arrangement treats a classification as a cue for reading. A user who locates a purchase provision may want to inspect the conditions attached to the purchase or read what precedes and follows the element. At the same location, the interface shows the system's judgments about topic, nature, and party, along with extracted attributes. The full agreement remains the context for interpreting those details. A separate metadata display presents information that concerns the agreement at document level.

Users can suggest a change from the interface when they consider a result wrong or incomplete. A suggestion can challenge the assignment of an existing label or call for another label to be added. This captures a judgment at a particular location. The combination of location, label, and surrounding language gives the team more to work with than a general report that a category is difficult to use.

The interface and the developer's tools offer different forms of access to the evidence. The reviewer can check that a displayed label makes sense for the text and the purpose of the review. The developer can examine the analysis and the rule behind that same result. This form of [interpretability](https://md.research.elamur.ai/free/en/topics/interpretability/) is operational. It supplies a path from a specific output to the conditions that produced it, making the reasoning of the classifier accessible for maintenance.

#### Test the rules at several levels

Development continues through a recurring process of evaluation and revision. The authors describe data from inside and outside the development domain and separate development from held-out testing within their evaluation practice. The team can consult development examples while adjusting rules. Held-out material gives it a way to check classification on examples set aside for assessment. The distinction between familiar and unfamiliar sources adds another dimension to the check. A held-out provision can still come from a source resembling the development material, whereas an outside collection can pose different drafting patterns.

For Category and Nature-Party classification, the development workflow tracks precision, recall, and accuracy. Precision asks how much of what the system assigns is judged correct. Recall asks how much of what should be assigned the system finds. These measures bear differently on a reviewer's use of a category filter. If irrelevant material fills the filtered view, the reviewer has to sort through it. If relevant material is missing, the filtered view can conceal a provision that should be read. Accuracy is also part of the team's routine evaluation, although the paper's headline comparisons emphasize different measures for the different studies.

The team can inspect quality across the classifier, by class, and by LLE. A class-level view can show where the error burden is concentrated. Examining an individual expression can reveal whether it is responsible for the outputs under investigation. Inspection at these levels matters when the team is deciding where to spend development effort, since a single overall measure summarizes failures that can call for very different kinds of work.

The authors also describe checking operational performance, including throughput and memory consumption. Throughput concerns the rate at which the software can process material. Memory use concerns the resources it requires while running. Evaluation over multiple familiar and unfamiliar collections gives the developers a way to investigate problematic behavior before deployment. The rule structure also permits finer inspection of runtime, alongside the analysis of where classification quality is weak.

#### Diagnose disagreements before making edits

The paper uses ModelLens to explain how the team works through errors. A confusion matrix gives an overview of how predicted labels and reference labels disagree. That lets a developer choose an error type that warrants attention. The tool then exposes the elements associated with that type so that the developer can read examples and see what they have in common.

For an individual case, the display can provide text around the element, the semantic roles the system identified, and the provenance of the classification. Here provenance means a record of which conditions or expressions contributed to the result. Each source of evidence answers a different question. The text helps the developer decide what the provision expresses. The role output shows what the rule had available to act on. The record of the expressions shows why a result was produced from that material.

Consider how two cases with the same apparent mistake could lead to different diagnoses. In one case, the expected label fits the provision and the role analysis gives the rule enough information, but the rule condition misses the construction. The work is then to improve the relevant expression or add an expression for the uncovered pattern. In another, the provision has been broken up during conversion. Revising a legal classification rule in response to broken input could alter the treatment of sound examples while leaving the preparation problem in place. Inspection of the intermediate output helps the team decide which explanation fits.

A reference label is itself another possible source of disagreement. In a task whose categories depend on expert judgment, an unexpected prediction can prompt a closer look at the annotation. The paper describes recording a cause after investigation. This makes room for classification faults, reference-label problems, and faults carried forward from earlier processing. A group of missed cases may also expose a linguistic pattern that can be turned into a new expression. The diagnostic work helps determine whether the issue lies with an existing rule's scope or with coverage of a pattern whose evidence has yet to be used.

The resulting connection from case to rule gives the developer a candidate for a local change. Rules can still have broad effects when a pattern occurs widely. Knowing which rule changed gives the team a tractable object to examine and a way to relate any affected cases to the planned revision. The evaluation stage then checks results after the team has made the change. Diagnosis and evaluation answer complementary questions about why a case came out as it did and how widely a proposed correction helps.

#### Extend feedback to cases with related evidence

The system uses the linguistic pattern behind a result to help reviewers provide feedback more efficiently. After a reviewer suggests a label change, TECUS searches for other elements associated with a similar pattern, identified through the LLE, and offers those cases to the reviewer. The decision to extend the correction belongs to the user. That decision can capture a judgment across related examples without requiring the reviewer to come across each of them independently while reading.

The reviewer and developer use this grouping for different purposes. The reviewer judges whether the proposed correction belongs on the other passages. The developer gains examples tied to a condition that can be investigated. The usefulness of propagation depends on whether the pattern identifies cases that support the same judgment. The paper's account leaves the human decision in the process, allowing the reviewer to confirm that the linguistic connection is relevant to the label correction.

Feedback has a shared use and a customer-specific use. A case from one customer can expose a construction that the shared rules handle poorly and that may occur in agreements elsewhere. Other comments can show that a customer's understanding of a label differs slightly from the definitions adopted during the project's design. The paper describes customization to accommodate such differences. In parallel, improvements to the shared system can reach customers who supplied no examples for a particular issue.

A correction thus travels through several distinct judgments. The reviewer identifies a problem in a real passage. TECUS uses its knowledge of the expressions to find related material and connect the correction to a part of the classifier. The development team can inspect the pattern and decide how to handle it. Subsequent evaluation provides evidence about the resulting revision. This path from review back to development is the mechanism the authors test through the experience of a customer and describe as part of their ongoing work.

### Experiments and results

#### Transfer to a different source of procurement agreements

The transfer experiment uses agreements from within IBM for the development or training side. Its out-of-domain test uses procurement agreements randomly obtained from the web. Procurement remains the broad type on both sides, while the source changes. The test therefore asks whether a system prepared using one collection can identify the relevant kinds of material in procurement agreements gathered from elsewhere.

The comparison includes logistic regression, a convolutional neural network, and a bidirectional long short-term memory classifier. Logistic regression makes predictions from the weighted contribution of input features. A convolutional network can detect local patterns in a sequence. A bidirectional long short-term memory classifier uses sequential context from both directions. These descriptions distinguish the approaches at the level reported for the comparison. The paper relates the recurrent approach to earlier legal classification research and notes that related architectures differ in their details.

The reported measure is micro-F1 on the web procurement test. F1 is a combined measure of precision and recall. To compute a micro-averaged score, the relevant counts are pooled across classification decisions before combining the measures. A label with many instances can therefore have a larger effect on the score than one with few instances. That is appropriate to interpreting the number as a result for the pooled test decisions. Performance on a particular class of provision is a separate question.

On this out-of-domain test, the TECUS micro-F1 is reported as 1.3x the bidirectional long short-term memory result, 2.09x the convolutional network result, and 2.58x the logistic regression result. Each figure expresses a comparison with a particular baseline on the same test. The authors report the relative scores, leaving the absolute values unspecified. The results establish an ordering on this test and the reported magnitude of the relative advantages. They do not specify the underlying proportion of relevant assignments missed or the proportion of the returned assignments a reviewer would find incorrect.

The authors also report a qualitative pattern from their experience with bidirectional recurrent approaches. Agreements similar to those used for training, such as documents derived from a similar template, were handled well. Greater difficulty arose on unfamiliar agreements. This helps explain the use of a change in source as an evaluation condition. A test drawn from familiar templates can reveal how effectively the classifier uses their regularities. A different source asks how much of that effectiveness survives when those regularities shift.

The procurement result concerns the complete TECUS classifier as developed by the team. Its design gives it access to a role analysis and a collection of expert-informed conditions. The competing systems represent different ways of obtaining decisions from examples. The measured outcome is which systems returned better classifications on the designated split, with the linguistic and development choices inside each approach contributing jointly to its result.

#### Category quality as the set of labels increased

A second evaluation examines development across six successive sprints. Each sprint lasted two weeks. The team increased the number of supported categories from 10 to 23 during this period, at a reported average of 2.25 additional categories per sprint. The series is a study of work on an evolving system. As coverage changes, the team's assessment has to deal with the fact that a growing set of topics is eligible for classification.

The authors follow precision and recall for Category. An expanding set of categories gives the reviewer more ways to find material, provided the rules for the new categories connect the right provisions to them. It also gives the system more opportunities to make erroneous assignments. Precision helps the team see how reliable the decisions are among the assignments it does make. Recall helps it see how well the classifier covers the relevant labels in the assessment. Tracking both is important because adding coverage can affect the quality of returned results and the completeness of the set found.

The paper describes quality as stable across the development period and across existing and newly introduced categories. The authors attribute the result to local rule revisions and to their development process, which gives them ways to detect and investigate problems while categories are being added. The measured observation is that the expanded support was achieved while the reported quality remained steady. The explanation appeals to how the developers carried out and checked that work.

The setting differs from the procurement comparison in what changes and what is measured. The procurement experiment moves from one document source to another and compares complete approaches using micro-F1. The sprint series follows the authors' system through changes in the category inventory and tracks precision and recall. Its contribution is evidence about how measured quality behaved while the development team was extending the capabilities people could use.

#### A customer receives shared improvements and gives its own feedback

The feedback evaluation tracks Category classification on data of interest to a customer identified as X. The period is 9 months. During January through July, the team drew on feedback from other customers. From July through September, it incorporated feedback specific to X. The scores are for X's material in both periods. This lets the authors ask whether changes motivated by other users can help this customer, and then observe what happens after development begins to use that customer's comments as well.

Precision on X's material is 59.79 in January and 64.7 in July. The reported August value is 71.53, and September reaches 73.5. These are the Category precision values on the customer's data at the marked points in the series. Higher precision means greater reliability among the category assignments the system made. In the interface, those assignments determine whether a passage is returned under a category, so the score speaks to the relevance of what a reviewer sees when using that way into the agreement.

Category classification precision over time on customer X’s data Precision rose at the measured points during shared development and continued upward after the team began using the customer’s own feedback.

**The numbers**

| System or setting | Precision |
| --- | --- |
| January | 59.79 |
| July | 64.7 |
| August | 71.53 |
| September (this paper) | 73.5 |

For Category recall on the same customer's data, the January measurement is 25.33. July reaches 59.96. The August measurement is 67.41 and September is 68.09. Recall concerns a different part of the reviewing experience. A provision that should be assigned a particular category can remain absent from a filtered view even when the other provisions in that view are appropriate. The increase in recall indicates that the classifier recovered more of the assignments called for by the assessment of X's material.

Category classification recall over time on customer X’s data Coverage improved during the period informed by other customers and increased further during the period informed by customer X.

**The numbers**

| System or setting | Recall |
| --- | --- |
| January | 25.33 |
| July | 59.96 |
| August | 67.41 |
| September (this paper) | 68.09 |

The paper also shows a human performance reference for this evaluation, based on an internal assessment of agreement among subject matter experts. Agreement concerns the consistency of the specialists' judgments when they label material. It gives the authors a point of comparison that recognizes the judgment involved in interpreting the categories. They describe the customer series as moving toward that reference. The account identifies the basis of the human comparison and gives the observed system values for the displayed months.

The sequence is consistent with feedback serving both purposes described in the method. During shared development, changes motivated by other users coincided with gains on X's data. During the later period X had a way to contribute the examples and judgments most relevant to its own material, and the scores increased further. The later results are for a system that already benefited from the earlier work. Interpreting the observed values therefore requires keeping the order of development in view.

### What the ablations show

The paper has no component-removal ablation. It instead compares complete classifiers on unfamiliar procurement agreements, follows classification quality during the addition of categories, and examines a customer's scores over successive periods of feedback. It also describes investigation of individual errors through the role analysis and the rules. These analyses vary in what they can establish about the reasons for the results.

#### Transfer is measured for the whole approach

The transfer comparison gives a direct test of the practical concern that motivated the design. The team developed its classifiers using agreements from an internal source and wanted to know how the resulting decisions would carry over to agreements from outside it. The ranking favors TECUS on that test. This outcome fits the authors' expectation that a rule written over actions and roles can recognize a pattern even when the wording differs from the material in which the developers first encountered it.

Several parts of that explanation are bundled in the comparison. SystemT provides an intermediate description of the text. Developers choose the rules and the conditions the classifier checks. Legal specialists shape the distinctions those conditions are intended to capture. The result measures the system in which all of these choices are present. The contribution of semantic roles alone, for example, would depend on evidence that compares classifiers under a change in the available linguistic representation while accounting for the other design choices. The relative micro-F1 values answer the question about the approaches as used.

#### The sprint series measures stability of quality during expansion

The sprint history shows that the team was able to extend the topic inventory while maintaining the reported precision and recall. This is a useful stress on the development process. New categories require rules, and the team has to assess the outputs of those rules while maintaining a classifier people already use. The results place the expansion and the quality measurements in the same development period.

The authors' explanation about local edits has a clear connection to what their tools expose. When a developer can connect a classification to the expression that supported it, a revision can concentrate on a specified pattern. Tests by category and by rule give the team ways to see effects that a pooled result could hide. The sprint measurements demonstrate the outcome of development with these facilities in place. They leave the relative contribution of local editing and systematic evaluation open, since the team used both throughout the period.

Precision and recall can also remain similar while the individual assignments behind them change. That matters when a claim about stability is understood as a claim about the behavior of a particular provision across releases. Some changes on individual provisions are the intended result of expansion and correction. The sprint series concerns the quality of the evolving set of decisions. A record of the individual assignments before and after edits would address the separate question of how frequently a revision changes earlier decisions.

#### The feedback phases show progress under different inputs

For customer X, the earlier period gives the paper an observation of progress while the development team is receiving responses from elsewhere. This supports the possibility that work informed by one set of customers can benefit another customer exposed to some of the same kinds of contractual language. The later period shows progress while the team incorporates examples and judgments from X. That result is consistent with the stated purpose of customer-specific feedback.

The sequential design leaves the independent effect of X's feedback uncertain. The relevant comparison is between stages of continuing development, with later stages building on earlier ones. An estimate of the contribution of the change in feedback source would require a comparable version of the later period in which the source of feedback was different. The paper's evidence follows the development that actually took place. It shows that gains on the customer's material accompanied both phases.

Individual error analysis addresses causation at a smaller scale. A developer can see that a particular label followed from a given expression and inspect whether the input to the expression was sound. That is evidence about the chain that produced a particular result. It can guide a local response to an error. Its relationship to aggregate improvements depends on how often the diagnosed problem occurs and how the revision treats other passages. The paper explains the tools that make those investigations possible and provides the longitudinal scores separately.

### Limitations

#### Boundaries stated by the authors

The authors explicitly confine the main account to individual agreements. They describe the additional capability for comparing agreements by finding identical provisions, changes within a shared topic, and clauses with no counterpart. The evaluations of transfer, category expansion, and customer feedback address single-contract classification. The effectiveness of the comparison feature remains a separate empirical question.

They also state that the method discussion concentrates on classification because of its challenges. Their account of extraction identifies entities of interest and explains the difference between element-level attributes and contract-level metadata. SystemT is the engine used for that work. Extraction receives less procedural detail and is outside the reported headline comparisons. The classification measures consequently give no direct estimate of the reliability of an effective date, a contract amount, or any other extracted value.

Representative labeled material is an explicit constraint in the authors' problem statement. The rules let developers encode what they understand about a class of provisions even if the examples available to them are few or come from a narrow source. Their usefulness still depends on the adequacy of that understanding and on whether the linguistic analysis supplies the evidence the rule uses. A customer can also have its own interpretation of where a category applies. The authors acknowledge these differences and describe a feedback mechanism for learning about them and adapting the classifier.

Another stated constraint concerns the commercial context. Since the authors describe other systems' internals as undisclosed, that discussion gives little basis for comparing their technical choices in detail. The experimental comparisons in the paper use the named classifier baselines. Enterprise use since 2017 describes the experience motivating the design. It gives no performance ranking among commercial services.

The paper supplies simplified illustrations of linguistic expressions for readability. Those examples explain how the authors connect an action and its associated phrases to legal review decisions. The production conditions, complete inventories of expressions, and detailed extraction logic remain outside the description. The examples are therefore evidence about the design and its intended operation, with reproducibility of an entire production classification depending on additional implementation detail.

#### Limits visible in the evaluations

The procurement experiment studies transfer across sources within one broad contract type. It establishes a result on the authors' web procurement test after development on IBM material. It leaves open how the same approach would fare across different contract types, drafting settings, languages, or legal environments. The applications cited in the motivation cover a wider range of enterprise work than the reported transfer split, so the result's scope is the procurement comparison.

The relative micro-F1 figures have limited practical meaning without absolute scores and counts. A reader can tell that the authors found differences among the approaches and can see the reported ratios. To estimate how often a reviewer would miss a provision by relying on a label filter, the reader would need more information about absolute recall and the cases that generated misses. To estimate the burden of checking irrelevant returns, the reader would need information about precision or the number of wrong assignments. The experiment supplies pooled relative results, with dataset sizes, class counts, and uncertainty estimates unspecified in the account.

The pooling inherent in micro-F1 also matters in a legal application. A category's frequency and its importance to a decision can differ. A provision that rarely occurs might be the very one a reviewer is required to find. A good aggregate result can be driven by common assignments, leaving the behavior on infrequent ones unclear. The development tools support per-class assessment, but the headline transfer findings give an overall score comparison. Whether the advantage extends evenly to the categories a particular reviewer cares about remains open.

For stability, the sprint observation supports the claim that aggregate quality held up under the reported expansion. It says less about the experience of a user who repeatedly analyzes the same agreement across versions. Output-level stability would concern which original provisions change labels, whether those changes are intended, and whether corrections propagate to unrelated passages. Rule provenance helps investigate those events when they occur. The evaluation tracks quality during a growing set of tasks, rather than giving a release-by-release record of which past outputs changed.

The customer result has a similarly specific scope. It is an account of one customer's data over a period of continuing development. Contracts or category definitions at another company can present a different set of problems. The time series also gives no separate estimate of the amount of developer work required for the revisions, the effort customers spent providing corrections, or the effect of using suggestions on related passages. Improvement in the displayed scores and the cost of achieving it are distinct aspects of the deployment experience.

The human comparison depends on the agreement assessment used internally by the authors. The paper tells the reader whose judgments underlie the reference and describes movement toward it. Questions about how agreement was measured, how it varied by category, or how different reviewers might apply a customer's definitions remain unresolved. Because the reference comes from judgments on the task, it helps orient the classification results. It cannot establish equivalence to a legal professional's performance across the broader work of contract review.

The team describes evaluating throughput, memory use, and other aspects of runtime before deployment. The experiments discussed in detail concentrate on classification quality. A reader interested in processing costs for particular formats, document lengths, or table-heavy layouts would need further measurements. The identification of PDF conversion as a possible error source is valuable for diagnosis. It does not quantify the share of errors traceable to conversion or the consequences for accuracy on a particular document format.

Finally, the paper addresses the quality of information supplied to a reviewer, while the motivation includes the time and expense of review and the importance of spotting risky language. A category filter with better coverage can make more relevant provisions available through that route. Measuring the time someone saves, how often they discover a material risk, or how the results affect decisions about an agreement requires observation of the review work itself. The paper's measured contributions concern classification and development, with those downstream effects left for separate study.

### What came after

The paper closes by proposing that its approach might be useful in other areas where representative labels are scarce and users depend on predictable revisions. That proposal concerns the combination of linguistic conditions, expert judgments, and an identifiable path from a disputed output to a development change. Independent follow-up work is undocumented here. The subsequent changes the authors do document belong to TECUS's own development, including wider category coverage and the use of feedback from enterprise reviewers. They show how the team put the method to work during its original deployment, leaving its transfer to other applications as an open question.

## Cite

Cite as Arvind Agarwal, Laura Chiticariu, Poornima Chozhiyath Raman, Marina Danilevsky, Diman Ghazi, Ankush Gupta, Shanmukha Guttula, Yannis Katsis, Rajasekar Krishnamurthy, Yunyao Li, Shubham Mudgal, Vitobha Munigala, Nicholas Phan, Dhaval Sonawane, Sneha Srinivasan, Sudarshan R. Thitte, Mitesh Vasa, Ramiya Venkatachalam, Vinitha Yaski and Huaiyu Zhu. 2021. Development of an Enterprise-Grade Contract Understanding System. Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies: Industry Papers.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.18653/v1/2021.naacl-industry.28](https://doi.org/10.18653/v1/2021.naacl-industry.28)

```bibtex
@inproceedings{agarwal2021development,
  title = {{Development of an Enterprise-Grade Contract Understanding System}},
  author = {Arvind Agarwal, Laura Chiticariu, Poornima Chozhiyath Raman, Marina Danilevsky, Diman Ghazi, Ankush Gupta, Shanmukha Guttula, Yannis Katsis, Rajasekar Krishnamurthy, Yunyao Li, Shubham Mudgal, Vitobha Munigala, Nicholas Phan, Dhaval Sonawane, Sneha Srinivasan, Sudarshan R. Thitte, Mitesh Vasa, Ramiya Venkatachalam, Vinitha Yaski and Huaiyu Zhu},
  booktitle = {Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies: Industry Papers},
  year = {2021},
  doi = {10.18653/v1/2021.naacl-industry.28},
  url = {https://doi.org/10.18653/v1/2021.naacl-industry.28}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
