Visual references for refining information provided in response to multi-modal queries
The computer system processes text input based on similarity retrieval between query images and result images and machine learning language models to generate visual references, which solves the problem of users having difficulty describing their intentions, achieves fast and accurate multi-modal query result verification, and improves query efficiency. efficiency.
Patent Information
- Application Number
- CN202410570719.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-05-09
- Filing Date
- 2024-05-09
- Publication Date
- 2024-08-27
AI Technical Summary
When users perform multi-modal queries, it is difficult to effectively describe their intentions through text, especially when facing unfamiliar objects. It is difficult for existing technologies to provide accurate and fast search result verification methods.
The computer system performs retrieval based on the similarity between the intermediate representation of the query image and the result image, and uses a machine learning language model to process the text input to generate a language output, provide a visual reference, allow the user to view thumbnails of the result image within the interface, and Attribution information for source documents to quickly verify the accuracy of query results.
Provides direct and accurate search results, allowing users to quickly verify the accuracy of answers, improving query efficiency and user experience.
Smart Images

Figure CN118551064A
Abstract
Description
Technical Field
[0001] The present disclosure generally relates to presenting information retrieved in response to a multimodal query to a user. More specifically, the present disclosure relates to generating and presenting visual references to a user to refine information retrieved or obtained in response to a multimodal query. Background Art
[0002] Although text-based search services are ubiquitous in the modern world, users often have difficulty formulating text-based queries in various situations. For example, users often find it difficult to describe objects that they are not familiar with. For another example, users are sometimes unable to correctly express their intentions (e.g., the intended subject of the query, etc.) via text. Multimodal queries have been proposed to facilitate more efficient and accurate interactions between users and search services. Multimodal queries are queries formulated using data of multiple types or formats (e.g., text content, audio data, video data, image data, etc.). For example, a user may provide a multimodal query including an image and associated textual cues to a search service (e.g., an image of a bird and a textual query of "What kind of bird is this?"). The search service may utilize various multimodal query processing techniques to retrieve search results, such as images and associated textual content, and may present them to the user in a manner indicating that certain portions of the textual content are associated with a particular result image. Summary of the invention
[0003] Aspects and advantages of embodiments of the present disclosure will be set forth in part in the following description, or may be learned from the description, or may be learned through practice of the embodiments.
[0004] An example aspect of the present disclosure relates to a computer-implemented method. The computer-implemented method includes, by a computing system including one or more computing devices, retrieving two or more result images based on similarities between an intermediate representation of a query image and intermediate representations of two or more result images. The computer-implemented method includes, by the computing system, processing a set of text inputs using a machine learning language model to obtain a language output including text content, wherein the set of text inputs includes text content from a source document including the two or more result images and a prompt associated with the query image. The computer-implemented method includes, by the computing system, providing the language output and the two or more result images to a user computing device for display within an interface of the user computing device. The computer-implemented method includes, by the computing system, receiving information describing an indication by a user of the user computing device that a first result image of the two or more result images is visually different from the query image. The computer-implemented method includes removing, by the computing system, text content associated with the source document including the first result image from the set of text inputs. The computer-implemented method includes, by the computing system, processing the set of text inputs using the machine learning language model to obtain a refined language output. The computer-implemented method includes providing, by the computing system, the refined language output to the user computing device for display within the interface of the user computing device.
[0005] Another example aspect of the present disclosure relates to a user computing device, the user computing device including one or more processors and one or more non-transitory computer-readable media, the one or more non-transitory computer-readable media collectively storing a first set of instructions that, when executed by the one or more processors, cause the user computing device to perform operations. The operations include obtaining a query image. The operations include obtaining text data describing a prompt. The operations include providing the query image and the text data describing the prompt to a computing system associated with a visual search service. The operations include receiving from the computing system in response to providing the query image and the prompt: (a) two or more result images; and (b) language output from a machine learning language model, wherein the language output is generated based on the prompt and text content from a source document including the two or more result images. The operations include displaying within an interface of an application executed by the user computing device: (a) an interface element including the language output; and (b) two or more selectable attribution elements associated with the two or more result images, respectively, wherein each selectable attribution element includes a thumbnail of the associated result image and attribution information identifying a source document including the associated result image.
[0006] Another example aspect of the present disclosure relates to one or more non-transitory computer-readable media that collectively store a first set of instructions that, when executed by one or more processors of a user computing device, cause the user computing device to perform an operation. The operation includes obtaining a query image. The operation includes obtaining text data describing a prompt. The operation includes providing the query image and the text data describing the prompt to a computing system associated with a visual search service. The operation includes receiving from the computing system in response to providing the query image and the prompt: (a) two or more result images; and (b) language output from a machine learning language model, wherein the language output is generated based on the prompt and text content from a source document including the two or more result images. The operation includes displaying within an interface of an application executed by the user computing device: (a) an interface element including the language output; and (b) two or more selectable attribution elements associated with the two or more result images, respectively, wherein each selectable attribution element includes a thumbnail of the associated result image and attribution information identifying a source document including the associated result image. The operations include receiving input from a user via an input device associated with the user computing device, the input selecting a first selectable attribution element of the two or more selectable attribution elements. The operations include providing information indicating the selection of the first selectable attribution element to the computing system in response to receiving the input. The operations include receiving a refined language output from the computing system in response to providing the information, wherein the refined language output is generated based on the prompt and textual content from a source document, the source document including the two or more result images other than a first result image associated with the first selectable attribution element.
[0007] Other aspects of the disclosure relate to various systems, apparatuses, non-transitory computer-readable media, user interfaces, and electronic devices.
[0008] These and other features, aspects and advantages of various embodiments of the present disclosure will be better understood with reference to the following description and appended claims.The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate example embodiments of the present disclosure and, together with the description, serve to explain the relevant principles. BRIEF DESCRIPTION OF THE DRAWINGS
[0009] A detailed discussion of the embodiments for those skilled in the art is set forth in this specification with reference to the accompanying drawings, in which:
[0010] Figure 1Depicted is a block diagram of an example visual search system in accordance with some implementations of the present disclosure.
[0011] Figure 2 Depicted is a data flow diagram for providing information and accompanying visual references in response to a visual query, according to some implementations of the present disclosure.
[0012] Figure 3 is a flow chart of an example method for performing responses to prompts and generation of corresponding visual references according to some implementations of the present disclosure.
[0013] Figure 4 Depicted is an example interface of a user computing device for displaying textual content and corresponding interface elements in accordance with some implementations of the present disclosure.
[0014] Figure 5A Depicted are example interfaces of a user computing device for displaying textual content and corresponding interface elements according to some other implementations of the present disclosure.
[0015] Figure 5B According to some implementations of the present disclosure, in response to receiving user input Figure 5A An example interface of a user computing device displayed after the interface.
[0016] Fig. 6A is a data flow diagram for dynamically refining visual search information in response to user feedback in a first time period T1 according to some implementations of the present disclosure.
[0017] Figure 6B is a data flow diagram for dynamically refining visual search information in response to user feedback at a second time period T2 according to some implementations of the present disclosure.
[0018] Fig. 7A Depicted is an example interface of a user computing device for collecting user feedback on derived textual content and corresponding result images, according to some implementations of the present disclosure.
[0019] Figure 7B Depicted is an example interface of a user computing device for displaying visual search information refined based on user feedback, according to some implementations of the present disclosure.
[0020] Figure 8 A flow chart depicts an example method of providing visual search information derived from some documents including images retrieved based on visual similarity to a query image, according to some implementations of the present disclosure.
[0021] Fig. 9A flow chart depicting an example method for refining visual search information based on user feedback according to some implementations of the present disclosure.
[0022] Fig.10 A flow chart depicting an example method of performing collection of user feedback to refine visual search information in accordance with some implementations of the present disclosure.
[0023] Fig.11A Depicted is a block diagram of an example computing system that performs visual or multimodal search services in accordance with some implementations of the present disclosure.
[0024] Fig. 11B Depicted is a block diagram of an example computing system that performs visual search operations and / or visual search information refinement in accordance with some implementations of the present disclosure.
[0025] Repeated reference numerals among the various drawings are intended to identify like features in the various implementations. DETAILED DESCRIPTION
[0026] In general, the present disclosure relates to presenting information retrieved in response to a multimodal query to a user. More specifically, the present disclosure relates to generating visual references that visually identify the source of provided information retrieved in response to a query (such as a visual query or a multimodal query) so that the user can refine the information based on the visual references. A multimodal query is a query formulated using multiple types of data (e.g., text content, audio data, video data, image data, etc.). In response to a multimodal query, a search system can use various multimodal query processing techniques to retrieve and / or obtain information.
[0027] As an example, assume that a user provides a multimodal query consisting of a query image of a bird and a corresponding prompt such as "What bird is this?" The visual search system may retrieve result images that are visually similar to the query image. Based on the assumption that the source of the visually similar result images (e.g., a document including an image and textual content) may include information related to the query image, the visual search system may extract information from the source of the result images. The visual search system may then derive textual content from the extracted information based on the prompt (e.g., a summary of the information, etc.). For example, the visual search system may use a machine learning language model to process the textual content and the prompt to generate a language output including the textual content.
[0028] The visual search system may provide text content and visually similar images for display to the user in an interface of the user's computing device. The interface may include an attribution element for the result image. The attribution element may include a representation of the result image (e.g., a thumbnail) and information identifying the source of the image. Continuing with the previous example, if a result image depicts a bird of the same species as the bird depicted in the query image, and the source of the result image is a website, the attribution element may include a thumbnail of the result image and information identifying the website (e.g., the name of the website, URL, etc.). In this way, the user can quickly verify the accuracy of the text content based on the visual similarity between the result image and the query image or by navigating to the source of the result image. For example, if the bird depicted in the result image is obviously not the same species as the bird depicted in the query image, the user can quickly determine that the corresponding text content provided to the user is likely to be inaccurate.
[0029] In some implementations, a user may select an attribution element to indicate that the corresponding result image is inaccurate, and therefore, any information obtained from the source of the result image may also be inaccurate. Based on the user's selection, the visual search system may obtain textual content. Continuing with the previous example, the visual search system may retrieve four result images, each of which depicts a bird. The visual search system may extract information from the sources of the four result images, and may use a machine learning language model to process the extracted information and the user-provided prompt to obtain a language output including textual content. The visual search system may provide the textual content and the four attribution elements to a user computing device associated with the user.
[0030] For example, suppose that the bird depicted in one of the four result images is obviously a different species from the bird depicted in the query image and the other three result images. The user can select an attribution element that includes the result image (e.g., via a touch screen device, etc.), and the user computing device can indicate the selection of the result image to the visual search system. Previously, the visual search system could generate text content provided to the user by processing the corpus of information extracted from the sources of the prompts and the four result images using a machine learning language model. Therefore, in response to the selection of the result image, the visual search system can remove any information extracted from the source of the result image from the information corpus, and then the machine learning language model can be used to process the remaining information to generate a second language output including different text content. The text content can be provided to the user computing device. In this way, the visual search system can repeatedly enhance the results based on user feedback on the visual reference.
[0031] Aspects of the present disclosure provide many technical effects and benefits. As an example technical effect and benefit, a search service that can provide direct answers to queries is more desirable to users than a service that only provides a list of relevant documents, because the list of documents still requires the user to spend a lot of time and effort to conduct further research. However, most search services that can provide answers to user queries do not provide users with the ability to verify the accuracy of the answers. If the answers cannot be verified, many users may refuse to use such search services.
[0032] However, implementations of the present disclosure allow for the provision of visual references to quickly and effectively indicate to the user the accuracy of an answer. More specifically, by deriving a response to a query from information associated with a result image that is visually similar to the query image, the user can quickly determine the accuracy of the response based on the content depicted in the result image. In this way, implementations of the present disclosure can provide a response to a query while also providing the user with the ability to quickly verify the accuracy of the response.
[0033] Please note that as described herein, "text unit", "text content", and "text" may be used interchangeably. Generally, each of the foregoing terms may refer to a unit of one or more alphanumeric characters. For example, text content, text unit, and text may refer to a discrete paragraph, a single word, a single number, a string of alphanumeric characters, a line (or lines) of program code or instructions, machine language, machine-readable code, etc.
[0034] In addition, please note that any text, text content and / or text unit mentioned herein can be obtained from audio data, image data, audio-visual data, etc. For example, a "document" to be further defined in the specification can be a news article that has been scanned and saved as an image. Conventional optical character recognition technology can be used to extract text from such images. Therefore, even if intermediate processing techniques are used to extract text from images, images depicting text can still be referred to as text. This also applies to audio and audio-visual media, such as conversation records, videos, podcasts, music, video games with dialogues, etc. More generally, those skilled in the art will understand that throughout this specification, oral statements, text descriptions, or any other media from which text can be obtained can be generally referred to as "text".
[0035] Referring now to the accompanying drawings, example embodiments of the present disclosure will be discussed in greater detail.
[0036] Figure 1A block diagram of an example visual search system 100 is depicted in accordance with some implementations of the present disclosure. More specifically, a user computing device 102 may include an input device 104 and a communication module 106. The input device 104 may be or otherwise include a device that may directly or indirectly receive input from a user (e.g., a microphone, camera, touch screen, physical buttons, infrared camera, mouse, keyboard, etc.). The communication module 106 may be or otherwise include hardware and / or software that are collectively configured to communicate with a visual search computing system 108 via a network 110. For example, the communication module 106 may include a device that facilitates wireless connection to a network.
[0037] The user computing device 102 may obtain the query image 112 and the associated prompt 114. The query image 112 may be an image selected as a query to the visual search computing system 108. For example, a user of the user computing device 102 may capture the query image 112 using an input device 104 of the user computing device 102. Alternatively, the user may obtain the query image 112 in some other manner (e.g., performing a screen capture, downloading an image, creating an image via an image creation tool, etc.).
[0038] The prompt 114 associated with the query image 112 may include text content provided by the user. For example, the user may directly prompt the text content of the prompt 114 via a keyboard or some other input method included in the input device 104. Alternatively, the user may provide the prompt 114 indirectly. For example, the user may generate a verbal statement, and the user computing device 102 may capture the verbal statement using the input device 104. The user computing device 102 may process the verbal statement using speech recognition technology (e.g., a machine learning text-to-speech model, etc.) to generate the prompt 114.
[0039] In some implementations, provided the query image 112 without a corresponding prompt 114, the user computing device 102 may determine a possible prompt associated with the query image 112. For example, if the query image 112 depicts a bird as the primary subject of interest in the image, the user computing device 102 may select a possible prompt 114 (e.g., “Identify this object,” “Explain this,” “Tell me more,” etc.) provided with the query image 112. Alternatively, in some implementations, the user computing device 102 may modify the prompt 114 provided by the user of the user computing device 102. For example, the user computing device 102 may modify the prompt 114 to add contextual information to the prompt (e.g., time of day, geographic location, user information, information describing previous query images and / or user-provided prompts, etc.).
[0040] The user computing device 102 may provide a visual search request 116 to the visual search computing system 108 via the network 110 . The visual search request 116 may include a query image 112 and a prompt 114 .
[0041] The visual search computing system 108 may include a visual search module 118. The visual search module 118 may process the visual search request 116 to obtain text content 120 and result images 122. The text content 120 may be responsive to the prompt 114 and the query image 112. For example, if the query image 112 depicts an animal and the prompt 114 is "what is this animal", the text content 120 may provide an answer to the prompt (e.g., identifying the species of the animal, or if it is a known animal, identifying the name of the animal). The result images 122 may be images that are visually similar to the query image 112. These result images 122 are included in the documents from which the text content 120 is obtained. The visual search module 118 may extract at least a portion of the text included in one or more of the documents. In some implementations, the visual search module 118 may perform various processing techniques to identify multiple portions of text within a document that may be related to the result images included in the document.
[0042] More specifically, the visual search module 118 may retrieve the result image 122 based on the similarity between the query image 112 and the result image 122. For example, the visual search module 118 may include a machine learning model that can be used to identify images that are visually similar to the query image 112. The visual search module 118 may obtain text from a document that includes the result image. As described herein, the document can be any type or form of source material that includes the result image, such as a website, academic journal, book, newspaper, article, social media post, manuscript, blog, etc. In some implementations, the visual search module 118 may select the text content 120 from the text extracted from the document. Additionally or alternatively, in some implementations, the visual search module 118 may derive the text content 120 from the text extracted from the document. For example, the visual search module 118 may include or otherwise access a machine learning model, such as a large language model, and may process the text extracted from the document and the prompt to obtain the text content 120.
[0043] The visual search module 118 may provide the interface data 234 to the user computing device 102 via the network 110. The interface data 124 may include the textual content 120 and the result image 122. For example, the interface data 124 may include instructions to highlight the textual content 120 and include a thumbnail representation of the result image 122, so that a user of the user computing device 102 may easily verify the accuracy of the result image 122, and correspondingly, the accuracy of the textual content 120. In this way, the visual search computing system 108 may provide responses to queries while helping the user to quickly and accurately verify the answer.
[0044] Figure 2 A data flow diagram 200 for providing information and accompanying visual references in response to a visual query according to some implementations of the present disclosure is depicted. More specifically, a visual search computing system 202 (e.g., a physical server computing system, a cloud computing system, a virtualized and / or physical computing node in a network (e.g., an edge computing node, etc.) may include a visual search module that may obtain a query image 206 and a prompt 208 from a user computing device. For example, a user computing device 203 may provide a visual search request to the visual search computing system 202 via a network.
[0045] In some implementations, a query image 206 may be received from a visual search computing system 202, but without an associated hint. In such cases, the visual search module 204 may determine to generate a hint that may be associated with the query image 206. For example, the visual search module 204 may include a machine learning semantic image model that is trained to generate a semantic description of the query image 206. In some implementations, the visual search module 204 may utilize the semantic description of the query image 206 as a hint 208. Alternatively, in some implementations, the visual search module 204 may process the semantic description of the query image 206 using another machine learning model, such as a large language model, to generate the hint 208.
[0046] In some implementations, the visual search module 204 can modify the prompt 208 received from the user computing device 203. For example, the visual search module 204 can modify the prompt 208 to add contextual information to the prompt (e.g., time of day, geographic location of the user computing device 203, stored user information associated with the user of the user computing device 203, information describing previous query images, and / or prompts provided by the user computing device 203, etc.).
[0047] The visual search module 204 may include an image evaluation module 210. The image evaluation module 210 may perform various processing techniques to identify result images 212 that are visually similar to the query image 206. For example, the image evaluation module 210 may include a machine learning visual search model 214 that is trained to identify images that are visually similar to the query image 206 from a corpus of stored image data. For example, in some implementations, the visual search model 214 may be a machine learning encoding model, such as an embedding model, which may be used to generate an intermediate representation (e.g., embedding, etc.) of the query image 206. The image evaluation module 210 may include or have access to an image search space 215. The image search space 215 may include an intermediate representation of a plurality of stored images. For example, the image search space 215 may be an embedding space that includes embeddings generated for images stored in a data storage (e.g., a database, etc.) that stores a large number of images and indexes the images to facilitate visual search services. The image evaluation module 210 may select a result image 212 that has an embedding in the embedding space that is closest to the embedding generated for the query image 206.
[0048] Please note that this example shows a single result image 212 only to more clearly illustrate the example implementation of the present disclosure. However, such implementation is not limited to obtaining a single result image 212. Instead, the result image 212 can be any number of result images obtained due to the similarity between the result image and the query image 206.
[0049] As previously described, the visual search module 204 can index a large number of images to facilitate the visual search service. The visual search module 204 can also index information indicating a source document that includes the result image or is otherwise associated with the result image in the document index information 216. As described herein, a document can be any type or form of source material that includes the result image, such as a website, academic journal, book, newspaper, article, social media post, manuscript, blog, etc. The result image can be "associated with" a document if the result image and the document are generated, created, hosted, etc. by the same entity. For example, a document. For example, a result image can be associated with a document if the result image is used as a cover of a document, is derived from a document (e.g., the output of a generative model, etc.), is a frame of a video from which the document is transcribed, etc. The result image can be "included" in a document if the result image is currently located within the document or is located within the document when the result image and / or document are indexed.
[0050] The result image 212 may be included in the document 220. The document 220 may include the result image 212 and the text content 222. In some implementations, the document index information 216 may include the document 220 or may include text content extracted from the document 220, the document including the result image 212 or otherwise associated with the result image 212. Additionally or alternatively, in some implementations, the document index information 216 may describe the source location (e.g., a file location within a network, a website URL, an FTP address, etc.) of the document 220. Additionally or alternatively, in some implementations, the document index information 216 may include a compressed version of the document 220.
[0051] As described with respect to the result image 212, this example shows a single document 220 only to more clearly illustrate the example implementation of the present disclosure. However, such implementations are not limited to obtaining a single document 220. Rather, in some implementations, multiple documents 220 may include corresponding multiple result images 212 (e.g., five documents for five result images). Additionally or alternatively, in some implementations, a single document 220 may include multiple result images 212. Additionally or alternatively, in some implementations, multiple documents 220 may each include an instance of a single result image 212.
[0052] As a specific example, assume that the query image 206 depicts a speedboat, and the image evaluation module 210 selects a result image 212 that depicts the same speedboat from a different angle. If the selected result image 212 is hosted or was originally hosted at a website (i.e., a document) for speedboat enthusiasts, the visual search module 204 may store a link to the website, an archived version of the website, or text content extracted from the website in the document index information 216. More generally, the visual search module 204 may store information indicating an association between the document and the corresponding result image in the document index information 216.
[0053] The visual search module 204 may include a document content selection module 218. The document content selection module 218 may retrieve a document 220 including a result image 212. Once the document 220 is retrieved, the document content selection module 218 may extract a first text unit 224 from the text content 222 of the document 220. The first text unit 224 may include some or all of the text content 222 of the document 220. In some implementations, the document content selection module 218 may perform various processing techniques to identify text portions within the text 224 that may be related to the result image 212 included in the document 220. For example, if the document 220 is an online article and the result image 212 is located in the middle of the online article, the document content selection module 218 may heuristically select text (e.g., a paragraph, a number of sentences or words, a column, etc.) located before and after the result image to include in the first text unit 224. Alternatively, in some implementations, the document content selection module 218 may extract all text included in the document to include in the first text unit 224.
[0054] The visual search module 204 may include a text determination module 226. The text determination module 226 may determine the second text unit 228 based on the first text unit 224 and the prompt 208. In some implementations, the text determination module 226 may use a machine learning language model 230 to determine the second text unit 228. For example, the text determination module 226 may process the first text unit 224 and the prompt 208 to obtain the second text unit 228. In some implementations, the machine learning language model 230 may be a large language model trained on a large corpus of training data to perform multiple generation tasks. In addition, in some implementations, the machine learning language model 230 may undergo additional training iterations to adjust or optimize the model for specific performance of language tasks related to the generation of the second text unit 228.
[0055] The visual search module 204 may include an interface data generation module 232. The interface data generation module 232 may generate interface data 234 and may transmit the interface data 234 to the user computing device 203. The interface data 234 may include the second text unit 228 and the result image 212. The interface data 234 may indicate how the second text unit 228 and the result image 212 are to be displayed within an interface of the user computing device 203. For example, the interface data 234 may indicate how the second text unit 228 and the result image 212 are to be displayed within an interface of an application (e.g., a visual search application, etc.) executed by the user computing device 203. Figure 4 , Figure 5A and Figure 5B The display of the second text element 228 and the result image 212 within the interface of an application executed by the user computing device 203 will be discussed in more detail.
[0056] In some implementations, the interface data generation module 232 may generate attribution information 236. The attribution information 236 may be or otherwise include information identifying the document 220. For example, if the document 220 is a news article, the attribution information 236 may be the title of the news article and the name of the publishing news organization. For another example, if the document 220 is an academic paper, the attribution information 236 may be the title of the academic paper, the main author, the list of authors, bibliographic citations, etc. For another example, if the document 220 is a website or some other form of document accessible to the user computing device 203, the attribution information 236 may include a link (e.g., a URL, etc.) that facilitates access to the document 220.
[0057] Figure 3 is a flow chart of an example method 300 for performing responses to prompts and generation of corresponding visual references according to an example embodiment of the present disclosure. Figure 3 The operations performed in a specific order are depicted for the purpose of illustration and discussion, but the method of the present disclosure is not limited to the order or arrangement specifically described. Individual operations of method 300 may be omitted, rearranged in various ways, combined and / or reorganized without departing from the scope of the present disclosure.
[0058] At 302, the computing system may retrieve the result image based on the similarity between the query image and the result image. In some implementations, to retrieve the result image, the computing system may process the query image using a machine learning visual search model to obtain an intermediate representation of the query image, and select the result image based on the similarity between the intermediate representation of the query image and the intermediate representation of the result image. For example, the machine learning visual search model may be a machine learning embedding model that generates an embedding of the query image for an image embedding space. The computing system may evaluate an embedding space that includes an embedding of the result image and a plurality of other image embeddings to retrieve the result image. The embedding of the result image may be an embedding of an embedding of the query image within the embedding space.
[0059] In some implementations, the computing system may obtain a query image from a user computing device prior to retrieving result images. In some implementations, the interface includes a user interface of an application executed by the user computing device. For example, the user computing device may execute a visual search application associated with a visual search service provided by the computing system. The visual search application may facilitate capturing query images and prompts for transmission to the computing system.
[0060] In some implementations, obtaining the query image may include obtaining the query image and a prompt associated with the query image from a user computing device. Additionally, in some implementations, the prompt may be modified by the computing system. For example, the prompt may be modified to include instructions that facilitate processing of the prompt by a large language model.
[0061] In some implementations, retrieving the result image further comprises providing the result image to a user computing device for display within an interface; and in response to providing the result image, receiving a prompt associated with the query image from the user computing device. For example, the computing system may receive the query image and perform a visual search to obtain the result image. The computing system may provide the result image for display within an interface of an application executed by the user computing device. In response, a user of the user computing device may input a query into the user computing device, which may be provided to the computing system.
[0062] At 304, the computing system may obtain a first text unit, wherein the first text unit includes at least a portion of the text content of a source document that includes the result image. In some implementations, the document includes one or more web pages of a website, an article, a newspaper, a book, or a manuscript. For example, if the source document is a website article, the computing system may obtain a first text unit, wherein the first text unit includes the text content of the article, the title of the article, other text content related to the website hosting the article, and the like.
[0063] At 306, the computing system may determine a second text unit in response to a prompt associated with the query image, wherein the second text unit includes one or more of: (a) at least some of the first text unit; (b) text derived from the first text unit. In some implementations, determining the second text unit in response to the prompt associated with the query image includes using a machine learning language model to process the second text unit and the prompt associated with the query image to obtain a language output including the second text unit. In some implementations, the second text unit includes a subset of the first text unit. In some implementations, the second text unit includes text derived from the first text unit, and wherein the text derived from the first text unit describes a summary of the first text unit.
[0064] In some implementations, before determining the second text unit, the computing system may generate a hint associated with the query image based at least in part on the query image. For example, the computing system may process the query image using a machine learning model (such as a semantic image analysis model) to generate a semantic output describing the query image. The computing system may utilize the semantic output as a hint.
[0065] At 308, the computing system may provide the result image and the second text unit for display within an interface. For example, the computing system may transmit the result image and the second text unit to a user computing device that provides the query image and the prompt. In some implementations, providing the result image and the second text unit includes providing data describing an interface element for display within the interface, the interface element including the second text unit and an attribution element, the attribution element including the result image and attribution information identifying a document that includes the result image. In some implementations, the document includes a web page, and the attribution information includes an address of the web page. Alternatively, in some implementations, the document includes a magazine, and wherein the attribution information includes a reference indicating a location of the result image within the magazine.
[0066] Figure 4 An example interface 400 of a user computing device for displaying textual content and corresponding interface elements according to some implementations of the present disclosure is depicted. Figure 4 and Figure 2 More specifically, the visual search request 402 may include Figure 2 The query image 206 and the prompt 208. Figure 2 As described, the visual search request 402 can be provided to the visual search computing system 202. The visual search computing system 202 can process the visual search request 402 to obtain the interface data 234. The interface data 234 can include the second text unit 228 and the result image 212.
[0067] Specifically, the interface data 234 may indicate how the result image 212 and the second text unit 228 are displayed within the interface 400 of the user computing device 203. For example, the user computing device 203 may be executing a visual search application, or may already be executing an application integrated into the operating system of the user computing device 203. The application may display the interface 400 at a display device of the user computing device 203.
[0068] Continuing with the depicted example, the query image 206 may depict a certain breed of dog, such as a beagle. The prompt 208 may be a question, such as "What breed of dog is this?" The visual search computing system 202 may process the visual search request 402 to obtain the second text unit 228 and the result image 212, which may be included in the interface data 232. As depicted, the second text unit 232 may include an answer to the query posed by the prompt 208, such as "Answer: beagle." Similarly, due to the visual similarity between the query image 206 and the result image 212, the result image 212 may be retrieved.
[0069] In some implementations, interface data 234 may describe the manner in which second text unit 228 and result image 212 are presented. For example, interface data 234 may indicate that second text unit 228 will be presented within primary interface element 404 to emphasize second text unit 228. Interface data 234 may also indicate that primary interface element 404 will include attribution element 405.
[0070] The attribution element 405 may include the result image 212 and the corresponding attribution information 236. The attribution information 236 may identify the document (e.g., Figure 2 If the document is a website or is accessible to the user computing device 203, the attribution information 236 may also provide a link to access the document. In this way, the attribution element 405 may be used as a "visual reference" that allows the user of the user computing device 203 to easily confirm the accuracy of the second text unit 228.
[0071] In some implementations, in addition to the result image 212 included in the document from which the second text unit 228 is derived, the interface data may include a plurality of other result images 212. The interface data 234 may indicate instructions to display the other result images 212 in result image elements 406A, 406B, 406C, and 406D (generally, result image elements 406). In some implementations, the result image 212 included in the result image element 406 may be a result image that is less similar to the query image 206 than the result image included in the primary interface element 404. For example, the visual search computing system 202 may select five result images 212 to include in the interface data 234. The result image 212 that is most similar to the query image 206 (e.g., an image that has an embedding that is closest in embedding space to the embedding of the query image 206) may be indicated for inclusion in the primary interface element 404. The result image element 406 may include the other four result images 212.
[0072] As with primary interface element 404, result image element 406 may include attribution information 236 identifying the document that includes result image 212 of result image element 406. Continuing with the example, each result image element 406 may include a link to a website document that includes the result image 212 included in the corresponding result image element 406.
[0073] Figure 5A An example interface 500A of a user computing device for displaying text content and corresponding interface elements according to some other implementations of the present disclosure is depicted. Figure 2 and Figure 4 Discuss together. Figure 2As described, visual search request 502 can be provided to visual search computing system 202. Visual search request can include query image 206 and hint 208. Visual search computing system 202 can process visual search request 502 to obtain interface data 234. Interface data 234 can include second text unit 228 and result image 212.
[0074] Continuing with the example, the query image 206 may depict a certain type of jetliner. The prompt 208 may be a sentence, such as "Nice airplane?", which may or may not be used as a query. The visual search computing system 202 may process the visual search request 502 to obtain the second text unit 228, the result image 212, and the attribution information 236, which may be included in the interface data 234. As depicted, the second text unit 228 may include an answer to the query posed by the prompt 208. Similarly, due to the visual similarity between the query image 206 and the result image 212, the result image 212 may be retrieved.
[0075] Interface 500A and Figure 4 The interface 400 is similar to the interface 500A, except that the interface 500A can be used with the interface elements in Figure 4 The interface 400 may be displayed in different formats to display interface elements. Figure 4 , the main interface element 404 includes text content from the second text unit 228 and the attribution element 405 in a format that provides a clear answer to the query posed by the user. However, unlike the main interface element 404, Figure 5A The main interface element 504 of includes a first portion of text content 228A, the first portion including an excerpt from the first document that provides more contextual information about the query posed by the user in prompt 208. In addition, the main interface element 504 includes an emphasis element 506 that highlights or emphasizes information that is expected to serve as an answer to the query posed by prompt 208. The first document can be represented by an attribution element 505, such as Figure 4 The attribution element 405 is identified in the same manner as described.
[0076] Specifically, when processing prompt 208, visual search computing system 202 may determine whether it is an interface element that includes a direct answer to the query (such as, Figure 4 interface element 404) or an interface element that includes contextual information that can help the user (such as, Figure 5AThe interface data 234 is generated based on the interface element 504 of the prompt 208. The determination can be based on the degree of determination associated with the information retrieved in response to the prompt 208, the semantic understanding of the prompt 208, etc. In the example shown, because "good airplane" is a relatively subjective question, the visual search computing system 202 can determine to generate the interface data 234 shown based on the semantic understanding of the prompt 208. FIG. 6A to FIG. 7B The determination of the type, manner, format, etc. of the interface elements included in the interface data 234 will be discussed in more detail.
[0077] In some implementations, interface data 234 may include information for display within multiple interface elements. In other words, interface data 234 may include or may be used to generate multiple interface elements that include different text content. Continuing with the example, interface data 234 may include information for inclusion in primary interface element 504 and second interface element 508. Second text unit 228 included in interface data 234 may include first text content from a first document and second text content from a second document. The first text content may be provided for inclusion in primary interface element 504, and the second text content may be provided for inclusion in second interface element 508.
[0078] Visual search computing system 202 can determine whether to generate interface data 234, the interface data including information for inclusion in multiple interface elements. Similar to the format determination for main interface element 504, this determination can be based on semantic understanding of prompt 208, the quantity, quality and / or semantic understanding of text retrieved in response to prompt 208, etc. In addition, in some implementations, visual search computing system 202 can determine the order in which interface elements 504 and 508 will be presented to the user.
[0079] Assume that the user of user computing device 203 feels that the information presented in primary interface element 504 is insufficient. The user may provide input 510 to user computing device 203 instructing user computing device 203 to display second interface element 508. Continuing with the illustrated example, the user may provide a “slide” touch input 510 that moves second interface element 508 from a position where the element is mostly obscured to a position where the element is fully visible.
[0080] For example, Figure 5B Describes how to respond to receiving user input according to some other implementations of the present disclosure. Figure 5A Example interface 500B of a user computing device displayed after interface 500A of FIG. Figure 5B, interface 500B is displayed in response to receiving input 510 from the user. As depicted, in interface 500B, primary interface element 504A has moved to a fully obscured position, while second interface element 506 has moved to a fully visible position. As with primary interface element 504A, second interface element 506 may include second emphasis element 512 that emphasizes, highlights, or otherwise indicates a portion of second text content 228B that is expected to be particularly relevant to prompt 208.
[0081] In some implementations, the interface 500B of the user computing device 203 may include an information request element 514 that the user may select to indicate a request for additional information. For example, assume that the visual search computing system 202 determines that the information included in the second text unit 228 is likely sufficient for the prompt 208. The visual search computing system 202 may determine to include only the first text content 228A and the second text content 228B in the interface element 234, rather than continuing to retrieve information to include in the third, fourth, or fifth interface elements, thereby reducing expenditure of computing resources (e.g., computing cycles, memory utilization, power, storage, bandwidth, network resources, etc.), reducing latency, and improving efficiency.
[0082] However, if the user determines that the information included in the primary interface element 504 and the second interface element 506 is insufficient, the user may select the information request element 514. After selecting the information request element 514, the user computing device 203, the user computing device 203 may transmit the request to the visual search computing system 202. In response, the visual search computing system 202 may generate additional interface data to be included in the third interface element (or more). In this way, the visual search computing system 202 may facilitate the repeated search for information in response to the prompt 208, while eliminating unnecessary utilization of computing resources.
[0083] Fig. 6A is a data flow diagram for dynamically refining visual search information in response to user feedback in a first time period T1 according to some implementations of the present disclosure. Specifically, the visual search computing system 602 (e.g., Figure 2 The visual search computing system 202 of the present invention may include a visual search module 604 (e.g., Figure 2 In a first time period T1, the visual search computing system 602 may obtain a query image 606 and a prompt 608, and may use the visual search module 604 to process the query image 606 and the prompt 608.
[0084] More specifically, at a first time T1, the visual search module 604 may use the method described with respect to the previous figures (such as Figure 2The query image 606 may be processed by an image evaluation module 610 of the image evaluation module 210 of the visual search computing system to obtain a result image 612. The result image 612 may include a first result image 612A, a second result image 612B, and a third result image 612C. The visual search module 604 may obtain a text unit 614 from a document associated with the result image 612. Specifically, the visual search module 604 may utilize a document content selection module 616 to obtain information from a document including the result image 612 based on document index information 618. The document index information 618 may store information indicating the document in which the result image is located when indexed by the visual search computing system.
[0085] Continuing with the example, assume that the result image 612A is included in two separate documents 618A and 618B when indexed by the visual search computing system 602. The document index information 618 may store the text content included in the documents 618A and 618B when indexed, or may store information indicating the location from which the documents 618A and 618B are accessed (e.g., URLs, download links, file locations, etc.). For example, if the documents 618A and 618B are published academic journal articles, the visual search computing system 602 may directly store the text content included in the documents because the text content is unlikely to change over time. In contrast, if the documents 618A and 618B are both website pages, the visual search computing system 602 may store the URLs from which the documents 618A and 618B can be accessed because the information included in the website pages is relatively more likely to be updated or iterated over time.
[0086] Continuing with the previous example, text unit 614 may include first text unit 614A, second text unit 614B, and third text unit 614C. Each of the text units may include text content included in a document including result image 612. For example, since result image 612A is included in documents 618A and 618B, text unit 614A corresponding to result image 612A may include text content from both documents 618A and 618B. Text unit 614B corresponding to result image 612B may include text content from document 618C, which includes result image 612B. Text unit 614C may include text content from document 618D, which includes result image 612C.
[0087] As about Figure 2As described in the text determination module 226 of the visual search computing system 602, the text determination module 620 can be used to process the text unit 614 and the prompt 608 to obtain the derived text unit 622. More specifically, the text determination module can process a set of text inputs to obtain the derived text unit 622, and the set of text inputs includes (a) the text unit 614 and (b) the prompt 608. For example, the text determination module 620 may include a large language model 621. The large language model 621 can be a model trained on a large and diverse data corpus for performing various types of language tasks. The large language model 621 can process a set of text inputs to generate a derived text unit 622. The set of text inputs may include the text unit 614 and the prompt 608.
[0088] In some implementations, derived text unit 622 may be a language output from a machine learning language model included in text determination module 620. Thus, derived text unit 622 may be a generated language output that includes some text content generated from, but not included in, text unit 614. Additionally or alternatively, derived text unit 622 may be a language output that includes some (or all) of the text content of text unit 614.
[0089] The visual search computing system 602 can provide the result image 612 and the derived text unit 622 to the user computing device 624 for display within an interface of the user computing device 624. Additionally, in some implementations, the visual search computing system 602 can provide attribution information 626 to the user computing device 624 along with the result image 612 and the derived text unit 622. For example, the attribution information 626 can include information stored in the document index information 618 that identifies and / or provides access to the documents 618A-618D.
[0090] In some implementations, in response to receiving the result image 612, the derived text unit 622, and the attribution information 626, the user computing device 624 may provide result image selection information 628 to the visual search computing system 602. The result image selection information 628 may be information generated in response to user input collected at the user computing device 624 selecting one of the result images 612 within the interface to indicate that the selected result image 612 is inaccurate.
[0091] For example, go to Fig. 7A , Fig. 7A Depicted is an example interface 700A of a user computing device for collecting user feedback on derived textual content and corresponding result images, according to some implementations of the present disclosure. Fig. 7A About Fig. 6ASpecifically, assume that the query image 606 is an image of a jetliner and the prompt 608 is the query “maximum distance?” In response, the visual search computing system 602 can generate and provide attribution information 626, derived text units 622, and result images 612 for display in the interface 700A of the user computing device 624.
[0092] The user computing device 624 may display the information in the interface 700A. The interface 700A may include the interface element 702, which includes the derived text unit 622. Continuing with the example, the derived text unit 622 may include information about the maximum distance of the jetliner depicted in the query image 606 retrieved in response to the prompt 608. Here, the derived text unit 622 is information about the maximum distance of the jetliner summarized from the plurality of source documents.
[0093] In addition, interface 700A may include optional attribution elements 704A, 704B, and 704C (generally, optional attribution element 704). Optional attribution element 704 is an interface element that includes a result image and attribution information that identifies a document that includes the result image. Specifically, the document identified by optional attribution element 704 is the document from which derived text unit 622 is obtained. Based on the assumption that the text content of a document is closely related to the image included in the document, a user can quickly and effectively evaluate the relevance of the document used to obtain the derived text unit 622 by viewing the result image included in the attribution element associated with the document. In order to indicate that the result image (and therefore the document including the result image) is not relevant, the user can select optional attribution element 704 that includes the result image.
[0094] For example, selectable attribution element 704A includes result image 612A and attribution information 626 indicating the identity of a document (e.g., document 618A) that includes result image 612A. Because result image 612 included in selectable attribution element 704A closely matches query image 606 visually, a user is unlikely to select selectable attribution element 704A. However, result image 612B included in selectable attribution element 704B is visually distinct from query image 606 because query image 606 depicts a passenger jet, while result image 612B depicts a fighter jet. Due to this visual difference, a user may provide input 706 to select attribution element 704B.
[0095] like Fig. 7AAs shown, the text content included in document 618C that includes result image 612B (i.e., the "source" of result image 612B) is related to jet fighters rather than jet airliners, and is therefore irrelevant to prompt 608 and query image 606. Because derived text unit 622 is generated at least in part based on text content from document 618C, it is likely that derived text unit 622 is at least partially inaccurate. This is illustrated in the summary information included in interface element 702, which includes information related to jet fighters (e.g., "The F-37 adopts a VTOL configuration to more easily take off from an aircraft carrier," "U.S. allies have purchased more than 200 F-37 aircraft," etc.).
[0096] By providing input 706 selecting attribution element 704B, the user may indicate to user computing device 624, and therefore to visual search computing system 602, that the document including result image 612B is not relevant to prompt 608 and therefore will not be used to generate derived text unit 622. In response to receiving input 706, user computing device 624 may generate result image selection information 628 and provide the result image selection information to visual search computing system 602.
[0097] Go to Figure 6B , Figure 6B 6 is a data flow diagram for dynamically refining visual search information in response to user feedback at a second time period T2 according to some implementations of the present disclosure. Specifically, the visual search computing system 602 may receive result image selection information 628. The result image selection information 628 may indicate that the result image 612B is not visually similar to the query image 606. In response, at time T2, the visual search computing system 602 may generate a second derived text unit 630, which is generated based on each text unit in the previous text unit 614 except for the text unit 614B extracted from the document 618B including the result image 612B.
[0098] The visual search module 604 may receive result image selection information 628 indicating a selection of the attribution element 704B that includes the result image 612B. In response, the visual search module 604 may identify each text unit that was previously used to generate the derived text unit 622. The visual search module 604 may then remove any text units obtained from the document 618C that was used as a source document for the result image 612B (e.g., the document that includes the result image 612B).
[0099] For example, to generate derived text unit 622, visual search module may have processed a first set of text inputs, the first set of text inputs including text unit 614A, text unit 614B, text unit 614C, and hint 608. In response to result image selection information, visual search module 604 may determine a second set of text inputs, the second set of text inputs including each text unit in the first set of text inputs except text unit 614B, the text unit 614B being associated with result image 612B included in selectable attribution element 704B indicated by result image selection information 628. Here, the second set of text inputs may include text unit 614A, text unit 614C, and hint 608.
[0100] Once determined, the visual search module 604 can use the large language model 621 to process the second set of text inputs to generate a second derived text unit 630. Since the second derived text unit 630 is not based on information indicated by the user as inaccurate, it can be assumed that the second derived text unit 630 includes more accurate information than the information included in the derived text unit 622. In this way, the visual search computing system 602 can dynamically and iteratively refine the visual search information (e.g., derived text units, attribution information, result images, etc.) in response to user feedback. The second text unit 630 can be provided to the user computing device 624 for display within the interface of the user computing device 624.
[0101] In some implementations, the visual search module 604 can generate second attribution information 632. The second attribution information 632 can include all information included in the attribution information 626 except the attribution information related to the document 618C. Alternatively, in some implementations, the second attribution information 632 can include instructions not to display information related to the document 618C in the interface of the user computing device 624. Additionally or alternatively, in some implementations, the visual search module 604 can retransmit the result image 612 except for the result image included in the optional attribution element 704B.
[0102] For example, go to Figure 7B , Figure 7B An example interface 700B of a user computing device for displaying visual search information refined based on user feedback according to some implementations of the present disclosure is depicted. Specifically, at time T2, after receiving result image selection information 628, the visual search computing system 602 may generate second attribution information 632 and second derived text unit 630 and provide the second attribution information and the second derived text unit to the user computing device 624 for display within the interface 700B.
[0103] Interface 700B may include interface element 708, which includes second derived text unit 630. As shown, because second derived text unit 630 is not generated based on information included in document 618C, second derived text unit 630 will not include inaccuracies associated with the content of document 618C (e.g., information about jet fighters). In addition, in response to input 706 selecting optional attribution element 704B, optional attribution element 704B has been removed from interface 700B. Instead, additional optional attribution elements may be displayed to replace attribution element 704B. In this way, user computing device 624 can communicate with visual search computing system 602 to refine visual search information based on user feedback.
[0104] Figure 8 A flow chart depicts an example method 800 of providing visual search information derived from documents including images retrieved based on visual similarity to a query image, according to an example embodiment of the present disclosure. Figure 8 The operations performed in a specific order are depicted for the purpose of illustration and discussion, but the method of the present disclosure is not limited to the order or arrangement specifically described. The various steps of method 800 may be omitted, rearranged in various ways, combined and / or adapted without departing from the scope of the present disclosure.
[0105] At 802, a computing system may retrieve a plurality of result images based on a similarity between an intermediate representation of a query image and each of a plurality of intermediate representations respectively associated with the plurality of result images. In some implementations, retrieving the plurality of result images may include processing the query image using a machine learning visual search model to obtain an intermediate representation (e.g., an embedding, encoding, latent representation, etc.) of the query image. The computing system may retrieve the result images based on a degree of similarity between the intermediate representation of the query image and the intermediate representations of the plurality of result images.
[0106] In some implementations, processing the query image using the machine learning visual search model may include processing the query image using the machine learning embedding model to obtain a query image embedding of the query image. The computing system may retrieve the plurality of result images based on a distance between the query image embedding and embeddings of the plurality of result images within the embedding space.
[0107] Prior to processing the query image, operations include obtaining the query image from a user computing device. For example, a user may utilize a user computing device to capture an image depicting an unfamiliar object. In order to learn more about the object, the user may use a visual search service by providing the image and associated prompts (e.g., “what is this object”, etc.) to a computing system. Alternatively, in some implementations, the computing system may receive the image and associated prompts from an automated service or software application. For example, an indexing service may provide an image to a computing system along with associated prompts corresponding to an indexing task (e.g., “which primary keywords should be associated with the image”, etc.). Additionally or alternatively, in some implementations, a user computing device may automatically capture an image, generate prompts, and send the image and prompts to a computing system. For example, the user computing device may be a wearable augmented reality (AR) / virtual reality (VR) device. The user computing device may capture an image of an object and send the image to a computing system along with automatically generated prompts (e.g., “identify the object and provide relevant summary information”, etc.). The user computing device may then display such information in an AR / VR scenario.
[0108] At 804, the computing system may identify a plurality of source documents. Each of the plurality of source documents may include a result image in a plurality of result images and text content associated with the result image. In some implementations, identifying the plurality of source documents further includes obtaining attribution information for each of the source documents. The attribution information may include (a) identification information identifying the source document (e.g., a title, a reference, a numerical identifier such as a digital object identifier (DOI), etc.), and / or (b) information describing a location from which the source document can be accessed (e.g., a file path, a link to download or purchase an application, a URL, a hot link, an API call to a library or other information repository that can retain a physical copy of the document, etc.).
[0109] At 806, the computing system may determine a plurality of first text units for the plurality of result images, respectively. Each first text unit may include at least a portion of text content associated with the result image from one or more source documents that include the result image. As an example, assume that the first document that includes the first result image is an online article of a popular blog. In some cases, if the first result image is one of many images included in the article, it is likely that only the text content within the article that is closest to the first result image is related to the first result image, and therefore, the computing system may determine to select the text content within the article that is closest to the first result image to be included in the first text unit. Alternatively, if the article is shorter and includes only a few paragraphs, or only includes the first result image, the computing system may determine to select all of the text content of the article to be included in the first text unit.
[0110] Therefore, it should be understood that the computing system can use any conventional technique to determine which parts of the text content from the source document to include in the first text unit. In some implementations, the computing system can use a machine learning model (such as a classification model) to process the text content of the source document to predict the relevance of various parts of the text content to the result image. Additionally or alternatively, in some implementations, the computing system can use a heuristic method to select text content to include in the first text unit. For example, the computing system can use a rule-based model, such as:
[0111] if doc_type == article;
[0112] Then retrieve sentences X-5 to X+5, where X is the position of the image in the document;
[0113] If doc_length <= 1000 words;
[0114] Then retrieve all the words;
[0115] At 808, the computing system may process a set of text inputs using the machine learning language model to obtain a language output. The language output may include a second text unit. The set of text inputs may include (a) two or more first text units respectively associated with two or more result images in the plurality of result images; and (b) a prompt associated with the query image.
[0116] At 810, the computing system may provide the second text unit and the two or more result images to the user computing device for display within an interface of the user computing device. In some implementations, providing the second text unit and the two or more result images to the user computing device for display within an interface of the user computing device includes providing interface data to the user computing device. The interface data may include instructions to generate: (a) an interface element including the second text unit; and (b) two or more optional attribution elements associated with the two or more result images, respectively. Each optional attribution element may include an associated result image, or some representation of the result image, such as a thumbnail. The optional attribution element may also include attribution information for one or more source documents that include the associated result image.
[0117] In some implementations, a computing system may receive data from a user computing device indicating a selection by a user of the user computing device of a first selectable attribution element of two or more selectable attribution elements. The first selectable attribution element may be associated with a first result image of the two or more result images. The computing system may identify a first text unit of two or more first text units, the first text unit comprising at least a portion of text content from a source document comprising the first result image. The computing system may remove the first text unit from the set of text inputs to obtain a second set of text inputs. The computing system may process the second set of text inputs using a machine learning language model to obtain a second language output comprising a refined second text unit. The computing system may provide the refined second text unit to the user computing device.
[0118] In some implementations, removing the first text unit from the set of text inputs to obtain the second set of text inputs further comprises removing information associated with a source document comprising the first result image from the attribution information to obtain refined attribution information. Providing the refined second text unit to the user computing device may also comprise providing the refined attribution information to the user computing device.
[0119] In some implementations, the language output may further include prediction information predicting that a portion of the second text unit is most relevant to the prompt. The interface data may further include instructions for generating an emphasis element that highlights the portion of the second text unit.
[0120] In some implementations, providing the second text unit and the two or more result images to the user computing device for display within an interface of the user computing device may include providing interface data to the user computing device. The interface data may include instructions for generating a first interface element, a second interface element, and first and second attribution elements. The first interface element may include a first portion of the second text unit. The first portion of the second text unit may be associated with a first result image of the two or more result images. For example, if the second text unit is a summary of a first document including the first result image and a second document including the second result image, the first portion of the second text unit may be a portion that summarizes the first document. Similarly, the second interface element may include a second portion of the second text unit. The second portion of the second text unit may be associated with a second result image of the two or more result images. The first optional attribution element may include a thumbnail of the first result image, the result image itself, or an image derived from the result image, and may include attribution information of a source document that includes the first result image. The second optional attribution element may include the second result image (or a thumbnail or image derived from it) and attribution information of a source document that includes the second result image.
[0121] Fig. 9A flow chart of an example method 900 for refining visual search information based on user feedback according to an example embodiment of the present disclosure is depicted. Fig. 9 For the purpose of illustration and discussion, the steps performed in a specific order are depicted, but the method of the present disclosure is not limited to the order or arrangement specifically described. The various steps of method 900 may be omitted, rearranged in various ways, combined and / or adapted without departing from the scope of the present disclosure.
[0122] At 902, the computing system may retrieve two or more result images based on similarities between an intermediate representation of a query image and intermediate representations of the two or more result images. For example, the intermediate representation may be an image embedding, and the computing system may retrieve the two or more result images based on a distance between the image embedding and the image embeddings of the two or more result images in an embedding space.
[0123] At 904, the computing system may process a set of text inputs using a machine learning language model to obtain a language output including text content. The set of text inputs may include text content from a source document including the two or more result images and a prompt associated with a query image.
[0124] In some implementations, processing the set of text inputs using a machine learning language model may include obtaining attribution information for each of the source documents. The attribution information may include (a) identification information identifying the source document, and / or (b) information describing a location from which the source document can be accessed.
[0125] At 906, the computing system may provide the language output and the two or more result images to the user computing device for display within an interface of the user computing device. For example, if the user computing device is executing a visual search application associated with a visual search service provided by the computing system, the computing system may provide the language output and the result images for display within an interface of the visual search application. In some implementations, the computing system may also provide attribution information.
[0126] In some implementations, providing the language output and the two or more result images to a user computing device for display within an interface of the user computing device may include providing interface data to the user computing device. The interface data may include instructions to generate: (a) an interface element including the language output; and (b) two or more optional attribution elements associated with the two or more result images, respectively. Each attribution element may include a thumbnail of the associated result image and attribution information for one or more source documents that include the associated result image.
[0127] At 908, the computing system may receive, from the user computing device, information describing an indication by a user of the user computing device that a first result image of the two or more result images is visually distinct from the query image. In some implementations, receiving information describing an indication by a user of the user computing device that a first result image of the two or more result images is visually distinct from the query image may include receiving data indicating a selection by the user of the user computing device of a first selectable attribution element of the two or more selectable attribution elements. The first selectable attribution element may be associated with the first result image of the two or more result images.
[0128] At 910, the computing system may remove text content associated with the source document including the first result image from the set of text inputs. In some implementations, removing text content associated with the source document including the first result image from the set of text inputs further includes removing information associated with the source document including the first result image from the attribution information to obtain refined attribution information. In some implementations, providing the refined language output to the user computing device further includes providing the refined attribution information to the user computing device.
[0129] At 912, the computing system may process the set of text inputs using a machine learning language model to obtain a refined language output.
[0130] At 914 , the computing system may provide the refined language output to the user computing device for display within an interface of the user computing device.
[0131] Fig.10 A flow chart of an example method 1000 for performing collection of user feedback to refine visual search information is depicted in accordance with an example embodiment of the present disclosure. Fig.10 For the purpose of illustration and discussion, the steps performed in a specific order are depicted, but the method of the present disclosure is not limited to the order or arrangement specifically described. The various steps of method 300 may be omitted, rearranged in various ways, combined and / or adapted without departing from the scope of the present disclosure.
[0132] At 1002, a user computing device may obtain a query image. In some implementations, obtaining the query image includes obtaining input indicating a request to capture an image using an image capture device associated with the user computing device. In response to obtaining the input, the user computing device may capture the query image using the image capture device associated with the user computing device.
[0133] At 1004, the user computing device may obtain text data describing the prompt. In some implementations, obtaining the text data describing the prompt may include obtaining a verbal utterance from the user via an audio capture device associated with the user computing device. The user computing device may determine the text data describing the prompt based at least in part on the verbal utterance. For example, the user computing device may process the verbal utterance using a machine learning speech recognition model to obtain the text data.
[0134] At 1006, the user computing device may provide the query image and text data describing the prompt to a computing system. For example, the computing system may be a system associated with a visual search service, such as a multimodal search service, that provides information in response to a multimodal query that includes an image and associated prompts.
[0135] At 1008, in response to providing the query image and the prompt, the user computing device may receive from the computing system (a) two or more result images, and (b) language output from the machine learning language model. The language output is generated based on the prompt and textual content from a source document including the two or more result images.
[0136] At 1010, the user computing device may display within an interface of an application executed by the user computing device (a) an interface element including the language output, and (b) two or more selectable attribution elements respectively associated with the two or more result images. Each selectable attribution element includes a thumbnail of the associated result image and attribution information identifying a source document including the associated result image.
[0137] At 1012 , the user computing device may receive input from a user via an input device associated with the user computing device, the input selecting a first selectable attribution element of the two or more selectable attribution elements.
[0138] In some implementations, each selectable attribution element may include a first selectable portion and a second selectable portion. The user computing device receives input from a user via an input device associated with the user computing device, the input selecting the first selectable portion of a first selectable attribution element of the two or more selectable attribution elements. In response to receiving the input to the first selectable portion of the first selectable attribution element, the user computing device may provide information indicating the selection of the first selectable attribution element to the computing system.
[0139] Alternatively, in some implementations, the user computing device may receive input from the user via an input device associated with the user computing device, the input selecting the second selectable portion of the first selectable attribution element of the two or more selectable attribution elements. In response to receiving the input selecting the second selectable portion of the first selectable attribution element, the user computing device may cause the display of the source document identified by the attribution information included in the first selectable attribution element. For example, if the source document is a website, the user computing device may execute a web browser application and navigate to the website. For another example, if the source document is a PDF, the user computing device may execute a PDF reader application and open the PDF.
[0140] At 1014 , in response to receiving the input, the user computing device may provide information indicative of selection of the first selectable attribution element to the computing system.
[0141] In response to providing the information, the user computing device receives a refined language output from the computing system at 1016. The refined language output may be generated based on the prompt and textual content from a source document, the source document including two or more result images other than the first result image associated with the first selectable.
[0142] Fig.11A Depicted is a block diagram of an example computing system 100 that performs a visual or multimodal search service according to an example embodiment of the present disclosure. System 1100 includes a user computing system 1102, a server computing system 1130, and / or a third computing system 1150 communicatively coupled via a network 1180.
[0143] The user computing system 1102 may include any type of computing device, such as, for example, a personal computing device (e.g., a laptop or desktop computer), a mobile computing device (e.g., a smartphone or tablet computer), a game console or controller, a wearable computing device, an embedded computing device, or any other type of computing device.
[0144] The user computing system 1102 includes one or more processors 1112 and memory 1114. The one or more processors 1112 may be any suitable processing device (e.g., a processor core, a microprocessor, an ASIC, an FPGA, a controller, a microcontroller, etc.) and may be one processor or a plurality of processors operatively connected. The memory 1114 may include one or more non-transitory computer-readable storage media, such as RAM, ROM, EEPROM, EPROM, flash memory devices, disks, etc., and combinations thereof. The memory 1114 may store data 1116 and instructions 1118 executed by the processor 1112 to cause the user computing system 1102 to perform operations.
[0145] In some implementations, the user computing system 1102 may store or include one or more machine learning models 1120. For example, the machine learning model 1120 may be or may otherwise include various machine learning models, such as a neural network (e.g., a deep neural network) or other types of machine learning models, including nonlinear models and / or linear models. The neural network may include a feedforward neural network, a recurrent neural network (e.g., a long short-term memory recurrent neural network), a convolutional neural network, or other forms of neural networks.
[0146] In some implementations, one or more machine learning models 1120 may be received from the server computing system 1130 via the network 1180, stored in the user computing device memory 1114, and then used or otherwise implemented by the one or more processors 1112. In some implementations, the user computing system 1102 may implement multiple parallel instances of a single machine learning model 1120 (e.g., to perform parallel machine learning model processing across multiple instances of input data and / or detected features).
[0147] More specifically, one or more machine learning models 1120 may include one or more detection models, one or more classification models, one or more segmentation models, one or more enhancement models, one or more generation models, one or more natural language processing models, one or more optical character recognition models, and / or one or more other machine learning models. One or more machine learning models 1120 may include one or more transformer models. One or more machine learning models 1120 may include one or more neural radiation field models, one or more diffusion models, and / or one or more autoregressive language models.
[0148] One or more machine learning models 1120 may be used to detect one or more object features. The detected object features may be classified and / or embedded. The classification and / or embedding may then be used to perform a search to determine one or more search results. Alternatively and / or in addition, one or more detected features may be used to determine that an indicator (e.g., a user interface element indicating the detected feature) will be provided to indicate that the feature has been detected. The user may then select the indicator to cause the feature classification, embedding, and / or search to be performed. In some implementations, the classification, embedding, and / or search may be performed before the indicator is selected.
[0149] In some implementations, one or more machine learning models 1120 may process image data, text data, audio data, and / or potentially coded data to generate output data, which may include image data, text data, audio data, and / or potentially coded data. One or more machine learning models 1120 may perform optical character recognition, natural language processing, image classification, object classification, text classification, audio classification, context determination, action prediction, image correction, image enhancement, text enhancement, sentiment analysis, object detection, error detection, restoration, video stabilization, audio correction, audio enhancement, and / or data segmentation (e.g., mask-based segmentation).
[0150] Additionally or alternatively, one or more machine learning models 1140 may be included in or otherwise stored and implemented by a server computing system 1130 that communicates with the user computing system 1102 according to a client-server relationship. For example, the machine learning model 1140 may be implemented by the server computing system 1130 as part of a network service (e.g., a viewfinder service, a visual search service, an image processing service, an environmental computing service, and / or an overlay application service). Thus, one or more models 1120 may be stored and implemented at the user computing system 1102, and / or one or more models 1140 may be stored and implemented at the server computing system 1130.
[0151] The user computing system 1102 may also include one or more user input components 1122 that receive user input. For example, the user input component 1122 may be a touch-sensitive component (e.g., a touch-sensitive display screen or a touchpad) that is sensitive to the touch of a user input object (e.g., a finger or a stylus). The touch-sensitive component may be used to implement a virtual keyboard. Other example user input components include a microphone, a traditional keyboard, or other means by which a user can provide user input.
[0152] In some implementations, the user computing system may store and / or provide one or more user interfaces, which may be associated with one or more applications. One or more user interfaces may be configured to receive input and / or provide data for display (e.g., image data, text data, audio data, one or more user interface elements, augmented reality experiences, virtual reality experiences, and / or other data for display). The user interface may be associated with one or more other computing systems (e.g., server computing system 130 and / or third-party computing system 150). The user interface may include a viewfinder interface, a search interface, a generative model interface, a social media interface, a media content gallery interface, and the like.
[0153] The user computing device 1102 may include one or more sensors 1126 and / or receive data from one or more sensors 1126. The one or more sensors 1126 may be housed in a housing assembly that houses one or more processors 1112, memory 1114, and / or one or more hardware components that may store one or more software packages and / or cause one or more software packages to be executed. The one or more sensors 1126 may include one or more image sensors (e.g., cameras), one or more LIDAR sensors, one or more audio sensors (e.g., microphones), one or more inertial sensors (e.g., inertial measurement units), one or more biosensors (e.g., heart rate sensors, pulse sensors, retinal sensors, and / or fingerprint sensors), one or more infrared sensors, one or more position sensors (e.g., GPS), one or more touch sensors (e.g., conductive touch sensors and / or mechanical touch sensors), and / or one or more other sensors. The one or more sensors may be utilized to obtain data associated with the user environment (e.g., images of the user environment, records of the environment, and / or the user's location).
[0154] The user computing system 1102 may include a user computing device 1104 and / or be part of a user computing device 1104. The user computing device 1104 may include a mobile computing device (e.g., a smartphone or tablet computer), a desktop computer, a laptop computer, a smart wearable device, and / or a smart appliance. Additionally and / or alternatively, the user computing system may obtain data from one or more of the one or more user computing devices 1104 and / or generate data using one or more of the one or more user computing devices 1104. For example, a smartphone camera may be used to capture image data depicting an environment, and / or an overlay application of the user computing device 1104 may be used to track and / or process data provided to the user. Similarly, one or more sensors associated with a smart wearable device may be used to obtain data about the user and / or about the user's environment (e.g., a camera housed in a user's smart glasses may be used to obtain image data). Additionally and / or alternatively, data may be obtained and uploaded from other user devices that may be specifically used for data acquisition or generation.
[0155] The server computing system 1130 includes one or more processors 1132 and memory 1134. The one or more processors 1132 may be any suitable processing device (e.g., a processor core, a microprocessor, an ASIC, an FPGA, a controller, a microcontroller, etc.) and may be one processor or a plurality of processors operatively connected. The memory 1134 may include one or more non-transitory computer-readable storage media, such as RAM, ROM, EEPROM, EPROM, flash memory devices, magnetic disks, etc., and combinations thereof. The memory 1134 may store data 1136 and instructions 1138 that are executed by the processor 1132 to cause the server computing system 1130 to perform operations.
[0156] In some implementations, server computing system 1130 includes or is otherwise implemented by one or more server computing devices. Where server computing system 130 includes multiple server computing devices, such server computing devices may operate according to a sequential computing architecture, a parallel computing architecture, or some combination thereof.
[0157] As described above, the server computing system 1130 may store or otherwise include one or more machine learning models 1140. For example, the model 1140 may be or may otherwise include various machine learning models. Example machine learning models include neural networks or other multi-layer nonlinear models. Example neural networks include feedforward neural networks, deep neural networks, recurrent neural networks, and convolutional neural networks.
[0158] Additionally and / or alternatively, the server computing system 1130 may include and / or be communicatively connected to a search engine 1142 that can be used to crawl one or more databases (and / or resources). The search engine 1142 can process data from the user computing system 1102, the server computing system 1130, and / or the third-party computing system 150 to determine one or more search results associated with the input data. The search engine 142 can perform a term-based search, a tag-based search, a Boolean-based search, an image search, an embedding-based search (e.g., a nearest neighbor search), a multimodal search, and / or one or more other search techniques.
[0159] The server computing system 1130 may store and / or provide one or more user interfaces 1144 for obtaining input data and / or providing output data to one or more users. The one or more user interfaces 1144 may include one or more user interface elements, which may include input fields, navigation tools, content widgets, selectable tiles, widgets, data display carousels, dynamic animations, information pop-ups, image enhancements, text-to-speech, speech-to-text, augmented reality, virtual reality, feedback loops, and / or other interface elements.
[0160] The user computing system 1102 and / or the server computing system 1130 may train the models 1120 and / or 1140 via interaction with a third-party computing system 1150 communicatively coupled via a network 1180. The third-party computing system 1150 may be separate from the server computing system 1130 or may be a part of the server computing system 1130. Alternatively and / or additionally, the third-party computing system 1150 may be associated with one or more network resources, one or more network platforms, one or more other users, and / or one or more contexts.
[0161] The third-party computing system 1150 may include one or more processors 1152 and memory 154. The one or more processors 1152 may be any suitable processing device (e.g., a processor core, a microprocessor, an ASIC, an FPGA, a controller, a microcontroller, etc.) and may be one processor or multiple processors operatively connected. The memory 1154 may include one or more non-transitory computer-readable storage media, such as RAM, ROM, EEPROM, EPROM, flash memory devices, disks, etc. and combinations thereof. The memory 1154 may store data 1156 and instructions 1158 executed by the processor 1152 to cause the third-party computing system 1150 to perform operations. In some implementations, the third-party computing system 1150 includes one or more server computing devices or is otherwise implemented by one or more server computing devices.
[0162] The network 1180 may be any type of communication network, such as a local area network (e.g., an intranet), a wide area network (e.g., the Internet), or some combination thereof, and may include any number of wired or wireless links. In general, communications through the network 180 may be performed via any type of wired and / or wireless connection using a variety of communication protocols (e.g., TCP / IP, HTTP, SMTP, FTP), encodings or formats (e.g., HTML, XML), and / or protection schemes (e.g., VPN, secure HTTP, SSL).
[0163] The machine learning models described in this specification can be used for a variety of tasks, applications, and / or use cases.
[0164] In some implementations, the input of the machine learning model of the present disclosure may be image data. The machine learning model may process the image data to generate an output. As an example, the machine learning model may process the image data to generate an image recognition output (e.g., recognition of image data, potential embedding of image data, encoded representation of image data, hash of image data, etc.). As another example, the machine learning model may process the image data to generate an image segmentation output. As another example, the machine learning model may process the image data to generate an image classification output. As another example, the machine learning model may process the image data to generate an image data modification output (e.g., a change in image data, etc.). As another example, the machine learning model may process the image data to generate an encoded image data output (e.g., an encoded and / or compressed representation of image data, etc.). As another example, the machine learning model may process the image data to generate an upgraded image data output. As another example, the machine learning model may process the image data to generate a prediction output.
[0165] In some implementations, the input of the machine learning model of the present disclosure may be text or natural language data. The machine learning model may process the text or natural language data to generate an output. As an example, the machine learning model may process the natural language data to generate a language encoding output. As another example, the machine learning model may process the text or natural language data to generate a potential text embedding output. As another example, the machine learning model may process the text or natural language data to generate a translation output. As another example, the machine learning model may process the text or natural language data to generate a classification output. As another example, the machine learning model may process the text or natural language data to generate a text segmentation output. As another example, the machine learning model may process the text or natural language data to generate a semantic intent output. As another example, the machine learning model may process the text or natural language data to generate an upgraded text or natural language output (e.g., text or natural language data with higher quality than the input text or natural language, etc.). As another example, the machine learning model may process the text or natural language data to generate a prediction output.
[0166] In some implementations, the input of the machine learning model of the present disclosure may be speech data. The machine learning model may process the speech data to generate an output. As an example, the machine learning model may process the speech data to generate a speech recognition output. As another example, the machine learning model may process the speech data to generate a speech translation output. As another example, the machine learning model may process the speech data to generate a potential embedding output. As another example, the machine learning model may process the speech data to generate an encoded speech output (e.g., an encoded and / or compressed representation of the speech data, etc.). As another example, the machine learning model may process the speech data to generate an upgraded speech output (e.g., speech data of higher quality than the input speech data, etc.). As another example, the machine learning model may process the speech data to generate a text representation output (e.g., a text representation of the input speech data, etc.). As another example, the machine learning model may process the speech data to generate a predicted output.
[0167] In some implementations, the input of the machine learning model of the present disclosure may be sensor data. The machine learning model may process the sensor data to generate an output. As an example, the machine learning model may process the sensor data to generate a recognition output. As another example, the machine learning model may process the sensor data to generate a prediction output. As another example, the machine learning model may process the sensor data to generate a classification output. As another example, the machine learning model may process the sensor data to generate a segmentation output. As another example, the machine learning model may process the sensor data to generate a segmentation output. As another example, the machine learning model may process the sensor data to generate a visualization output. As another example, the machine learning model may process the sensor data to generate a diagnostic output. As another example, the machine learning model may process the sensor data to generate a detection output.
[0168] In some cases, the input includes visual data, and the task is a computer vision task. In some cases, the input includes pixel data of one or more images, and the task is an image processing task. For example, the image processing task may be image classification, where the output is a set of scores, each score corresponding to a different object class and representing the possibility that one or more images depict an object belonging to the object class. The image processing task may be object detection, where the image processing output identifies one or more regions in one or more images, and for each region, identifies the possibility that the region depicts an object of interest. As another example, the image processing task may be image segmentation, where the image processing output defines the corresponding possibility of each category in a set of predetermined categories for each pixel in one or more images. For example, the set of categories may be foreground and background. As another example, the set of categories may be object classes. As another example, the image processing task may be depth estimation, where the image processing output defines a corresponding depth value for each pixel in one or more images. As another example, the image processing task may be motion estimation, where the network input includes multiple images, and the image processing output defines the motion of the scene depicted at the pixel between images in the network input for each pixel of one of the input images.
[0169] The user computing system 1102 may include multiple applications (e.g., applications 1 to N). Each application may include its own corresponding machine learning library and machine learning model. For example, each application may include a machine learning model. Example applications include a text messaging application, an email application, a dictation application, a virtual keyboard application, a browser application, etc. In some implementations, each application may communicate with the central intelligence layer (and the models stored therein) using an API (e.g., a public API across all applications).
[0170] The central intelligence layer may include multiple machine learning models. For example, a corresponding machine learning model (e.g., model) may be provided for each application and managed by the central intelligence layer. In other implementations, two or more applications may share a single machine learning model. For example, in some implementations, the central intelligence layer may provide a single model (e.g., a single model) for all applications. In some implementations, the central intelligence layer is included in or otherwise implemented by an operating system of the computing system 1100.
[0171] The central intelligence layer can communicate with a central device data layer. The central device data layer can be a centralized data repository for the computing system 1100. The central device data layer can communicate with many other components of the computing device, such as, for example, one or more sensors, context managers, device state components, and / or additional components. In some implementations, the central device data layer can communicate with each device component using an API (e.g., a private API).
[0172] Fig. 11B A block diagram of an example computing system 1250 for performing visual search operations and / or visual search information distillation according to an example embodiment of the present disclosure is depicted. Specifically, the example computing system 1250 may include one or more computing devices 1252, which may be used to obtain and / or generate one or more data sets, which may be processed by a sensor processing system 1260 and / or an output determination system 1280 for feedback to a user, thereby providing information about features in one or more obtained data sets. The one or more data sets may include image data, text data, audio data, multimodal data, potentially encoded data, etc. The one or more data sets may be obtained via one or more sensors associated with the one or more computing devices 1252 (e.g., one or more sensors in the computing devices 1252). Additionally and / or alternatively, the one or more data sets may be stored data and / or retrieved data (e.g., data retrieved from a network resource). For example, a user may interact with an image, text, and / or other content item. Interaction with the content item may then be utilized to generate one or more decisions.
[0173] One or more computing devices 1252 may obtain and / or generate one or more data sets based on image capture, sensor tracking, data storage retrieval, content download (e.g., downloading images or other content items from network resources via the Internet), and / or via one or more other technologies. One or more data sets may be processed using a sensor processing system 1260. The sensor processing system 1260 may perform one or more processing techniques using one or more machine learning models, one or more search engines, and / or one or more other processing techniques. The one or more processing techniques may be performed in any combination and / or individually. The one or more processing techniques may be performed serially and / or in parallel. Specifically, one or more data sets may be processed using a context determination block 1262, which may determine a context associated with one or more content items. The context determination block 1262 may identify and / or process metadata, user profile data (e.g., preferences, user search history, user browsing history, user purchase history, and / or user input data), previous interaction data, global trend data, location data, time data, and / or other data to determine a specific context associated with a user. The context may be associated with an event, an identified trend, a particular action, a particular type of data, a particular environment, and / or another context associated with the user and / or the retrieved or obtained data.
[0174] The sensor processing system 1260 may include an image pre-processing block 1264. The image pre-processing block 1264 may be used to adjust one or more values of an acquired and / or received image to prepare the image to be processed by one or more machine learning models and / or one or more search engines 1274. The image pre-processing block 1264 may resize the image, adjust saturation values, adjust resolution, strip and / or add metadata, and / or perform one or more other operations.
[0175] In some implementations, the sensor processing system 1260 may include one or more machine learning models, which may include a detection model 1266, a segmentation model 1268, a classification model 1270, an embedding model 1272, and / or one or more other machine learning models. For example, the sensor processing system 1260 may include one or more detection models 1266, which may be used to detect specific features in the processed dataset. Specifically, one or more detection models 1266 may be used to process one or more images to generate one or more bounding boxes associated with detected features in the one or more images.
[0176] Additionally and / or alternatively, one or more segmentation models 1268 may be utilized to segment one or more portions of a data set from one or more data sets. For example, one or more segmentation models 1268 may utilize one or more segmentation masks (e.g., one or more segmentation masks generated manually and / or based on one or more bounding boxes) to segment a portion of an image, a portion of an audio file, and / or a portion of text. Segmentation may include isolating one or more detected objects and / or removing one or more detected objects from an image.
[0177] One or more classification models 1270 may be used to process image data, text data, audio data, potentially encoded data, multimodal data, and / or other data to generate one or more classifications. One or more classification models 1270 may include one or more image classification models, one or more object classification models, one or more text classification models, one or more audio classification models, and / or one or more other classification models. One or more classification models 1270 may process data to determine one or more classifications.
[0178] In some implementations, one or more embedding models 1272 may be used to process data to generate one or more embeddings. For example, one or more embedding models 1272 may be used to process one or more images to generate one or more image embeddings in an embedding space. The one or more image embeddings may be associated with one or more image features of the one or more images. In some implementations, the one or more embedding models 1272 may be configured to process multimodal data to generate multimodal embeddings. The one or more embeddings may be used to classify, search, and / or learn an embedding space distribution.
[0179] The sensor processing system 1260 may include one or more search engines 1274 that can be used to perform one or more searches. The one or more search engines 1274 can crawl one or more databases (e.g., one or more local databases, one or more global databases, one or more private databases, one or more public databases, one or more dedicated databases, and / or one or more general databases) to determine one or more search results. The one or more search engines 1274 can perform feature matching, text-based search, embedding-based search (e.g., k-nearest neighbor search), metadata-based search, multimodal search, network resource search, image search, text search, and / or application search.
[0180] Additionally and / or alternatively, the sensor processing system 1260 may include one or more multimodal processing blocks 1276 that may be used to assist in processing multimodal data. The one or more multimodal processing blocks 1276 may include generating multimodal queries and / or multimodal embeddings for processing by one or more machine learning models and / or one or more search engines 1274.
[0181] The output of the sensor processing system 1260 may then be processed using an output determination system 1280 to determine one or more outputs to provide to a user. The output determination system 1280 may include a heuristic-based determination, a machine learning model-based determination, a user selection-based determination, and / or a context-based determination.
[0182] The output determination system 1280 may determine how and / or where to provide one or more search results in the search results interface 1282. Additionally and / or alternatively, the output determination system 1280 may determine how and / or where to provide one or more machine learning model outputs in the machine learning model output interface 1284. In some implementations, one or more search results and / or one or more machine learning model outputs may be provided for display via one or more user interface elements. The one or more user interface elements may be superimposed on the displayed data. For example, one or more detection indicators may be superimposed on an object detected in the viewfinder. One or more user interface elements may be selectable to perform one or more additional searches and / or one or more additional machine learning model processes. In some implementations, user interface elements may be provided as dedicated user interface elements for a specific application and / or may be provided uniformly in different applications. One or more user interface elements may include pop-up displays, interface overlays, interface tiles and / or small pieces, carousel interfaces, audio feedback, animations, interactive widgets, and / or other user interface elements.
[0183] Additionally and / or alternatively, data associated with the output of the sensor processing system 1260 may be utilized to generate and / or provide an augmented reality experience and / or a virtual reality experience 1286. For example, one or more acquired data sets may be processed to generate one or more augmented reality rendering assets and / or one or more virtual reality rendering assets, which may then be used to provide an augmented reality experience and / or a virtual reality experience 1286 to a user. The augmented reality experience may render information associated with an environment into a corresponding environment. Alternatively and / or additionally, objects associated with the processed data sets may be rendered into a user environment and / or a virtual environment. Rendering data set generation may include training one or more neural radiance field models to learn a three-dimensional representation of one or more objects.
[0184] In some implementations, one or more action prompts 1288 can be determined based on the output of the sensor processing system 1260. For example, a search prompt, a purchase prompt, a generate prompt, a reservation prompt, a call prompt, a redirect prompt, and / or one or more other prompts can be determined to be associated with the output of the sensor processing system 1260. The one or more action prompts 1288 can then be provided to the user via one or more selectable user interface elements. In response to selection of the one or more selectable user interface elements, a corresponding action of the corresponding action prompt can be performed (e.g., a search can be performed, a purchase application interface can be utilized, and / or another application can be opened).
[0185] In some implementations, one or more data sets and / or outputs of the sensor processing system 1260 may be processed using one or more generative models 1290 to generate model-generated content items that may then be provided to a user. The generation may be prompted based on a user selection and / or may be performed automatically (e.g., automatically based on one or more conditions, which may be associated with a threshold amount of unrecognized search results).
[0186] The output determination system 1280 may use a data enhancement block 1292 to process one or more data sets and / or the output of the sensor processing system 1260 to generate enhanced data. For example, one or more images may be processed using the data enhancement block 1292 to generate one or more enhanced images. Data enhancement may include data correction, data cropping, removal of one or more features, addition of one or more features, resolution adjustment, lighting adjustment, saturation adjustment, and / or other enhancements.
[0187] In some implementations, one or more data sets and / or outputs of the sensor processing system 60 may be stored based on the determination of the data storage block 1294 .
[0188] The output of the output determination system 1280 may then be provided to the user via one or more output components of the user computing device 1252. For example, one or more user interface elements associated with the one or more outputs may be provided for display via a visual display of the user computing device 1252.
[0189] The process may be performed iteratively and / or continuously. One or more user inputs to provided user interface elements may modulate and / or influence the continuous processing loop.
[0190] The technology discussed herein relates to servers, databases, software applications, and other computer-based systems, as well as the actions taken and the information sent to and from such systems. The inherent flexibility of computer-based systems allows tasks and functions to have a variety of possible configurations, combinations, and divisions between components. For example, the processes discussed herein can be implemented using a single device or component or multiple devices or components working in combination. Databases and applications can be implemented on a single system, or distributed across multiple systems. Distributed components can operate sequentially or in parallel.
[0191] Although the subject matter has been described in detail with respect to various specific example embodiments of the subject matter, each example is provided by way of explanation, rather than limitation of the present disclosure. Those skilled in the art, after understanding the foregoing, can easily produce changes, modifications, and equivalents of such embodiments. Therefore, the present disclosure does not exclude such modifications, changes, and / or additions to the subject matter that will be readily understood by those of ordinary skill in the art. For example, a feature shown or described as part of one embodiment can be used together with another embodiment to produce yet another embodiment. Therefore, the present disclosure is intended to cover such changes, modifications, and equivalents.
[0192] Example
[0193] Some embodiments of the present disclosure are described below. However, please note that the following embodiments are not an exhaustive list of all embodiments of the present disclosure. Instead, the following embodiments are provided to illustrate various scenarios in which embodiments of the present disclosure may be utilized.
[0194] Embodiment 1: A computer-implemented method, the method comprising:
[0195] - retrieving, by a computing system comprising one or more processor devices, the result image based on a similarity between the query image and the result image;
[0196] - obtaining, by the computing system, a first text unit, wherein the first text unit comprises at least a portion of text content of a source document, the source document comprising the result image;
[0197] - determining, by the computing system in response to a prompt associated with the query image, a second text unit, wherein the second text unit comprises one or more of:
[0198] o(a) at least some of said first text units; or
[0199] ○(b) text obtained from the first text unit; and
[0200] - providing, by the computing system, the second text element and the result image for display within an interface.
[0201] Embodiment 2: A method as described in Embodiment 1, wherein retrieving the result image comprises: the computing system using a machine learning visual search model to process the query image to obtain an intermediate representation of the query image; and the computing system retrieving the result image based on the degree of similarity between the intermediate representation of the query image and the intermediate representation of the result image.
[0202] Embodiment 3: A computer-implemented method as described in Embodiment 2, wherein processing the query image using the machine learning visual search model includes processing the query image by the computing system using the machine learning embedding model to obtain a query image embedding of the query image, and wherein retrieving the result image includes retrieving the result image by the computing system based on a distance between the query image embedding and the embedding of the result image within an embedding space.
[0203] Embodiment 4: The computer-implemented method of Embodiment 1, wherein, prior to processing the query image, the method comprises obtaining, by the computing system, the query image from a user computing device.
[0204] Embodiment 5: The computer-implemented method of Embodiment 4, wherein the interface comprises a user interface of an application executed by the user computing device.
[0205] Embodiment 6: The computer-implemented method of Embodiment 4, wherein obtaining the query image comprises obtaining, by the computing system, the query image and the prompt associated with the query image from the user computing device.
[0206] Embodiment 7: A computer-implemented method as described in Embodiment 4, wherein retrieving the result image also includes providing the result image by the computing system to the user computing device for display within the interface, and in response to providing the result image, receiving the prompt associated with the query image from the user computing device.
[0207] Embodiment 8: A computer-implemented method as described in Embodiment 1, wherein determining the second text unit in response to the prompt associated with the query image includes processing the second text unit and the prompt associated with the query image by the computing system using a machine learning language model to obtain a language output including the second text unit.
[0208] Embodiment 9: The computer-implemented method of Embodiment 8, wherein the second text unit comprises a subset of the first text unit.
[0209] Embodiment 10: The computer-implemented method of Embodiment 8, wherein the second text unit includes text derived from the first text unit, and wherein the text derived from the first text unit describes a summary of the first text unit.
[0210] Embodiment 11: The computer-implemented method of Embodiment 1, wherein the source document comprises:
[0211] - one or more pages of the website;
[0212] -article;
[0213] -newspaper;
[0214] - books; or
[0215] -Manuscript.
[0216] Example 12: A computer-implemented method as described in Example 1, wherein providing the second text unit and the result image also includes providing attribution information by the computing system for display within the interface, the attribution information (a) identifying the source document and / or (b) indicating a location from which the source document can be accessed.
[0217] Embodiment 13: The computer-implemented method of Embodiment 12, wherein the source document comprises a web page, and wherein the attribution information comprises an address of the web page.
[0218] Embodiment 14: The computer-implemented method of Embodiment 12, wherein the source document comprises a magazine, and wherein the attribution information comprises a reference indicating a location of the result image within the magazine.
[0219] Embodiment 15: A computer-implemented method as described in Embodiment 1, wherein, before determining the second text unit, the method includes generating, by the computing system, the hint associated with the query image based at least in part on the query image.
[0220] Embodiment 16: A computer-implemented method as described in Embodiment 15, wherein generating the prompt associated with the query image comprises: processing the query image by the computing system using a machine learning model to generate a semantic output describing the image; and generating the prompt by the computing system based at least in part on the semantic output.
[0221] Embodiment 17: A computing system, comprising:
[0222] - one or more processors;
[0223] - one or more non-transitory computer-readable media that collectively store a first set of instructions that, when executed by the one or more processors, cause the computing system to perform operations comprising:
[0224] o Obtaining a query image and associated prompts from a user computing device;
[0225] ○ Processing the query image using a machine learning embedding model to obtain a query image embedding;
[0226] ○ retrieving the result image based on the similarity between the query image embedding and the embedding of the result image;
[0227] ○ Identifying a source document of the result image, wherein the source document includes the result image and text content associated with the result image;
[0228] o determining a first text unit, the first text unit comprising at least a portion of the text content associated with the result image from the source document;
[0229] o Processing the first text unit and the prompt using a machine learning language model to obtain a language output comprising a second text unit, wherein the second text unit comprises one or more of the following:
[0230] ■(a) at least some of said first text units; or
[0231] ■(b) text derived from the first text unit; and
[0232] o Providing the second text element and the resulting image for display within an interface of an application executed by the user computing device.
[0233] Embodiment 18: The computing system of embodiment 17, wherein the operations further comprise:
[0234] - receiving information from the user computing device indicating a request for additional information;
[0235] - retrieving the second result image based on a similarity between the embedding of the query image and the embedding of the second result image;
[0236] - identifying a first source document and a second source document for the result image, wherein each of the first source document and the second source document comprises the result image and text content associated with the result image, and wherein the text content associated with the result image of the first source document is different from the text content associated with the result image of the second source document;
[0237] - determining an additional first text unit comprising at least a portion of the text content associated with the result image from one or more of the first source document and the second source document;
[0238] - processing the additional first text unit and the prompt using the machine learning language model to obtain a second language output comprising an additional second text unit, wherein the additional second text unit comprises one or more of:
[0239] o(a) at least some of the additional first text units; or
[0240] o(b) text derived from said additional first text unit; and
[0241] - providing the additional second text element and the second result image for display within the interface of the application executed by the user computing device.
[0242] Embodiment 19: The computing system of Embodiment 17, wherein providing the second text unit and the result image further comprises providing attribution information identifying the source document for display within the interface of the application executed by the user computing device.
[0243] Embodiment 20: One or more non-transitory computer-readable media collectively storing a first set of instructions that, when executed by one or more processors, cause the one or more processors to perform operations comprising:
[0244] - retrieving the result images based on similarity between the query image and the result images;
[0245] - obtaining a first text unit, wherein the first text unit comprises at least a portion of a text content of a source document, the source document comprising the result image;
[0246] - determining a second text unit in response to a prompt associated with the query image, wherein the second text unit comprises one or more of:
[0247] o(a) at least some of said first text units; or
[0248] ○(b) text obtained from the first text unit; and
[0249] - providing the second text unit and the result image for display within an interface.
[0250] Embodiment 21: A computing system, comprising:
[0251] - one or more processors;
[0252] - one or more non-transitory computer-readable media that collectively store a first set of instructions that, when executed by the one or more processors, cause the computing system to perform operations comprising:
[0253] ○ querying the plurality of result images based on a similarity between an intermediate representation of the query image and each of a plurality of intermediate representations respectively associated with the plurality of result images;
[0254] o identifying a plurality of source documents, wherein each of the plurality of source documents comprises a result image of the plurality of result images and textual content associated with the result image;
[0255] ○ determining a plurality of first text units for the plurality of result images respectively, wherein each first text unit comprises at least a portion of the text content associated with the result image from one or more source documents comprising the result image;
[0256] o Processing a set of text inputs using a machine learning language model to obtain a language output comprising a second text unit, wherein the set of text inputs comprises:
[0257] ■(a) two or more first text units respectively associated with two or more result images of the plurality of result images; and
[0258] ■(b) a cue associated with the query image; and
[0259] o Providing the second text unit and the two or more result images to a user computing device for display within an interface of the user computing device.
[0260] Embodiment 22: A computing system as described in Embodiment 21, wherein retrieving the multiple result images includes: using a machine learning visual search model to process the query image to obtain an intermediate representation of the query image; and retrieving the result image based on the degree of similarity between the intermediate representation of the query image and the intermediate representations of the multiple result images.
[0261] Embodiment 23: A computing system as described in Embodiment 22, wherein using the machine learning visual search model to process the query image includes using the machine learning embedding model to process the query image to obtain a query image embedding of the query image; and wherein retrieving the multiple result images includes retrieving the multiple result images based on a distance between the query image embedding and the embeddings of the multiple result images within an embedding space.
[0262] Embodiment 24: The computing system of Embodiment 21, wherein, prior to processing the query image, the operations include obtaining the query image from the user computing device.
[0263] Embodiment 25: The computing system of Embodiment 21, wherein obtaining the query image comprises obtaining the query image and the prompt associated with the query image from the user computing device.
[0264] Embodiment 26: A computing system as described in Embodiment 21, wherein identifying the multiple source documents also includes obtaining attribution information, wherein, for each of the multiple source documents, the attribution information includes (a) identification information that identifies the source document, and / or (b) information describing a location from which the source document can be accessed.
[0265] Embodiment 27: A computing system as described in Embodiment 26, wherein providing the second text unit and the two or more result images to the user computing device for display within the interface of the user computing device includes: providing interface data to the user computing device, wherein the interface data includes instructions for generating: (a) an interface element including the second text unit; and (b) two or more optional attribution elements associated with the two or more result images, respectively, wherein each optional attribution element includes a thumbnail of the associated result image and the attribution information of the one or more source documents including the associated result image.
[0266] Embodiment 28: The computing system of embodiment 27, wherein the operations further comprise:
[0267] - receiving data from the user computing device indicating a selection of a first selectable attribution element of the two or more selectable attribution elements by a user of the user computing device, wherein the first selectable attribution element is associated with a first result image of the two or more result images;
[0268] - identifying a first text unit of the two or more first text units, the first text unit comprising at least a portion of text content from the source document comprising the first result image;
[0269] - removing said first text unit from said set of text inputs to obtain a second set of text inputs;
[0270] - processing the second set of text inputs using the machine learning language model to obtain a second language output comprising refined second text units; and
[0271] - providing the refined second text unit to the user computing device.
[0272] Embodiment 29: A computing system as described in Embodiment 28, wherein removing the first text unit from the set of text inputs to obtain the second set of text inputs also includes removing information associated with the source document including the first result image from the attribution information to obtain refined attribution information; and wherein providing the refined second text unit to the user computing device also includes providing the refined attribution information to the user computing device.
[0273] Embodiment 30: A computing system as described in Embodiment 27, wherein the language output also includes predictive information, the predictive information predicting that a portion of the second text unit is most relevant to the prompt; and wherein the interface data also includes instructions for generating an emphasis element, the emphasis element highlighting the portion of the second text unit.
[0274] Embodiment 31: The computing system of Embodiment 26, wherein providing the second text unit and the two or more result images to the user computing device for display within the interface of the user computing device comprises providing interface data to the user computing device, wherein the interface data comprises instructions to generate:
[0275] - a first interface element including a first portion of the second text unit, wherein the first portion of the second text unit is associated with a first result image of the two or more result images;
[0276] - a second interface element comprising a second portion of the second text unit, wherein the second portion of the second text unit is associated with a second result image of the two or more result images; and
[0277] - a first optional attribution element and a second optional attribution element, wherein the first optional attribution element includes a thumbnail of the first result image and the attribution information of the source document including the first result image, and wherein the second optional attribution element includes a thumbnail of the second result image and the attribution information of the source document including the second result image.
[0278] Embodiment 32: The computing system of Embodiment 21, wherein the second text unit includes a summary of the two or more first text units.
[0279] Embodiment 33: A computer-implemented method, the method comprising:
[0280] - retrieving, by a computing system comprising one or more computing devices, the plurality of result images based on a similarity between the intermediate representation of the query image and each of a plurality of intermediate representations respectively associated with the plurality of result images;
[0281] - identifying, by the computing system, a plurality of source documents, wherein each of the plurality of source documents comprises a result image of the plurality of result images and textual content associated with the result image;
[0282] - determining, by the computing system, a plurality of first text units for the plurality of result images, respectively, wherein each first text unit comprises at least a portion of the text content associated with the result image from one or more source documents comprising the result image;
[0283] - processing, by the computing system, a set of text inputs using the machine learning language model to obtain a language output comprising a second text unit, wherein the set of text inputs comprises:
[0284] o(a) two or more first text units respectively associated with two or more result images of the plurality of result images; and
[0285] o(b) a cue associated with the query image; and
[0286] - providing, by the computing system, the second text element and the two or more result images to a user computing device for display within an interface of the user computing device.
[0287] Embodiment 34: A computer-implemented method as described in Embodiment 33, wherein retrieving the multiple result images includes: the computing system using a machine learning visual search model to process the query image to obtain an intermediate representation of the query image; and the computing system retrieving the result image based on the degree of similarity between the intermediate representation of the query image and the intermediate representations of the multiple result images.
[0288] Embodiment 35: A computer-implemented method as described in Embodiment 34, wherein processing the query image using the machine learning visual search model includes processing the query image by the computing system using the machine learning embedding model to obtain a query image embedding of the query image; and wherein retrieving the multiple result images includes retrieving the multiple result images by the computing system based on a distance between the query image embedding and the embeddings of the multiple result images within an embedding space.
[0289] Embodiment 36: The computer-implemented method of Embodiment 33, wherein, prior to processing the query image, the method comprises obtaining, by the computing system, the query image from the user computing device.
[0290] Embodiment 37: The computer-implemented method of Embodiment 33, wherein obtaining the query image comprises obtaining, by the computing system, the query image and the prompt associated with the query image from the user computing device.
[0291] Embodiment 38: A computer-implemented method as described in Embodiment 33, wherein identifying the multiple source documents also includes obtaining attribution information by the computing system, wherein, for each of the multiple source documents, the attribution information includes (a) identification information that identifies the source document, and / or (b) information describing a location from which the source document can be accessed.
[0292] Embodiment 39: A computer-implemented method as described in Embodiment 38, wherein providing the second text unit and the two or more result images to the user computing device for display within the interface of the user computing device includes providing interface data by the computing system to the user computing device, wherein the interface data includes instructions for generating: (a) an interface element including the second text unit; and (b) two or more optional attribution elements associated with the two or more result images, respectively, wherein each attribution element includes a thumbnail of the associated result image and the attribution information of the one or more source documents including the associated result image.
[0293] Embodiment 40: One or more non-transitory computer-readable media collectively storing a first set of instructions that, when executed by one or more processors, cause the one or more processors to perform operations comprising:
[0294] - obtaining a query image and associated prompts from a user computing device;
[0295] - processing the query image using a machine learning embedding model to obtain a query image embedding;
[0296] - retrieving the result image based on the similarity between the embedding of the query image and the embedding of the result image;
[0297] - identifying a source document of the result image, wherein the source document includes the result image and text content associated with the result image;
[0298] - determining a first text unit, the first text unit comprising at least a portion of the text content associated with the result image from the source document;
[0299] - using a machine learning language model to process the first text unit and the prompt to obtain a language output comprising a second text unit, wherein the second text unit comprises one or more of:
[0300] o(a) at least some of said first text units; or
[0301] ○(b) text obtained from the first text unit; and
[0302] - providing the second text element and the resultant image for display within an interface of an application executed by the user computing device.
[0303] Embodiment 41: A computer-implemented method, the method comprising:
[0304] - retrieving, by a computing system comprising one or more computing devices, the two or more result images based on similarities between the intermediate representation of the query image and the intermediate representations of the two or more result images;
[0305] - processing, by the computing system, a set of text inputs using a machine learning language model to obtain a language output comprising text content, wherein the set of text inputs comprises text content from a source document comprising the two or more result images and a prompt associated with the query image;
[0306] - providing, by the computing system, the language output and the two or more result images to a user computing device for display within an interface of the user computing device;
[0307] - receiving, by the computing system, from the user computing device, information describing an indication by a user of the user computing device that a first result image of the two or more result images is visually different from the query image;
[0308] - removing, by the computing system, textual content associated with the source document including the first result image from the set of textual inputs;
[0309] - processing, by the computing system, the set of text inputs using the machine learning language model to obtain a refined language output; and
[0310] - providing, by the computing system, the refined language output to the user computing device for display within the interface of the user computing device.
[0311] Embodiment 42: A computer-implemented method as described in Embodiment 41, wherein retrieving the two or more result images comprises: processing the query image by the computing system using a machine learning visual search model to obtain an intermediate representation of the query image; and retrieving the result image by the computing system based on a degree of similarity between the intermediate representation of the query image and the intermediate representations of the two or more result images.
[0312] Embodiment 43: The computer-implemented method of Embodiment 42, wherein, prior to processing the query image, the method comprises obtaining, by the computing system, the query image from the user computing device.
[0313] Example 44: A computer-implemented method as described in Example 41, wherein using the machine learning language model to process the set of text inputs also includes obtaining attribution information, wherein, for each of the source documents, the attribution information includes (a) identification information that identifies the source document, and / or (b) information describing a location from which the source document can be accessed.
[0314] Embodiment 45: A computer-implemented method as described in Embodiment 44, wherein providing the language output and the two or more result images also includes providing the attribution information by the computing system to the user computing device for display within the interface of the user computing device.
[0315] Embodiment 46: As a computer-implemented method as described in Embodiment 44, providing the language output and the two or more result images to the user computing device for display within the interface of the user computing device includes providing interface data to the user computing device, wherein the interface data includes instructions for generating the following: (a) an interface element including the language output; and (b) two or more optional attribution elements associated with the two or more result images, respectively, wherein each attribution element includes a thumbnail of the associated result image and the attribution information of one or more source documents including the associated result image.
[0316] Embodiment 47: A computer-implemented method as described in Embodiment 46, wherein receiving the information depicting the indication by the user of the user computing device that the first result image among the two or more result images is visually different from the query image includes receiving data from the user computing device indicating a selection by the user of the user computing device of a first selectable attribution element among the two or more selectable attribution elements, wherein the first selectable attribution element is associated with the first result image among the two or more result images.
[0317] Embodiment 48: A computer-implemented method as described in Embodiment 47, wherein removing the text content associated with the source document including the first result image from the set of text inputs also includes removing information associated with the source document including the first result image from the attribution information to obtain refined attribution information, and wherein providing the refined language output to the user computing device also includes providing the refined attribution information to the user computing device.
[0318] Embodiment 49: A computer-implemented method as described in Embodiment 46, wherein the language output also includes predictive information, the predictive information predicting that a portion of the language output is most relevant to the prompt, and wherein the interface data also includes instructions for generating an emphasis element, the emphasis element highlighting the portion of the language output.
[0319] Embodiment 50: A computer-implemented method, the method comprising:
[0320] - obtaining a query image by a user computing device including one or more processors;
[0321] - obtaining, by the user computing device, textual data describing a prompt;
[0322] - providing, by the user computing device, the query image and the textual data describing the prompt to a computing system associated with a visual search service;
[0323] - in response to providing the query image and the prompt, receiving, by the user computing device from the computing system, (a) two or more result images and (b) language output from a machine learning language model, wherein the language output is generated based on the prompt and textual content from a source document including the two or more result images;
[0324] - displaying, by the user computing device within an interface of an application executed by the user computing device:
[0325] ○(a) an interface element including said language output; and
[0326] o(b) two or more selectable attribution elements respectively associated with the two or more result images, wherein each selectable attribution element comprises a thumbnail of the associated result image and attribution information identifying a source document comprising the associated result image.
[0327] Embodiment 51: A computer-implemented method as described in Embodiment 50, wherein each optional attribution element includes a first optional part and a second optional part.
[0328] Embodiment 52: A computer-implemented method as described in Embodiment 51, wherein the method further comprises receiving, by the user computing device, input from a user via an input device associated with the user computing device, the input selecting the first optional portion of the first optional attribution element among the two or more optional attribution elements.
[0329] Example 53: A computer-implemented method as described in Example 52, wherein, in response to receiving the input for the first optional portion of the first optional attribution element, the user computing device provides information indicating the selection of the first optional attribution element to the computing system, and in response to providing the information, the user computing device receives a refined language output from the computing system, wherein the refined language output is generated based on the prompt and text content from a source document, the source document including the two or more result images in addition to the first result image associated with the first optional attribution element.
[0330] Example 54: A computer-implemented method as described in Example 53, wherein the method further includes displaying, by the user computing device, within the interface of the application executed by the user computing device: (a) an interface element that includes the refined language output; and (b) one or more optional attribution elements, wherein the one or more optional attribution elements include each of the two or more optional attribution elements except the first optional attribution element.
[0331] Embodiment 55: A computer-implemented method as described in Embodiment 52, wherein the method further comprises: receiving, by the user computing device, input from the user via the input device associated with the user computing device, the input selecting the second optional portion of the first optional attribution element among the two or more optional attribution elements; and in response to receiving the input selecting the second optional portion of the first optional attribution element, causing, by the user computing device, to display the source document identified by the attribution information included in the first optional attribution element.
[0332] Embodiment 56: The computer-implemented method of Embodiment 50, wherein each of the source documents comprises:
[0333] - one or more pages of the website;
[0334] -article;
[0335] -newspaper;
[0336] - books; or
[0337] -Manuscript.
[0338] Example 57: A computer-implemented method as described in Example 50, wherein obtaining the text data describing the prompt includes: obtaining, by the user computing device, a verbal statement from the user via an audio capture device associated with the user computing device; and determining, by the user computing device, the text data describing the prompt based at least in part on the verbal statement.
[0339] Embodiment 58: A computer-implemented method as described in Embodiment 50, wherein obtaining the query image comprises: obtaining, by the user computing device, input indicating a request to capture an image using an image capture device associated with the user computing device; and in response to obtaining the input, capturing, by the user computing device, the query image using the image capture device associated with the user computing device.
[0340] Embodiment 59: A user computing device, the user computing device comprising:
[0341] - one or more processors;
[0342] - one or more non-transitory computer-readable media that collectively store a first set of instructions that, when executed by the one or more processors, cause the user computing device to perform operations comprising:
[0343] ○ Obtain a query image;
[0344] ○ Get text data describing the prompt;
[0345] o providing the query image and the textual data describing the prompt to a computing system associated with a visual search service;
[0346] o In response to providing the query image and the prompt, receiving from the computing system (a) two or more result images and (b) language output from a machine learning language model, wherein the language output is generated based on the prompt and textual content from a source document including the two or more result images;
[0347] o Displaying within the interface of an application executed by the user computing device:
[0348] ●interface elements including output in said language; and
[0349] ● two or more selectable attribution elements respectively associated with the two or more result images, wherein each selectable attribution element comprises a thumbnail of the associated result image and attribution information identifying a source document comprising the associated result image;
[0350] o receiving input from a user via an input device associated with the user computing device, the input selecting a first selectable attribution element of the two or more selectable attribution elements;
[0351] o in response to receiving the input, providing information indicative of a selection of the first selectable attribution element to the computing system; and
[0352] o In response to providing the information, receiving a refined language output from the computing system, wherein the refined language output is generated based on the prompt and textual content from a source document, the source document including the two or more result images in addition to the first result image associated with the first selectable attribution element.
[0353] Embodiment 60: One or more non-transitory computer-readable media collectively storing a first set of instructions that, when executed by one or more processors of a user computing device, cause the user computing device to perform operations comprising:
[0354] - obtain a query image;
[0355] - obtain text data describing the prompt;
[0356] - providing the query image and the textual data describing the prompt to a computing system associated with a visual search service;
[0357] - in response to providing the query image and the prompt, receiving from the computing system two or more result images and a language output from a machine learning language model, wherein the language output is generated based on the prompt and textual content from a source document including the two or more result images;
[0358] - displaying within an interface of an application executed by the user computing device:
[0359] ○ interface elements including output in said language; and
[0360] o Two or more selectable attribution elements respectively associated with the two or more result images, wherein each selectable attribution element comprises a thumbnail of the associated result image and attribution information identifying a source document comprising the associated result image.
Claims
1. A computer-implemented method, the method comprising: include: retrieving, by a computing system including one or more computing devices, the two or more result images based on similarities between the intermediate representation of the query image and the intermediate representations of the two or more result images; processing, by the computing system, a set of textual inputs using a machine learning language model to obtain a language output comprising textual content, wherein the set of textual inputs comprises textual content from a source document comprising the two or more result images and a prompt associated with the query image; providing, by the computing system, the language output and the two or more result images to a user computing device for display within an interface of the user computing device; receiving, by the computing system, from the user computing device information describing an indication by a user of the user computing device that a first result image of the two or more result images is visually distinct from the query image; removing, by the computing system, textual content associated with the source document including the first result image from the set of text inputs; Processing, by the computing system, the set of text inputs using the machine learning language model to obtain a refined language output; as well as The refined language output is provided by the computing system to the user computing device for display within the interface of the user computing device.
2. The computer-implemented method of claim 1, wherein retrieving the two or more result images include: processing, by the computing system, the query image using a machine learning visual search model to obtain the intermediate representation of the query image; as well as The result image is retrieved by the computing system based on a degree of similarity between the intermediate representation of the query image and the intermediate representations of the two or more result images.
3. The computer-implemented method of claim 2, wherein prior to processing the query image, the method comprises obtaining, by the computing system, the query image from the user computing device.
4. The computer-implemented method of claim 1 , wherein processing the set of text inputs using the machine learning language model further comprises obtaining attribution information, in, For each of the source documents, the attribution information includes (a) identification information identifying the source document, and / or (b) information describing a location from which the source document can be accessed.
5. The computer-implemented method of claim 4, wherein providing the language output and the two or more result images further comprises providing, by the computing system, the attribution information to the user computing device for display within the interface of the user computing device.
6. The computer-implemented method of claim 4, providing the language output and the two or more result images to the user computing device for display within the interface of the user computing device include: providing interface data to the user computing device, wherein the interface data includes instructions to generate: (a) interface elements including the language output; as well as (b) two or more optional attribution elements respectively associated with the two or more result images, wherein each attribution element comprises a thumbnail of the associated result image and the attribution information of one or more source documents including the associated result image.
7. The computer-implemented method of claim 6, wherein receiving the information describing the indication by the user of the user computing device that the first of the two or more result images is visually different from the query image include: Data is received from the user computing device indicative of a selection of a first selectable attribution element of the two or more selectable attribution elements by the user of the user computing device, wherein the first selectable attribution element is associated with the first result image of the two or more result images.
8. The computer-implemented method of claim 7, wherein removing the text content associated with the source document including the first result image from the set of text inputs further comprises removing information associated with the source document including the first result image from the attribution information to obtain refined attribution information; and Wherein providing the refined language output to the user computing device further comprises providing the refined attribution information to the user computing device.
9. The computer-implemented method of claim 6, wherein the language output further includes predictive information predicting a portion of the language output that is most relevant to the prompt; and The interface data further includes instructions for generating an emphasis element, wherein the emphasis element highlights the portion of the language output.
10. A user computing device, the user computing device include: one or more processors; one or more non-transitory computer-readable media that collectively store a first set of instructions that, when executed by the one or more processors, cause the user computing device to perform operations comprising: Obtain a query image; Get text data describing the prompt; providing the query image and the textual data describing the prompt to a computing system associated with a visual search service; In response to providing the query image and the prompt, receiving from the computing system (a) two or more result images and (b) language output from a machine learning language model, wherein the language output is generated based on the prompt and textual content from a source document including the two or more result images; and Displaying within the interface of an application executed by the user computing device: (a) an interface element including said language output; and (b) two or more selectable attribution elements respectively associated with the two or more result images, wherein each selectable attribution element comprises a thumbnail of the associated result image and attribution information identifying a source document comprising the associated result image.
11. A user computing device as described in claim 10, wherein each selectable attribution element includes a first selectable part and a second selectable part.
12. The user computing device of claim 11, wherein the operation further include: An input is received from a user via an input device associated with the user computing device, the input selecting the first selectable portion of a first selectable attribution element of the two or more selectable attribution elements.
13. The user computing device of claim 12, wherein receiving the input of the first selectable portion of the first selectable attribution element further comprises: include: providing information indicative of selection of the first selectable attribution element to the computing system; as well as In response to providing the information, receiving a refined language output from the computing system, wherein the refined language output is generated based on the prompt and textual content from a source document, the source document including the two or more result images in addition to the first result image associated with the first selectable attribution element.
14. The user computing device of claim 13, wherein the operation further include: Displaying within the interface of the application executed by the user computing device: (a) an interface element including the refined language output; as well as (b) one or more selectable attribution elements, wherein the one or more selectable attribution elements include each of the two or more selectable attribution elements except the first selectable attribution element.
15. The user computing device of claim 12, wherein the operation further include: receiving an input from the user via the input device associated with the user computing device, the input selecting the second selectable portion of the first selectable attribution element of the two or more selectable attribution elements; as well as In response to receiving the input selecting the second selectable portion of the first selectable attribution element, causing display of the source document identified by the attribution information included in the first selectable attribution element.
16. The user computing device of claim 10, wherein each of the source documents include: one or more pages of the Website; article; newspaper; books; or Manuscript.
17. The user computing device of claim 10, wherein the text data describing the prompt is obtained include: obtaining a spoken expression from the user via an audio capture device associated with the user computing device; as well as The textual data describing the prompt is determined based at least in part on the spoken utterance.
18. The user computing device of claim 10, wherein the query image is obtained include: obtaining input indicating a request to capture an image using an image capture device associated with the user computing device; as well as In response to obtaining the input, the query image is captured using the image capture device associated with the user computing device.
19. One or more non-transitory computer-readable media collectively storing a first set of instructions that, when executed by one or more processors of a user computing device, cause the user computing device to perform operations, the operations include: Obtain a query image; Get text data describing the prompt; providing the query image and the textual data describing the prompt to a computing system associated with a visual search service; In response to providing the query image and the prompt, receiving from the computing system (a) two or more result images and (b) language output from a machine learning language model, wherein the language output is generated based on the prompt and textual content from a source document including the two or more result images; Displaying within the interface of an application executed by the user computing device: (a) interface elements including the language output; as well as (b) two or more selectable attribution elements respectively associated with the two or more result images, wherein each selectable attribution element comprises a thumbnail of the associated result image and attribution information identifying a source document comprising the associated result image; receiving input from a user via an input device associated with the user computing device, the input selecting a first selectable attribution element of the two or more selectable attribution elements; in response to receiving the input, providing information indicative of a selection of the first selectable attribution element to the computing system; as well as In response to providing the information, receiving a refined language output from the computing system, wherein the refined language output is generated based on the prompt and textual content from a source document, the source document including the two or more result images in addition to the first result image associated with the first selectable attribution element.
20. The one or more non-transitory computer-readable media of claim 19, wherein each of the source documents include: one or more pages of the Website; article; newspaper; books; or Manuscript.
Citation Information
Cited By
Supervision data generation method based on video semantic structured analysis
CN119048964A
