Multiplication of 0-1 Matrices via Clustering
2025 (English)In: Frontiers of Algorithmics: 19th International Joint Conference, IJTCS-FAW 2025, Paris, France, June 30 – July 2, 2025, Proceedings / [ed] Vincent Chau; Christoph Dürr; Minming Li; Pinyan Lu, Springer Nature , 2025, Vol. 15828 LNCS, p. 92-102Conference paper, Published paper (Refereed)
Abstract [en]
We study applications of clustering (in particular the k-center clustering problem) in the design of efficient and practical deterministic algorithms for computing an approximate and the exact arithmetic matrix product of two 0-1 rectangular matrices A and B with clustered rows or columns, respectively. Let λA and λB denote the minimum maximum radius of a cluster in an ℓ-center clustering of the rows of A and in a k-center clustering of the columns of B, respectively. In particular, when A and B are square matrices of size n×n, we obtain the following results. A simple deterministic algorithm that approximates each entry of the arithmetic matrix product of A and B within an additive error of at most 2λA in O(n2ℓ) time or at most 2λB in O(n2k) time.A simple deterministic preprocessing of the matrices A and B in O(n2ℓ) time or O(n2k) time after which every query asking for the exact value of an arbitrary entry of the arithmetic matrix product of A and B can be answered in O(λA) time or O(λB) time, respectively.A simple deterministic algorithm for the exact arithmetic matrix product of A and B running in time O(n2(ℓ+k+min{λA,λB})). A simple deterministic algorithm that approximates each entry of the arithmetic matrix product of A and B within an additive error of at most 2λA in O(n2ℓ) time or at most 2λB in O(n2k) time. A simple deterministic preprocessing of the matrices A and B in O(n2ℓ) time or O(n2k) time after which every query asking for the exact value of an arbitrary entry of the arithmetic matrix product of A and B can be answered in O(λA) time or O(λB) time, respectively. A simple deterministic algorithm for the exact arithmetic matrix product of A and B running in time O(n2(ℓ+k+min{λA,λB})).
Place, publisher, year, edition, pages
Springer Nature , 2025. Vol. 15828 LNCS, p. 92-102
Series
Lecture Notes in Computer Science, ISSN 0302-9743, E-ISSN 1611-3349 ; 15828
Keywords [en]
arithmetic matrix multiplication, clustering, Hamming space, minimum spanning tree
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:mau:diva-78830DOI: 10.1007/978-981-96-8312-3_7ISI: 001547050800007Scopus ID: 2-s2.0-105010825920ISBN: 978-981-96-8311-6 (print)ISBN: 978-981-96-8312-3 (electronic)OAI: oai:DiVA.org:mau-78830DiVA, id: diva2:1988230
Conference
19th International Joint Conference on Theoretical Computer Science-Frontier of Algorithmic Wisdom, IJTCS-FAW 2025, 30 Jun-02 Jul 2025, Paris, France
2025-08-112025-08-112026-02-17Bibliographically approved