# US 2021/0174169 A1 · Method to predict food color and recommend changes to achieve a target food color

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

- Number: US 2021/0174169 A1
- Document ID: US20210174169A1
- Status: Published application
- Kind: A1
- Application number: 17/180,451
- Filed: 2021-02-19
- Published: 2021-06-10
- Earliest claimed: 2019-10-08
- Assignees: NotCo Delaware, LLC
- Applicants: Notco Delaware, LLC
- Inventors: Karim Pichara; Pablo Zamora; Matias Muchnick; Yoni Lerner; Osher Lerner
- Web page: https://patentgrep.com/patent/US20210174169A1

## CPC

- G06N 3/045: Combinations of networks
- A23L 5/40: Colouring or decolouring of foods
- G06N 3/0455: Auto-encoder networks; Encoder-decoder networks
- G06N 3/0495: Quantised networks; Sparse networks; Compressed networks
- G06N 3/0499: Feedforward networks
- G06N 3/084: Backpropagation, e.g. using gradient descent
- G06N 3/09: Supervised learning
- G06N 3/082: modifying the architecture, e.g. adding, deleting or silencing nodes or connections
- G06N 3/088: Non-supervised learning, e.g. competitive learning
- G06N 5/01: Dynamic search techniques; Heuristics; Dynamic trees; Branch-and-bound
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- A23L: FOODS, FOODSTUFFS OR NON-ALCOHOLIC BEVERAGES, NOT OTHERWISE PROVIDED FOR; PREPARATION OR TREATMENT THEREOF (preservation thereof A23B)

## Abstract

A color predictor is provided to predict the color of a food item given its formula comprising the ingredients and its quantities. The color predictor may utilize machine learning algorithms and a set of recipe data to train the color predictor. The color predictor can also be used by a color recommender to recommend changes in the given formula to achieve a target color.

## Claims

### Claim 1

A method comprising:
representing, in computer storage media, an initial formula for a food item as an initial formula vector;
representing, in computer storage media, target food color attributes for the food item as a target food color vector;
applying a neural network model to the initial formula vector and the target food color vector to determine a recommended formula for the food item, the recommended formula for the food item comprising changes to the initial formula for the food item to achieve the target food color attributes for the food item.

### Claim 2 (depends on 1)

The method of claim 1, wherein the initial formula vector comprises a set of ingredients and its respective quantities.

### Claim 3 (depends on 1)

The method of claim 1, wherein the neural network model implements at least one loss function to determine the changes to the initial formula, wherein the at least one loss function considers at least one of a plurality of factors including:
an attribute distance between the initial formula and the target food color,
an ingredient distance between the initial formula and recommended formula,
an ingredient likelihood of the recommended formula to be a realistic formula, and
an ingredient sparsity of ingredients in the recommended formula.

### Claim 4 (depends on 1)

The method of claim 1, wherein the recommended formula is determined based on stochastic gradient descent (SGD) and back propagation models.

### Claim 5 (depends on 1)

The method of claim 1, wherein applying the neural network model comprises optimizing the initial formula vector using a sparsity loss function.

### Claim 6 (depends on 1)

The method of claim 1, wherein applying the neural network model comprises normalizing the initial formula vector prior being operated on by one or more of at least one loss function.

### Claim 7 (depends on 1)

The method of claim 1, wherein applying the neural network model further comprises:
predicting, using a first machine learning model, color attributes associated with the initial formula, wherein the color attributes associated with the initial formula are represented as an initial formula color vector;
predicting, using a second machine learning model, color attributes associated with the recommended formula, wherein the color attributes associated with the recommended formula are represented as a recommended formula color vector.

### Claim 8 (depends on 7)

The method of claim 7, wherein the initial formula color vector and the recommended formula color vector are used by an attribute distance loss function to determine an attribute distance between the initial formula and the target food color.

### Claim 9

One or more non-transitory computer-readable storage media storing one or more instructions programmed which, when executed by one or more computing devices, cause:
representing, in computer storage media, an initial formula for a food item as an initial formula vector;
representing, in computer storage media, target food color attributes for the food item as a target food color vector;
applying a neural network model to the initial formula vector and the target food color vector to determine a recommended formula for the food item, the recommended formula for the food item comprising changes to the initial formula for the food item to achieve the target food color attributes for the food item.

### Claim 10 (depends on 9)

The one or more non-transitory computer-readable storage media of claim 9, wherein the initial formula vector comprises a set of ingredients and its respective quantities.

### Claim 11 (depends on 9)

The one or more non-transitory computer-readable storage media of claim 9, wherein the neural network model implements at least one loss function to determine the changes to the initial formula, wherein the at least one loss function considers at least one of a plurality of factors including:
an attribute distance between the initial formula and the target food color,
an ingredient distance between the initial formula and recommended formula,
an ingredient likelihood of the recommended formula to be a realistic formula, and
an ingredient sparsity of ingredients in the recommended formula.

### Claim 12 (depends on 9)

The one or more non-transitory computer-readable storage media of claim 9, wherein the recommended formula is determined based on stochastic gradient descent (SGD) and back propagation models.

### Claim 13 (depends on 9)

The one or more non-transitory computer-readable storage media of claim 9, wherein applying the neural network model comprises optimizing the initial formula vector using a sparsity loss function.

### Claim 14 (depends on 9)

The one or more non-transitory computer-readable storage media of claim 9, wherein applying the neural network model comprises normalizing the initial formula vector prior being operated on by one or more of at least one loss function.

### Claim 15 (depends on 9)

The one or more non-transitory computer-readable storage media of claim 9, wherein applying the neural network model further comprises:
predicting, using a first machine learning model, color attributes associated with the initial formula, wherein the color attributes associated with the initial formula are represented as an initial formula color vector;
predicting, using a second machine learning model, color attributes associated with the recommended formula, wherein the color attributes associated with the recommended formula are represented as a recommended formula color vector.

### Claim 16 (depends on 15)

The one or more non-transitory computer-readable storage media of claim 15, wherein the initial formula color vector and the recommended formula color vector are used by an attribute distance loss function to determine an attribute distance between the initial formula and the target food color.

### Claim 17

A computing system comprising:
one or more computer systems comprising one or more hardware processors and storage media; and
instructions stored in the storage media and which, when executed by the computing system, cause the computing system to perform:
representing an initial formula for a food item as an initial formula vector;
representing target food color attributes for the food item as a target food color vector;
applying a neural network model to the initial formula vector and the target food color vector to determine a recommended formula for the food item, the recommended formula for the food item comprising changes to the initial formula for the food item to achieve the target food color attributes for the food item.

### Claim 18 (depends on 17)

The computing system of claim 17, wherein the initial formula vector comprises a set of ingredients and its respective quantities

### Claim 19 (depends on 17)

The computing system of claim 17, wherein the neural network model implements at least one loss function to determine the changes to the initial formula, wherein the at least one loss function considers at least one of a plurality of factors including:
an attribute distance between the initial formula and the target food color,
an ingredient distance between the initial formula and recommended formula,
an ingredient likelihood of the recommended formula to be a realistic formula, and
an ingredient sparsity of ingredients in the recommended formula.

### Claim 20 (depends on 17)

The computing system of claim 17, wherein applying the neural network model further comprises:
predicting, using a first machine learning model, color attributes associated with the initial formula, wherein the color attributes associated with the initial formula are represented as an initial formula color vector;
predicting, using a second machine learning model, color attributes associated with the recommended formula, wherein the color attributes associated with the recommended formula are represented as a recommended formula color vector.
