Skip to main content
QUICK REVIEW

[Paper Review] XORSAT: An Efficient Algorithm for the DIMACS 32-bit Parity Problem

Jingchao Chen|ArXiv.org|Mar 2, 2007
Digital Image Processing TechniquesComputer Science11 references3 citations
TL;DR

This paper presents XORSAT, a novel algorithm that splits the DIMACS 32-bit parity SAT problem into structured and random components, solving them separately using WalkSAT and an XOR equation solver. It achieves a 1000x speedup over EqSatz, solving the par32-5 instance in 2.9 seconds on a 2.66GHz Pentium IV, demonstrating a highly efficient alternative to traditional SAT solvers for this hard problem class.

ABSTRACT

The DIMACS 32-bit parity problem is a satisfiability (SAT) problem hard to solve. So far, EqSatz by Li is the only solver which can solve this problem. However, This solver is very slow. It is reported that it spent 11855 seconds to solve a par32-5 instance on a Maxintosh G3 300 MHz. The paper introduces a new solver, XORSAT, which splits the original problem into two parts: structured part and random part, and then solves separately them with WalkSAT and an XOR equation solver. Based our empirical observation, XORSAT is surprisingly fast, which is approximately 1000 times faster than EqSatz. For a par32-5 instance, XORSAT took 2.9 seconds, while EqSatz took 2844 seconds on Intel Pentium IV 2.66GHz CPU. We believe that this method significantly different from traditional methods is also useful beyond this domain.

Motivation & Objective

  • To address the computational intractability of the DIMACS 32-bit parity SAT problem, which resists conventional solvers.
  • To develop a faster alternative to EqSatz, the only known solver capable of solving this problem, which is prohibitively slow.
  • To explore a hybrid decomposition strategy that separates problem structure from randomness for improved efficiency.
  • To demonstrate that this decomposition-based approach significantly outperforms traditional SAT solving on this specific hard problem class.

Proposed method

  • The algorithm decomposes the original 32-bit parity problem into two parts: a structured component and a random component.
  • The structured part is solved using the WalkSAT algorithm, effective for problems with inherent structure.
  • The random part is solved using a specialized XOR equation solver, optimized for linear equations over GF(2).
  • The solution space is reconstructed by combining consistent solutions from both components.
  • The method leverages empirical observations that the parity problem exhibits a clear structural-randome split.
  • The solver is implemented and benchmarked on the par32-5 instance for performance comparison.

Experimental results

Research questions

  • RQ1Can a decomposition-based approach significantly outperform existing SAT solvers on the DIMACS 32-bit parity problem?
  • RQ2Does separating structured and random components in the problem enable faster solution via specialized solvers?
  • RQ3How does the performance of the proposed XORSAT solver compare to EqSatz on the par32-5 instance?
  • RQ4What is the impact of problem decomposition on solving time for hard parity SAT instances?

Key findings

  • XORSAT solved the par32-5 instance in 2.9 seconds on an Intel Pentium IV 2.66GHz CPU, compared to 2844 seconds for EqSatz on the same hardware.
  • The performance improvement of XORSAT over EqSatz is approximately 1000 times faster on the par32-5 benchmark.
  • The method demonstrates that decomposing the problem into structured and random components enables highly efficient solving.
  • The results suggest that this decomposition strategy is not only effective for the DIMACS 32-bit parity problem but also potentially applicable to other hard SAT problem classes.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.