# US 2012/0269200 A1 · Similarity Searching in Large Disk-Based Networks

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

- Number: US 2012/0269200 A1
- Document ID: US20120269200A1
- Status: Published application
- Kind: A1
- Application number: 13/091,244
- Filed: 2011-04-21
- Published: 2012-10-25
- Earliest claimed: 2011-04-21
- Assignees: International Business Machines Corporation
- Inventors: Charu C. Aggarwal
- Web page: https://patentgrep.com/patent/US20120269200A1

## CPC

- H04L 47/00: Traffic control in data switching networks (arrangements for detecting or preventing errors in the information received H04L1/00)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Techniques for determining a shortest path in a disk-based network are provided. The techniques include creating a compressed representation of an underlying disk resident network graph, wherein creating a compressed representation of an underlying disk resident network graph comprises determining one or more dense regions in the disk resident graph and compacting the one or more dense regions into one or more compressed nodes, associating one or more node penalties with the one or more compressed nodes, wherein the one or more node penalties reflect a distance of a sub-path within a compressed node, and performing a query on the underlying disk resident network graph using the compressed representation and one or more node penalties to determine a shortest path in the disk-based network to reduce the number of accesses to a physical disk.

## Claims

### Claim 1

A method for determining a shortest path in a disk-based network, wherein the method comprises:
creating a compressed representation of an underlying disk resident network graph, wherein creating a compressed representation of an underlying disk resident network graph comprises determining one or more dense regions in the disk resident graph and compacting the one or more dense regions into one or more compressed nodes;
associating one or more node penalties with the one or more compressed nodes, wherein the one or more node penalties reflect a distance of a sub-path within a compressed node; and
performing a query on the underlying disk resident network graph using the compressed representation and one or more node penalties to determine a shortest path in the disk-based network to reduce the number of accesses to a physical disk.

### Claim 2 (depends on 1)

The method of claim 1, wherein creating a compressed representation of an underlying network graph comprises performing edge sampling.

### Claim 3 (depends on 2)

The method of claim 2, wherein each compressed component in the graph is a connected component in the edge-sampled graph.

### Claim 4 (depends on 2)

The method of claim 2, wherein a number of sampled edges is determined so as to achieve a target number of components in the graph.

### Claim 5 (depends on 1)

The method of claim 1, wherein creating a compressed representation of an underlying network graph comprises using density based compression.

### Claim 6 (depends on 1)

The method of claim 1, wherein creating a compressed representation of an underlying network graph comprises using one or more clustering techniques.

### Claim 7 (depends on 1)

The method of claim 1, wherein a node penalty is determined by using a pairwise shortest path distribution in the graph.

### Claim 8 (depends on 7)

The method of claim 7, wherein a histogram of one or more node penalties is constructed for the shortest path distribution.

### Claim 9 (depends on 1)

The method of claim 1, wherein determining a shortest path in the network comprises performing a disk-based nearest neighbor search.

### Claim 10 (depends on 9)

The method of claim 9, wherein a selective expansion is performed in order to determine one or more nearest neighbor distances.

### Claim 11 (depends on 10)

The method of claim 10, wherein selective expansion uses one or more node penalties and a list of nodes with sorted probabilistic distances.

### Claim 12 (depends on 11)

The method of claim 11, wherein a node with a shortest distance is selected for selective expansion.

### Claim 13

A computer program product comprising a tangible computer readable recordable storage medium including computer useable program code for determining a shortest path in a disk-based network, the computer program product including:
computer useable program code for creating a compressed representation of an underlying network graph, wherein creating a compressed representation of an underlying disk resident network graph, wherein creating a compressed representation of an underlying disk resident network graph comprises determining one or more dense regions in the disk resident graph and compacting the one or more dense regions into one or more compressed nodes;
computer useable program code for associating one or more node penalties with the one or more compressed nodes, wherein the one or more node penalties reflect a distance of a sub-path within a compressed node; and
computer useable program code for performing a query on the underlying disk resident network graph using the compressed representation and one or more node penalties to determine a shortest path in the disk-based network to reduce the number of accesses to a physical disk.

### Claim 14 (depends on 13)

The computer program product of claim 13, wherein the computer useable program code for creating a compressed representation of an underlying network graph comprises computer useable program code for performing edge sampling.

### Claim 15 (depends on 14)

The computer program product of claim 14, wherein a number of sampled edges is determined so as to achieve a target number of components in the graph.

### Claim 16 (depends on 13)

The computer program product of claim 13, wherein the computer useable program code for creating a compressed representation of an underlying network graph comprises computer useable program code for using density based compression.

### Claim 17 (depends on 13)

The computer program product of claim 13, wherein a node penalty is determined by using a pairwise shortest path distribution in the graph.

### Claim 18 (depends on 17)

The computer program product of claim 17, wherein a histogram of one or more node penalties is constructed for the shortest path distribution.

### Claim 19 (depends on 13)

The computer program product of claim 13, wherein the computer useable program code for determining a shortest path in the network comprises computer useable program code for performing a disk-based nearest neighbor search.

### Claim 20

A system for determining a shortest path in a disk-based network, comprising:
a memory; and
at least one processor coupled to the memory and operative to:
create a compressed representation of an underlying disk resident network graph, wherein creating a compressed representation of an underlying disk resident network graph comprises determining one or more dense regions in the disk resident graph and compacting the one or more dense regions into one or more compressed nodes;
associate one or more node penalties with the one or more compressed nodes, wherein the one or more node penalties reflect a distance of a sub-path within a compressed node; and
perform a query on the underlying disk resident network graph using the compressed representation and one or more node penalties to determine a shortest path in the disk-based network to reduce the number of accesses to a physical disk.

### Claim 21 (depends on 20)

The system of claim 20, wherein the at least one processor coupled to the memory operative to create a compressed representation of an underlying network graph is further operative to perform edge sampling.

### Claim 22 (depends on 20)

The system of claim 20, wherein the at least one processor coupled to the memory operative to create a compressed representation of an underlying network graph is further operative to use density based compression.

### Claim 23 (depends on 20)

The system of claim 20, wherein a node penalty is determined by using a pairwise shortest path distribution in the graph.

### Claim 24 (depends on 23)

The system of claim 23, wherein a histogram of one or more node penalties is constructed for the shortest path distribution.

### Claim 25 (depends on 20)

The system of claim 20, wherein the at least one processor coupled to the memory operative to determine a shortest path in the network is further operative to perform a disk-based nearest neighbor search.
