# US 10,956,674 B2 · Creating cost models using standard templates and key-value pair differential analysis

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 10,956,674 B2
- Document ID: US10956674B2
- Status: Granted
- Kind: B2
- Application number: 16/155,877
- Filed: 2018-10-09
- Published: 2020-04-09
- Granted: 2021-03-23
- Earliest claimed: 2018-10-09
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Tara Astigarraga; Saurabh Sinha; Vugranam Sreedhar; Michael Shane Goode; John Jeffrey Dillon
- Web page: https://patentgrep.com/patent/US10956674B2

## CPC

- G06F 40/289: Phrasal analysis, e.g. finite state techniques or chunking
- G06F 40/186: Templates
- G06Q 10/067: Enterprise or organisation modelling
- G06Q 10/0674: {using process simulation}
- G06Q 40/12: Accounting
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

A contract generation system that automatically generates cost models for new business contracts is provided. The system receives a new contract comprising a set of key-value pairs, each key-value pair comprising a question and an answer that correspond to a field of information in a document for the new contract. The system computes a similarity measure between the new contract and an existing contract based on a set of variance definitions for determining differences between the set of key-value pairs of the new contract and a corresponding set of key-value pairs of the existing contract. The system generates a cost model of the new contract based on the similarity measure and a cost model of the existing contract.

## Claims

### Claim 1

A computing device comprising:
a processor; and
a storage device storing a set of instructions, wherein an execution of the set of instructions by the processor configures the computing device to perform acts comprising:
receiving a new contract comprising a set of key-value pairs, each key-value pair comprising a question and an answer that correspond to a field of information in a document for the new contract;
computing a similarity measure between the new contract and an existing contract based on a set of variance definitions for determining differences between the set of key-value pairs of the new contract and a corresponding set of key-value pairs of the existing contract;
generating a cost model of the new contract based on the similarity measure and a cost model of the existing contract; and
updating the cost model of the new contract upon determining that a new version of the existing contract has been created and a similarity measure between the new version of the existing contract and the new contract is above a predetermined threshold.

### Claim 2 (depends on 1)

The computing device of claim 1, wherein the new contract is generated based on a template having paragraphs with holes that correspond to fields of information.

### Claim 3 (depends on 1)

The computing device of claim 1, wherein the set of variance definitions comprises instructions for computing (i) distance values between corresponding key-value pairs of the new contract document and of the existing contract document and (ii) the similarity measure based on the distance values.

### Claim 4 (depends on 1)

The computing device of claim 1, wherein the set of variance definitions comprises mappings for non-numerical terms to numerical values in a context of a domain type of the new contract document.

### Claim 5 (depends on 1)

The computing device of claim 1, wherein the set of variance definitions is identified from a plurality of sets of variance definitions based on a domain type of the new contract document.

### Claim 6 (depends on 1)

The computing device of claim 1, wherein generating the cost model of the new contract document comprises:
determining an efficiency offset based on a pattern of similarity between the key-value pairs of the new contract and the key-value pairs of the existing contract; and
applying the determined efficiency offset to the cost model of the new contract.

### Claim 7 (depends on 1)

The computing device of claim 1, wherein:
the existing contract is a first existing contract; and
the computing device is further configured to perform acts comprising:
identifying a second existing contract based on a similarity measure between the new contract and the second existing contract; and
generating an updated cost model for the second existing contract based on the cost model of the new contract.

### Claim 8

A computer program product comprising:
one or more non-transitory computer-readable storage devices and program instructions stored on at least one of the one or more non-transitory storage devices, the program instructions executable by a processor, the program instructions comprising sets of instructions for:
receiving a new contract comprising a set of key-value pairs, each key-value pair comprising a question and an answer that correspond to a field of information in a document for the new contract;
computing a similarity measure between the new contract and an existing contract based on a set of variance definitions for determining differences between the set of key-value pairs of the new contract and a corresponding set of key-value pairs of the existing contract;
generating a cost model of the new contract based on the similarity measure and a cost model of the existing contract; and
updating the cost model of the new contract upon determining that a new version of the existing contract has been created and a similarity measure between the new version of the existing contract and the new contract is above a predetermined threshold.

### Claim 9 (depends on 8)

The computer program product of claim 8, wherein the new contract is generated based on a template having paragraphs with holes that correspond to fields of information.

### Claim 10 (depends on 8)

The computer program product of claim 8, wherein the set of variance definitions comprises instructions for computing (i) distance values between corresponding key-value pairs of the new contract document and of the existing contract document and (ii) the similarity measure based on the distance values.

### Claim 11 (depends on 8)

The computer program product of claim 8, wherein the set of variance definitions comprises mappings for non-numerical terms to numerical values in a context of a domain type of the new contract document.

### Claim 12 (depends on 8)

The computer program product of claim 8, wherein the set of variance definitions is identified from a plurality of sets of variance definitions based on a domain type of the new contract document.

### Claim 13 (depends on 8)

The computer program product of claim 8, wherein generating the cost model of the new contract document comprises:
determining an efficiency offset based on a pattern of similarity between the key-value pairs of the new contract and the key-value pairs of the existing contract; and
applying the determined efficiency offset to the cost model of the new contract.

### Claim 14 (depends on 8)

The computer program product of claim 8, wherein:
the existing contract is a first existing contract; and
the program instructions further comprising sets of instructions for:
identifying a second existing contract based on a similarity measure between the new contract and the second existing contract; and
generating an updated cost model for the second existing contract based on the cost model of the new contract.

### Claim 15

A computer-implemented method comprising:
receiving a new contract comprising a set of key-value pairs, each key-value pair comprising a question and an answer that correspond to a field of information in a document for the new contract;
computing a similarity measure between the new contract and an existing contract based on a set of variance definitions for determining differences between the set of key-value pairs of the new contract and a corresponding set of key-value pairs of the existing contract;
generating a cost model of the new contract based on the similarity measure and a cost model of the existing contract; and
updating the cost model of the new contract upon determining that a new version of the existing contract has been created and a similarity measure between the new version of the existing contract and the new contract is above a predetermined threshold.

### Claim 16 (depends on 15)

The computer-implemented method of claim 15, wherein the set of variance definitions comprises instructions for computing (i) distance values between corresponding key-value pairs of the new contract document and of the existing contract document and (ii) the similarity measure based on the distance values.

### Claim 17 (depends on 15)

The computer-implemented method of claim 15, wherein the set of variance definitions comprises mappings for non-numerical terms to numerical values in a context of a domain type of the new contract document.

### Claim 18 (depends on 15)

The computer-implemented method of claim 15, wherein the set of variance definitions is identified from a plurality of sets of variance definitions based on a domain type of the new contract document.

### Claim 19 (depends on 15)

The computer-implemented method of claim 15, wherein generating the cost model of the new contract document comprises:
determining an efficiency offset based on a pattern of similarity between the key-value pairs of the new contract and the key-value pairs of the existing contract; and
applying the determined efficiency offset to the cost model of the new contract.

### Claim 20 (depends on 15)

The computer-implemented method of claim 15, wherein the existing contract is a first existing contract, the method further comprising:
identifying a second existing contract based on a similarity measure between the new contract and the second existing contract; and
generating an updated cost model for the second existing contract based on the cost model of the new contract.
