{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,11,25]],"date-time":"2026-11-25T18:36:08Z","timestamp":1795631768694,"version":"4.11.3"},"reference-count":28,"publisher":"Society for Industrial & Applied Mathematics (SIAM)","issue":"1","content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["SIAM J. Comput."],"published-print":{"date-parts":[[2006,1]]},"abstract":"<jats:p>Motivated by applications in which the data may be formulated as a matrix, we consider algorithms for several common linear algebra problems. These algorithms make more efficient use of computational resources, such as the computation time, random access memory (RAM), and the number of passes over the data, than do previously known algorithms for these problems. In this paper, we devise two algorithms for the matrix multiplication problem. Suppose A and B (which are $m\\times n$ and $n\\times p$, respectively) are the two input matrices. In our main algorithm, we perform c independent trials, where in each trial we randomly sample an element of $\\{ 1,2,\\ldots, n\\}$ with an appropriate probability distribution ${\\cal P}$ on $\\{ 1,2,\\ldots, n\\}$. We form an $m\\times c$ matrix C consisting of the sampled columns of A, each scaled appropriately, and we form a $c\\times n$ matrix R using the corresponding rows of B, again scaled appropriately. The choice of ${\\cal P}$ and the column and row scaling are crucial features of the algorithm. When these are chosen judiciously, we show that $CR$ is a good approximation to $AB$. More precisely, we show that $$ \\left\\|AB-CR\\right\\|_F = O(\\left\\|A\\right\\|_F \\left\\|B\\right\\|_F \/\\sqrt c) , $$ where $\\|\\cdot\\|_F$ denotes the Frobenius norm, i.e., $\\|A\\|^2_F=\\sum_{i,j}A_{ij}^2$. This algorithm can be implemented without storing the matrices A and B in RAM, provided it can make two passes over the matrices stored in external memory and use $O(c(m+n+p))$ additional RAM to construct C and R. We then present a second matrix multiplication algorithm which is similar in spirit to our main algorithm. In addition, we present a model (the pass-efficient model) in which the efficiency of these and other approximate matrix algorithms may be studied and which we argue is well suited to many applications involving massive data sets. In this model, the scarce computational resources are the number of passes over the data and the additional space and time required by the algorithm. The input matrices may be presented in any order of the entries (and not just row or column order), as is the case in many applications where, e.g., the data has been written in by multiple agents. In addition, the input matrices may be presented in a sparse representation, where only the nonzero entries are written.<\/jats:p>","DOI":"10.1137\/s0097539704442684","type":"journal-article","created":{"date-parts":[[2008,11,19]],"date-time":"2008-11-19T17:07:49Z","timestamp":1227114469000},"page":"132-157","source":"Crossref","is-referenced-by-count":289,"title":["Fast Monte Carlo Algorithms for Matrices I: Approximating Matrix Multiplication"],"prefix":"10.1137","volume":"36","author":[{"given":"Petros","family":"Drineas","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Ravi","family":"Kannan","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Michael W.","family":"Mahoney","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"351","published-online":{"date-parts":[[2006,7,27]]},"reference":[{"key":"R1","unstructured":"D. Achlioptas and F. McSherry,\n                      Fast computation of low rank matrix approximations\n                      , J. ACM, to appear."},{"key":"R2","doi-asserted-by":"crossref","unstructured":"Dimitris Achlioptas, Frank McSherry, Fast computation of low rank matrix approximations, ACM, New York, 2001, 611\u20136182120364","DOI":"10.1145\/380752.380858"},{"key":"R3","doi-asserted-by":"crossref","unstructured":"Noga Alon, Yossi Matias, Mario Szegedy, The space complexity of approximating the frequency moments, ACM, New York, 1996, 20\u2013291427494","DOI":"10.1145\/237814.237823"},{"key":"R4","doi-asserted-by":"crossref","unstructured":"Ziv Bar\u2010Yossef, Sampling lower bounds via information theory, ACM, New York, 2003, 335\u20133442005k:68081","DOI":"10.1145\/780542.780593"},{"key":"R5","unstructured":"D. Barbara, C. Faloutsos, J. Hellerstein, Y. Ioannidis, H. V. Jagadish, T. Johnson, R. Ng, V. Poosala, K. Ross, and K. C. Sevcik,\n                      The New Jersey data reduction report\n                      , Bulletin of the IEEE Computer Society Technical Committee on Data Engineering, 1997."},{"key":"R6","doi-asserted-by":"publisher","DOI":"10.1007\/978-1-4612-0653-8"},{"key":"R7","doi-asserted-by":"publisher","DOI":"10.1006\/jagm.1998.0989"},{"key":"R8","doi-asserted-by":"publisher","DOI":"10.1016\/S0747-7171(08)80013-2"},{"key":"R9","doi-asserted-by":"crossref","unstructured":"Petros Drineas, Ravi Kannan, Fast Monte\u2010Carlo algorithms for approximate matrix multiplication, IEEE Computer Soc., Los Alamitos, CA, 2001, 452\u20134591948734","DOI":"10.1109\/SFCS.2001.959921"},{"key":"R10","unstructured":"Petros Drineas, Ravi Kannan, Pass efficient algorithms for approximating large matrices, ACM, New York, 2003, 223\u20132321974923"},{"key":"R11","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539704442696"},{"key":"R12","doi-asserted-by":"publisher","DOI":"10.1137\/S0097539704442702"},{"key":"R13","unstructured":"P. Drineas, R. Kannan, and M. W. Mahoney,\n                      Fast Monte Carlo Algorithms for Matrices I: Approximating Matrix Multiplication\n                      , Tech. Report YALEU\/DCS\/TR\u20101269, Department of Computer Science, Yale University, New Haven, CT, 2004."},{"key":"R14","doi-asserted-by":"crossref","unstructured":"J. Feigenbaum, S. Kannan, M. Strauss, M. Viswanathan, An approximate L1\u2010difference algorithm for massive data streams (extended abstract), IEEE Computer Soc., Los Alamitos, CA, 1999, 501\u20135111917590","DOI":"10.1109\/SFFCS.1999.814623"},{"key":"R15","doi-asserted-by":"crossref","unstructured":"A. Frieze, R. Kannan, and S. Vempala,\n                      Fast Monte\u2010Carlo algorithms for finding low\u2010rank approximations\n                      , in Proceedings of the 39th Annual IEEE Symposium on Foundations of Computer Science, 1998, pp. 370\u2013378.","DOI":"10.1109\/SFCS.1998.743487"},{"key":"R16","doi-asserted-by":"publisher","DOI":"10.1007\/BF02579329"},{"key":"R17","doi-asserted-by":"crossref","unstructured":"Anna Gilbert, Sudipto Guha, Piotr Indyk, Yannis Kotidis, S. Muthukrishnan, Martin Strauss, Fast, small\u2010space algorithms for approximate histogram maintenance, ACM, New York, 2002, 389\u20133982121164","DOI":"10.1145\/509907.509966"},{"key":"R18","volume-title":"Matrix computations","author":"Golub Gene","year":"1989"},{"key":"R19","unstructured":"M. R. Henzinger, P. Raghavan, and S. Rajagopalan,\n                      Computing on Data Streams\n                      , Tech. Report 1998\u2010011, Digital Systems Research Center, Palo Alto, CA, 1998."},{"key":"R20","doi-asserted-by":"publisher","DOI":"10.1017\/CBO9780511810817"},{"key":"R21","unstructured":"M. Krivelevich and V. H. Vu,\n                      On the Concentration of Eigenvalues of Random Symmetric Matrices\n                      , Tech. Report MSR\u2010TR\u20102000\u201060, Microsoft Research, Redmond, WA, 2000."},{"key":"R22","unstructured":"Colin McDiarmid, On the method of bounded differences, London Math. Soc. Lecture Note Ser., Vol. 141, Cambridge Univ. Press, Cambridge, 1989, 148\u201318891e:05077"},{"key":"R23","doi-asserted-by":"crossref","unstructured":"J. Munro, M. Paterson, Selection and sorting with limited storage, IEEE, Long Beach, Calif., 1978, 253\u201325880e:68162","DOI":"10.1109\/SFCS.1978.32"},{"key":"R24","unstructured":"M. Rudelson and R. Vershynin,\n                      Approximation of Matrices\n                      , manuscript."},{"key":"R25","volume-title":"Matrix perturbation theory","author":"Stewart G.","year":"1990"},{"key":"R26","doi-asserted-by":"publisher","DOI":"10.1007\/BF02165411"},{"key":"R27","unstructured":"R. Vershynin,\n                      Coordinate Restrictions of Linear Operators in l2n\n                      , manuscript; available online from http:\/\/arxiv.org\/abs\/math\/0011232."},{"key":"R28","doi-asserted-by":"publisher","DOI":"10.1145\/3147.3165"}],"container-title":["SIAM Journal on Computing"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/epubs.siam.org\/doi\/pdf\/10.1137\/S0097539704442684","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,21]],"date-time":"2026-08-21T18:24:53Z","timestamp":1787336693000},"score":1,"resource":{"primary":{"URL":"https:\/\/epubs.siam.org\/doi\/10.1137\/S0097539704442684"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2006,1]]},"references-count":28,"journal-issue":{"issue":"1","published-print":{"date-parts":[[2006,1]]}},"alternative-id":["10.1137\/S0097539704442684"],"URL":"https:\/\/doi.org\/10.1137\/s0097539704442684","relation":{},"ISSN":["0097-5397","1095-7111"],"issn-type":[{"value":"0097-5397","type":"print"},{"value":"1095-7111","type":"electronic"}],"subject":[],"published":{"date-parts":[[2006,1]]}}}