# US 2024/0005175 A1 · Heuristic search for k-anonymization in a generalization lattice

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

- Number: US 2024/0005175 A1
- Document ID: US20240005175A1
- Status: Published application
- Kind: A1
- Application number: 18/469,356
- Filed: 2023-09-18
- Published: 2024-01-04
- Earliest claimed: 2021-10-21
- Assignees: Snowflake Inc.
- Applicants: Snowflake Inc.
- Inventors: David Jensen
- Web page: https://patentgrep.com/patent/US20240005175A1

## CPC

- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06F 16/24564: {Applying rules; Deductive queries}
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An approach is disclosed that computes a path through a generalization lattice comprising a plurality of levels. For each of the levels, the approach uses a scoring function to compute one or more values from a node on a first level of the generalization lattice to one or more neighboring nodes on a second level of the generalization lattice. The approach then adds a best node from the neighboring nodes to the path based on the values. At the completion of computing scoring functions on the generalization lattice, the path comprises a best node from each of the plurality of levels. The approach then selects an optimal node from the best nodes in the path.

## Claims

### Claim 1

A method comprising:
computing, by a processing device, a path through a generalization lattice comprising a plurality of levels, wherein the plurality of levels each represent a different level of generalization of N columns of quasi-identifier data, wherein the computing of the path further comprises:
computing one or more first values using a scoring function, from a first node on a first level of the generalization lattice to one or more second neighboring nodes on a second level of the generalization lattice;
adding, from the one or more second neighboring nodes, a best node from the second level to the path based on the one or more first values;
computing one or more second values, using the scoring function, from the best node on the second level to one or more third neighboring nodes on a third level of the generalization lattice; and
adding, from the one or more third neighboring nodes, a best node from the third level to the path based on the one or more second values, wherein, at a completion of the computing for each of the plurality of levels, the path comprises a plurality of best nodes, wherein each of the plurality of best nodes is one node added from each of the plurality of levels; and
selecting an optimal node from the plurality of best nodes.

### Claim 2 (depends on 1)

The method of claim 1, wherein the optimal node is a node that is used to initialize a lattice search algorithm by providing a bound on an information loss function.

### Claim 3 (depends on 1)

The method of claim 1, further comprising:
transforming data in a dataset into integer data;
generating a plurality of generalizations of the integer data; and
creating the generalization lattice based on the plurality of generalizations.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
computing an upper bound based on the optimal node; and
pruning the generalization lattice based on the upper bound.

### Claim 5 (depends on 1)

The method of claim 1, wherein each one of the one or more second neighboring nodes comprises a tuple that represents combinations of generalizations of the N columns of the quasi-identifier data, and wherein the tuple for each one of the one or more second neighboring nodes corresponds to a number of generalizations for each column of the N columns based on a data hierarchy corresponding to the column.

### Claim 6 (depends on 1)

The method of claim 1, wherein the path commences at a start node and terminates at an end node, and wherein the start node is a top node of the generalization lattice and the end node is a bottom node of the generalization lattice.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
computing a plurality of paths through the generalization lattice using a plurality of scoring functions; and
selecting the optimal node from the plurality of paths.

### Claim 8

A system comprising:
a processing device; and
a memory to store instructions that, when executed by the processing device, cause the processing device to:
compute a path through a generalization lattice comprising a plurality of levels, wherein the plurality of levels each represent a different level of generalization of N columns of quasi-identifier data, wherein the computing of the path further comprises:
compute one or more first values using a scoring function, from a first node on a first level of the generalization lattice to one or more second neighboring nodes on a second level of the generalization lattice;
add, from the one or more second neighboring nodes, a best node from the second level to the path based on the one or more first values;
compute one or more second values, using the scoring function, from the best node on the second level to one or more third neighboring nodes on a third level of the generalization lattice; and
add, from the one or more third neighboring nodes, a best node from the third level to the path based on the one or more second values, wherein, at a completion of the computing for each of the plurality of levels, the path comprises a plurality of best nodes, wherein each of the plurality of best nodes is one node added from each of the plurality of levels; and
select an optimal node from the plurality of best nodes.

### Claim 9 (depends on 8)

The system of claim 8, wherein the optimal node is a node that is used to initialize a lattice search algorithm by providing a bound on an information loss function.

### Claim 10 (depends on 8)

The system of claim 8, wherein the processing device, responsive to executing the instructions, further causes the system to:
transform data in a dataset into integer data;
generate a plurality of generalizations of the integer data; and
create the generalization lattice based on the plurality of generalizations.

### Claim 11 (depends on 8)

The system of claim 8, wherein the processing device, responsive to executing the instructions, further causes the system to:
compute an upper bound based on the optimal node; and
prune the generalization lattice based on the upper bound.

### Claim 12 (depends on 8)

The system of claim 8, wherein each one of the one or more second neighboring nodes comprises a tuple that represents combinations of generalizations of the N columns of the quasi-identifier data, and wherein the tuple for each one of the one or more second neighboring nodes corresponds to a number of generalizations for each column of the N columns based on a data hierarchy corresponding to the column.

### Claim 13 (depends on 8)

The system of claim 8, wherein the path commences at a start node and terminates at an end node, and wherein the start node is a top node of the generalization lattice and the end node is a bottom node of the generalization lattice.

### Claim 14 (depends on 8)

The system of claim 8, wherein the processing device, responsive to executing the instructions, further causes the system to:
compute a plurality of paths through the generalization lattice using a plurality of scoring functions; and
select the optimal node from the plurality of paths.

### Claim 15

A non-transitory computer readable medium, having instructions stored thereon which, when executed by a processing device, cause the processing device to:
compute, by the processing device, a path through a generalization lattice comprising a plurality of levels, wherein the plurality of levels each represent a different level of generalization of N columns of quasi-identifier data, wherein the computing of the path further comprises:
compute one or more first values using a scoring function, from a first node on a first level of the generalization lattice to one or more second neighboring nodes on a second level of the generalization lattice;
add, from the one or more second neighboring nodes, a best node from the second level to the path based on the one or more first values;
compute one or more second values, using the scoring function, from the best node on the second level to one or more third neighboring nodes on a third level of the generalization lattice; and
add, from the one or more third neighboring nodes, a best node from the third level to the path based on the one or more second values, wherein, at a completion of the computing for each of the plurality of levels, the path comprises a plurality of best nodes, wherein each of the plurality of best nodes is one node added from each of the plurality of levels; and
select an optimal node from the plurality of best nodes.

### Claim 16 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein the optimal node is a node that is used to initialize a lattice search algorithm by providing a bound on an information loss function.

### Claim 17 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein the processing device is to:
transform data in a dataset into integer data;
generate a plurality of generalizations of the integer data; and
create the generalization lattice based on the plurality of generalizations.

### Claim 18 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein the processing device is to:
compute an upper bound based on the optimal node; and
prune the generalization lattice based on the upper bound.

### Claim 19 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein each one of the one or more second neighboring nodes comprises a tuple that represents combinations of generalizations of the N columns of the quasi-identifier data, and wherein the tuple for each one of the one or more second neighboring nodes corresponds to a number of generalizations for each column of the N columns based on a data hierarchy corresponding to the column.

### Claim 20 (depends on 15)

The non-transitory computer readable medium of claim 15, wherein the processing device is to:
compute a plurality of paths through the generalization lattice using a plurality of scoring functions; and
select the optimal node from the plurality of paths.
