<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>An Empirical Study of the Efect of Learnt Clause on the Structural Measures of SAT problems</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Yoichiro Iida</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Tomohiro Sonobe</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Mary Inaba</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Graduate School of Information Science and Technology, The University of Tokyo</institution>
          ,
          <addr-line>Hongo 7-3-1, Bunkyo, Tokyo</addr-line>
          ,
          <country country="JP">Japan</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>National Institute of Informatics</institution>
          ,
          <addr-line>Hitotsubashi 2-1-2, Chiyoda, Tokyo</addr-line>
          ,
          <country country="JP">Japan</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Owing to their high eficiency, state-of-the-art solvers are applied to solve a wide range of computational problems for industrial purposes. The satisfiability problem (SAT) is a well-known NP-complete problem, and SAT solvers are the applications for solving SAT. The high performance of SAT solvers is attributed to the exploitation of the underlying structure of industrial SAT problems. Industrial problems derived from real-world problems exhibit more biased and prominent structural properties compared to random ones. However, research has shown that clause learning, an essential technique of modern SAT solvers, decreases the degree of structure of industrial problems. This study intends to answer 'why learnt clauses are efective though they destroy the structure of problems -the hypothetical source of eficiency?' . We hypothesize that this can be explained by the diference in the quality of clauses; the quality of the learnt clause correlates to the change in structure, and high-quality (useful) clauses destroy the structure less. To verify this, we investigated the time variance of two structural measures, treewidth and modularity, throughout the search process to observe the impact of learning. Additionally, we analyzed the relationship between the quality of a learnt clause, measured by the literal block distance (LBD), and its efect on the structural changes, measured by the modularity. Our findings include the following: (1) The value of these measures does not change monotonically rather it fluctuates over time. (2) The efect of learnt clauses on the structural change is correlated with these qualities -low-quality clauses characterized by large LBD values tend to decrease modularity more than high-quality clauses with small LBD values, and vice versa. These findings determine the relationship between the quality of learnt clauses and their impact on the structure of a SAT problem. The study suggests potential avenues for developing methods for a more efective evaluation of learnt clauses based on structural measures.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;CDCL SAT Solver</kwd>
        <kwd>Clause Learning</kwd>
        <kwd>Structure of SAT</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <p>
        The Boolean satisfiability problem (SAT) is a well-known NP-complete problem; thus, problems
containing numerous variables are considered computationally intractable. However, in practice,
conflict-driven clause learning (CDCL) SAT solvers, which are applications widely used for
solving SAT problems, occasionally solve problems with millions of variables in a reasonable
time (e.g., a few minutes or hours). This gap between theoretical understanding and practical
results may originate from the structure of SAT problems. Unlike random SAT problems used
in theoretical research, industrial problems derived from real-world problems exhibit biased
and prominent structural properties. These structural properties are quantified by measures
such as backdoors [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ], treewidth [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ], and modularity [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]. For instance, random SAT problems
do not usually have impactful backdoors that can drastically simplify the problem upon correct
assignment, and industrial SAT problems, such as planning tasks, may have low treewidth
owing to their hierarchical structure. Distinct diferences have been observed in these measures
through multiple pieces of research between random and industrial problems [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]. A correlation
was also observed between the values of the measures and the search time of the SAT solvers[
        <xref ref-type="bibr" rid="ref3">3</xref>
        ].
      </p>
      <p>
        Although the original industrial problems exhibit properties distinct from those of random
problems, some studies [
        <xref ref-type="bibr" rid="ref5 ref6">5, 6</xref>
        ] have revealed that clause learning during search reduces the
diference between the values of the measures of industrial problems and those of random ones.
The authors of [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ] even stated that clause learning “destroys the original structure.” Indeed,
this has been observed across numerous measures [
        <xref ref-type="bibr" rid="ref4">4</xref>
        ]; the initial structure of SAT problems
tends to approach a structure-less, random-like structure as a result of learning. This raises an
intriguing question. Learning is one of the pivotal techniques of CDCL and is well-known to
markedly improve search eficiency by retaining the learnt clauses. Furthermore, the structural
properties of SAT problems have been used to explain the eficiency of SAT solvers on industrial
problems. However, learning decreases the structural property. Why learnt clauses are efective
even though they destroy the structure of problems —the hypothetical source of eficiency?
      </p>
      <p>To address this question, we focus on the clause quality and clause deletion procedure based
on the quality measures. Solvers obtain learnt clauses at every conflict during the search process,
which can result in the acquisition of millions of clauses. Retaining all these clauses is neither
practical nor eficient, considering the memory requirements and the impact on the search
eficiency of propagation. Consequently, modern SAT solvers delete learnt clauses based on the
quality of these clauses. Based on the learning procedure, our hypothetical story to answer the
above question is as follows:
• Through the deletion process, high-quality clauses are maintained in the solver, whereas
low-quality ones are deleted. Furthermore, high-quality clauses are more frequently used
(i.e., propagated or analyzed) than low-quality ones.
• Although the structure of the problem may explain the eficiency of the solver, learnt
clauses are known to decrease the structural properties.
• High-quality clauses decrease less or even increase the structural properties of SAT
problems; in contrast, low-quality clauses decrease them.
• This results in maintaining or even increasing the actual structural properties because of
the deletion and less usage of lower-quality clauses.</p>
      <p>• This maintained structure contributes to finding solutions even in large-size problems.</p>
      <p>To validate this hypothesis, this study aims to understand the relationship between the quality
and structural measures of learnt clauses through experimental analysis. We investigated the
changes of two measures, treewidth and modularity, throughout the search process. Additionally,
we analyzed the relationship between the quality of a learnt clause and its efect on the change
in the modularity value. The objective of the analysis is to understand: how much and when
the value of structural measures changes by the learnt clauses; and which quality of the learnt
clauses changes these values more. The findings of this study provide a deep understanding
of clause learning and deletion, as well as the relationship between the problem structure and
clause learning.</p>
      <p>The remainder of this paper is organized as follows: Section 2 introduces SAT solvers and
structural measures. Section 3 presents the results of experimental observations. Section 4
summarizes the paper and suggests future research directions.</p>
    </sec>
    <sec id="sec-2">
      <title>2. Preliminaries</title>
      <sec id="sec-2-1">
        <title>2.1. SAT solver and clause learning</title>
        <p>
          The SAT problem is a decision problem of the Boolean formula. A Boolean formula is an
expression that uses the logical operators AND, OR, and NOT to combine Boolean variables,
which can only hold True or False values. The SAT problem asks if a true/false assignment
exists to variables in a Boolean formula that makes the whole formula true, and it is a famous
NP-complete problem. SAT solvers are algorithmic applications designed to solve SAT problems,
using various techniques to find a satisfying assignment of variables (satisfiable, SAT) or
determine that no such assignment exists (unsatisfiable, UNSAT). CDCL is a major algorithm
adopted by many solvers. State-of-the-art CDCL solvers occasionally solve problems with
even more than one million variables and clauses. Owing to their eficiency, they are used
to solve real-world problems such as computer-aided proofing [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ] and binary neural network
verification [
          <xref ref-type="bibr" rid="ref9">9</xref>
          ] encoded as SAT problems.
        </p>
        <p>
          A key function of CDCL solvers is clause learning [
          <xref ref-type="bibr" rid="ref10">10</xref>
          ]. Learnt clauses, the output of learning,
is an inference derived from the original SAT instance represented as a clause. The technique
has significantly improved the performance of solvers owing to its power to prune the search
space. The procedure to obtain learnt clauses is as follows. The SAT solver performs its search
by making an assumption that assigns a Boolean (True or False) value to a variable (decision).
Subsequently, as the logical consequence of the decision, the solver assigns the Boolean values
of other deterministic variables (propagation). If all the literals in any clause are assigned to
be false as the result of propagation, the decision is considered to be incorrect (conflict). The
CDCL solver analyzes the root cause of the conflict, and a counter-example of the cause is
learned as a clause (learnt clause) to avoid the same incorrect assumptions and conflicts in
subsequent searches. To select the best counter-example, the first unique implication point [
          <xref ref-type="bibr" rid="ref11">11</xref>
          ]
is used. Finally, the solver cancels the incorrect decisions and resumes its search for another
decision (backtrack). The decision level represents the depth of (number of) the decision at the
current search, starting at level 0 and increasing with each decision made or decreasing during
backtracking.
        </p>
        <p>The size and literal block distance (LBD) [12] are two popular measures for evaluating the
quality of learnt clauses. The size of the clause is defined as the number of literals contained in
the learnt clause. A literal is a variable or the negation of a variable. For a clause  comprised of
literals {1, 2, . . . , }, the clause size is calculated as: || = . The smaller the clause size is,
the more useful the clause is evaluated to be. LBD is a more efective measure, defined as the
count of distinct decision levels to which the literals of a clause belong. For a clause  with 
literals from decision levels {1, 2, . . . , }, LBD is given as:</p>
        <p>LBD() = |{1, 2, . . . , }|
A lower LBD value suggests a high degree of interaction among the literals in the clause in
the implication graph, enhancing the potential of the clause for efective search space pruning.
Therefore, CDCL solvers prefer learnt clauses with lower LBD values. Owing to the efectiveness
of LBD, the LBD score has been used not only for learnt clause management but also for other
heuristic techniques (e.g., restart strategy [13] and decision branching heuristic [14]).</p>
      </sec>
      <sec id="sec-2-2">
        <title>2.2. Structure of the SAT problem</title>
        <p>The input for the SAT solver is usually given in the conjunctive normal form (CNF). A formula
is said to be in CNF if it is a conjunction of one or more clauses, where a clause is a disjunction
of literals. An example of a CNF formula is ( ∨ ) ∧ (¬ ∨ ), where ( ∨ ) and (¬ ∨ )
are clauses, and , , and ¬, and  are literals. Industrial SAT problems indicate prominent
structural properties. Examples of structural measures are treewidth and modularity. For the
graph representation of a SAT problem to calculate these measures, a variable incidence graph
(VIG) is widely used.
weight  is defined as (, ) = ∑︀∈,,∈ 1/(︀ |2|)︀ .</p>
        <p>Definition 1. Variable incidence graph (VIG):</p>
        <p>A VIG is a graph representation of logical expressions. Let  be a SAT problem for a set of
variables  and clauses . The nodes of the VIG are denoted by  , and the edge , ∈ 
between  and  ∈  denotes the existence of a clause  ∈  containing ,  in . The edge</p>
        <p>Both the  and ¬ literals belong to node  in VIG. When the same pair of variables (,  )
appears more than once in , () sums all the weights of pairs. This means that the shorter
the clause becomes, the higher the edge weight is, and vice versa. In this study, we used VIG
as a graph representation of the SAT problem. The two structural measures, treewidth and
modularity, are calculated on the VIG.</p>
        <sec id="sec-2-2-1">
          <title>Definition 2. Treewidth:</title>
          <p>Treewidth characterizes the degree of resemblance of a given graph to a tree. The smaller
the treewidth, the more the graph resembles a tree. For a graph  = (, ), the treewidth is
defined as the size of the largest bag (subgraph) in the optimal tree decomposition of the graph
minus one.</p>
          <p>tw() = min max || − 1</p>
          <p>T ∈ ( )
(1)
Here,  = ( ( ), ( )) is a tree of , and  ⊆  for  ∈  ( ) represents a bag in the
decomposition. The following conditions must hold: ⋃︀∈ ( )  =  : Every vertex in  is
included in at least one bag; for every edge (, ) ∈ , there exists a bag  such that ,  ∈ .
For all ,  ,  ∈ | ∈  ( ), if  is on the path from  to  in  , then  ∩  ⊆  ;
the bags that contain a particular vertex in  must form a connected subtree in  .</p>
          <p>
            This concept involves decomposing a graph into a tree-structured collection of subgraphs.
Each subgraph contains a vertex subset. Treewidth is a useful parameter for various
computational problems, as many NP-hard graph problems can be solved in polynomial time for
graphs of bounded treewidth [15]. For this reason, the relationship between the hardness of
SAT problems and the value of treewidth has been widely studied [
            <xref ref-type="bibr" rid="ref4">4</xref>
            ].
          </p>
        </sec>
        <sec id="sec-2-2-2">
          <title>Definition 3. Modularity:</title>
          <p>Modularity evaluates the quality of a given partition of the input graph. For a weighted edge
graph  = (, ) and a partition  = {1, 2, ..., } of its vertices  , where  is pairwise
disjoint and ⋃︀
=1  =  , the modularity  is computed as follows:
(,  ) =
1 ∑|︁| ∑|︁| [︂
2 =1 =1
 −
() × () ]︂
2
 (,  )
(2)</p>
          <p>Here,  is the element at the -th row and -th column of the adjacency matrix  of the
graph , () denotes the sum of the weights of the edges connected to vertex ,  equals
the sum of the weights of all edges in the graph,  ∈  is the community to which vertex 
belongs, and  (,  ) equals 1 if vertices  and  belong to the same community (i.e.,  =  ),
and 0 otherwise.</p>
          <p>A community in a graph is defined as a group of vertices more densely connected internally
than the rest of the graph. The division of a graph into such communities is often denoted
as a partition. Modularity quantifies the degree of deviation of the number of edges within
communities from a random distribution. A high modularity score suggests that the graph
exhibits a robust community structure. The following subsection introduces various research
regarding the modularity and structures of SAT.</p>
        </sec>
      </sec>
      <sec id="sec-2-3">
        <title>2.3. Related work</title>
        <p>
          Ferrara et al. [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ] revealed that the graphs of the industrial SAT problems exhibit relatively smaller
treewidth than random problems. They attempted a theoretical explanation for the ability of
CDCL solvers to eficiently solve industrial problems by demonstrating the characteristics of
these industrial problems. Newsham et al. [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ] investigated the relationship between the number
of communities of a clause and its LBD values. They found that the degree of community
structure is associated with the runtime of the instance. Furthermore, Newsham et al. [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ]
visualized the graph structure of SAT problems and demonstrated that the acquisition of learnt
clauses (i.e., the search progress) diminishes the clarity of the structure. Ansótegui et al. [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ]
demonstrated that industrial SAT problems exhibit considerably stronger community structures,
as measured via the modularity . Ansótegui et al. [16] analyzed the change in modularity
(Δ) resulting from the acquisition of learnt clauses. Their findings indicate that although
most learnt clauses exhibit a negative Δ, some exhibit a positive Δ. These studies served as
an inspiration for our research to delve deeper into understanding the relationship between
learned clauses and the structure of SAT.
        </p>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>3. Experiments</title>
      <sec id="sec-3-1">
        <title>3.1. Change in the structural measures by learning</title>
        <p>
          First, we assessed how much and when learning changes the structural measures. Related works
[
          <xref ref-type="bibr" rid="ref6">16, 6</xref>
          ] showed that the structure of the problem becomes unclear (to be more random-like
structure) as the overall trend after learning. Our objective is to study the change in more detail
to understand the impact of learning and its deletion. For the measurement of the degree of the
structure, we selected two measures: modularity and treewidth. Modularity is widely used in
the context of SAT, and both of the abovementioned works use this concept. Although treewidth
is relatively less popular in the context of SAT, it is a well-studied and popular measure in
graph theory. We calculated the treewidth and modularity values using approximations as the
calculations of exact values of them are NP-hard. FlowCutter [17] calculated the upper-bound
value of treewidth, an application submitted at the PACE 2017 competition. The community
decomposition for modularity was conducted based on the Louvain community detection
algorithm using networkx, a Python library [18]. Our benchmark consisted of 400 problems
from the main tracks of the SAT competition in 2021. In this study, we excluded problems
from the result that provided no treewidth value within 1200 s or no modularity value within
24 h. We performed experiments on a computer equipped with an AMD Threadripper Pro
3995WX processor (64 cores) and 512 GB (128 GB four slots, DDR4-3200 MHz) of RAM. We
selected Glucose 4.2.1 [19] as the base solver for experiments because it is the first solver with
the implementation of LBD.
        </p>
        <p>The scatterplot in Figure 1a reveals the variation in the treewidth value between   and
 . Let   be the original problem and  be the learnt clauses maintained by the solver at
time .  is the result of clauses learnt and deleted up to point . The time when the search
is finished is , which is either at the 3600 s timeout or when the solver finds a SAT or
UNSAT solution. The problem   at time  is defined by   + ; thus   =   +  .
Hereafter,  refers to the graph of the problem. A dot in the scatter plot figure represents
a problem, and its position (original, last) represents the values of treewidth tw( ) and
tw( ), respectively. In 78% of problems, treewidth( ) &lt; treewidth( ) were observed,
and in particular, 11% of problems have the value changed by a factor of 10 or more. Note that
the figure is on a double-logarithmic graph. Similarly, Figure 1b details the modularity value
for each problem. This result also reveals modularity( ) &gt; modularity( ) for 84% of the
problems. In particular, there were 64% of problems that showed almost zero values below 0.05.
These results are consistent with those of existing studies; The learning changes the structure
toward the random-like one —in other words, the learning destroys the structure.</p>
        <p>Next, Figure 2 details the temporal change of the values of the measures, showing four
problems as typical examples. Similar trends are observed in most problems, as seen in [20].
The left and right vertical axes indicate the modularity value and treewidth, respectively. The
horizontal axis indicates the time series: ‘original’ indicates the values of  , original CNF
graph before preprocessing; ‘0’ is the value of the graph of the preprocessed formula. We
observed these measures approximately every 300 s until . The figures claim two arguments.
First, the values of measures change immediately after starting the search, particularly between
0 and 300 s, and do not vary monotonically. Second, the measures oscillate back in a zigzag
1.E+010.E+00 1.E+01 1.E+02 1.E+03 1.E+04 1.E+05 1.E+06</p>
        <p>Original state
(a) treewidth
0.0
0.2
0.8</p>
        <p>1.0
0.4 0.6</p>
        <p>Original state
(b) modularity
manner as time progresses. This phenomenon is assumed to occur as the result of the deletion of
learnt clauses. These results suggest a hypothetical explanation: the deletion of badly evaluated
clauses with large LBD values restores the changed structure; and thus, the deletion of learnt
clauses is efective for solver performance because of the power of structure restoration.
modularity
treewidth
modularity
treewidth
original 0 300 600 900 1200 1500 1800 2100 2400 2700 3000 3300 3594
(a) ktf_TF-3.tf_2_0.02_24
modularity
treewidth</p>
      </sec>
      <sec id="sec-3-2">
        <title>3.2. Analysis of the relationship between the quality and structural measure</title>
        <p>We hypothesize that high-quality clauses decrease less the structural properties of SAT problems
less than low-quality clauses, or even increase them. If this is true, it will resolve the contradiction
between the explanation that the structure of the problem is a factor in the eficiency of the SAT
solver and the observation that learnt clauses increase the eficiency of the SAT solver while
destroying the structure of the problem. We conducted an experiment to identify which learnt
clause changed the structure more. We analyzed the relationship between LBD and the degree
of change by comparing the delta of the modularity Q between   and   + a learnt clause
, namely, delta with the addition of a learnt clause.</p>
        <p>Definition 4. For a learnt clause , Δ() = (  + ,  ′) − ( ,  ).</p>
        <p>Modularity  requires a graph  and its partition  . The calculation of partition (community)
detection costs numerous resources for millions of learnt clauses. Therefore, we calculated
Δ with two assumptions: partition  does not change by adding a clause, that is,  ′ =  ;
the change in , i.e., the sum of the weight of all edges, can be ignored by adding a clause
with weight 1. These assumptions are reasonable when adding at most one learnt clause to the
original problem that has thousands of clauses. We ran Glucose 4.2.1 with a 3600 s time limit to
export all the learnt clauses and their information, such as LBD and its literals, to files. The
export was conducted when learnt clauses were obtained, updated, or deleted. The clause was
determined to be the same as literal identity.</p>
        <p>Four typical examples are depicted in Fig 3 as boxplots of the Δ distribution for each LBD.
Each chart shows the median as the orange line, quartiles as the edges of the box, and outliers as
the circles if data points are more than 1.5 times the interquartile box. Clear trends are observed
in these figures —the smaller the LBD is, the larger the average Δ is. This result indicates
that better clauses (smaller LBD clauses) slightly decrease or even increase the modularity
value. This trend was observed among most problems, as shown in [20]. We analyzed the
diferences between all the clauses and the clauses of LBD 2 to determine the overall trend
among all problems. The average Δ for all clauses across problems was − 5.3 × 10− 5, with
76% displaying a negative mean Δ. In contrast, clauses with an LBD of 2 had a mean Δ of
− 4.4 × 10− 5, and 68% exhibited negative values. These results show that clauses with small
values of LBD (here LBD of 2) are not necessarily positive clauses, while the percentage of
clauses with positive Δ is high (i.e., enhancing the structure of the problem). This supports
our hypothesis that ‘high-quality clauses decrease the structural properties of SAT problems
less than low-quality clauses, or even increase them.’</p>
        <p>Conversely, to see what characteristics are present in clauses with positive Δ values, a
comparative analysis was performed between clauses with positive Δ and any Δ. Mean
LBD values and the number of communities per problem for each set of learned clauses were
calculated. The aggregate means are shown in Table 1. Similar to the boxplot, positive Δ
clauses had lower LBD values and fewer community afiliations. Moreover, as anticipated,
clauses characterized by a positive Δ were afiliated with a smaller number of communities.
Ansótegui et al.,[16] revealed that although most of the learnt clauses decreased the modularity
value, some clauses increased it. Combining this with our results suggests that learning
lowquality clauses decreases modularity, and learning high-quality clauses slightly decreases or
ltQ 0
a
e
d
ltaQ 0
e
d
2
1
1
2
4
2
2
4
6
1.0
0.5
taQ 0.0
l
e
d
0.5
1.0
1 2 3 4 5 6 7 8 9101112131415161718192021222324252627282930</p>
        <p>LBD
1 2 3 4 5 6 7 8 9101112131415161718192021222324252627282930</p>
        <p>LBD
even increases modularity.</p>
      </sec>
      <sec id="sec-3-3">
        <title>3.3. Further analysis on the relationship between LBD and modularity</title>
        <p>The previous analysis showed that high-quality clauses (measured by LBD values) have a small
impact on the decrease of modularity (i.e., Δ). However, this is probably because of the
pseudo-correlation with size, not between LBD and Δ, because modularity is a measure on
the graph, LBD is correlated with the size of the clause, and the size strongly influences the
VIG weight. To analyze the impact solely based on the LBD values excluding the impact of
size, we visualized the correlation as a heatmap among the clause size, LBD, and mean Δ in
Figure 4. The color of each cell represents the mean of Δ, and the vertical and horizontal axes
represent the LBD and clause size, respectively. When examining colors vertically for a given
size, a notable diference is observed —smaller LBD values correspond to larger average values
of Δ. These results support the argument presented in Figure 3. The complete results of all
problems are available in [20] where most of the problems show a similar trend.</p>
        <p>Furthermore, we analyzed the overall trend of all problems by calculating the partial
correlation coeficients of the LBD, size, and Δ values to confirm the above implication from the
observations. A partial correlation coeficient measures the relationship between two variables
when one variable is held constant. This assesses the pure correlation between two variables,
excluding the influence of other variables. To define the partial correlation coeficient, we
consider three random variables , , . The partial correlation coeficient of  and  is denoted
as ., and the following formula can be derived:
. = √︁(1 − 2)(1 − 2)</p>
        <p>− 
. Here,  represents the correlation coeficient of  and , and  is the control variable of .
calculating the correlation coeficient of ,  without the influence of . The partial correlation
coeficients were found to be +0.54 between the size and LBD, − 0.09 between the size and
Δ, and − 0.24 between LBD and Δ, respectively. These results indicate that LBD and Δ
weakly correlate, even without any outlier operation, and allow us to conclude that the value of
LBD afects the value of Δ. This could explain the efectiveness of the three-tier scheme for
clause management. The clauses that can enhance the structure remain in tier 1 (measured by
LBD), and those that destroy the structure are put in tier 3 and will be removed soon.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>4. Conclusion</title>
      <p>This study explored the impact of clause learning in CDCL SAT solvers on the structural
properties of SAT problems, focusing specifically on two measures: treewidth and modularity.
The investigation was organized around two key experiments: the time variance in these
measures during the search process to assess the impact of clause deletion, and the relationship
between the quality of a learnt clause and its subsequent efect on modularity.</p>
      <p>The first experiment revealed that these measures do not change monotonically but fluctuate
periodically. This fluctuating pattern is due to the continuous interplay of clause learning
and deletion processes, indicating that clause deletion can restore the changed structure. This
implies diferences in the impact of the structural change between the deleted and remaining
clauses. The second experiment showed that the quality of learnt clauses, measured by LBD
values, was a significant factor impacting structural changes; low-quality clauses, characterized
by large LBD values, were found to decrease in modularity more than high-quality clauses. This
result explains the fluctuation in the first experiment. More importantly, it resolves the question
of ‘why learnt clauses are efective though they destroy the structure of problems?’ . The learnt
clauses as a whole (considering all obtained clauses) tend to decrease the structural properties
of problems, but the actual structural properties are maintained or even increased owing to
high-quality clauses. These insights can potentially inform that the benefits of clause deletion
are beyond addressing memory constraints and reducing the propagation time —forgetting
3 6 9 21 51 18 21 24 27 30 33 36 93 42 45 48 51 54 57 60 63 66 69 72 76
size
2 6 01 41 18 22 26 30 34 38 42 46 05 54 58 62 66 70 74 78 82 86 90 94 98
size
2 6 01 41 18 22 26 30 34 38 42 46 05 54 58 62 66 70 74 78 82 86 90 94 98</p>
      <p>size
2 6 01 41 18 22 26 30 34 38 42 46 05 54 58 62 66 70 74 78 82 86 90 94 98</p>
      <p>size
low-quality learnt clauses helps restore the distinct structural properties of problems to maintain
the problem ‘structured’, enabling its eficient solution.</p>
      <p>In future research, exploring similar studies employing other measures, such as scale-free and
centrality, could ofer further insight into our current findings. The interrelation between the
degree of modularity changes (Δ) and the consequent efect on the solver runtime presents
yet another intriguing area of study. If a robust correlation in the runtime is found, Δ or
other structural measures could provide efective evaluation measures for the quality of learnt
clauses. They could even replace traditional measures, such as LBD or size; for instance, a
clause that increases the structural measure might be deemed beneficial. Beyond modularity
Δ, other structural measures also warrant consideration for this purpose and can enhance the
performance of CDCL SAT solvers. Moreover, these measures could be invaluable specifically
for parallel learnt clause sharing. As LBD is derived from the solver decision tree, it inherently
depends on the state of the search. Given that each parallel worker would operate in a distinct
state of search, this inevitably results in diferent decision trees and LBD values. This suggests
that basing the decision of learnt clause sharing on LBD might not be the most efective
approach. On the other hand, structural measures derived from the original instance, such as
Δ employed in this study, potentially ofer better solutions. These measures are common
information available to all parallel workers and can thus provide a unified measure to judge
the usefulness of clauses.</p>
    </sec>
    <sec id="sec-5">
      <title>Acknowledgments</title>
      <p>We express our deep gratitude to the reviewers for their insightful comments and to participants
at the Pragmatics of SAT workshop for enriching discussions. We also wish to acknowledge the
meaningful discussion with Professor Hiroshi Imai and the members of his laboratory.
boolean satisfiability solver, in: IEEE/ACM International Conference on Computer Aided
Design. ICCAD 2001. IEEE/ACM Digest of Technical Papers (Cat. No.01CH37281), 2001,
pp. 279–285. doi:10.1109/ICCAD.2001.968634.
[12] G. Audemard, L. Simon, Predicting learnt clauses quality in modern SAT solvers, in:
Proceedings of the 21st international jont conference on Artifical intelligence, IJCAI’09,
Morgan Kaufmann Publishers Inc., San Francisco, CA, USA, 2009, pp. 399–404. URL:
https://dl.acm.org/doi/10.5555/1661445.1661509.
[13] A. Biere, A. Frohlich, Evaluating cdcl restart schemes, in: Proceedings of Pragmatics of
SAT 2015 and 2018, volume 59 of EPiC Series in Computing, EasyChair, 2019, pp. 1–17.
doi:10.29007/89dw.
[14] W. Chang, G. Wu, Y. Xu, Adding a lbd-based rewarding mechanism in branching
heuristic for sat solvers, in: 2017 12th International Conference on Intelligent Systems and
Knowledge Engineering (ISKE), 2017, pp. 1–6. doi:10.1109/ISKE.2017.8258780.
[15] E. C. Freuder, Complexity of k-tree structured constraint satisfaction problems, in:
Proceedings of the Eighth National Conference on Artificial Intelligence - Volume 1,
AAAI’90, AAAI Press, 1990, p. 4–9. URL: https://dl.acm.org/doi/10.5555/1865499.1865500.
[16] C. Ansótegui, J. Giráldez-Cru, J. Levy, L. Simon, Using community structure to
detect relevant learnt clauses, in: Theory and Applications of Satisfiability
Testing – SAT 2015, Springer International Publishing, 2015, pp. 238–254. doi:10.1007/
978-3-319-24318-4\_18.
[17] M. Hamann, B. Strasser, Flow-cutter-pace17, 2017. URL: https://github.com/kit-algo/
lfow-cutter-pace17, last accessed: 2023-04-17.
[18] Networkx: Modularity, https://networkx.org/documentation/stable/reference/algorithms/
generated/networkx.algorithms.community.quality.modularity.html, 2023. Last accessed:
2023-04-17.
[19] G. Simon, Laurent; Audemard, About the glucose sat solver, 2018. URL: https://www.labri.</p>
      <p>fr/perso/lsimon/research/glucose/, accessed: 2023-3-8.
[20] Image repository for all instances, https://github.com/messhiida/PoS2023-images.git, 2023.</p>
      <p>Last accessed: 2023-05-03.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>R. R.</given-names>
            <surname>Williams</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C. P.</given-names>
            <surname>Gomes</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Selman</surname>
          </string-name>
          ,
          <article-title>On the connections between backdoors, restarts, and heavy-tailedness in combinatorial search</article-title>
          , structure
          <volume>23</volume>
          (
          <year>2003</year>
          ).
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <given-names>A.</given-names>
            <surname>Ferrara</surname>
          </string-name>
          , G. Pan,
          <string-name>
            <given-names>M. Y.</given-names>
            <surname>Vardi</surname>
          </string-name>
          ,
          <article-title>Treewidth in verification: Local vs</article-title>
          . global, in: Logic for Programming,
          <source>Artificial Intelligence, and Reasoning</source>
          , Springer Berlin Heidelberg, Berlin, Heidelberg,
          <year>2005</year>
          , pp.
          <fpage>489</fpage>
          -
          <lpage>503</lpage>
          . doi:
          <volume>10</volume>
          .1007/11591191_
          <fpage>34</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <given-names>Z.</given-names>
            <surname>Newsham</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Ganesh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Fischmeister</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Audemard</surname>
          </string-name>
          , L. Simon,
          <article-title>Impact of community structure on sat solver performance</article-title>
          ,
          <source>in: Theory and Applications of Satisfiability Testing - SAT 2014</source>
          , Springer International Publishing, Cham,
          <year>2014</year>
          , pp.
          <fpage>252</fpage>
          -
          <lpage>268</lpage>
          . doi:
          <volume>10</volume>
          .1007/ 978-3-
          <fpage>319</fpage>
          -09284-3_
          <fpage>20</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>T. N.</given-names>
            <surname>Alyahya</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. E. B.</given-names>
            <surname>Menai</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Mathkour</surname>
          </string-name>
          ,
          <article-title>On the structure of the boolean satisfiability problem: A survey</article-title>
          ,
          <source>ACM Comput. Surv</source>
          .
          <volume>55</volume>
          (
          <year>2022</year>
          )
          <fpage>1</fpage>
          -
          <lpage>34</lpage>
          . doi:
          <volume>10</volume>
          .1145/3491210.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>P.</given-names>
            <surname>Gregory</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Fox</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Long</surname>
          </string-name>
          ,
          <article-title>A new empirical study of weak backdoors</article-title>
          , in: P. J.
          <string-name>
            <surname>Stuckey</surname>
          </string-name>
          (Ed.),
          <source>Principles and Practice of Constraint Programming</source>
          , Springer Berlin Heidelberg, Berlin, Heidelberg,
          <year>2008</year>
          , pp.
          <fpage>618</fpage>
          -
          <lpage>623</lpage>
          . doi:
          <volume>10</volume>
          .1007/978-3-
          <fpage>540</fpage>
          -85958-1_
          <fpage>53</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>Z.</given-names>
            <surname>Newsham</surname>
          </string-name>
          ,
          <string-name>
            <given-names>W.</given-names>
            <surname>Lindsay</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Ganesh</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J. H.</given-names>
            <surname>Liang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Fischmeister</surname>
          </string-name>
          ,
          <string-name>
            <given-names>K.</given-names>
            <surname>Czarnecki</surname>
          </string-name>
          ,
          <article-title>Satgraf: Visualizing the evolution of sat formula structure in solvers</article-title>
          ,
          <source>in: Theory and Applications of Satisfiability Testing - SAT 2015</source>
          , Springer International Publishing, Cham,
          <year>2015</year>
          , pp.
          <fpage>62</fpage>
          -
          <lpage>70</lpage>
          . doi:
          <volume>10</volume>
          .1007/978-3-
          <fpage>319</fpage>
          -24318-
          <issue>4</issue>
          _
          <fpage>6</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>C.</given-names>
            <surname>Ansótegui</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M. L.</given-names>
            <surname>Bonet</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Giráldez-Cru</surname>
          </string-name>
          ,
          <string-name>
            <surname>J. Levy</surname>
          </string-name>
          , L. Simon,
          <article-title>Community structure in industrial SAT instances</article-title>
          ,
          <source>The journal of artificial intelligence research 66</source>
          (
          <year>2019</year>
          )
          <fpage>443</fpage>
          -
          <lpage>472</lpage>
          . doi:
          <volume>10</volume>
          .1613/jair.1.11741.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>M. J. H.</given-names>
            <surname>Heule</surname>
          </string-name>
          ,
          <string-name>
            <given-names>O.</given-names>
            <surname>Kullmann</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V. W.</given-names>
            <surname>Marek</surname>
          </string-name>
          ,
          <article-title>Solving and verifying the boolean pythagorean triples problem via Cube-and-</article-title>
          <string-name>
            <surname>Conquer</surname>
          </string-name>
          ,
          <source>in: Theory and Applications of Satisfiability Testing - SAT 2016</source>
          , Springer, Cham,
          <year>2016</year>
          , pp.
          <fpage>228</fpage>
          -
          <lpage>245</lpage>
          . doi:
          <volume>10</volume>
          .1007/978-3-
          <fpage>319</fpage>
          -40970-2_
          <fpage>15</fpage>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          [9]
          <string-name>
            <given-names>C.</given-names>
            <surname>Bright</surname>
          </string-name>
          ,
          <string-name>
            <surname>I. Kotsireas</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            <surname>Heinle</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Ganesh</surname>
          </string-name>
          ,
          <article-title>Complex golay pairs up to length 28: A search via computer algebra and programmatic sat</article-title>
          ,
          <source>Journal of Symbolic Computation</source>
          <volume>102</volume>
          (
          <year>2021</year>
          )
          <fpage>153</fpage>
          -
          <lpage>172</lpage>
          . doi:
          <volume>10</volume>
          .1016/j.jsc.
          <year>2019</year>
          .
          <volume>10</volume>
          .013.
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>
          [10]
          <string-name>
            <given-names>R. J.</given-names>
            <surname>Bayardo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R. C.</given-names>
            <surname>Schrag</surname>
          </string-name>
          ,
          <article-title>Using csp look-back techniques to solve real-world sat instances</article-title>
          ,
          <source>in: Proceedings of the Fourteenth National Conference on Artificial Intelligence and Ninth Conference on Innovative Applications of Artificial Intelligence</source>
          , AAAI'97/IAAI'97, AAAI Press,
          <year>1997</year>
          , p.
          <fpage>203</fpage>
          -
          <lpage>208</lpage>
          . URL: https://dl.acm.org/doi/10.5555/1867406.1867438.
        </mixed-citation>
      </ref>
      <ref id="ref11">
        <mixed-citation>
          [11]
          <string-name>
            <given-names>L.</given-names>
            <surname>Zhang</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            <surname>Madigan</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Moskewicz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>S.</given-names>
            <surname>Malik</surname>
          </string-name>
          ,
          <article-title>Eficient conflict driven learning in a</article-title>
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>