# US 11,120,313 B2 · Generating search determinations for assortment planning using visual sketches

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

- Number: US 11,120,313 B2
- Document ID: US11120313B2
- Status: Granted
- Kind: B2
- Application number: 16/511,487
- Filed: 2019-07-15
- Published: 2021-01-21
- Granted: 2021-09-14
- Earliest claimed: 2019-07-15
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Raghavendra Singh; Ayushi Dalmia; Vikas C. Raykar; Abhishek Bansal
- Web page: https://patentgrep.com/patent/US11120313B2

## CPC

- G06F 16/532: Query formulation, e.g. graphical querying
- G06F 18/24147: {Distances to closest patterns, e.g. nearest neighbour classification}
- G06N 3/045: Combinations of networks
- G06N 3/0464: Convolutional networks [CNN, ConvNet]
- G06N 3/0475: Generative networks
- G06V 10/507: {Summing image-intensity values; Histogram projection analysis}
- G06V 10/82: using neural networks
- G06V 30/19173: {Classification techniques}
- G06N 3/047: Probabilistic or stochastic networks
- G06N 3/08: Learning methods
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Methods, systems, and computer program products for generating search determinations for assortment planning and buying using visual sketches are provided herein. A computer-implemented method includes processing a query image by identifying one or more visual features in the query image and applying at least one nearest neighbor algorithm to the one or more identified visual features; identifying, from one or more databases, multiple images based at least in part on the processing; generating a result set by applying one or more smoothing algorithms to the multiple identified images; generating at least one sketch based at least in part on the result set; and outputting the at least one generated sketch to one or more users via a user interface.

## Claims

### Claim 1

A computer-implemented method, the method comprising steps of:
processing a query image by (i) identifying one or more visual features in the query image and (ii) applying at least one nearest neighbor algorithm to the one or more identified visual features;
identifying, from one or more databases, a set of multiple images based at least in part on said processing;
applying one or more smoothing algorithms to the multiple identified images, wherein the one or more smoothing algorithms remove at least one of the identified multiple images from the set;
generating a result set comprising the remaining identified images in the set;
generating a convex set of images corresponding to the result set;
generating at least one sketch based-at least in part on the result set and the convex set of images; and
outputting the at least one generated sketch to one or more users via a user interface;
wherein the steps are carried out by at least one computing device.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein said identifying one or more visual features in the query image comprises applying one or more models to the query image.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, wherein the one or more models comprise one or more convolutional neural networks.

### Claim 4 (depends on 2)

The computer-implemented method of claim 2, wherein the one or more models comprise one or more residual neural networks.

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the one or more databases comprise one or more product catalogues.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein said applying one or more smoothing algorithms to the multiple identified images comprises determining statistics with respect to color and pattern for each pixel across the multiple identified images.

### Claim 7 (depends on 6)

The computer-implemented method of claim 6, wherein said generating at least one sketch comprises generating the color and pattern of the at least one sketch, based at least in part on the determined statistics.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, wherein said generating the at least one sketch comprises implementing one or more deep learning techniques.

### Claim 9 (depends on 8)

The computer-implemented method of claim 8, wherein said implementing the one or more deep learning techniques comprises applying a generative network to the result set, using at least one feature vector that comprises at least one statistic representative of the multiple identified images.

### Claim 10 (depends on 9)

The computer-implemented method of claim 9, wherein the generative network comprises a deconvolution network.

### Claim 11 (depends on 8)

The computer-implemented method of claim 8, wherein said implementing the one or more deep learning techniques comprises implementing a disentangled generation technique.

### Claim 12 (depends on 11)

The computer-implemented method of claim 11, wherein said implementing a disentangled generation technique comprises identifying one or more shape contours of all images in the result set and dilating and contracting the one or more identified shape contours to generate the at least one sketch.

### Claim 13 (depends on 1)

The computer-implemented method of claim 1, wherein said generating at least one sketch comprises generating the at least one sketch based at least in part on one or more distance values with respect to the query image and the multiple identified images.

### Claim 14

A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computing device to cause the computing device to:
process a query image by (i) identifying one or more visual features in the query image and (ii) applying at least one nearest neighbor algorithm to the one or more identified visual features;
identify, from one or more databases, a set of multiple images based at least in part on said processing;
apply one or more smoothing algorithms to the multiple identified images, wherein the one or more smoothing algorithms remove at least one of the identified multiple images from the set;
generate a result set comprising the remaining identified images in the set;
generate a convex set of images corresponding to the result set generate at least one sketch based at least in part on the result set and the convex set of images; and
outputting the at least one generated sketch to one or more users via a user interface.

### Claim 15 (depends on 14)

The computer program product of claim 14, wherein said identifying one or more visual features in the query image comprises applying one or more models to the query image, and wherein the one or more models comprise at least one of (i) one or more convolutional neural networks and (ii) one or more residual neural networks.

### Claim 16 (depends on 14)

The computer program product of claim 14, wherein said applying one or more smoothing algorithms to the multiple identified images comprises determining statistics with respect to color and pattern for each pixel across the multiple identified images, and wherein said generating at least one sketch comprises generating the color and pattern of the at least one sketch based at least in part on the determined statistics.

### Claim 17 (depends on 14)

The computer program product of claim 14, wherein said generating the at least one sketch comprises implementing one or more deep learning techniques, and wherein said implementing the one or more deep learning techniques comprises at least one of (i) applying a generative network to the result set using at least one feature vector that comprises at least one statistic representative of the multiple identified images and (ii) implementing a disentangled generation technique.

### Claim 18

A system comprising:
a memory; and
at least one processor operably coupled to the memory and configured for:
processing a query image by (i) identifying one or more visual features in the query image and (ii) applying at least one nearest neighbor algorithm to the one or more identified visual features;
identifying, from one or more databases, a set of multiple images based at least in part on said processing;
applying one or more smoothing algorithms to the multiple identified images, wherein the one or more smoothing algorithms remove at least one of the identified multiple images from the set;
generating a result set comprising the remaining identified images in the set;
generating a convex set of images corresponding to the result set generating at least one sketch based at least in part on the result set and the convex set of images; and
outputting the at least one generated sketch to one or more users via a user interface.

### Claim 19

A computer-implemented method, the method comprising steps of:
processing a query image by (i) identifying one or more visual features in the query image by applying one or more neural networks to the query image and (ii) applying at least one nearest neighbor algorithm to the one or more identified visual features;
identifying, from one or more product image databases, multiple images based at least in part on said processing;
applying one or more smoothing algorithms to the multiple identified images, wherein the one or more smoothing algorithms remove at least one of the identified multiple images from the set;
generating a result set comprising the remaining identified images in the set;
generating a convex set of images corresponding to the result set generating at least one sketch based at least in part on (i) one or more deep learning techniques applied to the result set and (ii) a constraint that a feature vector corresponding to the at least one generated sketch is within a convex region of a feature space corresponding to the convex set of images;
outputting the at least one generated sketch to one or more users via a user interface;
updating the at least one generated sketch based at least in part on one or more user-proposed modifications to the at least one generated sketch; and
outputting the at least one updated sketch to one or more of the users via the user interface;
wherein the steps are carried out by at least one computing device.

### Claim 20 (depends on 19)

The computer-implemented method of claim 19, wherein the one or more user-proposed modifications to the at least one generated sketch comprise one or more modifications with respect to at least one of (i) at least one shape within the at least one generated sketch, (ii) at least one color within the at least one generated sketch, and (iii) at least one pattern within the at least one generated sketch.
