arXiv:2611.01569cs.DSNov 2026

Manuscript Offprint

arXiv:2611.01569

A logarithm-free subexponential algorithm for minimum quartet inconsistency

Chuang-Chieh Lin

Abstract

We give a deterministic algorithm for complete, unweighted minimum quartet inconsistency (MQI) with time and space 2O(k1/4)+nO(1)2^{O(k^{1/4})} + n^{O(1)}, where n is the number of taxa and k is the allowed number of quartet disagreements. This removes the logarithmic factor from the exponent of the MQI bound announced in 2009. The algorithm combines low-error anchoring, chromatic coding, and dynamic programming that accounts for disagreements with all input quartets, with a refined count of colorings and merging states. We also record a generic ETH-based lower bound. The optimality of the fourth-root exponent remains open.

Keywords: Minimum quartet inconsistency, Parameterized algorithms, Phylogenetic reconstruction, Chromatic coding, Subexponential algorithms

1. Introduction

Let SS be a set of n≥4n \geq 4 taxa. An unrooted binary phylogenetic tree on SS has its leaves labeled bijectively by SS, and every internal vertex has degree three. Such a tree on four taxa is called a resolved quartet. For X={a,b,c,d}X = \{a, b, c, d\}, its unique internal edge separates the leaves into two pairs. We denote the topology by ab∣cdab \mid cd when these pairs are {a,b}\{a, b\} and {c,d}\{c, d\}. Figure 1 shows the three possible resolved topologies on XX.

Figure

Figure

Figure

Figure 1: The three resolved quartet topologies on {a,b,c,d}\{a, b, c, d\}. Each internal edge induces the indicated 2 | 2 split.

A quartet system on SS is a collection of resolved quartets whose leaf sets belong to (S4)\binom{S}{4}. We call the system full if each four-element subset of SS is represented by exactly one quartet. We identify a full system with a function QQ, writing Q(X)Q(X) for the selected topology on X∈(S4)X \in \binom{S}{4}. Throughout this note, a complete quartet input means a full quartet system in this sense. Note that the chosen topologies need not all be displayed by a single tree.

For an unrooted binary phylogenetic tree TT on SS and X∈(S4)X \in \binom{S}{4}, let T∣XT|_{X} be the tree obtained from the minimal connected subtree of TT spanning XX by suppressing all degree-two vertices. We say that TT displays a quartet qq on XX if T∣X=qT|_{X} = q. The induced full quartet system QTQ_T is defined by QT(X)=T∣XQ_T(X) = T|_{X} for every X∈(S4)X \in \binom{S}{4}. A full system QQ is compatible if some tree TT displays every quartet selected by QQ, equivalently, if Q=QTQ = Q_T.

For a complete input Q and a candidate tree T, define

d(Q,T)=∑X∈(S4)1[Q(X)≠QT(X)],d(Q,T)=\sum_{X\in\binom{S}{4}}\mathbf{1}[Q(X)\neq Q_{T}(X)],

where 1[P]\mathbf{1}[P] equals one when the statement PP is true and zero otherwise. Minimum quartet inconsistency (MQI) asks whether d(Q,T)≤kd(Q, T) \leq k for some unrooted binary phylogenetic tree TT on SS. Thus kk counts quartet entries that must be changed, rather than taxa, tree rearrangements, or missing entries. Inputs with at most three taxa have no quartet entries and can be handled separately.