A divide-and-conquer algorithm for binary matrix completion
Melanie Beckerleg, Andrew Thompson

TL;DR
This paper introduces TBMC, a divide-and-conquer algorithm for binary matrix completion that produces interpretable binary factors and outperforms existing methods on real recommender system datasets.
Contribution
The paper presents TBMC, a novel recursive partitioning algorithm for binary matrix completion that extends PROXIMUS with missing data handling and provides a provable 2-approximation LP solution.
Findings
TBMC outperforms existing methods on real datasets
The LP approach achieves a 2-approximation for binary matrix completion
The algorithm produces interpretable binary factors representing matrix tiles
Abstract
We propose an algorithm for low rank matrix completion for matrices with binary entries which obtains explicit binary factors. Our algorithm, which we call TBMC (\emph{Tiling for Binary Matrix Completion}), gives interpretable output in the form of binary factors which represent a decomposition of the matrix into tiles. Our approach is inspired by a popular algorithm from the data mining community called PROXIMUS: it adopts the same recursive partitioning approach while extending to missing data. The algorithm relies upon rank-one approximations of incomplete binary matrices, and we propose a linear programming (LP) approach for solving this subproblem. We also prove a -approximation result for the LP approach which holds for any level of subsampling and for any subsampling pattern. Our numerical experiments show that TBMC outperforms existing methods on recommender systems arisingâŚ
|
|||||||||||||||||||
| TBMC | Avg | Partition | NMF | Spectral | |||||||||||||||
|
|
|
|
|
|||||||||||||||
| ChEMBL | 7500 | 2183 | 0.7 | 0.01 |
|
|
|
26.4 | 30.7 | ||||||||||
|
|
|
21.1 | 21.1 | |||||||||||||||
| ML | 1600 | 943 | 0.7 | 0.06 |
|
|
|
19.5 | 21.3 | ||||||||||
|
|
|
22.2 | 22.0 | |||||||||||||||
| RC | 138 | 130 | 0.7 | 0.065 |
|
|
|
16.1 | 22.2 | ||||||||||
|
|
|
14.3 | 21.2 | |||||||||||||||
| GE | 5000 | 38 | 0.7 | 1.0 |
|
|
|
12.6 | 21.5 | ||||||||||
|
|
|
20.4 | 19.9 | |||||||||||||||
| Netflix | 1000 | 1000 | 0.7 | 0.06 |
|
|
|
16.4 | 20.0 | ||||||||||
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
fn2fn2footnotetext: In compliance with EPSRCâs open access inititive, the data in this paper is available from https://doi.org/10.5061/dryad.51c59zw5r
A divide-and-conquer algorithm for binary matrix completion
Melanie Beckerleg111This publication is based on work partially supported by the EPSRC Centre For Doctoral Training in Industrially Focused Mathematical Modelling (EP/L015803/1) in collaboration with e-Therapeutics plc.
Mathematical Institute, University of Oxford, Andrew Wiles Building, Woodstock Road, Oxford, OX2 6GG, UK.
Andrew Thompson22footnotemark: 2
Mathematical Institute, University of Oxford, Andrew Wiles Building, Woodstock Road, Oxford, OX2 6GG, UK.
Abstract
We propose a practical algorithm for low rank matrix completion for matrices with binary entries which obtains explicit binary factors and show it performs well at the recommender task on real world datasets. The algorithm, which we call TBMC (Tiling for Binary Matrix Completion), gives interpretable output in the form of binary factors which represent a decomposition of the matrix into tiles. Our approach extends a popular algorithm from the data mining community, PROXIMUS, to missing data, applying the same recursive partitioning approach. The algorithm relies upon rank-one approximations of incomplete binary matrices, and we propose a linear programming (LP) approach for solving this subproblem. We also prove a -approximation result for the LP approach which holds for any level of subsampling and for any subsampling pattern, and show that TBMC exactly solves the rank- prediction task for a underlying block-diagonal tiling structure with geometrically decreasing tile sizes, providing the ratio between successive tiles is less than . Our numerical experiments show that TBMC outperforms existing methods on recommender systems arising in the context of real datasets.
keywords:
Binary matrix completion, linear programming, recommender systems.
MSC:
[2010] 65K99.
1 Introduction
1.1 Matrix completion
Matrix completion is an area of great mathematical interest and has numerous applications including recommender systems for e-commerce, bioactivity prediction and models of online content, such as the famous Netflix problem.
The recommender problem in the e-commerce setting is the following: given a database where rows are users and column entries indicate user preferences for certain products, fill in the entries of the database so as to be able to recommend new products based on the preferences of other users. Typically these matrices are highly incomplete, since most users will only have experienced a small fraction of all available products [2]. Similarly, in bioactivity prediction, compound-protein interaction (CPI) databases record bioactivity between potential drug compounds (rows, or users) and target proteins (columns, or products). Obtaining experimental evidence of all possible interactions is prohibitively expensive however, and therefore there are few known entries relative to the overall size of the database, see for example [20].
Low rank approaches to matrix completion have been the focus of a great deal of theoretical and algorithmic exploration ever since the seminal work in [9, 7]. In many cases, the problem is formulated as follows. Given a database , with observed entries in , find a matrix with minimal rank that matches the observed entries up to a given tolerance, i.e. which solves
[TABLE]
where is some small integer and is the projection to the space of known entries, such that the error is evaluated only for the .
A variety of algorithms have been proposed to solve this non-convex problem, see [28] and references therein. Another popular approach is to solve a convex relaxation involving the nuclear norm [7]. Such algorithms have been applied successfully in a wide range of applications, including recommender systems [15].
1.2 Binary matrix completion
The recommender problem can be seen as a binary decision problem. When applied to a binary matrix, , the output of the matrix completion algorithms described above cannot be guaranteed to be binary, and a typical approach for matrix completion with binary data is to threshold the output from an algorithm for completion with real data [29, 3]. As highlighted in [31], where databases follow model assumptions and recovery from solving is exact, factorisation reduces to assigning identical rows to the same cluster. However, this approach is not robust to the violation of assumptions and breaks down when recovery is not exact. This motivates the search for algorithms which explicitly seek binary solutions.
The problem (1) can also be formulated as one of approximating as the product of factors, namely
[TABLE]
We are interested in this paper in approximating our database with binary factors, due to the greater interpretability of the output. To appreciate this, note that a binary factorisation
[TABLE]
decomposes a binary matrix into biclusters of rows and columns, often referred to in the itemset mining community as tiles, see for example [10]. This decomposition provides an explicit characterization of the row/column clusters that best explain the database. Low rank decompositions designed for real matrices, on the other hand, tend to be SVD-like and orthogonal, with negative entries, and it is less clear how to interpret these. Low rank matrix completion with nonnegativity constraints, for example in [33], enforces non-negativity of factors, but does not address the issue of rounding errors induced by rounding non-integer values. Matrix completion algorithms were proposed in [32, 30] which obtain decompositions in which one factor is composed of rows of the matrix, and is by consequence binary, although the other factor is generally non-integer.
However, in the case where both factors are required to binary, research to date has largely focused on the case of binary matrix factorisation (BMF) in which the matrix is fully observed. BMF has found applications in itemset mining of transactional and textual data [10], and also in the analysis of gene expression data [35]. In these applications, entries are in general fully observed, though possibly with noise.
Various algorithms for BMF have been proposed. The problem can be formulated as an integer program, but the use of an integer programming solver is only tractable for very small problem sizes. An approach combining convex quadratic programming relaxations and binary thresholding was proposed in [35]. For the special case of rank-one approximation, linear programming relaxations were proposed in [27, 21, 35], the first two of which also both proved that the linear programming solution yields a -approximation to the optimal objective. An approach to binary factorisation based on -means clustering was considered in [13]. A local search heuristic capable of improving solutions obtained by other methods was proposed in [25]. Of particular relevance to this paper is the PROXIMUS algorithm, proposed in [17], which identifies patterns within the data using recursive partitioning based on rank-one approximations.
Closely related to BMF is the Boolean matrix factorisation problem, in which is replaced by the OR operator, , which allows the tiles to overlap. A number of algorithms also exist for Boolean factorisation, including the iterative ASSO algorithm [24] and integer programming [16].
1.3 Our contribution and related work
The novelty of this paper is the use of a partitioning approach to solve the problem of BMF with missing data, which can be formulated as follows. For , solve
[TABLE]
The contributions of this paper are as follows.
We propose TBMC (Tiling for Binary Matrix Completion), a low rank binary matrix completion algorithm (Section 2). The algorithm extends the recursive partitioning approach of [17] for BMF by means of rank-one approximations.
- 2.
In particular, we propose using an LP rank-one approximation for missing data. We support this choice with a guarantee that it provides a -approximation to the optimal objective value, showing that the reasoning of [27] holds in the missing data case (Section 3).
- 3.
We show that, under the assumption of a block diagonal model for our data, this algorithm correctly identifies tiles for a rank- database with geometrically decreasing tiles, where the ratio between successive tiles is less than .
- 4.
We show that our algorithm outperforms alternatives based on related heuristics and techniques for non-negative matrix completion and binary matrix completion, when tested on synthetic and real life data (Section 5).
The most closely related work we are aware of is the Spectral method proposed in [31] for bi-clustering databases with missing data. The authors use low rank completion to cluster neighbour rows and then redefine the column clusters based on cluster membership, in a similar fashion to -means. We show that our algorithm outperforms the Spectral method when solving Problem (3) for real world datasets.
The authors of  [34] extend the ASSO algorithm for Boolean matrix factorisation to deal with missing data. However, it is worth pointing out that their setup, as well as solving a different problem, is primarily intended for only small amounts of missing data. Methods that involve linear programs can be straightforwardly extended to the missing data case, by evaluating the objective and enforcing constraints only for , however we are not aware of any attempts to analyse their predictive power for the recommender problem.
1.4 Relation to graph-theoretic problems
Viewing the database as the adjacency matrix of a graph, we can view (3) as a clustering problem; in particular the problem is that of approximating the edge set of a partially observed graph as a union of bicliques. The factors and can be interpreted as indicating the rows and columns of these bicliques. colorredThe authors of [29] solve the related problem for the diagonal block model, expressing the database as a sum of a low rank matrix plus a sparse component to account for noise. Our approach differs as we allow column overlap of clusters. Bi-clustering approaches, in particular for clustering gene expression data, have been used to solve formulations similar to the BMF problem, with different assumptions about the underlying data, equivalent to considering different constraints on and . However these have focused primarily on cluster recovery; our focus is on exploring the predictive power of different algorithms for solving Equation 3.
2 The TBMC algorithm
We present an algorithm for low rank binary matrix completion inspired by the partitioning approach of [17] that generates a binary factorisation based on recursive rank-one partitions.
2.1 Partitioning
Our algorithm is inspired by the recursive partitioning approach of the PROXIMUS algorithm for binary matrix factorisation [17]. For a given submatrix, , the algorithm first calculates a binary rank-one approximation . The matrix is then partitioned based upon the rows included in the tile : if the entry of is positive, then the row is included in , else it is included in . Both submatrices are added to the set of submatrices to be partitioned.
The vector is used as the pattern vector for . If the scaled Hamming distance, defined as , from to any of the rows in is less than some tolerance , for , then the tile is included in the decomposition and is not partitioned any further. In addition, if the rank-one approximation returns a row vector of s, the tile is added to the decomposition. This process is repeated on successive submatrices until convergence. The algorithm terminates when no partitions remain. An illustration of the splitting process can be seen in Figure 1.
2.2 Rank-one approximation with missing data
The partitioning method outlined above relies on rank-one approximations of the database. We outline two methods for this sub-problem.
2.2.1 Approximate rank-one using a linear program
Inspired by the work of [27], we propose a linear programming relaxation of the rank-one approximation problem with missing data.
The rank-one problem can be formulated as an integer linear program for the case where no data is missing [25, 16]. The authors of [27] show that a linear program relaxation of a related problem has no more than twice the error of the integer solution. In Section 3 we show that a similar result holds for the missing data case.
We can formulate the best binary rank-one approximation problem as a linear program as follows:
[TABLE]
Since is fixed, (4) is equivalent to solving
[TABLE]
We translate Problem (5) to a linear program as follows: introducing dummy variables which serve as indicator variables for we can rewrite (5) as
[TABLE]
If we relax the integer constraints, then for optimal , the second constraint will be satisfied as an equality for , so we can drop the corresponding dummy variables and replace their value in the objective with . Thus we consider the following formulation for approximating the solution to Equation 6
[TABLE]
The corresponding constraint matrix is totally unimodular (as it is a submatrix of the constraint matrix in [27]), and so solving will give integral values for . We can obtain the corresponding rank-one approximation as . Note that is only defined for . The remaining values can be calculated as but are no longer guaranteed to be integers.
2.2.2 Alternating minimisation
Alternating minimisation has been widely used for matrix completion, see for example [12]. Given a fixed we want to find to minimise the approximation error
[TABLE]
where we have used the fact that and are binary. Writing
[TABLE]
we can write the right-hand side of (8) as
[TABLE]
Suppose we are at iteration and we are fixing . Then it follows from (10) that the updated binary is given by
[TABLE]
Then can be calculated in a similar way. Typically the process converges in only a few iterations.
The authors of [17] outline a number of heuristics for initialising the iterative scheme. In particular, if not initialised correctly, this method can lead to the empty tile, which is always sub-optimal. We propose using alternating minimisation as an optional post-processing step for the TBMC algorithm stated in Section 2.3.
2.3 Statement of algorithm
Using the ideas of Section 2.1 and Section 2.2 we now propose an algorithm for binary matrix completion for recommender systems.
Starting with the full database, we calculate the rank-one approximation obtained by solving Problem (7) for the current partition, then partition into the rows that are included in the tile and those that are not, and repeat for both sides of the partition. As in [17], when the partitioning process generates rows that are all within a given radius of or when is the vector of all s or all [math]s, then is added to the factorisation. The algorithm is stated in detail in Algorithm 1. We could also consider using the alternating minimisation outlined in Section 2.2.2 to improve the approximation found by solving (7). We refer to this approach as TBMC-AM. In its current form, the algorithm only partitions by rows. We also considered a variant by which each tile identified by the algorithm was then partitioned in the same manner column-wise. It is possible to construct examples for which this would improve the accuracy but as we found no change in the output for any of our experiments, we speculate that these examples are rarely found in practise.
2.4 Algorithm complexity
The most computationally demanding step in Algorithm 1 is the solution of (7). To solve a non-degenerate LP with a simplex method, the worst case complexity is exponential in the number of variables (equal to ) and the number of constraints (equal to ), since we have one constraint for each , plus constraints that each variable be between [math] and . This upper bound arises because the method will terminate when it has checked every vertex of the feasible region defined by the problem. There are possible vertices, so there are possible intersections. However, since the constraint matrix of (7) is totally unimodular (see Section 2.2), a polynomial bound in and can be obtained. By Corollary 4.1 of [14], solving (7) using Blandâs rule [5] (or another method for avoiding cycles) will terminate in at most operations.
The other steps in the algorithm have lower complexity. The alternating minimisation scheme requires one left and one right matrix vector multiplication per iteration, hence, since we impose a limit on the number of iterations, it takes steps. Calculation of the error (step 11) requires at most operations.
In order to determine the complexity of the algorithm as a whole, we multiply the complexity of the rank-one case by , the worst case for the number of partitions that need to be checked. So Algorithm 1 requires at most operations, i.e. polynomial in and .
We note that solving the problem directly involves checking options for the membership of each row and column, i.e. possibilities. Hence Algorithm 1 offers a significant improvement over solving the problem directly.
3 Approximation bounds for the rank-1 subproblem
In Section 2.2, we proposed a linear program method for solving the rank-one step of (1). By closely following the approach in [27] for the case in which all the entries in are known, we show that the approximation error of the tile found by solving Problem (7) is no more than twice the optimal.
Theorem 1**.**
Denoting by the optimal solution for Problem (7) obtained using a simplex method, then the approximation error satisfies
[TABLE]
Proof.
The minimal error for a single tile approximation is given by
[TABLE]
where the inequality is a result of the fact that the optimal solution for Problem (6) is bounded above by the objective for Problem (7) since relaxing constraints does not decrease the value at optimality.
For such that , we know that , and are integers. Since the objective of (7) is to minimise , which is bounded below by , we have that if and only if . Thus we can split the summation terms on the right hand side of the inequality to obtain
[TABLE]
Since is binary, we have that
[TABLE]
which we can use to replace the sum in (14) corresponding to values where exactly one of and is 1 to derive
[TABLE]
Now since is equal to if is positive and if is zero we can rewrite (16) as
[TABLE]
This gives us our bound. â
Note that in the case where the true best solution has zero error, the LP relaxation will also have zero error, and therefore for a database consisting of a single planted tile, solving (7) will recover this tile provided that, for each row, the sampling operator sees a positive and a negative entry for each row or column.
3.1 Verifying Theorem 1
We first perform experiments to illustrate numerically that the 2-approximation result given in (12) is not violated.
We evaluate performance relative to the optimal solution, which we obtain by solving (6) directly as an integer program. We generate binary matrices with (a) a single planted tile and (b) 3 planted tiles, with positive entries per row in each tile. We simulate noisy data by randomly flipping a fraction of entries and remove a proportion of entries. We set and . Note that choice of parameters is to provide an illustrative example, as we observe similar behaviour for other parameter configurations. To make it tractable to solve the problem directly, we consider databases of size for the single tile case and for the tile case, since the latter is more computationally intensive to solve. In both cases, we calculate the ratio, , of squared approximation error to the optimal squared error. The mean value of and the proportion of cases for which is greater than is recorded in Section 3.1.
We solve the LP relaxation using the simplex method implemented by MATLABâs linprog solver [8]. In addition, we compare against other methods, average, partition, and nmf for generating a rank-1 approximation, further details of which can be found in Section 5. We observe that while the other methods all violate the 2-approximation bound for the 3-tile model, the LP does not.
[TABLE]
[TABLE]
4 Recovery guarantees for TBMC
The results of Section 3 hold for any binary matrix and give guarantees for solving the rank-1 problem. We now explore the conditions for which Algorithm 1 will recover a database generated according to a planted tile model. We consider the following model for the underlying data: let have a symmetric block diagonal structure, with the size of the tile equal to where as illustrated in Figure 2.
The heart of the proof is in showing that, in the case of no missing data, solving Problem (7) recovers the largest tile. We then show that for the case of no missing data, if the algorithm recovers the first tiles then it will recover the tile and conclude. Finally, we show numerically that the performance for the case of missing data is in close agreement with the theoretical result for no missing data. We define to be the set of indices in the tile and
[TABLE]
We rely on the following observations:
Lemma 2**.**
We can rewrite the objective of (7) as
[TABLE]
Proof.
The constraints of (7) enforce the condition that . Hence, if we split the second term of the objective of Problem (7) by the values of the only terms that will have a contribution are the ones for which . The rest follows by splitting the summation terms according to the values of .
â
Lemma 3**.**
Let be the proportion of rows and columns of tile included in a feasible solution to (7). Then we can write (18) as
[TABLE]
In addition, there is an optimal solution for which for each tile.
Proof.
This follows from Equation 18. The objective can be split into sums by row; rows in the same tile will have identical contribution to the objective, leading to the formulation in (19). Since this expression is linear in the for each , we can conclude that there must be an optimal solution for either or ; to determine which requires determining the sign of the coefficient of each : if it is positive then is optimal, and if it is negative then is optimal. The same reasoning applies to each .
â
We analyse tile recovery for the case where all entries are known, obtaining a phase transition for recovery in terms of relative tile sizes, and then show that, in practice, we get agreement with this phase transition for sub-sampled matrices, provided the tiles are large enough.
Theorem 4**.**
For a binary matrix with a symmetric block diagonal structure with tiles, having size where , for , Algorithm 1 recovers the tiles exactly in the case where all entries are known (in this case Algorithm 1 reduces to the PROXIMUMS algorithm [17]).
Proof.
Using Lemma 3, we may consider four cases depending on the integer values of .
Case (i): For , we calculate
[TABLE]
This is strictly negative, since , hence for all . Similarly, for all . The corresponding objective value is .
Cases (ii) and (iii): For , ,
[TABLE]
Hence for all . We can then substitute this to find
[TABLE]
So for optimality in this case, for all . By symmetry, for , , optimality in this case is obtained for for all . In both cases, the objective value is .
Case (iv): For , , the objective is at most . To see this, consider that the term of the first summation is increasing in and , so obtains its maximum for , and the second summation is always negative.
We can now compare the objectives for each case. Case (i) is optimal over the other cases, provided
[TABLE]
which is true if and only if
[TABLE]
Since this is a strict inequality, the optimal solution will be unique.
Note that on subsequent iterations of step 2 of Algorithm 1, the input matrix is no longer square, but has dropped out the rows corresponding to the largest tiles. The resulting matrix contains the remaining tiles and empty columns corresponding to the dropped tiles. Hence we are no longer tracking the for . Therefore, we rewrite the objective as
[TABLE]
where we have dropped out the terms corresponding to the dropped rows, and isolated terms corresponding to the empty columns (). In this case, the coefficient of for will be non-positive, and negative provided at least one of the is positive for . This means we can consider optimality for the reduced matrix formed by dropping out the columns corresponding to the first tiles and therefore if
[TABLE]
we have that at each iteration, the algorithm will successfully identify the right tile, and therefore 1 will output the exact tiling after iterations.
In particular, if we consider the geometric model for tile size, , then imposing (26) leads to the condition
[TABLE]
for all , from which we obtain
[TABLE]
In particular, for this requirement is satisfied for all .
â
4.1 Observed behaviour with missing entries
Now suppose that entries are erased independently with probability . We are interested in whether the phase transition identified above can be extended to this case. For a given realisation, we can no longer consider each row as identical, hence the theoretical result in this section does not precisely extend. However, our numerical observations suggest that we do observe a behaviour which is a close approximation, provided the database size is large enough.
We generate symmetric block-diagonal matrices with decreasing tile size according to the model in Section 4, setting , for and to . For 100 random trials, we calculate the proportion of matrices recovered exactly from Algorithm 1 and plot the results in the top row of Figure 4. We also plot, in the bottom row of Figure 4, the proportion for which Algorithm 1 is able to recover all but of the entries; accounting for the difficulty of recovery of the smallest tiles. According to (28), we would expect to see recovery for . In both cases, we see that there is agreement with our bound on , and that as we increase the size of our database, the value of maximum for which the algorithm recovers all of the tiles also increases. The small gap between the dashed line indicating and the line of failure to recover is an artefact of discretisation error for smaller databases; it is not possible to generate tiles that are exactly a factor of smaller than the previous, since a row is either included or not.
5 Numerical Results
We next demonstrate that the partitioning approach, and in particular our TBMC algorithm is a practical method for generating interpretable rules for inferring missing information in real data sets (recommender systems), that outperforms state of the art alternative methods for binary matrix completion.
5.1 Other algorithms
We compare Algorithm 1 to other methods for rank- approximation: two alternative heuristics for partitioning similar to those used in [17]; NMF with missing values implemented using the NMF MATLAB Toolbox [26], based on the multiplicative scheme of [19] with zero weighting of missing entries; and a method that follows a -means approach to cluster the observed data based on projections onto the largest singular vectors of the observed data. In particular we consider
âaverageâ: setting where the column has more than half of its entries as positive and if any of the entries of the row have a positive entry in one of those columns ;
- 2.
âpartitionâ: selecting a column at random to be and calculating as the average of all the rows that have positive entries in that column, binarised with a threshold of ;
- 3.
âNMFâ: a non-negative rank-one factorisation is obtained using a multiplicative update scheme with missing data and the factors are binarised using a threshold of . We use the approach outlined in [35] to normalize the factors such that the 0.5 threshold is appropriate.
- 4.
âSpectralâ: We obtain a rank-one approximation by implementing the method outlined in [31], which follows a k-means approach. Briefly, the factors are initially generated using a projection onto the first singular values; viewing the factorisation as a clustering, the footprints in are updated using the clustering given by , before reassigning rows to the cluster whose footprint most closely matches their own.
For TBMC, average and partition we also consider using an alternating minimisation step, outlined in Section 2.2.2 to improve the rank-one approximations. We refer to these approaches as TBMC-AM, average-AM and partition-AM.
5.2 Real world datasets
We consider performance on a series of real world recommender systems. It is worth pointing out that whilst many of the relevant datasets have non-binary entries, often categorical ratings for example, the aim of the recommender problem is to decide whether or a particular entry will be a positive interaction or not (i.e. whether a user will like a particular film, or a drug will bind to a particular target). Hence it is necessary to make decisions about how these datasets are binarised.
In all of the datasets we consider, we find optimum performance for partition based methods, and in particular for four of the five data sets that we investigate, we find that TBMC outperforms other state of the art methods upon this task.
We consider the performance of rank- binary matrix factorisation on the following datasets.
ChEMBL: Data of protein-ligand interactions, obtained from ChEMBL [4], version 21. Assay values for measurement types POTENCY, IC50, KI, MIC, EC50, KD, AC50 were binarised using a threshold of 2M to obtain positive and negative activity categories, where negative represents no discernible effect on protein behaviour. The resulting matrix was then filtered by counting the positive and negative interactions, ranking the compounds based on the total number of interactions and taking subsets from the top 50000 ligands.
- 2.
ML: MovieLens k [22], which contains ratings from users across films. We threshold to consider only or star ratings as positive.
- 3.
RC: customer reviews from customers for restaurants [23]. Since ratings are in , we map to binary data by converting star ratings to one, and converting or star ratings to zero.
- 4.
ALL-AML (GE): gene expression data [11], containing information from human tumour samples of different leukemia types. This dataset has been widely used for cancer classification, and for the evaluation of BMF techniques in the case of no missing data [6]. We normalize the data by column.
- 5.
Netflix: a subset of data obtained from Kaggle [18] from the Netflix prize data [1] of ratings by users on different movies. The sparsely reviewed movies ( ratings) and sparsely active users ( reviews) are removed. The resulting dataset reflects the percentile for density of reviews. In order to apply the algorithms below, we consider a random subset of 1000 users and 1000 movies. We threshold to consider only or star ratings as positive.
We compare the performance of TBMC and TBMC-AM against NMF and the Spectral method (see Section 3.1). The rank parameter was optimised for NMF, with being found to be a good choice. The maximum rank was set to be in the Spectral method, although the method was found to often terminate before five tiles were found. Although increasing the rank initially leads to an improve in approximation accuracy, none of these methods are guaranteed to find a zero error approximation simply by increasing the rank. In addition, there is a risk of over-fitting for a rank parameter that is too high. We also compare with a variant of the recursive partitioning approach of TBMC in which the LP-based rank-one approximation step is replaced by the average and partition heuristics (see Section 3.1), again with and without alternating minimisation.
5.3 Performance of TBMC for rank-k decomposition
We consider a / split between known training entries and unseen test entries () and set , although we find the impact of changing has little impact below . Note that MovieLens, RC, ChEMBL and Netflix have a low density of known entries . In all cases we record the percentage approximation error . We give approximation errors upon both the test set, and also upon the training set, averaged over 100 random trials. The first score tells us how well each method is able to predict missing entries. The second score tells us how well the method is able to generate a tiling model for the known data.
From Table 3, we see that TBMC outperforms all other algorithms as a predictive method on all five data sets. The alternating minimisation (AM) step leads to improved results in some cases, but not always. The improvement over other methods is significant in the case of the gene expression (GE) and restaurant customer (RC) data. On the other hand, in the case of the MovieLens data, the improvement gained by using TBMC over the NMF method is marginal and for both MovieLens and Netflix, the gain over simpler partitioning using simpler heuristics, average and partition heuristics is also marginal.
Approximation error on the training set allows us to compare how well the database tilings of the various methods are able to capture the known data. We see from Table 3 that TBMC outperforms all other methods on this task for the RC and GE datasets. For MovieLens, replacing the LP rank-one approximation in TBMC with the averaging heuristic is seen to give the best performance while for ChEMBL partition gives the best performance. These results support the use of a partitioning for the approximation task.
We speculate that the varying results for different datasets are due in large part to the degree to which each database can be modelled as a low-rank binary factorisation (tiling). It should be emphasised that the prediction algorithms considered here are restricted to those which generate interpretative binary factorisations. We are not claiming that TBMC competes favourably with all prediction algorithms (such as neural networks) if the interpretability requirement is removed. That said, our results show clearly that partitioning algorithms, and in particular TBMC, perform well compared to other algorithms for low-rank matrix completion with binary factors.
We conclude by making two further observations. Firstly, the fact that simple heuristics can perform well highlights the importance of balancing higher accuracy with constraints on computational time. Secondly, the algorithm shows evidence of over-fitting the RC data as the percentage error on the known values (training set) is %.
The RC database appears to be an especially good fit for approximation by binary factors (tiles). The clustering found by TBMC on the RC database is provided as an illustration in Figure 5. The rows and columns have been reordered for visual effect.
6 Conclusion and future directions
Binary matrix completion for recommender systems has numerous applications. Influenced by approaches to binary matrix factorisation in the itemset mining literature, we have proposed the TBMC algorithm for binary matrix completion and shown that it outperforms alternatives on both synthetic and real data sets for certain regimes. These results make the case for the consideration of heuristic methods where typical assumptions for low rank matrix completion are violated and exact recovery is not guaranteed.
We have presented a theoretical recovery guarantee for TBMC for geometrically decaying diagonal blocks. It would interesting to extend the result to incorporate random models for missing data and noise, and also to consider alternative block models.
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] URL www.netflixprize.com .
- 2Aggarwal [2016] Charu C Aggarwal. Recommender systems . Springer, 2016.
- 3Ames and Vavasis [2011] Brendan PW Ames and Stephen A Vavasis. Nuclear norm minimization for the planted clique and biclique problems. Mathematical Programming , 129(1):69â89, 2011.
- 4Bento et al. [2014] A PatrĂcia Bento, Anna Gaulton, Anne Hersey, Louisa J Bellis, Jon Chambers, Mark Davies, Felix A KrĂźger, Yvonne Light, Lora Mak, Shaun Mc Glinchey, et al. The chembl bioactivity database: an update. Nucleic acids research , 42(D 1):D 1083âD 1090, 2014.
- 5Bland [1977] Robert G Bland. New finite pivoting rules for the simplex method. Mathematics of operations Research , 2(2):103â107, 1977.
- 6Brunet et al. [2004] Jean-Philippe Brunet, Pablo Tamayo, Todd R Golub, and Jill P Mesirov. Metagenes and molecular pattern discovery using matrix factorization. Proceedings of the National Academy of Sciences , 101(12):4164â4169, 2004.
- 7Candès and Recht [2009] Emmanuel J Candès and Benjamin Recht. Exact matrix completion via convex optimization. Foundations of Computational mathematics , 9(6):717, 2009.
- 8Dantzig et al. [1955] George B Dantzig, Alex Orden, Philip Wolfe, et al. The generalized simplex method for minimizing a linear form under linear inequality restraints. Pacific Journal of Mathematics , 5(2):183â195, 1955.
