EPTHS: Efficient Polynomial Time Heuristic Scheme
- 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 if, for every , there exists a randomized implementation whose runtime is and whose output matches the target algorithm on a fraction of instances under (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 (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 , whereas an EPTAS runs in time , so the exponent on and 0 does not depend on 1 (Epstein et al., 2012).
| Context | Runtime form | Guarantee type |
|---|---|---|
| Distributional EPTHS | 2 | Correct on a 3 fraction under 4 |
| EPTAS-style scheduling/graph optimization | 5 or 6 | 7-approximation |
| Deterministic TSP heuristic | 8 | No formal worst-case approximation ratio |
| Quantum GZZ synthesis heuristic | 9 for fixed 0 | 1 |
| T-count heuristic | 2 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 3-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 4 on instance spaces 5, together with a deterministic oracle algorithm 6 whose discrete outputs have minimum separation 7. A transformer is said to capture 8 at error-tolerance 9 if there exist functions 0, 1, and 2 such that, for every 3, a two-stage protocol—initial training on 4 samples from 5 and fine-tuning on an additional 6 samples from 7—yields a predictor 8 satisfying 9 (Davidovich et al., 11 Mar 2026).
Against that background, EPTHS of degree 0 is defined as follows: for every 1, there exists a randomized implementation 2 and a function 3 such that, for all 4, the runtime is
5
and
6
The defining feature is therefore polynomial-in-7 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 8, then there exists an explicit Monte-Carlo inference implementation 9 with runtime
0
which implies membership in EPTHS with degree 1 for every 2. Under a finite-width approximation assumption in the mean-field “rich” regime, a single forward pass yields 3, placing captured algorithms in EPTHS of degree 4 (Davidovich et al., 11 Mar 2026).
A further corollary states that if a distributional task lies outside EPTHS of degree 5 in the lazy regime, or outside degree 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 7, and the output is a 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 9, the scheme in "Minimum total weighted completion time: Faster approximation schemes" fixes 0, rounds 1 to powers of 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 3, and the overall runtime is
4
with final cost at most 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 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 7 for minimizing 8 when 9 and maximizing it when 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 1 time and achieves a 2-approximation (Eisenstat et al., 2011).
In parallel multi-stage open shops with constant 3 and 4, the EPTAS uses scaling, a big-versus-small categorization based on 5, an LP over gap assignments for small jobs, and a rounding argument that appends only 6 fractionally assigned small jobs. The total additive slack is shown to be 7, yielding a runtime of the form 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
9
and the path cost is at most 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 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 2 receives a priority
3
where 4 is the mean distance from city 5 to all others and 6 is the corresponding standard deviation. When city 7 is connected, each candidate neighbor 8 is scored by
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 0. On 25 TSPLIB instances, the reported mean error is 1 for EPTHS versus 2 for Nearest Neighbor, 3 for Greedy, 4 for Clarke–Wright, and 5 for Christofides. On 45 random Euclidean instances with 6, the reported mean error is 7, compared with 8, 9, 00, and 01 for the same baselines (Jazayeri et al., 2016).
In multi-qubit gate synthesis, the heuristic goal is to decompose 02 as a nonnegative combination of rank-one sign matrices 03, minimizing the total time 04. The restricted dictionary 05 is built from partial-Hadamard constructions and has size 06. A restricted LP
07
is then solved. For fixed hierarchy level 08, both dictionary construction and LP size are polynomial in 09; the heuristic always satisfies 10. In the reported numerical study, the slope of 11 versus 12 is linear with 13 (Baßler et al., 2023).
The T-count synthesis heuristic MIN-T-SYNTH proceeds by iterative deepening on the target depth 14, starting from the lower bound 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 16 at every depth and that pruning never discards all nodes on an optimal path, both time and space become 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 18 the net-change matrix, 19 the required goal displacement, and 20 a diagonal action-cost matrix, the quadratic relaxation
21
has closed-form solution
22
The corresponding heuristic is 23. Pre-computation costs 24, and per-state evaluation costs 25. The same framework also supports 26-LP and iteratively reweighted 27-28-LP variants (Chakraborti et al., 2016).
A further heuristic scheduling result appears in the hybrid 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 30, where 31. For fixed 32, the runtime bound is
33
and with probability at least 34, the best stored schedule satisfies 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 36-type guarantees with runtimes of the form 37 or 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 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 40, hence EPTHS degree 41, and Min-Cut/Max-Flow on the same graph family has average-case time 42, hence EPTHS degree 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 44 and 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 46 exactly captures necessary accumulated change, and integer solutions yield lower bounds on optimal plan length; the closed-form 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 48 to 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 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 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.