Contextual recommendation of digital content
Through the artificial intelligence-driven contextual digital content recommendation system, image embedding and machine learning models are used to identify digital content in the virtual environment, solving the problem of content recommendation in the virtual environment being inconsistent with the context, achieving more accurate and efficient content recommendation, and improving Improve the efficiency of content creation in virtual environments.
Patent Information
- Application Number
- CN202410198993.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-11-03
- Filing Date
- 2024-02-22
- Publication Date
- 2024-08-23
AI Technical Summary
In virtual environments, it is difficult for existing technologies to provide digital content recommendations that are most relevant to the current project, and recommendation results based on text input or text search are often inconsistent with the context and cannot effectively utilize the assets in the virtual environment, causing creators to fail in building the world. When encountering the problem of content deviation.
Through the artificial intelligence-driven contextual digital content recommendation system, image embedding and machine learning models are used to identify digital content in the virtual environment and generate recommendations consistent with the input, solving the domain gap between the real world representation and the virtual environment representation, providing More accurate content understanding and recommendations.
Improves the efficiency and accuracy of content creation in virtual environments, significantly speeding up world creation times, improving asset library utilization, and providing content recommendations that are most directly relevant to the current build context.
Smart Images

Figure CN118535790A_ABST
Abstract
Description
background
[0002] This application claims the benefit of U.S. Provisional Patent Application No. 63 / 486,650, filed on February 23, 2023, by Ryan Short, entitled “CONTEXTUAL ASSET RECOMMENDATION,” and U.S. Non-Provisional Patent Application No. 18 / 501,294, filed on November 3, 2023, the disclosures of which are incorporated herein by reference in their entirety. Technical Field
[0003] The present disclosure generally relates to improving digital content recommendations in virtual environments. More specifically, the present disclosure includes providing more accurate and / or contextually relevant digital content recommendations driven by artificial intelligence.
[0004] Related technologies
[0005] As social media and social worlds in virtual environments grow, the development of personalized virtual worlds is also growing. In addition to existing virtual worlds, users can also create their own worlds. Many asset libraries are available to help users create their own worlds. As the number of assets in asset libraries continues to grow, it will become more difficult for creators to find the assets most relevant to their current project. Assets can be recommended to users to reduce the burden of manually searching through various asset libraries. Some asset recommendations in virtual worlds are based on text input or text searches made by users. As such, there is a need to provide users with more effective and contextually accurate asset recommendations. Summary of the Invention
[0006] The subject disclosure provides a system and method for contextual digital content recommendation. In one aspect of the disclosure, the method includes receiving input associated with a virtual environment at a client device, generating an image embedding based on an image representation of the virtual environment, analyzing the virtual environment based on the image embedding to identify one or more digital content included in the virtual environment, determining a context of the virtual environment based on the one or more digital content, generating a recommendation for one or more digital content items consistent with the input based on the context of the virtual environment, and displaying the recommendation for the one or more digital content items at the client device.
[0007] Another aspect of the present disclosure relates to a system configured for contextual digital content recommendation. The system includes one or more processors and a memory storing instructions that, when executed by the one or more processors, cause the system to perform operations. The operations include: receiving input associated with a virtual environment at a client device; generating an image embedding based on an image representation of the virtual environment; analyzing the virtual environment based on the image embedding to identify one or more digital content included in the virtual environment; generating a caption associated with the one or more digital content included in the virtual environment; determining a context for the virtual environment based on the one or more digital content and the caption; generating a recommendation for one or more digital content items consistent with the input based on the context of the virtual environment; and displaying the recommendation for the one or more digital content items.
[0008] Another aspect of the present disclosure relates to a non-transitory computer-readable storage medium having instructions embodied thereon, the instructions being executable by one or more processors to perform a method according to an embodiment. In one aspect of the present disclosure, the method may include receiving input associated with a virtual environment at a client device, generating an image embedding based on an image representation of the virtual environment, analyzing the virtual environment based on the image embedding to identify one or more digital content included in the virtual environment, generating a description associated with the one or more digital content included in the virtual environment, determining a context of the virtual environment based on the one or more digital content and the description, generating a recommendation for one or more digital content items consistent with the input based on the context of the virtual environment, and displaying the recommendation for the one or more digital content items, wherein at least one digital content item is added to the virtual environment based on a user selection.
[0009] These and other embodiments will be apparent from this disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1 A network architecture for implementing digital content recommendation according to some embodiments is shown.
[0011] Figure 2 To illustrate the Figure 1 A block diagram that details the multiple devices used in the architecture.
[0012] Figure 3 An example block diagram of a system for artificial intelligence (AI)-driven contextual recommendation of digital content is shown according to one or more embodiments.
[0013] Figure 4A flow chart illustrating a method for providing contextually relevant recommendations according to some embodiments is shown.
[0014] Figure 5 A block diagram of a fine-tuned image classification neural network model framework according to some embodiments.
[0015] Figure 6A and Figure 6B A block diagram of a fine-tuned pre-trained image captioning model framework according to some embodiments.
[0016] Figure 7 A block diagram illustrating a sorting (or re-sorting) workflow when performing inference according to some embodiments is shown.
[0017] Figure 8 A workflow for a process for training a transformer for candidate reordering is shown, according to some embodiments.
[0018] Figure 9 A block diagram illustrating a process applied to a recommended machine learning (ML) model to fine-tune the recommended ML model according to some embodiments.
[0019] Figure 10 is a block diagram illustrating a computer system for performing, at least in part, one or more operations of the methods disclosed herein, according to some embodiments.
[0020] In the drawings, elements with the same or similar reference numbers have the same or similar attributes unless explicitly stated otherwise. DETAILED DESCRIPTION
[0021] In the following detailed description, numerous specific details are set forth to provide a thorough understanding of the present disclosure. However, it will be apparent to one of ordinary skill in the art that embodiments of the present disclosure may be practiced without some of these specific details. In other instances, well-known structures and techniques are not shown in detail in order to avoid obscuring the present disclosure.
[0022] General Overview
[0023] With the growth of social media and social worlds in virtual environments, the development of personalized virtual worlds is also growing. In addition to existing virtual worlds, users can create their own worlds. Numerous content libraries are available to help users create their own worlds. As the amount of digital content (e.g., assets in asset libraries) continues to grow, it becomes increasingly difficult for creators to find the most relevant digital content for their current projects. Digital content can be recommended to users to reduce the burden of manually searching through various content libraries. Some recommendation models can be based on user text input or text searches. However, the results of these models are out of context. Furthermore, recommendation tools based on previous work, explicit input, related content, or peer-based models may often lack direct relevance to the content the creator is currently trying to create. Similarly, text searches may not be able to obtain any contextual information from the world being constructed. As a result, recommended content may deviate significantly from the current world the creator wishes to build. The ability to recognize objects is a fundamental problem in visual and contextual understanding. Virtual content can appear different from its real-world counterpart. While this difference is easier for the human eye to perceive, it presents a challenge for machine learning (ML) and artificial intelligence (AI) models. Image understanding models suffer from the domain gap issue and are unable to detect assets in virtual environments well. That is, there is a domain difference between the appearance of objects in the real world and the virtual environment setting.
[0024] Embodiments provide solutions to the aforementioned identification problem by leveraging artificial intelligence (AI) to provide users with more efficient and contextually accurate digital content recommendations. By implementing a context-guided AI recommendation ML model, users (e.g., creators building VR worlds) can easily find and use the most useful digital content for content creation. Embodiments also address the domain gap between real-world representations and virtual environment representations to better understand content within virtual environments, improving understanding of content to provide contextual digital content recommendations.
[0025] To provide improved contextual recommendations, embodiments utilize text-to-model AI techniques to evaluate digital content in a virtual environment (or scene) individually and collectively to infer the content being built. AI is used to understand the context of the content the creator is building based on, for example: the placement of objects / assets in the scene; the associations between objects / assets; the relationships between other models that utilize these or similar assets; text, images, or videos recognized in the application; textures; colors; or geometry / shapes.
[0026] Embodiments are not limited to contextual asset recommendations in virtual environments, but may also be implemented in other instances, such as videos, reels, or other creator applications, to provide contextual analysis to be used by recommendation systems or similar systems.
[0027] According to some embodiments, while a creator is building a world, a recommendation ML model integrates digital content ranking based on the content of the world the creator is building to provide contextual recommendations to the creator, thereby helping the creator discover and find the most useful digital content. By recommending content that is most directly relevant to the context of the current build, world creation time will be significantly accelerated, asset / asset library utilization will be improved, and overall recommendations will be improved as digital content is selected based on previous recommendations and the world continues to be built.
[0028] The embodiments disclosed herein provide a solution to the aforementioned problems stemming from computer technology, namely, artificial intelligence (AI)-driven contextual recommendation of digital content.
[0029] Example Architecture
[0030] Figure 1 A network architecture 100 is shown in which the methods, apparatuses, and systems described herein may be implemented. The architecture 100 may include a plurality of servers 130 and a database 152, which are communicatively coupled to a plurality of client devices 110 via a network 150. Any of the plurality of servers 130 may host a virtual application running on a client device 110 (used by one or more participants in the network). The server 130 may include a cloud server or a group of cloud servers. In some embodiments, the server 130 may not be cloud-based (i.e., may be implemented outside of a cloud computing environment) or may be partially cloud-based. The client device 110 may include any of the following: a laptop, a desktop computer, or a mobile device such as a smartphone, a handheld device, or a tablet device. In some embodiments, the client device 110 may include a headset or other wearable device (e.g., a virtual reality or augmented reality headset or smart glasses) so that at least one participant can run an immersive reality social media application or a virtual reality application installed on the headset.
[0031] The network 150 may include, for example, any one or more of the following: a local area network (LAN), a wide area network (WAN), the Internet, etc. In addition, the network 150 may include, but is not limited to, any one or more of the following network topologies: these network topologies include a bus network, a star network, a ring network, a mesh network, a star-bus network, a tree network, a hierarchical network, etc., and / or combinations of these or other types of networks.
[0032] Figure 2 2 is a block diagram 200 illustrating details of a client device 110 and a server 130 used in the network architecture disclosed herein (e.g., architecture 100), according to some embodiments. The client device 110 and the server 130 are communicatively coupled via a network 150, via respective communication modules 218-1 and 218-2 (hereinafter collectively referred to as "communication modules 218"). The communication modules 218 are configured to interface with the network 150 to send and receive information, such as requests, responses, messages, and commands, to other devices via the network 150. The communication modules 218 may be, for example, a modem or an Ethernet card. The client device 110 may be coupled to input devices 214 and output devices 216. The input devices 214 may include a keyboard, a mouse, a pointer, or even a touchscreen display, which a consumer may use to interact with the client device 110. Similarly, the output devices 216 may include a display and speakers, which a consumer may use to obtain results from the client device 110.
[0033] The client device 110 may also include a processor 212-1 that is configured to execute instructions stored in the memory 220-1 and cause the client device 110 to perform at least some steps in a method consistent with the present disclosure. The memory 220-1 may also include an application 222 (e.g., a VR application). The application 222 may include specific instructions that, when executed by the processor 212-1, cause a data set from the server 130 to be displayed to the consumer. In some embodiments, the application 222 runs on any operating system (OS) installed on the client device 110. In some embodiments, the application 222 can be downloaded by a user from the server 130 and can be hosted by the server 130. The application 222 may include one or more modules or one or more computing platforms that are configured to perform operations according to aspects of the embodiments. Reference will be made later to at least Figure 3 These modules are described in detail.
[0034] The database 152 may store backup files, reports, data associated with applications, metadata, policies, and security constraints of applications, etc., provided by one or more users of the client device 110 or generated at the server 130. Participants using the client device 110 may store at least some data content in the memory 220-1. In some embodiments, participants may upload data sets to the server 130 using the client device 110.
[0035] The server 130 includes an application programming interface (API) layer 215 that controls the application 222 in each client device 110. All functions of the application 222 can be accessed through the API layer 215. The server 130 also includes a memory 220-2 that stores instructions that, when executed by the processor 212-2, cause the server 130 to at least partially perform one or more operations in a method consistent with the present disclosure. The memory 220-2 includes an engine 232. According to various embodiments, the engine 232 may include one or more computing platforms that are configured to execute and operate an AI-based contextual recommendation model. Hereinafter, the processor 212-1 and the processor 212-2 and the memory 220-1 and the memory 220-2 will be collectively referred to as "processor 212" and "memory 220", respectively.
[0036] Figure 3 An example block diagram of a system 300 for AI-driven contextual recommendations of digital content, according to one or more embodiments, is shown. System 300 may include one or more computing platforms that can be configured via machine-readable instructions. The multiple machine-readable instructions may include one or more instruction modules. These instruction modules may include computer program modules. These instruction modules may include one or more of the following: a receiving module 310, an identifying module 320, a describing module 330, a context determining module 340, a recommending module 350, a ranking module 360, a display module 370, and / or other instruction modules.
[0037] In some embodiments, one or more of modules 310, 320, 330, 340, 350, 360, and 370 may be included in the client device 110 (e.g., in the application 222) and executed by one or more processors (e.g., the processor 212-1). In some embodiments, one or more of modules 310, 320, 330, 340, 350, 360, and 370 may be included in the server 130 (e.g., in the engine 232) and executed by one or more processors (e.g., the processor 212-2). In some embodiments, one or more of modules 310, 320, 330, 340, 350, 360, and 370 may be included in and executed by a combination of a client device and a server.
[0038] The receiving module 310 is configured to receive input from a user associated with a scene or environment. The input can be text, a search, a video, a pointer input, or a user query that describes a desired object / asset or digital content. For example, the user can correspond to a creator at a client device (e.g., client device 110), etc. In some embodiments, the input is associated with a world, virtual world, space, etc. being constructed by the user, but is not limited thereto.
[0039] The recognition module 320 is configured to recognize digital content in the environment, such as assets, objects, characters (users or non-player characters (NPCs)), images, videos, colors, textures, materials, etc. The digital content can be static objects (e.g., furniture) or dynamic objects that users can interact with. The digital content can be uploaded, downloaded, or created by users.
[0040] According to various embodiments, the environment can be understood as an image. The recognition module 320 can also be configured to generate an image embedding of the digital content based on the image using a fine-tuned convolutional neural network (CNN)-based image classification model (e.g., a contrastive language-image pretraining (CLIP) model that learns visual concepts from natural language supervision). The image embedding from the environment is compared with the asset embedding of the digital content of the system (e.g., stored in a catalog or library, etc.) to identify the digital content in the environment. In some embodiments, the image of the environment can be segmented according to regions. These regions are then cropped. The embeddings of the cropped regions are compared with the asset embeddings. For example, a sliding window method can be used to generate patches and compare these patches with existing assets in the environment. In some embodiments, an out-of-domain dataset can be used together with an in-domain synthetic dataset to expand to categories (or assets) that do not exist in the existing catalog (or asset library).
[0041] According to various embodiments, the system 300 may further include classifying the identified digital content using a fine-tuned CNN-based image classification model (e.g., but not limited to, a shifted window transformer and an efficient net). Image classification may be based on predefined image categories, descriptions, and / or text-image matching.
[0042] In some embodiments, the CLIP model is fine-tuned using world description and asset name signals to improve the accuracy of digital content recognition. In some embodiments, the CLIP model is fine-tuned based on asset thumbnails, relevant images selected from open source datasets, and landscape images generated by stable diffusion.
[0043] Embodiments are not limited to fine-tuned CLIP models for digital content recognition. In some implementations, other CNN-based image classification models (e.g., shifted window transformers and efficientNet) can be fine-tuned and implemented at the recognition module 320.
[0044] The description module 330 is configured to analyze the identified digital content and describe the digital content. For example, the description module 330 can generate descriptions and tag assets with different captions, descriptions, and tags. These descriptions can be used to identify similar content items and establish connections between content items.
[0045] According to various embodiments, the description module 330 may be configured to generate a description for each digital content item identified in the environment. The description module 330 may use a fine-tuned pre-trained image description or image vision model (e.g., OFA, which is a unified sequence-to-sequence pre-trained model) to generate the description.
[0046] In some embodiments, the description module 330 is configured to generate a description for the image of the environment. In some embodiments, the description module 330 is configured to generate a description for each of a plurality of regions segmented from the image.
[0047] The context determination module 340 is configured to determine contextual information based on the identified digital content. Based on the contextual information and the generated description, the context determination module 340 can determine the context of the environment (e.g., what the user is constructing / creating), thereby evaluating the digital content individually and collectively to infer what is being constructed. The contextual information can be based on, but is not limited to: how digital content items interact with each other in the environment; associations between digital content items; relationships between one or more other environments (including the same or similar digital content items identified in the environment); texture; color; geometry / shape; and the like. The context determination module 340 utilizes a machine learning (ML) model trained to learn and infer context, theme, and / or style based on the environment and the digital content items included in the environment to develop an understanding of the user's intent. In some embodiments, the context determination module 340 identifies contextual information based on assets from other scenes similar to the environment, thereby increasing the catalog of asset data used for asset discovery and environmental understanding and providing a basis for improving the image acquisition algorithm used by the recognition module 320 to identify digital content.
[0048] In some implementations, a global caption is generated for the environment. The global caption may represent the context or theme of the environment determined by the context determination module 340.
[0049] The recommendation module 350 is configured to generate recommendations consistent with the user's input based on contextual information and descriptions from the environment using a recommendation ML model. The recommendations may include one or more digital content items. In some embodiments, the recommendations are not limited to digital content and may include tag classification, world recommendation type, engagement level prediction, other world recommendations, and similarity evaluation (for similarity learning problems).
[0050] In some embodiments, the recommendation module 350 utilizes a recommendation ML model to generate asset / object recommendations based on an existing catalog. In some implementations, given the identified context (from the context determination module 340), the general description (from the description module 330), and the identified asset (from the identification module 320), the recommendation module can generate recommendations for contextually relevant digital content that will be most useful to the user based on the user's specific use case, thereby quickly providing relevant recommendations to streamline the creator's workflow and reduce the need for targeted searches.
[0051] According to various embodiments, given context information in a scene, the context information can be updated at each time step. In this way, recommendations are updated and / or made based on the context determination module, and the recommendations can be consistent with the intended purpose, style, and aesthetics of the desired environment being created. In some embodiments, the context information is updated based on changes identified in the environment. In some embodiments, the recommendations generated by the recommendation module 350 are updated in real time based on real-time updates of the content of the environment (e.g., modifications to the environment include but are not limited to adding, removing, or modifying content items in the environment). In some embodiments, the context information is updated based on new input received by the system from the user.
[0052] According to some embodiments, the recommendation module 350 may also be configured to generate recommendations for other digital content that is similar to the recommended digital content item that is consistent with the user's input. The other digital content may be assets available in a catalog / asset library.
[0053] In some embodiments, the recommendation module 350 is further configured to recommend asset libraries based on contextual information. This allows creators to easily find relevant libraries with existing asset / digital content sets that are more relevant to their immediate use case. Contextually relevant asset libraries will also be viewed as more useful tools and may be used as part of a creator's regular build process, thereby promoting greater library engagement.
[0054] According to some embodiments, the system 300 may also be configured to determine (based on contextual information) the impact of a particular asset on user retention for similarly themed content. For example, a recommendation may include a set of three recommended digital content items, and each digital content item in the set may be assigned an influence score. The influence score may be displayed along with the set of three recommended digital content items. In this way, the influence score may help users make more informed decisions or asset selections.
[0055] According to some embodiments, the recommendation may include a thumbnail. The system may also be configured to retrieve a thumbnail corresponding to the recommended digital content. The thumbnail and other metadata (e.g., a description of the associated asset) may be retrieved from the asset space. The asset space may include existing tagged asset data and assets in the platform / application (e.g., in an existing library / catalog or previously created by a user).
[0056] The ranking module 360 is configured to rank the recommended digital content items. The ranking can be based on factors such as, but not limited to, popularity, user information, user history (e.g., previous selections of similar content items by the user), or relevance to one or more identified digital content items in the environment. In some embodiments, the recommended digital content items are ranked based on a relevance score indicating the relevance of each recommended digital content item to the context of the environment and / or each identified digital content item identified in the environment. In some embodiments, the recommended digital content items are ranked based on their influence scores.
[0057] The display module 370 is configured to display the recommendation to the user. The recommended digital content items can be displayed in a selectable manner. The digital content items in the recommendation can be displayed in an order based on ranking and / or influence score. In some embodiments, the display module 370 is configured to display thumbnails corresponding to the recommended digital content. Embodiments can also be configured to receive a selection of an aspect of the recommendation, including but not limited to: a selection of one or more recommended digital content items, thumbnails, content libraries, etc. In some embodiments, only the highest-ranked digital content items (e.g., the top five content items) are displayed to the user.
[0058] The above-described embodiments may be particularly beneficial for users who may not be aware of the exact theme, connection, or direction of the environment they are creating. For example, a user may begin building a game without a theme or a clear understanding of the game mechanics. The user first grayscales a level and then adds tools from the asset library. According to various embodiments, the system 300 may prompt the user for a recommended "First-Person Shooter (FPS) Starter Pack." Based on this recommendation, the user interacts with the prompt to add the recommended starter pack to their project folder (i.e., working folder, etc.), which displays a set of one or more pre-made guns. The user can then select the pre-made guns and add them to the scene. The environment may also be continuously analyzed for the selected assets (for example, if the gun selected by the user appears futuristic) to provide further contextually relevant recommendations. This information may be input into a recommendation ML model, which then generates recommendations for game-related assets with a science fiction (SCI-FI) theme. The display module 370 may also be configured to display a prompt (e.g., "We have new recommendations for your game") and / or display thumbnails showing SCI-FI-themed assets. The user can interact with the prompt to open an asset library that includes a recommendation page showing assets in several categories of the SCI-FI theme. In this way, even if the user does not know the role of the SCI-FI theme they want, the recommendations will be consistent with the theme as the environment develops.
[0059] Figure 4 A flowchart of a method 400 for providing contextually relevant recommendations according to some embodiments is shown. The techniques described herein can be implemented as: one or more methods performed by one or more physical computing devices; one or more non-transitory computer-readable storage media storing a plurality of instructions that, when executed by one or more computing devices, cause the execution of the one or more methods; or one or more physical computing devices that are specifically configured with a combination of hardware and software to perform the one or more methods.
[0060] In some embodiments, Figure 4One or more operation blocks of method 400 may be performed by a processor circuit executing instructions stored in a memory circuit, a client device, a remote server, or a database, wherein the client device, remote server, or database is communicatively coupled via a network (e.g., processor 212, memory 220, client device 110, server 130, and network 150). In some implementations, one or more operations in method 400 may be performed by one or more of modules 310, 320, 330, 340, 350, 360, and 370. In some embodiments, a method consistent with the present disclosure may include at least one or more operations in method 400 that are performed in a different order, simultaneously, quasi-simultaneously, or overlapping in time.
[0061] In operation 410, method 400 includes receiving input associated with a virtual environment at a client device. The input can be a prompt or query made by a platform or application on the client device. In some embodiments, the input is a text prompt that describes a desired digital content item to be added to the virtual environment.
[0062] At operation 420 , method 400 includes generating an image embedding based on the image representation of the virtual environment.
[0063] In operation 430, method 400 includes analyzing the virtual environment based on the image embedding to identify one or more digital contents included in the virtual environment. According to aspects of the embodiment, method 400 may further include describing each of the one or more digital contents identified based on the analyzing.
[0064] In operation 440, method 400 includes determining a context of the virtual environment based on the one or more digital contents. According to aspects of various embodiments, method 400 may further include identifying context information of the one or more digital contents included in the virtual environment, and determining the context of the virtual environment based on the context information. Method 400 may further include determining the context of the virtual environment based on the description.
[0065] According to aspects of various embodiments, method 400 may further include individually evaluating each of the one or more digital contents in the virtual environment to obtain context. Further, contextual information of the virtual environment may be evaluated overall based on the individual evaluations of the one or more digital contents to infer the context of the virtual environment.
[0066] At operation 450 , method 400 includes generating recommendations for one or more digital content items consistent with the input based on the context of the virtual environment.
[0067] According to aspects of various embodiments, method 400 may further include retrieving a set of related content thumbnails and descriptions from an existing catalog / library. The related content indicates digital content items that match the input, such as digital content items that match the input based on the input satisfying a matching threshold in the description. Recommended digital content items may be selected from the set of related content based on the context of the virtual environment.
[0068] At operation 460 , method 400 includes displaying, at the client device, recommendations for one or more digital content items.
[0069] According to aspects of various embodiments, method 400 may further include retrieving thumbnails corresponding to the one or more digital content items and displaying the thumbnails as part of the recommendation.
[0070] According to various aspects of various embodiments, the recommendation can be for one or more content libraries. Digital content items from the recommendation can be displayed in a selectable manner. The display can include the function of applying the selected digital content item. For example, a user can select a content item, and in response to the selection, the selected content item is added to the virtual environment.
[0071] According to aspects of various embodiments, method 400 may further include ranking one or more digital content items based on relevance scores associated with the context of the virtual environment, and displaying recommendations for the one or more digital content items in an order based on the ranking (e.g., in a selectable format).
[0072] although Figure 4 Example blocks of method 400 are shown, but in some implementations, method 400 may include Figure 4 The blocks depicted in the figure are more blocks, fewer blocks, and Figure 4 Alternatively or in addition, two or more blocks of the method may be executed in parallel.
[0073] Figure 5 FIG2 is a block diagram of a fine-tuned (neural network (NN)-based) image classification model framework 500 according to one or more embodiments. The image classification model can employ a pre-trained text-to-image model (e.g., CLIP). An input image 510 of an environment, scene, or asset, etc., can be input to the image classification model. In some embodiments, the image is segmented based on, for example, but not limited to, color, area, and / or object concentration. In this example, each segment can be input to the model separately.
[0074] The text converter 512 can be configured to perform text conversion and find pseudo-words in the embedding space of a pre-trained text-to-image model, which can capture high-level semantics and fine visual details based on the input image 510 and thereby generate an asset image (i.e., an in-domain generated asset image). The filter 514 can filter real-world asset images (i.e., out-of-domain real-world asset images) from the pre-trained text-to-image model dataset based on the input image 510. The recognizer 516 can be configured to recognize the asset / digital content in the input image 510 and retrieve the asset image (i.e., the in-domain original asset image) from an existing library / catalog. hereinafter, the generated asset image, the real-world asset image, and the retrieved original asset image will be collectively referred to as image 524.
[0075] The trainable image encoder 518 is configured to generate an image embedding based on the image 524. The trainable image encoder 518 may also be configured to generate text embeddings (e.g., world text embeddings corresponding to real-world asset images and asset text embeddings corresponding to generated / retrieved asset images). The text embeddings may be generated based on the image embeddings. According to various embodiments, the trainable image encoder 518 may also be configured to identify image categories based on the image 524. For example, a multi-class classification model may be used to generate asset categories based on image categories.
[0076] The frozen text encoder 520 is configured to generate a description of the input image 510 based on the text embeddings. The description may include a world description based on the world text embeddings and an asset description based on the asset text embeddings.
[0077] The asset classifier 522 is configured to implement asset classification based on the generated description and the asset category using text matching.The generated description may be modified (or revised) based on the asset classification.
[0078] Figure 6A and Figure 6B is a block diagram of a fine-tuned pre-trained image description model 600 framework in accordance with one or more embodiments. Figure 6A6 is an illustration of a pre-trained image captioning model 600 based on image 524 (i.e., image 524 serves as input to pre-trained image captioning model 600). Retrieval module 602 can be configured to retrieve asset descriptions associated with image 524. The asset descriptions can be those generated according to image classification model framework 500. Caption matching 604 can be configured to determine a caption match based on a match between the world caption and the asset description. Integrity 606 can be configured to determine the caption's integrity and generate a world maturity prediction for the image. The world maturity prediction can indicate predicted user retention based on similar content shown in the input image. Asset topic 608 can be configured to generate a topic or category prediction for the image (i.e., related topics to which the image may belong). In some embodiments, subtopic or subcategory predictions can also be generated. Generation module 610 can then generate one or more captions based on the caption match, world maturity prediction, topic prediction, and prompt 612 (e.g., user input (e.g., a text prompt or query, etc.)).
[0079] Figure 6B is an illustration of a pre-trained image description model 600 based on asset images (ie, original asset images within the domain). Figure 6A One or more blocks and modules described in Figure 6B The same or similar ones shown in Figure 6B The description is not reproduced in the description. Figure 5 As described, the recognizer 516 identifies asset images (i.e., in-domain original asset images) from an existing library / catalog based on the assets / digital content recognized in the input (original) image. An embodiment may include a token module 614 that is configured to add a special token to the prompt. The special token may indicate from which application or platform the prompt, metadata, or identification information, etc. was received. The generation module 610 may generate one or more descriptions based on the modified prompt (i.e., the prompt with the special token added). In some embodiments, the generation module 610 is configured to perform text conversion. As a non-limiting example, the text conversion may include fine-tuning of the OFA. In some embodiments, the generation module 610 is configured to learn embeddings of special tokens based on the AI model while keeping other input data (i.e., description matching, world maturity prediction, topic prediction, and prompt) frozen.
[0080] Figure 7A block diagram illustrates a workflow 700 for ranking (or re-ranking) based on a recommendation ML model at inference time, according to one or more embodiments. The recommendation ML model may include two layers: a candidate search layer that detects relevant asset candidates from an asset pool (e.g., an asset tower and a world tower indicating the asset pool) and a re-ranking layer that re-ranks the relevant asset candidates. In some implementations, the candidate search layer generates asset candidates based on: initial clustering / classification of assets and heuristics (e.g., the most popular assets in the world (all time, last week, last month, etc.)), co-occurring asset categories, collaborative filtering methods, and item-by-item content similarity.
[0081] Candidate assets are selected based on an initial pre-screening from an asset library / catalog. The candidate assets may include images and their corresponding descriptions. The candidate assets are input to an asset encoder 702. The asset encoder 702 generates candidate asset embeddings 708. The environment (or virtual environment) may be analyzed to identify existing assets (e.g., as described with reference to the identification module 320). The existing asset images and descriptions are input to an asset encoder 704. The asset encoder 704 generates existing asset embeddings 710 based on the existing asset images and their corresponding descriptions. The environment may also be analyzed to identify metadata associated with the environment. As non-limiting examples, the metadata may indicate a context, description, label, description, or scene associated with the environment, etc. The metadata is input to an environment encoder 706. The environment encoder 706 generates a world representation 712 based on the information identified in the environment.
[0082] The candidate asset embedding 708, the existing asset embedding 710, and the world representation 712 are input to a transformer 714. The transformer 714 can be an end-to-end (E2E) transformer for candidate re-ranking. The transformer 714 generates candidate asset probabilities 716 based on the candidate asset embedding 708, the existing asset embedding 710, and the world representation 712. These probabilities are then used to generate a ranking for providing recommendations according to an embodiment.
[0083] Figure 8 A workflow 800 is shown for a process for training a transformer for candidate reordering in accordance with one or more embodiments.
[0084] During the inference phase, candidate asset embeddings 708, existing asset embeddings 710, and a world representation 712 are generated. A loss mask 802 is applied to these embeddings. During training, negative candidates are sampled from a selected set of candidate assets, and a series of existing assets are randomly masked. Based on the loss mask 802 and the reference mask 804, the embeddings of the negative candidate samples 806, the random masked sequence of existing assets 808, and the world representation 712 are masked. A transformer 810 generates asset probabilities 812 based on the masked embeddings. The loss can be determined using masked binary cross entropy 814. The binary cross entropy loss function can be based on the loss mask 816 and the asset labels 818.
[0085] Figure 9 A block diagram illustrating a process 900 applied to a recommendation ML model to fine-tune the recommendation ML model and improve an image dataset in accordance with one or more embodiments.
[0086] To improve virtual environments, it is essential to first understand the content within them. For example, by generating descriptions of scenes (which are useful for understanding the context of the virtual environment) and leveraging image datasets based on existing assets in the virtual environment and real-world images from large-scale datasets, embodiments provide improved content understanding beyond asset detection. These image datasets provide better asset detection (e.g., identifying assets using recognition module 320 and determining context using context determination module 340), thereby improving content recommendations.
[0087] like Figure 9 As shown, according to an embodiment, an image is captured from a virtual environment using a first image capture model (S902). At S904, the captured image is adjusted, for example, by scaling. At S906, asset detection is performed on the adjusted image. At S908, asset candidates are extracted based on the asset detection. Metadata associated with the asset candidate (e.g., asset name, coordinates in the virtual environment, etc.) may also be retrieved. The process may also include generating potential asset names for the asset candidates. At S910, a detailed asset image is captured, for example, from a real-world image, using a second image capture model. At S912, the asset in the detailed asset image is analyzed to better understand the asset and its context. At S914, an asset representation is generated based on the asset understanding. At S916, the asset representation is used to generate a visual representation of the virtual environment using a fusion model, etc.
[0088] Hardware Overview
[0089] Figure 10 To show Figure 1 and Figure 21 is a block diagram of an exemplary computer system 1000 in which clients and servers, and one or more methods described herein, may be implemented. In some aspects, computer system 1000 may be implemented in a dedicated server using hardware, or a combination of software and hardware, integrated into another entity, or distributed across multiple entities. Computer system 1000 may include a desktop computer, laptop computer, tablet computer, phablet, smartphone, feature phone, server computer, or other device. The server computer may be located remotely in a data center or locally.
[0090] The computer system 1000 (e.g., client device 110 and server 130) includes a bus 1008 or other communication mechanism for transmitting information, and a processor 1002 (e.g., processor 212) coupled to the bus 1008 for processing information. By way of example, the computer system 1000 may be implemented using one or more processors 1002. The processor 1002 may be a general-purpose microprocessor, a microcontroller, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), a programmable logic device (PLD), a controller, a state machine, gate logic, multiple discrete hardware components, or any other suitable entity that can perform calculations or other operations on information.
[0091] In addition to the hardware, the computer system 1000 may also include code that creates an execution environment for the computer program in question, for example, code constituting processor firmware, a protocol stack, a database management system, an operating system, or a combination of one or more thereof, stored in an included memory 1004 (e.g., memory 220), such as random access memory (RAM), flash memory, read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), registers, a hard disk, a removable disk, a compact disc read-only memory (CD-ROM), a digital versatile disk (DVD), or any other suitable storage device, coupled to the bus 1008 for storing information and instructions to be executed by the processor 1002. The processor 1002 and the memory 1004 may be supplemented by, or incorporated in, special purpose logic circuitry.
[0092] Instructions may be stored in memory 1004 and implemented in one or more computer program products, such as one or more modules of a plurality of computer program instructions encoded on a computer-readable medium for execution by computer system 1000 or for controlling the operation of computer system 1000, and according to any method well known to those skilled in the art, such computer program instructions including but not limited to the following computer languages: such computer languages may be, for example, data-oriented languages (e.g., SQL, dBase), system languages (e.g., C, object-oriented programming languages extending C (Objective-C), C++, assembly), structured languages (e.g., Java, .NET), and application languages (e.g., PHP, Ruby, Perl, Python), etc. The instructions may also be implemented in computer languages such as array languages, aspect-oriented languages, assembly languages, authoring languages, command-line interface languages, compiled languages, concurrent languages, curly bracket languages, dataflow languages, data structured languages, declarative languages, esoteric languages, extended languages, fourth-generation languages, functional languages, interactive mode languages, interpreted languages, interactive languages, list-based languages, minimal languages, logic-based languages, machine languages, macro languages, metaprogramming languages, multi-paradigm languages, numerical analysis, non-English-based languages, class-based object-oriented languages, prototype-based object-oriented languages, off-side rule languages, procedural languages, reflective languages, rule-based languages, scripting languages, stack-based languages, synchronous languages, syntax processing languages, visual languages, Wirth languages, and XML-based languages. The memory 1004 may also be used to store temporary variables or other intermediate information during execution of instructions to be executed by the processor 1002.
[0093] As discussed herein, computer programs do not necessarily correspond to files in a file system. A program may be stored in a part of a file having other programs or data (e.g., one or more scripts stored in a markup language document), in a single file dedicated to the program in question, or in multiple collaborative files (e.g., files having one or more modules, subroutines, or partial codes). A computer program may be deployed to execute on a computer or multiple computers that are located at a site or distributed across multiple sites and interconnected by a communication network. The processes and logic flows described in this specification may be performed by one or more programmable processors that execute one or more computer programs to perform a function by operating on input data and generating output.
[0094] The computer system 1000 also includes a data storage device 1006, such as a magnetic disk or optical disk, coupled to the bus 1008 for storing information and instructions. The computer system 1000 can be coupled to various devices via an input / output module 1010. The input / output module 1010 can be any input / output module. An exemplary input / output module 1010 includes a data port, such as a universal serial bus (USB) port. The input / output module 1010 is configured to connect to a communication module 1012. An exemplary communication module 1012 (e.g., communication module 118) includes a network interface card, such as an Ethernet card and a modem. In some aspects, the input / output module 1010 is configured to connect to multiple devices, such as an input device 1014 (e.g., input device 214) and / or an output device 1016 (e.g., output device 216). Exemplary input devices 1014 include a keyboard and a pointing device (e.g., a mouse or trackball), through which a user can provide input to the computer system 1000. Other types of input devices 1014 (e.g., tactile input devices, visual input devices, audio input devices, or brain-computer interface devices) may also be used to provide interaction with the user. For example, the feedback provided to the user may be any form of sensory feedback, such as visual feedback, auditory feedback, or tactile feedback; and any form of input from the user may be received, including sound input, voice input, tactile input, or brainwave input. Exemplary output devices 1016 include display devices for displaying information to the user, such as liquid crystal display (LCD) monitors.
[0095] According to one aspect of the present disclosure, the client device 110 and the server 130 can be implemented using the computer system 1000 in response to the processor 1002 executing one or more sequences of one or more instructions contained in the memory 1004. These instructions can be read into the memory 1004 from another machine-readable medium (e.g., a data storage device 1006). Execution of the sequence of instructions contained in the main memory 1004 causes the processor 1002 to perform the process steps described herein. One or more processors in a multi-processing configuration can also be used to execute the sequence of instructions contained in the memory 1004. In alternative aspects, hard-wired circuitry can be used in place of software instructions, or hard-wired circuitry can be used in combination with software instructions to implement various aspects of the present disclosure. Therefore, the various aspects of the present disclosure are not limited to any specific combination of hardware circuitry and software.
[0096] Various aspects of the subject matter described in this specification can be implemented in a computing system that includes a back-end component (e.g., a data server), a middleware component (e.g., an application server), a front-end component (e.g., a client computer with a graphical user interface or a web browser through which a user can interact with an implementation of the subject matter described in this specification), or any combination of one or more of these back-end, middleware, or front-end components. The components of the system can be interconnected via any form or medium of digital data communication (e.g., a communication network). The communication network (e.g., network 150) can include, for example, any one or more of the following: a local area network (LAN), a wide area network (WAN), the Internet, etc. Furthermore, the communication network can include, for example, but not limited to, any one or more of the following tool topologies: a bus network, a star network, a ring network, a mesh network, a star-bus network, a tree or hierarchical network, etc. The communication module can be, for example, a modem or an Ethernet card.
[0097] Computer system 1000 can include client and server.Client and server are usually far apart from each other, and usually interact through a communication network.Client and server are to establish contact by means of computer programs running on respective computers and having client-server relationship between each other.Computer system 1000 can be, for example, but not limited to, desktop computers, laptop computers or tablet computers.Computer system 1000 can also be embedded in another device, and this other device is, for example, but not limited to: mobile phone, personal digital assistant (PDA), mobile audio player, global positioning system (GPS) receiver, video game console and / or TV set-top box.
[0098] As used herein, the term "machine-readable storage medium" or "computer-readable medium" refers to any one or more media that participate in providing instructions to processor 1002 for execution. Such media can take many forms, including, but not limited to, non-volatile media, volatile media, and transmission media. For example, non-volatile media include optical or magnetic disks, such as data storage device 1006. Volatile media include dynamic memory, such as memory 1004. Transmission media include coaxial cables, copper wire, and optical fiber, including the wires that form bus 1008. For example, common forms of machine-readable media include floppy disks, flexible disks, hard disks, magnetic tape, any other magnetic media, CD-ROMs, DVDs, any other optical media, punch cards, paper tape, any other physical medium with a pattern of holes, RAM, PROM, EPROM, flash EPROM, any other memory chip or cartridge, or any other medium that can be read by a computer. A machine-readable storage medium can be a machine-readable storage device, a machine-readable storage substrate, a memory device, a combination of substances that effect a machine-readable propagated signal, or a combination of one or more thereof.
[0099] To illustrate the interchangeability of hardware and software, multiple items (e.g., various illustrative blocks, modules, components, methods, operations, instructions, and algorithms) have been generally described in terms of their functionality. Whether such functionality is implemented as hardware, software, or a combination of hardware and software depends on the specific application and the design constraints imposed on the overall system. A skilled artisan may implement the described functionality in varying ways for each specific application.
[0100] As used herein, the phrase "at least one of" preceding a list of items, along with the terms "and" or "or" used to separate any of those items, modifies the list as a whole, rather than modifying each element (e.g., each item) in the list. The phrase "at least one of" does not require selection of at least one item, but rather, the meaning of the phrase includes at least one of any of the items, and / or at least one of any combination of the items, and / or at least one of each of the items. As an example, the phrase "at least one of A, B, and C" or "at least one of A, B, or C" each means: only A, only B, or only C; any combination of A, B, and C; and / or at least one of each of A, B, and C.
[0101] When the terms "including," "having," or similar terms are used in the specification or claims, such terms are intended to be open-ended in a manner similar to the term "comprising," as interpreted when "comprising" is used as a transitional term in a claim. The word "exemplary" is used herein to mean "serving as an example, instance, or illustration." Any embodiment described herein as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
[0102] Unless otherwise specified, reference to an element in the singular is not intended to mean "one and only one", but rather "one or more". All structural and functional equivalents to the elements of the various configurations described in this disclosure that are known or later become known to those of ordinary skill in the art are expressly incorporated herein by reference and are intended to be covered by the present technology. In addition, nothing disclosed herein is intended to be dedicated to the public, regardless of whether such disclosure is explicitly recorded in the above description. No clause element shall be interpreted under the provisions of section 112, sixth paragraph, of title 35, United States Code, unless the element is expressly described using the phrase "means for..." or, in the case of a method clause, the phrase "step for..." is used to describe the element.
[0103] Although this specification contains many details, these details should not be interpreted as limitations on the scope of what may be claimed, but rather as descriptions of specific implementations of the subject matter. Certain features described in this specification in the context of different embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments. Furthermore, although features may be described above as working in certain combinations, and even initially claimed as such, in some cases, one or more features from the claimed combination may be removed from the combination, and the claimed combination may involve a sub-combination or a variation of the sub-combination.
[0104] The subject matter of this specification has been described in terms of particular aspects, but other aspects may be implemented and are within the scope of the appended claims. For example, although the operations are depicted in a particular order in the drawings, this should not be interpreted as requiring that the operations be performed in the particular order shown or in a continuous order, or that all of the illustrated operations be performed to achieve the desired result. The actions described in the claims can be performed in a different order and still achieve the desired result. As an example, the processes depicted in the drawings do not necessarily require the particular order shown or the continuous order to achieve the desired result. In some cases, multi-tasking parallel processing may be advantageous. In addition, the separation of the various system components in the above-mentioned aspects should not be understood as requiring such separation in all aspects, but it should be understood that the described program components and system as a whole can be integrated together in a single software product or packaged in multiple software products. Other variations are within the scope of the appended claims.
Claims
1. A computer-implemented method, the computer-implemented method being executed by at least one processor, the method comprising: receiving, at a client device, input associated with the virtual environment; generating an image embedding based on the image representation of the virtual environment; analyzing the virtual environment based on the image embedding to identify one or more digital contents included in the virtual environment; determining a context of the virtual environment based on the one or more digital contents; generating a recommendation for one or more digital content items consistent with the input based on the context of the virtual environment; as well as Recommendations for the one or more digital content items are displayed at the client device.
2. The computer-implemented method of claim 1 , wherein: The input is a text query that describes a desired digital content item to be added to the virtual environment.
3. The computer-implemented method of claim 1 , further comprising: adding a description to each of the one or more digital contents based on the analysis; as well as A context of the virtual environment is determined based on the one or more digital contents.
4. The computer-implemented method of claim 1 , further comprising: Contextual information of the one or more digital contents included in the virtual environment is identified, wherein a context of the virtual environment is determined based on the contextual information.
5. The computer-implemented method of claim 1 , wherein: Determining the context of the virtual environment includes: evaluating each of the one or more digital contents in the virtual environment individually to obtain context; and Contextual information of the virtual environment is evaluated overall based on individual evaluations of the one or more digital contents to infer a context of the virtual environment.
6. The computer-implemented method of claim 1 , further comprising: Each of the one or more digital contents is categorized based on predefined image categories, descriptions, and text-image pairs.
7. The computer-implemented method of claim 1 , wherein: The recommendations include content library recommendations.
8. The computer-implemented method of claim 1 , further comprising: Retrieving thumbnails corresponding to the one or more digital content items; as well as The thumbnails are displayed as the recommendations in a selectable format.
9. The computer-implemented method of claim 1 , further comprising: ranking the one or more digital content items based on a relevance score associated with a context of the virtual environment; as well as Recommendations for the one or more digital content items are displayed in a selectable format in an order based on the ranking.
10. A system comprising: one or more processors; as well as a memory storing instructions that, when executed by the one or more processors, cause the system to: receiving, at a client device, input associated with the virtual environment; generating an image embedding based on the image representation of the virtual environment; analyzing the virtual environment based on the image embedding to identify one or more digital contents included in the virtual environment; generating a description associated with the one or more digital contents included in the virtual environment; determining a context of the virtual environment based on the one or more digital contents and the description; generating a recommendation for one or more digital content items consistent with the input based on the context of the virtual environment; as well as Recommendations for the one or more digital content items are displayed at the client device.
11. The system according to claim 10, wherein: The input is a text query that describes a desired digital content item to be added to the virtual environment.
12. The system according to claim 10, wherein: The one or more processors also execute instructions to identify contextual information for the one or more digital contents included in the virtual environment, wherein a context of the virtual environment is determined based on the contextual information.
13. The system according to claim 10, wherein: The one or more processors also execute instructions to: evaluating each of the one or more digital contents in the virtual environment individually to obtain context; and Contextual information of the virtual environment is evaluated overall based on individual evaluations of the one or more digital contents to infer a context of the virtual environment.
14. The system according to claim 10, wherein: The one or more processors also execute instructions to classify each of the one or more digital content based on predefined image categories, descriptions, and text-image pairs.
15. The system according to claim 10, wherein: The recommendations include content library recommendations.
16. The system of claim 10, wherein: The one or more processors also execute instructions to: retrieving thumbnails corresponding to the one or more digital content items; and The thumbnail image is displayed as the recommendation in a selectable format.
17. The system according to claim 10, wherein: The one or more processors also execute instructions to: ranking the one or more digital content items based on a relevance score associated with a context of the virtual environment; and Recommendations for the one or more digital content items are displayed in a selectable format in an order based on the ranking.
18. A non-transitory computer-readable storage medium having instructions embodied thereon, the instructions being executable by one or more processors to perform a method and causing the one or more processors to: receiving, at a client device, input associated with the virtual environment; generating an image embedding based on the image representation of the virtual environment; analyzing the virtual environment based on the image embedding to identify one or more digital contents included in the virtual environment; generating a description associated with the one or more digital contents included in the virtual environment; determining a context of the virtual environment based on the one or more digital contents and the description; generating a recommendation for one or more digital content items consistent with the input based on the context of the virtual environment; as well as Recommendations for the one or more digital content items are displayed at the client device, wherein at least one digital content item is added to the virtual environment based on a user selection.
19. The non-transitory computer readable storage medium of claim 18, wherein: The instructions cause the one or more processors to: retrieving thumbnails corresponding to the one or more digital content items; and The thumbnails are displayed as the recommendations in a selectable format.
20. The non-transitory computer readable storage medium of claim 18, wherein: The instructions cause the one or more processors to: ranking the one or more digital content items based on a relevance score associated with a context of the virtual environment; and Recommendations for the one or more digital content items are displayed in a selectable format in an order based on the ranking.
