Graph Convolutional Matrix Completion
Paper · 2017 · Rianne van den Berg, Thomas Kipf and Max Welling
Summary
A recommender system frequently has to predict what someone would think of an item they have never rated. The available evidence is scattered across people and items. A user may have rated only a few films, while those films have ratings from other viewers whose tastes differ. Graph Convolutional Matrix Completion, or GC-MC, represents this evidence as a network. Users and items occupy opposite sides of the network, and each recorded rating joins a user to an item. The rating value labels the connection. A blank in the rating table becomes a pair for which the system needs to predict a label.
The authors build a graph auto-encoder, a system that reads the known connections and learns to reconstruct their labels. Each node receives messages from its neighbors. The message sent by a film to a viewer depends on the rating that viewer gave it. The same connection also lets the viewer send a message to the film. Combining these messages gives each user and item a numerical representation. A decoder uses the two representations to estimate a probability for each possible rating, then averages the rating values using those probabilities. The encoder and decoder learn together from the recorded ratings.
GC-MC can also use information that comes from outside the rating table. A separate branch can incorporate details such as film genres or connections among users. The paper reports lower test error than the comparison methods on MovieLens 100K, even for the version that uses ratings alone. On MovieLens 1M and 10M, the method operates near the strongest collaborative filtering baselines considered. The authors also report the best results among their comparisons on Flixster, Douban, and YahooMusic, where additional graphs provide information about users or items.
A separate MovieLens 100K experiment removes most of the training ratings for selected users. User and item features help most clearly when many of those users have only a single retained rating. This is evidence about sparse histories among users in a known dataset. The larger MovieLens runs establish a different point. The authors can train on MovieLens 10M by processing a batch of ratings at a time, while keeping the prediction of a rating a direct calculation from the corresponding user and item representations.
Deep dive: Graph Convolutional Matrix Completion
Graph Convolutional Matrix Completion predicts missing user ratings by passing messages on a user–item graph and can incorporate side information. · about 35 minutes to read
The problem and its context
What a blank in the rating table means
A rating table has a row for each user and a column for each item. Where a user has rated an item, the cell records the value. A recorded low rating and a blank cell carry different information. A low rating says how the user evaluated an item. A blank says that the table contains no observation for that pair. The paper uses 0 to mark such a blank in its illustration, where the recorded ratings range from 1 to 5. That convention matters throughout the method. A blank produces neither a message in the encoder nor a training target for the decoder.
The paper approaches recommendation as a problem of estimating the missing entries. For a movie, ratings from its viewers can provide evidence about how another viewer might respond. That viewer’s ratings of other films provide evidence from the other direction. The challenge is to combine both sources even though the paths by which evidence arrives vary across the table. One film might have many recorded ratings, another very few. The people who rated a film may also have given it quite different scores. An approach that relies on collective behavior needs to represent the number of available observations and the distinctions among them.
The authors describe two broad traditions. A content-based approach takes facts about users and items as input. An occupation can be a user attribute, for instance, and a genre can describe a film. Collaborative filtering uses the collection of interactions to make predictions. It can learn a distinction between users who have similar profiles but different rating histories. Its evidence is thin where users or items have very few interactions. The paper treats side information, the term for information supplied in addition to the ratings, as a way to give the prediction another basis in such cases.
Why represent the table as a graph
The table and the graph describe the same observed ratings. A cell with a rating corresponds to an edge carrying that rating’s value. A row and a column correspond to the nodes at the ends of the edge. Because a rating always connects a user and an item, the graph is bipartite. Its nodes fall into two groups, and the interaction edges run between those groups. In this representation, estimating a missing entry means predicting a labeled connection between a user and an item.
The graph representation makes the first operation easy to describe. A film can collect information from the users who rated it, and a user can collect information from the films they rated. The rating value can affect what passes along each connection. Two users who rated the same film are still nodes of the same kind, so there is no direct edge between them in the rating graph. Their respective ratings can nonetheless contribute to a shared representation of that film. If a separate social graph supplies links among users, those links remain a different source of evidence, with their own interpretation.
The authors credit earlier work with making the connection between bipartite link prediction and recommendation. They characterize previous graph-based recommenders as commonly using a pipeline. One stage extracted information from the graph, and a separately trained stage used that information to predict links. GC-MC makes the extraction step part of the same learning problem as rating prediction. When the system assigns little probability to a correct rating, the resulting error can change how it gathers and transforms information from the graph as well as how it scores the user–item pair.
The graph convolution draws on earlier work in which a learned operation is reused at different locations in a graph. Applying one operation across locations allows the system to work with neighborhoods whose sizes and membership vary. The paper places its encoder in this line of work and describes the passage of vectors between neighbors in the vocabulary of message passing. Its connection to that line is about the form of the computation. The particular messages in GC-MC depend on the labels of the rating edges. Neural Message Passing for Quantum Chemistry
What rating predictors already did
Matrix factorization already gave recommenders a way to learn representations of users and items. It searches for a low-rank approximation of the ratings. The idea is that a comparatively short vector for each user and each item can describe enough of the variation in the data to estimate unobserved entries. The basic prediction combines a user vector and an item vector through an inner product. Probabilistic matrix factorization, as described in the paper, uses Gaussian noise assumptions that lead to a squared error objective over the recorded ratings. BiasedMF adds offsets for the user, the item, and the dataset as a whole.
Other factorization approaches make that relationship more flexible. Neural network matrix factorization passes the two latent representations through a feed-forward network. Local low-rank approximation combines different low-rank estimates for different entries. The paper also discusses matrix completion through a convex alternative to rank minimization. That alternative uses the nuclear norm, which adds the singular values of a matrix. These approaches frame missing-rating prediction primarily through the properties of the reconstructed table and the representations that produce it.
Auto-encoders offered another route. AutoRec takes a partially filled rating vector, compresses it to a latent representation, and reconstructs the ratings, with squared error measuring the reconstruction. The vector can describe a user’s ratings across items or an item’s ratings across users. The choice fixes which kind of entity is represented by the encoder. The GC-MC authors use this observation to explain a relationship between the methods. Information flow from items to users alone resembles a user-based encoder. The reverse direction resembles an item-based encoder. GC-MC learns representations on both sides and uses a pair of them for each prediction.
The paper gives CF-NADE a similar interpretation while identifying differences in how it handles input. In the encoder described by the authors, unrated items receive a default value of 3, which amounts to filling in links for the purpose of that computation. A random ordering and cut determine which incoming information is retained during training. The authors view this as a form of denoising, in which the system learns with part of the input hidden. GC-MC also uses denoising. Its starting graph contains the observed edges, and its main dropout operation suppresses messages from whole nodes during training.
Where additional information enters
Inductive matrix completion uses user and item features directly in a factorized prediction. Geometric matrix completion uses graphs of users and items to constrain the completed table. The graph-regularized method GRALS focuses on making that optimization more efficient. These approaches show that side information about a recommendation problem can be useful even when it has a different structure from the rating table.
The recurrent graph approach of Monti and colleagues is especially close to GC-MC in the paper’s account. It applies graph convolutions to side information and uses a recurrent computation in the rating generation process. GC-MC assigns the graph convolution a different job. It runs directly on labeled interactions, creates a representation for each endpoint, and lets the decoder score a requested pair in a single pass. Additional graphs can contribute features to those representations. The placement of the convolution is central to the distinction. Working on a user similarity graph means gathering evidence from other users. Working on the rating graph means a user gathers evidence from items, with the recorded rating determining how each edge is processed.
The method, step by step
From a recorded rating to a predicted one
Start with a user and a film that the user has never rated. The encoder can still build a representation of the user from their other rated films and a representation of the film from its other viewers. Each of those observed edges brings a value along with it. The encoder uses the value to choose a transformation for the message. It then collects the transformed messages at their destinations, producing a summary for every user and item represented in the interaction graph.
For a prediction, the decoder takes the representations at the two endpoints and gives each candidate rating a score. A softmax turns those scores into probabilities that sum to one. Training rewards probability assigned to the recorded rating. Evaluation on a held-out rating uses a numerical prediction formed from the distribution. These operations make it possible to train with discrete targets and still return a prediction between rating levels.
How GC-MC predicts a rating
The steps in order.
The graph and the encoder’s inputs
In the paper’s notation, the rating matrix M has Nᵤ rows and Nᵥ columns. The subscripts distinguish the number of users from the number of items. Its cell Mᵢⱼ records the rating given by user i to item j, or the marker for a missing entry. The graph notation keeps the possible ratings separate from the edges that actually occur.
G = (𝒲, ℰ, ℛ)
Here G is the undirected interaction graph. 𝒲 contains all user and item nodes, ℰ contains the edges, and ℛ is the set of possible rating values. Each edge specifies its user endpoint, its item endpoint, and the value observed for that pair. The labels are ordinal because the values have a natural order.
It is useful to separate the graph into a binary matrix for each rating value. The matrix for a particular value has a one wherever that value was observed and a zero elsewhere. A pair with an observed rating appears in the matrix for that rating. A pair with a blank entry appears in none of the matrices. This arrangement gives the encoder a distinct input channel for each kind of observed edge while keeping the two endpoints in the same positions across channels.
The paper first describes an ordinary graph auto-encoder to establish the roles of encoder and decoder.
Z = f(X, A)
X is the input feature matrix, with one row for each of the N nodes and D input coordinates per row. A is the graph’s adjacency matrix, which encodes the connections. The encoder f returns Z, a matrix with a row per node and E learned coordinates per row. A row of Z gives the embedding of its node, meaning the vector that represents that node for the decoder.
Ǎ = g(Z)
g is the decoder, Z supplies the embeddings, and Ǎ contains the predicted adjacency entries. To calculate an individual entry, the decoder reads the embeddings for the corresponding pair. The original A supplies examples of adjacency. The checked Ǎ denotes the reconstruction.
In recommendation, the encoder has separate blocks of output for users and items and separate inputs for rating types.
[U, V] = f(X, M₁, …, Mᵣ, …, Mᴿ)
U contains the user embeddings and has Nᵤ rows, while V contains the item embeddings and has Nᵥ rows. Both have E coordinates per embedding. f is the rating-graph encoder and X supplies its initial node features. M₁ is the adjacency for the first rating channel, Mᵣ represents the channel for a generic rating r, and Mᴿ here denotes the final channel indexed by R. The ellipses stand for the other rating channels. Each of these matrices has the rectangular shape of M.
M̌ = g(U, V)
M̌ represents the reconstructed ratings over user–item pairs. g is the recommendation decoder, and U and V provide the embeddings on which it operates. The equation describes the shape of the overall reconstruction. The implementation can calculate the entries it needs for the current loss or evaluation.
Messages are specific to the rating
The first layer transforms the feature vector at the source of each message. Suppose item j sends a message to user i along an edge labeled with rating r. The paper defines the message as follows.
μⱼ→ᵢ,ᵣ = Wᵣ xⱼ / cᵢⱼ
μⱼ→ᵢ,ᵣ is the vector sent from item j to user i on a rating-r edge. The arrow indicates the direction of this particular calculation. xⱼ is the item’s initial feature vector, Wᵣ is the trainable transformation for that rating channel, and cᵢⱼ is a scalar used to normalize the message. A message from a user to an item is calculated in the same way, using the user’s feature vector as the input.
An observed edge supports a computation in both directions because it contains information about both endpoints. When an item sends to a user, it contributes evidence about the user’s history. When the user sends to the item, the user contributes evidence about the item’s viewers. The underlying edge remains undirected. The calculation has a source and a destination each time it runs. The same rating-specific transformation can be reused wherever an edge has that label, so the graph convolution shares its parameters across locations.
A node’s degree is the number of its neighbors. The authors consider two ways to use those counts in the normalization.
cᵢⱼ = |𝒩ᵢ|
Here 𝒩ᵢ is the set of neighbors of receiving node i, and the bars indicate the size of the set. cᵢⱼ is the denominator for a message sent by j to i. In left normalization, all messages into the same node are scaled by the receiver’s degree, even when the senders have different degrees.
cᵢⱼ = √(|𝒩ᵢ| |𝒩ⱼ|)
Here 𝒩ᵢ and 𝒩ⱼ are the neighbor sets of the receiving and sending nodes. The denominator cᵢⱼ is the square root of the product of their degrees. This is symmetric normalization because reversing the direction of the message leaves this factor unchanged. The source vector and destination can still differ between the two directions. In both choices, the degrees describe the neighborhood across the observed rating types.
Normalization affects the relative size of contributions arriving at a node. With left normalization, adding neighbors dilutes each individual message through the larger denominator. With symmetric normalization, the source’s connectivity matters as well. From the perspective of a particular user, two films connected by the same rating label may therefore contribute at different scales if their numbers of viewers differ. The authors choose between these forms through validation.
Combining incoming evidence
A node may have neighbors under several rating labels. The encoder first adds messages within each label and then puts the resulting vectors together. A node with no observations of a given rating has no message contribution in that channel.
hᵢ = σ(accum(Σⱼ∈𝒩ᵢ,₁ μⱼ→ᵢ,₁, …, Σⱼ∈𝒩ᵢ,ᴿ μⱼ→ᵢ,ᴿ))
hᵢ is the intermediate representation of node i. 𝒩ᵢ,₁ is its set of neighbors joined by edges in the first rating channel, and 𝒩ᵢ,ᴿ is the corresponding set for the final channel, indexed by R. Each Σ adds the incoming messages μ over the sending nodes j in the indicated neighbor set. The ellipsis includes the sums for the intervening channels. accum combines the channel vectors, and σ applies an activation function to the resulting coordinates.
The authors try stacking and summation for accum. Stacking concatenates the channel vectors. The next layer can then act differently on different positions in the concatenation, including positions associated with particular rating values. Summation adds the channel vectors coordinate by coordinate. The rating still matters because it already determined the message transformation, but the individual channel totals no longer occupy separate positions once they have been added. These choices alter how the convolution presents its evidence to the next layer.
ReLU(t) = max(0, t)
ReLU is the rectified linear activation, t is a scalar coordinate, and max selects the greater of 0 and t. This operation is applied separately to each coordinate. The authors use ReLU after the graph convolution in the reported default setup.
A dense layer, which applies a learned matrix to the coordinates of the intermediate vector, produces the final representation.
uᵢ = σ(W hᵢ)
uᵢ is the embedding of user i, hᵢ is the result of aggregating messages at that user, W is the trainable dense transformation, and σ is the output activation in the general formulation. An item embedding is obtained by applying the analogous operation to the item’s intermediate vector. In the general architecture, the dense transformation can be shared across the two sides. The variant with user and item side information can use distinct parameters. In the default experimental settings the dense output has no activation, even though the general equation allows one.
The reported architecture uses a graph convolution followed by a dense layer. Accordingly, a user’s convolution directly collects features from adjacent items, and an item’s convolution directly collects features from adjacent users. The dense transformation changes coordinates at a node. It leaves the graph neighborhood used by that representation at the same reach. Earlier work motivates the use of locally shared graph operations, including the approach in Semi-Supervised Classification with Graph Convolutional Networks.
Keeping identity and side information available
The interaction branch takes an identity matrix as its input in the experiments. Each node has a distinct one-hot vector, with a single active coordinate identifying that node. Multiplying this vector by a rating-specific transformation selects a column of that transformation. Each column can therefore be understood as a latent factor for the corresponding sending node under that rating. Its role is to supply information to the node across the edge. The sender’s own final embedding is produced by aggregating messages it receives.
The general encoder can take attributes as its input features. The authors point out a risk when the attributes are too coarse to distinguish users or items with different behavior. If several films have the same descriptors, supplying those descriptors alone to the interaction branch can make their outgoing messages hard to distinguish. The reported design preserves identity in that branch and adds attributes later. This gives the rating history and the auxiliary information different routes into the final representation.
fᵢ = σ(W₁ᶠ xᵢᶠ + b)
xᵢᶠ is the side feature vector for node i. W₁ᶠ transforms those features, b is a learned bias vector, σ is the activation, and fᵢ is the resulting side representation. The superscript f marks parameters or inputs belonging to the feature branch. The paper allows distinct transformations and biases for users and items, whose feature vectors can describe different kinds of information.
uᵢ = σ(W hᵢ + W₂ᶠ fᵢ)
uᵢ is the final user embedding and hᵢ comes from the interaction graph. W maps that interaction representation, and W₂ᶠ maps the auxiliary representation fᵢ into compatible coordinates. The sum combines the branches before the activation σ in the general formulation. For an item the calculation has the same form, using the appropriate item features and parameters.
The feature branch can also receive a vector made from a separate graph. The paper uses a node’s adjacency row, divided by its degree, as the feature vector in the experiments with user or item graphs. A dense transformation of that row combines learned quantities associated with the node’s auxiliary neighbors. With a single dense feature layer, this realizes an operation analogous to graph convolution on the auxiliary graph, using row normalization. The rating graph still determines the messages in the interaction branch. A graph of relationships among users thus contributes information through a different operation from the user–item rating edges.
Scoring a user–item pair
Once the encoder has produced the two embeddings, the decoder uses a separate bilinear score for each rating. Bilinear means that the score is linear in either endpoint’s vector if the other endpoint is held fixed. A learned matrix for each rating specifies how coordinates of the user and item embeddings interact. The decoder passes the scores through a softmax.
pᵢⱼ(r) = exp(uᵢᵀ Qᵣ vⱼ) / Σₛ∈ℛ exp(uᵢᵀ Qₛ vⱼ)
pᵢⱼ(r) is the assigned probability of rating r for user i and item j. uᵢ and vⱼ are their embeddings, and ᵀ transposes the user vector for multiplication. Qᵣ is the decoder matrix for rating r, with E rows and E columns for embeddings of size E. exp is the exponential function. In the denominator, s runs over all rating values in ℛ, Qₛ is the matrix for rating s, and Σ adds the corresponding exponentials. The denominator makes the probabilities for the pair sum to one.
A decoder that selected the most probable class would always report an available rating level. The paper instead uses the mean of the predicted distribution.
M̌ᵢⱼ = g(uᵢ, vⱼ) = Σᵣ∈ℛ r pᵢⱼ(r)
M̌ᵢⱼ is the numerical prediction in the reconstructed rating matrix. g is the decoder for the pair of embeddings uᵢ and vⱼ. The sum runs over rating values r in ℛ, multiplying each numerical value by its probability pᵢⱼ(r). The resulting prediction can fall between the recorded levels. The distribution gives the training objective a probability for the observed class, while its mean gives evaluation a scalar that can be compared with the observed rating.
Sharing parameters across rating levels
Identity inputs make it possible for the encoder to learn different message contributions for different nodes, but the resulting parameters receive uneven amounts of evidence. A film rated frequently at one level can appear seldom at another. With unrelated transformations per rating, the column corresponding to that film in the less common channel would be selected less frequently. The paper draws on ordinal weight sharing from prior work to give neighboring levels some parameters in common.
Wᵣ = Σₛ₌₁ᵣ Tₛ
Wᵣ is the encoder transformation for rating level r. Tₛ is a learned matrix for position s in the ordered set of rating channels. The sum starts at 1 and runs through r. As a consequence, the transformation for a higher channel includes the components used for a lower channel along with additional components. The numeric order fixes the sharing pattern. Individual matrix entries can still take either sign, and the cumulative parameterization by itself gives no ordering guarantee for the final predictions.
The decoder uses a different sharing arrangement. Its rating-specific matrices are combinations of a smaller set of learned basis matrices.
Qᵣ = Σₛ₌₁ⁿᵇ aᵣₛ Pₛ
Qᵣ is the bilinear matrix for rating r, Pₛ is the basis matrix indexed by s, and aᵣₛ is the learned coefficient of that basis matrix for rating r. The sum runs from 1 to nᵇ, the number of basis matrices. The basis is shared while each rating has its own coefficients. Choosing fewer basis matrices than rating classes reduces the number of separate matrix parameters and limits the freedom of each class to fit the training ratings independently.
Learning from observed entries
Training minimizes negative log likelihood. The observed rating identifies the class whose probability enters the loss. A binary mask identifies the pairs with observed training labels.
ℒ = −Σᵢ,ⱼ: Ωᵢⱼ₌₁ Σᵣ₌₁ᴿ 𝟙[r = Mᵢⱼ] log pᵢⱼ(r)
ℒ is the total training loss. The outer sum covers user index i and item index j wherever the observation mask Ω has Ωᵢⱼ equal to 1. The inner sum runs from the first rating class through R, the number of classes in the ordered indexing used by the paper. 𝟙 is an indicator that equals 1 when its condition holds and 0 otherwise. Mᵢⱼ is the observed value, pᵢⱼ(r) its pair’s predicted probability at rating r, and log is the logarithm. The leading minus sign makes a low probability for the observed class yield a larger penalty.
This loss can be understood as one contribution per observed training edge. The other classes influence the softmax denominator, but their indicator values in the loss are zero. A missing cell contributes no observed rating class. The same recorded interactions are the basis for the input graph and the targets used for reconstruction during training. Held-out ratings serve a different role. They supply answers for measuring whether the learned system can generalize beyond the edges available in training.
To reduce reliance on particular inputs, the authors apply node dropout. During training, they randomly suppress the outgoing messages of a selected node together, with probability p_dropout, and rescale the remaining messages. A film selected for dropout temporarily ceases to contribute to its neighboring users through those outgoing messages. This can affect several receiving nodes at the same time. The suppression concerns encoder messages. The training mask continues to determine which observed ratings contribute to the loss. The authors also apply ordinary dropout to hidden units.
Performing the calculation on a sparse graph
Though the complete rating table can contain many possible user–item pairs, the encoder needs to traverse only the observed interactions. The paper expresses the calculation using sparse matrix multiplication. A matrix is sparse here because the entries that represent observed edges occupy only part of the array. The matrices for individual rating types can be expanded so that each one addresses both sides of the graph.
ℳᵣ = [[0, Mᵣ], [Mᵣᵀ, 0]]
ℳᵣ is the square adjacency for rating channel r, organized with users first and items second. Mᵣ is the rectangular user-by-item adjacency for that rating and Mᵣᵀ is its transpose. The outer brackets collect two block rows, and the inner brackets give the blocks in each row. The diagonal 0 blocks have no within-user or within-item edges. The off-diagonal blocks encode the same interactions in both directions.
stack(Hᵤ, Hᵥ) = σ(Σᵣ₌₁ᴿ D⁻¹ ℳᵣ X Wᵣᵀ)
Hᵤ and Hᵥ hold the intermediate rows for users and items, and stack places the user rows above the item rows. σ applies the activation. Σ adds the rating-channel contributions indexed by r from 1 through R. D in this formula is the diagonal degree matrix, and D⁻¹ expresses left normalization by the degree for nodes with non-zero degree. ℳᵣ selects adjacent rows in the input feature matrix X. The transpose Wᵣᵀ applies the channel transformation to features arranged as rows. This equation is the vectorized version that sums the transformed channels. The authors also use concatenation in place of the channel sum.
stack(U, V) = σ(stack(Hᵤ, Hᵥ) Wᵀ)
U and V contain the final user and item embedding rows. stack joins the indicated user and item blocks vertically, Hᵤ and Hᵥ are their intermediate rows, Wᵀ is the transpose of the dense transformation, and σ denotes the activation in the general equation. The same row computation can be adapted to symmetric normalization. The graph operations scale with the number of observed edges for fixed layer widths. The decoder can also be evaluated only for selected user–item pairs, so training need not materialize the full reconstructed table.
Training with a full batch takes the observed training ratings together for a loss update. In mini-batch training, an update samples a fixed number of observed ratings and includes only the corresponding loss contributions. The authors reduce the encoder calculation by leaving out the target rows for users and items absent from the current batch. The embeddings for endpoints involved in the batch still get their evidence from the relevant observed neighborhoods. This distinction matters because the loss depends on selected pairs, while a pair’s embeddings can depend on other observations in the training graph. Reducing the work for each update makes the MovieLens 10M run fit in GPU memory.
Experiments and results
How the tests are organized
The evaluation covers MovieLens at several sizes and also uses Flixster, Douban, and YahooMusic. Across these datasets, the task is to predict values of ratings that have been set aside. Some experiments use the ratings as the only evidence about user preferences and items. Other experiments also supply profile attributes or auxiliary graphs. The tests therefore ask related but distinct questions. One is whether representations learned from rating edges compete with established collaborative filtering methods. Another is whether a separate feature branch can use additional information effectively. The largest MovieLens run also tests the practicality of training on a larger rating graph.
The reported metric is root mean square error, abbreviated RMSE. For the ratings being evaluated, the error for each pair is the predicted numerical rating minus the observed one. Squaring these errors, averaging them, and taking the square root gives RMSE in rating units. Lower values indicate better predictions by this measure, with larger individual misses receiving more weight through the squaring step. This metric evaluates the mean rating produced by the decoder. The training loss evaluates probability at the observed rating. Consequently, a configuration can be judged by how well its numerical predictions generalize even though it trained on a classification objective.
The authors select the aggregation operation, normalization, use of ordinal encoder sharing, and dropout through validation. The candidate dropout rates are 0.3, 0.4, 0.5, 0.6, 0.7, and 0.8. The default optimizer is Adam with learning rate 0.01. The graph convolution has width 500 with ReLU, and the dense embedding has width 75 with no activation at its output. The default decoder uses 2 basis matrices. Test predictions use an exponential moving average of the learned parameters, with decay 0.995. This averaging smooths the parameter values used at evaluation across training updates. Adam: A Method for Stochastic Optimization
MovieLens 100K with and without features
The MovieLens 100K experiment uses the canonical u1.base and u1.test split, described as an 80/20 training and test split. Within the original training set the authors use another 80/20 separation for choosing hyper-parameters. The two splits have different roles. The first determines the held-out ratings used for the reported score. The second keeps tuning decisions within the training portion of that evaluation protocol.
The auxiliary inputs describe users and movies. User attributes include age, gender, and occupation, while movie genres provide item attributes. GC-MC+Feat uses these attributes as vectors. GC-MC, the ratings-only version, uses the same interaction task without that feature branch. Some comparison methods, including GMC, GRALS, and sRGCNN, represent user or item attributes through graphs of nearest neighbors in feature space. These baselines and GC-MC+Feat thus have access to corresponding kinds of information but use different representations and prediction procedures.
The two GC-MC variants use stacked messages, left normalization, and dropout 0.7. The feature branch of GC-MC+Feat has 10 hidden units with ReLU. Each version is trained for 1,000 full-batch epochs. The test RMSE is averaged over 5 runs with different random initializations. The reported standard error is less than 0.001, a measure of variation in the estimated average across those runs.
The authors report that GC-MC outperforms the related methods in this comparison even when it uses ratings alone. The result places substantial weight on the construction of representations from the interaction graph. The feature version is part of the same experiment, but the overall comparison with other methods changes several ingredients at once. For example, sRGCNN applies its graph computation to nearest-neighbor graphs and uses a recurrent procedure. The comparison establishes an outcome for the complete systems on this benchmark. The cold-start analysis makes the contribution of auxiliary features easier to examine because it varies the amount of rating evidence available within the GC-MC framework.
MovieLens 1M and 10M using ratings alone
The larger MovieLens tests exclude side information and compare against ratings-only collaborative filtering methods. The named baselines are AutoRec, LLorma, and CF-NADE. For CF-NADE, the comparison uses its strongest reported variant. The authors reuse the five 90/10 training and test splits used in the CF-NADE work, and they use a 95/5 separation inside the training set to validate choices. The resulting average test RMSE therefore summarizes performance across shared splits, rather than across alternate initializations of the single canonical split used for MovieLens 100K.
MovieLens 1M uses summation to accumulate channels, symmetric normalization, and dropout 0.7. The authors run 3,500 full-batch epochs. MovieLens 10M uses stacking, symmetric normalization, and dropout 0.3. The latter dataset has twice the number of rating classes in the authors’ comparison, and its decoder uses twice the default number of basis matrices. Its training uses 18,000 mini-batch iterations, corresponding to 20 epochs with batch size 10,000.
The authors describe the test RMSE on these datasets as competitive with the strongest user-based or item-based methods. The wording matters because the paper claims proximity to those baselines in this ratings-only setting. The larger experiments also show that the encoder and decoder can be trained together when the rating graph is too large for the authors’ full-batch implementation. Batch updates change which loss contributions are processed together while leaving the decoder’s prediction for a pair in the same form.
The paper identifies several features of CF-NADE that could be combined with this framework in principle. These include different learning rates for different layers, a loss that explicitly uses rating order, and autoregressive prediction, in which the prediction of ratings is organized through a sequence. The larger MovieLens comparison evaluates the reported GC-MC configuration. It gives no measurement of what a combination of these choices would achieve.
Flixster, Douban, and YahooMusic with auxiliary graphs
The three graph-side-information datasets use preprocessed data distributed with the work by Monti and colleagues. The chosen subsets contain 3000 users and 3000 items, and come with graphs for users or items where those are available. These graphs are inputs in addition to the recorded ratings. For each applicable node, GC-MC takes an adjacency vector normalized by degree and passes it to the auxiliary branch. The comparison reuses the benchmark setting from the previous work.
The authors choose a common configuration across these datasets. Dropout is 0.7, the dense side feature layer uses 64 hidden units with ReLU, and the interaction branch stacks the rating channels with left normalization. Training runs for 200 epochs. The authors set aside an 80/20 split within the original training data for hyper-parameter selection and then train on the full original training set for final evaluation. Test RMSE is averaged over 5 runs. Flixster is reported in two forms, with the user graph alone and with both user and item graphs.
The paper reports the strongest results among the compared methods on all three datasets. This is evidence that the feature branch can use graph-derived information under the tested conditions. In all three cases the central prediction remains a direct operation on the user and item embeddings. The auxiliary information enriches the embeddings before that step. The comparison does not assign the improvement to a single architectural decision, since the methods also differ in how they process the rating and auxiliary graphs.
What the reported numbers establish
The quantitative protocol varies across the experiments. On MovieLens 100K, 5 initializations give repeated measurements on a fixed test split. On the larger MovieLens datasets, the reported averages use five training and test splits. In the experiments with auxiliary graphs, the test results again average 5 runs. These descriptions specify how the authors produced the estimates and what the comparison conditions were. They are also the reason to interpret each result within its own benchmark and split.
The paper describes its numerical comparisons through RMSE tables and gives the direction of the main findings in its discussion. The account of those findings supports the comparative conclusions above. Individual RMSE values are needed to state the margins over specific baselines. The 0.001 figure for MovieLens 100K is a bound on standard error across runs, so it cannot stand in for a test score or a margin between methods.
What the ablations show
Side information when rating histories are thin
The clearest controlled comparison asks whether features help more when users have very few observed ratings. The authors use MovieLens 100K, where the original dataset contains users with at least 20 ratings. They simulate sparse histories by selecting users with a fixed random seed and removing most of those users’ training ratings. They call the number of affected users N_c and the number of retained training ratings for each affected user N_r. This creates sparse histories inside a familiar benchmark while leaving the canonical test set in place.
The experiment tests retained budgets of 1, 5, and 10 ratings. It varies the number of affected users over 0, 50, 100, and 150. At each setting it compares versions with and without user and item features. The 0 setting provides the condition with no users subjected to this intervention. The chart shows the retained training evidence per selected user in the other conditions. Its bars count observations supplied to the system.
Retained training ratings per selected user in the MovieLens 100K cold-start analysis
The GC-MC settings range from a single observed rating to a larger retained history for each selected user.
The numbers
| System or setting | observed training ratings per selected user |
|---|---|
| GC-MC with the smallest retained history | 1 |
| GC-MC with the intermediate retained history | 5 |
| GC-MC with the largest retained history (this paper) | 10 |
The outcome is RMSE on the complete canonical MovieLens 100K test set, averaged over 5 runs with random initializations. Standard error is below 0.001. The authors find the clearest advantage for side information when many selected users have only one retained rating. The comparison reflects the information paths in the encoder. The main branch has fewer item messages from which to form an affected user’s representation. User attributes still reach the embedding through the feature branch. Item features can also contribute to the other endpoint used for prediction.
Several choices define the scope of this result. Test scores are computed over the full test set, which includes ratings from users outside the selected group. A change in the reported aggregate is therefore a system-level effect of introducing more sparse users or reducing their rating evidence. The study does not report a separate error for the affected users alone. The feature comparison switches user and item features together, so the gain cannot be attributed independently to the user attributes or the item attributes.
Depth, dropout, and batch size
The authors report that stacking several graph convolution layers did not improve performance in their initial experiments. They settled on a convolution followed by a dense layer. Additional graph convolutions would permit information to travel through additional steps on the rating graph, while a dense layer transforms the already collected evidence locally. The result is a reason for the reported architectural choice. The paper gives no depth-by-depth scores or conditions that would establish how that comparison changes with graph size or side information.
The authors also compare node dropout with independent message dropout in initial experiments. Dropping one message suppresses one sender’s contribution to one receiver. Dropping the outgoing messages of a node together removes that source from all its receivers for the draw. The authors report that this grouped operation regularizes more effectively. The comparison supports using the group of messages associated with one user or item as a unit of corruption. It does not quantify the size of the effect on particular benchmarks.
MovieLens 1M provides a check on the use of mini-batches. The authors report comparable results for mini-batches and full batches when they adjust the regularization settings. Full batches converged faster in their setting, so they use full batches for the other datasets that fit and mini-batches for MovieLens 10M. The comparison establishes that smaller updates need not cost much predictive performance after tuning in the tested MovieLens 1M setup. It leaves open how the comparison would look with identical regularization or a different memory and computation budget.
Choices made through validation
The paper varies summation versus stacking, left versus symmetric normalization, and use of ordinal encoder sharing during configuration selection. Different experiments use different settings. For example, the larger MovieLens tests both use symmetric normalization but do not use the same aggregation operation. That pattern documents the configurations used to obtain the reported results. It does not by itself give an effect size for changing one choice while holding the rest fixed.
The Flixster comparison exposes another relevant input variation because it considers the user graph alone and the user and item graphs together. This is a narrower question than comparing methods that use different architectures. It asks what happens when a particular kind of auxiliary evidence is made available to the same framework. The paper’s textual discussion gives the benchmark-level outcome for the graph-side-information datasets as a group. It gives no numerical account of the additional item graph’s contribution on Flixster. The MovieLens cold-start experiment is the analysis for which the authors state most clearly where additional inputs help.
Limitations
Limits the authors identify
The authors present the message function as one simple design choice. In the reported system the source vector is transformed by a rating-specific matrix, and its message is scaled according to degree. The authors propose using a learned nonlinear function of the sending node, the receiving node, and the rating instead. They also suggest attention, which would let the system learn how much individual messages contribute. That proposal changes the weight of a message according to more than the degrees of its endpoints. The experiments establish performance for the fixed normalization choices, while attention remains a direction for further work. Neural Machine Translation by Jointly Learning to Align and Translate
The paper also identifies a bottleneck that can arise if the graph convolution receives only limited attributes. Similar descriptions can hide differences in preferences among users or differences in appeal among items. The separate feature branch is the authors’ answer for the datasets they study. They describe richer cases in which texts, images, and additional graphs could be processed by modules suited to those inputs. The experiments use attribute vectors and adjacency-derived features. They leave the performance of a system combining large amounts of text, imagery, and interaction data as future work.
Scale remains an explicit concern. The authors use sparse operations and mini-batches to make the largest reported experiment feasible. They point to sub-sampling local neighborhoods as a possible approximation for larger applications. Mini-batching restricts the loss terms for an update and reduces the number of target rows required by the encoder. Sampling neighbors would go further by limiting how much of an active node’s neighborhood is read. Its effects on rating quality and resource use remain outside the reported evaluation. Inductive Representation Learning on Large Graphs
Limits that follow from the design of the tests
The cold-start analysis keeps some training ratings for each selected user. The sparsest condition retains 1. It establishes what happens when histories for known users become very short, with the same canonical test set used throughout. A new user with no rating edges poses another question. The interaction branch has no neighbor messages to assemble for such a user. Though the feature branch can supply information about the user, the experiment does not establish accuracy for that case. The paper also does not present a corresponding test that removes the rating histories of selected items.
There is a related distinction between missing edges and new nodes. Holding out a user–item rating asks whether the system can fill in an edge using representations built from the available data. The reported collaborative filtering configuration uses a distinct identity coordinate for each node already represented in the graph. Adding a wholly new node raises questions about how to provide identity-dependent parameters and what auxiliary information is available. The held-out rating splits do not measure generalization to a separate population of users or items.
RMSE measures the proximity of a scalar rating prediction to a known rating. It supports the comparison the authors set up, where methods share a test protocol and predict the same recorded values. It says less about a recommendation workflow that must choose which items to display. The paper does not evaluate the ordering of a top list, measure responses to recommendations actually shown to users, or test what happens to performance under changes in behavior over time. A prediction distribution can also have a suitable mean without giving an accurate account of uncertainty. The reported RMSE cannot establish how well the probabilities are calibrated.
The largest datasets support a claim about feasibility under the reported training procedure. The paper also argues that direct prediction from the embeddings is simpler computationally than iteratively estimating ratings. These points concern different parts of the cost. A bilinear score can be calculated directly once the embeddings are ready, while computing and updating those embeddings still requires graph operations. The experimental account gives the training schedule and describes the memory benefit of mini-batching. It does not give a matched timing or memory comparison across baselines that would quantify an end-to-end efficiency advantage.
Finally, the strongest benchmark comparisons are comparisons between complete systems. Their encoders, regularization, use of features, and prediction procedures differ. A good RMSE establishes how the combination performed under a given split and metric. The cold-start experiment gives more focused evidence for the contribution of features, and the preliminary comparisons motivate dropout and depth choices. The individual contributions of normalization, ordinal sharing, basis sharing, and the bilinear score remain less directly measured.
What came after
The later citations take the paper into three settings with different aims. A survey places it within research on neural computation over graphs. A recommendation paper connects that area to self-supervised learning. A later study cites it while considering graph-based approaches to human simulation. These connections have different levels of specificity. The recommendation paper shares GC-MC’s application area, while the survey and simulation work place it within broader discussions of what graph-based methods can represent.
The survey situates the contribution in the wider study of graph neural networks. GC-MC provides a concrete instance of using graph computation to answer a question about a pair of nodes. The convolution works over observed edges, and the final prediction concerns a user–item edge whose rating is unknown. This separates the graph used as evidence from the particular link the system is asked to score. The survey is a citation from the broader graph-network literature, with matrix completion furnishing one application through which to understand this pairing of an encoder and a link decoder. A Comprehensive Survey on Graph Neural Networks
The later recommendation study brings self-supervised graph learning to the application studied by GC-MC. Self-supervised learning concerns training signals derived from the data itself. In GC-MC the graph already has both an input role and a training role. Observed edges supply messages for creating representations, and their labels supply the reconstruction targets. Its node dropout changes which messages are available when that target is predicted. The later citation connects this earlier use of the interaction graph to research that explicitly foregrounds self-supervised graph learning for recommendation. The citation alone leaves the details of the architectural inheritance open. Self-supervised Graph Learning for Recommendation
The human simulation study cites GC-MC in the context of graph-based alternatives for representing human behavior. The connection is at the level of representation. In GC-MC, a person’s observed actions appear as labeled edges and affect that person’s embedding as well as the embeddings of the items involved. The prediction is a rating for a particular pair. That is a much narrower target than human simulation in general. The citation shows that the interaction-graph formulation enters the later discussion, while the available description leaves open which parts of the rating predictor the study adopts. Graph-Based Alternatives to LLMs for Human Simulation
Cite
Cite as Rianne van den Berg, Thomas Kipf and Max Welling. 2017. Graph Convolutional Matrix Completion. arXiv (Cornell University).
@misc{berg2017graph,
title = {{Graph Convolutional Matrix Completion}},
author = {Rianne {van den Berg}, Thomas Kipf and Max Welling},
year = {2017},
doi = {10.48550/arxiv.1706.02263},
eprint = {1706.02263},
archivePrefix = {arXiv},
url = {https://doi.org/10.48550/arxiv.1706.02263}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/berg-2017-graph-convolutional-matrix-completion/
References
- Dzmitry Bahdanau, Kyunghyun Cho, and Yoshua Bengio. Neural machine translation by jointly learning to align and translate. arXiv preprint arXiv:1409.0473, 2014. our card
- Joan Bruna, Wojciech Zaremba, Arthur Szlam, and Yann LeCun. Spectral networks and locally connected networks on graphs. arXiv preprint arXiv:1312.6203, 2013. our card
- Emmanuel Candes and Benjamin Recht. Exact matrix completion via convex optimization. Communications of the ACM, 55(6):111–119, 2012. OpenAlex ↗ · Scholar ↗
- Hanjun Dai, Bo Dai, and Le Song. Discriminative embeddings of latent variable models for structured data. In International Conference on Machine Learning (ICML), 2016. OpenAlex ↗ · Scholar ↗
- Michaël Defferrard, Xavier Bresson, and Pierre Vandergheynst. Convolutional neural networks on graphs with fast localized spectral filtering. In Advances in Neural Information Processing Systems, pages 3837–3845, 2016. our card
- David K. Duvenaud, Dougal Maclaurin, Jorge Iparraguirre, Rafael Bombarell, Timothy Hirzel, Alán Aspuru-Guzik, and Ryan P. Adams. Convolutional networks on graphs for learning molecular fingerprints. In Advances in neural information processing systems (NIPS), pages 2224–2232, 2015. our card
- Gintare Karolina Dziugaite and Daniel M Roy. Neural network matrix factorization. arXiv preprint arXiv:1511.06443, 2015. OpenAlex ↗ · Scholar ↗
- Justin Gilmer, Samuel S. Schoenholz, Patrick F. Riley, Oriol Vinyals, and George E. Dahl. Neural message passing for quantum chemistry. our card
- David Goldberg, David Nichols, Brian M. Oki, and Douglas Terry. Using collaborative filtering to weave an information tapestry. Communications of the ACM, 35(12):61–70, 1992. OpenAlex ↗ · Scholar ↗
- William L. Hamilton, Rex Ying, and Jure Leskovec. Inductive representation learning on large graphs. arXiv preprint arXiv:1706.02216, 2017. our card
- Prateek Jain and Inderjit S Dhillon. Provable inductive matrix completion. arXiv preprint arXiv:1306.0626, 2013. OpenAlex ↗ · Scholar ↗
- Vassilis Kalofolias, Xavier Bresson, Michael Bronstein, and Pierre Vandergheynst. Matrix completion on graphs. arXiv preprint arXiv:1408.1717, 2014. OpenAlex ↗ · Scholar ↗
- Diederik Kingma and Jimmy Ba. Adam: A method for stochastic optimization. arXiv preprint arXiv:1412.6980, 2014. our card
- Thomas N. Kipf and Max Welling. Variational graph auto-encoders. NIPS Bayesian Deep Learning Workshop, 2016. OpenAlex ↗ · Scholar ↗
- Thomas N. Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. ICLR, 2017. our card
- Yehuda Koren, Robert Bell, and Chris Volinsky. Matrix factorization techniques for recommender systems. Computer, 42(8):30–37, August 2009. OpenAlex ↗ · Scholar ↗
- Joonseok Lee, Seungyeon Kim, Guy Lebanon, and Yoram Singer. Local low-rank matrix approximation. In Sanjoy Dasgupta and David McAllester, editors, Proceedings of the 30th International Conference on Machine Learning (ICML), volume 28 of Proceedings of Machine Learning Research, pages 82–90, Atlanta, Georgia, USA, 17–19 Jun 2013. PMLR. OpenAlex ↗ · Scholar ↗
- Xin Li and Hsinchun Chen. Recommendation as link prediction in bipartite graphs: A graph kernel-based machine learning approach. Decision Support Systems, 54(2):880 – 890, 2013. OpenAlex ↗ · Scholar ↗
- Yujia Li, Daniel Tarlow, Marc Brockschmidt, and Richard Zemel. Gated graph sequence neural networks. ICLR, 2016. OpenAlex ↗ · Scholar ↗
- Andriy Mnih and Ruslan R. Salakhutdinov. Probabilistic matrix factorization. In Advances in neural information processing systems, pages 1257–1264, 2008. OpenAlex ↗ · Scholar ↗
- Federico Monti, Davide Boscaini, Jonathan Masci, Emanuele Rodolà, Jan Svoboda, and Michael M Bronstein. Geometric deep learning on graphs and manifolds using mixture model cnns. CVPR, 2017. OpenAlex ↗ · Scholar ↗
- Federico Monti, Michael M. Bronstein, and Xavier Bresson. Geometric matrix completion with recurrent multi-graph neural networks. NIPS, 2017. OpenAlex ↗ · Scholar ↗
- Mathias Niepert, Mohamed Ahmed, and Konstantin Kutzkov. Learning convolutional neural networks for graphs. In Proceedings of the 33rd annual international conference on machine learning. ACM, 2016. OpenAlex ↗ · Scholar ↗
- Michael J Pazzani and Daniel Billsus. Content-based recommendation systems. In The adaptive web, pages 325–341. Springer, 2007. OpenAlex ↗ · Scholar ↗
- Nikhil Rao, Hsiang-Fu Yu, Pradeep K. Ravikumar, and Inderjit S. Dhillon. Collaborative filtering with graph information: Consistency and scalable methods. In C. Cortes, N. D. Lawrence, D. D. Lee, M. Sugiyama, and R. Garnett, editors, Advances in Neural Information Processing Systems 28, pages 2107–2115. Curran Associates, Inc., 2015. OpenAlex ↗ · Scholar ↗
- Ruslan Salakhutdinov, Andriy Mnih, and Geoffrey Hinton. Restricted boltzmann machines for collaborative filtering. In Proceedings of the 24th international conference on Machine learning, pages 791–798. ACM, 2007. OpenAlex ↗ · Scholar ↗
- Suvash Sedhain, Aditya Krishna Menon, Scott Sanner, and Lexing Xie. Autorec: Autoencoders meet collaborative filtering. In Proceedings of the 24th International Conference on World Wide Web, pages 111–112. ACM, 2015. OpenAlex ↗ · Scholar ↗
- Nitish Srivastava, Geoffrey E. Hinton, Alex Krizhevsky, Ilya Sutskever, and Ruslan Salakhutdinov. Dropout: a simple way to prevent neural networks from overfitting. Journal of Machine Learning Research, 15(1):1929–1958, 2014. our card
- Florian Strub, Romaric Gaudel, and Jérémie Mary. Hybrid recommender system based on autoencoders. In Proceedings of the 1st Workshop on Deep Learning for Recommender Systems, DLRS 2016, pages 11–16, New York, NY, USA, 2016. ACM. OpenAlex ↗ · Scholar ↗
- Fei Tian, Bin Gao, Qing Cui, Enhong Chen, and Tie-Yan Liu. Learning deep representations for graph clustering. In AAAI, pages 1293–1299, 2014. OpenAlex ↗ · Scholar ↗
- Miao Xu, Rong Jin, and Zhi-Hua Zhou. Speedup matrix completion with side information: Application to multi-label learning. In Advances in Neural Information Processing Systems, pages 2301–2309, 2013. OpenAlex ↗ · Scholar ↗
- Yin Zheng, Bangsheng Tang, Wenkui Ding, and Hanning Zhou. A neural autoregressive approach to collaborative filtering. In Proceedings of the 33nd International Conference on Machine Learning, pages 764–773, 2016. OpenAlex ↗ · Scholar ↗