arXiv:2611.12321cs.DSNov 2026

Manuscript Offprint

arXiv:2611.12321

Strong Backdoor to Forests is FPT: Tight Linear-Time FPT for Essentially General SAT

Olesia Bilyk, Aidar Munduzbaev, Roohani Sharma, Mamnoon Siam

Abstract

The Boolean Satisfiability (SAT) problem is NP-complete, yet practical SAT solvers work exceptionally well in practice. Williams, Gomes, and Selman [IJCAI 2003] introduced backdoors to help explain this gap. Backdoors are small sets of variables whose assignment results in a formula in some fixed tractable class. We study the problem of finding strong backdoors to formulas whose incidence graphs have treewidth at most a prescribed bound tt: find a small set of variables such that every assignment to this set of variables results in a formula whose incidence graph has treewidth bounded by tt.

In a seminal work, Gaspers and Szeider [FOCS 2013] gave a fixed-parameter tractable (FPT) approximate algorithm for finding a strong backdoor of size at most kk to incidence treewidth at most tt, for a given CNF-formula ϕ\phi. In particular, their algorithm runs in f(k,t)⋅∣ϕ∣3f(k, t) \cdot |\phi|^3 time, and finds a strong backdoor to treewidth at most tt, of ϕ\phi, of size at most 2k2^k whenever there exists one of size at most kk. Determining whether the detection of strong backdoors to bounded incidence treewidth is FPT parameterized by k+tk+t was left open in their work and this has been repeatedly posed as an open question by Gaspers and Szeider, for example in [The Multivariate Algorithmic Revolution and Beyond 2012] and more recently in [Computer Science Reviews 2025], even for incidence forests and when the input is a 3-CNF formula. We answer this question affirmatively.

There are several interesting features of our result, beyond resolving the open question of Gaspers and Szeider. First, Lokshtanov, Panolan, and Ramanujan [ICALP 2022] proved W[2]-hardness of finding strong backdoors even when the target class is the class of forests, for arbitrary CNF formulas. We observe that their hardness construction crucially relies on using tautological clauses in the formula, that is clauses containing a variable and its negation, and does not establish hardness when such clauses are excluded. For the purposes of solving SAT, such tautological clauses in the input instance are meaningless.

We show that strong backdoors to forests can be found in linear-FPT time on arbitrary non-tautological CNF formulas (not just on 3-CNF formulas). Given such a formula ϕ\phi and a budget kk, our algorithm finds a strong backdoor to the class of forests, of size at most kk, or correctly reports that none exists, in 22O(k)⋅∣ϕ∣2^{2^{O(k)}} \cdot |\phi| time. Moreover, we show that our result is as tight as it can get. First, we show that finding strong backdoors to treewidth tt for any t≥2t \geq 2 is W[1]-hard, even on non-tautological 3-CNF formulas. Second, the running time of our algorithm is tight: it is linear in the input size and a better than double-exponential dependence on kk in the running time would imply a 2o(N/log⁡N)2^{o(N/\log N)}-time algorithm for solving 3-SAT on NN variables, which would beat even the very recently claimed sub-exponential algorithm for solving 3-SAT by OpenAI and Anthropic.

*Supported by the Young Scientist Fellowship (YSF) of the Institute for Basic Science (IBS-R029-Y8).

1 Introduction

The Boolean Satisfiability (SAT) problem is a cornerstone of computational complexity and a central tool for solving search and reasoning problems. Although SAT is NP-complete, modern SAT solvers routinely handle large instances arising in applications. Understanding which properties of these instances make this possible has motivated extensive research into determining tractable fragments of SAT and ways of exposing them inside more general formulas. Williams, Gomes, and Selman [WGS03] introduced backdoors as one explanation for this phenomenon: assigning a small set of key variables can reduce a large formula to an instance of a tractable class. A small backdoor can therefore reveal tractability that is not apparent from the formula as a whole.

The choice of the tractable target class gives rise to two broad directions, both of which are very well explored [NRS04, GMO+17, GS12a, GS13, FLM+15, LPR22] (see related work paragraph). Syntactic classes of formulas restrict the structure of the clauses. Standard examples include Horn formulas, in which each clause has at most one positive literal, and 2-CNF formulas, in which each clause has at most two literals. On the other hand structural classes restrict the interactions between variables and clauses, typically through a graph representation of the formula. A fundamental example is the notion of (bounded) incidence treewidth of a formula. The incidence graph of a CNF formula has one vertex for each variable and each clause, with an edge joining a variable to every clause in which it occurs (positively or negatively). For every fixed tt, SAT is solvable in linear time on formulas whose incidence graphs have treewidth at most tt [SS10].

There are two standard notions of backdoors to a target class C\mathcal{C}. A set XX of variables is a weak backdoor if some assignment τ\tau to XX leaves a satisfiable formula ϕ[τ]∈C\phi[\tau] \in \mathcal{C}. It is a strong backdoor if ϕ[τ]∈C\phi[\tau] \in \mathcal{C} for every assignment τ\tau to XX. Here, ϕ[τ]\phi[\tau] is obtained by deleting satisfied clauses and removing falsified literals, with identical resulting clauses merged. Given a strong backdoor of size kk for a formula ϕ\phi, one can decide satisfiability of ϕ\phi by solving the 2k2^k resulting formulas obtained by fixing an assignment to the kk strong backdoor variables, each of which belongs to a structured target class of choice. Consequently, a small strong backdoor to bounded incidence treewidth permits efficient SAT solving even when the original incidence graph has unbounded treewidth.

To exploit this approach towards solving SAT, however, one must first find such a backdoor. This leads to the central algorithmic question of (strong/weak) backdoor detection: given a formula ϕ\phi and an integer kk, can we find a (strong/weak) backdoor of size at most kk, or correctly determine that none exists, in time f(k)⋅∣ϕ∣O(1)f(k) \cdot |\phi|^{O(1)} for a computable function ff? Such an algorithm is fixed-parameter tractable (FPT) with respect to kk. For bounded-treewidth target class, one may also include the target width tt in the parameter and ask for an algorithm with running time f(k,t)⋅∣ϕ∣O(1)f(k, t) \cdot |\phi|^{O(1)}. Backdoor detection and its parameterized complexity have become a substantial research program, see for example the surveys of Gaspers and Szeider [GS12b, GS26], one of which is as recent as from last year and the other one is from more than a decade ago.

In this work we focus on finding strong backdoors to bounded incidence treewidth. Gaspers and Szeider [GS12a] first obtained an FPT-approximation algorithm for strong backdoors to the class of forests (treewidth 1). They subsequently, in a seminal work, extended this result to the case when the target class has arbitrary bounded incidence treewidth [GS13]. Their result showed that given a CNF formula ϕ\phi and integers k,tk, t, there is an algorithm that runs in f(k,t)⋅∣ϕ∣3f(k, t) \cdot |\phi|^3 time, for some computable function ff, that either finds a strong backdoor to incidence treewidth at most tt of size at most 2k2^k, or correctly reports that no such backdoor of size at most kk exists. Such an FPT-approximation algorithm suffices to establish fixed-parameter tractability of SAT parameterized by the size of a smallest strong backdoor to the target class of incidence treewidth at most tt.

The work of Gaspers and Szeider [GS13] leaves open a fundamental research question:

Is finding strong backdoors to treewidth-t FPT parameterized by k+tk+t?

That is, is there an algorithm that runs in f(k,t)⋅∣ϕ∣O(1)f(k,t) \cdot |\phi|^{O(1)} time and either reports a strong backdoor to treewidth at most tt of size at most kk, or correctly concludes that none exists?

Weak backdoors. For weak backdoor detection, even when the target class is the class of forests (that is when the incidence treewidth is 1) the problem is hard. In particular, Gaspers and Szeider [GS12a] proved that finding a weak backdoor to forests is W[2]-hard (on unrestricted CNF formulas), parameterized by kk. In fact, unlike the strong backdoors case, unless FPT = W[1], the problem admits no FPT-approximation whose approximation factor is bounded by any computable function of kk, even when the target class is that of forests.¹ Positive FPT results for the question of finding weak backdoors to bounded incidence treewidth classes, have thereafter focused on restrictions on the structure of the input formula. Fomin, Lokshtanov, Misra, Ramanujan, and Saurabh [FLM⁺15] obtained a linear-time FPT algorithm for solving dd-SAT via backdoors to bounded treewidth, and established FPT-time detection of weak backdoors when the input formula is a dd-SAT formula for a fixed constant dd. Later, Lokshtanov, Panolan, and Ramanujan [LPR22] extended the FPT algorithm for weak-backdoor detection to bounded incidence treewidth class, when the input formula's incidence graph exclude a fixed biclique Kd,dK_{d,d} as a subgraph. Their result applies, in particular, when the incidence graph of the input formula belongs to the class of nowhere-dense graphs. More recently, Dreier, Ganian, Gründel, Sharma and Wietheger [DGG⁺26] obtained a linear-time FPT algorithm for finding a weak backdoor to incidence treewidth tt, when the signed incidence graph of the input formula is semi-ladder-free. This extends tractability to classes of input formulas whose signed incidence graphs belongs to an appropriate dense graph class. The results mentioned in this paragraph concern finding weak backdoors in FPT time. The result of Fomin, Lokshtanov, Misra, Ramanujan, and Saurabh [FLM⁺15] also deals with strong backdoors but essentially gives an FPT-approximation like Gaspers and Szeider [GS13] for strong backdoors, but for dd-SAT formulas in linear FPT time.

Strong backdoors. Coming back to the topic of finding strong backdoors to incidence treewidth tt, which is the topic of this work, unlike for finding weak backdoors, the existence of an exact FPT algorithm has remained open, even for 3-CNF formulas, and even when the target class is the class of incidence treewidth 1 (that is forests). Asked more than a decade ago [GS13, GS12b], this specific question was reiterated in the recent survey of Gaspers and Szeider [GS12b, GS26], which we resolve in positive in this work.

Is finding a strong backdoor to the class of forests, given a 3-CNF formula, FPT?

Lokshtanov, Panolan and Ramanujan [LPR22] proved W[2]-hardness of finding strong backdoors to incidence treewidth tt, for every fixed t≥1t \geq 1 (that is, including the case when the target class is that of forests), on arbitrary CNF formulas. There is, however, a crucial feature of their construction that is worth making a note of. The constructed hard instance relies on having tautological clauses, that is clauses that contain both a variable and its negation and therefore are satisfied under every assignment. Though such tautological clauses can non-trivially affect the problem of finding (strong) backdoors, for the purposes of understanding SAT, which is the eventual goal of studying backdoors at the first place, such clauses are useless as almost any pre-processing algorithm for SAT will first

¹The reduction of Gaspers and Szeider [GS12a] from HITTING SET preserves the optimum solution size. Composing it with the standard optimum-preserving reduction from DOMINATING SET to HITTING SET, and applying the FPT-inapproximability result of Karthik, Laekhanukit, and Manurangsi [KLM19], yields the claim.

get rid of these clauses before doing anything non-trivial on the instance. Thus, despite the hardness result of Lokshtanov, Panolan, and Ramanujan [LPR22], the following question still remained widely open.

Is finding a strong backdoor to the class of incidence treewidth tt, given a non-tautological CNF formula, FPT?

Our results. We resolve this question positively for t=1t=1 and negatively for any t≥2t\geq 2. More formally, for every fixed integer t≥1t\geq 1, we consider the following problem.

STRONG BACKDOOR TO TREEWIDTH-tt Parameter: kk Input: A non-tautological CNF formula ϕ\phi and an integer k≥0k\geq 0. Question: Does ϕ\phi have a strong backdoor to treewidth-tt of size at most kk?

For t=1t=1, we call this problem STRONG BACKDOOR TO FOREST.

Theorem 1.1. STRONG BACKDOOR TO FOREST can be solved in 2O(k)⋅∣ϕ∣2^{O(k)}\cdot|\phi| time.

Theorem 1.1, in particular resolves the open question posed by Gaspers and Szeider [GS12b, GS26] about finding strong backdoors to forests on 3-CNF formulas, and goes much beyond its resolution. When the input formula is a 3-CNF formula, the non-tautological assumption can be dropped; see Appendix A after reading Sections 2 and 4. Thus our result also answers the question for 3-SAT [GS12b, GS26] without excluding tautological clauses.

Interestingly, we show that instead the hard obstacle lies in generalizing the treewidth of the target class (and not really in generalizing the structure of the input instance).

Theorem 1.2. For every fixed integer t≥2t\geq 2, STRONG BACKDOOR TO TREEWIDTH-tt is W[1]-hard parameterized by kk, even on non-tautological 3-CNF formulas.

Together with the FPT-approximation of Gaspers and Szeider [GS13], Theorem 1.2 separates the exact detection of strong backdoors to incidence treewidth t=1t=1, from FPT-approximation for every tt.

To prove Theorem 1.2 we first show that the graph problem SIMULTANEOUS TREEWIDTH-tt DELETION is W[1]-hard whenever t≥2t\geq 2. Interestingly, this problem was shown to be FPT when t=1t=1 in [ALMS18].

SIMULTANEOUS TREEWIDTH-tt DELETION Parameter: K+αK+\alpha Input: Graphs G1,…,GαG_1,\ldots,G_\alpha on the same vertex set VV, and a nonnegative integer KK. Question: Does there exist D⊆VD\subseteq V with ∣D∣≤K|D|\leq K such that tw(Ga−D)≤t\text{tw}(G_a-D)\leq t for every a∈[α]a\in[\alpha]?

Lemma 1.3 (Hardness of SIMULTANEOUS TREEWIDTH-tt DELETION). For every fixed integer t≥2t\geq 2, SIMULTANEOUS TREEWIDTH-tt DELETION is W[1]-hard parameterized by K+αK+\alpha.

Finally, we first observe that the running time of Theorem 1.1 is linear in the size of the input, which is already optimum, and at same time we show that the double-exponential dependence on kk in the running time is “unavoidable”, as a better than double-exponential dependence on kk for STRONG BACKDOOR TO FOREST would solve 3-SAT on nn variables in 2o(n/log⁡n)2^{o(n/\log n)} time. This would have refuted the Exponential Time Hypothesis (ETH). But already a few days ago, OpenAI [Ope26] and Anthropic [Cla26] announced that the Exponential Time Hypothesis (ETH) is false, by giving an algorithm that solve 3-SAT in 2O(nlog⁡log⁡n)/log⁡n2^{O(n\log\log n)/\sqrt{\log n}} time. Our “lower bound” now implies that a better than double-exponential dependence in kk in the algorithm of Theorem 1.1 would give an even faster algorithm for 3-SAT than what is currently claimed by OpenAI and Anthropic.

Theorem 1.4. Unless 3-SAT on nn variables can be solved in 2o(n/log⁡n)2^{o(n/\log n)} time, STRONG BACKDOOR TO FOREST cannot be solved in 22o(k)⋅∣ϕ∣O(1)2^{2^{o(k)}} \cdot |\phi|^{O(1)} time, even on non-tautological 3-CNF formulas.

Related work. Finding backdoors in FPT time has been an active research direction for over two decades, with continuing work on tractable target classes and the complexity of detecting backdoors into them. The surveys of Gaspers and Szeider [GS12b, GS26] give comprehensive accounts of this development and the parameterized complexity of backdoor detection.

Beyond the bounded-treewidth target classes discussed in this work, syntactic targets have received extensive attention. Nishimura, Ragde, and Szeider [NRS04] proved that strong-backdoor detection into Horn and 2-CNF is FPT, whereas weak detection is W[2]-hard. Misra, Ordyniak, Raman, and Szeider [MORS13] obtained single-exponential algorithms for weak detection on 3-CNF formulas. Gaspers, Ordyniak, Ramanujan, Saurabh, and Szeider [GOR+16] proved that detecting weak or strong backdoors to qq-Horn is W[2]-hard and gave an FPT-approximation algorithm for finding deletion backdoors to qq-Horn. Ramanujan and Saurabh [RS14] gave an exact FPT algorithm for deletion-backdoor detection2^2 with linear dependence on the input size. Gaspers, Misra, Ordyniak, Szeider, and Živný [GMO+17] classified strong backdoor detection to classes of formulas that are unions of Schaefer classes. For example, Horn ∪\cup 2-CNF admits FPT detection, whereas Horn ∪\cup dual Horn is W[2]-hard.

Gaspers and Szeider [GS12c] obtained an FPT-approximation for strong backdoor detection into nested formulas. Ordyniak, Paulusma, and Szeider [OPS13] proved polynomial-time solvability of SAT on β\beta-acyclic formulas, but W[2]-hardness of strong-backdoor detection into this class. Here acyclicity is defined on the formula's hypergraph, giving a target class more general than incidence forests.

Related work also studies parameters that can remain bounded when minimum backdoor size is unbounded. Ganian, Ramanujan, and Szeider [GRS17a, GRS17b] obtained FPT detection and evaluation algorithms using the torso treewidth of a backdoor into suitable SAT and CSP targets. Mählmann, Siebertz, and Vigny [MSV21] introduced recursive backdoor depth, which permits independent processing of components created by assignments and parallels recursive elimination in treedepth. Dreier, Ordyniak, and Szeider [DOS24, DOS23] developed this approach for syntactic SAT targets and CSP, including FPT-approximation of depth and linear-time SAT solving for bounded depth into Horn, dual Horn, and 2-CNF. Adaptive backdoor trees [SS08] and backdoor DNFs [OSS24] provide further detection problems parameterized by the number of leaves or terms. These directions vary the parameter or certificate; our work concerns exact detection of small backdoors into a structural target class.

References (41)