Papers
Topics
Authors
Recent
Search
2000 character limit reached

EPTHS: Efficient Polynomial Time Heuristic Scheme

Updated 5 July 2026
  • EPTHS is defined as a family of algorithms that achieve efficient polynomial-time performance while ensuring either distributional correctness or (1+ε)-approximation guarantees.
  • It employs diverse techniques such as infinite transformer capture, rounding, and structural decomposition to solve problems in scheduling, TSP, and quantum synthesis.
  • The framework unifies various heuristic strategies under formal complexity models, offering insights for future advances in algorithmic design and transformer learning.

Efficient Polynomial Time Heuristic Scheme (EPTHS) denotes, in the materials considered here, a family of algorithmic formulations that combine polynomial dependence on the main instance-size parameter with either heuristic correctness guarantees under a distribution or near-optimal approximation guarantees. The most explicit formalization appears in the context of algorithmic capture by infinite transformers, where an algorithm belongs to EPTHS of degree kk if, for every δ(0,1)\delta\in(0,1), there exists a randomized implementation AδA_\delta whose runtime is O(η(1/δ)Tk)O(\eta(1/\delta)\,T^k) and whose output matches the target algorithm on a 1δ1-\delta fraction of instances under μX,T\mu_{X,T} (Davidovich et al., 11 Mar 2026). In adjacent uses, the same label is attached to deterministic construction heuristics, linear-programming-based synthesis procedures, and efficient polynomial-time approximation schemes in scheduling, planar graph optimization, and weighted shortest paths (Jazayeri et al., 2016).

1. Terminology and scope

Within the present corpus, EPTHS is not used in a single uniform sense. One line of work gives a formal complexity-theoretic definition for distributional tasks (Davidovich et al., 11 Mar 2026). Other works use the label for polynomial-time heuristics without worst-case approximation ratios, such as the deterministic TSP construction heuristic of complexity O(n2)O(n^2) (Jazayeri et al., 2016). A further cluster consists of classical approximation-scheme results whose native terminology is PTAS or EPTAS: a PTAS may run in time ng(1/ε)n^{g(1/\varepsilon)}, whereas an EPTAS runs in time f(1/ε)×poly(n,m)f(1/\varepsilon)\times \mathrm{poly}(n,m), so the exponent on nn and δ(0,1)\delta\in(0,1)0 does not depend on δ(0,1)\delta\in(0,1)1 (Epstein et al., 2012).

Context Runtime form Guarantee type
Distributional EPTHS δ(0,1)\delta\in(0,1)2 Correct on a δ(0,1)\delta\in(0,1)3 fraction under δ(0,1)\delta\in(0,1)4
EPTAS-style scheduling/graph optimization δ(0,1)\delta\in(0,1)5 or δ(0,1)\delta\in(0,1)6 δ(0,1)\delta\in(0,1)7-approximation
Deterministic TSP heuristic δ(0,1)\delta\in(0,1)8 No formal worst-case approximation ratio
Quantum GZZ synthesis heuristic δ(0,1)\delta\in(0,1)9 for fixed AδA_\delta0 AδA_\delta1
T-count heuristic AδA_\delta2 under a conjecture T-count-optimal under the stated assumptions

This suggests that EPTHS functions partly as a unifying editorial label for efficient algorithmic schemes that are polynomial in the main size parameter, even when the formal guarantee ranges from exact distributional correctness to empirical near-optimality or a classical AδA_\delta3-approximation (Epstein et al., 2012).

2. Formal definition in algorithmic capture

The 2026 transformer study gives the clearest formal definition. A distributional task is specified by a family of efficiently-samplable distributions AδA_\delta4 on instance spaces AδA_\delta5, together with a deterministic oracle algorithm AδA_\delta6 whose discrete outputs have minimum separation AδA_\delta7. A transformer is said to capture AδA_\delta8 at error-tolerance AδA_\delta9 if there exist functions O(η(1/δ)Tk)O(\eta(1/\delta)\,T^k)0, O(η(1/δ)Tk)O(\eta(1/\delta)\,T^k)1, and O(η(1/δ)Tk)O(\eta(1/\delta)\,T^k)2 such that, for every O(η(1/δ)Tk)O(\eta(1/\delta)\,T^k)3, a two-stage protocol—initial training on O(η(1/δ)Tk)O(\eta(1/\delta)\,T^k)4 samples from O(η(1/δ)Tk)O(\eta(1/\delta)\,T^k)5 and fine-tuning on an additional O(η(1/δ)Tk)O(\eta(1/\delta)\,T^k)6 samples from O(η(1/δ)Tk)O(\eta(1/\delta)\,T^k)7—yields a predictor O(η(1/δ)Tk)O(\eta(1/\delta)\,T^k)8 satisfying O(η(1/δ)Tk)O(\eta(1/\delta)\,T^k)9 (Davidovich et al., 11 Mar 2026).

Against that background, EPTHS of degree 1δ1-\delta0 is defined as follows: for every 1δ1-\delta1, there exists a randomized implementation 1δ1-\delta2 and a function 1δ1-\delta3 such that, for all 1δ1-\delta4, the runtime is

1δ1-\delta5

and

1δ1-\delta6

The defining feature is therefore polynomial-in-1δ1-\delta7 heuristic runtime with success measured under the task distribution rather than a worst-case approximation ratio (Davidovich et al., 11 Mar 2026).

The same paper derives upper bounds on what infinite-width transformers can capture. In the decoder-only NTK “lazy” regime, if an algorithm is captured with total sample count 1δ1-\delta8, then there exists an explicit Monte-Carlo inference implementation 1δ1-\delta9 with runtime

μX,T\mu_{X,T}0

which implies membership in EPTHS with degree μX,T\mu_{X,T}1 for every μX,T\mu_{X,T}2. Under a finite-width approximation assumption in the mean-field “rich” regime, a single forward pass yields μX,T\mu_{X,T}3, placing captured algorithms in EPTHS of degree μX,T\mu_{X,T}4 (Davidovich et al., 11 Mar 2026).

A further corollary states that if a distributional task lies outside EPTHS of degree μX,T\mu_{X,T}5 in the lazy regime, or outside degree μX,T\mu_{X,T}6 under the stated rich-regime width assumptions, then no corresponding infinite-width transformer can capture it in the sense of the definition above (Davidovich et al., 11 Mar 2026).

3. Approximation-scheme lineage and recurring construction motifs

A substantial part of the surrounding literature concerns efficient polynomial-time approximation schemes rather than heuristic schemes in the strict distributional sense. In these works, the characteristic runtime is μX,T\mu_{X,T}7, and the output is a μX,T\mu_{X,T}8-approximation. Typical constructions combine rounding, structural decomposition, fixed-dimension integer programming or mixed-integer programming, and dynamic programming (Epstein et al., 2014).

For scheduling on uniformly related machines with objective μX,T\mu_{X,T}9, the scheme in "Minimum total weighted completion time: Faster approximation schemes" fixes O(n2)O(n^2)0, rounds O(n2)O(n^2)1 to powers of O(n2)O(n^2)2, performs release-date shifting and density-shifting, decomposes the instance into bounded sub-instances, and solves each by a configuration-MILP. By Kannan’s algorithm, the MILP is solved in time O(n2)O(n^2)3, and the overall runtime is

O(n2)O(n^2)4

with final cost at most O(n2)O(n^2)5 (Epstein et al., 2014).

In load balancing on uniformly related machines, Epstein and Levin use a non-standard shifting technique on machine-work values. The method rounds speeds and job sizes to powers of O(n2)O(n^2)6, introduces forbidden intervals in the work scale, solves bounded-ratio subproblems by configuration enumeration and fixed-dimension integer programming, and then glues local solutions with a layered DAG dynamic program. The main guarantee is an EPTAS running in time O(n2)O(n^2)7 for minimizing O(n2)O(n^2)8 when O(n2)O(n^2)9 and maximizing it when ng(1/ε)n^{g(1/\varepsilon)}0 (Epstein et al., 2012).

For planar Steiner forest, Eisenstat, Klein, and Mathieu adopt the Klein spanner–thinning–DP–lifting skeleton. The pipeline consists of prize-collecting clustering and per-tree spanners, branchwidth reduction by thinning, bounded-branchwidth dynamic programming with “simple configurations,” and lifting of contracted edges. The resulting approximation scheme runs in ng(1/ε)n^{g(1/\varepsilon)}1 time and achieves a ng(1/ε)n^{g(1/\varepsilon)}2-approximation (Eisenstat et al., 2011).

In parallel multi-stage open shops with constant ng(1/ε)n^{g(1/\varepsilon)}3 and ng(1/ε)n^{g(1/\varepsilon)}4, the EPTAS uses scaling, a big-versus-small categorization based on ng(1/ε)n^{g(1/\varepsilon)}5, an LP over gap assignments for small jobs, and a rounding argument that appends only ng(1/ε)n^{g(1/\varepsilon)}6 fractionally assigned small jobs. The total additive slack is shown to be ng(1/ε)n^{g(1/\varepsilon)}7, yielding a runtime of the form ng(1/ε)n^{g(1/\varepsilon)}8 (Dong et al., 2022).

Weighted shortest paths amid weighted regions exhibit the same pattern in geometric form. The algorithm discretizes the continuous-Dijkstra wavefront into bundles of rays, traces only sibling extremals, and uses bundle splitting together with critical-angle handling under Snell’s law. The runtime is

ng(1/ε)n^{g(1/\varepsilon)}9

and the path cost is at most f(1/ε)×poly(n,m)f(1/\varepsilon)\times \mathrm{poly}(n,m)0 (Inkulu et al., 2015).

These constructions differ substantially in machinery, but the common structure is clear: a controlled loss of precision is traded for a combinatorial state space whose dependence on f(1/ε)×poly(n,m)f(1/\varepsilon)\times \mathrm{poly}(n,m)1 remains polynomial.

4. Heuristic instantiations outside classical EPTAS theory

The term EPTHS is also attached to algorithms that are explicitly heuristic. In the deterministic TSP construction method, each city f(1/ε)×poly(n,m)f(1/\varepsilon)\times \mathrm{poly}(n,m)2 receives a priority

f(1/ε)×poly(n,m)f(1/\varepsilon)\times \mathrm{poly}(n,m)3

where f(1/ε)×poly(n,m)f(1/\varepsilon)\times \mathrm{poly}(n,m)4 is the mean distance from city f(1/ε)×poly(n,m)f(1/\varepsilon)\times \mathrm{poly}(n,m)5 to all others and f(1/ε)×poly(n,m)f(1/\varepsilon)\times \mathrm{poly}(n,m)6 is the corresponding standard deviation. When city f(1/ε)×poly(n,m)f(1/\varepsilon)\times \mathrm{poly}(n,m)7 is connected, each candidate neighbor f(1/ε)×poly(n,m)f(1/\varepsilon)\times \mathrm{poly}(n,m)8 is scored by

f(1/ε)×poly(n,m)f(1/\varepsilon)\times \mathrm{poly}(n,m)9

The algorithm builds a Hamiltonian cycle in two passes, first ensuring every city has at least one neighbor and then enforcing degree two while preventing subtours in the second pass. Its time complexity is nn0. On 25 TSPLIB instances, the reported mean error is nn1 for EPTHS versus nn2 for Nearest Neighbor, nn3 for Greedy, nn4 for Clarke–Wright, and nn5 for Christofides. On 45 random Euclidean instances with nn6, the reported mean error is nn7, compared with nn8, nn9, δ(0,1)\delta\in(0,1)00, and δ(0,1)\delta\in(0,1)01 for the same baselines (Jazayeri et al., 2016).

In multi-qubit gate synthesis, the heuristic goal is to decompose δ(0,1)\delta\in(0,1)02 as a nonnegative combination of rank-one sign matrices δ(0,1)\delta\in(0,1)03, minimizing the total time δ(0,1)\delta\in(0,1)04. The restricted dictionary δ(0,1)\delta\in(0,1)05 is built from partial-Hadamard constructions and has size δ(0,1)\delta\in(0,1)06. A restricted LP

δ(0,1)\delta\in(0,1)07

is then solved. For fixed hierarchy level δ(0,1)\delta\in(0,1)08, both dictionary construction and LP size are polynomial in δ(0,1)\delta\in(0,1)09; the heuristic always satisfies δ(0,1)\delta\in(0,1)10. In the reported numerical study, the slope of δ(0,1)\delta\in(0,1)11 versus δ(0,1)\delta\in(0,1)12 is linear with δ(0,1)\delta\in(0,1)13 (Baßler et al., 2023).

The T-count synthesis heuristic MIN-T-SYNTH proceeds by iterative deepening on the target depth δ(0,1)\delta\in(0,1)14, starting from the lower bound δ(0,1)\delta\in(0,1)15. The SEARCH subroutine performs breadth-first expansion over Pauli corrections, records changes in the smallest-denominator exponent and Hamming weight, and prunes candidates using a partition-and-select rule. Under the conjecture that the number of surviving candidates remains bounded by δ(0,1)\delta\in(0,1)16 at every depth and that pruning never discards all nodes on an optimal path, both time and space become δ(0,1)\delta\in(0,1)17, and the returned circuit is T-count-optimal (Mosca et al., 2020).

In classical planning, EPTHS refers to operator-count heuristics defined on compliant variables. With δ(0,1)\delta\in(0,1)18 the net-change matrix, δ(0,1)\delta\in(0,1)19 the required goal displacement, and δ(0,1)\delta\in(0,1)20 a diagonal action-cost matrix, the quadratic relaxation

δ(0,1)\delta\in(0,1)21

has closed-form solution

δ(0,1)\delta\in(0,1)22

The corresponding heuristic is δ(0,1)\delta\in(0,1)23. Pre-computation costs δ(0,1)\delta\in(0,1)24, and per-state evaluation costs δ(0,1)\delta\in(0,1)25. The same framework also supports δ(0,1)\delta\in(0,1)26-LP and iteratively reweighted δ(0,1)\delta\in(0,1)27-δ(0,1)\delta\in(0,1)28-LP variants (Chakraborti et al., 2016).

A further heuristic scheduling result appears in the hybrid δ(0,1)\delta\in(0,1)29-EA for single-machine scheduling without precedence constraints. The algorithm mixes local mutation implementing a partial Jackson-rule move with a rare global random-shuffle mutation of probability δ(0,1)\delta\in(0,1)30, where δ(0,1)\delta\in(0,1)31. For fixed δ(0,1)\delta\in(0,1)32, the runtime bound is

δ(0,1)\delta\in(0,1)33

and with probability at least δ(0,1)\delta\in(0,1)34, the best stored schedule satisfies δ(0,1)\delta\in(0,1)35 (Mitavskiy et al., 2012).

5. Guarantees, assumptions, and common misconceptions

A central distinction is between formal approximation schemes and heuristic schemes. The EPTAS results for weighted completion time scheduling, load balancing, planar Steiner forest, open shops, and weighted shortest path all provide explicit δ(0,1)\delta\in(0,1)36-type guarantees with runtimes of the form δ(0,1)\delta\in(0,1)37 or δ(0,1)\delta\in(0,1)38 (Epstein et al., 2014). By contrast, the deterministic TSP EPTHS explicitly does not prove a worst-case approximation ratio; the paper states that empirical deviations from optimal or Held–Karp are “on the order of 5–12\%, typically δ(0,1)\delta\in(0,1)39,” and that “No formal bound is known; this remains an open question for theoretical analysis” (Jazayeri et al., 2016).

A second misconception is that membership in EPTHS automatically implies learnability by transformers. The transformer results show only a one-way restriction: captured algorithms must lie within low-degree EPTHS. The paper also gives counterexamples to sufficiency at the empirical level. Source–Target Shortest Path on random geometric graphs has average-case BFS cost δ(0,1)\delta\in(0,1)40, hence EPTHS degree δ(0,1)\delta\in(0,1)41, and Min-Cut/Max-Flow on the same graph family has average-case time δ(0,1)\delta\in(0,1)42, hence EPTHS degree δ(0,1)\delta\in(0,1)43; nevertheless, both tasks “fail to capture” in the stated two-phase protocol (Davidovich et al., 11 Mar 2026).

A third issue concerns hidden assumptions. The T-count heuristic is polynomial in δ(0,1)\delta\in(0,1)44 and δ(0,1)\delta\in(0,1)45 only under the conjecture that pruning preserves at least one optimal path and keeps the candidate frontier polynomially bounded (Mosca et al., 2020). The operator-count heuristics rely on compliance conditions: when a goal-relevant variable is compliant, the net-change equation δ(0,1)\delta\in(0,1)46 exactly captures necessary accumulated change, and integer solutions yield lower bounds on optimal plan length; the closed-form δ(0,1)\delta\in(0,1)47 heuristic is faster but can be inadmissible when fractional values are rounded up (Chakraborti et al., 2016).

A final terminological caution is that some records do not provide enough technical detail to support reconstruction of an EPTHS. The entry for "A Polynomial Time Algorithm for 3-SAT" [0701023] states only that the article “describes a class of efficient algorithms for 3SAT and their generalizations on SAT,” while the accompanying note says that the paper’s full content was not included and therefore definitions, algorithm, proofs, and experiments are unavailable.

6. Significance and open directions

EPTHS is significant because it provides a compact way to discuss a broad class of algorithms that are efficient in the main size parameter yet not necessarily exact in the strongest worst-case sense. In the complexity-theoretic formulation, it supplies a language for separating true algorithmic generalization from interpolation by requiring both controllable error and logarithmic sample adaptation across problem sizes (Davidovich et al., 11 Mar 2026). In approximation algorithms, the same family resemblance appears through repeated use of rounding, shifting, spanners, bounded-ratio decompositions, fixed-dimension integer programming, and dynamic programming (Eisenstat et al., 2011).

Several open directions are explicit in the source materials. For transformers, the stated open problems include tighter NTK-evaluation bounds that could reduce the exponent from δ(0,1)\delta\in(0,1)48 to δ(0,1)\delta\in(0,1)49, architectures whose inductive bias matches higher-degree EPTHS, and analyses of deeper recurrent or Augmented Transformer models (Davidovich et al., 11 Mar 2026). For the TSP heuristic, the absence of any formal worst-case approximation ratio remains unresolved (Jazayeri et al., 2016). For multi-qubit GZZ synthesis, the conjecture is that any GZZ gate can be executed in time δ(0,1)\delta\in(0,1)50, while the heuristic already exhibits a similar scaling empirically (Baßler et al., 2023).

Taken together, these works show that EPTHS is best understood not as a single fixed algorithmic template but as a spectrum of efficient schemes. At one end lie rigorous δ(0,1)\delta\in(0,1)51-approximation frameworks; at the other lie polynomial-time heuristics whose value is supported by empirical behavior, structural bounds, or distributional correctness guarantees. This suggests that the term is most useful when accompanied by its precise guarantee model—worst-case approximation, distributional correctness, or assumption-dependent heuristic optimality—rather than treated as a standalone complexity label.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Efficient Polynomial Time Heuristic Scheme (EPTHS).