<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>Bias-aware Boolean Matrix Factorization Using Disentangled Representation Learning</title></titleStmt>
			<publicationStmt>
				<publisher>The 40th Conference on Uncertainty in Artificial Intelligence</publisher>
				<date>04/26/2024</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10521459</idno>
					<idno type="doi"></idno>
					
					<author>Xiao Wang</author><author>Jia Wang</author><author>Tong Zhao</author><author>Yijie Wang</author><author>Nan Zhang</author><author>Yong Zang</author><author>Sha Cao</author><author>Chi Zhang</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Boolean matrix factorization (BMF) has been widely utilized in fields such as recommendation systems, graph learning, text mining, and -omics data analysis. Traditional BMF methods decompose a binary matrix into the Boolean product of two lower-rank Boolean matrices plus homoscedastic random errors. However, real-world binary data typically involves biases arising from heterogeneous row- and column-wise signal distributions. Such biases can lead to suboptimal fitting and unexplainable predictions if not accounted for. In this study, we reconceptualize the binary data generation as the Boolean sum of three components: a binary pattern matrix, a background bias matrix influenced by heterogeneous row or column distributions, and random flipping errors. We introduce a novel Disentangled Representation Learning for Binary matrices (DRLB) method, which employs a dual auto-encoder network to reveal the true patterns. DRLB can be seamlessly integrated with existing BMF techniques to facilitate bias-aware BMF. Our experiments with both synthetic and real-world datasets show that DRLB significantly enhances the precision of traditional BMF methods while offering high scalability. Moreover, the bias matrix detected by DRLB accurately reflects the inherent biases in synthetic data, and the patterns identified in the bias-corrected real-world data exhibit enhanced interpretability.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">INTRODUCTION</head><p>Boolean matrix factorization (BMF) seeks to detect lowerdimensional patterns in a binary matrix, which contrasts with traditional matrix factorization techniques that focus on real-valued matrices. BMF has various applications across different domains <ref type="bibr">[Miettinen and Neumann, 2020]</ref>. One notable application is in recommender systems, where it can be used to extract meaningful user-item preferences or item-item similarities from binary user-item interaction data <ref type="bibr">[Rukat et al., 2017</ref><ref type="bibr">, Balasubramaniam et al., 2018]</ref>. It can also be employed in bioinformatics for gene expression analysis <ref type="bibr">[Liang et al., 2020</ref><ref type="bibr">, Zhang et al., 2007</ref><ref type="bibr">, 2010]</ref>, network analysis <ref type="bibr">[Kocayusufoglu et al., 2018a,b]</ref>, and binary pattern mining <ref type="bibr">Lucchese et al. [2010a</ref><ref type="bibr">Lucchese et al. [ ,b, 2013]]</ref>. Preserving the binary nature of the data poses unique challenges to BMF <ref type="bibr">[Stockmeyer, 1975</ref><ref type="bibr">, Miettinen et al., 2008]</ref>. Several approaches have been proposed to address this issue, including non-negative matrix factorization (NMF) with binary constraints <ref type="bibr">[Araujo et al., 2016]</ref>, BMF with specific optimization objectives <ref type="bibr">[Wan et al., 2020b</ref><ref type="bibr">, Lucchese et al., 2010a</ref><ref type="bibr">,b, 2013</ref><ref type="bibr">, Miettinen et al., 2008</ref><ref type="bibr">, Miettinen and Vreeken, 2011</ref><ref type="bibr">, 2014]</ref>, and probabilistic models that capture the binary nature of the data <ref type="bibr">[Ravanbakhsh et al., 2016</ref><ref type="bibr">, Rukat et al., 2017]</ref>.</p><p>Despite the significant advancements in BMF, it is essential to recognize that the current BMF formulation, which regards a matrix as the sum of a series of low-rank Boolean pattern matrices and independent and identical (i.i.d) random errors <ref type="bibr">[Ravanbakhsh et al., 2016</ref><ref type="bibr">, Rukat et al., 2017]</ref>, overlooks the presence of biases within the data. When biases pervade the underlying data, the patterns extracted are likely to assimilate these biases, leading to a distortion of the resultant patterns <ref type="bibr">[Mehrabi et al., 2021, Yao and</ref><ref type="bibr">Huang, 2017]</ref>. Such distortion can adversely affect the interpretation of the data, as well as subsequent analyses and decisions.</p><p>Real-world data often display unique biases and heteroscedastic <ref type="bibr">(non-i.i.d.)</ref> distributions of signals and errors, which traditional BMF methods may not fully account for <ref type="bibr">[Wan et al., 2020a]</ref>. A common form of bias arises from the varied distributions of row-/column-wise signals. For instance, in purchase history data, "super items" that are disproportionately popular can be purchased by a large number of users. Similarly, "super users", who purchase a wider array of items more frequently, can introduce further imbalances. These biases, driven by varying propensities, can distort the representation of true underlying patterns. Traditional BMF approaches, which typically assume equal importance across all items or users, may struggle to differentiate between genuine patterns and the biases introduced by the prevalence of these super items or users.</p><p>To tackle the bias issue in BMF, it is imperative to incorporate bias-aware assumptions in solving BMF. Here, we present a novel approach where we rethink the generation of the binary matrix as the Boolean sum of the true and to-be-detected low-rank patterns, row-wise and columnwise biases, and heteroscedastic errors. Building upon this fundamental idea, we introduce DRLB<ref type="foot">foot_0</ref> (Disentangled Representation Learning method of Binary matrix), a cutting-edge deep learning framework specifically designed to disentangle a Boolean matrix into two distinct components: a low-rank pattern matrix (U &#8855; V ) and a bias matrix adept at capturing the row-wise and column-wise biases.</p><p>The key contributions of this study include:</p><p>&#8226; DRLB reconceptualizes a Boolean matrix as the aggregation of patterns, background bias, and heteroscedastic random errors. This flexible model can be generally applied across diverse real-world datasets, expanding its utility and relevance.</p><p>&#8226; DRLB is the first deep neural network-based method to untangle the intricate relationship between low-rank patterns and the background bias inherent in rows and columns of a Boolean matrix.</p><p>&#8226; DRLB enhances the bias removal of Boolean matrices. It can be implemented with any existing BMF methods to facilitate more accurate data analyses and interpretations.</p><p>It is noteworthy that DRLB is developed to recognize and adjust for non-random and systematic biases in data, which is distinct from errors. DRLB specifically improves the awareness of skewness in Boolean data for a bias-aware BMF.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">RELATED WORK</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.1">BOOLEAN MATRIX FACTORIZATION</head><p>For a given Boolean matrix X &#8712; {0, 1} m&#215;n of m rows and n columns, BMF computes a pair of low-rank binary matrices (U &#8712; {0, 1} m&#215;k and V &#8712; {0, 1} k&#215;n ), whose Boolean product (denoted as &#8855;) approximates X, which could be generally presented as :</p><p>Here, &#8743; and &#8744; denote "and" and "or" operations. The two low-rank binary matrices are often solved under Boolean arithmetic to minimize the Frobenius norm or other norms of the reconstruction error ||E|| = ||X -U &#8855;V ||. For example, ASSO <ref type="bibr">[Miettinen et al., 2008]</ref> builds a row-wise correlation matrix and employs a heuristic mechanism for retrieving binary base matrices, while PANDA <ref type="bibr">Lucchese et al. [2010b]</ref> iteratively discovers and retains the most significant patterns. However, the high computational cost of these methods limits their application to large-scale datasets. MEBF <ref type="bibr">[Wan et al., 2020b]</ref> utilizes binary matrix permutation theory and geometric segmentation that largely improved the efficiency in detecting 1s enriched patterns. A recent method, namely CG <ref type="bibr">[Kovacs et al., 2020]</ref>, significantly improved the pattern detection accuracy by formulating the BMF problem as a mixed integer linear program and introducing a column generation-based optimization. In recent years, multiple methods that follow the formulation of (1) have been developed to improve the accuracy and efficiency of BMF <ref type="bibr">[Miettinen et al., 2008</ref><ref type="bibr">, Rukat et al., 2017</ref><ref type="bibr">, Kovacs et al., 2020</ref><ref type="bibr">, Lucchese et al., 2010b</ref><ref type="bibr">, Dalleiger and Vreeken, 2022</ref><ref type="bibr">, Avellaneda and Villemaire, 2022</ref><ref type="bibr">, Ravanbakhsh et al., 2016</ref><ref type="bibr">, Fischer and Vreeken, 2021</ref><ref type="bibr">, Neumann and Miettinen, 2020]</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.2">BIAS-AWARE BMF</head><p>Conventional Binary Matrix Factorization (BMF) algorithms have demonstrated commendable performance when the input follows the formulation of (1). However, this formulation may oversimplify the generation processes observed in real-world scenarios, in which data often exhibit a biased distribution of row-/column-wise signals, like the super users or items in purchase history data. Such biases will cause the conventional BMF methods to identify patterns that are skewed towards either the rows or columns displaying a high frequency of '1's, thereby impacting the accuracy and reliability of the subsequent pattern extraction and analysis. Specifically, certain patterns will be accentuated while others will be downplayed.</p><p>A recent study, BIND <ref type="bibr">[Wan et al., 2020a]</ref>, first introduced the consideration of row-/column-dependent background bias in BMF. BIND identifies and eliminates the entire rows and columns that are less likely to be contained by a lowrank pattern before BMF, thus improving detection accuracy and decreasing the reconstruction error in the presence of background bias. However, our analysis reveals that BIND may introduce additional bias (see EXPERIMENTS and Figure <ref type="figure">2</ref>). BIND also assumes identical fitting errors, which further limits its applicability in real-world data analysis. Thus, it is crucial to develop robust bias-handling approaches that could comprehensively capture the generation process of Boolean matrices.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2.3">DISENTANGLED REPRESENTATION LEARNING</head><p>Disentangled representation learning aims to identify and disentangle the latent patterns in input data <ref type="bibr">[Wang et al., 2022]</ref>. With the ability to decompose the observations into components carrying different types of information, disentangled learning has demonstrated its high interpretability of the input data in diverse applications. In computer vision and recommender systems, VAE and GAN-based models are exploited to disentangle independent factors of variation and manipulate latent variables <ref type="bibr">[Higgins et al., 2016</ref><ref type="bibr">, Kim and Mnih, 2018</ref><ref type="bibr">, Chen et al., 2016</ref><ref type="bibr">, Ma et al., 2019a]</ref>. Crossdomain tasks could also be improved by embedding the input from different domains into a shared domain-invariant content space and disentangling this shared space from different domain-specific attribute spaces <ref type="bibr">[Lee et al., 2018]</ref>.</p><p>In this paper, we reconsider the generation of binary data as the Boolean sum of three components: patterns, background, and random error. This assumption can naturally adopt the advantage of disentangled representation learning. By training two auto-encoders to extract the pattern and background bias in an unsupervised fashion, we showed our model well captured the data generation process and achieved highly desirable performance in binary data bias removal.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3">DRLB FRAMEWORK</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.1">NOTATIONS</head><p>In this study, we represent a matrix, vector, and scalar value by uppercase (X), bold lowercase (x), and lowercase (x) characters, respectively. The upper script represents the dimension of the object (e.g. X m&#215;n ), while the lower script indicates the element indices (e.g. i-th row: X i: , j-th column: X :j , and ij-th element: X ij ). || &#8226; || represents a general form of matrix norm, such as the Frobenius norm. Under Boolean arithmetic, the and, or, and not operations are denoted by &#8743;, &#8744;, and &#172;. Subsequently, the Boolean elementwise sum and subtraction are defined as X &#8853;Y = X &#8744;Y and</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.2">MATHEMATICAL CONSIDERATIONS</head><p>We first consider the following generation approach of a Boolean matrix X &#8712; {0, 1} m&#215;n :</p><p>, where X B is the background bias matrix generated by row-and column-wise probability vectors p r &#8712; R m&#215;1 and p c &#8712; R n&#215;1 , which reflect the probability of observing 1s in a row or a column of X B :</p><p>E is an identical and independent flipping error with a flipping probability P (1 &#8594; 0) = P (0 &#8594; 1) = p 0 . Noted, (2) extends (1) by introducing the background bias matrix X B , which forms a bias-aware BMF problem. Intuitively,</p><p>(2) considers the observed 1s could be either generated by low-rank patterns or the row/column-dependent background bias. Thus, a successful disentanglement of X B may not only decrease the fitting error |X &#8854; X B -U &#8855; V | but also increase the explainability of the 1s in the observed data.</p><p>In real-world data, another challenge is that the distribution of error could be heterogeneous, i.e.,</p><p>Moreover, P (1 &#8594; 0) and P (0 &#8594; 1) may depend on U , V , p r , p c , or even X 0 . For example, the density of 1's could vary among the sub-matrices, meaning P (1 &#8594; 0) depends on U and V . To capture the generation of realworld Boolean data and enable robust BMF for more general inputs, we further extend (2) to the following probabilistic definition of the bias-aware BMF problem.</p><p>Definition 1. Bias-Aware BMF (BABMF) problem. For a given Boolean matrix X &#8712; {0, 1} m&#215;n , BABMF seeks for the solution of U m&#215;k , V k&#215;n , X B , such that P (X B i&#8226; = 1) &#8733; p r and P (X B</p><p>&#8226;j = 1) &#8733; p c , and</p><p>, where p ij encodes the low-rank patterns different from bias or error, i.e.,</p><p>, and p ij = 0 otherwise. We want to note that (3) provides a general formulation of the bias-aware BMF problem. Without additional constraints on p ij , (3) is incorrectly posed because p ij has a trivial solution under Maximum Likelihood Estimation (MLE). When the structure of p ij is given, an MLE-based solution could be formulated. Noted, (3) provides a rigorous probabilistic formulation of the generation approach of a Boolean matrix following (2).</p><p>In practice, it is always challenging to derive the analytic form of errors for real-world data, i.e., defining the structure of p ij . Here we propose a heuristic and general solution to the BABMF problem formulated in (3) without any preassumption of errors, namely Disentangled Representation Learning based BMF (DRLB). DRLB considers that X is formed by the Boolean sum of X B (background bias matrix) and X P (pattern matrix). As defined in (3), X P is generated by P (X P ij = 1) = p ij and X B is generated by P (X B ij = 1) = p c i p r j . DRLB disentangles the Boolean input X into the Boolean sum of X P and X B .</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.3">OVERVIEW OF THE NETWORK ARCHITECTURE OF DRLB</head><p>For a given Boolean matrix X, we aim to learn a latent representation Z that could reconstruct the input through a neural network. The likelihood of X can be represented by: Previous studies on variational inference <ref type="bibr">[Kingma and Welling, 2013]</ref> have derived that the log-likelihood has a lower bound as:</p><p>(5) , where &#981; presents the parameters of the neural network Q &#981; (Z|X) (encoder) that approximates the posterior probability P (Z|X), and &#952; represents the parameters of the neural network P &#952; (X|Z) (decoder) of the likelihood P (X|Z).</p><p>Following the definition of BABMF and the discussion in section 3.2, a binary matrix is generated by the Boolean sum of pattern and bias matrices, i.e., X = X P &#8853; X B . In DRLB, we solve the BABMF problem by factorizing the latent representation of Z into two independent components, Z P and Z B , which separately generate the pattern matrix X P and bias matrix X B . Under this consideration, (5) can be extended to (see detailed derivations in APPENDIX A.1):</p><p>To factorize Z, we introduced two neural networks (as illustrated in Figure <ref type="figure">1</ref>), namely (1) Pattern Net (colored in blue, with parameters &#981; P , &#952; P ) and (2) Background Net (colored in yellow, with parameters &#981; B , &#952; B ). In 3.4, we detail the collaborative training of the two networks and how the lower bound derived in (6) ensures an effective factorization of Z and the disentanglement of the patterns and bias matrices.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="3.4">DISENTANGLED REPRESENTATION LEARNING</head><p>This section details the loss function, network training, and optimization approaches of DRLB. Denote the encoder and decoder functions of the Pattern and Background Nets as f &#981; P , f &#952; P , f &#981; B , f &#952; B , respectively. Kingma and Welling <ref type="bibr">[2013]</ref> suggested that the MLE of P (X), i.e. optimization of Z P and Z B , could be alternatively achieved by maximizing the lower bound as derived in (6).</p><p>Maximize the expectation term. The first term in (6) is the expectation</p><p>which could be maximized by training the two networks.</p><p>The posterior probability P (Z P , Z B |X) could be approximated by Q &#981; P ,&#981; B (Z P , Z B |X). For the log-likelihood term log P &#952; P ,&#952; B (X|Z P , Z B ), noting X is the sum of X P and X B and it only contains binary values, we formulate it using the following Bernoulli distribution:</p><p>Denote the sum of the outputs of the two decoders as</p><p>The log-likelihood term can be written as:</p><p>Maximizing the log-likelihood is equivalent to minimizing the binary cross-entropy loss. We define the loss function for the expectation term in (6) as:</p><p>Optimize the KL divergence term. In variational inference, the KL divergence terms in (6) regularize the discrepancies between the distributions of the latent representations Z P and Z B and their prior distributions <ref type="bibr">[Kingma and Welling, 2013]</ref>. To enable an effective disentangled learning of Z P and Z B , DRLB first approximates a prior distribution of Z B to ensure f &#952; B (Z B ) can accurately and specifically capture the background bias. A disentangled learning of Z P and Z B is achieved by maximizing the generation of X via f &#952; P (Z P ) + f &#952; B (Z B ). We set P (Z P ) &#8764; N (0, I). For Z B , DRLB approximates its prior distribution as detailed below.</p><p>Estimate the distribution of bias and the prior distribution of Z B . To approximate the distribution of Z B , we first generate a simulated bias matrix, denoted by XB . By (3), P (X B ij = 1) &#8733; p c i &#8226; p r j , here p r j and p c i are two vectors that represent the row-wise and column-wise background probabilities. Noted, p r and p c are not identifiable when p c ij are unknown. Thus, the probabilities are heuristically approximated by pc i = Xi: n and pr j = X:j m . XB is further randomly generated by the product of the approximated probabilities with a hyper-parameter &#945;:</p><p>As illustrated in Figure <ref type="figure">1</ref>), the Background Net in DRLB learns the latent representation of the background bias, denoted as &#7824;B , from XB . Similar to ( <ref type="formula">8</ref>) and ( <ref type="formula">9</ref>), the generative model can be trained using the following loss:</p><p>, here &#7824;B = f &#981; B ( XB ) is a prior distribution of Z B learned from the randomly simulated background bias matrix XB , and log</p><p>To ensure a high robustness and flexibility of the method, we introduced the third loss based on Maximum Mean Discrepancy (MMD) to further regularize the discrepancies of Z B and Z P with their prior distributions <ref type="bibr">[Gretton et al., 2012]</ref>(see details in APPENDIX A.2):</p><p>With the above considerations, the dual networks in DRLB will be trained by minimizing the combined loss function:</p><p>, where &#955; is an adjustable hyper-parameter.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4">EXPERIMENTS</head></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1">BENCHMARK AND BASELINES</head><p>We evaluate the performance of DRLB on both synthetic and real-world datasets. Noted, DRLB is a bias-removal method that could be seamlessly implemented with any BMF method. To show the effectiveness of DRLB in removing background bias and increasing the detection accuracy of BMF, we selected four BMF methods for the downstream BMF task, namely ASSO, PANDA, MEBF, and CG. As introduced in 2.1, ASSO <ref type="bibr">[Miettinen et al., 2008]</ref> and PANDA <ref type="bibr">[Lucchese et al., 2010b]</ref> are two classic methods that are commonly utilized as baselines in BMF method development. MEBF [Wan et al., 2020b] is a state-of-the-art (SOTA) method that has the top running speed and satisfactory accuracy. CG [Kovacs et al., 2020] is a SOTA method that robustly achieved the top prediction accuracy in multiple recent BMF works. Based on the experiments of recent BMF studies[Kovacs et al., 2020, Avellaneda and Villemaire, 2021], we consider the four selected BMF methods can represent conventional and SOTA methods. We want to note the goal of the experiment with these selected BMF methods is to demonstrate the effectiveness of bias-removal of DRLB, and the advantage of implementing DRLB with the BMF methods over applying BMF alone, rather than comparing DRLB against any of the BMF methods.</p><p>To show DRLB's superiority in background bias removal, we select BIND as the baseline method for comparison. To the best of our knowledge, BIND is the only baseline method for this type of analysis. For each data and BMF method, the performance is evaluated based on three different inputs: 1) the original input, 2) data with bias removed using BIND, and 3) data with bias removed using DRLB.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2">IMPLEMENTATION DETAILS</head><p>All the BMF methods and BIND used in this paper were implemented with the source code and default parameters from the original works</p><p>. DRLB was implemented via PyTorch and trained with Adam Optimizer[Kingma and Ba, 2014]. In DRLB, five layers were set in each of the two neural networks, with dimensions {D, 200, 20, 200, D} (here D is the dimension of the input data). ReLU activation is used before and after the bottleneck layer. The final layer is mapped to binary values using a Sigmoid activation. Implementation details including batch size, learning rate, parameters, and hardware information are given in APPENDIX B. Analysis of running time and scalability is given in APPENDIX C. 4.3 EXPERIMENTS ON SIMULATED DATA 4.3.1 Experimental Settings.</p><p>We simulated Boolean matrices X 500&#215;500 of 500 rows and columns by X = U &#8855; V + X B + E, with pattern size &#8712; {80, 120}, pattern number k &#8712; {2, 3, 4} and a fixed flipping error E : = p(1 &#8594; 0) = p(0 &#8594; 1) = 0.01. The row-and column-wise probability vectors of background bias were simulated by random sampling from the uniform distribution p r , p c &#8764; U [0.1, 1]. In total, 600 synthetic input matrices of six scenarios were simulated.</p><p>Two metrics were used in our evaluation. First, we evaluated the reconstruction error, which is the most common metric for evaluating the performance of BMF methods. The reconstruction error is defined as:</p><p>, where U, V generates the ground truth pattern matrix X P as defined in (3) and A * , B * are decomposed patterns of a BMF algorithm. Second, we used the signal(1's in U &#8855; V )/noise(1s from background and errors) ratio of the debiased matrix (bias-removed matrix) to evaluate the effectiveness of the bias removal of BIND and DRLB.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3.2">Evaluation on reconstruction error.</head><p>DRLB drastically decreases the reconstruction error of BMF methods. Figure <ref type="figure">2</ref> shows the reconstruction errors of different BMF methods on simulated data using different bias removal approaches. We have seen that the performances of ASSO, MEBF, and CG are drastically improved when implemented on the DRLB-debiased data compared to the original input and BIND-debiased data. Also, a slight improvement was seen in PANDA. We note that DRLB is especially helpful for methods that have a high sensitivity in detecting dense patterns, such as ASSO and CG. These methods cannot distinguish between true patterns and dense blocks formed by background biases. Thus, they tend to suffer a higher false positive rate when there is a stronger background bias, which could be effectively handled by DRLB. On the contrary, BIND also showed a lower level of improvement compared to DRLB. In addition, it tends to lose too many pattern signals and may introduce additional biases Figure <ref type="figure">3(b</ref>,<ref type="figure">e</ref>).</p><p>Our experiments showed that DRLB + CG achieved the lowest reconstruction error under all the testing scenarios. As shown in Figure <ref type="figure">2</ref>, the reconstruction error of CG was high when applied to the original data, which drastically decreased when DRLB was implemented. CG is the topperforming method when applied to the data without bias, and it gains a drastically increased performance against bias when implemented with DRLB.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3.3">Evaluation on signal/noise ratio.</head><p>DRLB can remove the majority of the background biases and achieves a high signal/noise ratio.</p><p>Table 1 shows the size 80 120 number 2 3 4 2 3 4 original 0.18 0.29 0.37 0.43 0.68 1.02 BIND 0.06 0.10 0.05 0.48 0.15 0.53 DRLB 10.82 7.64 21.25 8.54 93.62 87.12 Table 1: Signal/noise ratio of the original input, BINDdebiased data, and DRLB-debiased data on simulated data with different pattern sizes and numbers of patterns. signal/noise ratio of the original data, BIND-debiased data, and DRLB-debiased data in the simulated scenarios. It is noteworthy that the matrices debiased by DRLB have drastically increased signal/noise ratios compared to the original input or BIND debiased data. To illustrate the biasremoving power of DRLB, we visualized DRLB-debiased matrices versus the original inputs and BIND-debiased results of two simulation scenarios in Figure <ref type="figure">3</ref>. It shows that the background bias was significantly removed by DRLB and the patterns become more distinct than the original and BIND-debiased matrices. BIND may remove entire rows or columns that are likely to be biased. Although BIND removes biases, it also loses a significant part of pattern signals, which explains why the signal/noise ratios of BINDdebiased matrices are even lower than the original input.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.3.4">Evaluation on estimating background bias.</head><p>We also evaluated the accuracy of DRLB in approximating the background bias. We first reconstructed the background bias matrix by the Boolean difference between the input matrix and the pattern matrices detected by BMF methods. Row-and column-wise bias levels were estimated by the frequency of 1s in each row and column of the reconstructed background bias matrix. We computed the correlation be-tween the estimated bias level and the true bias level to evaluate the bias recovery capability of DRLB. Figure <ref type="figure">4</ref> shows the correlations of row-and column-wise bias on three simulated scenarios. The correlation between the estimated bias level and the true bias level is over 0.95 in most cases. The high correlation demonstrates that the row-and column-wise bias could be well captured by DRLB. 4.4 ABLATION STUDIES 4.4.1 Selection and sensitivity of hyper-parameters.</p><p>There are two hyper-parameters in DRLB, namely (1) &#955; that balances contributions of the loss functions, and (2) &#945; that controls the density of the generated background matrix. &#945; depends on the data, which is recommended to be set between 2 and 3. In our experiments, we set &#945; = 3 for all the simulated data and &#945; = 2 for the real-world data. We also tested the impact of varied &#955;. Because DRLB + CG has been confirmed as the best-performed combination, we utilized CG for BMF in the test. Figure <ref type="figure">5</ref> shows the reconstruction errors of CG on the simulated scenarios when &#955; varies from 0.1 to 1. We can see that our model is robust when &#955; varies in a relatively wide range. But the reconstruction error tends to increase when &#955; goes large. Therefore, we set the value of &#955; = 0.3 in all simulated and real-world data experiments.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.4.2">Influence by bias level.</head><p>In order to show the robustness of DRLB to different bias levels, we evaluated the method on simulated data with different bias levels. Four scenarios were simulated, with the row/column bias randomly sampled from U [p, 1] and p = 0, 0.1, 0.2, 0.3. Still, DRLB + CG was utilized for the evaluation. Figure <ref type="figure">6</ref> shows the reconstruction error of CG before/after denoising under these scenarios. Sampling from larger p will increase the bias level and the reconstruction error. DRLB consistently performs well in handling the high-bias cases and ensures a small reconstruction error for the downstream BMF. We conclude that DRLB has a high robustness to varied bias levels. Therefore, it can be robustly applied to a wide range of binary data.</p><p>Figure <ref type="figure">5</ref>: Reconstruction error of CG on six simulated scenarios after bias removed by DRLB using different &#955;. Different colors represent the six scenarios in Table <ref type="table">1</ref>.</p><p>Figure <ref type="figure">6</ref>: Performance of CG and DRLB + CG on simulated data of different bias levels.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.5">EXPERIMENTS ON REAL WORLD DATA</head><p>To further evaluate the effectiveness of DRLB, we tested our model on two real-world single-cell RNA sequencing (scRNA-seq) data. BMF has been commonly applied in scRNA-seq data analysis <ref type="bibr">[Chang et al., 2021</ref><ref type="bibr">, Fang et al., 2020]</ref>. Notably, scRNA-seq data (1) is non-negative, (2) contains a large number of 0s, and (3) always has heterogeneous row(gene)-and column(cell)-wise distributions (see detailed discussions in APPENDIX D), thus forming desired testing data for the BABMF problem. Both selected data were collected from liver cancer tissues <ref type="bibr">[Ma et al., 2019b</ref><ref type="bibr">, Wang et al., 2019]</ref>. The two data have 17530 genes and 5762 cells (GSE125449) and 14452 genes and 4375 cells (GSE140228), respectively.</p><p>The low-rank patterns formulated by BMF correspond to functional modules in scRNA-seq data. In the real-world data-based experiment, we focus on demonstrating that the application of DRLB enables the detection of more biologically meaningful patterns. Still, DRLB + CG was selected for analysis and compared with CG. On the other hand, false positives caused by background bias may not match well with cell types. Figure <ref type="figure">7</ref> shows the performance of DRLB + CG vs CG. Bias removal by DRLB resulted in a much higher ARI than applying CG merely to the original input. This result partially demonstrated that the implementation of DRLB improves the detection of functional gene modules.</p><p>To further evaluate the detected patterns, we performed a pathway enrichment analysis of the genes in each detected pattern against 3090 canonical pathways in the Molecular Signatures Database <ref type="bibr">[Subramanian et al., 2005</ref><ref type="bibr">, Liberzon et al., 2011]</ref>. We found a large number of cancer-related pathways can only be detected by using the DRLB + CG. For example, in GSE125449, the PPAR signaling pathway was only detected in DRLB-debiased data. This pathway plays an important role in lipid circulation and metabolic reprogramming in cancer. Pathways related to immune response and other biological functions were also only detected by DRLB + CG. Our analysis demonstrates that the implementation of DRLB enables better bias handling and functional analysis of scRNA-seq. </p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5">CONCLUSION</head><p>In this study, we introduce DRLB, a method that can effectively handle systematic biases in Boolean matrix factorization. By disentangling the input matrix into distinct pattern and background matrices, DRLB provides a more accurate representation of low-rank patterns in both simulated and real-world data. DRLB can be seamlessly implemented with all existing BMF methods to improve their detection accuracy for biased data and enhance the reliability and context-specific meaningfulness of the detected low-rank patterns. The scope of this work is not to provide an efficient bias removal method for large data, and therefore one future task can be to provide a more efficient method of DRLB.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>A MATHEMATICAL DERIVATIONS</head><p>A.1 THE DERIVATION OF EQUATION ( <ref type="formula">6</ref>)</p><p>Here we show how we derived Eq.( <ref type="formula">6</ref>) from Eq.( <ref type="formula">5</ref>). With the disentanglement strategy, the latent space is decomposed into two independent components, Z P and Z B . Because of the independence, we have: 1) P (Z P , Z B ) = P (Z P )P (Z B ); 2) Z P and Z B are only associated with their own corresponding networks. Then:</p><p>A.2 THE FORMULATION OF EQUATION (12)</p><p>In Eq.( <ref type="formula">12</ref>), we used Maximum Mean Discrepancy (MMD) to further constrain the distance of two distributions. Here MMD is a non-parametric metric that estimates discrepancies of different distributions by projecting data to a reproducing kernel Hilbert space with kernel functions. Concretely, let X and Y be two sets of samples with distribution p and q, respectively.</p><p>x and x &#8242; are different samples from X, y and y &#8242; are different samples from Y . The MMD between these two distributions is defined as:</p><p>where k is some pre-defined kernel function.</p><p>In practice, the expectations can be estimated by sample means:</p><p>where m and n are sample sizes of X and Y . In Eq.( <ref type="formula">12</ref>) the loss function L dist utilized MMD to constrain the distribution distances of two pairs of samples: 1) f &#981; P (X) and random samples from N (0, I); 2) f &#981; B (X) and f &#981; B ( XB ).</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>B IMPLEMENTATION DETAILS</head><p>Following the implementation information in 4.2, we provide further implementation details including batch size, learning rate, hyper-parameters, and hardware information below.</p><p>To train the two networks in DRLB, we used a batch size of 8 for simulated data and a batch size of 32 to accelerate the training for real-world data. The initial learning rate is set as 0.001, with a decay rate of 0.5 every ten epochs. Based on the experiments, we found the model converges well, and training for 100 epochs is enough for all the tested data. The hyperparameter &#955; is set as 0.3 for all the data, and &#945; is set between 2 and 3. We performed 10 runs and reported the averaged results for each input data.</p><p>All analyses were conducted on a laptop with 12th Gen Intel(R) Core(TM) i7-12700 CPU and NVIDIA GeForce RTX 3060 Ti GPU.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>C RUNNING SPEED AND COMPUTATIONAL EFFICIENCY</head><p>DRLB is a deep neural network-based method that relies on GPU computation. Noted, DRLB is designed to be implemented with BMF methods. Thus, instead of deriving the theoretical computational speed of the DRLB algorithm, we evaluated its running speed on our testing data and compared its running time with BMF methods. Among the SOTA BMF methods, MEBF is one of the fastest methods while ASSO, PANDA, and CG have relatively slower but acceptable running speeds. In our analysis, we have seen that DRLB is generally faster than or at the same level as the BMF methods ASSO, PANDA, and CG. On both simulated and real-world data, the running time of DRLB is about 10 times of MEBF. Considering MEBF is a highly scalable method, we concluded that the running of DRLB does not significantly introduce additional running costs when implemented with existing BMF methods and it can be applied to large data sets. Also, DRLB has a similar running speed compared with BIND.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head>D SYSTEMATIC BIASES IN SINGLE-CELL RNA-SEQUENCING DATA</head><p>Single-cell RNA-sequencing (scRNA-seq) data measures relative gene expression (or transcriptomic) abundance in a group of single cells. The typical form of single-cell RNA-sequencing (scRNA-seq) data is a matrix, in which each row is a gene feature and each column is a single cell. Each element in the data measures the relative expression level of a gene in a cell. Noting the high sparsity of scRNA-seq data, binarization is commonly utilized in scRNA-seq data processing and analysis.</p><p>A common binarization approach is using a hard cutoff. All values larger than the cutoff are assigned as 1 and all the other values are assigned as 0.</p><p>Here we want to discuss the binarized scRNA-seq data generally contain systematic biases as described in Eq.( <ref type="formula">2</ref>) and Eq.(3), especially for the ones generated by using the 10x Chromium or other drop-seq protocols <ref type="bibr">[Andrews et al., 2021</ref><ref type="bibr">, Jovic et al., 2022]</ref>. Specifically, 10x Chromium and other drop-seq protocols generate a pooled library of 5000-20000 single cells and then sequence the pooled library to measure a cell-wise gene expression profile. In the pooled library, some cells may have more mRNA molecules amplified and measured while some others may have a lower mRNA amplification rate and less mRNA measured, majorly because of the stochastics of biochemical reactions of amplification and sequencing. Thus, in the 10x Chromium and other drop-seq data, the total signal (or called total counts) collected from each cell (column) could be varied a lot. The variation of this total signal is similar to the total number of items purchased by different users in purchase history data. Some "super-cells" have much higher total signals (total counts) measured compared to other cells, which are like the super-buyers who tend to purchase more items in purchased history data. This variation will be inherited in the binarized data. Hence, the variation of the total measured signals through different cells naturally forms a column-wise bias in binarized scRNA-seq data, which follows Eq.( <ref type="formula">2</ref>) and Eq.( <ref type="formula">3</ref>). On the other hand, the exact mRNA abundance of some genes, such as metabolism, cell structure, and other housekeeping genes, are always high while some genes like transcriptional factors or signaling molecules always have low expression levels in cells. Similarly, this gene-wise variation will be inherited in the binarized data. Thus, the difference in the natural expression level of different genes forms a row-wise bias in binarized scRNA-seq data, which follows Eq.( <ref type="formula">2</ref>) and Eq.(3).</p><p>In summary, the scRNA-seq data generated by using 10x Chromium and other drop-seq protocols naturally contains bias led by the varied distribution of row-wise and column-wise signals. Thus, this data type formed a desired real-world testing data type to benchmark DRLB. In this study, both of the selected testing data sets, GSE125449 and GSE140228, were generated by using the 10x Chromium or drop-seq protocols.</p></div><note xmlns="http://www.tei-c.org/ns/1.0" place="foot" n="1" xml:id="foot_0"><p>code is available at https://github.com/xwang97/DRLB</p></note>
		</body>
		</text>
</TEI>
