Systems and methods for predicting long-tail colors in images
Abstract
Systems and methods for color prediction are described. Embodiments of the present disclosure receive an image that includes an object including a color, generate a color vector based on the image using a color classification network, where the color vector includes a color value corresponding to each of a set of colors, generate a bias vector by comparing the color vector to teach of a set of center vectors, where each of the set of center vectors corresponds to a color of the set of colors, and generate an unbiased color vector based on the color vector and the bias vector, where the unbiased color vector indicates the color of the object.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A method for color prediction, comprising: receiving an image that includes an object comprising a color; generating a color vector based on the image using a color classification network, wherein the color vector comprises a color value corresponding to each of a plurality of colors, and wherein the color classification network performs a convolution operation on the image to obtain the color vector; generating a bias vector based on identifying a debiasing factor, comparing the color vector to each of a plurality of center vectors, and computing a distance function between the color vector and each of the plurality of center vectors based on the debiasing factor and the comparison, wherein each of the plurality of center vectors is generated by computing an average vector of a plurality of color feature vectors corresponding to a color of the plurality of colors; and generating an unbiased color label for the image based on the color vector and the bias vector, wherein the unbiased c
- Claim 2Depends on #1
The method of claim 1, further comprising: extracting the plurality of color feature vectors corresponding to a plurality of training images from an encoder of the color classification network; computing a plurality of average feature vectors corresponding to the plurality of colors, respectively, based on the plurality of color feature vectors; and generating the plurality of center vectors based on the plurality of average feature vectors, respectively, using a classifier of the color classification network.
- Claim 3Depends on #2
The method of claim 2, further comprising: identifying a subset of the training images corresponding to each of the plurality of colors, wherein each of the plurality of average feature vectors is based on a corresponding subset of the training images.
- Claim 4Depends on #1
The method of claim 1, further comprising: adding the color value to a corresponding bias value from the bias vector to obtain an unbiased color value, wherein an unbiased color vector includes the unbiased color value.
- Claim 5Depends on #4
The method of claim 4, wherein: the unbiased color value represents a probability that the object comprises the color.
- Claim 6Depends on #1
The method of claim 1, further comprising: generating metadata for the image based on a unbiased color vector; receiving a search query comprising the color; and retrieving the image based on the search query and the metadata.
- Claim 7Independent Claim
A non-transitory computer readable medium storing code, the code comprising instructions executable by at least one processor to perform operations comprising: receiving an image that includes an object comprising a color; generating a color vector based on the image using a color classification network, wherein the color vector comprises a color value corresponding to each of a plurality of colors, and wherein the color classification network performs a convolution operation on the image to obtain the color vector; generating a bias vector based on identifying a debiasing factor, comparing the color vector to each of a plurality of center vectors, and computing a distance function between the color vector and each of the plurality of center vectors based on the debiasing factor and the comparison, wherein each of the plurality of center vectors is generated by computing an average vector of a plurality of color feature vectors corresponding to a color of the plurality of colors; and g
- Claim 8Depends on #7
The non-transitory computer readable medium of claim 7, the code further comprising instructions executable by the at least one processor to perform operations comprising: extracting the plurality of color feature vectors corresponding to a plurality of training images from an encoder of the color classification network; computing a plurality of average feature vectors corresponding to the plurality of colors, respectively, based on the plurality of color feature vectors; and generating the plurality of center vectors based on the plurality of average feature vectors, respectively, using a classifier of the color classification network.
Technical Overview & Description
BACKGROUND The following relates to color prediction. Color prediction is an image processing task that aims to predict the colors of an image or object within the image as they are perceived by a human. Human color perception can be surprisingly complex, for reasons ranging from color-shifts due to luminance changes to limitations in the human ability to maintain color constancy despite changes in lighting and reflections. Furthermore, different individuals can attribute different names to similarly perceived colors. Long-tail color prediction is the prediction of tail colors, i.e. rare colors. Examples of such colors include “ scarlet, ” “ fuchsia ” , “ coral ” , and others. These colors can be underrepresented in a training set compared to common or “ head ” colors. As a result, labeled datasets are often biased towards head colors and have fewer labels representing tail colors, even relative to the frequency that the tail colors appear. When prediction models are trained with biased datasets, this bias transfers to the model, resulting in decreased performance of the model for recognizing the tail colors. For example, many machine learning models are unable to predict tail colors in the top several guesses for a given image. Accordingly, there is a need for systems and methods for accurately predicting long-tail colors from images. SUMMARY The present disclosure describes systems and methods for long-tail color prediction. Embodiments of the present disclosure include a color prediction apparatus configured to predict colors present in an input image. The color prediction apparatus includes a color classification network configured to generate a color vector based on the input image. A debiasing component of the color prediction apparatus is configured to generate a bias vector based on bias in a classifier of the color prediction apparatus. Then, embodiments produce an unbiased color vector based on the color vector and the bias vector, where the unbiased color
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (8)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- Chun et al. (
- “
- A Novel Clothing Attribute Representation Network-Based Self-Attention Mechanism
- ”
- —
- IEEE
- —
- Nov. 2020, pp. 1-8) (Year: 2020).
- Tang et al. (
- “