Using Bayesian Inference to Predict Review Judgments in Match Graphs
Bayesian inference in a match graph automates media item review judgments, enhancing efficiency and user experience by reducing resource consumption and ensuring timely filtering of inappropriate content.
Patent Information
- Application Number
- JP2023034730
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2018-12-31
- Filing Date
- 2023-03-07
- Publication Date
- 2024-08-26
- Estimated Expiration
- 2039-02-19
Smart Images

Figure 0007540031000041 
Figure 0007540031000049 
Figure 0007540031000048
Abstract
Description
[Technical field]
[0001] Aspects and implementations of the present disclosure relate to predicting review judgments, and in particular, to predicting review judgments for media items. [Background technology]
[0002] Media items, such as video items, audio items, etc., may be uploaded to the media item platform. The media items may be labeled based on the type of content of the media item, the appropriateness of the media item, the quality of the media item, etc. Summary of the Invention [Means for solving the problem]
[0003] The following is a brief summary of the disclosure to provide a basic understanding of some aspects of the disclosure. This summary is not an extensive overview of the disclosure. It is not intended to identify key or critical elements of the disclosure, nor is it intended to delineate the scope of any particular implementation of the disclosure or the scope of the claims. The sole purpose of this summary is to present some concepts of the disclosure in a simplified form as a prelude to the more detailed description presented later.
[0004] Aspects of the present disclosure automatically determine properties of media items.Bayesian inference may be used to predict properties of media items in a match graph.
[0005] In an aspect of the disclosure, a method may include identifying a current media item to be processed and processing the plurality of labeled media items to identify labeled media items that include at least one respective segment that resembles one of the plurality of segments of the current media item. The method may further include generating, for each of the plurality of segments of the current media item, a segment prediction value indicative of a particular property associated with the corresponding segment of the current media item based on a property associated with each of the respective labeled media items that each include a respective segment that resembles the corresponding segment of the current media item. The method may further include calculating a media item prediction value for the current media item based on the generated segment prediction value of each of the plurality of segments of the current media item, and causing the current media item to be processed based on the calculated media item prediction value.
[0006] Each of the labeled media items may be assigned a respective label, and each of the plurality of segments of the current media item may at least partially match one or more segments of the labeled media item. The step of generating, for each of the plurality of segments of the current media item, a segment prediction value for a corresponding segment may be based on a plurality of parameters including at least one of a length of the corresponding segment, a length of the current media item, or a length of each labeled media item that each includes a respective segment that resembles a corresponding segment of the current media item. The method may further include determining that a first segment of the current media item matches a first corresponding segment of the first labeled media item; determining that a second segment of the current media item matches a second corresponding segment of the second labeled media item; and determining that the first segment is a sub-segment of the second segment, the second segment including the first segment and a third segment, wherein generating a segment prediction value for each of the plurality of segments includes generating a first segment prediction value indicative of a first label for the first segment based on the first respective label of the first labeled media item and the second respective label of the second labeled media item, and generating a second segment prediction value indicative of a second label for the third segment based on the second respective label of the second labeled media item, wherein calculating the media item prediction value is based on the generated first segment prediction value and the generated second segment prediction value.The step of causing the current media item to be processed may include one of the following: causing playback of the current media item via the media item platform to be prevented in response to the calculated media item prediction value satisfying a first threshold condition; causing playback of the current media item via the media item platform to be allowed in response to the calculated media item prediction value satisfying a second threshold condition; and causing the current media item to be reviewed to generate a label indicating whether playback of the current media item should be allowed via the media item platform in response to the calculated media item prediction value satisfying a third threshold condition. The segment prediction value of each of the plurality of segments may be generated based on the plurality of parameters and one or more weights associated with one or more of the plurality of parameters. The method may further include the step of adjusting the one or more weights based on the generated label for the current media item. The step of adjusting the one or more weights includes training a machine learning model to provide adjusted one or more weights based on a tuning input and a target tuning output for the tuning input, where the tuning input includes, for each of a plurality of segments of the current media item, a length of the corresponding segment, a length of the current media item, and lengths of each labeled media item, each including a respective segment that resembles the corresponding segment of the current media item, and the tuning target output for the tuning input includes a generated label for the current media item.
[0007] It will be appreciated that the aspects may be implemented in any convenient form. For example, the aspects may be implemented by a suitable computer program, which may be carried on a suitable carrier medium, which may be a tangible carrier medium (e.g., a disk) or an intangible carrier medium (e.g., a communication signal). The aspects may also be implemented using a suitable apparatus, which may take the form of a programmable computer that executes a computer program configured to implement the invention. The aspects may be combined such that features described in the context of one aspect may be implemented in another aspect.
[0008] The present disclosure is illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings. [Brief description of the drawings]
[0009] [Figure 1] FIG. 1 is a block diagram illustrating an example system architecture according to an implementation of the present disclosure. [Diagram 2] FIG. 1 is a diagram of an example tuning set generator for generating tuning data for a machine learning model, in accordance with an implementation of the present disclosure. [Figure 3A] 1 is a flow diagram illustrating an example method for predicting review judgments of a media item, consistent with implementations of the present disclosure. [Figure 3B] 1 is a flow diagram illustrating an example method for predicting review judgments of a media item, consistent with implementations of the present disclosure. [Figure 3C] 1 is a flow diagram illustrating an example method for predicting review judgments of a media item, consistent with implementations of the present disclosure. [Figure 3D] 1 is a flow diagram illustrating an example method for predicting review judgments of a media item, consistent with implementations of the present disclosure. [Figure 4A] 1 is a table for predicting review judgments of a media item according to an implementation of the present disclosure. [Figure 4B] 1 is a table for predicting review judgments of a media item according to an implementation of the present disclosure. [Diagram 5] FIG. 1 is a block diagram illustrating one implementation of a computer system in accordance with an implementation of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] Aspects and implementations of the present disclosure are directed to automatically determining properties of media items using Bayesian inference, for example, to predict review judgments in a match graph. A server device may receive media items uploaded by user devices. The server device may make the media items available for playback by these or other user devices via a media item platform. In response to a user flagging a media item (e.g., during playback) as having a certain type of content, the server device may submit the media item for review (e.g., manual review). During review, a user (e.g., an administrator of the media item platform) may perform playback of the media item and may label the media item. Based on the label from the review, the server may associate the media item with a label. The label may indicate that the media item has an inappropriate type of content, infringes rights, has technical issues, has a certain rating, is suitable for advertising, etc.
[0011] The server device may cause different actions to be taken in relation to a media item based on the label of the media item. For example, playback of a media item labeled as containing inappropriate types of content (e.g., having a "negative reviews" label) may be prevented. Alternatively, playback of a media item labeled as not containing inappropriate types of content (e.g., having a "positive reviews" label) may be allowed. In another example, based on the label of a media item, advertisements may be included during playback of the media item based on the label. In yet another example, a message may be sent to a user device that uploaded a media item labeled as having technical issues.
[0012] A newly uploaded media item may at least partially match a labeled media item. Typically, each newly uploaded media item is typically flagged, submitted for manual review, and labeled based on the manual review (e.g., whether the media item matches a labeled media item). Typically, the same amount of time and resources (e.g., processor overhead, bandwidth, power consumption, available human reviewers, etc.) may be required to review a first media item that at least partially matches a labeled media item as is required to review a second media item that does not at least partially match a labeled media item. Reviewing a media item before allowing it to be available for playback may require a large amount of time and may require peaks in required resources (e.g., large processor overhead, power consumption, and bandwidth). Allowing a media item to be available for playback before reviewing it may allow playback of a media item that includes problematic and inappropriate content. Inaccurately labeling a media item may require time and resources to correct.
[0013] Aspects of the present disclosure address the above and other challenges by automatically determining properties of media items (e.g., using Bayesian inference to predict review judgments in a match graph). A processing device may identify a current media item (e.g., a newly uploaded media item) to be processed, and may identify labeled media items (e.g., already reviewed media items) to find labeled media items that include at least one respective segment that resembles one of the segments of the current media item (e.g., a match graph may be generated that includes labeled media items that match at least a portion of the current media item). For each of the segments of the current media item (e.g., a segment that resembles at least a portion of the labeled media item), the processing device may generate a segment prediction value that indicates a particular property associated with the corresponding segment of the current media item (e.g., based on properties associated with the labeled media items having respective segments that resemble the corresponding segment of the current media item based on the match graph). The processing device may calculate a media item prediction value based on the generated segment prediction value of each of the segments of the current media item, and may cause the current media item to be processed based on the calculated media item prediction value. For example, based on the media item prediction value, playback of the current media item via the media item platform may be allowed or prevented, or the current media item may be caused to be reviewed to generate a label for the current media item that indicates whether playback of the current media item should be allowed.
[0014] As disclosed herein, automatically generating properties (e.g., predicting review judgments) for media items is advantageous because it improves user experience and provides technological advantages. Many newly uploaded media items may have segments that resemble labeled (e.g., already reviewed) media items. By performing an initial process to select media items for further processing, allocation of properties to media items may be performed more efficiently, and fewer media items may be required to be further processed. Thus, processing newly uploaded media items based on calculated media item prediction values (e.g., based on labeled media items that at least partially match the newly uploaded media item) may have reduced processor overhead, required bandwidth, and energy consumption compared to performing the same process to label all media items regardless of whether the media items at least partially match the already labeled media items. Allowing or preventing playback of newly uploaded media items based on the calculated media item prediction value may allow the media items to be processed more quickly and therefore may provide a better user experience than offering all newly uploaded media items for playback and preventing playback only after a user flags the media item and subsequent manual review labels the media item. Generating media item prediction values for uploaded media items may be advantageous to users who upload the media items and to users of the media item platform.For example, in response to generating a media item prediction value indicating a technical problem, an indication based on the media item prediction value may be sent to the user who uploaded the media item, alerting the user that the media item has a technical problem (e.g., recommending that the media item be modified). In another example, in response to generating a media item prediction value for a media item, the media item may be processed such that the media item is labeled (e.g., with appropriateness, category, etc.) to improve search results and recommendations for users of the media item platform.
[0015] 1 illustrates an example system architecture 100 in accordance with an implementation of the present disclosure. The system architecture 100 includes a media item server 110, a user device 120, a prediction server 130, a content owner device 140, a network 150, and a data store 160. The prediction server 130 may be part of a prediction system 105.
[0016] The media item server 110 may include one or more computing devices (such as a rack mount server, a router computer, a server computer, a personal computer, a mainframe computer, a laptop computer, a tablet computer, a desktop computer, etc.), data stores (e.g., hard disks, memory, databases, etc.), networks, software components, and / or hardware components. The media item server 110 may be used to provide users with access to media items 112 (e.g., media items that have already been labeled ("labeled media items" 114), media items currently going through a labeling process ("current media items" 116), etc.). The media item server 110 may provide the media items 112 to users (e.g., users may select and download the media items 112 from the media item server 110 in response to requesting or purchasing the media items 112). The media item server 110 may be part of a media item platform (e.g., a content hosting platform that provides content hosting services) that may enable users to consume, create, upload, download, rate, flag, share, search, endorse ("like"), dislike, and / or comment on media items 112. The media item platform may also include websites (e.g., web pages) or application backend software that may be used to provide users with access to the media items 112.
[0017] The media item server 110 may host content such as media items 112. The media items 112 may be digital content selected by a user, digital content made available by a user, digital content created by a user, digital content uploaded by a user, digital content created by a content owner, digital content uploaded by a content owner, digital content provided by the media item server 110, etc. Examples of media items 112 include, but are not limited to, video items (e.g., digital videos, digital movies, etc.), audio items (e.g., digital music, digital audiobooks, etc.), advertisements, slide shows that switch slides over time, text that scrolls over time, drawings that change over time, etc.
[0018] Media items 112 may be consumed via a web browser of the user device 120 or via a mobile application ("app") that may be installed on the user device 120 via an app store. The web browser or mobile app may allow the user to perform one or more searches (e.g., for descriptive information, other media items 112, etc.). As used herein, "application," "mobile application," "smart TV application," "desktop application," "software application," "digital content," "content," "content item," "media," "media item," "video item," "audio item," "contact invitation," "game," and "advertisement" may include electronic files that can be executed or loaded using software, firmware, or hardware dependent configured to present media items 112 to an entity. In one implementation, the media item platform may store media items 112 using the data store 160. Media items 112 may be presented to or downloaded by a user of the user device 120 from a media item server 110 (e.g., a media item platform such as a content hosting platform). The media items 112 may be played by an embedded media player (and other components) provided by a media item platform or stored locally. The media item platform may be, for example, an application distribution platform, a content hosting platform, or a social networking platform, and may be used to provide users with access to or to present the media items 112 to users.For example, a media item platform may allow users to consume, flag, upload, search, endorse ("like"), dislike, and / or comment on media items 112. The media item server 110 may be part of the media item platform, a separate system, or part of a different platform.
[0019] The network 150 may be a public network that provides the user devices 120 and the content owner devices 140 with access to the media item servers 110, the prediction servers 130, and other publicly available computing devices. The network 150 may include one or more wide area networks (WANs), local area networks (LANs), wired networks (e.g., Ethernet networks), wireless networks (e.g., 802.11 networks or Wi-Fi networks), cellular networks (e.g., Long Term Evolution (LTE) networks), routers, hubs, switches, server computers, and / or combinations thereof.
[0020] The data store 160 may be a memory (e.g., random access memory), a drive (e.g., a hard drive, a flash drive), a database system, or another type of component or device that can store data. The data store 160 may include multiple storage components (e.g., multiple drives or multiple databases) that may be spread across multiple computing devices (e.g., multiple server computers). In some implementations, the data store 160 may store information 162, labels 164, or predictions 166 (e.g., segment predictions 168, media item predictions 169) related to media items. Each of the labeled media items 114 may have a corresponding label 164. Each of the labeled media items 114 may have been flagged (e.g., by a user during playback, by a machine learning model trained with image inputs and label outputs). Each of the media items 112 may have corresponding information 162 (e.g., total length, length of each segment, media item identifier, etc.).
[0021] The user devices 120 and content owner devices 140 may include computing devices such as personal computers (PCs), laptops, mobile phones, smartphones, tablet computers, netbook computers, network-connected televisions ("smart TVs"), network-connected media players (e.g., Blu-ray players), set-top boxes, over-the-top (OTT) streaming devices, operator boxes, etc.
[0022] Each user device 120 may include an operating system that allows a user to perform playback of and flag media items 112. Media items 112 may be presented via a media viewer or web browser. A web browser may access, retrieve, present, and / or navigate content (e.g., web pages such as Hypertext Markup Language (HTML) pages, digital media items, text conversations, notifications, etc.) provided by a web server. An embedded media player (e.g., a Flash player or HTML5 player) may be embedded in a web page (e.g., providing information about items sold by an online merchant) or may be part of a media viewer (e.g., a mobile app) installed on the user device 120. In another example, media items 112 may be presented via a standalone application (e.g., a mobile application or app) that allows a user to view digital media items (e.g., digital video, digital audio, digital images, etc.).
[0023] The user device 120 may include one or more of a playback component 124, a flagging component 126, and a data store 122. In some implementations, one or more of the playback component 124 or the flagging component 126 may be provided by a web browser or an application (e.g., a mobile application, a desktop application) running on the user device 120.
[0024] The data store 122 may be a memory (e.g., random access memory), a drive (e.g., a hard drive, a flash drive), a database system, or another type of component or device that may store data. The data store 122 may include multiple storage components (e.g., multiple drives or multiple databases) that may be spread across multiple computing devices (e.g., multiple server computers). The data store 122 may include a media item cache 123 and a flag cache 125.
[0025] The playback component 124 may provide playback of the media items 112 via the user device 120. The playback of the media items 112 may be in response to the playback component 124 receiving user input (e.g., via a graphical user interface (GUI) displayed by the user device) requesting playback of the media items 112 and sending the request to the media item server 110. In some implementations, the media item server 110 may stream the media items 112 to the user device 120. In some implementations, the media item server 110 may transmit the media items 112 to the user device 120. The playback component 124 may store the media items 112 in a media item cache 123 for playback at a later time (e.g., for later playback regardless of connectivity to the network 150).
[0026] The flagging component 126 may receive user input (e.g., via a GUI during playback of the media item 112) to flag the media item 112. The media item 112 may be flagged for one or more types of content. The user input may indicate the type of content (e.g., by selecting the type of content from a list). Based on the user input, the flagging component 126 may flag the media item 112 as having the following types of content: inappropriate (e.g., including one or more of sexual content, violent or offensive content, hateful or derogatory content, harmful and dangerous acts, child abuse, promoting terrorism, spammy or misleading, etc.), infringing, has technical issues (e.g., caption issues, etc.), has a rating (e.g., age rating, etc.), is suitable for advertising, etc. The flagging component 126 may send an indication that the media item 112 has been flagged to one or more of the prediction system 105, the prediction server 130, the data store 160, and the like.
[0027] In response to being flagged, the media item 112 may be labeled (e.g., by manual review) to generate a labeled media item 114. The information 162 and label 164 associated with the labeled media item 114 may be stored in the data store 160 along with the labeled media item 114. Alternatively, the labeled media item 114 may be stored in a separate data store and associated with the information 162 and label 164 by a media item identifier.
[0028] The content owner device 140 may include a sending component 144 , a receiving component 146 , a modifying component 148 , and a data store 142 .
[0029] The data store 142 may be a memory (e.g., random access memory), a drive (e.g., a hard drive, a flash drive), a database system, or another type of component or device that may store data. The data store 142 may include multiple storage components (e.g., multiple drives or multiple databases) that may be spread across multiple computing devices (e.g., multiple server computers). The data store 142 may include a media item cache 143.
[0030] The sending component 144 may receive media items 112 created, modified, uploaded, or associated with a content owner corresponding to the content owner device 140. The sending component 144 may store the media items 112 in a media item cache 143. The sending component 144 may send (e.g., upload) the media items 112 to the media item server 110 (e.g., in response to a content owner's input to upload the media items 112).
[0031] The receiving component 146 may receive an indication based on the media item prediction value 169 (e.g., generated by the prediction manager 132) from the prediction server 130. The receiving component 146 may store the indication in the data store 142.
[0032] The modification component 148 may modify the media item 112 based on an indication based on the media item prediction value 169. For example, in response to an indication based on the media item prediction value 169 indicating that the content of the media item 112 is inappropriate or has technical issues (e.g., an error in a caption, etc.), the modification component 148 may cause the content of the media item 112 to be modified (e.g., remove the inappropriate content, fix the technical issues, etc.). In some implementations, the modification component 148 may provide an indication or recommendation to the content owner via a GUI on how to modify the content to cause the content to be modified. In some implementations, the modification component 148 may automatically modify the content (e.g., fix the technical issues, remove the inappropriate content, etc.) to cause the content to be modified.
[0033] The prediction server 130 may be coupled to the user device 120 and the content owner device 140 via a network 150 to facilitate predicting review judgments of the media items 112. In one implementation, the prediction server 130 may be part of a media item platform (the media item server 110 and the prediction server 130 may be part of the same media item platform). In another implementation, the prediction server 130 may be an independent platform including one or more computing devices, such as a rack mount server, a router computer, a server computer, a personal computer, a mainframe computer, a laptop computer, a tablet computer, a desktop computer, etc., and may provide review judgment prediction services that may be used by the media item platform and / or various other platforms (e.g., a social network platform, an online news platform, a messaging platform, a video conferencing platform, an online meeting platform, etc.).
[0034] The prediction server 130 may include a prediction manager 132. According to some aspects of the present disclosure, the prediction manager 132 may identify a current media item 116 (e.g., a newly uploaded media item) to be processed (e.g., automatically evaluated without user input, e.g., based on an indication provided by the flagging component 126) and may process the labeled media items 114 to find labeled media items 114 that include at least one respective segment that resembles one of the segments of the current media item (e.g., generate a match graph for the labeled media items 114). For each of the segments of the current media item 116 (e.g., that at least partially match the labeled media item 114), the prediction manager 132 may generate a segment prediction value 168 that indicates a particular property associated with the corresponding segment of the current media item 116 (e.g., based on properties associated with the respective labeled media items 114 that each include a respective segment that resembles the corresponding segment of the current media item 116 based on the match graph). The prediction manager 132 may calculate a media item prediction value 169 for the current media item 116 based on the generated segment prediction values 168 of each of the segments of the current media item 116, and may process the current media item 116 based on the calculated media item prediction value 169. In some implementations, the prediction manager may use Bayesian inference to predict review judgments (e.g., media item prediction values 169) in the match graph (e.g., based on labeled media items 114 that at least partially match the current media item 116, based on table 400A of FIG. 4A, etc.) (e.g., via a trained machine learning model 190, without a trained machine learning model 190).
[0035] In response to the media item prediction value 169 (e.g., indicating that the current media item 116 has content that is inappropriate or has technical problems), the prediction manager 132 may cause the current media item 116 to be prevented from being made available for playback via the media item platform. The prediction manager 132 may send an indication based on the media prediction value 169 to the media item platform (or any other platform), or directly to the content owner device 140, indicating the determined properties of the current media item 116. The content owner device 140 may receive the indication (e.g., from the media item platform or from the prediction manager 132), cause the current media item 116 to be modified based on the indication, and re-upload the modified current media item (e.g., to the media item server 110, the prediction server 130, or the media item platform).
[0036] In some implementations, the prediction manager 132 may determine the media item predicted values 169 using a trained machine learning model 190. The prediction system 105 may include one or more of a prediction server 130, a server machine 170, or a server machine 180. The server machines 170-180 may be one or more computing devices (such as a rack mount server, a router computer, a server computer, a personal computer, a mainframe computer, a laptop computer, a tablet computer, a desktop computer, etc.), data stores (e.g., hard disks, memory, databases), networks, software components, or hardware components.
[0037] The server machine 170 includes a tuning set generator 171 that can generate tuning data (e.g., a set of tuning inputs and a set of target outputs) for training a machine learning model. The server machine 180 includes a tuning engine 181 that can train a machine learning model 190 using the tuning data from the tuning set generator 171. The machine learning model 190 can be trained using tuning inputs 210 and target outputs 220 (e.g., target tuning outputs) described herein (see FIG. 2 and FIG. 3C). The trained machine learning model 190 can then be used to determine media item prediction values 169. The machine learning model 190 can refer to a model artifact that is generated by the tuning engine 181 using tuning data that includes tuning inputs and corresponding target outputs (correct answers for each tuning input). Patterns in the tuning data that map tuning inputs to target outputs (correct answers) can be found, and a machine learning model 190 that captures these patterns is provided. The machine learning model 190 may include parameters 191 (e.g., k, f, g, configuration parameters, hyperparameters, etc.) that may be tuned (e.g., associated weights may be adjusted) based on the subsequent labeling of the current media item 116 for which the media item prediction value 169 was determined. In some implementations, the parameters 191 include one or more of k, f, or g as described below. In some implementations, the parameters include at least one of a length of the corresponding segment of the current media item 116, a length of the current media item 116, or a length of each labeled media item 114 (e.g., each including a respective segment that resembles the corresponding segment of the current media item 116).
[0038] The prediction manager 132 may determine information related to the current media item 116 (e.g., the length of the current media item 116, the length of the segments of the current media item 116 that are similar to respective segments of the labeled media item 114) and information related to the labeled media item 114 (e.g., the length of the labeled media item 114) and may provide the information to the trained machine learning model 190. The trained machine learning model 190 may generate an output, and the prediction manager 132 may determine a media item prediction value 169 from the output of the trained machine learning model. For example, the prediction manager 132 may extract the media item prediction value 169 from the output of the trained machine learning model 190 and extract confidence data from the output that indicates a level of confidence that the current media item 116 contains the type of content indicated by the media item prediction value 169 (e.g., a level of confidence that the media item prediction value 169 accurately predicts a manual review judgment).
[0039] In implementations, the trustworthiness data may include or indicate a level of trustworthiness that the current media item 116 has a particular property (e.g., contains a certain type of content). In one example, the level of trustworthiness is a real number between 0 and 1, with 0 indicating no trustworthiness that the current media item 116 has a particular type of content and 1 indicating absolute trustworthiness that the current media item 116 has a particular type of content.
[0040] Also, as noted above, for purposes of illustration and not limitation, aspects of the disclosure describe training of a machine learning model 190 using information 162 related to media items 112 and use of the trained machine learning model 190. In other implementations, a heuristic or rule-based model is used to determine the media item prediction value 169 for the current media item 116. It may be noted that any of the information described in connection with the tuning input 210 of FIG. 2 may be monitored or otherwise used in a heuristic or rule-based model.
[0041] It should be noted that in some other implementations, the functionality of server machine 170, server machine 180, prediction server 130, or media item server 110 may be provided by a fewer number of machines. For example, in some implementations, server machines 170 and 180 may be integrated into a single machine, while in some other implementations, server machine 170, server machine 180, and prediction server 130 may be integrated into a single machine. Additionally, in some implementations, one or more of server machine 170, server machine 180, and prediction server 130 may be integrated into media item server 110.
[0042] In general, functions described as being performed by media item server 110, server machine 170, server machine 180, or prediction server 130 in one implementation may also be performed on user device 120 in other implementations, where appropriate. For example, media item server 110 may stream media items 112 to user device 120 and may receive user input indicating that media items 112 should be flagged.
[0043] In general, functionality described as being performed on the user device 120 in one implementation may also be performed by the media item server 110 or the prediction server 130 in other implementations, where appropriate. For example, the media item server 110 may stream media items 112 to the user device 120 and may receive flags for the media items 112.
[0044] In addition, functions attributed to a particular component may be performed by different or multiple components working together. Media item server 110, server machine 170, server machine 180, or prediction server 130 may also be accessed as a service offered to other systems or devices through an appropriate application programming interface (API), and thus are not limited to use in websites and applications.
[0045] In implementations of the present disclosure, a "user" may be represented as a single individual. However, other implementations of the present disclosure encompass a "user" being a set of user-controlled entities and / or automated sources. For example, a set of individual users federated as a community in a social network may be considered a "user." In another example, an automated consumer may be an automated ingestion pipeline of an application delivery platform.
[0046] Although implementations of the present disclosure are discussed in terms of a media item server 110, a prediction server 130, and a media item platform, implementations may generally be applied to any type of platform that provides content and connections between users.
[0047] In addition to the above, a user may be provided with controls that allow the user to make choices about both whether and when the systems, programs, or features described herein may enable collection of user information (e.g., information about the user's social network, social actions or activities, occupation, user preferences, or the user's current location) and whether the user transmits content or communications from a server (e.g., media item server 110 or prediction server 130). Furthermore, certain data may be processed in one or more ways before being stored or used such that personally identifiable information is removed. For example, the user's identity may be processed such that personally identifiable information cannot be determined about the user, or if location information is obtained, the user's geographic location may be generalized (such as to the city, zip code, or state level) and thus the user's specific location cannot be determined. Thus, the user may be able to control what information is collected about the user, how the information is used, and what information is provided to the user.
[0048] 2 is an example tuning set generator for generating tuning data for a machine learning model using information in accordance with an implementation of the present disclosure. System 200 shows tuning set generator 171, tuning input 210, and target output 220 (e.g., target tuning output). System 200 may include similar components as system 100 described in connection with FIG. 1. Components described in connection with system 100 of FIG. 1 may be used to help describe system 200 of FIG. 2.
[0049] In an implementation, the tuning set generator 171 generates tuning data including one or more tuning inputs 210 and one or more target outputs 220. The tuning data may also include mapping data that maps the tuning inputs 210 to the target outputs 220. The tuning inputs 210 may also be referred to as "features," "attributes," or "information." In some implementations, the tuning set generator 171 may provide the tuning data for a tuning set and provide the tuning set to the tuning engine 181, where the tuning set is used to train the machine learning model 190. Some implementations for generating tuning sets may be further described in connection with FIG. 3C.
[0050] In one implementation, the tuning input 210 may include information 162 associated with a current media item 116 and one or more labeled media items 114 that include at least one respective segment that resembles one of the segments of the current media item 116. With respect to the current media item 116, the information 162 may include a length 212A of a segment 214A of the current media item 116, a length 212B of a segment 214B of the current media item 116, etc. (hereinafter, lengths 212 of segments 214), as well as a length 216 of the current media item 116. With respect to each labeled media item 114, the information 162 may include a length 218 of the labeled media item 114.
[0051] In an implementation, the target output 220 may include a generated label 164 of the current media item 116. In some implementations, the generated label 164 may be generated by a manual review of the current media item 116. In some implementations, the generated label 164 may be generated by an automated review of the current media item 116.
[0052] In some implementations, after generating a tuning set and training the machine learning model 190 using the tuning set, the machine learning model 190 may be further trained (e.g., additional data for the tuning set) or tuned (e.g., adjusting the weights of the parameters 191) using the generated labels 164 for the current media items 116.
[0053] 3A-3D show flow diagrams for illustrative examples of methods 300, 320, 340, and 360 for predicting review judgments of a media item according to implementations of the present disclosure. Methods 300, 320, 340, and 360 are exemplary methods from the perspective of a prediction system 105 (e.g., one or more of server machine 170, server machine 180, or prediction server 130) (e.g., and / or media item platform or media item server 110). Methods 300, 320, 340, and 360 may be performed by a processing device that may include hardware (e.g., circuitry, dedicated logic), software (such as those executed on a general-purpose computer system or dedicated machine), or a combination of both. Methods 300, 320, 340, and 360 and each of their individual functions, routines, subroutines, or operations may be executed by one or more processors of a computing device that executes the method. In a particular implementation, each of the methods 300, 320, 340, and 360 may be performed by a single processing thread. Alternatively, each of the methods 300, 320, 340, and 360 may be performed by two or more processing threads, with each thread performing one or more individual functions, routines, subroutines, or operations of the method.
[0054] For ease of explanation, the methods of the present disclosure are shown and described as a series of acts. However, acts according to the present disclosure may occur in various orders and / or simultaneously, as well as with other acts not presented and described herein. Furthermore, not all acts shown may be required to implement a method according to the disclosed subject matter. In addition, those skilled in the art will understand and appreciate that a method may alternatively be represented as a series of interrelated states or events according to a state diagram. Moreover, it should be understood that the methods disclosed herein may be stored in an article of manufacture to facilitate carrying and transferring such methods to a computing device. The term "article of manufacture" as used herein is intended to encompass a computer program accessible from any computer-readable device or storage medium. For example, a non-transitory machine-readable storage medium may store instructions that, when executed, cause a processing device (e.g., prediction system 105, media item server 110, user device 120, prediction server 130, content owner device 140, server machine 170, server machine 180, media item platform, etc.) to perform operations including the methods disclosed herein. In another example, a system includes a memory for storing instructions and a processing device communicatively coupled to the memory, the processing device executing the instructions to perform the methods disclosed herein. In one implementation, the methods 300, 320, 340, and 360 may be performed by the prediction system 105 of FIG.
[0055] 3A , the method 300 may be performed by one or more processing devices of the prediction server 130 to predict review judgments of a media item. The method 300 may be performed by an application or background thread executing on one or more processing devices of the prediction server 130. In some implementations, one or more portions of the method 300 may be performed by one or more of the prediction system 105, the media item server 110, the prediction server 130 (e.g., the prediction manager 132), or the media item platform.
[0056] In block 302, the processing device identifies a current media item 116 to be processed. For example, the current media item 116 may have been uploaded by the content owner device 140 to be made available for playback via the media item platform. In some implementations, the current media item 116 has already been reviewed (associated with a label 164) and the current media item 116 is identified as being subjected to further processing (e.g., by method 300) to update or confirm the label 164. In some implementations, the media item 116 has been flagged (e.g., by the user device 120 during playback, by a machine learning model trained with the image and the label 164) and the current media item 116 is identified as being subjected to further processing (e.g., by method 300). In some implementations, the current media item 116 is the next media item in a queue of media items to be processed.
[0057] In block 304, the processing device processes the labeled media items 114 to identify labeled media items that include at least one respective segment that resembles (e.g., matches, is substantially the same as) one of the segments of the current media item 116. For example, frames of the current media item 116 may be compared to frames of the labeled media item 114 (e.g., frames of the current media item 116 are compared to indices of frames of the labeled media item 114). The processing device may determine that the first segment of the labeled media item 114 and the second segment of the current media item 116 are similar (e.g., matches, is substantially similar) even if the segments have a border or frame, and / or are reversed, and / or are sped up or slowed down, and / or have static, and / or have different qualities, etc. The processing device may determine that at least a portion of a frame or audio segment of the current media item 116 matches at least a portion of a frame or audio segment of the labeled media item 114. The processing device may identify segments of the current media item 116 if each of the segments at least partially matches one or more segments of the labeled media item 114. The processing device may divide the current media item 116 (V) into segments S (e.g., V=S 1 +...+S k ), adjacent segments either belong to different clusters or do not belong to any cluster.
[0058] In block 306, the processing device generates, for each of the segments of the current media item 116, a segment prediction 168 indicative of a particular property associated with the corresponding segment of the current media item 116 based on the properties associated with the respective labeled media items 114. The processing device may combine positive predictions (e.g., the segment resembles one or more labeled media items with a "positive review" label) with negative predictions (e.g., the segment also resembles one or more labeled media items with a "negative review" label). Determining that the segment resembles one or more labeled media items with a "positive review" label (labeled as "good") and one or more media items with a "negative review" label (labeled as "bad") may be considered to consist in determining a match graph for the segment. Bayesian inference may be used to predict review judgments (e.g., media item predictions 169 based on the segment predictions 168) of the current media item 116 (e.g., having one or more segments similar to the respective segments of the labeled media items 114) in the match graph.
[0059] For media items (V), the following values may be used (eg, based on table 400A of FIG. 4A):
[0060]
number
[0061] - Hypothesis that Video V should have a "negative review" label
[0062]
number
[0063] -
[0064]
number
[0065] Prior probability of ~(20+4) / (20+4+75+1)=24%
[0066]
number
[0067] - An incident where a video V has a "negative review" label
[0068]
number
[0069] -
[0070]
number
[0071] The marginal likelihood of ~21%
[0072]
number
[0073] - The probability that V has the "negative review" label under the hypothesis that V should have the "negative review" label is 20 / 24 ≒ 83%
[0074]
number
[0075] - Given that V has the "negative review" label, the probability that V should have the "negative review" label is 20 / 21 ≒ 95%
[0076] These values may be related (eg, by Bayes' rule) by the following formula:
[0077]
number
[0078] This formula may be verified by using the values in table 400A. 20 / 21=24 / 100*20 / 24*100 / 21
[0079] The method 300 may predict a media item prediction value 169 (e.g., predict whether a media item should have a “positive review” label or a “negative review” label) based on the label 164 (event E) of the labeled media item 114 (e.g., a previous reviewer judgment represented by event E). 1 , ..., S k , then the probability that media item V should have a “positive review” label is the product of the segment probabilities:
[0080]
number
[0081] A media item 112 should be labeled as not containing a type of content only if every segment of the media item 112 does not contain that type of content (e.g., a media item 112 has a "positive reviews" label only if every part of the media item 112 has a "positive reviews" label). This formula holds even in the absence of evidence.
[0082]
number
[0083] During the ceremony,
[0084]
number
[0085] is a constant (e.g., parameter 191, the probability that any media item should have a "negative reviews" label in the absence of information). Under the assumption that the (prior) probability that a media item 112 contains a certain type of content (e.g., that the media item 112 has a "negative reviews" label) is independent of the length of the media item 112, the (prior) probability that a segment of the current media item 116 (e.g., the media item 112 under consideration) contains that type of content (e.g., has a "negative reviews" label) decreases exponentially with the short length of the segment. The shorter the segment of the current media item 116 (e.g., matching a respective segment of a labeled media item 114 with a "negative reviews" label), the lower the probability that the current media item 116 should have a "negative reviews" label may be.
[0086] A labeled media item 116 that is labeled as containing a certain type of content (e.g., having a “negative reviews” label) may be referred to as media item A, and a labeled media item 116 that is labeled as not containing a certain type of content (e.g., having a “positive reviews” label) may be referred to as media item O.
[0087] It is possible that a segment (S) of a current media item 116 (V) is similar to (e.g., matches) a labeled media item 114 (A) that has been labeled as containing a certain type of content (e.g., both V and A contain S).
[0088]
number
[0089] The relationship between
[0090]
number
[0091] Using
[0092]
number
[0093] It may be represented by estimating
[0094]
number
[0095] may be expressed by the following formula:
[0096]
number
[0097]
number
[0098] may be a multiplicative factor of about 6.3% (using values from Table 400A). This estimate of influence is likely to be accurate if S encompasses all of A. If S does not encompass all of A, the portion of A that is encompassed by S may be taken into account as an exponent. If two segments S both match different portions of A, 1 and S2 The resulting probabilities are multiplied accordingly and thus the factor may be used as an exponent as shown in the formula below:
[0099]
number
[0100] where f is a constant factor
[0101]
number
[0102] In some implementations, f is an impact factor and is specific to the labeled media item (A). For example, an 85% match has 9.5% impact, a 50% match has 25% impact, a 10% match has 76% impact, etc.
[0103] In response to a labeled media item 114 being labeled as not containing a certain type of content (e.g., having a "positive reviews" label), a segment of the labeled media item 114 also does not contain that type of content (e.g., also has a "positive reviews" label). For long media items 112, it may be unlikely that a reviewer will consider all of the media item 112 (e.g., in the absence of a signal indicating that the reviewer should consider all of the media item 112).
[0104]
number
[0105] may be expressed as follows:
[0106]
number
[0107] The constant g may be specific to a labeled media item (O). The probability (x) that a segment (S) based on resemblance to a segment of a labeled media item 114 labeled as containing a certain type of content does not contain that type of content (e.g., x is the probability that S should have a “positive reviews” label based on a “negative reviews” label) may be expressed by the following formula:
[0108]
number
[0109] The probability (y) that a segment (S) contains a type of content based on its similarity to a segment of a labeled media item 114 that has been labeled as not containing that type of content (e.g., y is the probability that S should have a “negative review” label based on the “positive review” label) may be expressed by the formula below:
[0110]
number
[0111] These probabilities may be combined based on table 400B in Figure 4B: there are two independent pieces of evidence, there are four probabilities, and two of those probabilities (e.g., the shaded cells in table 400B) may be ruled out.
[0112] The resulting probability that a segment (S) does not contain that type of content (e.g., has a particular property associated with label 164) (the resulting probability that S should have the “Positive Review” label) may be shown by the formula below:
[0113]
number
[0114] If the predictions are the same (i.e., x=1-y), then the formula is x 2 / (x 2 +(1-x) 2 ) (for example, a sigmoid function). If y=1 / 2, the equation becomes:
[0115]
number
[0116] When x=1 / 2, the equation becomes 1-y.
[0117] If there is no segment (S) similar to the labeled media item 114 that is labeled as not containing that type of content (e.g., there is no “positive review” label), then the prior probability of the hypothesis that a segment (S) contains that type of content (e.g., should have a “negative review” label) may be 1 in 2 (e.g.,
[0118]
number
[0119] ).
[0120]
number
[0121] and if the segment (S) only resembles a labeled media item 114 that has been labeled as not containing that type of content (e.g., only the “positive reviews” label is present), then
[0122]
number
[0123] and
[0124]
number
[0125] and
[0126]
number
[0127] If is close to 100%,
[0128]
number
[0129] teeth
[0130]
number
[0131] is very close to (for example,
[0132]
number
[0133] is >95%, the error is less than 1%).
[0134] In some implementations, review
[0135]
number
[0136] Each segment S i For x and y, they are calculated as follows:
[0137]
number
[0138] (factor in y
[0139]
number
[0140] due to it being neutral with respect to combining "positive review" and "negative review" labels)
[0141] and,
[0142]
number
[0143] Let us assume that.
[0144] If there are no reviews, this is
[0145]
number
[0146] In other implementations, the probabilities of x and y based on the "positive review" and "negative review" labels may be combined in other ways.
[0147] In block 308, the processing device calculates a media item prediction value 169 (e.g., a combined probability) for the current media item 116 based on the generated segment prediction values 168 of each of the segments of the current media item 116. The segment prediction values 168 may be combined into a media item prediction value 169 for the entire current media item 116 by the following formula:
[0148]
number
[0149] In some implementations, the media item prediction value 169 may indicate a probability that the current media item 116 does not contain that type of content or property (e.g., the probability that it should have a “positive review” label). For example, the media item prediction value 169 may indicate that the current media item 116 has a 90% probability that it does not contain that type of content or property. In some implementations, the segment prediction value 168 and the media item prediction value 169 may be scores that indicate a relative probability of containing that type of content or property. For example, a first media item prediction value for a first current media item may indicate a larger final score and a second media item prediction value for a second current media item may indicate a smaller final score. A relatively larger final score indicates that the first current media item is more likely to contain that type of content than the second current media item. In some implementations, the segment prediction values 168 are multiplied to calculate the media item prediction value 169. In some implementations, the segment prediction values 168 are combined using one or more other operations (e.g., instead of, in combination with, etc., multiplication). In some implementations, the segment prediction value 168 is combined with a previous prediction value for the current media item 116 (e.g., a probability or score generated by a previous review of the current media item 116) by one or more operations (e.g., multiplication, etc.).
[0150] In an example, at block 304, the processing device may determine that a first segment (e.g., 0-15 seconds) of the current media item 116 matches a first corresponding segment of the first labeled media item 114A, and a second segment (e.g., 0-30 seconds) of the current media item 116 matches a second corresponding segment of the second labeled media item 114B, where the first segment is a sub-segment of the second segment. The second segment of the current media item 116 may include the first segment and a third segment of the current media item 116. At block 306, the processing device may process the first segment based on the first respective label 164A of the first labeled media item 114A and the second respective label 164B of the second labeled media item 114B (e.g., generate a first segment prediction indicating a first label for the first segment). At block 306, the processing device may process the second segment based on the second respective label 164B of the second labeled media item 114B (e.g., generate a second segment prediction indicative of the second label for the first segment). At block 308, the processing device may calculate a media item prediction 169 based on the generated first segment prediction 168 and the generated second segment prediction 168.
[0151] In block 310, the processing device causes the current media item 116 to be processed based on the media item prediction value 169. For example, the processing device can provide the media item prediction value 169 (or information related to the media item prediction value 169) to a media item platform to initiate processing of the current media item 116. Alternatively, the processing device can perform the processing of the current media item 116 based on the media item prediction value 169 on the processing device itself. In some implementations, the processing of the current media item 116 includes applying a policy to the current media item 116 based on the media item prediction value 169 (e.g., prevent playback, apply playback, send for review, etc.). In some implementations, the processing of the current media item 116 based on the media item prediction value 169 is illustrated by FIG. 3B. In some implementations, the processing device can cause one or more media items (e.g., advertisements, interstitial media items) to be associated with the playback of the current media item 116 (e.g., cause the playback of additional media items in conjunction with the playback of the current media item 116). In some implementations, the processing device may cause an indication to be sent to the content owner device 140 related to the current media item 116 based on the media item predicted value 169 (e.g., indicating a problem with the current media item 116, etc.). In some implementations, the processing device may modify or cause the current media item 116 to be modified based on the media item predicted value 169. In some implementations, the processing device associates a label 164 with the current media item 116 based on the media item predicted value 169.
[0152] In some implementations, the processing device may submit the current media item 116 for review (e.g., manual review) and may receive one or more review judgments (e.g., manual review judgments). The processing device may determine the k,f ratio based on the review judgments (e.g., by retraining, by a feedback loop). i , and g i (e.g., parameters 191) may be tuned. In some implementations, the tuning optimizes the area under the curve (AUC). In some implementations, the tuning optimizes precision at a particular point of recall.
[0153] With reference to FIG. 3B, a method 320 may be performed by one or more processing devices of the prediction system 105 and / or the media item platform to predict a review judgment. The method 320 may be used to process a current media item 116 based on the media item prediction value 169. In some implementations, block 310 of FIG. 3A includes the method 320. The method 320 may be performed by an application or background thread executing on one or more processing devices of the prediction system 105 and / or the media item platform. As described herein, the threshold condition may be one or more of a threshold media item prediction value, a probability, a score, a level of confidence, and the like. For example, a first threshold condition may be a media item prediction value of 99% or greater. In some implementations, the threshold condition may be one or more combinations of a threshold media item prediction value, a probability, a score, a level of confidence, and the like. For example, a first threshold condition may be meeting a first media item prediction value and a threshold level of confidence.
[0154] In block 322, the processing device determines whether the calculated media item prediction value 169 satisfies a first threshold condition. In response to the calculated media item prediction value 169 satisfying the first threshold condition, flow continues to block 324. In response to the calculated media item prediction value 169 not satisfying the first threshold condition, flow continues to block 326.
[0155] At block 324, the processing device prevents playback of the current media item 116 through the media item platform. For example, if the media item prediction value 169 meets a first probability (e.g., 99% or greater probability) that the current media item 116 contains a certain type of content (e.g., is inappropriate, has technical issues, infringes the rights of a content owner, etc.), the current media item 116 may be blocked by the media item platform. In some implementations, an indication of the type of content (e.g., is inappropriate, has technical issues, infringes, etc.) may be sent to the content owner device 140 that uploaded the current media item 116. The content owner device may modify (e.g., or replace) the current media item 116 and upload the modified (or new) media item 112.
[0156] In block 326, the processing device determines whether the calculated media item prediction value 168 satisfies a second threshold condition. In response to the calculated media item prediction value 168 satisfying the second threshold condition, flow continues to block 328. In response to the calculated media item prediction value 168 not satisfying the second threshold condition, flow continues to block 330.
[0157] In block 328, the processing device allows playback of the media item via the media item platform. For example, if the media item prediction value 169 meets (e.g., is less than or equal to 50% probability) that the current media item 116 contains a certain type of content (e.g., is inappropriate, has technical issues, infringes the content owner's rights, etc.), playback of the current media item 116 may be allowed (e.g., the current media item 116 may be made accessible for playback via the media item platform). In some implementations, an indication that playback of the current media item 116 is allowed via the media item platform may be sent to the content owner device 140 that uploaded the current media item 116.
[0158] In block 330, the processing device determines whether the calculated media item prediction value 169 satisfies a third threshold condition. In response to the calculated media item prediction value 169 satisfying the third threshold condition, flow continues to block 332. In response to the calculated media item prediction value 169 not satisfying the third threshold condition, flow ends.
[0159] At block 332, the processing device causes the current media item 116 to be reviewed to generate a label 164 indicating whether playback should be allowed via the media item platform. In some implementations, the third threshold condition is between the first threshold condition and the second threshold condition (e.g., a lower probability than the first threshold condition and a higher probability than the second threshold condition, e.g., a 50-99% probability). The processing device may cause the current media item 116 to be manually reviewed.
[0160] At block 334, the processing device receives the generated label 164 for the current media item 116. The processing device may receive the generated label 164 that was generated by a user (e.g., an administrator of the media item platform) who manually reviewed the current media item 116 in response to the media item prediction value 169 satisfying a third threshold condition.
[0161] In some implementations, in block 336, the processing device adjusts weights (e.g., of parameters 191 of model 190) for generating segment prediction values 168 based on the generated labels 164 (e.g., retunes the trained machine learning model 190).
[0162] In block 338, the processing device determines whether the generated label 164 indicates that playback is allowed. In response to the generated label 164 indicating that playback is allowed, flow continues to block 328. In response to the generated label 164 indicating that playback is not allowed, flow continues to block 324.
[0163] 3C, method 340 may be performed by one or more processing devices of prediction system 105 to predict review judgments. Prediction system 105 may use method 340 to train a machine learning model according to an implementation of the present disclosure. In one implementation, some or all of the operations of method 340 may be performed by one or more components of system 100 of FIG. 1. In other implementations, one or more operations of method 340 may be performed by tuning set generator 171 of server machine 170 described in connection with FIGS. 1-2.
[0164] Method 340 generates tuning data for a machine learning model. In some implementations, at block 342, processing logic performing method 300 initializes a dataset (e.g., a tuning set) T to an empty set.
[0165] In block 344, processing logic generates tuning inputs that include, for each segment 214 of the current media item 116, the length 212 of the corresponding segment 214, the length 216 of the current media item 116, and the lengths 218 of each labeled media item 114 (that have segments that are similar to the segments of the current media item 116).
[0166] At block 346, processing logic generates a target output for one or more of the tuning inputs. The target output may include a label 164 of the current media item 116. In some implementations, the label 164 may be received at block 334 of FIG. 3B.
[0167] At block 348, processing logic optionally generates mapping data indicative of the input / output mapping (e.g., information 162 related to the current media item 116 mapped to label 164 of the current media item 116). The input / output mapping (or mapping data) may refer to a tuning input (e.g., one or more of the tuning inputs described herein), a target output for the tuning input (e.g., the target output specifies an indication of a user's preference for canceling a respective transmission), and an association between the tuning input and the target output.
[0168] At block 350 , processing logic adds mapping data to the data set T initialized at block 342 .
[0169] At block 352, processing logic branches based on whether tuning set T is sufficient to train machine learning model 190. If so, execution proceeds to block 354; if not, execution continues back to block 344. Note that in some implementations, the sufficiency of tuning set T may be determined simply based on the number of input / output mappings in the tuning set, while in some other implementations, the sufficiency of tuning set T may be determined based on one or more other criteria in addition to or instead of the number of input / output mappings (e.g., a measure of diversity of tuning examples, accuracy, etc.).
[0170] At block 354, the processing logic provides a tuning set T for training the machine learning model 190. In one implementation, the tuning set T is provided to the tuning engine 181 of the server machine 180 to perform training or retraining of the model 190. In some implementations, training or retraining the model includes adjusting weights of parameters 191 of the model 190 (see block 336 of FIG. 3B ). After block 354, the machine learning model 190 may be trained or retrained based on the tuning set T, and the trained machine learning model 190 may be implemented (e.g., by the prediction manager 132) to predict review judgments regarding the current media item 116.
[0171] 3D , a method 360 may be performed by one or more processing devices of the prediction system 105 to predict a review judgment. The method 360 may be used to predict a review judgment. The method 360 may be performed by an application or background thread executing on one or more processing devices of the prediction system 105 (e.g., the prediction manager 132).
[0172] At block 362, the processing device provides, for each of the segments 214 of the current media item 116, the length 212 of the corresponding segment 214, the length 216 of the current media item 116, and the length 218 of each labeled media item 114 to the trained machine learning model 190. The trained machine learning model 190 may be trained by the method 340 of FIG. 3C. The trained machine learning model 190 may perform one or more of blocks 306-308 of FIG. 3A of the method. For example, the trained machine learning model may determine a segment prediction value 168 based on the tuning input and parameters 191 provided at block 362. In some implementations, the trained machine learning model may process the segment prediction values 168 (e.g., multiply the segment prediction values 168, combine the segment prediction values 168) to generate a media item prediction value 169.
[0173] At block 364, the processing device may obtain one or more outputs from the trained machine learning model 190. At block 366, the processing device may determine a media item prediction value 169 for the current media item 116 based on the one or more outputs. In some implementations, the processing device may extract from the one or more outputs a level of confidence that corresponds to the label 164 from which the media item prediction value 169 was generated (e.g., a label 164 received in response to a manual review of the current media item 116).
[0174] 4A-4B illustrate tables 400 associated with predicting review judgments for a media item 112 according to implementations of the present disclosure. As used herein, the terms "positive review" (e.g., rated good, actually good, good review, etc.) and "negative review" (rated bad, actually bad, bad review) may refer to properties or labels 164 of a media item 112. In some implementations, a "negative review" may be a label indicating that the media item 112 contains a certain type of content or property (e.g., is inappropriate, has technical issues, infringes the rights of others, etc.), and a "positive review" may be a label indicating that the media item 112 does not contain that type of content or property. In some implementations, a media item 112 may be associated with multiple labels simultaneously. For example, a first label of a media item 112 may indicate an age rating (e.g., 13+), a second label of the media item may indicate that the media item 112 is suitable for a particular advertisement, a third label of the media item 112 may indicate a particular technical issue (e.g., caption issues), etc. The labels may indicate a particular type of content that is inappropriate (e.g., including one or more of sexual content, violent or offensive content, hateful or derogatory content, harmful or dangerous activities, child abuse, promoting terrorism, spammy or misleading, etc.), infringing, has a technical issue (e.g., caption issues, etc.), has a rating (e.g., age rating, etc.), is suitable for advertisements, etc.
[0175] 4A illustrates a table 400A relating to labels 164 for a media item 112 (e.g., a labeled media item 114) according to an implementation of the present disclosure. The media item 112 may have been manually reviewed to be assigned a label 164. As illustrated in table 400A, the manual review resulted in a label 164 indicating a 79% probability of a positive review for the media item 112 and a 21% probability of a negative review for the media item 112. A positive review may indicate that the media item does not contain content that is inappropriate or has technical issues. A negative review may indicate that the media item does contain content that is inappropriate or has technical issues. Although the terms "positive review" and "negative review" and the term "type of content" are used herein, it is understood that the present disclosure applies to any type of label for a media item 112.
[0176] A manual review may be partially correct. For example, during a manual review, one or more portions of a media item 112 may be reviewed and one or more other portions of the media item 112 may not be reviewed (e.g., spot checking some of the media item 112, skipping over the media item 112, etc.). Different users may give different labels for the same media item 112. For example, with respect to a label of provocative dancing, a first user may think that the dancing of the media item 112 is not provocative enough to merit a negative review label, and a second user may think that the dancing of the media item 112 is provocative enough to merit a negative review label.
[0177] The actual accuracy rate may be determined by manual review by an administrator (e.g., a supervisor of the user who performed the initial manual review). As shown in table 400A, the actual values result in a label 164 indicating a 76% probability of a positive review for the media item 112 (e.g., actually positive, the administrator assigns a label of a positive review) and a 24% probability of a negative review for the media item 112 (e.g., actually negative, the administrator assigns a label of a negative review). The values from table 400A may be used in calculating the media item prediction value 169.
[0178] The actual percentages in table 400A may be replaced by actual data when available. The values in table 400A may be updated periodically as distributions change. The values in table 400A may have a recency bias (e.g., newer reviews of a media item 112 may be weighted more heavily than older reviews of the media item 112).
[0179] FIG. 4B shows a table 400B illustrating predicting review judgments for a media item 112 according to implementations of the present disclosure.
[0180] As discussed herein, a formula may be used to calculate the segment prediction value 168. A first segment 214A of a current media item 116 may resemble a corresponding first segment of a first labeled media item 114A having a “positive reviews” label, and a second segment 214B of a current media item 116 may resemble a corresponding second segment of a second labeled media item 114B having a “negative reviews” label. The probability that a segment of a current media item 116 has a “positive reviews” label (e.g., good from good reviews) based on its similarity to a labeled media item 114A having a “positive reviews” label may be represented by a first formula: x*(1-y)
[0181] The probability that a segment of the current media item 116 has a “negative reviews” label (e.g., good from good reviews) based on its similarity to a labeled media item 114A that has a “positive reviews” label may be represented by a second equation: (1-x)*y
[0182] The segment prediction value 168 may be calculated based on the first equation and the second equation as shown in block 306 of FIG. 3A.
[0183] FIG. 5 is a block diagram illustrating one implementation of a computer system according to an implementation of the present disclosure. In a particular implementation, computer system 500 may be connected to other computer systems (e.g., via a network such as a local area network (LAN), an intranet, an extranet, or the Internet). Computer system 500 may operate in the capacity of a server or a client computer in a client-server environment, or as a peer computer in a peer-to-peer or distributed network environment. Computer system 500 may be provided by a personal computer (PC), a tablet PC, a set-top box (STB), a personal digital assistant (PDA), a cellular phone, a web appliance, a server, a network router, a switch or bridge, or any device capable of executing a set of instructions (sequential or otherwise) that specify actions to be taken by the device. Furthermore, the term "computer" includes any collection of computers that individually or together execute a set (or sets) of instructions to perform any one or more of the methods described herein.
[0184] In a further embodiment, the computer system 500 may include a processing device 502, a volatile memory 504 (e.g., random access memory (RAM)), a non-volatile memory 506 (e.g., read-only memory (ROM) or electrically erasable programmable ROM (EEPROM)), and a data storage device 516, which may communicate with each other via a bus 508.
[0185] The processing device 502 may be provided by one or more processors, such as a general-purpose processor (e.g., a Complex Instruction Set Computing (CISC) microprocessor, a Reduced Instruction Set Computing (RISC) microprocessor, a Very Long Instruction Word (VLIW) microprocessor, a microprocessor implementing other types of instruction sets, or a combination of instruction set types) or a special-purpose processor (e.g., an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), or a network processor).
[0186] The computer system 500 may further include a network interface device 522. The computer system 500 may also include a video display unit 510 (e.g., an LCD), an alphanumeric input device 512 (e.g., a keyboard), a cursor control device 514 (e.g., a mouse), and a signal generating device 520.
[0187] In some implementations, the data storage device 516 may include a non-transitory computer-readable storage medium 524 that may store instructions 526 encoding any one or more of the methods or functions described herein, including instructions for implementing one or more of the methods 300, 320, 340, or 360 that encode the prediction manager 132 of FIG. 1.
[0188] The instructions 526 may reside, completely or partially, within the volatile memory 504 and / or within the processing device 502 during execution of the instructions 526 by the computer system 500, and thus the volatile memory 504 and the processing device 502 may constitute machine-readable storage media.
[0189] Although the computer-readable storage medium 524 is shown as a single medium in the illustrative example, the term "computer-readable storage medium" includes a single medium or multiple media (e.g., a centralized or distributed database and / or associated caches and servers) that store one or more sets of executable instructions. The term "computer-readable storage medium" also includes any tangible medium that can store or encode a set of instructions for execution by a computer that causes the computer to perform any one or more of the methodologies described herein. The term "computer-readable storage medium" includes, but is not limited to, solid-state memory, optical media, and magnetic media.
[0190] The methods, components, and features described herein may be implemented by discrete hardware components or may be integrated into the functionality of other hardware components, such as an ASIC, FPGA, DSP, or similar device. Additionally, the methods, components, and features may be implemented by firmware modules or functional circuits within a hardware device. Additionally, the methods, components, and features may be implemented in any combination of hardware devices and computer program components, or computer programs.
[0191] Unless expressly stated otherwise, terms such as "identify," "process," "generate," "calculate," "process," "determine," "prevent," "permit," "cause," "adjust," "train," "tune," and the like refer to actions and processes performed or implemented by a computer system that manipulate and convert data represented as physical (electronic) quantities in the computer system's registers and memory into other data similarly represented as physical quantities in the computer system's memory or registers or other such information storage, transmission, or display devices. Also, the terms "first," "second," "third," "fourth," and the like, as used herein, are intended as labels to distinguish different elements and may not necessarily have an ordering meaning according to the numerical designation of those terms.
[0192] The examples described herein also relate to an apparatus for carrying out the methods described herein. The apparatus may be specially constructed for carrying out the methods described herein, or may include a general-purpose computer system selectively programmed by a computer program stored in the computer system. Such a computer program may be stored in a computer-readable tangible storage medium.
[0193] The methods and illustrative examples described herein are not inherently related to any particular computer or other apparatus. Various general-purpose systems may be used in accordance with the teachings described herein, or it may prove convenient to construct more specialized apparatus to perform the methods 300, 320, 340, and 360 and / or each of the individual functions, routines, subroutines, or operations of those methods. Example structures for a variety of these systems are set forth in the description above.
[0194] The above description is intended to be illustrative and not limiting. Although the present disclosure has been described in conjunction with certain illustrative examples and implementations, it will be appreciated that the present disclosure is not limited to the described examples and implementations. The scope of the present disclosure should be determined with reference to the following claims, along with the full scope of equivalents to which the appended claims are entitled. [Explanation of symbols]
[0195] 100 System Architecture 105 Prediction System 110 Media Item Server 112 Media Items 114 Labeled Media Items 114A First Labeled Media Item 114B Second Labeled Media Item 114Z Labeled Media Items 116 Current Media Items 120 user devices 122 Datastore 123 Media Item Cache 124 Regeneration components 125 Flag Cache 126 Flagging Components 130 Prediction Server 132 Forecast Manager 140 Content Owner Devices 142 Datastore 143 Media Item Cache 144 Transmission Components 146 Receiving Components 148 Amendment components 150 Network 160 Datastores 162 Information related to media items 164 Labels 164A Label, first respective label 164B Label, second respective label 166 predicted value 168 Segment forecast, 1st segment forecast, 2nd segment forecast 169 Media Item Prediction Values 170 Server Machine 171 Tuning Set Generator 180 Server Machine 181 Tuning Engine 190 Machine Learning Models 191 Parameters 200 Systems 210 Tuning Input 212 Length 212A Length 212B Length 212Z Length 214 Segments 214A Segment, First Segment 214B segment, second segment 214Z Segment 216 Length 218 Length 218A Length 218Z Length 220 Target Output 300 ways 320 method 340 method 360 methods 400A table 400B table 500 Computer Systems 502 Processing Device 504 Volatile memory, main memory 506 Non-volatile memory, static memory 508 Bus 510 Video Display Unit 512 Alphanumeric Input Device 514 Cursor Control Device 516 Data Storage Devices 520 Signal Generating Device 522 Network Interface Device 524 Non-transitory computer-readable storage media 526 Command 574 Network T Tuning Set
Claims
1. a processing device identifying a current media item to be processed; processing, by the processing device, the plurality of labeled media items to identify a plurality of labeled media items, each of the plurality of labeled media items including at least one segment that resembles one of the plurality of segments of the current media item; determining, by the processing device, properties of the current media item and the identified labeled media item; predicting, by the processing device, a media item predicted value for the current media item based on the properties of the current media item and the identified labeled media items; and causing the processing device to process the current media item based on the media item prediction value.
2. 2. The method of claim 1 , wherein the properties include, for each of the plurality of segments of the current media item, a length of a corresponding segment of the plurality of segments, a length of the current media item, and a length of each labeled media item of the identified labeled media items.
3. providing said properties as inputs to a trained machine learning model; and wherein predicting the media item predictive value is based on the one or more outputs.
4. The method of claim 1 , wherein predicting the media item predicted value is by Bayesian estimation.
5. 2. The method of claim 1, further comprising: the processing device generating a first segment prediction value indicative of a first predicted property associated with a first segment of the current media item and a second segment prediction value indicative of a second predicted property associated with a second segment of the current media item based on corresponding properties associated with the identified labeled media items, wherein predicting the media item prediction value is based on the first segment prediction value and the second segment prediction value.
6. The method of claim 1 , wherein the media item prediction value indicates a predicted label of the current media item.
7. 2. The method of claim 1 , wherein identifying the current media item includes determining that the current media item has been uploaded for playback via a media item platform, and causing the current media item to be processed includes determining whether to allow playback of the current media item via the media item platform.
8. A non-transitory machine-readable storage medium having stored thereon instructions that, when executed, cause a processing device to perform operations, the operations including: identifying a current media item to be processed; processing the plurality of labeled media items to identify a plurality of labeled media items, each of the plurality of labeled media items including at least one segment similar to one of the plurality of segments of the current media item; determining properties of the current media item and the identified labeled media item; predicting a media item predictive value for the current media item based on the properties of the current media item and the identified labeled media items; and causing the current media item to be processed based on the media item prediction value.
9. 9. The non-transitory machine-readable storage medium of claim 8, wherein the properties include, for each of the plurality of segments of the current media item, a length of a corresponding segment of the plurality of segments, a length of the current media item, and a length of each labeled media item of the identified labeled media items.
10. The operation, providing said properties as inputs to a trained machine learning model; and obtaining one or more outputs from the trained machine learning model, wherein predicting the media item predictive value is based on the one or more outputs.
11. 9. The non-transitory machine-readable storage medium of claim 8, wherein the operations further include generating, based on corresponding properties associated with the identified labeled media items, a first segment prediction value indicative of a first predicted property associated with a first segment of the current media item and a second segment prediction value indicative of a second predicted property associated with a second segment of the current media item, wherein predicting the media item prediction value is based on the first segment prediction value and the second segment prediction value.
12. The non-transitory machine-readable storage medium of claim 8 , wherein the media item prediction value indicates a predicted label of the current media item.
13. 9. The non-transitory machine-readable storage medium of claim 8, wherein identifying the current media item includes determining that the current media item has been uploaded for playback via a media item platform, and causing the current media item to be processed includes determining whether to allow playback of the current media item via the media item platform.
14. Memory, a processing device coupled to the memory, the processing device comprising: Identifying the current media item being processed; processing the plurality of labeled media items to identify a plurality of labeled media items, each of the plurality of labeled media items including at least one segment that resembles one of the plurality of segments of the current media item; determining properties of the current media item and the identified labeled media item; predicting a media item prediction value for the current media item based on the properties of the current media item and the identified labeled media items; and a processing device that causes the current media item to be processed based on the media item predicted value.
15. 15. The system of claim 14, wherein the properties include, for each of the plurality of segments of the current media item, a length of a corresponding segment of the plurality of segments, a length of the current media item, and a length of each labeled media item of the identified labeled media items.
16. the processing device further comprising: providing said properties as inputs to a trained machine learning model; 15. The system of claim 14, further comprising obtaining one or more outputs from the trained machine learning model and predicting the media item predictive value based on the one or more outputs.
17. The system of claim 14 , wherein the processing device predicts the media item predicted values using Bayesian estimation.
18. 15. The system of claim 14, wherein the processing device further generates a first segment prediction value indicative of a first predicted property associated with a first segment of the current media item and a second segment prediction value indicative of a second predicted property associated with a second segment of the current media item based on corresponding properties associated with the identified labeled media items, and predicting the media item prediction value is based on the first segment prediction value and the second segment prediction value.
19. The system of claim 14 , wherein the media item prediction value indicates a predicted label of the current media item.
20. 15. The system of claim 14, wherein identifying the current media item includes determining, by the processing device, that the current media item has been uploaded for playback via a media item platform, and causing the current media item to be processed includes determining, by the processing device, whether to allow the current media item to be played via the media item platform.
Citation Information
Patent Citations
Systems and methods for phishing and brand protection
US20170041330A1
Systems and methods for content curation in video based communications
US20180359530A1
Systems and methods for detecting improper implementation of presentation of content items by applications executing on client devices
WO2018160199A1
