Visual intent triggers for visual search

By introducing a visual intent classification and detection mechanism into the visual search engine, and using multi-label classifiers and bounding box regression technology, the problems of high computational cost and irrelevant results in the existing technology are solved, and efficient and accurate image processing is achieved. search.

CN112673369BActive Publication Date: 2024-09-06MICROSOFT TECHNOLOGY LICENSING LLC
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN201980047024.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2018-07-16
Filing Date
2019-06-18
Publication Date
2024-09-06
Estimated Expiration
2039-06-18

AI Technical Summary

Technical Problem

Existing visual search engines suffer from high computational costs and return irrelevant results when processing large amounts of image data.

Method used

It adopts a visual intent classification and detection mechanism, uses a trained machine learning model to classify objects in images and identify bounding boxes, and uses multi-label classifiers and bounding box regression technology to reduce the consumption of computing resources and improve search accuracy.

Benefits of technology

Significant reductions in computing time, such as savings of up to 97%, and improved search result relevance and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112673369B_ABST
    Figure CN112673369B_ABST
Patent Text Reader

Abstract

Representative embodiments disclose mechanisms for performing visual intent classification or visual intent detection, or both, on an image. Visual intent classification utilizes a trained machine learning model that classifies objects in the image according to a classification taxonomy. Visual intent classification can be used as a pre-trigger mechanism for initiating further actions to significantly save processing time. Example further actions include user scenarios, query customization, user experience enhancement, etc. Visual intent detection utilizes a trained machine learning model to identify objects in an image, place a bounding box around the image, and classify the object according to the taxonomy. The trained machine learning model utilizes multiple feature detectors, multi-layer prediction, multi-label classifiers, and bounding box regression.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application generally relates to search systems. More specifically, in some aspects, the present application relates to ascertaining visual intent as part of non-visual search, visual search, or other user scenarios. Background Art

[0002] The current pipeline of most visual search engines is given an image and finds images that are visually and semantically similar. This is usually done by comparing feature vectors in a set of matches and then returning the best matching images through various levels of ranking. This is often very expensive in terms of execution time, resources, or other cost metrics, and sometimes returns irrelevant results.

[0003] It is within this context that the embodiments herein appear. Summary of the invention

[0004] Representative embodiments disclose mechanisms for performing visual intent classification or visual intent detection, or both, on an image. Visual intent classification utilizes a trained machine learning model that classifies objects in the image according to a classification taxonomy. Visual intent classification can be used as a pre-trigger mechanism for initiating further actions to significantly save processing time. Example further actions include user scenarios, query customization, user experience enhancement, etc. Visual intent detection utilizes a trained machine learning model to identify objects in an image, place a bounding box around the image, and classify the objects according to the taxonomy. The trained machine learning model utilizes multiple feature detectors, multi-layer prediction, multi-label classifiers, and bounding box regression. BRIEF DESCRIPTION OF THE DRAWINGS

[0005] Figure 1 is a representative schematic diagram illustrating a representative architecture in accordance with some aspects of the present disclosure.

[0006] Figure 2 is a representative diagram illustrating a representative architecture for visual intent classification in accordance with some aspects of the present disclosure.

[0007] Figure 3 is a representative diagram illustrating another representative architecture for visual intent classification in accordance with some aspects of the present disclosure.

[0008] Figure 4 is a representative diagram illustrating another representative architecture for visual intent classification in accordance with some aspects of the present disclosure.

[0009] Figure 5 is a representative diagram illustrating another representative architecture for visual intent classification in accordance with some aspects of the present disclosure.

[0010] Figure 6 is a representative diagram illustrating another representative architecture for visual intent classification in accordance with some aspects of the present disclosure.

[0011] Figure 7 is a representative diagram illustrating another representative architecture for visual intent classification in accordance with some aspects of the present disclosure.

[0012] Figure 8 is a representative schematic diagram illustrating the training of a representative visual intent classification model according to some aspects of the present disclosure.

[0013] Fig. 9 is a representative schematic diagram illustrating a representative architecture for visual intent detection in accordance with some aspects of the present disclosure.

[0014] Fig.10 is a representative diagram illustrating a representative architecture showing visual intent classification and visual intent detection working together according to some aspects of the present disclosure.

[0015] Fig.11 is a representative diagram illustrating another representative architecture for visual intent detection in accordance with some aspects of the present disclosure.

[0016] Fig.12 is a representative diagram illustrating another representative architecture for visual intent detection in accordance with some aspects of the present disclosure.

[0017] Fig.13 is a representative schematic diagram illustrating the training of a representative visual intent detection model according to some aspects of the present disclosure.

[0018] Fig.14 is a representative schematic diagram illustrating a portion of a representative visual intent detection model according to some aspects of the present disclosure.

[0019] Fig.15 A representative machine architecture suitable for implementing the systems and other aspects disclosed herein, or for performing the methods disclosed herein, is illustrated. DETAILED DESCRIPTION

[0020] The following description includes illustrative systems, methods, user interfaces, techniques, instruction sequences, and computer program products that exemplify illustrative embodiments. In the following description, for the purpose of explanation, many specific details are described to provide an understanding of the various embodiments of the subject matter of the present invention. However, it will be apparent to those skilled in the art that embodiments of the subject matter of the present invention can be practiced without these specific details. Generally, well-known instruction instances, protocols, structures, and techniques are not shown in detail.

[0021] Overview

[0022] The following summary is provided to introduce a selection of concepts in a simplified form, which are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter. Its sole purpose is to present some concepts in a simplified form as a prelude to the more detailed description presented later.

[0023] The current processing pipeline of most visual image search engines is to obtain a search image and compare it to every image in a data repository to find visually and semantically related images by comparing the search image's feature vector to the feature vectors of images in the image database to find candidate matches. The candidate matches are then ranked at multiple levels to find the "best" matches, which are then returned as being relevant to the search image.

[0024] There are two problems with this traditional approach. First, as the number of images in the data repository increases, the computation time for comparing the feature vector of the search image with the feature vectors of the images in the data repository increases significantly. This means that the traditional visual search approach is computationally very expensive in terms of execution cost, memory cost, data storage cost, etc.

[0025] The second problem associated with the traditional approach is that since feature vectors are matched, the algorithm sometimes returns images that are unrelated to the search image. This is because sometimes unrelated images have similar feature vectors.

[0026] Embodiments of the present disclosure address both of these technical issues and can result in significant reductions in computation time, in one representative example, by as much as 97%.

[0027] Embodiments of the present disclosure include visual intent classification or visual intent detection or both. Visual intent classification receives a source image and returns a plurality of classification labels present in the source image. For example, the source image may include a plurality of subjects (items included in the source image), such as vehicles, animals, individuals, etc. The visual intent classification model evaluates the source image and returns a taxonomy category corresponding to the object in the source image.

[0028] The taxonomy categories identify the content in the source image and can then be used to trigger additional actions. In this sense, the visual intent classification model can be utilized as a pre-trigger assessment for identifying actions that a user may want to take regarding objects in the image. For example, a user may want to search for semantically or visually related images as in a traditional visual search system.

[0029] However, this use case is only a single example. The pre-trigger capabilities of the visual intent classifier extend far beyond this narrow use case. The content of the image can be used to define a set of potential use cases. For example, a source image containing packaged consumer products elicits a different set of user cases than a source image containing a landmark or natural object. Therefore, categories can be used along with other information to identify different possible scenarios that a user may wish to trigger.

[0030] For example, if the image contains a packaged consumer product, the user may wish to learn more about the product, may wish to learn where to buy the product, may wish to learn instructions for use, or to identify a user manual, or any number of other things. The actions that a user may wish to perform on a packaged consumer product may be very different from the actions that a user may wish to perform if the source image is, for example, a landmark or other man-made structure.

[0031] Thus, visual intent classification can be used for use cases such as helping trigger specific user scenarios based on the content of an image, detecting and identifying everyday objects to help users better formulate queries that will match what the user expects to find, and / or helping improve the user experience.

[0032] Visual intent detection utilizes a trained machine learning model that, given a source image, not only generates object categories for image objects, but also places bounding boxes around image objects. The visual intent detection model can be trained in one of two ways (also referred to as training modes). In the first mode, the visual intent detection model identifies each object in the image, classifies each object in the image, and places bounding boxes around each object in the image. This results in multiple (possibly overlapping) bounding boxes, each with an associated category from a taxonomy. Such an image can be presented to a user, who can then select a specific object of the image, and then other user scenarios can be triggered based on the selected bounding boxes and associated categories. These user scenarios can be the same or similar to the user scenarios of the visual intent classifier. User scenarios can also include scenarios that are different from the user scenarios of the visual intent classifier.

[0033] In the second mode, once the multiple objects of the image have been identified, classified and bounding boxes determined, the information is input into the trained suppression model. The search intent score for each of the different objects can be calculated separately, and the highest score or the highest multiple scores can be used to trigger the user scenario.

[0034] describe

[0035] Figure 1 is a representative schematic diagram illustrating a representative architecture 100 according to some aspects of the present disclosure. The architecture 100 illustrates how a user device 102 (such as a mobile phone, laptop, desktop, wearable device, etc.) can interact with a service that provides visual intent classification and / or visual intent detection. In the architecture 100, the specific service is a search service 108, but different services are illustrated in different embodiments described herein.

[0036] The user device 102 includes a user interface 104, which may include any combination of a display, an input device, a camera, or other image capture system. The user device may also include an application 106 designed to submit source images to a search service 108. The application 106 may be, for example, a browser or another type of application designed to interface with an appropriate service.

[0037] The search service 108 includes an API layer 110 that provides access to services that provide visual intent classification 112 and / or visual intent detection 116. The API layer 110 may also provide access to a search engine 114 provided by the search service 108. The API layer may be any type of interface that may be used to access the provided services, such as a web API, a remote procedure call, etc.

[0038] Visual intent classification 112 receives a source image (e.g., from application 106) and generates one or more taxonomy categories / subcategories (hereinafter referred to as classification labels) that describe the object(s) of the image. For the purposes of this disclosure, an object is something in the image, such as a vehicle, natural object(s), etc. An object need not be the focus of the image, but may include anything in the image.

[0039] Visual intent classification 112 utilizes a machine learning model trained offline (e.g., offline process 120) to identify classification labels for objects in the source image. The machine learning model can identify and assign classification labels for objects in the source image and is computationally very efficient. The classification labels can be returned to the application 106, which can use the classification labels to make pre-trigger decisions as described in the embodiments presented herein. Additionally, or alternatively, the service can use the classification labels to make pre-trigger decisions. In a representative example, the classification labels of the source image can be used by the service 108 and / or the application 106 to help the user more clearly formulate a query that can be passed to the search engine 114. Other examples and embodiments are described in more detail below.

[0040] Visual intent detection 116 utilizes a machine learning model trained offline (e.g., offline process 120) to identify classification labels for objects in the source image and to identify bounding boxes for objects in the source image. Images with bounding boxes and / or classification labels can be sent back to application 106 for presentation to the user and further processing. For example, the output of visual intent detection 116 can be utilized to trigger further processing and / or scenarios like visual intent classification and as further discussed below. As an example, bounding boxes and / or classification labels can allow a user to trigger a visual search for only a portion of an image.

[0041] Additionally, or alternatively, visual intent detection can be combined with additional logic to identify possible user intents regarding a source image. For example, which aspect of a source image may be of most interest to a user and / or which scenario will most likely be triggered by a user based on the output of visual intent detection 116. As a representative example, suppression logic can be created that looks at all bounding boxes and / or classification labels and determines which bounding box and / or classification label will most likely be used by the user. The resulting object can be identified and / or highlighted in the source image, and other bounding boxes and / or classification labels can be de-emphasized and / or eliminated. Additionally, or alternatively, as explained in more detail herein, the most likely object (and its bounding box and / or (multiple) classification labels) can be used to trigger further processing, such as a visual search or other scenario.

[0042] In any case, the output of visual intent detection 116 can be communicated back to a user device (eg, application 106 ) and / or to a search engine 114 for visual and / or non-visual searching of data repository 118 .

[0043] The offline process 120 obtains information 122 and trains a machine learning model as described herein. Additionally, the search engine 114 can rely on offline processing to index the information 122 for rapid retrieval and / or processing by the search engine.

[0044] Figure 2 2 is a representative schematic diagram illustrating a representative architecture 200 for visual intent classification according to some aspects of the present disclosure. Visual intent classification 204 receives a source image 202 and utilizes a machine learning model (e.g., a multi-label classifier 206) to identify objects in the source image 202. The output is a series of classification labels 208 that describe the objects of the source image 202 according to a specified taxonomy 212. Table 1 below illustrates a representative taxonomy 212 for the multi-label classifier 206 in the visual intent classification engine 204.

[0045] Table 1: Classification

[0046]

[0047]

[0048]

[0049] The taxonomy may be created so that items are classified into only one category. For example, uniforms may be classified into the fashion category, rather than the sports and outdoor accessories category, even if the uniforms are related to sports or occupations. Alternatively, items may be classified into multiple categories. Whether items are classified into one or multiple categories will determine how training for the multi-label classifier 206 is performed.

[0050] The multi-label classifier 206 is trained in an offline process 210 , which is discussed in more detail below. However, in summary, the classification method is used as part of the training data 214 to create labeled objects in the image, and the image is then used as part of the training process to create the trained multi-label classifier 206 .

[0051] During training, there is no guarantee that there will be an equal number of images in each class of the taxonomy to train on. Thus, the imbalance of class instances in the web and / or camera image distribution can be corrected by accounting for the proportion of each class in the measurement set as a weight in the mean average precision (AP). Thus, the mean average precision can be given by the novel weighted mean average precision (WmAP).

[0052]

[0053] Where: k is the rank of the detected label in the sequence;

[0054] N is the number of detected objects;

[0055] P(k) is the precision at the cutoff point k in the list; and

[0056] δr(k) is the change in recall from k-1 to k.

[0057] The weighted mean average precision is then given by the following equation:

[0058]

[0059] Where: Q is the number of queries per class;

[0060] N q is the number of instances of the class under measurement.

[0061] Figure 3 is a representative schematic diagram illustrating another representative architecture 300 for visual intent classification according to some aspects of the present disclosure. The schematic diagram shows how visual intent classification can be used as a pre-trigger process for triggering other scenarios and processes. By using a visual intent classifier as a pre-trigger process, a significant reduction in computational cost can be obtained. In addition, the user experience can be enhanced because the scenario presented to the user will be related to the source image.

[0062] As discussed above, the source image 302 is presented to the visual intent classification process 304, and the visual intent classification process 304 uses the trained multi-label classifier to generate one or more classification labels 308. The (multiple) classification labels 308 associated with the source image 302 can help the system identify things that the user may want to do and / or further process related to the source image. As an example, if the object of the source image is a packaged product, the user may want to know things such as where I can buy the packaged product. However, if the object of the source image is a famous building, landmark, natural object, etc., the user is unlikely to want to know where the user can buy the item.

[0063] Thus, the classification tags 308 can be used by the scenario selection process 310 to select a specific usage scenario 312 and perform further processing based on the usage scenario. Examples of this are described in more detail below. Similarly, the classification tags 308 can be used to help users formulate queries 314 (visual queries or non-visual queries or both), and the queries can be submitted to a search engine 316. Additionally, or alternatively, the user experience can be enhanced (318) by having the system present more intelligent options and / or anticipate what the user may want based on the classification tags 308 and other information (not shown).

[0064] Figure 44 is a representative schematic diagram illustrating another representative architecture 400 for visual intent classification according to some aspects of the present disclosure. The schematic diagram shows in more detail how classification labels can be used to trigger specific user scenarios. A source image 402 is presented to a visual intent classification process 404 having a trained multi-label classifier 406. The multi-label classifier generates a classification label 408 describing an object of the source image 402.

[0065] The scene selection process 410 utilizes the classification tag 408 and, in some embodiments, utilizes other information to identify and select a specific use scenario that should be triggered based on the information. The scene selection process 410 can be implemented using various methods. For example, the scene selection process 410 can utilize a set of rules that identify the classification tag 408, and select one or more scenes based on a combination of the classification tag and / or other information. As another example, the scene selection process 410 can utilize one or more trained machine learning models to call scenes based on the input classification tags 408 and / or other information. As a specific implementation example, a personal digital assistant is designed to find out what the user wants, and then call processing to complete the (multiple) tasks that the user may want to complete. Therefore, the classification tags and / or other user information can be presented to a digital assistant or similar entity to identify what kind of possible use scenario is given the classification tags 408 and / or other information.

[0066] The usage scenarios selected by the scenario selection process 410 may include but are not limited to: fashion scenarios (in Figure 5 ), visual search operations, visual question answering, visual object recognition, shopping or purchasing scenarios indicating where the same or similar products can be purchased locally or online, information services in which the system indicates additional information about objects in the image, search services in which the system performs queries related to the objects of the service, identification services that provide identification of objects in the image (such as identifying specific individuals in the image), automatic tagging or captioning of images, performing tasks on behalf of a user (such as booking a flight), and / or other such services.

[0067] In another representative example, a user is presented with a source image 402 showing a resort at a vacation destination. Classification tags 408 for such a source image 402 may include natural objects, man-made structures, sports outdoor accessories, people, and / or fashion. If the system additionally learns that the user has an upcoming trip scheduled to the vacation destination or has vacation time on her calendar, the scene selection process 410 may reasonably conclude that the user may be interested in help planning a vacation, finding out more information about the resort, or other related activities. Therefore, the scene selection process 410 may propose invoking a specific process to assist in one or more of these tasks.

[0068] In this last example, the scenario selection process 410 can generate a set of candidate usage scenarios and select the top few scenarios to be presented to the user as options and allow the user to select the user scenarios that the user would like to proceed with. Thus, user input can be part of the scenario selection process 410. Moreover, other information such as user context (any information about the user or the user device used to submit the source image 402), user calendar information, and other user data or non-user data can be combined with the classification label 408 to generate the selected scenario. As the system interacts with the user and selects the candidate scenario(s), the system observes user consent and other privacy principles.

[0069] Once the scenario selection process 410 identifies the usage scenario to be performed, the scenario selection process 410 can pass the appropriate information to the selected scenario engine 412 and allow the scenario engine 412 to process the information. For example, the scenario engine 412 can be a visual search for images for the selected classification label 408. Thus, the data repository 414 can be limited to relevant images, and the results 416 can be returned to the user and / or user device.

[0070] Combining a visual intent classifier to generate classification labels for source images brings two benefits. First, the classification labels can simplify scene processing and significantly save computing resources. Second, the usage scenarios can be limited to those that are meaningful to (related to) the source images.

[0071] Figure 5 is a representative schematic diagram illustrating another representative architecture 500 for visual intent classification according to some aspects of the present disclosure. Figure 4 An example of how the general architecture shown works in the context of a fashion engine.

[0072] The visual intent classification process 504 receives the source image 502. Using the trained multi-label classifier, the visual intent classification process 504 identifies classification labels 508 that describe the objects of the source image 502. In this example, the source image 502 illustrates a person and the clothes and other accessories (hat, shoes, etc.) she is wearing. In this case, the classification labels 508 include "fashion" from the representative taxonomy described in Table 1 above.

[0073] In this representative example, the use scenario for the "fashion" classification process is to enable a fashion / search engine to perform a visual search of a source image. Thus, the use scenario is a visual search of images in the image data repository 510. Rather than comparing the feature vector(s) of the source image 502 to the images in the image data repository 510, the system proceeds in a different manner.

[0074] Offline or as part of source image processing, the visual intent classification process 504 can use the trained multi-label classifier to identify classification labels associated with images in the image data repository 510. The images in the image data repository 510 can include images from the web and images captured from image capture devices (such as cameras, mobile phones, etc.).

[0075] Since the images in the image data repository 510 have associated classification labels generated by the same trained multi-label classifier, the classification labels can be used as a pre-screen for the images in the data repository 510. Therefore, those images with the same classification labels as the labels from the source images can be considered for matching. In a representative example of fashion visual search, images from the image database 510 with a classification label of "fashion" can be considered for visual search. This subset is illustrated by the fashion data repository 512, which includes images with the fashion classification label.

[0076] Visual search engine 514 may then use source image 502 to perform a visual search of images in fashion data repository 512 , and results 516 are returned to the user and / or user device.

[0077] In the Figure 5 The illustrated architecture is compared to a representative implementation of a visual search performed on an image data repository 510, outperforming more traditional methods of visual search. Figure 5 The architecture shown has an 87% GPU compute savings. Thus, the speed and efficiency of visual search can be significantly improved by using visual intent classification as a pre-trigger for visual search, resulting in significant compute savings.

[0078] Figure 6 is a representative diagram illustrating another representative architecture 600 for visual intent classification according to some aspects of the present disclosure. In this embodiment, visual intent classification is used to help users formulate queries related to source images.

[0079] The source image 602 is presented to a visual intent classification process 604 , and the process uses a trained multi-label classifier to identify a classification label 608 associated with the source image 602 .

[0080] The classification tags 608 can be used by the service or by a user application (e.g., application 106) to help the user formulate a query that is more targeted to what the user wants. For example, in the source image 602, various man-made structures and landmarks are illustrated. When the source image 602 has multiple objects and their associated (multiple) classification tags, it may be difficult to identify what aspect of the source image the user is actually interested in.

[0081] Thus, the user may be presented with the classification tag(s) 608 of the source image 602, and the user may indicate which aspect(s) the user is interested in. The selected classification tag(s) and source image 602 may then be used to formulate a query for a visual search or non-visual query, which may then be submitted to a search engine 612. The search engine then executes the query against one or more appropriate data repositories 616, and returns results 614 for presentation to the user.

[0082] Figure 7 is a representative schematic diagram illustrating another representative architecture 700 for visual intent classification according to some aspects of the present disclosure. Figure 6 The illustrated system is an example of an example of a manner in which the system may be used to package a product.

[0083] A source image 702 including an item is presented to a visual intent classification process 704. The trained multi-label classifier identifies the classification label(s) associated with the item. As a representative example, the classification label(s) may include packaged products and / or logos from the taxonomy of Table 1 above. In an alternative taxonomy, the classification label(s) may be different.

[0084] The use scene / query options process 710 utilizes the classification label(s) to identify potential queries related to the source image. For example, in the context of the classification label of the item, among other things, the query may include the following:

[0085] ●Tell me about the object.

[0086] ●Where can I purchase this item?

[0087] ●Which company manufactured this item?

[0088] ●Find me similar items.

[0089] ●How much does the item cost?

[0090] ●Find more photos of it.

[0091] If the source image 702 is related to a famous landmark rather than an object, the query may include, among other things:

[0092] ●What am I looking at?

[0093] ●Where is the landmark located?

[0094] ●When was this built?

[0095] ●Can I visit this place?

[0096] ●Find more photos of it.

[0097] The system can use a ranking process similar to (or the same as) that used by search engines to generate the most relevant query sets for users and product categories. In other words, (multiple) classification tags become the data source used by the system to help generate queries related to source images. For example, any combination of user preferences, user context data, image metadata, classification tags, and / or other information can be used to identify candidate queries that similar users have submitted about similar images using known processes in search engines. These candidate queries can then be ranked to select the top few queries to be presented to the user as options. The number of queries selected can depend on the device that will be used to present the queries to the user. For example, a device with a large screen can cause more queries to be selected when compared to a device with a small screen.

[0098] The user may select one of the queries, modify a presented query, or enter a query that is not presented as illustrated in the selection operation 714. The selected query is then passed to the search engine 716 for execution against one or more appropriate data stores 720, and results 718 are returned, which may then be presented to the user.

[0099] As mentioned in this example, the source image can be used to generate queries about one or more objects in the source image. These queries can be queries related to visual search or non-visual search. As explained above, since the multi-label classifier is efficient in terms of computational cost, the usage experience can not only be improved (e.g., by identifying usage scenarios related to the source image and / or to the user), but the overall computational cost can be significantly reduced.

[0100] Figure 8 800 is a representative schematic diagram illustrating the training of a representative visual intent classification model according to some aspects of the present disclosure. As mentioned herein, the visual intent classification model is formulated as a multi-label classification problem. In other words, the task is to identify classification labels for objects present in the source image. In one embodiment, the multi-label classifier 806 is a MobileNet classifier according to the unique training methodology described herein.

[0101] The MobileNet classifier is a computationally efficient classifier with fairly good performance. Andrew G. Howard, Menglong Zhu, Bo Chen, Dmitry Kalenichenko, Weijun Wang, Tobias Weyand, Marco Andretto, and Hartwig Adam described the MobileNet classifier for the first time in MobileNets: Efficient Convolutional Neural Networks for Mobile Vision Applications (available from arXiv:1704.04861v1 [cs.CV] on April 17, 2017). MobileNet uses depth-wise separable convolutions to build lightweight deep neural networks. The first layer is a "conventional" convolutional layer, followed by alternative depth-wise (dw) convolutional layers and point-wise convolutional layers. In some embodiments, the first convolutional layer has a stride of 2 (S2) instead of a stride of 1 (S1). Table 2 below lists the structure of a representative MobileNet implementation.

[0102] Table 2: Example MobileNet architecture

[0103]

[0104]

[0105] Where N is the number of categories in the taxonomy

[0106] The structure of the example MobileNet architecture is Figure 8 814 is illustrated as having a source image 814 input to the classifier, which includes a convolution layer 815, a 3x3x3 depthwise convolution layer 816, a 1x1 convolution layer 818, and an ellipse 820 to represent other layers of the model, such as those implemented as shown in Table 2. Typically, each layer is followed by a batch normalization (BN) layer and a rectified linear unit (ReLU) activation layer. These layers are illustrated in the figure, but they are not included in Table 2. However, those skilled in the art will understand that these layers are to be added.

[0107] The final layers in the classifier are an average pooling layer 822 , a fully connected layer 824 , and a softmax (or other classifier) ​​layer 826 .

[0108] To train the classifier, the classification method is used to label image training data 804. In one embodiment, images from the web and images from an image capture device are used in the training data. The training data is used to train the model 806 by inputting the selected training images into the model and evaluating the output of the model to determine whether the model identified the correct classification label (as indicated by 808). Feedback 810 in the form of an error function adjusts the weights in the classifier until the model converges (812).

[0109] The standard MobileNe architecture is a single object classifier. The multi-label version used in the embodiments of the present disclosure utilizes two multi-label classification losses. The first multi-label classification loss is a multi-label element-wise sigmoid loss, and the second multi-label classification loss is a multi-label softmax loss. These multi-label classification losses are used as the objective function for training the classifier to predict multiple classification labels of the source image. The cross entropy (logistic) loss is formally written as:

[0110]

[0111] Where: N is the number of samples in the mini-batch;

[0112] is the predicted probability for sample n; and

[0113] p n is the real-life label.

[0114] This allows the MobileNet classifier to process predictions for multiple objects simultaneously.

[0115] Fig. 9 900 is a representative schematic diagram illustrating a representative architecture 900 for visual intent detection according to some aspects of the present disclosure. The goal of visual intent detection is to predict the object category and precise bounding box location of objects of visual intent. Visual intent are those objects within an image that a user will be most likely to be interested in or most likely to be used for further processing as explained herein. The visual intent detection process 904 includes a machine learning model as described below.

[0116] The visual intent detection process and its machine learning model can operate in one of two ways. Given a scene with multiple objects (such as Fig. 9, a visual intent detection process 904 identifies classification labels (e.g., person, animal) that conform to the selected taxonomy, and also uses the trained visual intent detector 903 to identify bounding boxes for each of the objects. In this case, the output image 910 shows bounding boxes 912, 914 around the objects in the source image. Although not shown, the bounding boxes 912, 914 can also be labeled with their corresponding classification labels. This mode of operation is useful in situations where multiple search intents are indicated based on scores, or when the visual intent detection process is combined with additional processing as discussed herein.

[0117] In another mode of operation, the visual intent detection process 904 can be combined with a suppression model 905 that identifies the most likely objects in the source image. As described herein, the suppression model 905 can use the scores for each of the individual objects and select the highest score or the top few scores, but suppress other scores. For example, the suppression model 905 can suppress items with scores below a threshold. As another example, the suppression model 905 can select objects with the top K scores, but suppress other objects. Other suppression strategies can also be used.

[0118] The result is that the output image 906 includes a single bounding box 908 and associated classification label(s). When multiple objects are not suppressed, the output image will have multiple bounding boxes and associated classification labels for the unsuppressed objects.

[0119] In some embodiments, the visual intent classification process and visual intent detection may be combined. Fig.10 1 is a representative diagram illustrating a representative architecture 100 showing visual intent classification and visual intent detection working together according to some aspects of the present disclosure. In this embodiment, a source image 1002 is received by a visual intent classification process 1004, which uses its trained multi-label classifier to identify classification labels 1008 associated with objects of the source image 1002.

[0120] As described in conjunction with other embodiments of the present disclosure, the classification label 1008 and other information (in some embodiments) can be provided by Fig.10 The scene selection, pre-trigger logic, etc. represented by pre-trigger logic / decision 1010 in the source image 1002 is used to identify further processing that should be performed. One option is that the pre-trigger logic / decision 1010 can determine to call the visual intent detection process 1012. This may be possible, for example, when the classification labels 1008 are not sufficient to allow the system to help the user formulate a query, and showing the user a bounding box associated with an object in the source image 1002 would be helpful.

[0121] The visual intent detection process 1012 may then operate in one of the two modes previously described to produce a result image 1014 with associated object(s) identified by bounding boxes and classification labels. The user may then make a selection 1016, which may be passed to a search engine 1018 to execute the associated query on the appropriate data store(s) 1020. Results 1022 may then be returned and displayed to the user.

[0122] Fig.11 is a representative diagram illustrating another representative architecture 1100 for visual intent detection according to some aspects of the present disclosure. Like the visual intent classification process described herein, the visual intent detection process can be used to trigger further processing based on the output of the visual intent detection process.

[0123] The source image 1102 can be presented to a visual intent detection process 1104, which uses a trained visual intent detector to identify objects, bounding boxes of objects, and classification labels of objects. If necessary, these objects, bounding boxes of objects, and classification labels of objects can be placed through a suppression model 1108 and sent to a usage scene selection process 1106.

[0124] As previously described, the usage scenario selection process 1106 can utilize information from the visual intent detection process 1104 (with or without suppression) and / or other information to make a selection that one or more usage scenarios should be invoked. The usage scenario selection process 1106 can utilize a set of rules, a trained machine learning model, or any combination thereof to make a decision that one or more scenarios should be invoked based on input information (the output of the visual intent detection process 1104 and / or other information as described). Therefore, the scenario selection process 1106 can operate as the other scenario selection processes previously described.

[0125] As an example of a scenario that may be triggered by the scenario selection process 1106, Fig.11 A usage scenario 1110 and / or query formulation 1114 is illustrated. The usage scenario may be as previously described, where when the category label indicates a taxonomy category (such as fashion), a fashion visual search engine (such as a combination of Figure 5 However, in this case, the system not only learns about the category (e.g. fashion), but also about the bounding boxes in the image where objects can be found.

[0126] To expand the method of adding bounding boxes, consider Figure 5502 in source image 502. The image is of a person wearing a hat, a certain style of clothing, and a certain style of shoes. In this example, these are the objects of source image 502. When input into visual intent detector 1104, the output will not only be the classification label for each of the objects (hat, person, clothing, shoes), but also the bounding boxes where each object can be found in the image.

[0127] The scene selection logic may select a fashion engine usage scene based on classification labels, bounding boxes, and / or other information as previously described. If the system predicts that the user is more interested in the hat than other aspects, the image may be cropped and the hat fed to the fashion visual search engine.

[0128] Additionally, or alternatively, if the suppression model 1108 identifies a particular object of the image as an object of interest in the source image, the image can be cropped to an appropriate bounding box before using the scene engine. Other usage scenarios can also obtain the entire source image or a cropped version based on the bounding box.

[0129] As an alternative to applying the suppression model 1108 before the scene selection process 1106 , the suppression model 1108 may be applied after the scene selection process 1106 .

[0130] As mentioned above, if the scene selection process 1106 selects the usage scene 1110, the usage scene 1110 may cause the scene engine 1112 to further process the source image or provide additional services based on the source image. The example of the fashion engine has been discussed. The usage scene selected by the scene selection process 410 may include, but is not limited to: fashion scene (described above and in Figure 5 ), visual search operations, visual question answering, visual object recognition, shopping or purchasing scenarios indicating where the same or similar products can be purchased locally or online, information services where the system indicates additional information about objects in the image, search services where the system performs queries related to the objects of the service, recognition services that provide recognition of objects in the image (such as identifying specific individuals in the image), automatic tagging or captioning of images, performing tasks on behalf of the user (such as booking a flight), and / or other such services. Each of these scenarios can have one or more scenario engines 1112 that perform the actual tasks (such as (multiple) search services, visual and non-visual), digital assistants, specialized engines (such as a fashion engine), etc.

[0131] Another aspect that the scenario selection process 1106 can perform is a process for helping the user to better formulate a query 1114. The query formulation process 1114 can be performed, such as by presenting options to the user and asking the user to select or provide a query such as a previously combined query. Figure 7The bounding box also provides a selection target for the user to indicate what aspect of the source image they are interested in (assuming that the suppression model 1108 is not used or multiple answers are returned). Thus, an image with a bounding box around an object can be presented to the user, and once the user selects one of the multiple bounding boxes, the system can then present suggested queries related to the selected object. The resulting query can be submitted to a visual and / or non-visual search engine 1116 as appropriate.

[0132] Fig.12 1 is a representative schematic diagram illustrating another representative architecture 1200 for visual intent detection according to some aspects of the present disclosure. The architecture 1200 is designed to present at a high level the functionality provided by a representative visual intent detector 1220. Details of suitable detectors are discussed below.

[0133] The source image 1202 is presented to the visual intent detector 1220 and the result image 1212 includes bounding boxes 1214 , 1216 , 1218 identifying objects in the source image 1202 and classification labels, which in some embodiments are placed near the bounding boxes 1214 , 1216 , 1218 .

[0134] The visual intent detector 1220 includes a plurality of feature extractors 1204 that extract features from the source image 1202. The extracted features are presented to a plurality of multi-layer predictors 1206 that make predictions on various features important for identification of objects in the source image 1202. The resulting predictions are used to classify the objects using a multi-way classifier 1208 and to identify bounding boxes for the objects using a bounding box regression analysis 1210.

[0135] The presented architecture illustrates the functional operations performed on a source image 1202 to produce a result image 1212 with a bounding box and a classification label. In practice, separate functional units may be implemented in the combined machine learning model.

[0136] Fig.13 is a representative schematic diagram illustrating training 1300 of a representative visual intent detection model according to some aspects of the present disclosure. The schematic diagram also illustrates a suitable architecture for a visual intent detector that can be used with the embodiments described herein.

[0137] A suitable architecture for a visual intent detector as described in embodiments of the present disclosure may include, for example, Fig.13The convolutional neural network illustrated in FIG. 1 may include multiple layers as illustrated. Batch normalization layers and ReLU layers are not shown in the schematic diagram, but will be present in the implementation as will be appreciated by those skilled in the art.

[0138] The first set of layers 1316 in the neural network may include a portion of the layers used in the VGG-16 detector. The VGG-16 detector architecture is described in Very Deep Convolutional Networks for Large-Scale Image Recognition by Karen Simonyan and Andrew Zisserman (available on arXiv:1409.1556v6 [cs.CV] on April 10, 2015). The layers of the VGG-16 detector that are part of the first set of layers 1316 are passed through as shown in Fig.14 The conv5-3 layer is shown in the figure. All convolutional layers have a stride of 1 unless otherwise specified.

[0139] The second layer set 1318 includes pooling layers, 3x 3x 1024 layers of convolution, and 1x 1x1024 layers of convolution. The third layer set 1320 includes pooling layers, 1x 1x 256 layers of convolution, and 3x 3x 512 stride 2 layers of convolution. The fourth layer set 1322 includes pooling layers, 1x 1x 128 layers of convolution, and 3x 3x 256 stride 2 layers of convolution. The fifth layer set 1324 includes pooling layers, 1x1x 128 layers of convolution, and 3x 3x 256 layers of convolution. The sixth layer set 1326 includes pooling layers, 1x 1x 128 layers of convolution, and 3x 3x 256 layers of convolution.

[0140] All sets of layers act as feature extractors and the outputs are tapped at 1332, 1334, 1336, 1338, 1340, 1342 shown as after the last layer in each set and fed to multiple detector layers 1328. Additionally, a suppression model illustrated as a non-maximum suppression layer 1330 may be added as discussed.

[0141] The training process is illustrated using a selected taxonomy 1302 (such as that of Table 1) in conjunction with image data 1304 for training a visual intent detector. Training is performed by presenting training data to a visual intent detector 1306, evaluating the output against what should have been produced (1308), and then adjusting weights (1310) according to one or more error functions until the model converges (1312).

[0142] Mechanisms for training visual intent detectors according to the outlined models are known and can be used. The training process adjusts various parameters in the visual intent detector, including the number and proportion of anchor boxes, the number of additional output layers, online hard example mining (OHEM), IOU thresholds in training, etc. In addition to existing training mechanisms, or as an alternative to existing training mechanisms, parameter tuning tools can also be used that can train selections of models with different parameter combinations. For example, the approach taken in U.S. application serial number 15 / 883,686 entitled "Machine Learning Hyperparameter Tuning Tool" can be an efficient way to adjust various parameters. Other tuning tools also exist and can be used. If a tuning tool is used to evaluate multiple different models, the model with the best weighted mAP result can be selected for use.

[0143] In this case, the goal is not only to train the model to provide bounding boxes, but also to train the model to present objects (along with classification labels and bounding boxes) that the user may utilize in further processing (as described in this article). For example, in a visual search context, a user may want to select an object as a target for a visual search. Therefore, during training, search intent labels can be attached to appropriate image objects along with bounding boxes and classification labels. Search intent labels identify objects that the user will be interested in in one or more scenes. During training, search intent labels can be used as positive training examples of objects in images. In this way, a search intent detector is trained to attach bounding boxes and classification labels to search for intent-tagged objects in images.

[0144] Additionally, as described above, a suppression model can be used to suppress one or more objects in an image even when one or more objects in an image are labeled with a search intent tag. The suppression model is based on individual search intent scores attached to objects in the source image. The search intent detection model is trained to generate a search intent score associated with each of the objects in the image that are labeled with search intent. The search intent score represents the likelihood of interest in the object. As mentioned above, an object is of interest if it is likely to be an object used in the scene. For example, in a visual search scenario, how likely is it that a user will want to select an object as a target for a visual search.

[0145] The suppression model is then used to suppress objects or not suppress objects based on their associated search intent scores. For example, the suppression model can suppress all scores except the highest score. In another example, the suppression model can select the top K objects with the highest scores. In yet another example, the suppression model can select all objects with associated scores exceeding a threshold. Thus, the suppression model can be adjusted to suppress objects based on their associated search intent scores.

[0146] Fig.14 1400 is a representative schematic diagram illustrating a portion of a representative visual intent detection model according to some aspects of the present disclosure. As mentioned above, the first set of layers of a suitable visual intent detector utilizes a subset of the layers of the VGG-16 detector 1402. The schematic diagram illustrates the subset of layers used. These layers and their reference numbers are listed in Table 3 below.

[0147] Table 3: Subset of VGG-16 layers

[0148]

[0149]

[0150] The pooling layer may be a maximum pooling layer as described in the Very Deep Convolutional Networks for Large-Scale Image Recognition paper. Additional batch normalization layers and / or ReLU layers may be added as will be appreciated by those skilled in the art.

[0151] Example machine architecture and machine-readable medium

[0152] Fig.15 A representative machine architecture suitable for implementing the systems and other aspects disclosed herein, or for performing the methods disclosed herein, is illustrated. Fig.15The illustrated machines are shown as standalone devices (such as the mobile devices described herein) that are suitable for implementing the concepts described above. For the servers and / or services described above, multiple such machines operating in a data center, part of a cloud architecture, etc. may be used. In terms of the server, not all of the functions and devices illustrated are utilized. For example, while the systems, devices, etc. used by users to interact with the server and / or cloud architecture may have screens, touch screen inputs, etc., servers typically do not have screens, touch screens, cameras, etc., and typically interact with users through a connection system with appropriate input and output aspects. Therefore, the following architecture should be viewed as including multiple types of devices and machines, and various aspects may or may not be present in any particular device or machine, depending on its form factor and purpose (e.g., servers rarely have cameras, and wearable devices rarely include disks). However, for Fig.15 The exemplary explanations are suitable for allowing those skilled in the art to determine the manner in which to implement the previously described embodiments using appropriate combinations of hardware and software, using appropriate modifications of the illustrated embodiments to specific devices, machines, etc.

[0153] While a single machine is illustrated, the term "machine" shall also be taken to include any collection of machines that individually or jointly execute a set (or multiple sets) of instructions to perform any one or more of the methodologies discussed herein.

[0154] The example of machine 1500 includes at least one processor 1502 (e.g., a central processing unit (CPU), a graphics processing unit (GPU), an advanced processing unit (APU), or a combination thereof), one or more memories (such as main memory 1504, static memory 1506, or other types of memory), which communicate with each other via a link 1508. Link 1508 can be a bus or other type of connection channel. Machine 1500 can include other optional aspects, such as a graphics display unit 1510 including any type of display. The machine 1500 may also include other optional aspects, such as an alphanumeric input device 1512 (e.g., a keyboard, a touch screen, etc.), a user interface (UI) navigation device 1514 (e.g., a mouse, a trackball, a touch device, etc.), a storage unit 1516 (e.g., a disk drive or (multiple) other storage devices), a signal generating device 1518 (e.g., a speaker), (multiple) sensors 1521 (e.g., a global positioning sensor, (multiple) accelerometers, (multiple) microphones, (multiple) cameras, an eye tracking subsystem, etc.), an output controller 1528 (e.g., a wired or wireless connection for connecting to one or more other devices and / or communicating with one or more other devices, such as a universal serial bus (USB), near field communication (NFC), infrared (IR), a serial / parallel bus, etc.), and a network interface device 1520 (e.g., wired and / or wireless) for connecting to one or more networks 1526 and / or communicating through one or more networks 1526.

[0155] Rather than a more conventional microprocessor, a neural network chip may be used to implement embodiments of the present disclosure. A neural network chip is a specialized chip designed to execute various forms of neural networks, and may be used for MRC models or other machine learning models utilized in the embodiments. As such, they are suitable for use in implementing various aspects of the present disclosure, such as machine learning models and other neural network aspects of the present disclosure. Based on the disclosure included herein, a person skilled in the art will understand the manner in which embodiments of the present disclosure may be implemented using one or more neural network chips.

[0156] Executable instructions and machine storage media

[0157] Various memories (i.e., 1504, 1506 and / or the memory of (multiple) processors 1502) and / or storage units 1516 may store one or more sets of instructions and data structures (e.g., software) 1524 that are implemented or utilized by any one or more of the methodologies or functions described herein. These instructions, when executed by (multiple) processors 1502, cause various operations to implement the disclosed embodiments.

[0158] As used herein, the terms "machine storage medium", "device storage medium", "computer storage medium" refer to the same thing and may be used interchangeably in this disclosure. These terms refer to a single or multiple storage devices and / or media (e.g., centralized or distributed databases and / or associated caches and servers) that store executable instructions and / or data. These terms should be considered to include storage devices such as solid-state memory and optical and magnetic media, including memory internal or external to the processor. Specific examples of machine storage media, computer storage media, and / or device storage media include non-volatile memory, including, by way of example: semiconductor memory devices such as erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), FPGA, and flash memory devices; magnetic disks, such as internal hard disks and removable disks; magneto-optical disks; and CD-ROM disks and DVD-ROM disks. The terms machine storage medium, computer storage medium, and device storage medium specifically and explicitly exclude carrier waves, modulated data signals, and other such transient media, at least some of which are covered under the term "signal media" discussed below.

[0159] Signal medium

[0160] The term "signal medium" should be taken to include any form of modulated data signal, carrier wave, etc. The term "modulated data signal" means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal.

[0161] Computer readable medium

[0162] The terms "machine-readable medium," "computer-readable medium," and "device-readable medium" refer to the same thing and may be used interchangeably in this disclosure. These terms are defined to include both machine storage media and signal media. Thus, these terms include both storage devices / medium and carrier / modulated data signals.

[0163] Example Embodiments

[0164] Example 1. A computer-implemented method comprising:

[0165] receiving an image having at least one object;

[0166] Submit the image to a trained visual intent classifier, which is trained as a multi-label classifier;

[0167] receiving, from a trained visual intent classifier, at least one classification label from a taxonomy used to train a multi-label classifier, the at least one classification label corresponding to the at least one object of the image;

[0168] Based on the at least one classification tag, at least one of the following is initiated:

[0169] Trigger queries related to the image;

[0170] causing the presentation of information to assist the user in formulating a query related to the image;

[0171] initiating a visual search using a data repository including images having classification tags including the at least one classification tag associated with the image; and

[0172] Initiate visual intent detection on an image.

[0173] Example 2. The method of Example 1, wherein the taxonomy includes categories, the categories including:

[0174] animal;

[0175] Two-dimensional artwork;

[0176] Three-dimensional artwork;

[0177] Barcode;

[0178] books;

[0179] cosmetic;

[0180] Electronic products;

[0181] Face;

[0182] people;

[0183] Fashion;

[0184] Food or drink;

[0185] Gift;

[0186] Home furnishings or decoration or office furnishings or decoration;

[0187] Logo;

[0188] Man-made structures;

[0189] map;

[0190] money;

[0191] Musical instruments;

[0192] natural objects;

[0193] newspaper;

[0194] plant;

[0195] productivity;

[0196] school supplies or office supplies;

[0197] Sports accessories or outdoor accessories;

[0198] Tattoos;

[0199] Toy;

[0200] Training exercise items;

[0201] Transportation;

[0202] Packaged products; and

[0203] other.

[0204] Example 3. The method of Example 1, wherein the trained visual intent classifier comprises a MobileNet backbone trained using an error function comprising two multi-label classification losses, the first multi-label classification loss being a multi-label element-wise sigmoid loss, and the second multi-label classification loss being a multi-label softmax loss.

[0205] Example 4. The method according to Example 1, wherein the visual intent classifier uses It is trained with the given cross entropy loss.

[0206] Example 5. The method according to Example 1, wherein triggering the query includes:

[0207] sending the at least one classification label associated with the image to a user device; and

[0208] A query is received from a user device to be executed by a search service.

[0209] Example 6. The method of Example 1, wherein causing presentation of information to assist a user in formulating a query related to the image comprises:

[0210] selecting a plurality of potential activities based on the at least one classification label associated with the image;

[0211] sending a plurality of potential activities to a user device;

[0212] receiving, from a user device, a selection of at least one activity from a plurality of potential activities;

[0213] formulating a query based on the selected at least one activity; and

[0214] Send the query to the query engine for execution.

[0215] Example 7. The method of Example 1, wherein the visual search is initiated using a data repository including images with classification tags including the at least one classification tag associated with the image, comprising:

[0216] selecting a subset of images from a data repository, each image in the subset having at least one associated classification label that matches the at least one classification label associated with the image;

[0217] Perform visual searches on subsets of images;

[0218] ranking images indicated as matches through visual search; and

[0219] Returns a subset of ranked images.

[0220] Example 8. The method according to Example 1, wherein initiating visual intent detection on an image comprises:

[0221] selecting a visual intent detection mode selected from a mode for identifying multiple objects in an image and a mode for identifying a single object in an image;

[0222] selecting a trained visual intent detection model corresponding to a visual intent detection mode;

[0223] Present the image to the trained visual intent detection model;

[0224] receiving, from a trained visual intent detection model, a plurality of bounding boxes corresponding to a visual intent detection pattern, each of the bounding boxes substantially forming a boundary of a corresponding object, and each of the bounding boxes including at least one associated classification label identifying the corresponding object; and

[0225] An image including the bounding box and the at least one associated classification label is returned to the user device.

[0226] Example 9. The method of Example 8, wherein the trained visual intent detection model is trained using web images and images collected from an imaging device.

[0227] Example 10. A system comprising:

[0228] A processor and a device storage medium having executable instructions that, when executed by the processor, implement visual intent classification, visual intent detection, or both, including:

[0229] receiving a request including an image having at least one associated object;

[0230] When the request is for visual intent classification, perform operations, including:

[0231] Submit the image to a trained visual intent classifier, which is trained as a multi-label classifier;

[0232] receiving, from a trained visual intent classifier, at least one classification label from a taxonomy used to train a multi-label classifier, the at least one classification label corresponding to the at least one object of the image;

[0233] Based on the at least one classification tag, at least one of the following is initiated:

[0234] Trigger queries related to the image;

[0235] causing the presentation of information to assist the user in formulating a query related to the image;

[0236] initiating a visual search using a data repository including images having classification tags including the at least one classification tag associated with the image; and

[0237] Initiating visual intent detection on the image; and

[0238] When the request is for visual intent detection, perform operations, including:

[0239] presenting the image to a trained visual intent detection model, the trained visual intent detection model being trained in one of two training modes, a first training mode identifying multiple objects in the image and a second training mode identifying a single object in the image;

[0240] receiving, from a trained visual intent detection model, a plurality of bounding boxes corresponding to a training pattern, each of the bounding boxes substantially forming a boundary of a corresponding object, and each of the bounding boxes including at least one associated classification label identifying the corresponding object; and

[0241] An image including the bounding box and the at least one associated classification label is returned to the user device.

[0242] Example 11. The system of Example 10, wherein the trained visual intent classifier comprises a MobileNet backbone trained using an error function comprising two multi-label classification losses, the first multi-label classification loss being a multi-label element-wise sigmoid loss, and the second multi-label classification loss being a multi-label softmax loss.

[0243] Example 12. The system of Example 10, wherein the visual intent classifier uses It is trained with the given cross entropy loss.

[0244] Example 13. The system according to Example 10, wherein triggering the query comprises:

[0245] sending the at least one classification label associated with the image to a user device; and

[0246] A query is received from a user device to be executed by a search service.

[0247] Example 14. The system of Example 10, wherein causing presentation of information to assist a user in formulating a query related to the image comprises:

[0248] selecting a plurality of potential activities based on the at least one classification label associated with the image;

[0249] sending a plurality of potential activities to a user device;

[0250] receiving, from a user device, a selection of at least one activity from a plurality of potential activities;

[0251] formulating a query based on the selected at least one activity; and

[0252] Send the query to the query engine for execution.

[0253] Example 15. The system of example 10, wherein the visual search is initiated using a data repository including images with classification tags including the at least one classification tag associated with the image, comprising:

[0254] selecting a subset of images from a data repository, each image in the subset having at least one associated classification label that matches the at least one classification label associated with the image;

[0255] Perform visual searches on subsets of images;

[0256] ranking images indicated as matches through visual search; and

[0257] Returns a subset of ranked images.

[0258] Example 16. A computer-implemented method comprising:

[0259] receiving a request including an image having at least one associated object for visual intent classification, visual intent detection, or both (202, 302, 402, 502, 602, 702, 902, 1002, 1102, 1202);

[0260] When the request is for visual intent classification, perform operations, including:

[0261] Submitting the image to a trained visual intent classifier, the trained visual intent classifier being trained as a multi-label classifier (112, 204, 304, 404, 504, 604, 704);

[0262] receiving at least one classification label (208, 308, 408, 508, 608, 708) from a taxonomy (212, 802) used to train a multi-label classifier from a trained visual intent classifier, the at least one classification label corresponding to the at least one object of the image;

[0263] Based on the at least one classification tag, at least one of the following is initiated:

[0264] triggering a query related to the image (310, 312, 610);

[0265] causing presentation of information to assist a user in formulating a query related to the image (314, 712);

[0266] Initiating a visual search (514) using a data repository including images having classification tags including the at least one classification tag associated with the image; and

[0267] Initiating visual intent detection on an image (904, 1012, 1104, 1220, 1306); and

[0268] When the request is for visual intent detection, perform operations, including:

[0269] presenting the image to a trained visual intent detection model (904, 1012, 1104, 1220, 1306), the trained visual intent detection model being trained in one of two training modes, a first training mode identifying multiple objects in the image (910) and a second training mode identifying a single object in the image (906);

[0270] receiving, from a trained visual intent detection model, a plurality of bounding boxes (908, 912, 914, 1214, 1216, 1218) corresponding to a training pattern, each of the bounding boxes substantially forming a boundary of a corresponding object, and each of the bounding boxes including at least one associated classification label identifying the corresponding object; and

[0271] An image including the bounding box and the at least one associated classification label is returned to the user device (906, 910, 1014, 1212).

[0272] Example 17. The method of Example 1, wherein the taxonomy includes categories, the categories including:

[0273] animal;

[0274] Two-dimensional artwork;

[0275] Three-dimensional artwork;

[0276] Barcode;

[0277] books;

[0278] cosmetic;

[0279] Electronic products;

[0280] Face;

[0281] people;

[0282] Fashion;

[0283] Food or drink;

[0284] Gift;

[0285] Home furnishings or decoration or office furnishings or decoration;

[0286] Logo;

[0287] Man-made structures;

[0288] map;

[0289] money;

[0290] Musical instruments;

[0291] natural objects;

[0292] newspaper;

[0293] plant;

[0294] productivity;

[0295] school supplies or office supplies;

[0296] Sports accessories or outdoor accessories;

[0297] Tattoos;

[0298] Toy;

[0299] Training exercise items;

[0300] Transportation;

[0301] Packaged products; and

[0302] other.

[0303] Example 18. The method of Example 16 or 17, wherein the trained visual intent classifier comprises a MobileNet backbone trained using an error function comprising two multi-label classification losses, the first multi-label classification loss being a multi-label element-wise sigmoid loss, and the second multi-label classification loss being a multi-label softmax loss.

[0304] Example 19. The method of Example 16, 17 or 18, wherein the visual intent classifier uses It is trained with the given cross entropy loss.

[0305] Example 20. The method of example 16, 17, 18 or 19, wherein triggering the query comprises:

[0306] sending the at least one classification label associated with the image to a user device; and

[0307] A query is received from a user device to be executed by a search service.

[0308] Example 21. The method of example 16, 17, 18, 19 or 20, wherein causing presentation of information to assist a user in formulating a query related to the image comprises:

[0309] selecting a plurality of potential activities based on the at least one classification label associated with the image;

[0310] sending a plurality of potential activities to a user device;

[0311] receiving, from a user device, a selection of at least one activity from a plurality of potential activities;

[0312] formulating a query based on the selected at least one activity; and

[0313] Send the query to the query engine for execution.

[0314] Example 22. The method of example 16, 17, 18, 19, 20, or 21, wherein the visual search is initiated using a data repository including images with classification tags including the at least one classification tag associated with the image, comprising:

[0315] selecting a subset of images from a data repository, each image in the subset having at least one associated classification label that matches the at least one classification label associated with the image;

[0316] Perform visual searches on subsets of images;

[0317] ranking images indicated as matches through visual search; and

[0318] Returns a subset of ranked images.

[0319] Example 23. The method of example 16, 17, 18, 19, 20, 21 or 22, wherein when the request is for visual intent detection, the visual intent detection model is trained using a first training mode.

[0320] Example 24. The method of example 16, 17, 18, 19, 20, 21 or 22, wherein when the request is for visual intent detection, the visual intent detection model is trained using a second training mode.

[0321] Example 25. The method of example 16, 17, 18, 19, 20, 21, 22, 23 or 24, wherein the trained visual intent detection model is trained using web images and images collected from an imaging device.

[0322] Example 26. The method of Example 16, 17, 18, 19, 20, 21, 22, 23, 24 or 25, wherein the visual intent detection model comprises:

[0323] The first series of convolutional layers representing a subset of layers of the VGG-16 detection model;

[0324] The second series of convolutional layers, including:

[0325] 3x 3x 1024 convolutional layers; and

[0326] 1x 1x 1024 convolutional layer;

[0327] Detection layer; and

[0328] Non-maximum suppression layer.

[0329] Example 27. The method of Example 26, wherein the second series of convolutional layers further comprises:

[0330] 3x 3x 512 convolutional layers;

[0331] 1x 1x 256 convolutional layer;

[0332] 3x 3x 256 convolutional layers; and

[0333] 1x 1x 128 convolutional layers.

[0334] Example 28. The method of Example 16, 17, 18, 19, 20, 21, 22, 25, 26, or 27, wherein the visual intent detector is trained to identify multiple objects in an image, and wherein the operation further comprises: passing at least one classification label and associated bounding box to a suppression model that suppresses at least one classification label and its associated bounding box.

[0335] Example 29. An apparatus comprising means for performing a method as in any preceding example.

[0336] Example 30. A machine-readable storage device comprising machine-readable instructions that, when executed, implement a method or produce an apparatus as in any of the preceding examples.

[0337] in conclusion

[0338] In view of the many possible embodiments to which the principles of the present invention and the foregoing examples can be applied, it should be recognized that the examples described herein are intended to be illustrative only and should not be considered to limit the scope of the present invention. Therefore, the present invention as described herein contemplates all such embodiments that may appear within the scope of the following claims and any equivalents thereof.

Claims

1. A computer-implemented method comprising: receiving an image as a query at a computer-implemented search engine, wherein the image includes an object; In response to receiving the image as the query, submitting the image to a multi-label classifier of the computer-implemented search engine, wherein the multi-label classifier is configured to: identifying a plurality of objects in the image; placing bounding boxes in the image, wherein each of the bounding boxes substantially forms a boundary of a corresponding object; as well as assigning at least one classification label to each bounding box to identify the corresponding object in the image; passing at least one classification label and an associated bounding box to a trained suppression model of the computer-implemented search engine, the trained suppression model calculating a score for the bounding box and suppressing the at least one classification label and its associated bounding box based on the score; selecting, by the computer-implemented search engine, a user intent scenario from among a set of predefined user intent scenarios based on the unsuppressed classification label, wherein the user intent scenario in the set of predefined user intent scenarios is selectable due to the classification label being assigned to the user intent scenario; generating, by the computer-implemented search engine, query suggestions for review by a user who issues the image as the query, wherein the query suggestions are generated based on the selected user intent scenario; After generating the query suggestion, receiving, by the computer-implemented search engine, an indication that the query suggestion has been selected by the user; as well as A search engine implemented by the computer provides output based on the user intent context.

2. The method of claim 1 , wherein the multi-label classifier comprises a MobileNet backbone trained using an error function, the error function comprising two multi-label classification losses, a first multi-label classification loss being a multi-label element-wise sigmoid loss, and a second multi-label classification loss being a multi-label softmax loss.

3. The method according to claim 1, wherein the multi-label classifier uses is trained with a given cross entropy loss, E is the cross entropy loss, N is the number of samples in a mini-batch, is the predicted probability of sample n, and p n is the real-life label.

4. The method of claim 1, wherein the user intent scenario is a visual search, the method further comprising: Outputs an image that is assigned the classification label.

5. The method of claim 1, wherein a plurality of classification labels for the image are received from the multi-label classifier, the method further comprising: The classification label is selected from among the plurality of classification labels based on a determination that the object is of interest to the user.

6. The method of claim 1 , wherein the user intent scenario is the execution of a search in which a query including the classification is constructed, the method further comprising: Search results identified based on the query are output.

7. A computing system comprising: processor; as well as A memory storing instructions, wherein when the instructions are executed by the processor, the processor performs actions, the actions comprising: receiving an image as a query to a computer-implemented search engine, wherein the image includes an object; In response to receiving the image as the query, submitting the image to a multi-label classifier, wherein the multi-label classifier is configured to: identifying a plurality of objects in the image; placing bounding boxes in the image, wherein each of the bounding boxes substantially forms a boundary of a corresponding object; and assigning at least one classification label to each bounding box to identify the corresponding object in the image; passing the bounding box and the associated classification label to a trained suppression model, wherein the trained suppression model calculates scores for the bounding box and the associated classification label and suppresses the classification label and its associated bounding box based on the scores; selecting a user intent scenario from among a set of predefined user intent scenarios based on the unsuppressed classification label, wherein the user intent scenario in the set of predefined user intent scenarios is selectable due to the unsuppressed classification label being assigned to the user intent scenario; and generating query suggestions for user review of the image issued as the query, wherein the query suggestions are generated based on the selected user intent scenario; After generating the query suggestion, receiving, by the search engine, an indication that the query suggestion has been selected by the user; and An output based on the user intent scenario is provided by the search engine.

8. The computing system of claim 7, wherein the multi-label classifier comprises a MobileNet backbone trained using an error function, the error function comprising two multi-label classification losses, a first multi-label classification loss being a multi-label element-wise sigmoid loss, and a second multi-label classification loss being a multi-label softmax loss.

9. The computing system of claim 7, wherein the multi-label classifier uses is trained with a given cross entropy loss, E is the cross entropy loss, N is the number of samples in a mini-batch, is the predicted probability of sample n, and p n is the real-life label.

10. The computing system of claim 7, wherein the user intent scenario is a visual search, the actions further comprising: Outputs an image that is assigned the classification label.

11. The computing system of claim 7, wherein a plurality of classification labels for the image are received from the multi-label classifier, the actions further comprising: The classification label is selected from among the plurality of classification labels based on a determination that the object is of interest to the user.

12. The computing system of claim 7, wherein the user intent scenario is the execution of a search, wherein a query including the classification is constructed, the actions further comprising: Search results identified based on the query are output.

13. A machine storage medium comprising instructions which, when executed by a processor, cause the processor to perform actions comprising: receiving an image as a query request from a computer-implemented search engine, wherein the image includes an object; In response to receiving the image as the query, submitting the image to a multi-label classifier, wherein the multi-label classifier is configured to: identifying an object in the image; placing bounding boxes in the images, wherein the bounding boxes respectively form boundaries of the objects in the images; assigning a classification label to the bounding box, wherein the classification label identifies a corresponding object in the image; passing the bounding boxes and corresponding classification labels to a trained suppression model, wherein the trained suppression model computes scores for the bounding boxes and corresponding classification labels, and further, wherein the classification labels and their associated bounding boxes are suppressed based on the scores computed by the suppression model; selecting a user intent scenario from among a set of predefined user intent scenarios based on the unsuppressed classification label, wherein the user intent scenario in the set of predefined user intent scenarios is selectable due to the unsuppressed classification label being assigned to the user intent scenario; as well as generating query suggestions for user review of the image issued as the query, wherein the query suggestions are generated based on the selected user intent scenario; After generating the query suggestion, receiving, by the search engine, an indication that the query suggestion has been selected by the user; as well as An output based on the user intent scenario is provided by the search engine.

14. The machine storage medium of claim 13, wherein the multi-label classifier comprises a MobileNet backbone trained using an error function, the error function comprising two multi-label classification losses, a first multi-label classification loss being a multi-label element sigmoid loss, and a second multi-label classification loss being a multi-label softmax loss.

15. The machine storage medium of claim 13, wherein the multi-label classifier uses is trained with a given cross entropy loss, E is the cross entropy loss, N is the number of samples in a mini-batch, is the predicted probability of sample n, and p n is the real-life label.

16. The machine storage medium of claim 13, wherein the user intent scenario is a visual search, the actions further comprising: Outputs an image that is assigned the classification label.

17. The machine storage medium of claim 13, wherein the multi-label classifier comprises a MobileNet backbone trained using an error function, the error function comprising two multi-label classification losses, a first multi-label classification loss being a multi-label element-wise sigmoid loss, and a second multi-label classification loss being a multi-label softmax loss.

Citation Information

Patent Citations

  • Machine learning hyperparameter tuning tool

    US20190236487A1

  • Natural language image search

    CN106255968A

  • Image analysis method based on machine learning algorithm

    CN107358264A

  • Training image sampling

    US20150170001A1