Information processing device, information processing method, information processing system, and program
By concatenating feature vectors from multiple models to create a composite feature vector, the method enhances the accuracy and speed of image similarity searches, addressing the limitations of existing technologies.
Patent Information
- Application Number
- JP2022540714
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-10-11
- Publication Date
- 2024-10-17
- Estimated Expiration
- 2041-10-11
Smart Images

Figure 0007569382000001 
Figure 0007569382000002 
Figure 0007569382000003
Abstract
Description
[Technical field]
[0001] The present invention relates to an information processing device, an information processing method, an information processing system, and a program, and more particularly to a technique for predicting an image similar to an image including a product specified by a user. [Background technology]
[0002] In recent years, electronic commerce (E-commerce), the sale of goods over the Internet, has become very common, and many EC (Electronic Commerce) sites have been built on the Web to carry out such E-commerce. EC sites are often built using the languages of countries around the world, allowing users (consumers) living in many countries to purchase goods. By accessing EC sites from mobile devices such as PCs (Personal Computers) or smartphones, users can select and purchase the products they want, regardless of time, without having to go to a physical store.
[0003] A function is known on EC sites that searches for and presents one or more similar images, including products similar to the product image (product image) specified by the user, in order to increase the user's desire to purchase the product. For example, Patent Document 1 discloses a technique for removing a background image from a product image to extract a product region, and searching for an image that includes a region similar to the product region. In addition, such a function can also be used in a store that sells products sold on an EC site, when searching for similar products in response to a user request, using a terminal (store terminal) provided in the store. [Prior art documents] [Patent documents]
[0004] [Patent Document 1] JP 2009-251850 A Summary of the Invention [Problem to be solved by the invention]
[0005] The technology disclosed in Patent Document 1 calculates image features from product areas extracted from product images and searches for similar images based on the image features. However, this technology cannot analyze complex data and provide more accurate results more quickly, resulting in low accuracy in searching for similar images.
[0006] The present invention has been made in view of the above-mentioned problems, and has an object to provide a technique for searching for images similar to an input image with high accuracy. [Means for solving the problem]
[0007] In order to solve the above problem, one aspect of an information processing device according to the present invention comprises an acquisition means for acquiring an object image including a target object, a generation means for generating a plurality of feature vectors for the object by applying the object image to a plurality of learning models, a concatenation means for concatenating the plurality of feature vectors and embedding them in a common feature space to generate a composite feature vector in the feature space, and a search means for searching for similar images to the object image using the composite feature vector.
[0008] In the information processing device, the multiple learning models include a first feature estimation model that takes the object image as input and outputs a first feature vector indicating a higher level classification of the object, and a second feature estimation model that takes the object image as input and outputs a second feature vector indicating a lower level classification of the object, wherein the generation means generates the first feature vector and the second feature vector by applying the object image to the multiple learning models, and the concatenation means concatenates the first feature vector and the second feature vector to generate the composite feature vector.
[0009] In the information processing device, the multiple learning models include a first feature estimation model that takes the object image as input and outputs a first feature vector indicating a higher level classification of the object, and a second feature estimation model that takes the first feature vector as input and outputs a second feature vector indicating a lower level classification of the object, wherein the generation means generates the first feature vector and the second feature vector by applying the object image to the multiple learning models, and the concatenation means concatenates the first feature vector and the second feature vector to generate the composite feature vector.
[0010] In the information processing device, the multiple learning models further include an attribute estimation model that takes the object image as input and outputs an attribute vector indicating an attribute of the object, and a color estimation model that takes the object image as input and outputs a color feature vector indicating the color of the object, wherein the generation means generates the first feature vector, the second feature vector, the attribute vector, and the color feature vector by applying the object image to the multiple learning models, and the concatenation means concatenates the first feature vector, the second feature vector, the attribute vector, and the color feature vector to generate the composite feature vector.
[0011] In the information processing device, the attribute estimation model can be a gender estimation model that receives the object image as input and outputs a gender feature vector indicating the gender targeted by the object.
[0012] In the information processing device, the gender feature vector can be configured to be able to identify male, female, child, and unisex as the gender targeted by the object.
[0013] In the information processing device, the search means can search for, as the similar image, an image corresponding to a composite feature vector having a high similarity to the composite feature vector generated by the linking means. The search means can determine that a composite feature vector having a short Euclidean distance in the feature space from the composite feature vector generated by the linking means has a high degree of similarity.
[0014] In the information processing device, the acquisition means can acquire the object image transmitted from a user device.
[0015] In the information processing device, the object image may be an image including an object selected on a predetermined e-commerce site accessed by the user device.
[0016] In the information processing device, the object image may be an image including an object photographed by the user device.
[0017] In the information processing device, the object image may be an image stored in the user device.
[0018] In the information processing device, the acquisition means acquires the object image and a text image including text information selected by the user device in the object image, the text image being transmitted from the user device; The search means may extract the text information from the text image, and search for the similar image using the extracted text information and the composite feature vector.
[0019] In the information processing device, the object image may be an image that has been transformed using a Discrete Cosine Transform (DCT).
[0020] In order to solve the above problem, one aspect of an information processing method according to the present invention includes an acquisition step of acquiring an object image including a target object, a generation step of generating a plurality of feature vectors for the object image by applying the object image to a plurality of learning models, a concatenation step of concatenating the plurality of feature vectors and embedding them in a common feature space to generate a composite feature vector in the feature space, and a search step of searching for similar images to the object image using the composite feature vector.
[0021] In order to solve the above-mentioned problems, one aspect of an information processing program according to the present invention is an information processing program for causing a computer to execute information processing, the program including: The system is intended to execute processes including a generation process that generates multiple feature vectors for the object by applying the object image to multiple learning models, a concatenation process that concatenates the multiple feature vectors and embeds them in a common feature space to generate a composite feature vector in the feature space, and a search process that uses the composite feature vector to search for images similar to the object image.
[0022] In order to solve the above-mentioned problems, one aspect of the information processing system according to the present invention is an information processing system having a user device and an information processing device, wherein the user device has a transmitting means for transmitting an object image including a target object to the information processing device, and the information processing device has an acquiring means for acquiring the object image, a generating means for generating a plurality of feature vectors for the object by applying the object image to a plurality of learning models, a concatenation means for concatenating the plurality of feature vectors and embedding them in a common feature space to generate a composite feature vector in the feature space, and a search means for searching for similar images to the object image using the composite feature vector. Effect of the Invention
[0023] According to the present invention, it is possible to search for images similar to an input image with high accuracy. The above-mentioned objects, aspects, and advantages of the present invention, as well as objects, aspects, and advantages of the present invention not described above, will be understood by those skilled in the art from the following detailed description of the invention by referring to the accompanying drawings and the claims. [Brief description of the drawings]
[0024] [Figure 1] FIG. 1 shows an example of the configuration of an information processing system according to an embodiment of the present invention. [Diagram 2] FIG. 2 is a block diagram showing an example of a functional configuration of an information processing device according to an embodiment of the present invention. [Figure 3A] FIG. 3A shows a conceptual diagram of each feature vector and a composite feature vector. [Figure 3B] FIG. 3B shows a conceptual diagram of the similarity search process. [Figure 4] Figure 4 shows the schematic architecture of the image recognition model. [Diagram 5] FIG. 5 is a block diagram showing an example of a hardware configuration of an information processing device according to an embodiment of the present invention. [Figure 6] FIG. 6 is a flowchart showing a process executed by an information processing device according to an embodiment of the present invention. [Figure 7A] FIG. 7A shows an example of a screen display of a user device according to the first embodiment. [Figure 7B] FIG. 7B shows an example of a screen display of a user device according to the first embodiment. [Figure 8A] FIG. 8A shows an example of a screen display of a user device according to the second embodiment. [Figure 8B] FIG. 8B shows an example of a screen display of a user device according to the second embodiment. [Figure 8C] FIG. 8C shows an example of a screen display of a user device according to the second embodiment. [Figure 9A] FIG. 9A shows an example of a screen display of a user device according to the third embodiment. [Figure 9B]FIG. 9B shows an example of a screen display of a user device according to the third embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0025] Hereinafter, with reference to the attached drawings, an embodiment for carrying out the present invention will be described in detail. Among the components disclosed below, those having the same functions are given the same reference numerals, and their description will be omitted. Note that the embodiment disclosed below is an example of a means for realizing the present invention, and should be appropriately modified or changed depending on the configuration of the device to which the present invention is applied and various conditions, and the present invention is not limited to the following embodiment. Furthermore, not all of the combinations of features described in the present embodiment are necessarily essential to the solution of the present invention.
[0026] First Embodiment [Information processing system configuration] The configuration of an information processing system according to this embodiment is shown in Fig. 1. This information processing system includes a user device 10, such as a terminal device or a store terminal installed in a store, and an information processing device 100.
[0027] The user device 10 is, for example, a device such as a smartphone or a tablet, and is configured to be able to communicate with the information processing device 100 via a public network such as LTE (Long Term Evolution) or a wireless communication network such as a wireless LAN (Local Area Network). The user device 10 has a display unit (display surface) such as a liquid crystal display, and a user can perform various operations using a GUI (Graphic User Interface) provided on the liquid crystal display. The operations include various operations on content such as images displayed on a screen, such as a tap operation, a slide operation, and a scroll operation using a finger or a stylus. The user device 10 may be a device such as a desktop PC (Personal Computer) or a notebook PC. In this case, the user may operate the device using an input device such as a mouse or a keyboard. The user device 10 may also be provided with a separate display screen.
[0028] The user device 10 transmits a search query to the information processing device 100 in accordance with a user's operation. The search query corresponds to a request for searching for similar images (images including products similar to the product) to an image (product image (object image)) including a product (object) associated with the product image. In the following description, a product image for which similar images are searched may also be referred to as a query image. For example, a user can transmit a search query by selecting one product image as a query image from one or more product images displayed on the display unit of the user device 10 and then selecting a predetermined search button. The search query can include (associate) information on the query image in a format that can be decoded by the information processing device 100 or in the form of a URL.
[0029] The information processing device 100 is a server device capable of constructing an EC site and distributing web content, and is configured to provide a search service in this embodiment. As the search service, the information processing device 100 can generate content (search result) corresponding to a search query received from the user device 10 and distribute (output) the content to the user device 10.
[0030] [Functional configuration of information processing device 100] The information processing device 100 according to this embodiment acquires product images associated with a search query received from the user device 10, generates multiple feature vectors in accordance with multiple attributes of the product contained in the product images, generates a composite feature vector by concatenating the multiple feature vectors, and uses the composite feature vector to search for similar images that are similar to the product image.
[0031] FIG. 2 shows an example of a functional configuration of the information processing device 1 according to this embodiment. The information processing device 1 shown in Fig. 2 includes an acquisition unit 101, a first feature estimation unit 102, a second feature estimation unit 103, a gender estimation unit 104, a color estimation unit 105, a linking unit 106, a similarity search unit 107, a learning unit 108, an output unit 109, a learning model storage unit 110, and a search database 115. The learning model storage unit 110 stores various learning models (a first feature estimation model 111, a second feature estimation model 112, a gender estimation model 113, and a color estimation model 114) that are applied to the first feature estimation unit 102, the second feature estimation unit 103, the gender estimation unit 104, and the color estimation unit 105. The various learning models will be described later. The search database 115 is a database that stores information related to similar image search, and may be provided outside the information processing device 100.
[0032] The acquisition unit 101 acquires a product image (query image). In this embodiment, the acquisition unit 101 receives a search query transmitted by the user device 10, and acquires a product image associated with (included in) the search query. The product image may be an image in which colors are expressed using three colors, red (R), green (G), and blue (B). The product image may also be an image expressed using luminance (Y (Luma)) representing brightness and color components (Cb, Cr (Chroma)) (an image (YCbCr image) converted from an RGB image to YCbCr). The product image may also be data (coefficients) that have been DCT (Discrete Cosine Transform) converted (compressed) from a YCbCr image by an encoding unit (not shown) provided in the information processing device 100. The acquisition unit 101 may also be configured to acquire data as a product image that has been (YCbCr converted and) DCT converted by a device other than the information processing device 100. The acquisition unit 101 outputs the acquired product images to the first feature estimation unit 102, the second feature estimation unit 103, the gender estimation unit 104, and the color estimation unit 105.
[0033] The first feature estimation unit 102, the second feature estimation unit 103, the gender estimation unit 104, the color estimation unit 105, and the connection unit 106 will be described with reference to Fig. 3A. Fig. 3A shows a conceptual diagram of each feature vector and a compound feature vector.
[0034] The first feature estimation unit 102 applies the product image (corresponding to the input image 30 in FIG. 3A) acquired by the acquisition unit 101 to the first feature estimation model 111, and performs supervised learning to estimate (predict) a first feature for the product, and generates a first feature vector 301 indicating the first feature. The first feature indicates a higher-level (aggregated) classification of the product, and is also referred to as a category. In this specification, a feature vector indicates a value / information indicating a feature.
[0035] The second feature estimation unit 103 applies the product image acquired by the acquisition unit 101 to the second feature estimation model 112, and performs supervised learning to estimate (predict) a second feature for the product, thereby generating a second feature vector 302 indicating the second feature. The second feature indicates a lower level (subdivided) classification of the product, and is linked to the first feature. The second feature is also called a genre. The second feature estimation unit 103 may be configured to estimate the first feature by applying the first feature estimation model 111, and to estimate the second feature from the estimated first feature. In this case, the second feature estimation model 112 is configured to generate the second feature vector 302 using the first feature vector 301 generated by the first feature estimation unit 102 as an input. Then, the second feature estimation unit 103 applies the first feature vector to the second feature estimation model 112, and generates the second feature vector 302.
[0036] As previously mentioned, the first feature indicates a higher level (aggregated) product classification type, and the second feature indicates a lower level (detailed) product classification type. To give a specific example, the first feature (category) includes product classification types such as men's fashion, women's fashion, fashion goods, underwear, shoes, accessories, and watches. If the first feature is women's fashion, the second feature (genre) includes product classification types such as pants, shirts, blouses, skirts, and dresses. The first feature estimation unit 103 and the second feature estimation unit 104 output the generated first feature vector 301 and second feature vector 302 to the concatenation unit 106, respectively.
[0037] The gender estimation unit 104 applies the product image acquired by the acquisition unit 101 to the gender estimation model 113 and performs supervised learning to estimate (predict) the gender for which the product is intended, and generates a gender feature vector 303 indicating the gender. In this embodiment, the gender estimation unit 104 can identify not only genders such as male and female, but also categories such as kids and unisex. The gender estimation unit 104 outputs the generated gender characteristic vector 303 to the concatenation unit 106.
[0038] The color estimation unit 105 applies the product image acquired by the acquisition unit 101 to the color estimation model 114 and performs supervised learning to estimate (predict) the color of the product and generate a color feature vector 304 indicating the color. The color estimation unit 105 outputs the generated color feature vector 304 to the connection unit 106 .
[0039] The concatenation unit 106 concatenates the feature vectors output by the first feature estimation unit 102, the second feature estimation unit 103, the gender estimation unit 104, and the color estimation unit 105, embeds these feature vectors in a multi-dimensional feature space (hereinafter referred to as feature space), and generates a composite feature vector 311 (corresponding to the concatenation 31 in FIG. 3A). That is, the concatenation unit 106 concatenates the first feature vector 301, the second feature vector 302, the gender feature vector 303, and the color feature vector 304 into one (common) feature space to generate a composite feature vector 311, embeds it in one common feature space, and generates the composite feature vector 311.
[0040] As described below, the first feature vector 301 is expressed in 200 dimensions (200D), the second feature vector 302 is expressed in 153 dimensions (153D), the gender feature vector 303 is expressed in four dimensions (4D), and the color feature vector 304 is expressed in 12 dimensions (12D). Therefore, the composite feature vector 311 is expressed in 369 dimensions (369D). 3A, the composite feature vector 311 may be concatenated in the order of the gender feature vector 303, the second feature vector 302, the color feature vector 304, and the first feature vector 301. This concatenation order is merely an example, and is not limited to this order.
[0041] The linking unit 106 outputs the generated composite feature vector 311 to the similarity search unit 107 .
[0042] The similarity search unit 107 uses the composite feature vector 311 generated by the linking unit 106 as an input to search for similar images to the product image acquired by the acquisition unit 101. In this embodiment, the similarity search unit 107 performs a similar image search in a feature space. The similarity search unit 107 is configured to search for similar images using, for example, a known nearest neighbor search engine. Known nearest neighbor search engines include those that use the FAISS (Facebook AI Similarity Search) algorithm. Note that the entire or part of the configuration of the similarity search unit 107 may be installed externally so as to be associated with the information processing device 100.
[0043] The output unit 109 outputs information including images (similar images) corresponding to one or more image IDs that are search results by the similarity search unit 107. For example, the output unit 109 can provide the information via the communication I / F 507 (FIG. 5).
[0044] The learning unit 108 trains the first feature estimation model 111, the second feature estimation model 112, the gender estimation model 113, and the color estimation model 114, and stores these trained learning models in the learning model storage unit 110. In this embodiment, the first feature estimation model 111, the second feature estimation model 112, the gender estimation model 113, and the color estimation model 114 are all learning models for machine learning to which an image recognition model is applied. An example of the schematic architecture of the image recognition model is shown in FIG.
[0045] As shown in FIG. 4, the image recognition model according to this embodiment is composed of an intermediate layer including a plurality of convolution layers and an output layer that classifies / predicts classes, and outputs a feature vector predicted from an input product image. For example, EfficientNet by Google Research is used as the intermediate layer. When EfficientNet is used, MBConv (Mobile Inverted Bottleneck Convolution) is used for each convolution layer. A feature map is extracted in the intermediate layer, and the output layer is configured to generate a final feature vector while reducing dimensions from the map. The number of convolution layers is not limited to a specific number. The first feature estimation model 111, the second feature estimation model 112, the gender estimation model 113, and the color estimation model 114 can each be configured with an architecture similar to the image recognition model shown in Figure 4, and output a first feature vector 301, a second feature vector 302, a gender feature vector 303, and a color feature vector 304, respectively.
[0046] The first feature estimation model 111, the second feature estimation model 112, the gender estimation model 113, and the color estimation model 114 undergo learning processing using individual learning (teacher) data. Here, the learning processing for each learning model will be described.
[0047] First feature estimation model 111: A model that predicts a first feature (category (higher level classification of a product)) from a product image and outputs a first feature vector 301. A combination of a product image (input image) and the category of the product as correct answer data is used as learning data. In the learning data, categories for products are set in advance, and in this embodiment, there are 200 types of categories. As mentioned above, examples of categories for wearable items are men's fashion, women's fashion, fashion goods, underwear, shoes, accessories, and watches. In addition, categories may also include food, gardening, computers / peripheral devices, etc. In this embodiment, the first feature estimation model 111 is configured to be capable of classifying 200 types of categories, and the first feature vector 301 is a vector capable of expressing 200 dimensions.
[0048] Second feature estimation model 112: A model that predicts a second feature (genre (lower level classification of a product)) from a product image and outputs a second feature vector 302. A combination of a product image (input image) and the genre of the product as correct answer data is used as learning data. In the learning data, the genre of the product is set in advance, and is set in advance in a format that is linked to each category, which is a higher level classification. In this embodiment, the second feature estimation model 112 is configured to be able to estimate 153 types of genres for each first feature vector 301 (category) generated by the first feature estimation unit 102, and the second feature vector 302 is a vector capable of expressing 153 dimensions. The second feature estimation model 112 may also be configured to estimate a first feature to generate a first feature vector 301, and to estimate a second feature from the first feature to generate a second feature vector 302.
[0049] Gender estimation model 113: A model that predicts gender from a product image and outputs a gender feature vector 303. A combination of a product image (input image) and gender information targeted by the product as correct answer data is used as learning data. As described above, in this embodiment, gender includes not only male and female but also categories such as kids and unisex. In the learning data, the gender features for the product are set in advance. The gender estimation model 113 is configured to be capable of estimating four types of gender (male, female, kids, unisex), and the gender feature vector 303 is a vector capable of expressing four dimensions. In addition, the gender estimation model 113 may be configured to predict gender based on the first feature vector 301 and / or the second feature vector 302, rather than based on the image recognition model shown in FIG. 4, and to generate and output the gender feature vector 303.
[0050] Color estimation model 114: A model that predicts color from a product image and outputs a color feature vector 304. A combination of a product image (input image) and color information of the product as correct answer data is used as learning data. In this embodiment, the color estimation model 114 is configured to be able to classify 12 types (patterns) of color information, and the color feature vector 304 is a vector that can express 12 dimensions.
[0051] [Hardware configuration of information processing device 100] FIG. 5 is a block diagram showing an example of a hardware configuration of the information processing device 100 according to this embodiment. The information processing apparatus 100 according to the present embodiment can be implemented on any single or multiple computers, mobile devices, or any other processing platform. 5, the information processing device 100 is illustrated as being implemented in a single computer, but the information processing device 100 according to the present embodiment may be implemented in a computer system including multiple computers. The multiple computers may be connected to each other via a wired or wireless network so as to be able to communicate with each other.
[0052] 5, the information processing device 100 may include a CPU 501, a ROM 502, a RAM 503, a HDD 504, an input unit 505, a display unit 506, a communication I / F 507, and a system bus 508. The information processing device 100 may also include an external memory. A CPU (Central Processing Unit) 501 generally controls the operations of the information processing device 100, and controls each of the components (502 to 507) via a system bus 508, which is a data transmission path.
[0053] The ROM (Read Only Memory) 502 is a non-volatile memory that stores a control program and the like necessary for the CPU 501 to execute processing. Note that the program may be stored in a non-volatile memory such as a HDD (Hard Disk Drive) 504 or an SSD (Solid State Drive) or an external memory such as a removable storage medium (not shown). The RAM (Random Access Memory) 503 is a volatile memory and functions as a main memory, a work area, etc. of the CPU 501. That is, the CPU 501 loads necessary programs, etc. from the ROM 502 to the RAM 503 when executing processing, and realizes various functional operations by executing the programs, etc.
[0054] The HDD 504 stores, for example, various data and various information required when the CPU 501 performs processing using a program. The HDD 504 also stores, for example, various data and various information obtained when the CPU 501 performs processing using a program. The input unit 505 is composed of a keyboard and a pointing device such as a mouse. The display unit 506 is configured with a monitor such as a liquid crystal display (LCD), etc. The display unit 506 may be configured in combination with the input unit 505 to function as a GUI (Graphical User Interface).
[0055] The communication I / F 507 is an interface that controls communication between the information processing device 100 and an external device. The communication I / F 507 provides an interface with a network and executes communication with an external device via the network. Various data, various parameters, and the like are transmitted and received between the external device and the communication I / F 507. In this embodiment, the communication I / F 507 may execute communication via a wired LAN (Local Area Network) or a dedicated line conforming to a communication standard such as Ethernet (registered trademark). However, the network available in this embodiment is not limited to this, and may be configured as a wireless network. This wireless network includes wireless PANs (Personal Area Networks) such as Bluetooth (registered trademark), ZigBee (registered trademark), and UWB (Ultra Wide Band). It also includes wireless LANs (Local Area Networks) such as Wi-Fi (Wireless Fidelity) (registered trademark), and wireless MANs (Metropolitan Area Networks) such as WiMAX (registered trademark). It also includes wireless WANs (Wide Area Networks) such as LTE / 3G, 4G, and 5G. Note that the network only needs to be able to connect the devices to each other so that they can communicate with each other, and the communication standard, scale, and configuration are not limited to those described above.
[0056] At least some of the functions of each element of the information processing device 100 shown in Fig. 5 can be realized by the CPU 501 executing a program. However, at least some of the functions of each element of the information processing device 100 shown in Fig. 5 may be operated as dedicated hardware. In this case, the dedicated hardware operates under the control of the CPU 501.
[0057] [Hardware Configuration of User Device 10] The hardware configuration of the user device 10 shown in Fig. 1 may be the same as that of Fig. 5. That is, the user device 10 may include a CPU 501, a ROM 502, a RAM 503, a HDD 504, an input unit 505, a display unit 506, a communication I / F 507, and a system bus 508. The user device 10 can display various information provided by the information processing device 100 on the display unit 506, and perform processing corresponding to an input operation received from a user via a GUI (configured by the input unit 505 and the display unit 506). User device 10 may also include a camera (not shown), and is configured to perform image capture processing under the control of CPU 501 in response to user operations.
[0058] [Processing flow] Fig. 6 shows a flowchart of processing executed by the information processing device 100 according to this embodiment. The processing shown in Fig. 6 can be realized by the CPU 501 of the information processing device 100 loading a program stored in the ROM 502 or the like into the RAM 503 and executing the program.
[0059] In S61, the acquisition unit 101 acquires a product image as a query image. For example, the acquisition unit 101 can acquire the product image by acquiring an image or a URL indicating an image included in the search query transmitted from the user device 10. S62 to S65 are processes for generating (estimating) feature vectors (first feature vector 301, second feature vector 302, gender feature vector 303, and color feature vector 304) for the product image acquired in S61. The processes of S62 to S65 may be performed in an order different from that shown in FIG. 6, or may be performed in parallel.
[0060] In S62, the first feature estimation unit 102 applies the product image acquired by the acquisition unit 101 to the first feature estimation model 111 to generate a first feature vector 301. As described above, in this embodiment, the first feature estimation model 111 is configured to be able to estimate 200 types of first features (categories), and the first feature vector 301 is a vector capable of expressing 200 dimensions.
[0061] In S63, the second feature estimation unit 103 generates a second feature vector 302 by applying the product image acquired by the acquisition unit 101 to the second feature estimation model 112. As described above, in this embodiment, the second feature estimation model 112 is configured to be able to estimate 153 types of second features (genres) for each first feature (category), and the second feature vector 302 is a vector capable of expressing 153 dimensions. The second feature vector 302 may be configured to have a plurality of levels. For example, when the category of the product estimated by the first feature estimation unit 102 is ladies' fashion, the genre of the product estimated by the second feature estimation unit 103 may be configured to have two levels, from an upper level to a lower level, of ladies' fashion_bottoms / pants.
[0062] In S64, the gender estimation unit 104 generates a gender feature vector 303 by applying the product image acquired by the acquisition unit 101 to the gender estimation model 113. As described above, in this embodiment, the gender estimation model 113 is configured to be capable of estimating four types of gender (male, female, kids, unisex), and the gender feature vector 303 is a vector capable of expressing four dimensions.
[0063] In S65, the color estimation unit 105 generates a color feature vector 304 by applying the product image acquired by the acquisition unit 101 to the color estimation model 114. As described above, in this embodiment, the color estimation model 114 is configured to be able to estimate 12 types of colors, and the color feature vector 304 is a vector capable of expressing 12 dimensions.
[0064] When estimation of each feature vector is completed in S62 to S65, the process proceeds to S66. In S66, the concatenation unit 106 concatenates the first feature vector 301, the second feature vector 302, the gender feature vector 303, and the color feature vector 304 output in S62 to S65, embeds them in the feature space, and generates a composite feature vector 311.
[0065] In S67, the similarity search unit 107 receives the composite feature vector 311 generated by the linking unit 106 as an input, and searches for images (similar images) similar to the product image acquired by the acquisition unit 101. The search process (neighborhood search process) can be performed using the FAISS (Facebook AI Similarity Search) algorithm. FAISS is a neighborhood search algorithm that uses LSH (Locality Sensitive Hashing).
[0066] Prior to the search process, the similarity search unit 107 generates a composite feature vector 311 for each of a plurality of product images as learning data. Here, an image ID (index / identifier) for identifying the image is assigned to each product image. The similarity search unit 107 stores the composite feature vector 311 in the search database 115 in association (mapping) with the image ID of the product image indicated by the vector. The format of the image ID is not limited to a specific one, and may be information corresponding to a URL, or the like. The similarity search unit 107 calculates the similarity (Euclidean distance) in one (common) feature space between multiple composite feature vectors stored in search database 115 and composite feature vector 311 generated by concatenation unit 106, and acquires one or more composite feature vectors similar to composite feature vector 311. This process corresponds to a neighborhood search process. Next, the similarity search unit 107 acquires one or more image IDs corresponding to the acquired one or more similar composite feature vectors, and outputs similar images corresponding to the image IDs.
[0067] In addition, if the composite feature vector 311 is generated once by the concatenation unit 106 and the composite feature vector 311 is associated with an image ID by the similarity search unit 107, it is possible to search for similar images without performing the process of generating four feature vectors. For example, if there is a composite feature vector corresponding to the image ID of a product image associated with a search query received from the user device 10, the similar search unit 107 can retrieve the corresponding composite feature vector from the image ID in the search database 115, and search for similar images from the corresponding composite feature vector.
[0068] A conceptual diagram of the similar image search process of S67 described above is shown in FIG. 3B. As shown in FIG. 3B, a neighborhood search process is performed from a composite feature vector 311 generated from a product image, or a composite feature vector 311 searched from an image ID of a product image. In the neighborhood search process, a composite feature vector having a high similarity to the composite feature vector 311 is searched for. In this embodiment, a vector having a close Euclidean distance in the feature space is determined to have a high similarity. Then, an image having an image ID corresponding to the searched composite feature vector is searched for in a database of image IDs (included in the search database 115), and the searched image is output as a similar image.
[0069] The similarity search unit 107 may perform a similarity search by reading feature vectors from the top of the composite feature vector 311. For example, if the composite feature vector 311 is linked in the order of gender feature vector 303, second feature vector 302, color feature vector 304, and first feature vector 301 as shown in Fig. 3A, the similarity search unit 107 can first read and search the gender feature vector 303, and then read and search the second feature vector 302.
[0070] In S68, the output unit 109 outputs (distributes) information including images (similar images) corresponding to one or more image IDs that are the search results by the similarity search unit 107 to the user device 10. That is, the information including the similar images is provided to the user device 10 as a response (search result) to the search query received by the acquisition unit 101 from the user device 10.
[0071] [Example of a screen on the user device 10] Next, with reference to Fig. 7A and Fig. 7B, a screen display example in the user device 10 according to this embodiment will be described. Fig. 7A and Fig. 7B show a screen display example in the user device 10 according to this embodiment. A screen 70 is an example of a screen displayed on the display unit 506 of the user device 10. For example, a user operates the user device 10 to access an arbitrary electronic commerce site (a website such as an EC site), and then inputs an arbitrary search word and transmits it to the information processing device 100, whereby data of the screen 70 is provided and displayed on the display unit 506 of the user device 10.
[0072] When a user selects an area 71 on the screen 70 (a selection action includes actions such as pressing and touching; the same applies below), a product image 72 in the area 71 and a search button 73 for the product image 72 are displayed. The search button 73 is displayed so as to be selectable. When the user further selects the search button 73 here, a search query associated with the product image 72 as a query image is transmitted to the information processing device 100. The image ID assigned to the product image 72 may also be transmitted together with the search query.
[0073] The information processing device 100, which has received the search query, generates a first feature vector 301, a second feature vector 302, a gender feature vector 303, and a color feature vector 304 from the product image 72 associated with the search query. The information processing device 100 then generates a composite feature vector 311 from the four feature vectors, searches for one or more similar images from the composite feature vector 311, and outputs the search results (one or more similar images and various information related to the images) to the user device 10.
[0074] FIG. 7B shows an example of a screen in which the user device 10 displays the search results received from the information processing device 100 on the display unit 506. In this example, it is assumed that four similar images 75A to 75D are searched for from the product image 72, and the four similar images 75A to 75D are displayed on the screen 74. Note that although only images are shown on the screen 74, various information related to each image, such as price and attribute information, may also be displayed. In addition, if the EC site is a mall-type EC site (an EC site such as a shopping mall on the Web) and is configured such that the product included in the product image 72 is handled by different vendors, product images 72 with different prices or vendors may be searched for as similar images. In addition, similar images in which the product included in the product image 72 is displayed in a different layout may be searched for.
[0075] In this way, the information processing device 100 according to the present embodiment predicts multiple attributes (features) of a product from the product image to generate multiple feature vectors, and searches for similar images from a composite feature vector generated by embedding the multiple feature vectors in one feature space. This enables similar image search from the perspective of each of the product's features, providing similar images with higher accuracy than before, and improving usability.
[0076] In the above embodiment, an example has been described in which the composite feature vector 311 is generated from four feature vectors, but the number of feature vectors to be combined is not limited to four. For example, the composite feature vector 311 may be generated from the second feature vector 302 and the color feature vector 304, and a similar image may be searched for from the composite feature vector 311. Also, a configuration may be adopted in which a similar image is searched for from the composite feature vector 311 that is combined with other feature vectors generated by machine learning.
[0077] In the above embodiment, the gender feature vector 303 has been described as an example, but since the gender of a product is one of the product attributes, the information processing device 100 may be configured to estimate (extract) product attributes other than gender. For example, the information processing device 100 may have an attribute estimation model that receives a product image as input and outputs an attribute vector indicating the product attribute, and generate an attribute vector using the attribute estimation model. In this case, the attribute vector may be incorporated into the composite feature vector 311 instead of or in addition to the gender feature vector 303.
[0078] <Second embodiment> In the first embodiment, the user device 10 selects one product image on a website such as an EC site, and the information processing device 100 searches for similar images that are similar to the selected product image and provides them to the user device 10. On the other hand, it is assumed that the user considers purchasing not only from the products handled on the accessed EC site but also by searching for products similar to the product included in the product image captured by a camera (imaging means) in the user device 10. It is also assumed that the user considers purchasing by arbitrarily selecting an image from images already captured by a camera or images acquired from an external device and stored in the storage unit of the user device 10, and searching for products similar to the product included in the selected image.
[0079] Therefore, in this embodiment, an embodiment will be described in which a user searches for similar images from images captured by a camera or images selected from a storage unit in the user device 10. Note that in this embodiment, descriptions of matters common to the first embodiment will be omitted. The configuration of the information processing device 100 according to this embodiment is similar to that of the first embodiment. The flow of the process executed by the information processing device 100 according to this embodiment is also similar to the process shown in Fig. 6 described in the first embodiment. The product image as the query image in the first embodiment corresponds to an image photographed by the user device 10 or an image selected from a storage unit.
[0080] [Example of a screen on the user device 10] An example of a screen display on the user device 10 according to this embodiment will be described with reference to Fig. 8A to Fig. 8C. Fig. 8A to Fig. 8C show an example of a screen display on the user device 10 according to this embodiment. A screen 80 in Fig. 8A is an example of a screen displayed on the display unit 506 of the user device 10. For example, a user operates the user device 10 to access an arbitrary electronic commerce site (EC site), and then inputs an arbitrary search word and transmits it to the information processing device 100, whereby information on the screen 80 is provided and displayed on the display unit 506 of the user device 10.
[0081] Furthermore, CPU 501 of user device 10 controls display unit 506 of user device 10 to also display camera button 81 and photo library button 82 in response to an operation by the user. Note that in the example of Fig. 8A, control is performed so that camera button 81 and photo library button 82 are displayed on screen 80 provided by information processing device 100, but it is sufficient that camera button 81 and photo library button 82 are displayed on a screen associated with an EC site accessed by the user. Furthermore, camera button 81 and photo library button 82 may be configured in other forms, such as being configured by physical buttons.
[0082] The camera button 81 is a button for activating a camera function (camera application) provided in the user device 10. When the camera button 81 is selected, the user device 10 enters a state (photography mode) in which it is possible to capture an image of any subject. The photo library button 82 is a button for viewing one or more images stored in a memory unit such as the RAM 503 of the user device. When the photo library button 82 is selected, one or more images stored in the memory unit are displayed on the display unit 506 of the user device 10.
[0083] FIG. 8B shows an example of a screen in which a user selects camera button 81 on screen 80 in FIG. 8A and captures an image as a query image for searching for similar images. On screen 83 in FIG. 8B, image 84 indicates the captured image. Also, on screen 83, a search button 85 for image 84 is displayed. Search button 85 is displayed so as to be selectable. In this state, when a user selects search button 85, a search query associated with image 84 as the query image is transmitted to information processing device 100.
[0084] The information processing device 100, which has received the search query, generates a first feature vector 301, a second feature vector 302, a gender feature vector 303, and a color feature vector 304 from the image 84 associated with the search query. The information processing device 100 then generates a composite feature vector 311 from the four feature vectors, searches for one or more similar images from the composite feature vector 311, and outputs the search results (the one or more similar images and various information related to the images) to the user device 10.
[0085] FIG. 8C shows an example of a screen displayed when the user selects the photo library button 82 on the screen 80 in FIG. 8A. A screen 86 in FIG. 8C displays captured images stored in the storage unit of the user device 10 and images acquired from the outside. The user can change one or more images displayed on the screen 86 by, for example, swiping the screen 86 to the right or left. On the screen 86, an image 87 displayed in the center is set as a query image. Also, on the image 86, a search button 88 for the image 87 is displayed. The search button 88 is displayed so as to be selectable. When the user selects a search button 88 in the state of screen 86, a search query associated with image 87 as a query image is transmitted to the information processing device 100. Note that, in the example of Fig. 8C, the image displayed in the center of screen 86 is set as the query image, but it is sufficient that the query image is selected from one or more images stored in the storage unit of the user device 10.
[0086] The information processing device 100, which has received the search query, generates a first feature vector 301, a second feature vector 302, a gender feature vector 303, and a color feature vector 304 from an image 87 associated with the search query. The information processing device 100 then generates a composite feature vector 311 from the four feature vectors, searches for one or more similar images from the composite feature vector 311, and outputs the search results (one or more similar images and various information related to the images) to the user device 10.
[0087] In this way, according to this embodiment, a query image is selected from images taken by the user, images already taken, or images acquired from an external source, rather than from a website such as an EC site. This allows the user to select a query image more freely and search for images similar to the query image, thereby improving usability.
[0088] <Third embodiment> In the first embodiment, the user device 10 selects one product image on a website such as an EC site, and the information processing device 100 searches for similar images similar to the selected product image and provides them to the user device 10. In the second embodiment, the user device 10 selects one image from images photographed by the device or images already acquired, and the information processing device 100 searches for similar images similar to the selected image and provides them to the user device 10. In this embodiment, an embodiment that combines the first and second embodiments will be described. In this embodiment, the description of matters common to the first and second embodiments will be omitted.
[0089] The configuration of the information processing device 100 according to this embodiment is similar to that of the first embodiment. Moreover, the flow of the process executed by the information processing device 100 according to this embodiment is also similar to the process shown in FIG. However, the processing of the similarity search unit 107 is different from that of the above embodiment. The user device 10 transmits a search query that associates a product image as a query image with an image (text image) including text information selected from the product image, and the similarity search unit 107 of the information processing device 100 searches for similar images using the product image and the text image.
[0090] [Example of a screen on the user device 10] An example of a screen display on the user device 10 according to this embodiment will be described with reference to Figures 9A and 9B. Figures 9A and 9B show an example of a screen display on the user device 10 according to this embodiment. A screen 90 in Figure 9A is an example of a screen displayed on the display unit 506 of the user device 10. For example, a user operates the user device 10 to access an arbitrary electronic commerce site (EC site), and then inputs an arbitrary search word and transmits it to the information processing device 100, whereby information on the screen 90 is provided and displayed on the display unit 506 of the user device 10. Furthermore, in response to an operation by the user, CPU 501 of user device 10 controls display unit 506 of user device 10 to also display a camera button 91. The function of camera button 91 is similar to that of camera button 81 in FIG. 8A.
[0091] Assume that a product image 92 is displayed on the screen 90 in FIG. 9A in response to a search operation by the user. Assume that the user selects the camera button 91 to enter shooting mode and captures an image of an area 93. An image 94 displayed on the display unit 506 after the image capture is an image corresponding to the area 93 and is an image including text information (text image). Note that the image 94 is not limited to an image obtained by a shooting operation, but may be an image obtained by a selection operation by any user operation. A search button 95 for the product image 92 (or area 93) is displayed on the image 94. The search button 95 is displayed so as to be selectable. In this state, when the user selects the search button 95, the search query associated with the product image 92 and the image (text image) 94 is transmitted to the information processing device 100.
[0092] The information processing device 100, which has received the search query, generates a first feature vector 301, a second feature vector 302, a gender feature vector 303, and a color feature vector 304 from the image 92 associated with the search query. Then, the information processing device 100 generates a composite feature vector 311 from the four feature vectors. If a composite feature vector 311 has already been generated from the image 92, the similarity search unit 107 searches for and acquires the composite feature vector 311 from the image ID.
[0093] Next, the similarity search unit 107 analyzes the image 94 associated with the search query to extract text information. Various known image processing techniques and machine learning may be used to extract the text information. In this embodiment, the similarity search unit 107 is configured to extract text information (e.g., at least one of a product name and a brand name) from the image 94 using machine learning. In the case of the image 94, the extracted product name is "Mineral Sunscreen" and the extracted brand name is "ABC WHITE."
[0094] The similarity search unit 107 searches for one or more similar images to the image 94 based on the composite feature vector 311 and the extracted text information, and outputs the search results (one or more similar images and various information related to the images) to the user device 10.
[0095] 9B shows an example screen in which the user device 10 displays on the display unit 506 the search results received from the information processing device 100. In this example, it is assumed that two similar images 98A and 98B have been searched for from the image 94, and the two similar images 98A and 98B are displayed on the screen 97. Note that while the screen 97 shows only images, various information related to each image, such as price and attribute information, may also be displayed.
[0096] In this manner, the information processing device 100 according to the present embodiment predicts multiple attributes (features) of a product from the product image to generate multiple feature vectors, and generates a composite feature vector by combining the multiple feature vectors. Furthermore, the information processing device 100 extracts text information from text images in the product images. Then, the information processing device 100 searches for similar images from the composite feature vector and the text information. This makes it possible to provide similar images with higher accuracy than before, and improve usability.
[0097] In this embodiment, the acquisition unit 101 has been described as acquiring one product image, but if multiple images are associated with a search query or if multiple search queries are received at one time, the information processing device 100 may search for similar images for each image.
[0098] Although specific embodiments have been described above, the embodiments are merely illustrative and are not intended to limit the scope of the present invention. The apparatus and method described in this specification can be embodied in forms other than those described above. Furthermore, the above-described embodiments can be appropriately omitted, substituted, and modified without departing from the scope of the present invention. Such omitted, substituted, and modified forms are included in the scope of the claims and their equivalents, and belong to the technical scope of the present invention. [Explanation of symbols]
[0099] 10: user device, 100: information processing device, 101: acquisition unit, 102: first feature estimation unit, 103: second feature estimation unit, 104: gender estimation unit, 105: color estimation unit, 106: connection unit, 107: similarity search unit, 108: learning unit, 109: output unit, 110: learning model storage unit, 111: first feature estimation model, 112: second feature estimation model, 113: gender estimation model, 114: color estimation model, 115: search database
Claims
1. An acquisition means for acquiring an object image including a target object; a generating means for generating a plurality of feature vectors for the object by applying the object image to a plurality of learning models; a concatenation means for concatenating the plurality of feature vectors and embedding them in a common feature space to generate a composite feature vector in the feature space; a search means for searching for an image similar to the object image by using the composite feature vector; having The plurality of learning models are a first feature estimation model that receives the object image as an input and outputs a first feature vector that indicates a higher level classification of the object; a second feature estimation model that receives the first feature vector as input and outputs a second feature vector that indicates a lower level classification of the object; the generating means generates the first feature vector and the second feature vector by applying the object image to the first feature estimation model and the second feature estimation model; The information processing apparatus is characterized in that the concatenation means concatenates the first feature vector and the second feature vector to generate the composite feature vector.
2. The plurality of learning models further comprises: an attribute estimation model that receives the object image as an input and outputs an attribute vector indicating an attribute of the object; a color estimation model that receives the object image as an input and outputs a color feature vector indicating the color of the object; Including, the generating means generates the first feature vector, the second feature vector, the attribute vector, and the color feature vector by applying the object image to the plurality of learning models; 2. The information processing apparatus according to claim 1, wherein said concatenating means concatenates said first feature vector, said second feature vector, said attribute vector, and said color feature vector to generate said composite feature vector.
3. The attribute estimation model is 3. The information processing apparatus according to claim 2, further comprising a gender estimation model that receives the object image as an input and outputs a gender feature vector indicating the gender of the object.
4. 4. The information processing apparatus according to claim 3, wherein the gender feature vector is configured to be capable of identifying male, female, child, and unisex as the gender targeted by the object.
5. 5. The information processing apparatus according to claim 1, wherein the search means searches for, as the similar image, an image corresponding to a composite feature vector having a high similarity to the composite feature vector generated by the linking means.
6. 6. The information processing apparatus according to claim 5, wherein said search means determines that a compound feature vector having a short Euclidean distance from said compound feature vector generated by said linking means in said feature space has a high similarity.
7. The information processing apparatus according to claim 1 , wherein the acquisition means acquires the object image transmitted from a user device.
8. 8. The information processing apparatus according to claim 7, wherein the object image is an image including an object selected on a predetermined electronic commerce site accessed by the user device.
9. The information processing apparatus according to claim 7 , wherein the object image is an image including an object photographed by the user device.
10. The information processing apparatus according to claim 7 , wherein the object image is an image stored in the user device.
11. The acquiring means acquires, transmitted from a user device, the object image and a text image including text information selected by the user device in the object image; 5. The information processing apparatus according to claim 1, wherein the search means extracts the text information from the text image, and searches for the similar image by using the extracted text information and the composite feature vector.
12. 12. The information processing apparatus according to claim 1, wherein the object image is data that has been subjected to DCT (Discrete Cosine Transform) transformation.
13. An information processing method executed by an information processing device, An acquisition step of acquiring an object image including an object of interest; generating a plurality of feature vectors for the object by applying the object image to a plurality of learning models; a concatenation step of concatenating the plurality of feature vectors and embedding them in a common feature space to generate a composite feature vector in the feature space; a search step of searching for a similar image to the object image using the composite feature vector; having The plurality of learning models are a first feature estimation model that receives the object image as an input and outputs a first feature vector that indicates a higher level classification of the object; a second feature estimation model that receives the first feature vector as input and outputs a second feature vector that indicates a lower level classification of the object; the generating step generates the first feature vector and the second feature vector by applying the object image to the first feature estimation model and the second feature estimation model; An information processing method, wherein in the linking step, the first feature vector and the second feature vector are linked to generate the composite feature vector.
14. An information processing program for causing a computer to execute information processing, the program comprising: An acquisition process for acquiring an object image including a target object; A generation process for generating a plurality of feature vectors for the object by applying the object image to a plurality of learning models; a concatenation process for concatenating the plurality of feature vectors and embedding them in a common feature space to generate a composite feature vector in the feature space; a search process for searching for an image similar to the object image by using the composite feature vector, The plurality of learning models are a first feature estimation model that receives the object image as an input and outputs a first feature vector that indicates a higher level classification of the object; a second feature estimation model that receives the first feature vector as input and outputs a second feature vector that indicates a lower level classification of the object; the generation process applies the object image to the first feature estimation model and the second feature estimation model to generate the first feature vector and the second feature vector; The concatenation process concatenates the first feature vector and the second feature vector to generate the composite feature vector. Information processing program.
15. An information processing system having a user device and an information processing device, The user device includes: a transmitting means for transmitting an object image including a target object to the information processing device; The information processing device includes: An acquisition means for acquiring the object image; a generating means for generating a plurality of feature vectors for the object by applying the object image to a plurality of learning models; a concatenation means for concatenating the plurality of feature vectors and embedding them in a common feature space to generate a composite feature vector in the feature space; a search means for searching for an image similar to the object image by using the composite feature vector; having The plurality of learning models are a first feature estimation model that receives the object image as an input and outputs a first feature vector that indicates a higher level classification of the object; a second feature estimation model that receives the first feature vector as input and outputs a second feature vector that indicates a lower level classification of the object; the generating means generates the first feature vector and the second feature vector by applying the object image to the first feature estimation model and the second feature estimation model; The information processing system according to claim 1, wherein the concatenation means concatenates the first feature vector and the second feature vector to generate the composite feature vector.
Citation Information
Patent Citations
System and method for presenting similar image
JP2003303188A
Drawing retrieval support device and method for retrieving drawing
JP2004030122A
Commodity recommendation system using similar image search
JP2009251850A
Information processing device, information processing method, and program
JP2019164402A
Method, apparatus and computer program for searching image
KR1020200020748A
Cited By
Method, Apparatus and Computer program for Determining Image Similarity
KR103038365B1
