Visible to the public M4GB: An Efficient Gröbner-Basis Algorithm

TitleM4GB: An Efficient Gröbner-Basis Algorithm
Publication TypeConference Paper
Year of Publication2017
AuthorsMakarim, Rusydi H., Stevens, Marc
Conference NameProceedings of the 2017 ACM on International Symposium on Symbolic and Algebraic Computation
PublisherACM
Conference LocationNew York, NY, USA
ISBN Number978-1-4503-5064-8
KeywordsCollaboration, Grobner basis algorithm, human factors, Metrics, multivariate polynomial systems, policy-based governance, Policy-Governed Secure Collaboration, pubcrawl, quantum-safe public key crypto, resilience, Resiliency, Safe Coding
Abstract

This paper introduces a new efficient algorithm for computing Grobner-bases named M4GB. Like Faugere's algorithm F4 it is an extension of Buchberger's algorithm that describes: how to store already computed (tail-)reduced multiples of basis polynomials to prevent redundant work in the reduction step; and how to exploit efficient linear algebra for the reduction step. In comparison to F4 it removes further redundant work in the processing of reducible monomials. Furthermore, instead of translating the reduction of many critical pairs into the row reduction of some large matrix, our algorithm is described more natively and is efficient while processing critical pairs one by one. This feature implies that typically M4GB has to process fewer critical pairs than F4, and reduces the time and data complexity 'staircase' related to the increasing degree of regularity for a sequence of problems one observes for F4. To achieve high efficiency, M4GB has been designed specifically to operate only on tail-reduced polynomials, i.e., polynomials of which all terms except the leading term are non-reducible. This allows it to perform full-reduction directly in the computation of a term polynomial multiplication, where all computations are done over coefficient vectors over the non-reducible monomials. We have implemented a version of our new algorithm tailored for dense overdefined polynomial systems as a proof of concept and made our source code publicly available. We have made a comparison of our implementation against the implementations of FGBlib, Magma and OpenF4 on various dense Fukuoka MQ challenge problems that we were able to compute in reasonable time and memory. We observed that M4GB uses the least total CPU time and the least memory of all these implementations for those MQ problems, often by a significant factor. In the Fukuoka MQ challenges, the starting challenges of Type V and Type VI have 16 equations which was chosen based on an extrapolated computational runtime of more than a month using Magma. M4GB allowed us to set new records for these Fukuoka MQ challenges breaking Type V (F28) up to 18 equations and Type VI (F31) up to 19 equations, each can be computed within up to 11 days on our dual Xeon system.

URLhttps://dl.acm.org/citation.cfm?doid=3087604.3087638
DOI10.1145/3087604.3087638
Citation Keymakarim_m4gb:_2017