# US 8,577,849 B2 · Guided data repair

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

- Number: US 8,577,849 B2
- Document ID: US8577849B2
- Status: Granted
- Kind: B2
- Application number: 13/110,246
- Filed: 2011-05-18
- Published: 2012-11-22
- Granted: 2013-11-05
- Earliest claimed: 2011-05-18
- Assignees: Qatar Foundation
- Applicants: Mohamed Yakout; Ahmed K. Elmagarmid; Jennifer Neville; Mourad Ouzzani; Ihab Francis Ilyas Kaldas
- Inventors: Mohamed Yakout; Ahmed K. Elmagarmid; Jennifer Neville; Mourad Ouzzani; Ihab Francis Ilyas Kaldas
- Web page: https://patentgrep.com/patent/US8577849B2

## CPC

- G06F 16/215: Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer implemented method for correcting records in a database comprising generating, using a processor, respective candidate replacement entries for multiple inconsistent records of the database, grouping the candidate replacement entries to provide multiple groups of related candidate updates for the database, ranking the groups according to a loss function to quantify database quality, receiving input for a selected group, sorting candidate replacement entries in the selected group, and applying updates from the selected group to the database to correct entries of the inconsistent records.

## Claims

### Claim 1

A computer implemented method for correcting records in a database comprising:
generating, using a processor, respective candidate replacement entries for multiple inconsistent records of the database;
grouping the candidate replacement entries to provide multiple groups of related candidate updates for the database;
ranking the groups according to a loss function to quantify database quality;
presenting the ranked groups to a user;
prompting the user for updates to the presented ranked groups;
receiving input for updates from the user for a selected group from the ranked groups;
sorting candidate replacement entries in the selected group to quantify a desirability of a given level of database quality; and
applying the updates from the selected group to the database to correct entries of the inconsistent records.

### Claim 2 (depends on 1)

A method as claimed in claim 1, wherein generating respective candidate replacement entries includes:
using data quality rules associating multiple attributes of records in the database to determine a set of inconsistent records of the database; and
determining a modified entry of respective inconsistent records to provide the candidate replacement entries.

### Claim 3 (depends on 2)

A method as claimed in claim 2, wherein a data quality rule is a conditional functional dependency.

### Claim 4 (depends on 1)

A method as claimed in claim 1, wherein the loss function is used to generate a measure representing a loss or gain in data quality of the database for the groups.

### Claim 5 (depends on 4)

A method as claimed in claim 4, wherein the measure is a measure which is inversely proportional to conformity of a record with a data quality rule.

### Claim 6 (depends on 1)

A method as claimed in claim 1, wherein receiving input includes receiving input for multiple ones of the candidate updates in a group to provide an updated group including revised candidate updates.

### Claim 7 (depends on 6)

A method as claimed in claim 6, further comprising:
using the revised candidate updates to provide or refine multiple training models for a learning component; and
generating revised groups of related candidate updates for the database using the training models.

### Claim 8 (depends on 1)

A method as claimed in claim 1, wherein sorting candidate replacement entries in the selected group includes sorting the updates to provide a ranked listing of updates.

### Claim 9 (depends on 8)

A method as claimed in claim 8, wherein sorting the updates includes generating a measure for an update representing an uncertainty value in the accuracy of the update.

### Claim 10

A computer program embedded on a non-transitory tangible computer readable storage medium, the computer program including machine readable instructions that, when executed by a processor, implement a method comprising:
identifying multiple records in a database including respective inconsistent data entries;
generating a set of candidate replacement records for the database in which the inconsistent data entries are modified to provide modified data entries;
classifying the replacement records into sets according to one or more criteria relating to the respective modified data entries of the records;
presenting the sets to a user;
prompting the user for input;
receiving user input representing a confirmation, rejection or modification of a modified data entry in a replacement record in a set; and
updating the database on the basis to the received user input.

### Claim 11 (depends on 10)

The computer program embedded on a non-transitory tangible computer readable storage medium as claimed in claim 10 further comprising instructions that, when executed by the processor, implement a method comprising:
calculating a quality value for the database including the replacement records and using the quality value to generate a measure representing a loss in quality for the database given the replacement records.

### Claim 12 (depends on 10)

The computer program embedded on a non-transitory tangible computer readable storage medium as claimed in claim 10 further comprising instructions that, when executed by the processor, implement a method comprising:
using the user input to refine a training model for providing a set of modified data entries.

### Claim 13 (depends on 10)

The computer program embedded on a non-transitory tangible computer readable storage medium as claimed in claim 10 further comprising instructions that, when executed by the processor, implement a method comprising:
receiving user input representing a selected set;
ranking replacement records in the selected set to provide an ordered list wherein updates with a higher measure representing an uncertainty in the accuracy of the update appear higher up the list.

### Claim 14

Apparatus for updating a database including multiple inconsistent data records, comprising:
a storage device to store multiple data records of the database;
a processor, coupled to the storage device, to determine a set of inconsistent data records of the database by comparing respective ones of the data records against multiple data quality measures representing conditional functional dependencies of the data records, and to generate a set of replacement records including modified data entries, and to group the replacement records into multiple groups based on the modified data entries;
a user input device to receive user input data representing user input for the apparatus and representing an indication of accuracy of a modified data entry in a group; and
a learning module to receive the user input data and to generate a set of revised replacement records for the database.

### Claim 15 (depends on 14)

Apparatus as claimed in claim 14, further to sort replacement records in a selected group to provide a ranked listing of updates for the database based on an uncertainty measure for the update.

### Claim 16 (depends on 14)

Apparatus as claimed in claim 14, further comprising an update consistency manager module to receive an update to be applied to the database and to modify a replacement record or group on the basis of the received update.

### Claim 17 (depends on 14)

Apparatus as claimed in claim 14, further comprising a learning module to receive training models based on user input data and to generate a set of replacement records on the basis thereof.
