# Patent

## Title
Intelligent system and methods of recommending media content items based on user preferences

## Abstract

A system and method for making program recommendations to users of a network-based video recording system utilizes expressed preferences as inputs to collaborative filtering and Bayesian predictive algorithms to rate television programs using a graphical rating system. The predictive algorithms are adaptive, improving in accuracy as more programs are rated.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS; BENEFIT CLAIM
This application claims the benefit as a Continuation of application Ser. No. 10/168,808, filed Jun. 21, 2002, now U.S. Pat. No. 7,840,986, issued on Nov. 23, 2010, which claims the benefit of PCT Application Number US00/33877, filed Dec. 14, 2000, which claims the benefit of U.S. Provisional Application Ser. No. 60/171,829, filed Dec. 21, 1999, the entire contents of which are incorporated by reference as if fully set forth herein. The applicant hereby rescinds any disclaimer of claim scope in the parent applications or the prosecution history thereof and advises the USPTO that the claims in this application may be broader than any claim in the parent applications.


BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates to automated systems and methods for recommending items to users. More particularly, the invention relates to an adaptive network-based system and methods for predicting ratings for items of media content according to how likely they are to appeal to a user. The invention integrates multiple prediction algorithms and provides heuristics for selecting the most suitable algorithm for making a prediction for any single item, creating a suggestion and rating system having exceptional robustness and predictive accuracy.
2. Description of the Prior Art
The prior art provides various systems for filtering, suggesting and rating. Filtering, suggesting and rating, while they may employ similar methods, constitute separate challenges. In the presence of a large amount of content, be it merchandise, or videos, or newsgroup articles, filtration systems aim to limit the amount of content a user deals with, by presenting only that content that correlates most closely with the users preferences. As such, their essential function is one of exclusion. Suggestion systems aim to direct a user's attention to items they may not have been aware of that are likely to appeal to them, based on their preferences. Thus, their essential function is one of inclusion. Rating systems assign ratings to content items, according to a user's expressed preferences. Hence, their essential function is one of ordering. Occasionally, systems are provided that are capable of performing more than one of the essential functions of excluding, including and ordering.
Some of the prior art examples are adaptive in nature; that is, they are capable of accommodating themselves to changing conditions, in a process that is analogous to learning. For example, over time, a user's preferences may change, sometimes gradually, and sometimes abruptly. Adaptive systems have the capacity to adapt to a user's changing preferences without any explicit input from the user. Often, adaptive systems must be taught, that is, their engines must be initialized with starting values. The teaching process usually consists of the user explicitly indicating their preferences. After being taught, adaptive systems make inferences by monitoring various implicit indicators or the user's preferences.
H. Strubbe, System and method for automatically correlating user preferences with a T.V. program information database, U.S. Pat. No. 5,223,924 (Jun. 29, 1993) and H. Strubbe, System and method for finding a movie of interest in a large movie database, U.S. Pat. No. 5,483,278 (Jan. 9, 1996) provide systems for rating movies and television programs by a user and correlating program information for unrated programs with the user's ratings, so that a program database customized to the user may be created. To rate the programs, the user accesses program information either by time slot or channel, and assigns a Boolean rating of “like” or “dislike.” A free-text search algorithm searches a text summary in the program information records rated by the user. The significant words of the text summary are tallied and weighted. A free-text search of unrated records is performed, and a retrieval values is computed. Records with retrieval values are judged to be programs likely to appeal to the user and are added to the database of preferred programs. While the described systems effectively allow the user to filter television programming and movies, it would be desirable to provide a scalar rating system, in which the user is able to express degrees of preference rather than a simple ‘yes’ or ‘no.’ Since free-text searches are computationally expensive, it would be advantageous to provide a more efficient, content-based algorithm. It would also be desirable to provide different types or predictive algorithms, thereby increasing prediction accuracy. In addition to assigning overall ratings to programs, it would be a great advantage to provide the user with the capability of rating individual program features, such as the actors or the director.
F. Herz, J. Eisner, L. Ungar, M. Marcus, System for generation of user profiles for a system for customized electronic identification of desirable objects, U.S. Pat. No. 5,754,939 (May 19, 1998) describes a client server-based system for retrieving items of interest to a user. An interest summary of the user is prepared, by querying the user about their interests. Each target item available over the network is described by a target profile. Target profiles are compared to each other and clustered according to similarity. Clusters and individual target items are compared with the user interest summary. Items likely to be of interest to the user are presented in a ranked listing. The user profile is stored on a proxy server, and security measures are provided to safeguard the user's identity. Relevance feedback is provided by monitoring which items a user expresses interest in. While efforts are made to preserve the user's confidentiality through various security measures, it would be desirable to provide a system in which the user's profile is stored locally, on the client side, and communication between the server and the client is stateless, so that the server is completely ignorant of the user's identity. It would also be desirable to provide a prediction engine on the client side, again rendering a stateful connection between client and server unnecessary. In addition to implicit relevance feedback, it would be an advantage to allow the user to correct their profile, thus allowing even greater predictive accuracy.
G. Graves, B. O'Conner, A. Barker, Apparatus and method of selecting video programs based on viewer's preferences, U.S. Pat. No. 5,410,344 (Apr. 25, 1995) describe a method for selecting television programs according to expressed viewer preferences that employs an adaptive prediction algorithm. Television programs are described in terms of attributes. A viewer explicitly rates different attribute-value pairs, also known as features. Based on these explicit viewer ratings, a neural network rates television programs. Programs with a high enough score are automatically recorded for viewing at a later time. The described method, however, must use explicit ratings, it does not employ or generate implicit ratings. Furthermore, the described method provides only a single prediction algorithm, limiting its versatility and robustness.
J. Hey, System and method for recommending items, U.S. Pat. No. 4,996,642 (Feb. 26, 1991). Employs a conventional collaborative filtering algorithm to recommend movies to a customer from the inventory in a video store. The customer uses a scalar rating system to rate movies they have viewed. The resulting profile is paired with profiles of other customers who have rated at least a portion of those selections rated by the first customer, and an agreement scalar is computed for each of the pairings. Based on these pairings, a group of recommending customers is defined for the first customer. D. Payton, Virtual on-demand digital information delivery system and method, U.S. Pat. No. 5,790,935 (Aug. 4, 1998) describes a digital information system that delivers virtual on-demand information over digital transport systems. A collaborative filtering algorithm predicts content items that might be of interest to each subscriber. A. Chislenko, Y. Lashkari, D. Tiu, M. Metral, J. McNulty, Method and apparatus for efficiently recommending items using automated collaborative filtering and feature-guided automated collaborative filtering, U.S. Pat. No. 6,092,049 (Jul. 18, 2000) describe a method for recommending items to users using automated collaborative filtering. As with the other references described, a conventional collaborative filtering implementation, in which users are correlated to other users, is provided. B. Miller, J. Konstan, J. Riedl, System, method and article of manufacture for utilizing implicit ratings in collaborative filters, U.S. Pat. No. 6,108,493 (Aug. 22, 2000) describe a prediction information system utilizing collaborative filters. Unlike most collaborative filtering implementations, which operate on explicit ratings, the described system utilizes implicit measures. The accuracy of prediction attainable with collaborative filtering has been shown to be quite high. Nevertheless, conventional collaborative filtering implementations all require maintaining user information in a central place, such as on a server, leading to concerns about the user's privacy. Subsequently, similarities between pairs of users are computed on the server. It would be desirable to provide a collaborative filtering implementation based on similarity between pairs of items, rendering it unnecessary to maintain user information on a server, and eliminating the necessity of exchanging state information between client and server.
D. Whiteis, System and method for recommending items to a user, U.S. Pat. No. 5,749,081 (May 5, 1998) describes a system for recommending items of merchandise to a customer at the point of sale based on items already selected. Unlike the collaborative filtering implementations described above, the Whiteis system correlates items, rather than users, by tracking the number of times a pair of items occurs together in the same purchase. Based on the number of times a pair occurs, an adjusted weight is calculated that is taken to be an index of similarity between the two items of the pair. The described system is simple and easily implemented and is well suited for point-of-sale use. However, since similarity is calculated simply on whether a pair occurred in the same purchase, it can only be a very general approximation of similarity. For example, in a video store, a father may be select “Lion King” for his children and “Body Heat” for he and his wife. In the present system, that purchase would be listed as a correlating pair, albeit a weakly correlating pair if it did not occur frequently in the total population of pairs. Furthermore, it would be an advantage to filter the weights to eliminate pairs that correlate weakly. It would also be an advantage to provide information about pairs that anti-correlate.
A. Lang, D Kosak, Information system and method for filtering a massive flow of information entities to meet user information classification needs, U.S. Pat. No. 5,867,799 (Feb. 2, 1999) provide an apparatus, method and computer program product for information filtering in a computer system receiving a data stream from a computer network. Several layers of adaptive filtering are provided, both content-based and collaborative, to ensure that a receiver receives only those content items that correlate very highly with their preferences. There are individual user filters and community filters. The essential function of the system according to Lang, et al. is overwhelmingly one of exclusion, with the multiplicity of filter layers. However in a system, the aim of which is to predict items most likely to appeal to a user, and suggest items likely to appeal to a user, the redundant filtering of the present system would limit the amount of content available to the user, thus limiting user choices rather than providing new and unexpected alternatives.
Thus, there exists a need in the art for a system for predicting a rating for an item according to how much it will appeal to a user. It would be advantageous to provide multiple prediction engines that are capable of providing the most accurate prediction for any particular item. It would be highly desirable to provide a convenient user interface for teaching the system the user's preferences. Furthermore, it would be an advantage for the system to have an adaptive capability, so that it can learn and adapt to shifts in user preferences. It would be desirable to provide a distributed collaborative filtering engine that guaranteed a user's privacy by eliminating the necessity of correlating the user to other user's or groups of users. It would be a great advantage to calculate similarity between items, rather than between users and to perform such calculation on the client side, eliminating the necessity of a stateful connection between the server and the client. It would be a significant technological advance to provide an adaptive modeling prediction engine that accepted both explicit user ratings and had the capability of inferring user ratings in the absence of explicit ratings. It would be a great convenience to display the output of the various prediction engines in a single, integrated list.
SUMMARY OF THE INVENTION
The invention provides a network-based intelligent system and method for predicting rating for items of media content according to how likely they are to appeal to a user based on the user's own earlier ratings. Collaborative filtering and content-based prediction algorithms are integrated into a single, network-based system. System heuristics determine which of the provided algorithms provide the most reliable predictor for any single new content item.
In a preferred embodiment of the invention, a network-based video recording system rates television programs according to the likelihood that they will appeal to a user, based on the user's own previous ratings of television programming. Individual recording units, clients, are in intermittent communication with a server. A user interface is provided in which the user teaches the system by recording their programming preferences. Using an interactive rating system that employs a “thumbs up” and “thumbs down” metaphor for favorable and unfavorable ratings, respectively, individual users may give an overall rating to a program, or they may rate individual features of the program: for example, directors, actors, and genres; provided in interactive lists. The users preferences are then used as inputs to one or more predictive algorithms.
A collaborative filtering algorithm is provided, in which individual items are correlated to each other, instead of the usual approach of correlating users to each other. Lists of rated items are periodically uploaded from individual clients to the server. The ratings are extracted from the lists and stored in matrices on the server, eliminating the necessity of keeping client state information on the server, thus advantageously providing an important privacy safeguard. The server computes correlation factors for pairs of programs and provides them to the client in a correlating items table. The client searches the table for pairs containing programs already rated by the user. Thus, other programs not rated by the user, which correlate to the rated program, can be assigned a similar rating.
In the absence of up-to-date correlating items data, an adaptive modeling algorithm is also provided that works by using content-based filtering: in particular it uses the features of a program and a user's prior preferences on those features to arrive at a prediction of how much the user would like a program. In the absence of explicit ratings of a program's features, a modified naïve Bayes algorithm infers ratings of the program features based on previous ratings by the user of programs containing at least one of the features. Based on the inferred feature ratings, a prediction is made of how much the user would like the program. Unlike conventional implementations of the naïve Bayes algorithm, the invention extends the Bayes algorithm to handle multi-valued features, i.e. a program generally has more than one actor, or it may be classified in more than one genre. Additionally, the invention provides for the integration of explicit advice, the expressed user preferences, with inferred ratings.
The user is also provided with the capability of correcting preferences, either explicit ones or inferred ones. Thus, the user may optimize the preference profile in order to obtain predictions that coincide with their expectations more closely.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 provides a block diagram of the functional architecture of a network based system for predicting the likelihood that a an item of media content will appeal to a user based on previous ratings of content items by the user, according to the invention;
FIG. 2 shows a screen from a user interface to the system of FIG. 1, wherein suggested items are displayed to a user, and access is gained to a user interface, wherein a user teaches the system the user's preferences, according to the invention;
FIG. 3 shows a top-level screen of the teaching interface of FIG. 2, according to the invention;
FIGS. 4 and 5 show screens from the teaching interface of FIG. 2 for teaching content category and sub-category preferences, according to the invention;
FIG. 6 shows a screen from the teaching interface of FIG. 2 for teaching actor preferences, according to the invention;
FIG. 7 shows a screen from the teaching interface of FIG. 2 for correcting user ratings and predicted ratings of actors, according to the invention;
FIG. 8 shows a screen from the teaching interface of FIG. 2 for teaching program preferences, according to the invention;
FIG. 9 shows a screen from the teaching interface of FIG. 2 for correcting user ratings and predicted ratings of programs, according to the invention; and
FIG. 10 shows the block diagram of a distributed system collaborative filtering prediction system, within the system of FIG. 1, according to the invention.



DETAILED DESCRIPTION OF THE INVENTION
Referring now to FIG. 1, shown is a block diagram of an intelligent, distributed system for recommending items of media content to a user, based on the user's expressed preferences. Although FIG. 1 illustrates a single client, such illustration is understood to be exemplary only. One skilled in the art will readily appreciate that the system includes a plurality of clients. A client 10, over a conventional network connection 12, is in intermittent communication with a server. A user interface 14 is provided, wherein the user teaches the system the user's preferences concerning programs, categories of programs and program features. When the system has built a sufficient knowledge base, a series of prediction engines having an adaptive capability, predicts ratings for unrated program items, based on the user's expressed preferences. The preferred method employs a novel, client-side collaborative filtering engine 17. Lists of items rated by the user 15 are transmitted to the server 11, where they are aggregated, with the rated items information from many other users, into a single list. A listing of correlating items is generated 19 and transmitted back to the client 10, where the collaborative filtering engine predicts ratings based on the correlation provided by the server, and the user's previous ratings.
It may happen that up-to-date correlation information is unavailable. In such event, an adaptive, content-based prediction engine 18 predicts ratings of unrated program items. Preferably, the content-based engine employs explicit user ratings of various program features as inputs. However, in the absence of explicit ratings, a naïve Bayes classifier infers ratings from which a rating is predicted.
The invention is created and implemented using conventional programming methods well-known to those skilled in the arts of computer programming and software engineering.
Method of Teaching by Users
The invented system allows users to rate an item, from −3 to 3 (7 levels), wherein negative ratings are unfavorable and positive ratings are favorable. Ratings are expressed using a graphical metaphor, in which “thumbs up” indicate favorable ratings and “thumbs down” indicate unfavorable ratings. 0, indicated by an absence of thumbs, is a neutral rating. Typically, the user assigns thumbs to a program or a program feature by depressing a button on a remote control that is provided with the client unit. Referring to FIG. 2, a suggestion screen 20 of the invented system displays a listing of suggested programs 21 accompanied by their rating icons 22. Close to the top of the screen, beneath the banner, a selection bar is positioned over a menu item 23 that grants access to the teaching screens. The suggestions 21 are displayed in a descending sort according to the number of thumbs 22. An arrow-shaped cursor 24 allows the user to scroll through the entire list of suggestions. Referring now to FIG. 3, the first screen 30 of a user interface for assigning ratings to television programs and individual program features is shown. Selections for rating program category 31 or genre, individual programs 32, actors 33 and directors 34 are provided. The user manipulates the various interface elements by means of the provided remote control. As FIGS. 4 and 5 show, selecting the ‘teach category’ option 31, navigates the user to a ‘teach category’ screen 40 and subsequently to a ‘teach sub-categories’ screen 50. Selecting any one of the displayed categories or sub-categories allows the user to assign ‘thumbs’ ratings to the selected categories, although the display is not immediately redrawn to reflect the user's ratings. Upon selecting the ‘teach actors’ option 33, the user is presented with several further options, two of which are shown in FIGS. 6 and 7. As previously indicated, the user's preferences, expressed as ratings, are necessary as input to the various predictive algorithms of the invention. Before the algorithms are able to start providing the user with predictive ratings, they must be “taught” or initialized with a minimum amount of user preference data. In the course of viewing or selecting a program for recording, viewers may assign a rating to a program. By assigning ratings in this way, however it can take a fairly long time before the preference database has accumulated enough data to teach the predictive algorithms. In order to accelerate the process of accumulating preference data, the various teaching screens with their lists are provided, so that the user may initially go through the lists and systematically rate a threshold number of programs and individual features. To facilitate the process of working through the feature list, lists of varying lengths are provided. For example a ‘Teach famous actors’ screen 60 provides a compact list 61 of high-profile actors. Thus, the process of rating actors, by the user is greatly facilitated. Additionally, a ‘Teach all actors’ screen (not shown) provides a comprehensive list of actors from which the user may also work. FIG. 6 also shows the manner of assigning ratings. The user is provided with a menu of possible ratings 62 from which they select a rating for the corresponding actor. After selecting the rating, the selected rating is highlighted. As previously described, the user interface is not immediately repainted to reflect the user's rating selection.
In FIG. 7, a ‘Correct rated actors’ screen 70 is shown. While the example shown indicates that no actors have yet been rated, if actors had been rated, the user would be presented with a list of rated actors, similar to lists already shown. As will be described in greater detail further below, provision is made for distinguishing between user-assigned ratings and predicted ratings assigned by the system. Separate, similar, but distinct icons are provided for user ratings 71 and predicted ratings 72. In the event that actors had been rated, the user would be provided with a single, aggregate list of all rated actors, both user-rated, and those for whom the system has predicted ratings. Thus, the user may correct their own ratings, and they may revise predicted ratings. Advantageously, the ability to view and correct predicted ratings allows the user to browse the basis features that were used by the system to make a particular prediction for a show. This will allow the user to directly modify his or her preference profile in order to obtain predictions more in line with what he or she expected. As FIGS. 8 and 9 show, the process of rating programs and correcting rated programs is almost identical to that for actors.
While screens are not shown for all attributes, the process of rating attributes and correcting them is virtually identical across the entire selection of attributes. The preferred embodiment of the invention provides ‘actors,’ ‘genre’ and ‘directors’ as program attributes. However, the list of attributes need not be so limited. The manner of providing the user interface employs conventional techniques of computer programming and graphics display commonly known to those skilled in the arts of computer programming, software engineering, and user interface design.
As described above, as a preference profile is built, the user may explicitly rate programs and individual programs, and he or she may correct ratings, either their own, or predicted ratings. Additionally, other system heuristics may apply a rating to an item. For example, when a user selects a program to be recorded, the system automatically assigns one thumb up, corresponding to a rating of one, to that item if the user had not already rated the program. Other heuristics are based on whether a program was watched after it was recorded, and for how long.
Predicting Program Ratings
As previously described, the user teaches the system his or her preferences by assigning overall ratings to programs they are familiar with, and rating individual program elements, such as actors and genres. Subsequently, the preferences are fed to one or more predictive algorithms to assign ratings to programs that predict the likelihood of the user liking them. The preferred embodiment of the invention includes a collaborative filtering algorithm and a content-based adaptive modeling algorithm.
The total number of programs available to the user may be considered to be a pool, or a population of items. As previously described, the user assigns ratings to a subset of that pool using discrete ratings. In the preferred embodiment of the invention, the rating is measured as a number of thumbs from −3 to 3, with 0 connoting a neutral rating. There also exists a pool or population of program elements, or features, a portion of which have been rated by the user according to the same rating system.
Collaborative Filtering
The purpose of collaborative filtering is to use preferences expressed by other users/viewers in order to make better predictions for the kinds of programs a viewer may like. In order to rate how much the current user will like a program to be rated, “Friends,” for example, the collaborative algorithm evaluates the other programs that the user has rated, for example, two thumbs up for “Frasier,” and uses the correlating items table downloaded from the server to make a prediction for “Friends.” The correlating items table may indicate that “Friends” and “Frasier” are sixty-six percent correlated and “Friends” and “Seinfeld” are thirty-three percent correlated. Assuming that the user has expressed 2 thumbs up for “Frasier” and 1 thumb up for “Seinfeld,” the algorithm will predict 1.6 thumbs up for “Friends,” closer to 2 thumbs up than 1 thumb up. This prediction will be rounded to 2 thumbs up in the user interface, and thus the prediction is that the user will like “Friends” to the extent of 2 thumbs up.
The invented implementation of collaborative filtering provides the following advantages:
1. No person-to-person correlation.

    
    
        The server 11, which collects “anonymized” preferences profiles from the individual clients, does not as is conventionally done, compute a correlation between pairs of users. Instead, it computes a correlation between pairs of programs. Thus, no sensitive or personal user information is ever kept or needed on the server. Preferences information is http posted from the client to the server; once the network connection is terminated, the server has an anonymous set of preferences—it doesn't matter whose preferences they are. In order to guarantee the user anonymity, the entire preference database of each client is periodically uploaded to the server. Thus there is no need to issue cookies or maintain any client state information on the server.
    
    


2. Distributed, or local computation of program ratings.

    
    
        Pairs of programs are evaluated that:
        
            are sufficiently highly correlated to be good predictors of each other, and
            that have been rated by enough viewers.
        
        
        The server then transmits to each client the correlations for each significant program pair in a correlating items table. Next, the client filters these pairs to find only those pairs for which one of the programs in the pair has been rated by the user. Thus, continuing with the example above, the server may have calculated a high correlation between “Spin City” and “Friends,” based on the preferences information from thousands of other users. However, since the user at hand has rated neither “Spin City” nor “Friends,” that correlation is not useful, therefore the client will filter that pair. On the other hand, since the user has rated “Frasier” and “Seinfeld,” the pairs
        [Frasier->Friends 0.66] and [Seinfeld->Friends 0.33] are retained and used as inputs to the collaborative filtering algorithm.
    
    


3. The architecture of the collaborative filtering server is highly parallellizable and consists of stages that pre-filter shows and pairs of shows so that computing correlation, a computationally expensive process, for all pairs may be avoided.
4. Carouselling of correlations from server to clients.

    
    
        The tables of correlating items are broadcast daily, but since correlations between pairs do not change drastically from day to day, each client only processes correlations periodically, eliminating the necessity of recomputing correlations on a daily basis.
    
    


5. Robustness of collaborative filtering engine.

    
    
        Each stage of the collaborative filtering engine may be implemented by several computers. Thus, if one computer is non-functional for a short period of time, correlation computations allocated to that computer will queue up at its feeder computer, and the process is delayed somewhat without a noticeable disruption of service to the user. Additionally, since correlations do not change greatly from month to month, losing a portion of the correlations only results in a graceful degradation of prediction quality, and not a catastrophic loss in quality.
    
    


FIG. 10 provides a diagram of the functional architecture of a distributed collaborative filtering engine, according to the invention. A client 10 is in intermittent contact with a server 11 over a network connection 12. As indicated above, the server-side architecture may be implemented across several computers, or it may be implemented on a single computer having multiple functional units. In the preferred embodiment of the invention, the network connection is either a dial-up connection over publicly available telecommunications networks or a satellite connection. However, other types of network connections known to those skilled in the art are within the spirit and scope of the invention. According to the preferred embodiment of the invention, the client 10 and the server 11 are in communication for a brief period on a daily basis so that the client may transmit rated items 15 to the server 11 and receive the correlating items table 104b broadcast from the server 11 periodically. A listing of unrated items 16, wherein the unrated items consist of television programs, is resident on the client 10. The list of unrated programs is presented to the user on a conventional display means 25. The display means may be a television screen, A CRT monitor, an LCD display, or any other generally known display means. During the period of daily contact with the server, the list of unrated items 16 is updated. An interactive user interface 14, allows the user to rate items known to the user using the graphical rating system previously described. As items are rated by the user, the rated items are saved to a listing of rated items 15. In the preferred embodiment of the invention, the listing of rated items 15 exists as a conventional table. However, other commonly known data structures, such as delimited text files, would be equally suitable.
When the client 10 and the server 11 are in communication, the list of rated items 15 is transmitted to the server. The correlating items table 104a is generated using the rated items 15 input of all users, or a random sample of them. A frequency filter 101 blocks items and pairs of items that have not been rated by a sufficient number of users, thus minimizing the storage required for the pair matrices 102. The filter thresholds also serve to assure a minimum quality of the correlation calculations, since they get more accurate with more input due to their adaptive nature. Filtering takes place in two stages. The first stage tracks the frequency of any unique item. If the frequency is too low, the item and user rating are not considered. The second stage monitors frequencies of unique pairs. If a pair's frequency is too low, the pair is not longer considered.
Pair matrices store the user ratings in an n by n matrix, where n is the number of distinct levels on the rating scale used by users. As previously described, in the current embodiment of the invention, there are seven discrete ratings: −3, −2, −1, 0, 1, 2 and 3. Thus, each pair matrix is a 7×7 matrix. The foregoing description is not intended to be limiting. Other rating scales, resulting in matrices of other dimensions are also suitable. Provided below is an algorithm for storing ratings to the pair matrices 102:

    
    
        1. Get a pair of ratings for a pair of items.
        2. Find the matrix for that pair, and create if it does not exist yet.
        3. Using the rating pair as index into the matrix, locate the cell for that rating pair.
        4. Increment the cell's value by one.
        5. Go to 1.
    
    


Using commonly known analytical methods, a correlation factor is calculated from the pair matrix for each program pair. Every matrix yields a correlation factor from approximately −1 to 1.
The correlation filter 103 prevents pairs of items from being considered that have correlation factors close to 0. Thus, pairs that only correlate weakly are not used. Those pairs that pass the correlation filter 103 are assembled into a correlating items table 104a, which lists all other significantly correlating items for every item. That list, or a part thereof, is distributed back to the client 10.
On the client side, a predictive engine assigns a rating to a new unrated item that is predictive of how much that item will appeal to the user, based on the rated items 15 and the correlating items table, that describes the correlations between items. Provided below is an algorithm for rating an unrated item.

    
    
        1. Get an unrated item (program).
        2. Search for the item in the correlating items table. If not found, no prediction is made—Go to 1.
        3. Create a work list of correlation factors for all correlating items the user has rated, together with the user ratings.
        4. If the work list is empty, no prediction is made. Go to 1.
        5. Make sure the work list contains a fixed number of items.
        
            If the work list exceeds the fixed number, remove those that relate to the worst correlating item (program).
            If the list is too short, pad it with correlation factors of 1 and a neutral rating.
        
        
         The fixed length selected is a matter of design choice; the intent is to provide a fixed-length list of input so that results can be compared fairly when predicting for different unrated items, when the amount of data available for prediction varies.
        6. The sum of (rating*correlation) of all items in the work list, divided by the sum of the absolute values of correlation factors for all items constitutes a prediction a rating for the item that is predictive of the degree to which the item will appeal to the user.
    
    


Enhancements to Ensure Privacy
As described above, the system is designed to safeguard the user's anonymity. There are many clients, and over time more and more programs are rated. When a particular client has rated a few more programs, the server would need to include that input in the Pair Matrices to further increase the accuracy and scope of the correlations. Conventionally, only the new data would be transmitted to the server to permit it to do the work of updating the pair matrices. However, to do that, the server would need to save the state for each client and identify the client in order to know all the items rated by that client. Privacy requirements disallow any method of identifying the client when accepting input. Therefore, the rated items list is sent in its entirety, on a periodic basis. Clients use the same time window for sending in their lists, at randomly chosen times. The server accepts input as described earlier, keeping counts in the matrices. In addition, the server compensates for the repetitive input by normalizing the counts. Normalization involves dividing all counts by a factor that keeps the counts constant, as if all clients kept an unchanging list of rated items. In this way, as the clients slowly grow and alter their lists, the counts on the server will slowly adapt to the new state, and correlation factors will stay up to date, even as the general opinion among users changes. Such a gradual shift in opinion among television viewers occurs inevitable as television series gradually change, one program becoming more like some programs and becoming less like others. In effect, it allows the tracking of correlation over time, without tracking the actual changes to a particular client's ratings.
Adaptive Filtering Algorithm
As indicated previously, items may be rated by one of two algorithms, either the collaborative filtering algorithm described above, or an adaptive filtering algorithm incorporating a naïve Bayes classifier, described in greater detail herein below. It is has been empirically determined that collaborative filtering is a more reliable predictor of items that are likely to appeal to the user than the adaptive filtering algorithm. Accordingly, it is preferable that the collaborative filter rates an item. However, in the absence of collaborative filtering data, a heuristic passes invokes the adaptive filtering algorithm. Collaborative filtering data may not be present if the client has been unable to contact the server. The adaptive modeling algorithm works by using content-based filtering. In particular, it uses a program's features and the user's previously expressed preferences on individual program features to arrive at a prediction of how much the user would like the program. As previously noted, programs may be described in terms of attributes: actor, genre and director, for example. Generally, each attribute may have several values. For instance, ‘genre’ may have any of several hundred values; ‘actor’ may have any of several thousand values. Each individual value, or attribute-value pair, may be seen as a distinct program feature. Thus, genre: ‘situation comedy’ is a feature; actor ‘Jennifer Anniston’ is another feature. During the teaching phase, the user may have rated ‘Jennifer Anniston’ 1 thumb up and ‘situation comedies’ 2 thumbs up. Based on the user's expressed preferences, and program information from the TRIBUNE MEDIA SERVICES (TMS) database, which indicates that the genre feature for “Friends” is ‘situation comedy’ and the actor feature is ‘Jennifer Anniston,’ the system would assign 1 thumb up to “Friends.”
In the example above, it is worth noting that, in the presence of an actor having a 1 thumb up rating and a genre having a 2 thumbs up rating, the system assigned the program 1 thumb up, rather than 2, indicating that the actor rating was weighted more heavily than the genre rating in predicting the program rating. A feature's specificity is an important determinant of the weight given to it in computing a program rating. It is apparent, that, in considering a population of features for a pool of programs, a specific actor occurs less frequently in the population than a genre. Thus, in the example, the actor ‘Jennifer Aston’ would occur less frequently than genre ‘situation comedy.’ Thus, if a feature is rare in a population of features, and occurs in a description of a program, because of its rarity in the general population, it is probable that it is highly relevant to the program description. Accordingly, the less likely that a feature occurs in a general population of features, the more heavily weighted the feature will be in predicting a rating for the program having the feature. Thus, a specific actor may occur across several different genres, and genre will be weighted less heavily than actor for prediction of program ratings.
Significantly, the foregoing discussion has been directed to explicit feature ratings given by the user. It is preferable that new programs be rated according to explicitly stated user preferences. When the adaptive modeling algorithm initializes, the program features are evaluated. If the user has explicitly rated even one of the program features, the explicit user ratings are utilized to compute a rating for the program. In the absence, however of explicit feature ratings, the adaptive modeling algorithm employs a naïve Bayes classifier to infer feature ratings, and compute a program rating based on the inferred ratings. It is fundamental to the invention that user ratings always take precedence over inferred ratings. Thus, if the user has rated even one feature of a program, the naïve Bayes classifier is not invoked and the one rated feature is employed to compute the rating for that program. Inference happens as follows: if the user assigns an overall rating to a program, for example, “Cheers,” the system evaluates the separate features of “Cheers” and assigns ratings to the feature based on the user's overall rating of the program. The inferred feature ratings are then used to compute a rating for a new, unrated program. The process of generating inferred ratings is described in greater detail below.
The system keeps a tally of how often a feature of an item occurs in a population of rated items, and the rating given to the item by the user. For example, a user may rate a program starring Jennifer Anniston two thumbs up. Another program with another actor may be rated one thumb up. The system keeps a tally of the number of times a feature occurs in the population of rated programs, and what rating the program received, and makes an intelligent conclusion about the significance of a feature to the user, based on the feature occurrences and the ratings. Thus, if in the population of rated programs, Jennifer Anniston occurred ten times, each time in a program receiving two thumbs up, then the probability would be high that any other program she occurred in would receive two thumbs up.
A stepwise description of a naïve Bayes classifier, according to the invention follows:
As indicated above, a pool of items (programs) exists. The user of the system assigns ratings to a subset of that pool using a discrete number of levels. In the preferred embodiment, the rating is expressed as a number of thumbs up or down, corresponding to ratings of −3 to 3; to avoid ambiguity, the rating ‘0’ is omitted from calculations. The items are described in terms of predefined attributes. For example: the main actor, the genre, the year the program was released, the duration, the language, the time it is aired, the tv channel it is broadcast on, how much of it has been viewed, and so on. Each attribute may have a plurality of values. For each value of each attribute, a vector Cx is defined (C0 is the first attribute, C1 the second, C2 the third . . . etc.). The length of each vector is set as the number of discrete rating levels; in the preferred embodiment, six. The vectors are used to keep track of the frequency of that feature (attribute-value pair) and the rating for each occurrence. A special global vector is kept to track the overall number of items that receive a particular rating, regardless of the features in that item. Where P is a prediction vector, C1 . . . Cn is the feature vector for feature n, G is the global vector and there are m rating levels, P is calculated according to:




  
    
      
        
          
            P
            ⁡
            
              (
              0
              )
            
          
          =
          
            
              
                
                  C
                  1
                
                ⁡
                
                  (
                  0
                  )
                
              
              *
              
                
                  C
                  2
                
                ⁡
                
                  (
                  0
                  )
                
              
              *
              
                
                  C
                  3
                
                ⁡
                
                  (
                  0
                  )
                
              
              ⁢
              
                
              
              ⁢
              ...
              ⁢
              
                
              
              ⁢
              
                
                  C
                  n
                
                ⁡
                
                  (
                  0
                  )
                
              
            
            
              G
              ⁡
              
                (
                0
                )
              
            
          
        
        ⁢
        
          

        
        ⁢
        
          
            P
            ⁡
            
              (
              1
              )
            
          
          =
          
            
              
                
                  C
                  1
                
                ⁡
                
                  (
                  1
                  )
                
              
              *
              
                
                  C
                  2
                
                ⁡
                
                  (
                  1
                  )
                
              
              *
              
                
                  C
                  3
                
                ⁡
                
                  (
                  1
                  )
                
              
              ⁢
              
                
              
              ⁢
              ...
              ⁢
              
                
              
              ⁢
              
                
                  C
                  n
                
                ⁡
                
                  (
                  1
                  )
                
              
            
            
              G
              ⁡
              
                (
                1
                )
              
            
          
        
        ⁢
        
          

        
        ⁢
        
          
            P
            ⁡
            
              (
              2
              )
            
          
          =
          
            
              
                
                  C
                  1
                
                ⁡
                
                  (
                  2
                  )
                
              
              *
              
                
                  C
                  2
                
                ⁡
                
                  (
                  2
                  )
                
              
              *
              
                
                  C
                  3
                
                ⁡
                
                  (
                  1
                  )
                
              
              ⁢
              
                
              
              ⁢
              ...
              ⁢
              
                
              
              ⁢
              
                
                  C
                  n
                
                ⁡
                
                  (
                  1
                  )
                
              
            
            
              G
              ⁡
              
                (
                2
                )
              
            
          
        
        ⁢
        
          

        
        ⁢
        ⋮
        ⁢
        
          

        
        ⁢
        
          
            P
            ⁡
            
              (
              
                m
                -
                1
              
              )
            
          
          =
          
            
              
                
                  C
                  1
                
                ⁡
                
                  (
                  
                    m
                    -
                    1
                  
                  )
                
              
              *
              
                
                  C
                  2
                
                ⁡
                
                  (
                  
                    m
                    -
                    1
                  
                  )
                
              
              *
              
                
                  C
                  3
                
                ⁡
                
                  (
                  
                    m
                    -
                    1
                  
                  )
                
              
              ⁢
              
                
              
              ⁢
              ...
              ⁢
              
                
              
              ⁢
              
                
                  C
                  n
                
                ⁡
                
                  (
                  
                    m
                    -
                    1
                  
                  )
                
              
            
            
              G
              ⁡
              
                (
                
                  m
                  -
                  1
                
                )
              
            
          
        
      
    
    
      
        (
        1
        )
      
    
  




The rating where P shows a maximum value is the most probable rating for the feature. The distribution of the values in P is an indicator of certainty.
In classical implementations of the naïve Bayes classifier, it is assumed that for every attribute, only one value may occur at a time, like the color for a car. However for a program, multiple values may occur simultaneously. For example: for the attributes actors, directors, writers and genres, there are multiple simultaneous values, and sometimes none at all. For the purpose of predicting program ratings, the values lists for the various attributes are collapsed into aggregate genre and cast vectors for those features that occur in the program to be rated. Thus, for the purpose of predicting program ratings, two attributes are created, cast and genre.
The two attributes are different in nature, and the method of collapsing, or combining all values for an attribute is different. For the genre attribute, vectors are summed, the population of genres consisting of only a few hundred separate values. Due to the large population of actors, directors and writers, possibly numbering in the ten's of thousands, they are combined by taking the maximum frequency at each rating level. Additionally, actors are often clustered.
With the number of attributes being reduced to two, the possibility exists that either attribute can have 0 occurrences of matching preferences. Thus the input to the formula may be 0, 1 or 2 attributes. If there is only data for one attribute, the global vector is ignored, and only the product term is considered.
As mentioned above, a measure of confidence may be derived by considering the distribution of values in P. However, in the early stages of using the system, the number of items that have been rated is small, which produces extremes in the distribution of values, and would lead to unreliable confidence ratings. Instead, the confidence rating may be based on the amount of evidence for the winning rating level. If the maximum rating level is x, then all counts for every category (x) for all genres and all actors are summed. This value is called P(x)e, the total amount of evidence for P(x). A global vector, H, is kept to track the highest count for each winning rating level that has been found during system operation. C(x)e is normalized against H(x) so that the confidence is only high when it is a record or near record for that bin. This system still favors 1 in the early use of the system. To give it a more sensible start, without affecting long-term behavior, a LaPlace method is used that avoids anomalies where there is very little data. Instead of confidence=P(x)e/H(x), confidence=(P(x)e+1)/(H(x)+2) is used. This makes it start at 0.5 initially, and the restriction on confidence relaxes as evidence grows.
To summarize the foregoing: the collaborative filtering algorithm is the preferred method of predicting program ratings. In the absence of up-to-date correlation factors provided by the server, a content-based adaptive filtering algorithm predicts program ratings. The features of a program to be rated are evaluated. If the user has explicitly rated any of the program's features, the user ratings are employed to predict a rating for the program. In predicting a rating, features of high specificity are more heavily weighted than those of low specificity. In the event that the user hasn't rated any of program's features, a modified naïve Bayes classifier calculates the of probability of the program being assigned a particular rating, using inferred feature ratings derived from previous user ratings of programs. A probability vector allows a confidence level to be expressed for the predicted rating.
Display of Rated Items
As FIG. 2 shows, rated items are displayed as a list of suggestions. Both user rated-items and items carrying predicted ratings are listed in the same display. As previously described, user ratings are differentiated from predicted ratings through the use of distinct ratings icons. The output from both prediction engines, the collaborative filtering engine and the content-based engine is scaled and integrated into the same list. As previously described, the ratings range from three thumbs up to three thumbs down, with three thumbs up being most favorable, and three thumbs down being most unfavorable, corresponding to discrete numerical ratings in a range of −3 to 3. For display, the items are sorted in descending order from most favorable to least favorable. Within each discrete rating, the items are sorted in descending order according to confidence of the prediction, the confidence level ranging from 1 to −1. Confidence level values are not necessarily discrete values, as the ratings are. It will be apparent that explicit user ratings have the highest confidence level, thus they are listed first within the ratings groups.
Although the invention has been described herein with reference to certain preferred embodiments, one skilled in the art will readily appreciate that other applications may be substituted for those set forth herein without departing from the spirit and scope of the present invention. Accordingly, the invention should only be limited by the Claims included below.

## Claims

1. A method comprising:
at a server in communication with a plurality of clients over a network connection, periodically receiving a list of user-rated items from each client of the plurality of clients, the user-rated items being associated with media content, the user-rated items in a list of user-rated items from a client of the plurality of clients being rated by a user of the client, the user-rated items in lists of user-rated items from other clients of the plurality of clients being rated by other users of the other clients, the lists of user-rated items stored in a manner that is anonymous with respect to the user and the other users, and the lists of user-rated items aggregated into an aggregated list of items;
for each unique pair of items of a plurality of unique pairs of items from the aggregated list of items, storing, by the server, a pair of user-ratings for the unique pair of items in a pair matrix;
filtering user-rated items from the aggregated list of items based on frequency by monitoring frequency of the user-rated items and discarding items with corresponding user-ratings that do not satisfy a threshold frequency;
for each pair matrix of a plurality of pair matrices, computing, by the server, a rating correlation between items of the unique pair of items;
compiling, by the server, a list of correlating items using the rating correlations; and
periodically sending, from the server to the client, the list of correlating items.

2. The method of claim 1, wherein the plurality of clients comprise a plurality of video recording clients.

3. The method of claim 1, wherein the user-rated items received from the client includes each item rated by the user of the client and the corresponding rating assigned by the user.

4. The method of claim 3, wherein the corresponding rating assigned by the user is assigned according to a scalar system of discrete ratings.

5. The method of claim 1, wherein a particular pair of user-ratings for a particular unique pair of items is stored in a particular pair matrix by:
retrieving the particular pair of user-ratings for the particular unique pair of items;
determining whether the particular pair matrix storing user-ratings for the particular unique pair of items exists;
creating the particular pair matrix for the pair of items if the particular pair matrix does not exist;
locating a cell that stores the particular pair of user-ratings in the particular pair matrix by using the particular pair of user-ratings as an index to the particular pair matrix; and
incrementing a value of the cell that corresponds to the particular pair of user-ratings.

6. The method of claim 1, further comprising filtering out non-significant rating correlations of unique pairs of items.

7. The method of claim 1, wherein the media content comprises any of network television programming, cable television programming, films, pay-per-view television programming, and video.

8. The method of claim 1, wherein the list of correlated items comprises at least one item rated by the user and at least one item unrated by the user.

9. One or more non-transitory computer-readable storage media storing instructions, which instructions, when executed by one or more processors, cause the one or more processors to perform:
at a server in communication with a plurality of clients over a network connection, periodically receiving a list of user-rated items from each client of the plurality of clients, the user-rated items being associated with media content, the user-rated items in a list of user-rated items from a client of the plurality of clients being rated by a user of the client, the user-rated items in lists of user-rated items from other clients of the plurality of clients being rated by other users of the other clients, the lists of user-rated items stored in a manner that is anonymous with respect to the user and the other users, and the lists of user-rated items aggregated into an aggregated list of items;
filtering user-rated items from the aggregated list of items based on frequency by monitoring frequency of the user-rated items and discarding items with corresponding user-ratings that do not satisfy a threshold frequency;
for each unique pair of items of a plurality of unique pairs of items from the aggregated list of items, storing, by the server, a pair of user-ratings for the unique pair of items in a pair matrix;
for each pair matrix of a plurality of pair matrices, computing, by the server, a rating correlation between items of the unique pair of items;
compiling, by the server, a list of correlating items using the rating correlations; and
periodically sending, from the server to the client, the list of correlating items.

10. One or more non-transitory computer-readable storage media as recited in claim 9, wherein the plurality of clients comprise a plurality of video recording clients.

11. One or more non-transitory computer-readable storage media as recited in claim 9, wherein the user-rated items received from the client include each item rated by the user of the client and the corresponding rating assigned by the user.

12. One or more non-transitory computer-readable storage media as recited in claim 11, wherein the corresponding rating assigned by the user is assigned according to a scalar system of discrete ratings.

13. One or more non-transitory computer-readable storage media as recited in claim 9, wherein the instructions, when executed by the one or more processors, cause the one or more processors to perform storing a particular pair of user-ratings for a particular unique pair of items in a particular pair matrix by:
retrieving the particular pair of user-ratings for the particular unique pair of items;
determining whether the particular pair matrix storing user-ratings for the particular unique pair of items exists;
creating the particular pair matrix for the pair of items if the particular pair matrix does not exist;
locating a cell that stores the particular pair of user-ratings in the particular pair matrix by using the particular pair of user-ratings as an index to the particular pair matrix; and
incrementing a value of the cell that corresponds to the particular pair of user-ratings.

14. One or more non-transitory computer-readable storage media as recited in claim 9, wherein the instructions, when executed by the one or more processors, cause the one or more processors to perform filtering out non-significant rating correlations of unique pairs of items.

15. One or more non-transitory computer-readable storage media as recited in claim 9, wherein the media content comprises any of network television programming, cable television programming, films, pay-per-view television programming, and video.

16. One or more non-transitory computer-readable storage media as recited in claim 9, wherein the list of correlated items comprises at least one item rated by the user and at least one item unrated by the user.

17. A server apparatus comprising:
a network connection mechanism coupled to server receiving logic and server sending logic;
the server receiving logic configured to periodically receive, at a server in communication with a plurality of clients over a network connection, a list of user-rated items from each client of the plurality of clients, the user-rated items being associated with media content, the user-rated items in a list of user-rated items from a client of the plurality of clients being rated by a user of the client, the user-rated items in lists of user-rated items from other clients of the plurality of clients being rated by other users of the other clients, the lists of user-rated items stored in a manner that is anonymous with respect to the user and the other users, and the lists of user-rated items aggregated into an aggregated list of items;
server storage logic configured to store, by the server, for each unique pair of items of a plurality of unique pairs of items from the aggregated list of items, a pair of user-ratings for the unique pair of items in a pair matrix;
server filtering logic configured to filter user-rated items from the aggregated list of items based on frequency by monitoring frequency of the user-rated items and discarding items with corresponding user-ratings that do not satisfy a threshold frequency;
a server engine configured to:
compute, by the server, for each pair matrix of a plurality of pair matrices, a rating correlation between items of the unique pair of items; and
compile, by the server, a list of correlating items using the rating correlations;

the server sending logic configured to periodically send, from the server to the client, the list of correlating items.

18. The server apparatus of claim 17, wherein the plurality of clients comprise a plurality of video recording clients.

19. The server apparatus of claim 17, wherein the user-rated items received from the client include each item rated by the user of the client and the corresponding rating assigned by the user.

20. The server apparatus of claim 19, wherein the corresponding rating assigned by the user is assigned according to a scalar system of discrete ratings.

21. The server apparatus of claim 17, wherein the server storage logic is configured to store a particular pair of user-ratings for a particular unique pair of items in a particular pair matrix by:
retrieving the particular pair of user-ratings for the particular unique pair of items;
determining whether the particular pair matrix storing user-ratings for the particular unique pair of items exists;
creating the particular pair matrix for the pair of items if the particular pair matrix does not exist;
locating a cell that stores the particular pair of user-ratings in the particular pair matrix by using the particular pair of user-ratings as an index to the particular pair matrix; and
incrementing a value of the cell that corresponds to the particular pair of user-ratings.

22. The server apparatus of claim 17, further comprising server filtering logic configured to filter out non-significant rating correlations of unique pairs of items.

23. The server apparatus of claim 17, wherein the media content comprises any of network television programming, cable television programming, films, pay-per-view television programming, and video.

24. The server apparatus of claim 17, wherein the list of correlated items comprises at least one item rated by the user and at least one item unrated by the user.