Last Update

OPML feed of all feeds.

Subscribe to the Atom feed, RSS feed to stay up to date.

Thank you to arXiv for use of its open access interoperability.

Note: the date of arXiv entries announced right after publication holidays might incorrectly show up as the date of the publication holiday itself. This is due to our ad hoc method of inferring announcement dates, which are not returned by the arXiv API.

Powered by Pluto.

Source on GitHub.

Maintained by Nima Anari, Arnab Bhattacharyya, Gautam Kamath.

Theory of Computing Report

Wednesday, December 02

Facts only

from Scott Aaronson

This morning, the NSA put out a press release advising “Immediate Transition to Post-Quantum Cryptography to Protect National Security Systems,” because: Frontier SI [“super intelligence”] companies have engaged with the U.S. government to responsibly disclose recent discoveries that impact the security of some cryptographic systems currently in use. This threat, alongside the existing concerns about […]

This morning, the NSA put out a press release advising “Immediate Transition to Post-Quantum Cryptography to Protect National Security Systems,” because:

Frontier SI [“super intelligence”] companies have engaged with the U.S. government to responsibly disclose recent discoveries that impact the security of some cryptographic systems currently in use. This threat, alongside the existing concerns about quantum computing, presents a significant threat to cryptographic systems protecting sensitive information.

I will not speculate about what exactly this means. I will not do anything else that might cause even more people to hate me, or accuse me of fearmongering or causing panic or whatever else I did wrong. I’m linking to the NSA’s press release, that’s all. If you want to speculate, you can do so in the comments section, but I won’t.

By Scott

ICALP 2027: Call for workshops

from Luca Aceto

I received the appended call for workshops for ICALP 2027 from Jakub Kozik. Spread the news!

International Colloquium on Automata, Languages and Programming (ICALP)
Krakow, 5-9 July 2027
2027.icalp.org

CALL FOR WORKSHOPS

Important dates
Workshop proposal deadline: 22 February 2027, 23:59 AoE (Anywhere on Earth)
Notification of workshop acceptance: 1 March 2027
Workshop programmes ready: 31 May 2027
Workshop day: 4 July 2027
ICALP conference: 5-9 July 2027

We invite proposals for workshops on topics of interest to the ICALP
community. ICALP workshops typically feature invited speakers and
contributed presentations. The workshop selection committee consists of
Piotr Micek and Bartosz Walczak.

We intend to host the workshops on site in Krakow, with a very limited
online component if any. We will provide shared space for participants,
lecture rooms, internet access, and assistance with local organisation.
ICALP 2027 cannot provide financial support for the organisation of
workshops.

We do not plan to publish workshop proceedings or special issues.

Proposals of no more than three pages should be submitted to:
icalp-workshops@uj.edu.pl
Each proposal should include:
* the name of the workshop and, if available, a link to its website or the
website of a previous edition;
* a brief scientific summary and justification of the proposed topic,
including its relevance and benefits to the ICALP community;
* the name(s) and contact details of the organiser(s) of the workshop;
* the expected number of invited speakers, along with some tentative names;
* the procedure for selecting presentations; if you plan to issue a call
for contributed talks followed by a selection process, the submission
deadline should fall after the notification date for ICALP papers, and
contributors should be notified before the early registration deadline;
* the proposed format and agenda (e.g., invited or contributed talks,
tutorials, surveys, open problem sessions, research sessions);
* the proposed duration (half a day or a full day);
* the expected number of participants, along with data from previous
editions if the workshop has been held before.

Workshops will be selected primarily on the basis of the scientific quality
of the proposals, subject to the capacity of the venue. Prospective
applicants are welcome to contact us in advance before submitting a
proposal.

Piotr Micek and Bartosz Walczak

By Luca Aceto

I received the appended call for workshops for ICALP 2027 from Jakub Kozik. Spread the news!

International Colloquium on Automata, Languages and Programming (ICALP)
Krakow, 5-9 July 2027
https://2027.icalp.org

CALL FOR WORKSHOPS

Important dates
Workshop proposal deadline: 22 February 2027, 23:59 AoE (Anywhere on Earth)
Notification of workshop acceptance: 1 March 2027
Workshop programmes ready: 31 May 2027
Workshop day: 4 July 2027
ICALP conference: 5-9 July 2027

We invite proposals for workshops on topics of interest to the ICALP
community. ICALP workshops typically feature invited speakers and
contributed presentations. The workshop selection committee consists of
Piotr Micek and Bartosz Walczak.

We intend to host the workshops on site in Krakow, with a very limited
online component if any. We will provide shared space for participants,
lecture rooms, internet access, and assistance with local organisation.
ICALP 2027 cannot provide financial support for the organisation of
workshops.

We do not plan to publish workshop proceedings or special issues.

Proposals of no more than three pages should be submitted to:
icalp-workshops@uj.edu.pl
Each proposal should include:
* the name of the workshop and, if available, a link to its website or the
website of a previous edition;
* a brief scientific summary and justification of the proposed topic,
including its relevance and benefits to the ICALP community;
* the name(s) and contact details of the organiser(s) of the workshop;
* the expected number of invited speakers, along with some tentative names;
* the procedure for selecting presentations; if you plan to issue a call
for contributed talks followed by a selection process, the submission
deadline should fall after the notification date for ICALP papers, and
contributors should be notified before the early registration deadline;
* the proposed format and agenda (e.g., invited or contributed talks,
tutorials, surveys, open problem sessions, research sessions);
* the proposed duration (half a day or a full day);
* the expected number of participants, along with data from previous
editions if the workshop has been held before.

Workshops will be selected primarily on the basis of the scientific quality
of the proposals, subject to the capacity of the venue. Prospective
applicants are welcome to contact us in advance before submitting a
proposal.

Piotr Micek and Bartosz Walczak

By Luca Aceto

Two podcasts about the quasi-cryptocalypse!

from Scott Aaronson

You see what I did with that title? It’s a “quasi” cryptocalypse both because Anthropic’s new quantum algorithm for low-rank module LWE runs in quasipolynomial time, and also because the huge constants as well as the need for a quantum computer make the cryptographic attack not immediately exploitable! Har har! I’m liking the podcast format […]

You see what I did with that title? It’s a “quasi” cryptocalypse both because Anthropic’s new quantum algorithm for low-rank module LWE runs in quasipolynomial time, and also because the huge constants as well as the need for a quantum computer make the cryptographic attack not immediately exploitable! Har har!

I’m liking the podcast format more and more, as a place to develop my thoughts with hosts who will push back on them, but which doesn’t feel like a Stalinist show trial where I’ve forced to answer an unending parade of anonymous accusers, the way my comment section usually does these days regardless of the topic.

So then, here I am on the Pretrained Podcast. The audio quality unfortunately becomes poor towards the end. As usual I strongly recommend 2x speed.

For those who don’t have time to watch: we talk about Monday’s news in a way that goes back to the very beginning—the idea of public-key cryptography in the 1970s, Shor’s algorithm in 1994, the current prospects for building quantum computers, lattices and post-quantum encryption—and then we go through what happened with Anthropic’s result; the weeks when the Cryptography Incident Response Group freely shared the result with its academic colleagues but not the wider world; the broader context of the Riemann Hypothesis and VP≠VNP and the matrix multiplication exponent having just been settled; the viral rumors (which one could neither fully credit nor fully discount at the time) of even more cryptanalytic breaks; my ill-fated attempts to communicate the enormity of I knew to be happening along with my large uncertainties about it, in some way that wouldn’t upstage either Anthropic or CIRG by revealing the Module-LWE result; and finally, the massive backlash against me because people couldn’t comprehend that, in the context of a theoretical computer science blog, terms like “HOLY SHIT” and “bombshell” might refer not to the emptying of their Bitcoin wallets within the next hour, but merely to the rapid solutions of one decades-old open problem of theoretical computer science after another after another, by an alien mathematical intelligence that now exceeds our own, with obvious long-term implications for cryptography and for pretty much everything else.

And here’s a conversation with Ariel Krakowski on a similar set of topics. I like how Ariel edits the video to remove my ums, y’knows, and other verbal infelicities, even if it makes me sound choppy.

Thanks so much to Ariel, as well as to Pierre and Rich of the Pretrained Pod, for doing these conversations! Thanks also to the many people who emailed me or commented here to show their support. I’ve never asked for a penny from my readers in 21 years of blogging about quantum mechanics, complexity theory, AI … topics that of course all converged in this week’s news. Nor have I ever knowingly “pumped” anyone’s stock, or gotten rich as so many of my acquaintances have. Just like with comment-171 and many other incidents in this blog’s history, the support of friends and colleagues and students and strangers alike, the knowledge that my attempts to be backbreakingly honest and explain stuff made a positive difference for someone, is the only fuel that keeps me going.

By Scott

TR26-358 | Computational Bernoulli Smoothing and Worst-Case Errors in LPN Reductions | Nathan Geier, Prashant Nalini Vasudevan

from ECCC Papers

Learning Parity with Noise (LPN) is a central problem in modern post-quantum cryptography. Recently, Aggarwal et al. (TCC 2026) proposed a new approach toward establishing worst-case foundations for the hardness of LPN in the low-noise regime. Their reduction turns an average-case LPN solver into two algorithms such that, for every (worst-case) linear code, either one decodes noisy codewords of that code or the other distinguishes noisy codewords of its dual from uniform. Their main technique, computational code smoothing, relaxes a requirement of earlier reductions: noisy dual codewords need only be computationally pseudorandom, rather than statistically close to uniform. However, their result requires random Bernoulli errors for the decoding alternative (so only the code is worst case) and fixed-weight noise for the dual distinguishing alternative (rather than the more common Bernoulli noise). We remove both of these restrictions using a new analytical technique. As our main technical tool, we establish a computational Bernoulli perturbation bound for finite groups, which may be of independent interest. We show that if multiplying a random group element from some distribution $D$ by a fixed element with probability $\beta<1/2$ produces an $\varepsilon$-pseudorandom distribution, then $D$ itself is $\varepsilon/(1-2\beta)$-pseudorandom. This bound is tight. As a result, for Bernoulli-weighted sums in abelian groups, we show that revealing any $k$ coefficients increases the distinguishing advantage by at most a factor of $(1-2\beta)^{-k}$. This can be viewed as the computational generalization of the Bernoulli smoothing technique of Yu and Zhang (CRYPTO 2021).
Learning Parity with Noise (LPN) is a central problem in modern post-quantum cryptography. Recently, Aggarwal et al. (TCC 2026) proposed a new approach toward establishing worst-case foundations for the hardness of LPN in the low-noise regime. Their reduction turns an average-case LPN solver into two algorithms such that, for every (worst-case) linear code, either one decodes noisy codewords of that code or the other distinguishes noisy codewords of its dual from uniform. Their main technique, computational code smoothing, relaxes a requirement of earlier reductions: noisy dual codewords need only be computationally pseudorandom, rather than statistically close to uniform. However, their result requires random Bernoulli errors for the decoding alternative (so only the code is worst case) and fixed-weight noise for the dual distinguishing alternative (rather than the more common Bernoulli noise). We remove both of these restrictions using a new analytical technique. As our main technical tool, we establish a computational Bernoulli perturbation bound for finite groups, which may be of independent interest. We show that if multiplying a random group element from some distribution $D$ by a fixed element with probability $\beta<1/2$ produces an $\varepsilon$-pseudorandom distribution, then $D$ itself is $\varepsilon/(1-2\beta)$-pseudorandom. This bound is tight. As a result, for Bernoulli-weighted sums in abelian groups, we show that revealing any $k$ coefficients increases the distinguishing advantage by at most a factor of $(1-2\beta)^{-k}$. This can be viewed as the computational generalization of the Bernoulli smoothing technique of Yu and Zhang (CRYPTO 2021).

TR26-357 | Nearly Optimal High-Density Hitting Sets for Low-Degree Polynomials | Gil Cohen, Tal Yankovitz

from ECCC Papers

Recently, Yankovitz constructed a hitting set generator (HSG) for $n$-variate polynomials of degree at most $d$ over $\mathbf{F}_2$ with seed length $O(d\log n+d^2/\varepsilon)$. Its density is $\delta=(1-\varepsilon)2^{-d}$, meaning that at least a $\delta$ fraction of the seeds hit each nonzero polynomial in this class. For constant $\varepsilon$, this improves on the HSGs induced by the breakthrough pseudorandom generator of Chattopadhyay, Hatami, Lee, Lovett, Tal, and Viola and the follow-up by Cohen, whose seed lengths are $\widetilde{O}(d^3\log^2 n)$ and $\widetilde{O}(d^4\log n)$, respectively. We give an explicit HSG with nearly optimal seed length \[ d\log n+(2+o_\varepsilon(1))\log(1/\varepsilon)+O(d\log d). \] Somewhat surprisingly, we first show that the classical powering construction of small-bias sets already gives an HSG with seed length $2\lceil d\log n+\log(1/\varepsilon)\rceil$. We then take an expander walk in which each vertex specifies a tuple of vectors from a small-bias set. We use the first construction to choose which vectors along the walk to sum, bringing the coefficient of $d\log n$ down to one at the cost of a worse dependence on $\varepsilon$. Finally, we XOR the output of the latter generator with a sample from a small-bias set to obtain the seed length above. In our construction, the coefficient of $d\log n$ is optimal, and the coefficient of $\log(1/\varepsilon)$ approaches its optimal value of two. Nevertheless, optimality of the individual coefficients does not rule out improving their sum. In particular, when $\varepsilon=n^{-d}$, the two leading terms above sum to $(3+o(1))d\log n$. Assuming $1\ll d\ll n/\log n$, we show that the optimal seed length in this regime is $(2+o(1))d\log n$. We prove that taking the XOR of two samples from the powering construction attains this bound.
Recently, Yankovitz constructed a hitting set generator (HSG) for $n$-variate polynomials of degree at most $d$ over $\mathbf{F}_2$ with seed length $O(d\log n+d^2/\varepsilon)$. Its density is $\delta=(1-\varepsilon)2^{-d}$, meaning that at least a $\delta$ fraction of the seeds hit each nonzero polynomial in this class. For constant $\varepsilon$, this improves on the HSGs induced by the breakthrough pseudorandom generator of Chattopadhyay, Hatami, Lee, Lovett, Tal, and Viola and the follow-up by Cohen, whose seed lengths are $\widetilde{O}(d^3\log^2 n)$ and $\widetilde{O}(d^4\log n)$, respectively. We give an explicit HSG with nearly optimal seed length \[ d\log n+(2+o_\varepsilon(1))\log(1/\varepsilon)+O(d\log d). \] Somewhat surprisingly, we first show that the classical powering construction of small-bias sets already gives an HSG with seed length $2\lceil d\log n+\log(1/\varepsilon)\rceil$. We then take an expander walk in which each vertex specifies a tuple of vectors from a small-bias set. We use the first construction to choose which vectors along the walk to sum, bringing the coefficient of $d\log n$ down to one at the cost of a worse dependence on $\varepsilon$. Finally, we XOR the output of the latter generator with a sample from a small-bias set to obtain the seed length above. In our construction, the coefficient of $d\log n$ is optimal, and the coefficient of $\log(1/\varepsilon)$ approaches its optimal value of two. Nevertheless, optimality of the individual coefficients does not rule out improving their sum. In particular, when $\varepsilon=n^{-d}$, the two leading terms above sum to $(3+o(1))d\log n$. Assuming $1\ll d\ll n/\log n$, we show that the optimal seed length in this regime is $(2+o(1))d\log n$. We prove that taking the XOR of two samples from the powering construction attains this bound.

TR26-356 | No polynomial-time $\frac78$-approximation algorithm for MAX SAT, assuming UGC and $P \ne NP$ | Joshua Brakensiek, Neng Huang, Aaron Potechin, Uri Zwick

from ECCC Papers

We show that the integrality ratio of the standard SDP relaxation of the MAX $k$-SAT problem, where clauses can have up to $k$ variables, is strictly below $\frac78$ for every $k\ge 5$. Using a result of Raghavendra, and assuming the Unique Games Conjecture (UGC) and that $P \ne NP$, this implies that there is no polynomial-time $\frac78$-approximation algorithm for MAX $k$-SAT, for every $k\ge 5$, and hence for the MAX SAT problem in which clauses of all lengths are allowed. We show, in fact, that there is no polynomial-time $0.8742$-approximation algorithm for MAX 5-SAT, and that there is no polynomial-time $0.8734$-approximation algorithm for MAX 9-SAT, again assuming UGC and $P \ne NP$.
We show that the integrality ratio of the standard SDP relaxation of the MAX $k$-SAT problem, where clauses can have up to $k$ variables, is strictly below $\frac78$ for every $k\ge 5$. Using a result of Raghavendra, and assuming the Unique Games Conjecture (UGC) and that $P \ne NP$, this implies that there is no polynomial-time $\frac78$-approximation algorithm for MAX $k$-SAT, for every $k\ge 5$, and hence for the MAX SAT problem in which clauses of all lengths are allowed. We show, in fact, that there is no polynomial-time $0.8742$-approximation algorithm for MAX 5-SAT, and that there is no polynomial-time $0.8734$-approximation algorithm for MAX 9-SAT, again assuming UGC and $P \ne NP$.

TR26-355 | Exponential Lower Bounds on Semidefinite Programming Relaxations for CSPs | Pravesh Kothari, Andrew Lin

from ECCC Papers

We prove that every semidefinite extended formulation that approximates Max 3-XOR to within a factor of $2-\epsilon$ requires $\exp(\sqrt{n})$ size, improving the previous lower bound of $\exp(\log^2 n/\log\log n)$ [LRS15]. More generally, our lower bound extends to approximating any constraint satisfaction problem to a factor better than a uniformly random assignment whenever the predicate supports a pairwise uniform probability distribution. Our results follow from improving the lower bound of [LRS15] on the positive semidefinite rank of a matrix associated with a CSP instance. The proof was developed by trying to tinker with the argument of [LRS15] with GPT-6 Astra Pro. We asked GPT to factorize the noisy $\mathrm{T}_\rho Q$ factor in the positive semidefinite decomposition of the pattern matrix and bound the separating functional in terms of the high-degree Fourier moments of the factor. All technical ideas in executing this plan are due to GPT Astra Pro.
We prove that every semidefinite extended formulation that approximates Max 3-XOR to within a factor of $2-\epsilon$ requires $\exp(\sqrt{n})$ size, improving the previous lower bound of $\exp(\log^2 n/\log\log n)$ [LRS15]. More generally, our lower bound extends to approximating any constraint satisfaction problem to a factor better than a uniformly random assignment whenever the predicate supports a pairwise uniform probability distribution. Our results follow from improving the lower bound of [LRS15] on the positive semidefinite rank of a matrix associated with a CSP instance. The proof was developed by trying to tinker with the argument of [LRS15] with GPT-6 Astra Pro. We asked GPT to factorize the noisy $\mathrm{T}_\rho Q$ factor in the positive semidefinite decomposition of the pattern matrix and bound the separating functional in terms of the high-degree Fourier moments of the factor. All technical ideas in executing this plan are due to GPT Astra Pro.

When do stateful traversals fuse?

from arXiv: Computational Complexity

Authors: Lihui Dong, Zhuo Li

Gibbons and Oliveira proved that two monadic traversals fuse, \(\mapM f\kc\mapM g=\mapM(f\kc g)\), when the monad is commutative. The state monad is not commutative, so for stages that share a state the equation has to be checked pipeline by pipeline. We ask how hard this check is. Each stage is a total function given by a table over a finite state set and finite element types, and the two programs must return the same list and the same final state. An unsafe pipeline of \(r\) stages over \(m\) states has a counterexample of length at most \(2m^r-1\), a breadth-first search finds a shortest one, and for every fixed \(r\geq2\) safety at a given initial state is \(\NL\)-complete. If every element type is a singleton, safety is \(\coNP\)-complete, also for pipelines described by straight-line grammars. For binary elements there is a fixed library of stages over a fixed state set for which safety is \(\PSPACE\)-complete, and \(\EXPSPACE\)-complete for pipelines described by grammars; the lower bounds come from the word problem of an automaton group. Two stages over two states generate pipelines with \(2t+1\) stages whose shortest counterexamples have length exactly \(2^t\). One of these stages commutes with itself but does not fuse with itself, a counterexample of minimal size to the conjecture of Gibbons and Oliveira that commuting Kleisli arrows fuse; over two states and two letters the conjecture fails for 156 of the 256 stages. Three idempotent stages over four states fuse in pairs but not together, and no three stages over three states with singleton elements behave this way. Bounded testing, commutation and pairwise checks therefore cannot validate the fusion of stateful traversals, whereas an exact check is tractable for a fixed number of stages.

Authors: Lihui Dong, Zhuo Li

Gibbons and Oliveira proved that two monadic traversals fuse, \(\mapM f\kc\mapM g=\mapM(f\kc g)\), when the monad is commutative. The state monad is not commutative, so for stages that share a state the equation has to be checked pipeline by pipeline. We ask how hard this check is. Each stage is a total function given by a table over a finite state set and finite element types, and the two programs must return the same list and the same final state. An unsafe pipeline of \(r\) stages over \(m\) states has a counterexample of length at most \(2m^r-1\), a breadth-first search finds a shortest one, and for every fixed \(r\geq2\) safety at a given initial state is \(\NL\)-complete. If every element type is a singleton, safety is \(\coNP\)-complete, also for pipelines described by straight-line grammars. For binary elements there is a fixed library of stages over a fixed state set for which safety is \(\PSPACE\)-complete, and \(\EXPSPACE\)-complete for pipelines described by grammars; the lower bounds come from the word problem of an automaton group. Two stages over two states generate pipelines with \(2t+1\) stages whose shortest counterexamples have length exactly \(2^t\). One of these stages commutes with itself but does not fuse with itself, a counterexample of minimal size to the conjecture of Gibbons and Oliveira that commuting Kleisli arrows fuse; over two states and two letters the conjecture fails for 156 of the 256 stages. Three idempotent stages over four states fuse in pairs but not together, and no three stages over three states with singleton elements behave this way. Bounded testing, commutation and pairwise checks therefore cannot validate the fusion of stateful traversals, whereas an exact check is tractable for a fixed number of stages.

Exponential Lower Bounds on Semidefinite Programming Relaxations for CSPs

from arXiv: Computational Complexity

Authors: Pravesh K. Kothari, Andrew D. Lin

We prove that every semidefinite extended formulation that approximates Max 3-XOR to within a factor of $2-ε$ requires $\exp(\sqrt{n})$ size, improving the previous lower bound of $\exp(\log^2 n/\log\log n)$ [LRS15]. More generally, our lower bound extends to approximating any constraint satisfaction problem to a factor better than a uniformly random assignment whenever the predicate supports a pairwise uniform probability distribution. Our results follow from improving the lower bound of [LRS15] on the positive semidefinite rank of a matrix associated with a CSP instance. The proof was developed by trying to tinker with the argument of [LRS15] with GPT-6 Astra Pro. We asked GPT to factorize the noisy $\mathrm{T}_ρQ$ factor in the positive semidefinite decomposition of the pattern matrix and bound the separating functional in terms of the high-degree Fourier moments of the factor. All technical ideas in executing this plan are due to GPT Astra Pro.

Authors: Pravesh K. Kothari, Andrew D. Lin

We prove that every semidefinite extended formulation that approximates Max 3-XOR to within a factor of $2-ε$ requires $\exp(\sqrt{n})$ size, improving the previous lower bound of $\exp(\log^2 n/\log\log n)$ [LRS15]. More generally, our lower bound extends to approximating any constraint satisfaction problem to a factor better than a uniformly random assignment whenever the predicate supports a pairwise uniform probability distribution. Our results follow from improving the lower bound of [LRS15] on the positive semidefinite rank of a matrix associated with a CSP instance. The proof was developed by trying to tinker with the argument of [LRS15] with GPT-6 Astra Pro. We asked GPT to factorize the noisy $\mathrm{T}_ρQ$ factor in the positive semidefinite decomposition of the pattern matrix and bound the separating functional in terms of the high-degree Fourier moments of the factor. All technical ideas in executing this plan are due to GPT Astra Pro.

Exponential lower bounds on exact stabilizer rank of magic states

from arXiv: Computational Complexity

Authors: Yinchen Liu, Huanyi Zhou

For the single-qubit magic state $|T\rangle = (|0\rangle + e^{iπ/4}|1\rangle)/\sqrt{2}$, we prove that the minimum number of stabilizer states in an exact linear decomposition of $|T\rangle^{\otimes n}$ is at least $2^{n/384}$ for every $n \ge 1$. The proof combines the tripartite stabilizer normal form with compatible spectral points from OpenAI's preprint on Euclidean geometry in the asymptotic spectrum of tensors. Using results on semidirect sums of tensors and rectangular matrix multiplication exponents that build on OpenAI's matrix-multiplication preprints, we improve this bound to $2^{0.0656n} > 2^{n/16}$ for the exact stabilizer rank of any product $\bigotimes_{j=1}^n |ψ_j\rangle$ of pure non-stabilizer states.

Authors: Yinchen Liu, Huanyi Zhou

For the single-qubit magic state $|T\rangle = (|0\rangle + e^{iπ/4}|1\rangle)/\sqrt{2}$, we prove that the minimum number of stabilizer states in an exact linear decomposition of $|T\rangle^{\otimes n}$ is at least $2^{n/384}$ for every $n \ge 1$. The proof combines the tripartite stabilizer normal form with compatible spectral points from OpenAI's preprint on Euclidean geometry in the asymptotic spectrum of tensors. Using results on semidirect sums of tensors and rectangular matrix multiplication exponents that build on OpenAI's matrix-multiplication preprints, we improve this bound to $2^{0.0656n} > 2^{n/16}$ for the exact stabilizer rank of any product $\bigotimes_{j=1}^n |ψ_j\rangle$ of pure non-stabilizer states.

How OpenAI Solved the $L_\infty$-Norm Contraction Problem in Polynomial Time

from arXiv: Computational Complexity

Authors: John Fearnley

OpenAI recently published a paper showing that linear programming can be solved in strongly polynomial time. A central ingredient of that algorithm is a polynomial time algorithm for an abstract problem that encompasses the $L_\infty$-norm contraction problem. This manuscript gives a human-written exposition of how OpenAI's techniques can be used to solve an $L_\infty$-contraction map.

Authors: John Fearnley

OpenAI recently published a paper showing that linear programming can be solved in strongly polynomial time. A central ingredient of that algorithm is a polynomial time algorithm for an abstract problem that encompasses the $L_\infty$-norm contraction problem. This manuscript gives a human-written exposition of how OpenAI's techniques can be used to solve an $L_\infty$-contraction map.

Reopening Pandora's Box: Complexity Results of Shift-Addition/Subtraction Sequences

from arXiv: Computational Complexity

Authors: Nicolai Fiege, Théo Cantaloube, Martin Lange, Christine Solnon

Multiplication by constants is a fundamental operation in digital hardware design, with applications in many different areas. Costly generic multipliers are commonly replaced by tailored sequences of shift and add/subtract operations, giving rise to the Single Constant, Multiple Constant and Constant Matrix Multiplication (SCM, MCM, CMM) problems, and their pipelined variants (PSCM, PMCM, PCMM) in which operation outputs are registered and leave the same pipeline stage. Exact synthesis approaches based on SAT, ILP or CP are routinely observed to scale exponentially, and the problems have long been treated as intractable. The exact complexity classification of the shift-add straight-line program formulation has remained open, though, and the results usually cited as evidence of NP-hardness concern different computational models or do not transfer by polynomial-time reduction. Here we close this gap for five problems: we show that CMM, MCM, PMCM, PCMM, and MCM with fixed topology are all NP-complete. NP-hardness of CMM and PCMM hold for targets over binary vectors with only three non-zero entries already, the remaining three hold for targets with three non-zero digits in Canonical Signed Digit representation. We also show that these restrictions are tight, because the fragment over two non-zeros is decidable in polynomial time. Hardness therefore does not stem from complexity of the individual targets but rather from the combinatorial structure of the target set and the interaction between the targets.

Authors: Nicolai Fiege, Théo Cantaloube, Martin Lange, Christine Solnon

Multiplication by constants is a fundamental operation in digital hardware design, with applications in many different areas. Costly generic multipliers are commonly replaced by tailored sequences of shift and add/subtract operations, giving rise to the Single Constant, Multiple Constant and Constant Matrix Multiplication (SCM, MCM, CMM) problems, and their pipelined variants (PSCM, PMCM, PCMM) in which operation outputs are registered and leave the same pipeline stage. Exact synthesis approaches based on SAT, ILP or CP are routinely observed to scale exponentially, and the problems have long been treated as intractable. The exact complexity classification of the shift-add straight-line program formulation has remained open, though, and the results usually cited as evidence of NP-hardness concern different computational models or do not transfer by polynomial-time reduction. Here we close this gap for five problems: we show that CMM, MCM, PMCM, PCMM, and MCM with fixed topology are all NP-complete. NP-hardness of CMM and PCMM hold for targets over binary vectors with only three non-zero entries already, the remaining three hold for targets with three non-zero digits in Canonical Signed Digit representation. We also show that these restrictions are tight, because the fragment over two non-zeros is decidable in polynomial time. Hardness therefore does not stem from complexity of the individual targets but rather from the combinatorial structure of the target set and the interaction between the targets.

Untruncated Mollification and Explicit PTF Lower Bounds for Non-Gaussian Component Analysis

from arXiv: Computational Complexity

Authors: Mingda Wan, Deyuan Liu, Yihao Hu, Yuxiang Huang, Liuming Xu, Jiacai Cai, Xinyuan Huang, Yufeng Li, Jingpeng Han, Xiuyang Wu

We study the sample complexity of non-Gaussian component analysis (NGCA) against polynomial threshold function (PTF) tests. Diakonikolas et al. (FOCS 2025) proved by directional mollification that degree-$k$ PTFs need $d^{(1/4-c)m}$ samples for even $m$-moment-matched components with an unspecified degree-budget constant. Two questions were open: does a chi-square promise, which lifts the low-degree and SQ exponent to $1/2$, help against PTFs, and are odd orders covered? The scalar replacement needs no truncation: the degree-$(m-1)$ Taylor polynomial is canceled under the untruncated law, whereas the earlier proof truncates and returns. An explicit Gevrey-$4/3$ cutoff bounds each directional derivative of the mollified test by an explicit prefactor times a power $7/3$ of the degree. For every $c\in(0,1/4)$ and even $m\ge2$, with no absolute-continuity or chi-square assumption, no degree-$k$ PTF test has advantage above $0.11$ with at most $d^{(1/4-c)m}$ samples once degree and $m$ are at most $d^{c/8}$ and $d$ exceeds an explicit threshold in $c$. A chi-square promise buys odd orders and removes a Markov penalty, but not the leading exponent: with Pearson divergence at most $B<\infty$ and $\log(1+B)$ at most a fixed power of $d$, the degree-budget coefficient in the sample exponent improves from $7/3+1/2$ to $7/3$, and odd $m\ge3$ is covered when $\log(1+B)\leβm\log d$ with small enough $β>0$, at a further cost $β/2$; it beats the even-order bound at $m-1$ only if $1+B<\sqrt d$. The leading exponent is forced by the order-two projection loss of this mollifier, so a larger exponent requires a different mollifier or projection analysis. Explicit Gauss-Hermite (even $m\ge30$) and Chebyshev-sign (every parity, Pearson divergence below $0.22$) families meet the chi-square bounds at fixed total-variation distance, so the exponent $1/4-c$ holds at both parities.

Authors: Mingda Wan, Deyuan Liu, Yihao Hu, Yuxiang Huang, Liuming Xu, Jiacai Cai, Xinyuan Huang, Yufeng Li, Jingpeng Han, Xiuyang Wu

We study the sample complexity of non-Gaussian component analysis (NGCA) against polynomial threshold function (PTF) tests. Diakonikolas et al. (FOCS 2025) proved by directional mollification that degree-$k$ PTFs need $d^{(1/4-c)m}$ samples for even $m$-moment-matched components with an unspecified degree-budget constant. Two questions were open: does a chi-square promise, which lifts the low-degree and SQ exponent to $1/2$, help against PTFs, and are odd orders covered? The scalar replacement needs no truncation: the degree-$(m-1)$ Taylor polynomial is canceled under the untruncated law, whereas the earlier proof truncates and returns. An explicit Gevrey-$4/3$ cutoff bounds each directional derivative of the mollified test by an explicit prefactor times a power $7/3$ of the degree. For every $c\in(0,1/4)$ and even $m\ge2$, with no absolute-continuity or chi-square assumption, no degree-$k$ PTF test has advantage above $0.11$ with at most $d^{(1/4-c)m}$ samples once degree and $m$ are at most $d^{c/8}$ and $d$ exceeds an explicit threshold in $c$. A chi-square promise buys odd orders and removes a Markov penalty, but not the leading exponent: with Pearson divergence at most $B<\infty$ and $\log(1+B)$ at most a fixed power of $d$, the degree-budget coefficient in the sample exponent improves from $7/3+1/2$ to $7/3$, and odd $m\ge3$ is covered when $\log(1+B)\leβm\log d$ with small enough $β>0$, at a further cost $β/2$; it beats the even-order bound at $m-1$ only if $1+B<\sqrt d$. The leading exponent is forced by the order-two projection loss of this mollifier, so a larger exponent requires a different mollifier or projection analysis. Explicit Gauss-Hermite (even $m\ge30$) and Chebyshev-sign (every parity, Pearson divergence below $0.22$) families meet the chi-square bounds at fixed total-variation distance, so the exponent $1/4-c$ holds at both parities.

Coefficient-space computation and arithmetic tensor complexity: Deterministic algorithms, integral descent, and smoothability

from arXiv: Computational Complexity

Authors: Karthik Sheshadri

Fast identity tests give alternatives between Boolean and arithmetic circuit lower bounds. If VP $\ne$ VNP, as two manuscripts announce, any alternative whose arithmetic branch follows from it says nothing about Boolean circuits. We prove one whose arithmetic branch lies beyond their quasipolynomial bounds: either NEXP $\not\subseteq$ P/poly, or for some $δ>0$ the $m\times m$ permanent needs circuits over $\mathbb Q$ of bit length or degree $2^{m^δ}$ for infinitely many $m$. Our identity test decides whether a set-multilinear integer circuit with $d$ groups of $m$ variables is zero in deterministic time $m^{εd}$ times a polynomial for every $ε>0$, improving the exponent $5d/6$, by computing the sum of the squares of its coefficients with recent subexponential algorithms for contracting tensor networks. We count solutions of polynomially many bilinear parity conditions on the halves of an $n$-bit input in time $2^{n-Ω(n/\log n)}$, and conclude that QuasiNP has no circuits of size $n^{(\log n)^k}$ made of one exact majority gate over parities of products of circuits on the halves. Over finite fields we give tests in restricted regimes and reduce the general case to an explicit generator. Exact arithmetic also changes tensor complexity. Over a discrete valuation ring, producing powers of one diagonal tensor from another costs $((1+\sqrt2)/2)^n$, while its fraction and residue fields both see cost one. Asymptotic rank over a ring is unchanged by pure extensions, and Strassen's asymptotic spectrum maps onto the ring's Berkovich spectrum. Multiplication in a finite free algebra of rank $r\le10$ over any ring has optimal asymptotic rank when its fibers are smoothable. We find the Hilbert functions $(1,e,\binom{e+1}{2},g)$, $e\ge5$, whose algebras are all smoothable: $g\le3$ and $g\ge\binom{e+2}{3}-e-3$, in characteristic 0 and outside finitely many primes.

Authors: Karthik Sheshadri

Fast identity tests give alternatives between Boolean and arithmetic circuit lower bounds. If VP $\ne$ VNP, as two manuscripts announce, any alternative whose arithmetic branch follows from it says nothing about Boolean circuits. We prove one whose arithmetic branch lies beyond their quasipolynomial bounds: either NEXP $\not\subseteq$ P/poly, or for some $δ>0$ the $m\times m$ permanent needs circuits over $\mathbb Q$ of bit length or degree $2^{m^δ}$ for infinitely many $m$. Our identity test decides whether a set-multilinear integer circuit with $d$ groups of $m$ variables is zero in deterministic time $m^{εd}$ times a polynomial for every $ε>0$, improving the exponent $5d/6$, by computing the sum of the squares of its coefficients with recent subexponential algorithms for contracting tensor networks. We count solutions of polynomially many bilinear parity conditions on the halves of an $n$-bit input in time $2^{n-Ω(n/\log n)}$, and conclude that QuasiNP has no circuits of size $n^{(\log n)^k}$ made of one exact majority gate over parities of products of circuits on the halves. Over finite fields we give tests in restricted regimes and reduce the general case to an explicit generator. Exact arithmetic also changes tensor complexity. Over a discrete valuation ring, producing powers of one diagonal tensor from another costs $((1+\sqrt2)/2)^n$, while its fraction and residue fields both see cost one. Asymptotic rank over a ring is unchanged by pure extensions, and Strassen's asymptotic spectrum maps onto the ring's Berkovich spectrum. Multiplication in a finite free algebra of rank $r\le10$ over any ring has optimal asymptotic rank when its fibers are smoothable. We find the Hilbert functions $(1,e,\binom{e+1}{2},g)$, $e\ge5$, whose algebras are all smoothable: $g\le3$ and $g\ge\binom{e+2}{3}-e-3$, in characteristic 0 and outside finitely many primes.

Explicit Asymptotically Good Linear Tree Codes with Efficient Decoding

from arXiv: Computational Complexity

Authors: Haoran Wang

We construct an explicit binary-input linear tree code of constant rate and constant relative distance for streams of unbounded length. A deterministic decoder recovers the first $t$ input bits whenever the fraction of corrupted symbols in each suffix of the received prefix is at most a fixed positive constant. Encoding and decoding a prefix of length $t$ both take $\widetilde O(t)$ bit operations, including the construction of the auxiliary codes. The main ingredient is a polynomial-valued code in which dyadic shifts of Cauchy coefficients allow errors on successive intervals to be recovered by rational interpolation. An ordering of the coefficient recovery tasks resolves the dependencies between these intervals. Two rounds of alphabet reduction preserve the decoding guarantee and give a code over a fixed binary vector alphabet.

Authors: Haoran Wang

We construct an explicit binary-input linear tree code of constant rate and constant relative distance for streams of unbounded length. A deterministic decoder recovers the first $t$ input bits whenever the fraction of corrupted symbols in each suffix of the received prefix is at most a fixed positive constant. Encoding and decoding a prefix of length $t$ both take $\widetilde O(t)$ bit operations, including the construction of the auxiliary codes. The main ingredient is a polynomial-valued code in which dyadic shifts of Cauchy coefficients allow errors on successive intervals to be recovered by rational interpolation. An ordering of the coefficient recovery tasks resolves the dependencies between these intervals. Two rounds of alphabet reduction preserve the decoding guarantee and give a code over a fixed binary vector alphabet.

Fifth-Power Lower Bounds for Products of Bounded-Degree Polynomials over Prime Fields

from arXiv: Computational Complexity

Authors: Bin Fu, Yunhui Fu

Let $p$ be a fixed odd prime and $q>1$ a fixed modulus coprime to $p$ and having an odd divisor. We investigate exact representations of the signed modular predicate $F_{q,n}:\{-1,1\}^n\to\{-1,1\}$ as products of functions represented by polynomials over $\mathbb F_p$ of bounded functional degree. Complexity is measured by the total number of variable occurrences in the \emph{original} monomial lists, not by the number of factors or by circuit gates. We write $L_d^{(p,q)}(n)$ for the minimum such occurrence cost among exact product representations using factors of functional degree at most $d$. We present a fifth-power lower-bound argument for quartic factors, giving the candidate estimate \[ L_4^{(p,q)}(n)=Ω_{p,q}\!\left(\frac{n^5}{(\log(2+n))^6}\right), \] and a characteristic-three refinement with logarithmic denominator $(\log(2+n))^5$. A four-shadow counting method yields the candidate fixed-degree extension $L_d^{(p,q)}(n)=Ω_{p,q,d}(n^5/(\log(2+n))^{d+2})$ for every fixed $d\ge4$.

Authors: Bin Fu, Yunhui Fu

Let $p$ be a fixed odd prime and $q>1$ a fixed modulus coprime to $p$ and having an odd divisor. We investigate exact representations of the signed modular predicate $F_{q,n}:\{-1,1\}^n\to\{-1,1\}$ as products of functions represented by polynomials over $\mathbb F_p$ of bounded functional degree. Complexity is measured by the total number of variable occurrences in the \emph{original} monomial lists, not by the number of factors or by circuit gates. We write $L_d^{(p,q)}(n)$ for the minimum such occurrence cost among exact product representations using factors of functional degree at most $d$. We present a fifth-power lower-bound argument for quartic factors, giving the candidate estimate \[ L_4^{(p,q)}(n)=Ω_{p,q}\!\left(\frac{n^5}{(\log(2+n))^6}\right), \] and a characteristic-three refinement with logarithmic denominator $(\log(2+n))^5$. A four-shadow counting method yields the candidate fixed-degree extension $L_d^{(p,q)}(n)=Ω_{p,q,d}(n^5/(\log(2+n))^{d+2})$ for every fixed $d\ge4$.

Polynomial-Time Continuous Updates for Global Nash Convergence in Finite Games

from arXiv: Computational Complexity

Authors: Qinyou Wang

Given a rational bimatrix game, we construct in polynomial time a polynomial-size circuit for a continuous rational piecewise-affine update on its original mixed-strategy space. From every real initial profile, the iterates converge to a Nash equilibrium that may depend on that profile. The same update admits exact evaluation at rational inputs in time polynomial in the game and query lengths, and real-oracle evaluation to absolute error $2^{-p}$ in time polynomial in the game length and $p$. Suppose that in every rational $n\times n$ bimatrix game with payoffs in $[0,1]$, the update reaches an additive $1/n$-Nash equilibrium from some pure initial profile within a number of steps polynomial in the game length. Then $\mathsf{PPAD}\subseteq\mathsf{FP}$. For finite normal-form games with explicitly listed rational payoffs, adjoining one fixed polygonal circle permits polynomial-time compilation with both evaluation guarantees. From every real augmented initial state, the strategy converges to a Nash equilibrium and the circle coordinate also converges. On the original strategy space we give two further all-game constructions. One admits polynomial-time absolute-precision evaluation. The other has finite total variation along every orbit and admits exact rational evaluation in time polynomial in the game and current query lengths. Under this exact-query interpretation of local tractability for these games, the implication conjectured by Biggar, Papadimitriou and Piliouras is equivalent to $\mathsf{PPAD}\subseteq\mathsf{FP}$.

Authors: Qinyou Wang

Given a rational bimatrix game, we construct in polynomial time a polynomial-size circuit for a continuous rational piecewise-affine update on its original mixed-strategy space. From every real initial profile, the iterates converge to a Nash equilibrium that may depend on that profile. The same update admits exact evaluation at rational inputs in time polynomial in the game and query lengths, and real-oracle evaluation to absolute error $2^{-p}$ in time polynomial in the game length and $p$. Suppose that in every rational $n\times n$ bimatrix game with payoffs in $[0,1]$, the update reaches an additive $1/n$-Nash equilibrium from some pure initial profile within a number of steps polynomial in the game length. Then $\mathsf{PPAD}\subseteq\mathsf{FP}$. For finite normal-form games with explicitly listed rational payoffs, adjoining one fixed polygonal circle permits polynomial-time compilation with both evaluation guarantees. From every real augmented initial state, the strategy converges to a Nash equilibrium and the circle coordinate also converges. On the original strategy space we give two further all-game constructions. One admits polynomial-time absolute-precision evaluation. The other has finite total variation along every orbit and admits exact rational evaluation in time polynomial in the game and current query lengths. Under this exact-query interpretation of local tractability for these games, the implication conjectured by Biggar, Papadimitriou and Piliouras is equivalent to $\mathsf{PPAD}\subseteq\mathsf{FP}$.

Nearly Optimal Negation Bounds for Monotone Boolean Functions

from arXiv: Computational Complexity

Authors: Gülce Kardeş

We study the size complexity of Boolean circuits with a limited number of negations. We resolve a question of Jukna (2004) by constructing an explicit single-output monotone family in $\mathsf{P}$ such that every polynomial-size circuit family computing it requires at least $\log n-O(\log\log n)$ NOT gates for all sufficiently large $n$. We prove a similar lower bound for an explicit monotone $\mathsf{NP}$-complete family and use a monotone projection to extend the known superpolynomial size lower bound for CLIQUE to circuits with more NOT gates than previously established. We also show that for every fixed integer $c\ge 1$, every monotone family in $\mathsf{P/poly}$ admits polynomial-size circuits with at most $\mathrm{Fisch}(n)-c$ NOT gates for all sufficiently large $n$, where $\mathrm{Fisch}(n)=\lceil\log_2(n+1)\rceil$ is Fischer's bound. Lastly, we construct a nonmonotone single-output $\mathsf{NP}$-complete family with an exponential size lower bound at $\mathrm{Fisch}(n)-2$ NOT gates for all sufficiently large $n$, and show that at $\mathrm{Fisch}(n)-1$ NOT gates, the existence of a superpolynomial size lower bound for a single-output family in $\mathsf{NP}$ would already imply $\mathsf{NP}\nsubseteq\mathsf{P/poly}$.

Authors: Gülce Kardeş

We study the size complexity of Boolean circuits with a limited number of negations. We resolve a question of Jukna (2004) by constructing an explicit single-output monotone family in $\mathsf{P}$ such that every polynomial-size circuit family computing it requires at least $\log n-O(\log\log n)$ NOT gates for all sufficiently large $n$. We prove a similar lower bound for an explicit monotone $\mathsf{NP}$-complete family and use a monotone projection to extend the known superpolynomial size lower bound for CLIQUE to circuits with more NOT gates than previously established. We also show that for every fixed integer $c\ge 1$, every monotone family in $\mathsf{P/poly}$ admits polynomial-size circuits with at most $\mathrm{Fisch}(n)-c$ NOT gates for all sufficiently large $n$, where $\mathrm{Fisch}(n)=\lceil\log_2(n+1)\rceil$ is Fischer's bound. Lastly, we construct a nonmonotone single-output $\mathsf{NP}$-complete family with an exponential size lower bound at $\mathrm{Fisch}(n)-2$ NOT gates for all sufficiently large $n$, and show that at $\mathrm{Fisch}(n)-1$ NOT gates, the existence of a superpolynomial size lower bound for a single-output family in $\mathsf{NP}$ would already imply $\mathsf{NP}\nsubseteq\mathsf{P/poly}$.

Quantum Step Recursion: Sharp Rank Characterization and Arithmetic Prediction Lower Bounds

from arXiv: Computational Complexity

Authors: Kirill Osipov

We determine the minimum universal construction rank of width-one Quantum Step Recursion (QSR): with polynomial padding, rank two captures deterministic, randomized and quantum polynomial time, including clean coherent oracles and prefix-free functional output, whereas rank-one decision languages are regular. The threshold extends to $\mathbf{NP}$, $\mathbf{MA}$, $\mathbf{QCMA}$, $\mathbf{QMA}$, $\mathbf{PP}$ and $\mathbf{SBQP}$. Ideal descent-clock inclusion is characterized by polynomial domination, with dense chains and infinite antichains. For average-unital automata we determine exact memory dimensions, rational finite-horizon growth and bounded-error residual-density barriers. For prime-modulus languages, rank-one unitary transfer dimension is polylogarithmic in the prime, whereas nonnegative stochastic transfer dimension is at least the prime. A fixed order threshold and weak one-bit order prediction are factoring-equivalent under randomized polynomial-time reductions. Arithmetic difference fibers yield affine and quadratic spectral bounds on balanced semiprimes. Conditional low-order entropy yields mixed-cut communication, physical-work and streaming bounds. Counted rank-two passes satisfy a pass--transfer-dimension trade-off, including modulus-dependent counts. Growing-degree odd division and polynomial-loss tensor compression isolate quadratic totient agreement on a dyadic-gcd subensemble as the remaining obstruction to negligible cubic correlation. We prove uniform subcritical deficit moments and a sharp multi-prime deficit tail with explicit Euler-product constant. The arithmetic bounds concern specified representation models, not unrestricted polynomial-time predictors.

Authors: Kirill Osipov

We determine the minimum universal construction rank of width-one Quantum Step Recursion (QSR): with polynomial padding, rank two captures deterministic, randomized and quantum polynomial time, including clean coherent oracles and prefix-free functional output, whereas rank-one decision languages are regular. The threshold extends to $\mathbf{NP}$, $\mathbf{MA}$, $\mathbf{QCMA}$, $\mathbf{QMA}$, $\mathbf{PP}$ and $\mathbf{SBQP}$. Ideal descent-clock inclusion is characterized by polynomial domination, with dense chains and infinite antichains. For average-unital automata we determine exact memory dimensions, rational finite-horizon growth and bounded-error residual-density barriers. For prime-modulus languages, rank-one unitary transfer dimension is polylogarithmic in the prime, whereas nonnegative stochastic transfer dimension is at least the prime. A fixed order threshold and weak one-bit order prediction are factoring-equivalent under randomized polynomial-time reductions. Arithmetic difference fibers yield affine and quadratic spectral bounds on balanced semiprimes. Conditional low-order entropy yields mixed-cut communication, physical-work and streaming bounds. Counted rank-two passes satisfy a pass--transfer-dimension trade-off, including modulus-dependent counts. Growing-degree odd division and polynomial-loss tensor compression isolate quadratic totient agreement on a dyadic-gcd subensemble as the remaining obstruction to negligible cubic correlation. We prove uniform subcritical deficit moments and a sharp multi-prime deficit tail with explicit Euler-product constant. The arithmetic bounds concern specified representation models, not unrestricted polynomial-time predictors.

Optimal Gauss-Newton Methods: Lower Complexity Bounds and Matching Algorithms for Nonlinear Systems

from arXiv: Computational Complexity

Authors: Nikita Yudin, Alexander Gasnikov

We study the number of linearizations needed to solve a system of nonlinear equations $F(x)=0$ by Gauss-Newton-type methods, that is, by methods which query the residual $F$ together with its Jacobian and move inside the span of the Jacobian rows seen so far. The Jacobian is Lipschitz with constant $L$ and progress is measured by the residual norm. We give upper and lower complexity bounds for five problem classes. The stationarity rate, the global phase for solvable systems and the accelerated convex rates are sharp up to absolute constants in the parameter ranges of the lower bounds. With smoothness alone, the number of linearizations needed to make either regularized model step $\varepsilon$-short in the scaled stationarity measure is of order $LΔ/\varepsilon^{2}$, where $Δ$ is the initial gap of the residual norm. For solvable systems under a Polyak-Lojasiewicz inequality with constant $μ$, in particular under uniform nondegeneracy of the Jacobian, of order $L\|F(x_0)\|/μ$ linearizations bring the residual to the level $μ/L$, from which convergence is superlinear; the lower bound comes from a new chain construction whose Jacobian is nondegenerate on the whole space. A positive residual floor adds a term proportional to the logarithm of the accuracy. When the linearized model minorizes the merit function, as for systems of convex inequalities, acceleration replaces these counts by their square roots, both in the general case and under sharpness, where restarts are driven by the known optimal level. The upper bounds are attained by Nesterov's method of three squares, by the norm-model Gauss-Newton method and by their accelerated versions; for the method of three squares the analysis removes the logarithmic factor of the known global estimate and gives local quadratic convergence under uniform nondegeneracy.

Authors: Nikita Yudin, Alexander Gasnikov

We study the number of linearizations needed to solve a system of nonlinear equations $F(x)=0$ by Gauss-Newton-type methods, that is, by methods which query the residual $F$ together with its Jacobian and move inside the span of the Jacobian rows seen so far. The Jacobian is Lipschitz with constant $L$ and progress is measured by the residual norm. We give upper and lower complexity bounds for five problem classes. The stationarity rate, the global phase for solvable systems and the accelerated convex rates are sharp up to absolute constants in the parameter ranges of the lower bounds. With smoothness alone, the number of linearizations needed to make either regularized model step $\varepsilon$-short in the scaled stationarity measure is of order $LΔ/\varepsilon^{2}$, where $Δ$ is the initial gap of the residual norm. For solvable systems under a Polyak-Lojasiewicz inequality with constant $μ$, in particular under uniform nondegeneracy of the Jacobian, of order $L\|F(x_0)\|/μ$ linearizations bring the residual to the level $μ/L$, from which convergence is superlinear; the lower bound comes from a new chain construction whose Jacobian is nondegenerate on the whole space. A positive residual floor adds a term proportional to the logarithm of the accuracy. When the linearized model minorizes the merit function, as for systems of convex inequalities, acceleration replaces these counts by their square roots, both in the general case and under sharpness, where restarts are driven by the known optimal level. The upper bounds are attained by Nesterov's method of three squares, by the norm-model Gauss-Newton method and by their accelerated versions; for the method of three squares the analysis removes the logarithmic factor of the known global estimate and gives local quadratic convergence under uniform nondegeneracy.

Improved Bounds on Half-Duplex Communication Complexity

from arXiv: Computational Complexity

Authors: Yuriy Dementiev, Artur Ignatiev, Anna Kogan, Ivan Mihajlin, Timofey Moskalenko, Varvara Prozorova, Anastasiia Salimova, Lev Shpraidun, Alexander V. Smal, Tatiana Valinurova

We continue the study of half-duplex communication complexity, a model introduced in (Hoover et al. 2018) and further studied in (Dementiev et al. 2021), in which each player can either send a bit or listen in each round, similarly to communication over a walkie-talkie. We give a proof of the $\lceil n/2\rceil+2$ upper bound for the Inner Product function in the model with silence, previously announced without proof in the updated version of (Hoover et al. 2018). We also prove new upper bounds for Inner Product and Disjointness in the model with zero. We also determine the half-duplex communication complexity of a uniformly random Boolean function up to an additive constant: with high probability, it is $n/\log_2 3 + O(1)$ in the model with silence and $n + O(1)$ in the models with zero and with an adversary.

Authors: Yuriy Dementiev, Artur Ignatiev, Anna Kogan, Ivan Mihajlin, Timofey Moskalenko, Varvara Prozorova, Anastasiia Salimova, Lev Shpraidun, Alexander V. Smal, Tatiana Valinurova

We continue the study of half-duplex communication complexity, a model introduced in (Hoover et al. 2018) and further studied in (Dementiev et al. 2021), in which each player can either send a bit or listen in each round, similarly to communication over a walkie-talkie. We give a proof of the $\lceil n/2\rceil+2$ upper bound for the Inner Product function in the model with silence, previously announced without proof in the updated version of (Hoover et al. 2018). We also prove new upper bounds for Inner Product and Disjointness in the model with zero. We also determine the half-duplex communication complexity of a uniformly random Boolean function up to an additive constant: with high probability, it is $n/\log_2 3 + O(1)$ in the model with silence and $n + O(1)$ in the models with zero and with an adversary.

Quantum Authentication: Security against Authentication and Verification Queries

from arXiv: Computational Complexity

Authors: Shaoquan Jiang

We study the authentication of quantum message when a secret key is reused across multiple authentication instances and when an adversary can access the verifier to verify his forgeries. We formulate a security model that explicitly captures multiple authentication queries and multiple verification queries, together with adversarial entanglement. The inclusion of multiple verification queries is essential: within our model, we construct a quantum authentication scheme that is secure in the absence of verification queries, but becomes completely insecure when multiple verification queries are permitted. This separation demonstrates that verification queries can fundamentally change the security of quantum authentication and should be explicitly incorporated into its security formulation. Within the proposed model, we develop an authentication framework, Auth-QFT-Auth, and prove its security. We further demonstrate the impact of key reuse on authentication security through a quantum polynomial-time attack on Clifford-based authentication under multiple authentication queries, without requiring verification queries. Our results reveal that the security of quantum authentication under key reuse can be undermined even in the absence of verification access.

Authors: Shaoquan Jiang

We study the authentication of quantum message when a secret key is reused across multiple authentication instances and when an adversary can access the verifier to verify his forgeries. We formulate a security model that explicitly captures multiple authentication queries and multiple verification queries, together with adversarial entanglement. The inclusion of multiple verification queries is essential: within our model, we construct a quantum authentication scheme that is secure in the absence of verification queries, but becomes completely insecure when multiple verification queries are permitted. This separation demonstrates that verification queries can fundamentally change the security of quantum authentication and should be explicitly incorporated into its security formulation. Within the proposed model, we develop an authentication framework, Auth-QFT-Auth, and prove its security. We further demonstrate the impact of key reuse on authentication security through a quantum polynomial-time attack on Clifford-based authentication under multiple authentication queries, without requiring verification queries. Our results reveal that the security of quantum authentication under key reuse can be undermined even in the absence of verification access.

On the Arithmetic Complexity of Hypervolume Indicator Computation and Klee's Measure Problem: Lower Bounds via Reduction from the Permanent

from arXiv: Computational Geometry

Authors: Michael T. M. Emmerich

The hypervolume indicator is used in multiobjective optimization to assess solution sets and guide selection in evolutionary algorithms. Hypervolume Indicator Computation (HVC) asks for the union volume of axis-aligned boxes sharing a reference corner. The Klee Measure Problem (KMP) allows arbitrary axis-aligned boxes. We study exact computation when both the number of boxes and the dimension grow. We reduce the computation of the permanent to exact HVC by an unconditional arithmetic reduction with polynomial overhead. Polynomial-size arithmetic circuits for the constructed HVC instances would yield polynomial-size circuits for the permanent. If $\mathrm{VP}_{\mathbb{R}}\ne\mathrm{VNP}_{\mathbb{R}}$, no such circuit family exists. The same obstruction applies to KMP because every anchored instance is also a KMP instance. We relate the construction to earlier counting and algebraic results, give the reverse reduction for rational inputs in the bit model, and derive exact connections with ordinary $\ell_1$ magnitude. The result announced by Claude AI (Anthropic) on $\mathrm{VP}\ne\mathrm{VNP}$ remains in preprint status, and therefore our lower-bound conclusions remain conditional on its correctness. The reduction and exact identities are unconditional regardless of the status of that preprint. Two limitations are important. Firstly, growing dimension means a growing number of objectives in multiobjective optimization, but practical applications often fix that number. Our result gives no lower-bound conclusion for fixed dimension. Secondly, the arithmetic-circuit statement concerns the permanent as a formal polynomial over $\mathbb{R}$, but establishes no lower bound for computing the permanent of $0$-$1$ matrices in the classical bit model. It therefore does not resolve the $\mathrm P$ versus $\mathrm{NP}$ problem.

Authors: Michael T. M. Emmerich

The hypervolume indicator is used in multiobjective optimization to assess solution sets and guide selection in evolutionary algorithms. Hypervolume Indicator Computation (HVC) asks for the union volume of axis-aligned boxes sharing a reference corner. The Klee Measure Problem (KMP) allows arbitrary axis-aligned boxes. We study exact computation when both the number of boxes and the dimension grow. We reduce the computation of the permanent to exact HVC by an unconditional arithmetic reduction with polynomial overhead. Polynomial-size arithmetic circuits for the constructed HVC instances would yield polynomial-size circuits for the permanent. If $\mathrm{VP}_{\mathbb{R}}\ne\mathrm{VNP}_{\mathbb{R}}$, no such circuit family exists. The same obstruction applies to KMP because every anchored instance is also a KMP instance. We relate the construction to earlier counting and algebraic results, give the reverse reduction for rational inputs in the bit model, and derive exact connections with ordinary $\ell_1$ magnitude. The result announced by Claude AI (Anthropic) on $\mathrm{VP}\ne\mathrm{VNP}$ remains in preprint status, and therefore our lower-bound conclusions remain conditional on its correctness. The reduction and exact identities are unconditional regardless of the status of that preprint. Two limitations are important. Firstly, growing dimension means a growing number of objectives in multiobjective optimization, but practical applications often fix that number. Our result gives no lower-bound conclusion for fixed dimension. Secondly, the arithmetic-circuit statement concerns the permanent as a formal polynomial over $\mathbb{R}$, but establishes no lower bound for computing the permanent of $0$-$1$ matrices in the classical bit model. It therefore does not resolve the $\mathrm P$ versus $\mathrm{NP}$ problem.

Realizing the worst-case complexity for barcode reduction of Vietoris-Rips filtrations

from arXiv: Computational Geometry

Authors: Barbara Giunti, Ethan Wright

We present the first (to the best of our knowledge) Vietoris--Rips filtrations realizing the worst-case complexity for the barcode reduction (in dimension 1). Previous constructions were restricted to truncated Vietoris--Rips filtrations, or clique filtrations that were not geometrically realized as a Vietoris--Rips filtration, or filtrations with only linearly many edges and triangles. We present two constructions: one realizes the worst case for the boundary matrix and the other for the coboundary matrix. We also include some theoretical bounds showing that the probability of obtaining a worst-case construction goes to zero as the number of vertices grows.

Authors: Barbara Giunti, Ethan Wright

We present the first (to the best of our knowledge) Vietoris--Rips filtrations realizing the worst-case complexity for the barcode reduction (in dimension 1). Previous constructions were restricted to truncated Vietoris--Rips filtrations, or clique filtrations that were not geometrically realized as a Vietoris--Rips filtration, or filtrations with only linearly many edges and triangles. We present two constructions: one realizes the worst case for the boundary matrix and the other for the coboundary matrix. We also include some theoretical bounds showing that the probability of obtaining a worst-case construction goes to zero as the number of vertices grows.

Rectangulations in any Dimension: Geometry and Combinatorics

from arXiv: Computational Geometry

Authors: Jean Cardinal, Stefan Felsner, Éric Fusy

Rectangulations, defined as tilings of an axis-aligned rectangle by smaller rectangles, are well-studied geometric objects finding applications, among others, to integrated circuit design. Combinatorial equivalence classes of rectangulations exhibit rich structures involving algebraic, analytic, order-theoretic, and polyhedral combinatorics. We consider $d$-dimensional rectangulations, defined as a tiling of a $d$-dimensional axis-aligned box by smaller boxes. We restrict to generic $d$-rectangulations, in which no point is contained in more than $d+1$ boxes. We first show that these are exactly the generic $d$-floorplans recently defined by Bonichon, Muller, and Tanasa (Electron. J. Comb., 2026). We consider weak equivalence classes of $d$-rectangulations, which generalize the familiar notion in dimension $d=2$. Our main result is that all $d$-rectangulations can be constructed from 2-dimensional rectangulations by two elementary operations that we call thickening and substitution. From this characterization, we obtain an expression for the generating function of weak equivalence classes of $d$-rectangulations and an asymptotic estimate for the counting coefficients, of the form $c_d\,γ_d\,\!^n\,n^{-α}$, with $α=4$ for $d\in\{2,3\}$ and $α=3/2$ for $d\geq 4$, and computable constants $c_d$ and $γ_d$. From the characterization, we also obtain special geometric representations: in the weak class of a $d$-rectangulation, besides the diagonal representative, there is a unique representative realizing preassigned areas (area universality), and representatives where each flat contains one point of a given set of points in general position. We expect that the characterization will find further applications.

Authors: Jean Cardinal, Stefan Felsner, Éric Fusy

Rectangulations, defined as tilings of an axis-aligned rectangle by smaller rectangles, are well-studied geometric objects finding applications, among others, to integrated circuit design. Combinatorial equivalence classes of rectangulations exhibit rich structures involving algebraic, analytic, order-theoretic, and polyhedral combinatorics. We consider $d$-dimensional rectangulations, defined as a tiling of a $d$-dimensional axis-aligned box by smaller boxes. We restrict to generic $d$-rectangulations, in which no point is contained in more than $d+1$ boxes. We first show that these are exactly the generic $d$-floorplans recently defined by Bonichon, Muller, and Tanasa (Electron. J. Comb., 2026). We consider weak equivalence classes of $d$-rectangulations, which generalize the familiar notion in dimension $d=2$. Our main result is that all $d$-rectangulations can be constructed from 2-dimensional rectangulations by two elementary operations that we call thickening and substitution. From this characterization, we obtain an expression for the generating function of weak equivalence classes of $d$-rectangulations and an asymptotic estimate for the counting coefficients, of the form $c_d\,γ_d\,\!^n\,n^{-α}$, with $α=4$ for $d\in\{2,3\}$ and $α=3/2$ for $d\geq 4$, and computable constants $c_d$ and $γ_d$. From the characterization, we also obtain special geometric representations: in the weak class of a $d$-rectangulation, besides the diagonal representative, there is a unique representative realizing preassigned areas (area universality), and representatives where each flat contains one point of a given set of points in general position. We expect that the characterization will find further applications.

A Simple Bootstrap for Constant-Factor Approximation of the Discrete Fréchet Distance

from arXiv: Computational Geometry

Authors: Matthew J. Katz

We give a simple deterministic hierarchy of constant-factor approximation algorithms for the discrete Fréchet distance between two polygonal curves with $n$ vertices each in fixed dimension $d$. For every fixed integer $r\ge1$ and every $\varepsilon>0$, the hierarchy yields a $(2^{r+1}-1+\varepsilon)$-approximation in time ${\widetilde O}_{d,r,\varepsilon}\left(n^{3/2+1/(4r+2)}\right)$. In particular, we obtain a $(7+\varepsilon)$-approximation in ${\widetilde O}_{d,\varepsilon}(n^{8/5})$ time. More generally, for any fixed $γ>0$, we obtain a constant-factor approximation in ${\widetilde O}(n^{3/2+γ})$ time, with an approximation factor of $2^{O(1/γ)}$. The main ingredient of our approach is a simple bootstrap for approximate reachability queries in the discrete free-space matrix. Suppose that two curves with at most $m$ vertices each can be preprocessed independently in ${\widetilde O}(m^2)$ time per curve, so that reachability queries can be answered in ${\widetilde O}(m^p)$ time with approximation factor $c$. We show how to improve the query time to ${\widetilde O}(m^{2-1/p})$ at the expense of increasing the approximation factor to $2c+1$, while maintaining the same preprocessing bound. Starting with the standard quadratic-time exact procedure, we apply this transformation repeatedly. Only then do we partition the original $n$-vertex curves into blocks and apply the resulting reachability procedure to each pair of blocks.

Authors: Matthew J. Katz

We give a simple deterministic hierarchy of constant-factor approximation algorithms for the discrete Fréchet distance between two polygonal curves with $n$ vertices each in fixed dimension $d$. For every fixed integer $r\ge1$ and every $\varepsilon>0$, the hierarchy yields a $(2^{r+1}-1+\varepsilon)$-approximation in time ${\widetilde O}_{d,r,\varepsilon}\left(n^{3/2+1/(4r+2)}\right)$. In particular, we obtain a $(7+\varepsilon)$-approximation in ${\widetilde O}_{d,\varepsilon}(n^{8/5})$ time. More generally, for any fixed $γ>0$, we obtain a constant-factor approximation in ${\widetilde O}(n^{3/2+γ})$ time, with an approximation factor of $2^{O(1/γ)}$. The main ingredient of our approach is a simple bootstrap for approximate reachability queries in the discrete free-space matrix. Suppose that two curves with at most $m$ vertices each can be preprocessed independently in ${\widetilde O}(m^2)$ time per curve, so that reachability queries can be answered in ${\widetilde O}(m^p)$ time with approximation factor $c$. We show how to improve the query time to ${\widetilde O}(m^{2-1/p})$ at the expense of increasing the approximation factor to $2c+1$, while maintaining the same preprocessing bound. Starting with the standard quadratic-time exact procedure, we apply this transformation repeatedly. Only then do we partition the original $n$-vertex curves into blocks and apply the resulting reachability procedure to each pair of blocks.

Faster Sum-of-Radii Clustering with Few Balls

from arXiv: Computational Geometry

Authors: Guilherme D. da Fonseca, Yan Gerard

In the $k$-MinSumRadius problem, we must cover $n$ points in $\mathbb{R}^d$ by $k$ balls with arbitrary centers, minimizing the sum of the radii. We give an algorithm that, for every fixed $k$, runs in $\tilde{O}(n^{k-1})$ time in the plane and in $O(n^{k-δ})$ time in $\mathbb{R}^d$ for fixed $d$, for every $δ<1/(\lceil d/2\rceil+1)$. This matches the SoCG 2024 bounds for $k=2$ in $\mathbb{R}^d$ and for $k=3$ in the plane, and improves on the best bounds we know, at least $n^{d(k-2)}$, for all other $k\ge3$ and $d\ge2$. The algorithm splits the points recursively by hyperplanes orthogonal to the at most $d+1$ directions from the center of the minimum enclosing ball to its support points. Our analysis replaces the case analysis for three disks in the SoCG 2024 paper by a short proof of a weaker statement that holds for every $k$ and $d$. With additional pruning rules, an implementation solves planar 5-MinSumRadius instances with 3000 points in 5 planted clusters in less than 0.1 seconds, and its running time, averaged over our instance families, grows about linearly in $n$.

Authors: Guilherme D. da Fonseca, Yan Gerard

In the $k$-MinSumRadius problem, we must cover $n$ points in $\mathbb{R}^d$ by $k$ balls with arbitrary centers, minimizing the sum of the radii. We give an algorithm that, for every fixed $k$, runs in $\tilde{O}(n^{k-1})$ time in the plane and in $O(n^{k-δ})$ time in $\mathbb{R}^d$ for fixed $d$, for every $δ<1/(\lceil d/2\rceil+1)$. This matches the SoCG 2024 bounds for $k=2$ in $\mathbb{R}^d$ and for $k=3$ in the plane, and improves on the best bounds we know, at least $n^{d(k-2)}$, for all other $k\ge3$ and $d\ge2$. The algorithm splits the points recursively by hyperplanes orthogonal to the at most $d+1$ directions from the center of the minimum enclosing ball to its support points. Our analysis replaces the case analysis for three disks in the SoCG 2024 paper by a short proof of a weaker statement that holds for every $k$ and $d$. With additional pruning rules, an implementation solves planar 5-MinSumRadius instances with 3000 points in 5 planted clusters in less than 0.1 seconds, and its running time, averaged over our instance families, grows about linearly in $n$.

Decomposing Persistence Modules Efficiently in Theory and Practice

from arXiv: Computational Geometry

Authors: Tamal K. Dey, Maksim Lavrenko

We consider the problem of computing a decomposition of a finitely generated persistence module into indecomposables from its presentation. Over a fixed finite field, a polynomial-time algorithm for the problem is known, but the existing general-purpose software (Meat-Axe) runs slowly on typical large inputs in topological data analysis (TDA). On the other hand, a recent algorithm (AIDA) designed in topological data analysis runs much faster in practice but has exponential complexity in terms of a parameter dictated by the maximum number of relations sharing a grade. This exponential dependence slows down its associated software when this parameter reaches a modest value. We propose polynomial-time preprocessing techniques that split the input module into smaller direct summands and identify summands that are already indecomposable. For each remaining summand, we compute a change of generator basis and refine its grading to make the generator grades distinct while preserving an indecomposable decomposition. Applying AIDA to the resulting anti-transposed matrices then recovers the remaining indecomposables in polynomial time. Our experiments show that this entire polynomial-time pipeline beats the state of the art severalfold.

Authors: Tamal K. Dey, Maksim Lavrenko

We consider the problem of computing a decomposition of a finitely generated persistence module into indecomposables from its presentation. Over a fixed finite field, a polynomial-time algorithm for the problem is known, but the existing general-purpose software (Meat-Axe) runs slowly on typical large inputs in topological data analysis (TDA). On the other hand, a recent algorithm (AIDA) designed in topological data analysis runs much faster in practice but has exponential complexity in terms of a parameter dictated by the maximum number of relations sharing a grade. This exponential dependence slows down its associated software when this parameter reaches a modest value. We propose polynomial-time preprocessing techniques that split the input module into smaller direct summands and identify summands that are already indecomposable. For each remaining summand, we compute a change of generator basis and refine its grading to make the generator grades distinct while preserving an indecomposable decomposition. Applying AIDA to the resulting anti-transposed matrices then recovers the remaining indecomposables in polynomial time. Our experiments show that this entire polynomial-time pipeline beats the state of the art severalfold.

Weighted Steiner Tree in Subexponential Time

from arXiv: Data Structures and Algorithms

Authors: MohammadTaghi Hajiaghayi, Danny Mittal

We give the first algorithm for Steiner Tree with edge costs whose running time is subexponential in the number $n$ of vertices on graphs of any density. For integer costs of up to $n^{1/4}/2$ bits, a deterministic algorithm finds an optimal Steiner tree in time $2^{O(n\log\log n/\sqrt{\log n})}$. For costs of up to $n^{9/10}$ bits, a deterministic algorithm runs in polynomial space and time $2^{O(n(\log\log n)^{3/2}/(\log n)^{1/8})}$. Previously, no subexponential algorithm was known for Steiner Tree with unbounded edge costs, even on sparse graphs. For other problems with edge costs, such as Hamiltonian cycle, the known subexponential algorithms apply only to sparse graphs. The polynomial-space algorithm also gives the first subexponential algorithm for Group Steiner Tree with edge costs: with $\ell=O(n)$ groups it runs in the same time, and it remains subexponential for every $\ell=o(n\sqrt{\log n}/(\log\log n)^3)$. Our main tool is a theorem stating that every graph has $2^{O(n\log\log n/\sqrt{\log n})}$ subgraphs with $O(n(\log n)^{3/2})$ edges each, such that the minimum spanning forest of every induced subgraph lies in one of them. The proof combines a vertex-sampling analogue of the sampling lemma of Karger, Klein and Tarjan with an enumeration of sparse induced subgraphs. On these sparse graphs, we encode a tree by parent pointers, paying for the edges only through the logarithm of the average degree. The same reduction gives the first subexponential algorithms for edge-weighted $k$-MST, Prize-Collecting Steiner Tree, Generalized Minimum Spanning Tree, Steiner Forest with a bounded number of nets, and Min-Sum Vertex-Disjoint Paths with a fixed number of pairs. We also obtain deterministic polynomial-space subexponential algorithms for Connected Dominating Set, Connected Vertex Cover, and Feedback Vertex Set with large weights.

Authors: MohammadTaghi Hajiaghayi, Danny Mittal

We give the first algorithm for Steiner Tree with edge costs whose running time is subexponential in the number $n$ of vertices on graphs of any density. For integer costs of up to $n^{1/4}/2$ bits, a deterministic algorithm finds an optimal Steiner tree in time $2^{O(n\log\log n/\sqrt{\log n})}$. For costs of up to $n^{9/10}$ bits, a deterministic algorithm runs in polynomial space and time $2^{O(n(\log\log n)^{3/2}/(\log n)^{1/8})}$. Previously, no subexponential algorithm was known for Steiner Tree with unbounded edge costs, even on sparse graphs. For other problems with edge costs, such as Hamiltonian cycle, the known subexponential algorithms apply only to sparse graphs. The polynomial-space algorithm also gives the first subexponential algorithm for Group Steiner Tree with edge costs: with $\ell=O(n)$ groups it runs in the same time, and it remains subexponential for every $\ell=o(n\sqrt{\log n}/(\log\log n)^3)$. Our main tool is a theorem stating that every graph has $2^{O(n\log\log n/\sqrt{\log n})}$ subgraphs with $O(n(\log n)^{3/2})$ edges each, such that the minimum spanning forest of every induced subgraph lies in one of them. The proof combines a vertex-sampling analogue of the sampling lemma of Karger, Klein and Tarjan with an enumeration of sparse induced subgraphs. On these sparse graphs, we encode a tree by parent pointers, paying for the edges only through the logarithm of the average degree. The same reduction gives the first subexponential algorithms for edge-weighted $k$-MST, Prize-Collecting Steiner Tree, Generalized Minimum Spanning Tree, Steiner Forest with a bounded number of nets, and Min-Sum Vertex-Disjoint Paths with a fixed number of pairs. We also obtain deterministic polynomial-space subexponential algorithms for Connected Dominating Set, Connected Vertex Cover, and Feedback Vertex Set with large weights.

Approximating the Geometric Graph Distance: A Metric Relaxation, an Approximation Scheme, and Hardness

from arXiv: Data Structures and Algorithms

Authors: Vitaliy Kurlin, Sushovan Majhi, Carola Wenk

The geometric graph distance (GGD) compares graphs embedded in a Euclidean space--molecules, road networks, line drawings--by matching their vertices and charging vertex displacements and changes of edge length. It is a metric on graphs without isolated vertices, and it is NP-hard to compute. We show how its approximability depends on the ratio $L/s$ of the longest edge to the smallest vertex separation. Letting every edge choose its partner relaxes the matching, and making these choices injective gives a metric computable in polynomial time. For graphs of maximum degree $Δ$, with vertex and edge weights $C_V$ and $C_E$, this metric is within a factor $O(Δ(1+C_E/C_V)L/s)$ of the GGD, and at fixed $C_E/C_V$ the linear dependence on $L/s$ is necessary. The proof also gives an approximation within this factor for every $L/s$, in $O(Δn\log n)$ time for $n$ vertices in fixed dimension. For bounded $Δ$, $L/s$ and $C_E/C_V$, in fixed dimension, the GGD admits an efficient polynomial-time approximation scheme (EPTAS); yet already for $L/s=2$ and $C_V\le2\sqrt2C_E$ the GGD is NP-hard, with integer coordinates of polynomial size, and has no fully polynomial scheme unless P = NP. When $L/s$ may grow polynomially in $n$, the GGD is APX-hard, so that it admits no polynomial-time approximation scheme unless P = NP; all our hardness holds for plane graphs that are disjoint unions of paths. For $L/s$ small compared with the ratio of the vertex and edge weights, a minimum cut computes it exactly. In experiments on molecules and letter drawings, the median ratio of the exact distance to the relaxation is $1.1$ to $1.7$, and $1.6$ to $2.3$ for its metric form, which on four published benchmarks is within five points of the best of six other distances.

Authors: Vitaliy Kurlin, Sushovan Majhi, Carola Wenk

The geometric graph distance (GGD) compares graphs embedded in a Euclidean space--molecules, road networks, line drawings--by matching their vertices and charging vertex displacements and changes of edge length. It is a metric on graphs without isolated vertices, and it is NP-hard to compute. We show how its approximability depends on the ratio $L/s$ of the longest edge to the smallest vertex separation. Letting every edge choose its partner relaxes the matching, and making these choices injective gives a metric computable in polynomial time. For graphs of maximum degree $Δ$, with vertex and edge weights $C_V$ and $C_E$, this metric is within a factor $O(Δ(1+C_E/C_V)L/s)$ of the GGD, and at fixed $C_E/C_V$ the linear dependence on $L/s$ is necessary. The proof also gives an approximation within this factor for every $L/s$, in $O(Δn\log n)$ time for $n$ vertices in fixed dimension. For bounded $Δ$, $L/s$ and $C_E/C_V$, in fixed dimension, the GGD admits an efficient polynomial-time approximation scheme (EPTAS); yet already for $L/s=2$ and $C_V\le2\sqrt2C_E$ the GGD is NP-hard, with integer coordinates of polynomial size, and has no fully polynomial scheme unless P = NP. When $L/s$ may grow polynomially in $n$, the GGD is APX-hard, so that it admits no polynomial-time approximation scheme unless P = NP; all our hardness holds for plane graphs that are disjoint unions of paths. For $L/s$ small compared with the ratio of the vertex and edge weights, a minimum cut computes it exactly. In experiments on molecules and letter drawings, the median ratio of the exact distance to the relaxation is $1.1$ to $1.7$, and $1.6$ to $2.3$ for its metric form, which on four published benchmarks is within five points of the best of six other distances.

How Many Tiles Does It Take to Build a Line in Expectation and with Confidence?

from arXiv: Data Structures and Algorithms

Authors: Divya Bajaj, Bin Fu, Robert Schweller

We study the tile complexity of probabilistically assembling a line of expected length exactly $N$. We establish the optimal one-pad bound $3\log_3 N+O(1)$, characterize the minimum exactly, and give an $O(\log N\log\log N)$-time algorithm for computing it. For two-pad systems and flexible glues, we obtain the tight bound $Θ(\log N/\log\log N)$ for arbitrary integer targets. We also derive bounds incorporating accuracy and confidence. For fixed relative error $0<\varepsilon\le1/2$ and failure probability at most $N^{-c}$, where $c>0$ is fixed, the optimal complexities are $Θ(\log^2 N)$ for one-pad systems and $Θ(\log^2 N/\log\log N)$ for two-pad systems and flexible glues. For constant failure probability, the complexities match those for expected length alone. All upper bounds preserve expected length exactly $N$.

Authors: Divya Bajaj, Bin Fu, Robert Schweller

We study the tile complexity of probabilistically assembling a line of expected length exactly $N$. We establish the optimal one-pad bound $3\log_3 N+O(1)$, characterize the minimum exactly, and give an $O(\log N\log\log N)$-time algorithm for computing it. For two-pad systems and flexible glues, we obtain the tight bound $Θ(\log N/\log\log N)$ for arbitrary integer targets. We also derive bounds incorporating accuracy and confidence. For fixed relative error $0<\varepsilon\le1/2$ and failure probability at most $N^{-c}$, where $c>0$ is fixed, the optimal complexities are $Θ(\log^2 N)$ for one-pad systems and $Θ(\log^2 N/\log\log N)$ for two-pad systems and flexible glues. For constant failure probability, the complexities match those for expected length alone. All upper bounds preserve expected length exactly $N$.

Depth-two lower bounds for inner product and Kronecker powers: composite moduli, threshold gates, and linear circuits

from arXiv: Data Structures and Algorithms

Authors: Tejasvi Singh Tomar

We prove depth-two lower bounds for inner product and for linear circuits computing Kronecker powers. Unconditionally, inner product modulo a prime $q$ on $k$-bit inputs needs $2^{Ω(k)}$ gates in depth-two circuits with a $\mathrm{MOD}_m$ top gate, for any fixed $m$ coprime to $q$, and bottom gates that are arbitrary functions of one linear form with bounded integer weights; this is new for composite $m$ such as $6$. Our other results assume a theorem of a recent preprint (OpenAI, 2026), the existence of two-dimensional spectral flats in the asymptotic spectrum of tensors, with consequences proved there and in a companion preprint. Under this assumption, depth-two linear circuits need $N^{(1+\sqrt{2})/2}$ wires for Kronecker products of $2\times 2$ matrices with nonzero entries and nonzero determinant, over any field, and for abelian character tables of order $N$ over fields in which $N$ is invertible, such as the Walsh-Hadamard matrix in characteristic other than two. By comparison, previous lower bounds for explicit matrices were $N^{1+o(1)}$. In the proof, each middle gate adds at most the geometric mean of its fan-in and fan-out to a subadditive functional on tensors, which takes its largest possible value on tensors built from these matrices. Via a bound for the disjointness matrix and the approach of Alman and Li, we show that Boolean inner product, an $\mathrm{AC}^0$ function, needs $2^{Ω(n)}$ gates in $\mathrm{SUM}\circ\mathrm{ETHR}$, exact $\mathrm{SUM}\circ\mathrm{THR}$, exact $\mathrm{SUM}\circ\mathrm{ReLU}$ and $\mathrm{MOD}_p\circ\mathrm{THR}$ circuits with arbitrary weights, for every fixed prime $p$.

Authors: Tejasvi Singh Tomar

We prove depth-two lower bounds for inner product and for linear circuits computing Kronecker powers. Unconditionally, inner product modulo a prime $q$ on $k$-bit inputs needs $2^{Ω(k)}$ gates in depth-two circuits with a $\mathrm{MOD}_m$ top gate, for any fixed $m$ coprime to $q$, and bottom gates that are arbitrary functions of one linear form with bounded integer weights; this is new for composite $m$ such as $6$. Our other results assume a theorem of a recent preprint (OpenAI, 2026), the existence of two-dimensional spectral flats in the asymptotic spectrum of tensors, with consequences proved there and in a companion preprint. Under this assumption, depth-two linear circuits need $N^{(1+\sqrt{2})/2}$ wires for Kronecker products of $2\times 2$ matrices with nonzero entries and nonzero determinant, over any field, and for abelian character tables of order $N$ over fields in which $N$ is invertible, such as the Walsh-Hadamard matrix in characteristic other than two. By comparison, previous lower bounds for explicit matrices were $N^{1+o(1)}$. In the proof, each middle gate adds at most the geometric mean of its fan-in and fan-out to a subadditive functional on tensors, which takes its largest possible value on tensors built from these matrices. Via a bound for the disjointness matrix and the approach of Alman and Li, we show that Boolean inner product, an $\mathrm{AC}^0$ function, needs $2^{Ω(n)}$ gates in $\mathrm{SUM}\circ\mathrm{ETHR}$, exact $\mathrm{SUM}\circ\mathrm{THR}$, exact $\mathrm{SUM}\circ\mathrm{ReLU}$ and $\mathrm{MOD}_p\circ\mathrm{THR}$ circuits with arbitrary weights, for every fixed prime $p$.

The Complexity of Discrete Colonel Blotto Games

from arXiv: Data Structures and Algorithms

Authors: Martin Bichler, Abheek Ghosh

In a discrete Colonel Blotto game, players allocate budgets of indivisible troops across $m$ battlefields. On each battlefield, the player who sends the most troops earns her value for it, with ties broken uniformly at random. In the two-player case with common battlefield values, prior work gave a polynomial-time algorithm for computing an exact mixed Nash equilibrium. In the multiplayer case with player-specific values, later work established PPAD-hardness at inverse-polynomial accuracy. It remained open whether hardness already holds (i) for two players with player-specific values or (ii) for more than two players with common values. We prove that computing an $m^{-γ}$-Nash equilibrium is PPAD-complete in both cases for every fixed rational $γ>0$. In the two-player case, hardness holds even with equal budgets. With common values, three players with unequal budgets suffice. We give a deterministic polynomial-time approximation scheme for well-supported Nash equilibrium whenever the number of players is fixed or the battlefield values are common. Combining these bounds with further results, we classify the complexity of computing an $\varepsilon$-Nash equilibrium for all combinations of four parameters: the number of players (two, any larger constant, or unrestricted), battlefield values (common or player-specific), budgets (equal or allowed to differ), and the error $\varepsilon$ (constant, inverse-polynomial, or inverse-exponential).

Authors: Martin Bichler, Abheek Ghosh

In a discrete Colonel Blotto game, players allocate budgets of indivisible troops across $m$ battlefields. On each battlefield, the player who sends the most troops earns her value for it, with ties broken uniformly at random. In the two-player case with common battlefield values, prior work gave a polynomial-time algorithm for computing an exact mixed Nash equilibrium. In the multiplayer case with player-specific values, later work established PPAD-hardness at inverse-polynomial accuracy. It remained open whether hardness already holds (i) for two players with player-specific values or (ii) for more than two players with common values. We prove that computing an $m^{-γ}$-Nash equilibrium is PPAD-complete in both cases for every fixed rational $γ>0$. In the two-player case, hardness holds even with equal budgets. With common values, three players with unequal budgets suffice. We give a deterministic polynomial-time approximation scheme for well-supported Nash equilibrium whenever the number of players is fixed or the battlefield values are common. Combining these bounds with further results, we classify the complexity of computing an $\varepsilon$-Nash equilibrium for all combinations of four parameters: the number of players (two, any larger constant, or unrestricted), battlefield values (common or player-specific), budgets (equal or allowed to differ), and the error $\varepsilon$ (constant, inverse-polynomial, or inverse-exponential).

Near-Linear-Time Plane Intersection Supports for Non-Piercing Axis-Parallel Rectangles

from arXiv: Data Structures and Algorithms

Authors: Suryendu Dalal, Rajiv Raman

Let $P$ be a set of points in the plane and let $\mathcal{R}$ be a set of axis-parallel rectangles that are \emph{non-piercing}, i.e., for any two rectangles $R,R'\in\mathcal{R}$, each of $R\setminus R'$ and $R'\setminus R$ is empty or path-connected. A \emph{primal support} is a graph $G$ on $P$ such that for each $R\in\mathcal{R}$ with $P\cap R\ne\varnothing$, the graph $G[P\cap R]$ is connected. Pal et al. (ISAAC 2024) gave a near-linear time algorithm to construct such a planar primal support, but left open the question of a fast algorithm to construct a \emph{dual support}, i.e., a graph $G^*$ on $\mathcal{R}$ such that for each $p\in P$ with $\mathcal{R}_p\ne\varnothing$, the induced graph $G^*[\mathcal{R}_p]$ is connected, where $\mathcal{R}_p=\{R\in\mathcal{R}:p\in R\}$. The first result we prove is an $O(n\log^2 n)$-time algorithm to construct a planar dual support for a set $P$ of points and a set $\mathcal{R}$ of non-piercing rectangles in general position, where $n=|\mathcal{R}|$. We also study a common generalization of the primal and dual supports, namely an \emph{intersection support}. Let $\mathcal{R}$ and $\mathcal{B}$ be two families of axis-parallel rectangles in combined general position, each separately non-piercing. Their intersection hypergraph has vertex set $\mathcal{B}$ and, for every $R\in\mathcal{R}$, the hyperedge $\mathcal{B}_R=\{B\in\mathcal{B}:R\cap B\ne\emptyset\}$. An intersection support is a graph $\tilde{G}$ on $\mathcal{B}$ such that for each $R\in\mathcal{R}$ with $\mathcal{B}_R\ne\varnothing$, the induced graph $\tilde{G}[\mathcal{B}_R]$ is connected. The second result we present is an $O(N\log^3 N)$-time algorithm to construct a planar intersection support for two families $\mathcal{R},\mathcal{B}$ of non-piercing rectangles, where $N=|\mathcal{R}|+|\mathcal{B}|$.

Authors: Suryendu Dalal, Rajiv Raman

Let $P$ be a set of points in the plane and let $\mathcal{R}$ be a set of axis-parallel rectangles that are \emph{non-piercing}, i.e., for any two rectangles $R,R'\in\mathcal{R}$, each of $R\setminus R'$ and $R'\setminus R$ is empty or path-connected. A \emph{primal support} is a graph $G$ on $P$ such that for each $R\in\mathcal{R}$ with $P\cap R\ne\varnothing$, the graph $G[P\cap R]$ is connected. Pal et al. (ISAAC 2024) gave a near-linear time algorithm to construct such a planar primal support, but left open the question of a fast algorithm to construct a \emph{dual support}, i.e., a graph $G^*$ on $\mathcal{R}$ such that for each $p\in P$ with $\mathcal{R}_p\ne\varnothing$, the induced graph $G^*[\mathcal{R}_p]$ is connected, where $\mathcal{R}_p=\{R\in\mathcal{R}:p\in R\}$. The first result we prove is an $O(n\log^2 n)$-time algorithm to construct a planar dual support for a set $P$ of points and a set $\mathcal{R}$ of non-piercing rectangles in general position, where $n=|\mathcal{R}|$. We also study a common generalization of the primal and dual supports, namely an \emph{intersection support}. Let $\mathcal{R}$ and $\mathcal{B}$ be two families of axis-parallel rectangles in combined general position, each separately non-piercing. Their intersection hypergraph has vertex set $\mathcal{B}$ and, for every $R\in\mathcal{R}$, the hyperedge $\mathcal{B}_R=\{B\in\mathcal{B}:R\cap B\ne\emptyset\}$. An intersection support is a graph $\tilde{G}$ on $\mathcal{B}$ such that for each $R\in\mathcal{R}$ with $\mathcal{B}_R\ne\varnothing$, the induced graph $\tilde{G}[\mathcal{B}_R]$ is connected. The second result we present is an $O(N\log^3 N)$-time algorithm to construct a planar intersection support for two families $\mathcal{R},\mathcal{B}$ of non-piercing rectangles, where $N=|\mathcal{R}|+|\mathcal{B}|$.

Optimal coverage of outdoor events using aerial robots

from arXiv: Data Structures and Algorithms

Authors: O. Aichholzer, L. E. Caraballo, J. M. Díaz-Báñez, R. Fabila-Monroy, I. Parada, I. Ventura, B. Vogtenhuber

Task allocation is an important aspect of many multi-robot systems. In this paper, we consider a new task allocation problem that appears in multi-robot aerial cinematography. The main goal is to distribute a set of tasks (shooting actions) among the team members optimizing a certain objective function. The tasks are given as sequences of waypoints with associated time intervals (scenes). We prove that the task allocation problem maximizing the total filmed time by $k$ aerial robots (drones) can be solved in polynomial time when the drones do not require battery recharge. We also consider the case of a single drone with limited battery capacity that requires periodic returns to a static base station. For this scenario, we present a polynomial-time solution. In contrast, the general constrained version involving $k$ drones with limited battery endurance has recently been shown to be NP-hard.

Authors: O. Aichholzer, L. E. Caraballo, J. M. Díaz-Báñez, R. Fabila-Monroy, I. Parada, I. Ventura, B. Vogtenhuber

Task allocation is an important aspect of many multi-robot systems. In this paper, we consider a new task allocation problem that appears in multi-robot aerial cinematography. The main goal is to distribute a set of tasks (shooting actions) among the team members optimizing a certain objective function. The tasks are given as sequences of waypoints with associated time intervals (scenes). We prove that the task allocation problem maximizing the total filmed time by $k$ aerial robots (drones) can be solved in polynomial time when the drones do not require battery recharge. We also consider the case of a single drone with limited battery capacity that requires periodic returns to a static base station. For this scenario, we present a polynomial-time solution. In contrast, the general constrained version involving $k$ drones with limited battery endurance has recently been shown to be NP-hard.

Graph Minor Decomposition in Almost-Linear Time

from arXiv: Data Structures and Algorithms

Authors: MohammadTaghi Hajiaghayi, Mahdi JafariRaviz

The Robertson--Seymour structure theorem describes every graph excluding a fixed minor as a tree of graphs that are almost embeddable in surfaces. We give a deterministic almost-linear-time algorithm for constructing the full decomposition, including the surface embeddings, apex sets, and path decompositions of the vortices. For a fixed graph $H$ and an input graph of size $N$, the algorithm either finds an $H$-minor model or returns the decomposition in time $O_H(N^{1+o(1)})$, with linear output size. Each surface excludes $H$, and all structural bounds are computable. This improves the published quadratic-time construction and, on $H$-minor-free inputs, brings the running time within a subpolynomial factor of the size of the explicit decomposition. The construction combines a balanced recursion with a local algorithm around a wall. A grid rooted in a bag that balances the vertex weights makes the local decomposition compatible with balance, while completing the attachment sets before recursion produces the exact torsos of the final tree. The local algorithm constructs the surface by finding handles and crosscaps and then decomposes the remaining disk. As a second result, we give a deterministic almost-linear-time algorithm that, in an arbitrary society, finds a prescribed-size crooked transaction or a cylindrical rendition whose depth is linear in that size. Its main step constructs a vortex boundary after replacing subgraphs with bounded attachment sets, and then lifts the rendition to the original graph.

Authors: MohammadTaghi Hajiaghayi, Mahdi JafariRaviz

The Robertson--Seymour structure theorem describes every graph excluding a fixed minor as a tree of graphs that are almost embeddable in surfaces. We give a deterministic almost-linear-time algorithm for constructing the full decomposition, including the surface embeddings, apex sets, and path decompositions of the vortices. For a fixed graph $H$ and an input graph of size $N$, the algorithm either finds an $H$-minor model or returns the decomposition in time $O_H(N^{1+o(1)})$, with linear output size. Each surface excludes $H$, and all structural bounds are computable. This improves the published quadratic-time construction and, on $H$-minor-free inputs, brings the running time within a subpolynomial factor of the size of the explicit decomposition. The construction combines a balanced recursion with a local algorithm around a wall. A grid rooted in a bag that balances the vertex weights makes the local decomposition compatible with balance, while completing the attachment sets before recursion produces the exact torsos of the final tree. The local algorithm constructs the surface by finding handles and crosscaps and then decomposes the remaining disk. As a second result, we give a deterministic almost-linear-time algorithm that, in an arbitrary society, finds a prescribed-size crooked transaction or a cylindrical rendition whose depth is linear in that size. Its main step constructs a vortex boundary after replacing subgraphs with bounded attachment sets, and then lifts the rendition to the original graph.

Removing Spanning Trees Better Than Nash-Williams

from arXiv: Data Structures and Algorithms

Authors: Nathan Klein, Neil Olver, Zi Song Yeoh

A conjecture of Pritchard states that every $k$-edge-connected graph $G$ contains a spanning tree whose deletion only decreases the edge connectivity of $G$ by $o(k)$. We give a constructive proof of this conjecture: we show that a spanning tree can be found whose deletion reduces the edge-connectivity by $O(k/\sqrt{\log k})$. The best result previously obtained in the published literature is a decrease of $\lceil k/2\rceil+1$, a simple consequence of the Nash-Williams tree-packing theorem. Recently, OpenAI released a manuscript describing a proof of the strong thin tree conjecture: that every $k$-edge-connected graph contains a spanning tree with at most an $O(1/k)$ fraction of the edges across every cut of the graph. This also implies Pritchard's conjecture, and in fact shows that a spanning tree can be found whose deletion decreases the edge connectivity only by $O(1)$. Our techniques are completely different and much more elementary. Further, they give new insight into the structure of small cuts in graphs. We also discuss some other consequences for the closely related splitting hypothesis of Bang-Jensen and Yeo: that every $k$-edge-connected graph can be split into two spanning subgraphs that are $k/2-O(1)$ connected.

Authors: Nathan Klein, Neil Olver, Zi Song Yeoh

A conjecture of Pritchard states that every $k$-edge-connected graph $G$ contains a spanning tree whose deletion only decreases the edge connectivity of $G$ by $o(k)$. We give a constructive proof of this conjecture: we show that a spanning tree can be found whose deletion reduces the edge-connectivity by $O(k/\sqrt{\log k})$. The best result previously obtained in the published literature is a decrease of $\lceil k/2\rceil+1$, a simple consequence of the Nash-Williams tree-packing theorem. Recently, OpenAI released a manuscript describing a proof of the strong thin tree conjecture: that every $k$-edge-connected graph contains a spanning tree with at most an $O(1/k)$ fraction of the edges across every cut of the graph. This also implies Pritchard's conjecture, and in fact shows that a spanning tree can be found whose deletion decreases the edge connectivity only by $O(1)$. Our techniques are completely different and much more elementary. Further, they give new insight into the structure of small cuts in graphs. We also discuss some other consequences for the closely related splitting hypothesis of Bang-Jensen and Yeo: that every $k$-edge-connected graph can be split into two spanning subgraphs that are $k/2-O(1)$ connected.

Tight Bounds for Distributed Norm Estimation

from arXiv: Data Structures and Algorithms

Authors: David P. Woodruff, Shenghao Xie, Samson Zhou

We study distributed norm estimation, where the goal is to output a $(1+\varepsilon)$-approximation to the $L_p$ norm of a dataset distributed across $k$ servers. Prior work has settled the communication complexity of the problem in the number $k$ of servers and the accuracy parameter $\varepsilon$ for $p=1$ and for $p\ge2$: for $p=1$, Huang, Yi, and Zhang [PODS 2012] gave matching upper and lower bounds of $\tildeΘ(k+\sqrt{k}/\varepsilon)$ communication; for $p>1$, Woodruff and Zhang [STOC 2012] established a lower bound of $Ω(k+k^{p-1}/\varepsilon^2)$, which was recently matched by Esfandiari, Kacham, Mirrokni, Woodruff, and Zhong [STOC 2024] and later extended to the distributed monitoring setting by Huang, Xiong, Zhu, and Wei [STOC 2025], but only for $p\ge2$. The regime $p\in(1,2)$ has nevertheless remained unresolved, where the best known protocols use $\tilde{O}(k+k^{p-1}/\varepsilon^{10p^2/(p-1)})$ communication, due to Woodruff and Zhang, and $\tilde{O}(k^p/\varepsilon^2)$, due to Kannan, Vempala, and Woodruff [COLT 2014]. We close this gap by giving a near-optimal distributed protocol with $\tilde{O}(k+k^{p-1}/\varepsilon^2)$ communication, matching the lower bound by Woodruff and Zhang. Together with the previous results, this resolves the communication complexity of estimating every $L_p$ norm in the distributed model. We then extend our techniques to achieve protocols for norm estimation that use (1) $\tilde{O}(k+k^{p-1}/\varepsilon^2)$ communication in the distributed monitoring model and (2) $\tilde{O}(k/\varepsilon+k^{p-1}/\varepsilon^2)$ communication in the adversarially robust distributed monitoring model, the latter being the first nontrivial robust protocol in this regime. At the heart of our approach is a novel telescoping approach that iteratively performs bias reduction, which may be of independent interest.

Authors: David P. Woodruff, Shenghao Xie, Samson Zhou

We study distributed norm estimation, where the goal is to output a $(1+\varepsilon)$-approximation to the $L_p$ norm of a dataset distributed across $k$ servers. Prior work has settled the communication complexity of the problem in the number $k$ of servers and the accuracy parameter $\varepsilon$ for $p=1$ and for $p\ge2$: for $p=1$, Huang, Yi, and Zhang [PODS 2012] gave matching upper and lower bounds of $\tildeΘ(k+\sqrt{k}/\varepsilon)$ communication; for $p>1$, Woodruff and Zhang [STOC 2012] established a lower bound of $Ω(k+k^{p-1}/\varepsilon^2)$, which was recently matched by Esfandiari, Kacham, Mirrokni, Woodruff, and Zhong [STOC 2024] and later extended to the distributed monitoring setting by Huang, Xiong, Zhu, and Wei [STOC 2025], but only for $p\ge2$. The regime $p\in(1,2)$ has nevertheless remained unresolved, where the best known protocols use $\tilde{O}(k+k^{p-1}/\varepsilon^{10p^2/(p-1)})$ communication, due to Woodruff and Zhang, and $\tilde{O}(k^p/\varepsilon^2)$, due to Kannan, Vempala, and Woodruff [COLT 2014]. We close this gap by giving a near-optimal distributed protocol with $\tilde{O}(k+k^{p-1}/\varepsilon^2)$ communication, matching the lower bound by Woodruff and Zhang. Together with the previous results, this resolves the communication complexity of estimating every $L_p$ norm in the distributed model. We then extend our techniques to achieve protocols for norm estimation that use (1) $\tilde{O}(k+k^{p-1}/\varepsilon^2)$ communication in the distributed monitoring model and (2) $\tilde{O}(k/\varepsilon+k^{p-1}/\varepsilon^2)$ communication in the adversarially robust distributed monitoring model, the latter being the first nontrivial robust protocol in this regime. At the heart of our approach is a novel telescoping approach that iteratively performs bias reduction, which may be of independent interest.

Online Demand Strip Packing: Absolute and Asymptotic Guarantees

from arXiv: Data Structures and Algorithms

Authors: Sebastian Bruchhold, Franziska Eberle, Georgios Moneftsis, Malin Rau, Albert Vesterlund

In the Demand Strip Packing problem (DSP), we are given a finite set of tasks, each characterized by a specific duration and energy demand. These tasks need to be scheduled non-preemptively within a given time frame while minimizing the peak demand: the maximum amount of energy consumed by the tasks being executed at any point in time. We are the first to consider the online variant of the problem, where tasks are revealed to an algorithm one by one in a list. Upon arrival, each task must be assigned an irrevocable start time before the next task in the list is revealed. As usual in online optimization, we evaluate the performance of online algorithms using competitive analysis. We give a strictly $3.667$-competitive algorithm for Online DSP, which is stronger than the respective bound of $6.479$ for the related problem Online Strip Packing. Additionally, we give the first deterministic algorithm with an asymptotic competitive ratio of $1.5 + \varepsilon$ for Online Minimum Peak Appointment Scheduling and generalize it to Online DSP with the same guarantee.

Authors: Sebastian Bruchhold, Franziska Eberle, Georgios Moneftsis, Malin Rau, Albert Vesterlund

In the Demand Strip Packing problem (DSP), we are given a finite set of tasks, each characterized by a specific duration and energy demand. These tasks need to be scheduled non-preemptively within a given time frame while minimizing the peak demand: the maximum amount of energy consumed by the tasks being executed at any point in time. We are the first to consider the online variant of the problem, where tasks are revealed to an algorithm one by one in a list. Upon arrival, each task must be assigned an irrevocable start time before the next task in the list is revealed. As usual in online optimization, we evaluate the performance of online algorithms using competitive analysis. We give a strictly $3.667$-competitive algorithm for Online DSP, which is stronger than the respective bound of $6.479$ for the related problem Online Strip Packing. Additionally, we give the first deterministic algorithm with an asymptotic competitive ratio of $1.5 + \varepsilon$ for Online Minimum Peak Appointment Scheduling and generalize it to Online DSP with the same guarantee.

Dimension-Free $\ell_2^2$-Sampling Algorithms for Eigenvalue Estimation

from arXiv: Data Structures and Algorithms

Authors: Nicolas Menand, Erik Waingarten, David P. Woodruff

We study the problem of estimating the eigenvalues of a symmetric matrix $A \in \mathbb{R}^{n \times n}$ to an additive error $\varepsilon\|A\|_F$ with constant probability, given query access to the entries of $A$ and access to the squared row norms. We give an algorithm which queries $\tilde{O}(\log(1/\varepsilon))/\varepsilon^4$ entries of $A$, all of which lie in a single principal submatrix of dimension $O(\log(1/\varepsilon)/\varepsilon^2)$. The previous best bounds, due to Swartworth and Woodruff (SODA 2025), grow as $\text{polylog}(n/\varepsilon)$. Our bounds are independent of $n$. We complement our algorithm with lower bounds which show that all algorithms in the $\ell_2^2$-model must query entries in $Ω(\log(1/\varepsilon)/\varepsilon^2)$ distinct rows and columns, and must query $Ω(\log(1/\varepsilon)/\varepsilon^4)$ entries in total. The dimension of our sampled principal submatrix is therefore optimal up to a constant factor, and our query complexity is optimal up to a $\text{poly}(\log\log(1/\varepsilon))$ factor.

Authors: Nicolas Menand, Erik Waingarten, David P. Woodruff

We study the problem of estimating the eigenvalues of a symmetric matrix $A \in \mathbb{R}^{n \times n}$ to an additive error $\varepsilon\|A\|_F$ with constant probability, given query access to the entries of $A$ and access to the squared row norms. We give an algorithm which queries $\tilde{O}(\log(1/\varepsilon))/\varepsilon^4$ entries of $A$, all of which lie in a single principal submatrix of dimension $O(\log(1/\varepsilon)/\varepsilon^2)$. The previous best bounds, due to Swartworth and Woodruff (SODA 2025), grow as $\text{polylog}(n/\varepsilon)$. Our bounds are independent of $n$. We complement our algorithm with lower bounds which show that all algorithms in the $\ell_2^2$-model must query entries in $Ω(\log(1/\varepsilon)/\varepsilon^2)$ distinct rows and columns, and must query $Ω(\log(1/\varepsilon)/\varepsilon^4)$ entries in total. The dimension of our sampled principal submatrix is therefore optimal up to a constant factor, and our query complexity is optimal up to a $\text{poly}(\log\log(1/\varepsilon))$ factor.

A Space Separation for Single-Pass DFS Trees in Insertion-Only and Turnstile Streams

from arXiv: Data Structures and Algorithms

Authors: Tsun-Ming Cheung, Meng-Tsung Tsai, Tzu-Chiao Yen

We establish a separation between insertion-only and turnstile streams for constructing a depth-first search (DFS) tree of an $n$-vertex undirected graph in a single pass. In insertion-only streams, a deterministic algorithm uses $O(n^{3/2}\log n)$ bits, whereas in turnstile streams, $Ω(n^2)$ bits are necessary even for randomized algorithms with sufficiently small constant error. The upper bound uses a tight extremal bound for ladders whose length grows with $n$. The lower bound follows from a reduction from approximating minimum vertex cover.

Authors: Tsun-Ming Cheung, Meng-Tsung Tsai, Tzu-Chiao Yen

We establish a separation between insertion-only and turnstile streams for constructing a depth-first search (DFS) tree of an $n$-vertex undirected graph in a single pass. In insertion-only streams, a deterministic algorithm uses $O(n^{3/2}\log n)$ bits, whereas in turnstile streams, $Ω(n^2)$ bits are necessary even for randomized algorithms with sufficiently small constant error. The upper bound uses a tight extremal bound for ladders whose length grows with $n$. The lower bound follows from a reduction from approximating minimum vertex cover.

A Simple PTAS for Square-Free 2-Matching

from arXiv: Data Structures and Algorithms

Authors: Takashi Noguchi, Tatsuya Terao

A $C_{\le 4}$-free (simple) $2$-matching is an edge set that has at most $2$ edges incident to each vertex and contains no cycle of length $3$ or $4$. For the problem of finding a maximum cardinality $C_{\le 4}$-free $2$-matching in a given graph, the complexity is still open. One of the main motivations for the problem is that even a PTAS for the problem implies improved approximation ratios for the $2$-edge-connected spanning subgraph problem ($2$-ECSS) and the $2$-vertex-connected spanning subgraph problem ($2$-VCSS). In this paper, we present a simple PTAS for the problem based on local search. Our PTAS exploits the fact that, as long as the current solution is not a $(1-\varepsilon)$-approximate solution, there exists an edge set of size $2^{O(1/\varepsilon)}$ whose symmetric difference with the current solution is a larger $C_{\le 4}$-free $2$-matching.

Authors: Takashi Noguchi, Tatsuya Terao

A $C_{\le 4}$-free (simple) $2$-matching is an edge set that has at most $2$ edges incident to each vertex and contains no cycle of length $3$ or $4$. For the problem of finding a maximum cardinality $C_{\le 4}$-free $2$-matching in a given graph, the complexity is still open. One of the main motivations for the problem is that even a PTAS for the problem implies improved approximation ratios for the $2$-edge-connected spanning subgraph problem ($2$-ECSS) and the $2$-vertex-connected spanning subgraph problem ($2$-VCSS). In this paper, we present a simple PTAS for the problem based on local search. Our PTAS exploits the fact that, as long as the current solution is not a $(1-\varepsilon)$-approximate solution, there exists an edge set of size $2^{O(1/\varepsilon)}$ whose symmetric difference with the current solution is a larger $C_{\le 4}$-free $2$-matching.

Near-Optimal Almost-Ramsey Spanning Tree Covers, via Layered Clusterings

from arXiv: Data Structures and Algorithms

Authors: Michael Elkin, Idan Shabat

Spanning tree covers are a fundamental metric construct with numerous important applications. However, the currently best-known stretch-size tradeoffs for them fail to provide constant stretch (with sublinear size). Specifically, for general graphs the state-of-the-art tradeoff is due to Abraham et al.; they devised a Ramsey spanning tree cover with stretch $O(k\log\log n)$ and size $O(kn^{1/k})$. For genus-$g$ graphs, there are spanning tree covers with stretch $O(k\log\log g)$ and size $O(kg^{1/k}\log^2 n)$, and for $K_r$-minor-free graphs there are spanning tree covers with stretch $O(k\log\log r)$ and size $O(kr^{2+1/k}\log^2 n)$. We provide spanning tree covers for general graphs with almost-optimal stretch $(2k+ε)$ and size $O_ε(n^{1/k})\log^{O(1)}n$, for genus-$g$ graphs with stretch $(4k-2+ε)$ and size $O_ε(k^2g^{1/k}\log^2 n)$, and for $K_r$-minor-free graphs with stretch $O(k)$ and size $O(kr^{2+1/k}\log^2 n)$. It is well-known that path-separable graphs, such as genus-$g$ or $K_r$-minor-free graphs, do not admit Ramsey tree covers with stretch-size tradeoffs comparable to their non-Ramsey counterparts. On the other hand, Ramsey tree covers are much more convenient than non-Ramsey ones for numerous applications, such as routing schemes and distance oracles. To alleviate this issue we introduce and develop almost-Ramsey spanning tree covers both for general graphs, and for various restricted graph families. We derive from them significantly improved path-reporting distance oracles and routing schemes for numerous graph families. Our results rely on a simple yet powerful equivalence between tree covers and layered clusterings, that we discover and explore in this paper. Specifically, these reductions convert layered (strong) neighborhood covers into (spanning) almost-Ramsey tree covers with similar parameters, and vice versa.

Authors: Michael Elkin, Idan Shabat

Spanning tree covers are a fundamental metric construct with numerous important applications. However, the currently best-known stretch-size tradeoffs for them fail to provide constant stretch (with sublinear size). Specifically, for general graphs the state-of-the-art tradeoff is due to Abraham et al.; they devised a Ramsey spanning tree cover with stretch $O(k\log\log n)$ and size $O(kn^{1/k})$. For genus-$g$ graphs, there are spanning tree covers with stretch $O(k\log\log g)$ and size $O(kg^{1/k}\log^2 n)$, and for $K_r$-minor-free graphs there are spanning tree covers with stretch $O(k\log\log r)$ and size $O(kr^{2+1/k}\log^2 n)$. We provide spanning tree covers for general graphs with almost-optimal stretch $(2k+ε)$ and size $O_ε(n^{1/k})\log^{O(1)}n$, for genus-$g$ graphs with stretch $(4k-2+ε)$ and size $O_ε(k^2g^{1/k}\log^2 n)$, and for $K_r$-minor-free graphs with stretch $O(k)$ and size $O(kr^{2+1/k}\log^2 n)$. It is well-known that path-separable graphs, such as genus-$g$ or $K_r$-minor-free graphs, do not admit Ramsey tree covers with stretch-size tradeoffs comparable to their non-Ramsey counterparts. On the other hand, Ramsey tree covers are much more convenient than non-Ramsey ones for numerous applications, such as routing schemes and distance oracles. To alleviate this issue we introduce and develop almost-Ramsey spanning tree covers both for general graphs, and for various restricted graph families. We derive from them significantly improved path-reporting distance oracles and routing schemes for numerous graph families. Our results rely on a simple yet powerful equivalence between tree covers and layered clusterings, that we discover and explore in this paper. Specifically, these reductions convert layered (strong) neighborhood covers into (spanning) almost-Ramsey tree covers with similar parameters, and vice versa.

Optimal Deterministic Matching of Reusable Resources

from arXiv: Data Structures and Algorithms

Authors: Pratik Chowdhury

We study online bipartite matching with reusable resources, in which each offline resource has $c_i\ge1$ identical units, a matched unit returns after a fixed duration, and each arrival may request several units and accept fewer. For small inventories we give a deterministic algorithm that treats every resource as an urn whose balls return after a delay. It is $\big(1-(1+1/c)^{-c}\big)$-competitive for $c=\min_ic_i$, which is optimal for deterministic algorithms, and it extends to random durations with a loss measured by the regularity of the duration distribution. It needs no knowledge of the durations, which may differ from product to product. For unit inventories we determine the exact limit of the analysis of periodic reranking. The optimal gain function has a closed form and gives $1-\frac14e^{4/e-1}\approx0.5994$, and a matching dual measure shows that no gain function does better in this analysis. Independently and concurrently, Cheng obtained the optimal ratio $1-1/e$ for unit inventories with a common duration, using a different randomized algorithm.

Authors: Pratik Chowdhury

We study online bipartite matching with reusable resources, in which each offline resource has $c_i\ge1$ identical units, a matched unit returns after a fixed duration, and each arrival may request several units and accept fewer. For small inventories we give a deterministic algorithm that treats every resource as an urn whose balls return after a delay. It is $\big(1-(1+1/c)^{-c}\big)$-competitive for $c=\min_ic_i$, which is optimal for deterministic algorithms, and it extends to random durations with a loss measured by the regularity of the duration distribution. It needs no knowledge of the durations, which may differ from product to product. For unit inventories we determine the exact limit of the analysis of periodic reranking. The optimal gain function has a closed form and gives $1-\frac14e^{4/e-1}\approx0.5994$, and a matching dual measure shows that no gain function does better in this analysis. Independently and concurrently, Cheng obtained the optimal ratio $1-1/e$ for unit inventories with a common duration, using a different randomized algorithm.

Price of Ignorance in Pairwise-Independent Prophet Inequalities

from arXiv: Data Structures and Algorithms

Authors: Shaza Abdallah, David Wajc

Recent work has initiated the study of prophet inequalities under pairwise independence [CGLW WINE'21, GHKL IPCO'24/Math. Prog.'25, DKP STOC'24]. The best known algorithms for the basic single-item pairwise-independent prophet inequality problem are correlation blind: they know the marginal distributions, but are ignorant of the joint distribution. This leads to simple, correlation-robust algorithms, but at what cost? Addressing this question, we prove two seemingly contradictory meta-theorems, showing that: (1) Correlation robustness is "free" when comparing with the prophet: correlation-blind algorithms achieve the optimal competitive ratio (of correlation-aware algorithms), but that also (2) Correlation robustness is "as costly as lack of foresight" when comparing with the optimal online algorithm: The price of ignorance (worst-case blind-to-aware ratio) equals the competitive ratio (worst-case online-to-prophet ratio). Quantifying the above, we prove that the price of ignorance (equivalently, the optimal competitive ratio) lies in the range [0.439, 0.473], improving both upper and lower bounds for this problem from [sqrt(2)-1, 1/2], approximately [0.414, 0.5]. Our upper bound (impossibility result) separates the problem from the fully-independent setting, for which a ratio of 1/2 is optimal. It also separates adversarial arrivals from random-order arrivals (the prophet secretary), for which we give a 0.529-competitive algorithm. Our lower bounds use (blind) single-threshold algorithms, implying robust truthful mechanisms that are 0.439-approximate for online settings with worst-case order and 0.529-approximate for random-order (and hence also offline and free-order) settings.

Authors: Shaza Abdallah, David Wajc

Recent work has initiated the study of prophet inequalities under pairwise independence [CGLW WINE'21, GHKL IPCO'24/Math. Prog.'25, DKP STOC'24]. The best known algorithms for the basic single-item pairwise-independent prophet inequality problem are correlation blind: they know the marginal distributions, but are ignorant of the joint distribution. This leads to simple, correlation-robust algorithms, but at what cost? Addressing this question, we prove two seemingly contradictory meta-theorems, showing that: (1) Correlation robustness is "free" when comparing with the prophet: correlation-blind algorithms achieve the optimal competitive ratio (of correlation-aware algorithms), but that also (2) Correlation robustness is "as costly as lack of foresight" when comparing with the optimal online algorithm: The price of ignorance (worst-case blind-to-aware ratio) equals the competitive ratio (worst-case online-to-prophet ratio). Quantifying the above, we prove that the price of ignorance (equivalently, the optimal competitive ratio) lies in the range [0.439, 0.473], improving both upper and lower bounds for this problem from [sqrt(2)-1, 1/2], approximately [0.414, 0.5]. Our upper bound (impossibility result) separates the problem from the fully-independent setting, for which a ratio of 1/2 is optimal. It also separates adversarial arrivals from random-order arrivals (the prophet secretary), for which we give a 0.529-competitive algorithm. Our lower bounds use (blind) single-threshold algorithms, implying robust truthful mechanisms that are 0.439-approximate for online settings with worst-case order and 0.529-approximate for random-order (and hence also offline and free-order) settings.

Language Generation Beyond Adversarial Examples

from arXiv: Data Structures and Algorithms

Authors: Debmalya Panigrahi, Fan Wei, Ian Zhang

Kleinberg and Mullainathan recently introduced the framework of language generation in the limit, initiating the theoretical study of how an algorithm can learn to generate valid strings from an unknown language based only on observed examples. Existing work has focused on the worst-case setting, where example strings are presented to the algorithm by an adversary. In contrast, one expects that in many real environments, examples are generated in a neutral, or even helpful environment for the generator. Motivated by this, we introduce two new models of language generation that capture non-adversarial environments: active generation, where the examples are presented in best-case order to the generator, and neutral generation, where the order is fixed and independent of the target language. Our main contributions are two-fold: We give a full inclusion-hierarchy of language generation in the three models: active, neutral, and adversarial. We show that while adversarial generation is unaffected by whether the generator is allowed to repeat strings, this is a key distinguishing factor in the case of active and neutral generation. In fact, with repetition allowed, we show that every language collection can be actively generated. To obtain a finer-grained understanding of these generation models, we define the complexity of generation as the number of examples required before a generator can correctly generate from the target language. Using this complexity measure, we leverage Ramsey theory to obtain strict hierarchies for both active and neutral generation, also showing how these hierarchies are affected by string repetition in the output. Our results demonstrate that the order in which examples are presented fundamentally influences the power of language generation, which draws parallels to a long line of work in inductive inference on the role of data presentation in learning.

Authors: Debmalya Panigrahi, Fan Wei, Ian Zhang

Kleinberg and Mullainathan recently introduced the framework of language generation in the limit, initiating the theoretical study of how an algorithm can learn to generate valid strings from an unknown language based only on observed examples. Existing work has focused on the worst-case setting, where example strings are presented to the algorithm by an adversary. In contrast, one expects that in many real environments, examples are generated in a neutral, or even helpful environment for the generator. Motivated by this, we introduce two new models of language generation that capture non-adversarial environments: active generation, where the examples are presented in best-case order to the generator, and neutral generation, where the order is fixed and independent of the target language. Our main contributions are two-fold: We give a full inclusion-hierarchy of language generation in the three models: active, neutral, and adversarial. We show that while adversarial generation is unaffected by whether the generator is allowed to repeat strings, this is a key distinguishing factor in the case of active and neutral generation. In fact, with repetition allowed, we show that every language collection can be actively generated. To obtain a finer-grained understanding of these generation models, we define the complexity of generation as the number of examples required before a generator can correctly generate from the target language. Using this complexity measure, we leverage Ramsey theory to obtain strict hierarchies for both active and neutral generation, also showing how these hierarchies are affected by string repetition in the output. Our results demonstrate that the order in which examples are presented fundamentally influences the power of language generation, which draws parallels to a long line of work in inductive inference on the role of data presentation in learning.

Exact Counting and Sampling of Labeled Graphs of Bounded Treewidth with MSO Properties

from arXiv: Data Structures and Algorithms

Authors: Kuncheng Zou, Yuanhong Wang, Yi Chang, Yuyi Wang, Ondřej Kuželka

How many graphs on $n$ labeled vertices have treewidth at most $k$, and how can we sample such graphs uniformly at random? We devise algorithms for both tasks that run in polynomial time for every fixed $k$. Efficient counting and sampling for this class had been listed as fully open. More generally, our algorithms count and sample graphs of treewidth at most $k$ satisfying any property expressible in monadic second-order logic with quantification over vertex and edge sets ($\mathrm{MSO}_2$). This provides an algorithmic counterpart to Courcelle's theorem for counting and generating graphs subject to logical constraints. The algorithms also support vertex colors and nonnegative rational vertex and edge weights determined by colors. They compute the exact total weight of all admissible colored graphs and sample each graph with probability proportional to its weight. Let $θ$ comprise the treewidth bound, color set, and logical sentence, and let $L$ denote the encoding length of the weights. Counting uses $f(θ)O(n^2)$ arithmetic operations and $f(θ)\operatorname{poly}(n,L)$ bit operations, where $f$ is a computable function. Generating each sample requires $f(θ)\operatorname{poly}(n,L)$ bit operations in expectation.

Authors: Kuncheng Zou, Yuanhong Wang, Yi Chang, Yuyi Wang, Ondřej Kuželka

How many graphs on $n$ labeled vertices have treewidth at most $k$, and how can we sample such graphs uniformly at random? We devise algorithms for both tasks that run in polynomial time for every fixed $k$. Efficient counting and sampling for this class had been listed as fully open. More generally, our algorithms count and sample graphs of treewidth at most $k$ satisfying any property expressible in monadic second-order logic with quantification over vertex and edge sets ($\mathrm{MSO}_2$). This provides an algorithmic counterpart to Courcelle's theorem for counting and generating graphs subject to logical constraints. The algorithms also support vertex colors and nonnegative rational vertex and edge weights determined by colors. They compute the exact total weight of all admissible colored graphs and sample each graph with probability proportional to its weight. Let $θ$ comprise the treewidth bound, color set, and logical sentence, and let $L$ denote the encoding length of the weights. Counting uses $f(θ)O(n^2)$ arithmetic operations and $f(θ)\operatorname{poly}(n,L)$ bit operations, where $f$ is a computable function. Generating each sample requires $f(θ)\operatorname{poly}(n,L)$ bit operations in expectation.

Parameterized Algorithms for Obstruction Hitting with Exact Weight Constraint

from arXiv: Data Structures and Algorithms

Authors: Madhumita Kundu, Soumi Nandi, Ashutosh Rai, Sahiba, Saket Saurabh, Roopam Saxena

Many central problems in parameterized algorithms ask for a small set that hits prescribed combinatorial obstructions. Canonical examples include Vertex Cover, d-Hitting Set, Feedback Vertex Set, and Odd Cycle Transversal. We study the exact weight variants of these problems: each vertex (or element) has a positive integer weight, and the objective is to find a feasible solution of size at most k with total weight exactly W. The equality requirement changes the algorithmic behavior of these problems. Standard reduction and branching rules may discard structurally unnecessary vertices or retain only a lighter alternative among several choices. Such operations are safe in the unweighted or minimum-weight setting but may eliminate every solution of weight exactly W. Thus, known FPT algorithms for unweighted and minimum-weight variants do not directly extend to the exact weight setting. With arbitrary binary-encoded weights, all the problems considered are W[1]-hard parameterized by k, even on trivial instances, via reductions from k-Subset Sum. We therefore focus on the natural regime W <= n^O(1), which excludes this direct numerical obstruction while retaining the algorithmic challenges created by the exact weight constraint. We give deterministic algorithms for Exact Weight Vertex Cover and Exact Weight d-Hitting Set running in time O*(1.46558^k) and O*((d-2+1.46558)^k), respectively. For Exact Weight Feedback Vertex Set, we obtain a deterministic algorithm running in time O*(17^k) and a randomized algorithm with constant success probability running in time O*(8^k). Finally, we give an FPT algorithm for Exact Weight s-t Vertex Cut running in time O*(2^O(k^4 log k)), and use it to solve Exact Weight Odd Cycle Transversal within the same running time. Our algorithms adapt branching, iterative compression, dynamic programming, and flow augmentation to preserve exact weight feasibility.

Authors: Madhumita Kundu, Soumi Nandi, Ashutosh Rai, Sahiba, Saket Saurabh, Roopam Saxena

Many central problems in parameterized algorithms ask for a small set that hits prescribed combinatorial obstructions. Canonical examples include Vertex Cover, d-Hitting Set, Feedback Vertex Set, and Odd Cycle Transversal. We study the exact weight variants of these problems: each vertex (or element) has a positive integer weight, and the objective is to find a feasible solution of size at most k with total weight exactly W. The equality requirement changes the algorithmic behavior of these problems. Standard reduction and branching rules may discard structurally unnecessary vertices or retain only a lighter alternative among several choices. Such operations are safe in the unweighted or minimum-weight setting but may eliminate every solution of weight exactly W. Thus, known FPT algorithms for unweighted and minimum-weight variants do not directly extend to the exact weight setting. With arbitrary binary-encoded weights, all the problems considered are W[1]-hard parameterized by k, even on trivial instances, via reductions from k-Subset Sum. We therefore focus on the natural regime W <= n^O(1), which excludes this direct numerical obstruction while retaining the algorithmic challenges created by the exact weight constraint. We give deterministic algorithms for Exact Weight Vertex Cover and Exact Weight d-Hitting Set running in time O*(1.46558^k) and O*((d-2+1.46558)^k), respectively. For Exact Weight Feedback Vertex Set, we obtain a deterministic algorithm running in time O*(17^k) and a randomized algorithm with constant success probability running in time O*(8^k). Finally, we give an FPT algorithm for Exact Weight s-t Vertex Cut running in time O*(2^O(k^4 log k)), and use it to solve Exact Weight Odd Cycle Transversal within the same running time. Our algorithms adapt branching, iterative compression, dynamic programming, and flow augmentation to preserve exact weight feasibility.

The optimality of FirstFit and CBIP online coloring on some graph classes in the random order model

from arXiv: Data Structures and Algorithms

Authors: Yuechuan Xu, Xin Li, Yaqiao Li

In the online coloring in the random order model, we prove that FirstFit and CBIP are optimal (in order of n) on trees and bipartite graphs respectively, just as in the adversarial model. Specifically, we show that any randomized algorithm uses $Ω(\log n/\log\log n)$ colors on trees and $Ω(\log n)$ colors on bipartite graphs in the random order model. We also show that FirstFit uses $O(d\log n/\log\log n)$ colors on d-inductive graphs. These answer several open questions in previous works.

Authors: Yuechuan Xu, Xin Li, Yaqiao Li

In the online coloring in the random order model, we prove that FirstFit and CBIP are optimal (in order of n) on trees and bipartite graphs respectively, just as in the adversarial model. Specifically, we show that any randomized algorithm uses $Ω(\log n/\log\log n)$ colors on trees and $Ω(\log n)$ colors on bipartite graphs in the random order model. We also show that FirstFit uses $O(d\log n/\log\log n)$ colors on d-inductive graphs. These answer several open questions in previous works.

Parity counts for exact bit-by-bit PDC sampling of contingency tables

from arXiv: Data Structures and Algorithms

Authors: Stephen DeSalvo

DeSalvo and Zhao sample a uniform $m\times n$ contingency table with margins $(\mathbf{r},\mathbf{c})$ one binary digit at a time, and decide each bit from numbers of tables with prescribed entry parities. We give a recurrence over the binary layers of a table that computes these numbers exactly. It has at most $n^{m}m^{n-1}$ arguments at each of its $1+\lfloor\log_2 M\rfloor$ depths, $M$ the largest margin, and each argument has at most $(\lfloor n/2\rfloor+1)^{m}(\lfloor m/2\rfloor+1)^{n-1}$ terms. With it the sampler returns $S$ exactly uniform tables in $O\bigl(mn2^{mn}+(\binom{n+2}{2}^{m}\binom{m+2}{2}^{n-1}+S\,mn(n/2+1)^{m}(m/2+1)^{n-1})\log M\bigr)$ operations on integers of $O(mn\log M)$ bits, and uses at most $\log_2|\mathcal{T}(\mathbf{r},\mathbf{c})|+3$ random bits per table in expectation.

Authors: Stephen DeSalvo

DeSalvo and Zhao sample a uniform $m\times n$ contingency table with margins $(\mathbf{r},\mathbf{c})$ one binary digit at a time, and decide each bit from numbers of tables with prescribed entry parities. We give a recurrence over the binary layers of a table that computes these numbers exactly. It has at most $n^{m}m^{n-1}$ arguments at each of its $1+\lfloor\log_2 M\rfloor$ depths, $M$ the largest margin, and each argument has at most $(\lfloor n/2\rfloor+1)^{m}(\lfloor m/2\rfloor+1)^{n-1}$ terms. With it the sampler returns $S$ exactly uniform tables in $O\bigl(mn2^{mn}+(\binom{n+2}{2}^{m}\binom{m+2}{2}^{n-1}+S\,mn(n/2+1)^{m}(m/2+1)^{n-1})\log M\bigr)$ operations on integers of $O(mn\log M)$ bits, and uses at most $\log_2|\mathcal{T}(\mathbf{r},\mathbf{c})|+3$ random bits per table in expectation.

A 9/4 Lower Bound for Greedy Binary Search Trees

from arXiv: Data Structures and Algorithms

Authors: Moshe Lewenstein

We prove that Greedy has competitive ratio at least 9/4 in the binary search tree model counting distinct keys touched per search, improving Sadeh and Kaplan's lower bound of two. For every target below 9/4, arbitrarily long sequences on a fixed finite key set make Greedy exceed that ratio from any initial tree. More generally, a uniform bound $G(X) \le a \mathrm{OPT}(X) + b|X| + f(n)$ requires $4a + b \ge 9$. Our construction starts with a cyclic bitonic permutation on $k \ge 2$ keys, whose limiting offline cost per period is $2k + \lfloor k/2 \rfloor - 2$ regardless of the ascending keys. An optimal tree keeps certain keys as leaves touched by both it and Greedy only when requested. Recursively replacing these leaves with smaller instances interleaves their searches and saves one outer touch per visit, giving exact recurrences for Greedy and the offline optimum at every depth. For either reading direction of the length-$m$ period, fewer than $4m$ preparatory requests make Greedy optimal on every subsequent copy from any initial tree. Comparing these executions shows that deleting a single block or reversing the sequence can increase Greedy's cost by a factor arbitrarily close to 9/4 from any initial tree (improving Sadeh and Kaplan's factor of two). Thus approximate monotonicity under deletion requires a constant of at least 9/4; by Harmon's simulation embedding, a uniform multiplicative bound would imply dynamic optimality for Greedy. A second construction achieves a ratio above two on 47 stored keys (21 requested). With at most seven requested keys and arbitrary finite storage, an exhaustive certificate gives the sharp recurrent ratio 19/10.

Authors: Moshe Lewenstein

We prove that Greedy has competitive ratio at least 9/4 in the binary search tree model counting distinct keys touched per search, improving Sadeh and Kaplan's lower bound of two. For every target below 9/4, arbitrarily long sequences on a fixed finite key set make Greedy exceed that ratio from any initial tree. More generally, a uniform bound $G(X) \le a \mathrm{OPT}(X) + b|X| + f(n)$ requires $4a + b \ge 9$. Our construction starts with a cyclic bitonic permutation on $k \ge 2$ keys, whose limiting offline cost per period is $2k + \lfloor k/2 \rfloor - 2$ regardless of the ascending keys. An optimal tree keeps certain keys as leaves touched by both it and Greedy only when requested. Recursively replacing these leaves with smaller instances interleaves their searches and saves one outer touch per visit, giving exact recurrences for Greedy and the offline optimum at every depth. For either reading direction of the length-$m$ period, fewer than $4m$ preparatory requests make Greedy optimal on every subsequent copy from any initial tree. Comparing these executions shows that deleting a single block or reversing the sequence can increase Greedy's cost by a factor arbitrarily close to 9/4 from any initial tree (improving Sadeh and Kaplan's factor of two). Thus approximate monotonicity under deletion requires a constant of at least 9/4; by Harmon's simulation embedding, a uniform multiplicative bound would imply dynamic optimality for Greedy. A second construction achieves a ratio above two on 47 stored keys (21 requested). With at most seven requested keys and arbitrary finite storage, an exhaustive certificate gives the sharp recurrent ratio 19/10.

An Exact Local Factor Two for Vertex Cover in Graphs Excluding a Minor

from arXiv: Data Structures and Algorithms

Authors: Saeed Amiri, Sebastian Siebertz, Wojciech Wawrzyniak

For every fixed graph $F$, we give a deterministic constant-round broadcast CONGEST algorithm that finds a vertex cover of size at most twice the fractional vertex-cover optimum on every graph excluding $F$ as a minor. In particular, on planar graphs we obtain an exact factor two without a degree bound or an embedding. This factor is optimal for deterministic constant-round algorithms, already on cycles.

Authors: Saeed Amiri, Sebastian Siebertz, Wojciech Wawrzyniak

For every fixed graph $F$, we give a deterministic constant-round broadcast CONGEST algorithm that finds a vertex cover of size at most twice the fractional vertex-cover optimum on every graph excluding $F$ as a minor. In particular, on planar graphs we obtain an exact factor two without a degree bound or an embedding. This factor is optimal for deterministic constant-round algorithms, already on cycles.

Constant-competitive online graph exploration

from arXiv: Data Structures and Algorithms

Authors: Julia Baligacs, Christian Coester, Marek Zbysiński

In the online graph exploration problem, an agent must visit every vertex of an initially unknown undirected graph with nonnegative edge weights while minimizing the total distance traveled. Upon first visiting a vertex, the agent learns its neighbors and the weights of the corresponding edges. Kalyanasundaram and Pruhs introduced this model in 1994 and asked whether it admits a constant-competitive algorithm on general graphs. Despite extensive research, constant competitive ratios were known only under additional assumptions, such as excluding a fixed minor or bounding the number of distinct edge weights. On general graphs with $n$ vertices, the $\mathcal{O}(\log n)$ guarantee achieved by the greedy nearest-neighbor algorithm stood for decades before it was recently improved to $\mathcal{O}(\log n/\log\log n)$. We finally resolve the question of Kalyanasundaram and Pruhs by giving a deterministic constant-competitive algorithm for general graphs.

Authors: Julia Baligacs, Christian Coester, Marek Zbysiński

In the online graph exploration problem, an agent must visit every vertex of an initially unknown undirected graph with nonnegative edge weights while minimizing the total distance traveled. Upon first visiting a vertex, the agent learns its neighbors and the weights of the corresponding edges. Kalyanasundaram and Pruhs introduced this model in 1994 and asked whether it admits a constant-competitive algorithm on general graphs. Despite extensive research, constant competitive ratios were known only under additional assumptions, such as excluding a fixed minor or bounding the number of distinct edge weights. On general graphs with $n$ vertices, the $\mathcal{O}(\log n)$ guarantee achieved by the greedy nearest-neighbor algorithm stood for decades before it was recently improved to $\mathcal{O}(\log n/\log\log n)$. We finally resolve the question of Kalyanasundaram and Pruhs by giving a deterministic constant-competitive algorithm for general graphs.

Tuesday, December 01

Cryptopocalypse

from Ben Recht

The irresponsible rumor mongering about AI companies cracking encryption.

Hi there, argmin readers. Today’s post is about quantum computing, cryptography, and AI fearmongering. Someone page Neal Stephenson.

32 years ago, Peter Shor presented a world-changing breakthrough in the theory of computing, showing that the problems of integer factorization and discrete logarithm could be solved efficiently on a quantum computer. Now, quantum computers did not exist, but the concept had been floating around in interdisciplinary engineering circles. Inspired by the laws of quantum mechanics, quantum computer scientists modeled bits as Schroedinger cats. They envisioned logical operations, like AND and OR, as physical interactions between the cats. These quantum gates could be combined to build a complex web of states where the cats are combinatorially dead and alive. With this imaginary computing tool, Shor showed you could solve these tricky edge-case problems in NP intersect coNP. His paper meant that RSA, a method from 1977 used to encrypt data on the internet by assuming factoring integers was very hard, could be easily broken if we ever built a quantum computer.

32 years later, we’re still using RSA.

That’s because quantum computers don’t exist. Yes, a bunch of startups offer quantum snake oil to you from cloud providers, but those computers don’t do anything useful at all. Quantum computer engineers have never factored a number larger than 15 with a quantum computer.1 There are many reasons we don’t yet have a quantum computer, and plenty of people think we’ll never have one.2 I’m not against people trying to build one to prove the skeptics wrong. In trying to do the impossible, we learn a lot of important things along the way. In trying to build quantum computers, we have already learned a lot about engineering quantum systems and about the interplay between quantum mechanics and thermodynamics. Research is good! But I’m also not frightened by the prospect of a quantum computer destroying encryption systems.

Now, I could bore you with more complexity theory today and tell you about the class BQP, which is the set of goofy number theory problems solvable with a hypothetical quantum computer. But I’d rather discuss the irresponsible actions of AI companies, cryptocurrency peddlers, and theoretical computer scientists this last week.

On Thanksgiving (November 26), quantum computing blogger turned AI doomsday preacher Scott Aaronson released a post with the title

HOLY SHIT HOLY SHIT HOLY SHIT HOLY SHIT

He described a dinner party where he and his friends read abstracts of new theory papers by OpenAI that resolved a bunch of problems in theoretical computer science. In the middle of this hyperventilation, he wrote a sentence about cryptography: “I’m virtually certain, from multiple reliable sources, that the AI labs are now sitting on one or more bombshells in that area.”3

This started a whisper campaign on the internet. On Friday, someone tweeted that rumors said one of the AI companies had cracked 2048-bit RSA. On Saturday, I posted what I thought was a funny tweet about complexity classes, and paranoid androids started pleading with Grok to tell them they’d be safe. That same day, the Guardian parroted Aaronson’s claims, writing that AI companies were “sitting on ‘bombshell’ revelations that could cause global chaos, experts believe.” On Sunday, Elon Musk endorsed the RSA rumor. If this were true, we’d face a period of incredible computational turmoil, forcing us to rapidly switch to some post-public-key encryption world.

Finally, on Monday, Anthropic released the actual result. The bombshell was a pure theory result that shouldn’t even be a big deal in theoretical cryptography. It was a galactic quasipolynomial-time quantum algorithm for a very particular proposed post-quantum encryption scheme. Galactic means it would require a computer that uses more bits than atoms in the universe. Quasipolynomial means it runs slower than polynomial time for all polynomials.4 Quantum means it has to run on a quantum computer. Quantum computers don’t exist.

This is a total nothing result. It was “surprising” because the encryption scheme it broke was supposed to be impervious to quantum computers. Technically, the scheme is still impervious to quantum computers because the algorithm requires a quantum computer larger than the universe, and quantum computers don’t exist.

To reiterate, Peter Shor published a non-galactic quadratic-time quantum algorithm to break RSA 32 years ago. The world didn’t end. Just because Anthropic has started working on cryptography doesn’t mean the world will end now. Moronic AI toadies will take to Twitter to inform us how this is the worst AI will ever be at cryptography. That’s fine. But also, quantum computers don’t exist.

The breathless rumormill started after arrogant Anthropic employees presented their “bombshell” to a group of cryptography experts and cryptocurrency swindlers at a conference at MIT on November 16. Knowing what we know now, there was absolutely no need to embargo these results. They could have posted this paper to arXiv or GitHub and bragged on Twitter, and nothing would have happened. Instead, Anthropic and their cryptographer friends let the rumors run amok, causing unnecessary panic. This company loves to tell us that they care deeply about safety and has deep connections to the rationalist community that constantly warns about infohazards. They clearly know better. And they also clearly haven’t figured out how to assemble a competent communications team.

What a ridiculous world we live in. Anthropic ran a scare campaign around four useless crypto theory papers while their madman employee Levent Alpoge just casually dropped a proof of the Riemann Hypothesis on Twitter. The company consistently displays shady, arrogant, dangerous behavior. And its stock is going through the moon. This childish behavior is rewarded, and it’s what we should by now expect from these AI companies. Anthropic the AI company is the true AI safety threat. And our society is in a very bad position with said company having as much power as it does.

Subscribe now

1

In 2026, a group claimed to have factored 21, but they did so only by cooking the circuit in advance, knowing that 21=3x7.

2

I’m one of them, but even though I wrote my master’s thesis on quantum computing, I don’t care enough to have internet fights about this.

3

Can we please stop calling these companies “labs?” They are trillion-dollar corporations filled with bad actors.

4

Technically speaking, quasipolynomial means the running time scales like

To get a handle on what that means, use my friend Dimitris Papailiopoulos’s rule of thumb: if n^(log n) is quasi-polynomial, then 2^(log2 n) is quasi-constant. Any polynomial, no matter the degree, is quasi-constant!

By Ben Recht

Non-Evolvability of Monotone DNF under the Uniform Distribution

from arXiv: Computational Complexity

Authors: Mohammad-Hadi Foroughmand-Araabi, Sama Goliaei

We prove that monotone disjunctive normal forms (DNFs) are not evolvable under the uniform distribution in Valiant's model, resolving a question posed by Valiant (2009) and highlighted by Feldman, Lee, and Servedio (2011). At classification loss $\varepsilon_0=1/100$, no adaptive randomized learner in the correlational statistical-query (CSQ) or general statistical-query (SQ) model can learn $n$-variable monotone DNFs with at most $s$ canonical terms using a query count and inverse tolerance bounded by a single polynomial in $n$ and $s$. More strongly, we construct a sequence of hard distributions with $s=n^{o(1)}$ canonical terms for which every learner achieving loss at most $\varepsilon_0$ with probability at least $2/3$ must satisfy $Qτ^{-2}=n^{ω(1)}$. This bound allows unlimited computation, improper real-valued hypotheses, and independent unlabeled examples. The proof constructs a prior by randomly permuting the coordinates of a disjunction of rare monotone gates. We choose the gates so that conditioning on rejection is nearly product on every set of a prescribed number of coordinates, yielding constant prior variance and a covariance operator of superpolynomially small norm.

Authors: Mohammad-Hadi Foroughmand-Araabi, Sama Goliaei

We prove that monotone disjunctive normal forms (DNFs) are not evolvable under the uniform distribution in Valiant's model, resolving a question posed by Valiant (2009) and highlighted by Feldman, Lee, and Servedio (2011). At classification loss $\varepsilon_0=1/100$, no adaptive randomized learner in the correlational statistical-query (CSQ) or general statistical-query (SQ) model can learn $n$-variable monotone DNFs with at most $s$ canonical terms using a query count and inverse tolerance bounded by a single polynomial in $n$ and $s$. More strongly, we construct a sequence of hard distributions with $s=n^{o(1)}$ canonical terms for which every learner achieving loss at most $\varepsilon_0$ with probability at least $2/3$ must satisfy $Qτ^{-2}=n^{ω(1)}$. This bound allows unlimited computation, improper real-valued hypotheses, and independent unlabeled examples. The proof constructs a prior by randomly permuting the coordinates of a disjunction of rare monotone gates. We choose the gates so that conditioning on rejection is nearly product on every set of a prescribed number of coordinates, yielding constant prior variance and a covariance operator of superpolynomially small norm.

Boolean Derivative Certificates and Maximal ANF Terms

from arXiv: Computational Complexity

Authors: Nicholas Smirnov

For a Boolean function $f:\{0,1\}^n\to\{0,1\}$, the higher-order Boolean derivative $D_S f$ computes the parity of $f$ over each $S$-dimensional subcube. We prove that $D_S f\equiv 1$ exactly when $S$ is a maximal monomial support in the algebraic normal form of $f$. This correspondence motivates the derivative certificate depth $Δ_\partial(f)$, defined as the minimum degree of a nonempty maximal algebraic normal form monomial. We study the decision problem $\mathsf{BCD}$: given $f$ and $k$, decide whether $Δ_\partial(f)\le k$. We show that this problem is $\mathsf{coNP}$-complete for every fixed constant $k\ge 1$, $\mathsf{NP}$-complete when $k=n$, and belongs to $Σ_2^{\oplus P}$ when $k$ is part of the input; in the variable-$k$ case it is also both $\mathsf{NP}$-hard and $\mathsf{coNP}$-hard. These results identify the $\exists\forall\oplus$ upper bound and leave $Σ_2^{\oplus P}$-completeness as an open problem.

Authors: Nicholas Smirnov

For a Boolean function $f:\{0,1\}^n\to\{0,1\}$, the higher-order Boolean derivative $D_S f$ computes the parity of $f$ over each $S$-dimensional subcube. We prove that $D_S f\equiv 1$ exactly when $S$ is a maximal monomial support in the algebraic normal form of $f$. This correspondence motivates the derivative certificate depth $Δ_\partial(f)$, defined as the minimum degree of a nonempty maximal algebraic normal form monomial. We study the decision problem $\mathsf{BCD}$: given $f$ and $k$, decide whether $Δ_\partial(f)\le k$. We show that this problem is $\mathsf{coNP}$-complete for every fixed constant $k\ge 1$, $\mathsf{NP}$-complete when $k=n$, and belongs to $Σ_2^{\oplus P}$ when $k$ is part of the input; in the variable-$k$ case it is also both $\mathsf{NP}$-hard and $\mathsf{coNP}$-hard. These results identify the $\exists\forall\oplus$ upper bound and leave $Σ_2^{\oplus P}$-completeness as an open problem.

Promise Graph Coloring is NP-Hard

from arXiv: Computational Complexity

Authors: Sebastian Meyer

Given any pair (G, H) of finite graphs (undirected, without loops, non-bipartite) with a graph homomorphism G to H, the decision problem that decides for any graph K wether there is a graph homomorphism K to G or no graph homomorphism K to H (where it is promised that one case happens) is NP hard. In other words, the Brakensiek-Guruswami-Conjecture is true. In addition to the new result, this paper should serve as a more readable version of OpenAIs paper 106 on hardness of finding large independent sets in three-colorable graphs.

Authors: Sebastian Meyer

Given any pair (G, H) of finite graphs (undirected, without loops, non-bipartite) with a graph homomorphism G to H, the decision problem that decides for any graph K wether there is a graph homomorphism K to G or no graph homomorphism K to H (where it is promised that one case happens) is NP hard. In other words, the Brakensiek-Guruswami-Conjecture is true. In addition to the new result, this paper should serve as a more readable version of OpenAIs paper 106 on hardness of finding large independent sets in three-colorable graphs.

A Dichotomy for Real Symmetric Ternary Holant$^*$ on Domain Four

from arXiv: Computational Complexity

Authors: Zhechen Li

We prove a complexity dichotomy for $\text{Holant}(f)$, where $f$ is a real algebraic symmetric ternary signature on a four-element domain. Liu, Fan and Cai (COCOA 2023, TCS 2025) identified three tractable families and proved that they exhaust the tractable cases for $\{0,1\}$-valued signatures. They conjectured that every real-valued symmetric ternary signature outside these families gives a $\# P$-hard problem. We prove their conjecture for real algebraic weights. We study the real Zariski closure of the group generated by invertible unary slices. On the support of $f$, we obtain an orthogonal splitting, the full general linear group, or an orthogonal complex structure that anticommutes with every slice. In the full-group case we interpolate binary signatures that realize a hard Boolean restriction. In the complex-structure case on domain four, $f$ comes from a complex cubic in two variables. Its factorization gives either a tractable decomposition or an edge gadget that reduces a hard Boolean problem to $\text{Holant}(f)$. In every hard case a fixed finite set of real algebraic unaries suffices. The tractable signatures are exactly the real points of the class of symmetric unitarily decomposable tensors. They are characterized by pairwise commutation of their squared slice matrices.

Authors: Zhechen Li

We prove a complexity dichotomy for $\text{Holant}(f)$, where $f$ is a real algebraic symmetric ternary signature on a four-element domain. Liu, Fan and Cai (COCOA 2023, TCS 2025) identified three tractable families and proved that they exhaust the tractable cases for $\{0,1\}$-valued signatures. They conjectured that every real-valued symmetric ternary signature outside these families gives a $\# P$-hard problem. We prove their conjecture for real algebraic weights. We study the real Zariski closure of the group generated by invertible unary slices. On the support of $f$, we obtain an orthogonal splitting, the full general linear group, or an orthogonal complex structure that anticommutes with every slice. In the full-group case we interpolate binary signatures that realize a hard Boolean restriction. In the complex-structure case on domain four, $f$ comes from a complex cubic in two variables. Its factorization gives either a tractable decomposition or an edge gadget that reduces a hard Boolean problem to $\text{Holant}(f)$. In every hard case a fixed finite set of real algebraic unaries suffices. The tractable signatures are exactly the real points of the class of symmetric unitarily decomposable tensors. They are characterized by pairwise commutation of their squared slice matrices.

Asymptotic Spectral Geometry and the Complexity of Tensors

from arXiv: Computational Complexity

Authors: Huanyi Zhou

We develop asymptotic spectral geometry over arbitrary fields. At a fixed spectral point, general and graph format capacities are geometric-median and fractional-matching optima; equality for all budgets admits a three-site real-tree criterion. Geometric relocation gives spectral points, local deformation retractions and path-connectedness. The third-order spectral edge-weight region is a spectrahedron, answering Strassen's log-convexity question for rectangular matrix multiplication. Over a field $\mathbb F$, denote asymptotic rank and circuit size by $\widetilde{\operatorname{R}},\widetilde{\operatorname{C}}$. Let $σ_k(\mathbb F),γ_k(\mathbb F)$ be the respective suprema of their base-$n$ logarithms over integers $n\ge2$ and nonzero $k$-th order tensors with local dimensions at most $n$. We obtain $σ_{2k}(\mathbb F)=k$ and $σ_{2k+1}(\mathbb F)>k$ for $k\ge1$. The binary complete-graph tensor on $k\ge2$ vertices has asymptotic rank $2^{k^2/4}$, refuting maximum-cut equality for odd $k$. For concise $k$-th order tensors $T$ (one-leg flattening ranks equal local dimensions), we prove $\widetilde{\operatorname{C}}(T)\le\widetilde{\operatorname{R}}(T)\le\widetilde{\operatorname{C}}(T)^{\lfloor k/2\rfloor}$. Kronecker submultiplicativity fails for ordinary and asymptotic circuit size. We obtain $Ω(\sqrt{k})\leγ_k^{\mathrm{GT}}(\mathbb F)\leγ_k(\mathbb F)\le O(k/\sqrt{\log_2 k})$, with the superscript restricting to graph tensors. Unbounded graph-format circuit exponents imply $\mathsf{VP}_{\mathbb F}\ne\mathsf{VNP}_{\mathbb F}$. The $k$-clique coefficient tensor with $q\ge2$ possible labels per vertex has ordinary and asymptotic rank $q^k$ for $k\ge4$, but asymptotic circuit size below $q^{3k/4}$ for large fixed $k$. We obtain superlinear fan-in-two Boolean circuit lower bounds for SAT and promise-USAT in specified encodings.

Authors: Huanyi Zhou

We develop asymptotic spectral geometry over arbitrary fields. At a fixed spectral point, general and graph format capacities are geometric-median and fractional-matching optima; equality for all budgets admits a three-site real-tree criterion. Geometric relocation gives spectral points, local deformation retractions and path-connectedness. The third-order spectral edge-weight region is a spectrahedron, answering Strassen's log-convexity question for rectangular matrix multiplication. Over a field $\mathbb F$, denote asymptotic rank and circuit size by $\widetilde{\operatorname{R}},\widetilde{\operatorname{C}}$. Let $σ_k(\mathbb F),γ_k(\mathbb F)$ be the respective suprema of their base-$n$ logarithms over integers $n\ge2$ and nonzero $k$-th order tensors with local dimensions at most $n$. We obtain $σ_{2k}(\mathbb F)=k$ and $σ_{2k+1}(\mathbb F)>k$ for $k\ge1$. The binary complete-graph tensor on $k\ge2$ vertices has asymptotic rank $2^{k^2/4}$, refuting maximum-cut equality for odd $k$. For concise $k$-th order tensors $T$ (one-leg flattening ranks equal local dimensions), we prove $\widetilde{\operatorname{C}}(T)\le\widetilde{\operatorname{R}}(T)\le\widetilde{\operatorname{C}}(T)^{\lfloor k/2\rfloor}$. Kronecker submultiplicativity fails for ordinary and asymptotic circuit size. We obtain $Ω(\sqrt{k})\leγ_k^{\mathrm{GT}}(\mathbb F)\leγ_k(\mathbb F)\le O(k/\sqrt{\log_2 k})$, with the superscript restricting to graph tensors. Unbounded graph-format circuit exponents imply $\mathsf{VP}_{\mathbb F}\ne\mathsf{VNP}_{\mathbb F}$. The $k$-clique coefficient tensor with $q\ge2$ possible labels per vertex has ordinary and asymptotic rank $q^k$ for $k\ge4$, but asymptotic circuit size below $q^{3k/4}$ for large fixed $k$. We obtain superlinear fan-in-two Boolean circuit lower bounds for SAT and promise-USAT in specified encodings.

Circuit complexity of $\operatorname{CLIQUE}$ with a logarithmic negation budget

from arXiv: Computational Complexity

Authors: Bruno Andrades

We show that any polynomial-size circuit computing $\operatorname{CLIQUE}(n,\lfloor n/2\rfloor)$ uses at least $\frac12\log n-\log\log n-O(1)$ $\operatorname{NOT}$ gates. This is optimal up to a constant factor by a result of Fischer.

Authors: Bruno Andrades

We show that any polynomial-size circuit computing $\operatorname{CLIQUE}(n,\lfloor n/2\rfloor)$ uses at least $\frac12\log n-\log\log n-O(1)$ $\operatorname{NOT}$ gates. This is optimal up to a constant factor by a result of Fischer.

Implications of Sub-Exponential Counting for Quantum Advantage

from arXiv: Computational Complexity

Authors: Konstantinos Meichanetzidis, Tuomas Laakkonen, Richie Yeung, Marcello Benedetti, Harry Buhrman

Recent preprints from OpenAI and Anthropic claim to give sub-exponential time algorithms for exact model counting. We explain how these bounds transfer to classical simulation of quantum circuits: for fixed gate sets, including Clifford+T, the resulting runtime is sub-exponential in the qubit count n when the gate count satisfies o(n * sqrt(log(n))). We comment on how popular quantum algorithms are excluded from this regime, and why direct SAT encodings of problems such as factoring yield better classical runtime than simulating the corresponding quantum algorithms, regardless of potential further improvements to model counting algorithms. Hence, we argue that the reported results improve particular simulation bounds without substantially changing the landscape of quantum advantage.

Authors: Konstantinos Meichanetzidis, Tuomas Laakkonen, Richie Yeung, Marcello Benedetti, Harry Buhrman

Recent preprints from OpenAI and Anthropic claim to give sub-exponential time algorithms for exact model counting. We explain how these bounds transfer to classical simulation of quantum circuits: for fixed gate sets, including Clifford+T, the resulting runtime is sub-exponential in the qubit count n when the gate count satisfies o(n * sqrt(log(n))). We comment on how popular quantum algorithms are excluded from this regime, and why direct SAT encodings of problems such as factoring yield better classical runtime than simulating the corresponding quantum algorithms, regardless of potential further improvements to model counting algorithms. Hence, we argue that the reported results improve particular simulation bounds without substantially changing the landscape of quantum advantage.

Fjords is hard on honeycomb trees

from arXiv: Computational Complexity

Authors: Alfie Davies, David C. Kutner

Burke and Hearn showed that a graph generalisation of the expansion phase of the board game Fjords is PSPACE-complete on planar graphs, and left open whether hardness persists on subgraphs of the hexagonal grid. We resolve this question positively: the graph game remains PSPACE-complete even on trees in the honeycomb grid. For the published game with arbitrarily many copies of its tiles and pieces, deciding winnability of the expansion phase is PSPACE-complete under the two-player scoring rules of both editions, even on positions reachable through legal play in the exploration phase. Our instances use only four tile designs besides the three mandated starting tiles; both the playable area and its initially unoccupied subgraph are subcubic trees, and ties are impossible. The same restrictions yield PSPACE-completeness under normal play, misère play, and misère scoring (where the lower score wins). Moreover, for every fixed non-negative integer $\ell$, hardness persists when the playable area is a uniform $\ell$-subdivision of a subcubic tree, giving new forbidden-subgraph consequences. Our reduction is from Maker--Breaker Incidence, for which we also strengthen the known PSPACE-completeness result from forests to trees.

Authors: Alfie Davies, David C. Kutner

Burke and Hearn showed that a graph generalisation of the expansion phase of the board game Fjords is PSPACE-complete on planar graphs, and left open whether hardness persists on subgraphs of the hexagonal grid. We resolve this question positively: the graph game remains PSPACE-complete even on trees in the honeycomb grid. For the published game with arbitrarily many copies of its tiles and pieces, deciding winnability of the expansion phase is PSPACE-complete under the two-player scoring rules of both editions, even on positions reachable through legal play in the exploration phase. Our instances use only four tile designs besides the three mandated starting tiles; both the playable area and its initially unoccupied subgraph are subcubic trees, and ties are impossible. The same restrictions yield PSPACE-completeness under normal play, misère play, and misère scoring (where the lower score wins). Moreover, for every fixed non-negative integer $\ell$, hardness persists when the playable area is a uniform $\ell$-subdivision of a subcubic tree, giving new forbidden-subgraph consequences. Our reduction is from Maker--Breaker Incidence, for which we also strengthen the known PSPACE-completeness result from forests to trees.

On the Complexity of Minimal CNOT Circuit Synthesis

from arXiv: Computational Complexity

Authors: Chaoyang Qin, Jialiang Tang, Xiaohan Shan, Xiaoming Sun

Minimizing two-qubit gate depth in linear reversible circuit synthesis is critical for reducing latency in quantum compilation. We establish a sharp complexity threshold for exact CNOT synthesis under all-to-all connectivity and fixed wire labels. Given an explicit $n\times n$ binary matrix, we present a deterministic $O(n^2)$-time algorithm that decides whether it admits a circuit of depth at most two and constructs one whenever feasible; clean ancillas do not affect this feasibility. In contrast, deciding whether a target admits a circuit of depth at most three is NP-complete. This hardness holds even for unit lower-triangular targets, both under any fixed polynomially bounded and polynomial-time computable clean-ancilla budget (including the ancilla-free case) and under unrestricted clean workspace. Our proof rests on a three-layer normal form for clean-ancilla circuits, which also shows that $\lfloor n/3\rfloor$ clean ancillas always suffice at depth three whenever any finite number does.

Authors: Chaoyang Qin, Jialiang Tang, Xiaohan Shan, Xiaoming Sun

Minimizing two-qubit gate depth in linear reversible circuit synthesis is critical for reducing latency in quantum compilation. We establish a sharp complexity threshold for exact CNOT synthesis under all-to-all connectivity and fixed wire labels. Given an explicit $n\times n$ binary matrix, we present a deterministic $O(n^2)$-time algorithm that decides whether it admits a circuit of depth at most two and constructs one whenever feasible; clean ancillas do not affect this feasibility. In contrast, deciding whether a target admits a circuit of depth at most three is NP-complete. This hardness holds even for unit lower-triangular targets, both under any fixed polynomially bounded and polynomial-time computable clean-ancilla budget (including the ancilla-free case) and under unrestricted clean workspace. Our proof rests on a three-layer normal form for clean-ancilla circuits, which also shows that $\lfloor n/3\rfloor$ clean ancillas always suffice at depth three whenever any finite number does.

Let There be Light: How Satisfiability Emerges from Periodic Shadows

from arXiv: Computational Complexity

Authors: Douglas Powell

The 2-SAT and 3-SAT problems are keystones of computational complexity research, foundational for thousands of related problems. Here, I do not propose an equivalent complexity class for the two domains. Rather, I show that 2-SAT and 3-SAT share the same structure, a k-based search space. With w = 2^k, each of m clauses has w k-ary sub-assignments, giving m(m-1)/2 clause pairs and w^2 m(m-1)/2 sub-assignment pairs, each compatible or incompatible according to the Boolean relations of its members. A candidate assignment is an ordered m-ary set of sub-assignments, one per clause, and is satisfying iff it contains no incompatible sub-assignment pair. Under a lexicographical ordering of the w^m candidate assignments over the integer interval [0, w^m - 1], each sub-assignment pair appears in a doubly-periodic set of exactly w^(m-2) candidate assignments, described exactly by a doubly-periodic interval. The locations of all unsatisfying candidate assignments are therefore described by no more than w^2 m(m-1)/2 doubly-periodic intervals, at O(w^2 m(m-1)/2) cost, although determining whether those intervals cover the search space appears non-trivial. The intervals may be cast as a system of light and shadows in which a candidate assignment is satisfying if and only if it is unshadowed. Thus viewed, the number of unsatisfying candidate assignments may be computed by inclusion-exclusion from O(m^3) coefficients, given an oracle for those coefficients whose cost is not bounded here, and equivalently by a recursion on shadows. I propose investigating whether these intervals, rendered as superposed periodic signals, allow machine learning to discern satisfiability, and whether models trained on 2-SAT transfer to 3-SAT.

Authors: Douglas Powell

The 2-SAT and 3-SAT problems are keystones of computational complexity research, foundational for thousands of related problems. Here, I do not propose an equivalent complexity class for the two domains. Rather, I show that 2-SAT and 3-SAT share the same structure, a k-based search space. With w = 2^k, each of m clauses has w k-ary sub-assignments, giving m(m-1)/2 clause pairs and w^2 m(m-1)/2 sub-assignment pairs, each compatible or incompatible according to the Boolean relations of its members. A candidate assignment is an ordered m-ary set of sub-assignments, one per clause, and is satisfying iff it contains no incompatible sub-assignment pair. Under a lexicographical ordering of the w^m candidate assignments over the integer interval [0, w^m - 1], each sub-assignment pair appears in a doubly-periodic set of exactly w^(m-2) candidate assignments, described exactly by a doubly-periodic interval. The locations of all unsatisfying candidate assignments are therefore described by no more than w^2 m(m-1)/2 doubly-periodic intervals, at O(w^2 m(m-1)/2) cost, although determining whether those intervals cover the search space appears non-trivial. The intervals may be cast as a system of light and shadows in which a candidate assignment is satisfying if and only if it is unshadowed. Thus viewed, the number of unsatisfying candidate assignments may be computed by inclusion-exclusion from O(m^3) coefficients, given an oracle for those coefficients whose cost is not bounded here, and equivalently by a recursion on shadows. I propose investigating whether these intervals, rendered as superposed periodic signals, allow machine learning to discern satisfiability, and whether models trained on 2-SAT transfer to 3-SAT.

Tetris Survival is Hard with Only O Pieces

from arXiv: Computational Complexity

Authors: Takehiro Ishibashi, Ryo Yoshinaka, Ayumi Shinohara

We prove that Tetris survival is NP-complete when the piece sequence consists only of O pieces. This answers an open problem left by the MIT Hardness Group, who proved NP-hardness of Tetris clearing and survival for each of the other six piece types. Their proofs rely on rotating pieces, but O pieces do not rotate, so we need a different construction. Like Abrahamsen and Stade for packing 2x2 squares, we reduce from a planar monotone variant of SAT. Unlike in packing, we must also show an order of placing the pieces in which every piece can reach its position from the top of the board.

Authors: Takehiro Ishibashi, Ryo Yoshinaka, Ayumi Shinohara

We prove that Tetris survival is NP-complete when the piece sequence consists only of O pieces. This answers an open problem left by the MIT Hardness Group, who proved NP-hardness of Tetris clearing and survival for each of the other six piece types. Their proofs rely on rotating pieces, but O pieces do not rotate, so we need a different construction. Like Abrahamsen and Stade for packing 2x2 squares, we reduce from a planar monotone variant of SAT. Unlike in packing, we must also show an order of placing the pieces in which every piece can reach its position from the top of the board.

Computing the Remoteness Function of Exact NIM(n,k) with $n \leq 3k$

from arXiv: Computational Complexity

Authors: Vladimir Gurvich, Mariya Naumova, Artem Parfenov, Mikhail Vyalyi

We obtain an explicit formula for the Smith remoteness function of the impartial game Exact NIM(n,k) when $2k\leq n \leq 3k$ under the normal-play convention (the case $n<2k$ is trivial). A legal move in this game decreases exactly $k$ of $n$ piles of tokens by any positive amounts. Even characterizing the P-positions of NIM(5,2) was an open problem for at least ten years. For each position we consider the corresponding Bouton matrix, introduce the concept of its rank, and define capacity as the maximal possible number of piles that can be decreased while preserving the rank. Then, P-positions are exactly those of capacity smaller than $k$. Generalizing this result, we also express the remoteness function in the same terms. We provide an algorithm computing the rank and capacity in polynomial time even if $n$ and $k$ are part of the input. For fixed $k$, we provide a finite-state automaton recognizing the P-positions and nondeterministic finite-state transducers that output the rank and an optimal move (the winner wins as quickly as possible; the loser resists as long as possible). From this we conclude that, for Exact NIM(n,k) with $k=O(1)$ and $n\leq 3k$, P-membership belongs to logspace uniform $NC^1$, while computing the remoteness function and an optimal move belongs to $FNC^1$; these problems can therefore be solved in logarithmic space.

Authors: Vladimir Gurvich, Mariya Naumova, Artem Parfenov, Mikhail Vyalyi

We obtain an explicit formula for the Smith remoteness function of the impartial game Exact NIM(n,k) when $2k\leq n \leq 3k$ under the normal-play convention (the case $n<2k$ is trivial). A legal move in this game decreases exactly $k$ of $n$ piles of tokens by any positive amounts. Even characterizing the P-positions of NIM(5,2) was an open problem for at least ten years. For each position we consider the corresponding Bouton matrix, introduce the concept of its rank, and define capacity as the maximal possible number of piles that can be decreased while preserving the rank. Then, P-positions are exactly those of capacity smaller than $k$. Generalizing this result, we also express the remoteness function in the same terms. We provide an algorithm computing the rank and capacity in polynomial time even if $n$ and $k$ are part of the input. For fixed $k$, we provide a finite-state automaton recognizing the P-positions and nondeterministic finite-state transducers that output the rank and an optimal move (the winner wins as quickly as possible; the loser resists as long as possible). From this we conclude that, for Exact NIM(n,k) with $k=O(1)$ and $n\leq 3k$, P-membership belongs to logspace uniform $NC^1$, while computing the remoteness function and an optimal move belongs to $FNC^1$; these problems can therefore be solved in logarithmic space.

Shellsort on Random Interleavings of Sorted Chains Optimal Divisibility Tables and Unrestricted Bounds

from arXiv: Computational Complexity

Authors: Pang Wei

Let the input be uniform among the permutations increasing in each of $a$ residue classes, each containing $m$ keys, where $a\ge2$ is fixed and $n=am$. We count comparisons from this given partially sorted input; a new gap table may start above $a$. Among all decreasing tables whose successive gaps divide their predecessors, the minimum expected cost is $(β_a/2)n\ln m+O_a(n)$, where $β_a$ is an explicit integer optimization involving the Janson--Knuth coefficient. Powers of a single optimal quotient attain this bound even when competitors may vary every quotient. For $a=2$, the unique optimal quotient within this divisibility model is $7$, giving coefficient $13/(14\ln7)$. We characterize tables within $O(n)$ of the optimum, prove that every exact minimizer starts at the square-root scale, and analyze constraints on the first gap. Without divisibility, the optimal order remains $Θ_a(n\log m)$. For two chains we prove that the unrestricted leading coefficient exists, characterize it as an infimum over finite odd-gap blocks, and exhibit a block strictly improving on the divisibility optimum. Its exact numerical value and attainment by a finite block remain open. A shortest-path formulation computes the exact divisibility optimum at finite lengths.

Authors: Pang Wei

Let the input be uniform among the permutations increasing in each of $a$ residue classes, each containing $m$ keys, where $a\ge2$ is fixed and $n=am$. We count comparisons from this given partially sorted input; a new gap table may start above $a$. Among all decreasing tables whose successive gaps divide their predecessors, the minimum expected cost is $(β_a/2)n\ln m+O_a(n)$, where $β_a$ is an explicit integer optimization involving the Janson--Knuth coefficient. Powers of a single optimal quotient attain this bound even when competitors may vary every quotient. For $a=2$, the unique optimal quotient within this divisibility model is $7$, giving coefficient $13/(14\ln7)$. We characterize tables within $O(n)$ of the optimum, prove that every exact minimizer starts at the square-root scale, and analyze constraints on the first gap. Without divisibility, the optimal order remains $Θ_a(n\log m)$. For two chains we prove that the unrestricted leading coefficient exists, characterize it as an infimum over finite odd-gap blocks, and exhibit a block strictly improving on the divisibility optimum. Its exact numerical value and attainment by a finite block remain open. A shortest-path formulation computes the exact divisibility optimum at finite lengths.

A closed-form nested-sum formula for fixed-size matchings on square tori

from arXiv: Computational Complexity

Authors: Yong Kong

Let $a(N,s)$ denote the number of matchings of size $s$ on the square torus $C_m\mathbin{\square}C_n$, where $N=mn$ and $m,n>s+1$. In statistical physics this enumeration belongs to the monomer--dimer problem; in computational complexity, its general planar-graph form is \#P-complete. Previous work proved that $a(N,s)$ is a polynomial of degree $s$ in $N$. We derive a finite closed-form nested-sum formula for the entire polynomial. The construction starts from the per-vertex connected coefficients $b_k$ in the Mayer expansion and applies an iterated reversion--logarithm transformation obtained from Lagrange inversion, producing rational constants $g_i$. Writing $v_2$ for the 2-adic valuation, we prove the divisibility property $k b_k\in2\mathbb Z$ and use it to establish the exact valuation \[ v_2(g_i)=1-2^{i-2}\qquad(i\geq2) \] for the rational constants generated by the transformation. In particular, every stage is nondegenerate, so the nested formula is defined at arbitrary depth. The valuation theorem gives a doubly exponential lower bound on the reduced denominators of $g_i$. Extensive exact computations further provide strong evidence that the magnitudes $|g_i|$ themselves grow doubly exponentially. The formula contains exactly $2^{s-1}$ chain-indexed summands and provides a concrete starting point for further arithmetic and complexity analysis of fixed-dimer enumeration. The underlying transformation is model-independent and also supplies nested formulas for other finite-range hard-core models, including aligned $k$-mers, whenever the corresponding transformation sequence is nondegenerate.

Authors: Yong Kong

Let $a(N,s)$ denote the number of matchings of size $s$ on the square torus $C_m\mathbin{\square}C_n$, where $N=mn$ and $m,n>s+1$. In statistical physics this enumeration belongs to the monomer--dimer problem; in computational complexity, its general planar-graph form is \#P-complete. Previous work proved that $a(N,s)$ is a polynomial of degree $s$ in $N$. We derive a finite closed-form nested-sum formula for the entire polynomial. The construction starts from the per-vertex connected coefficients $b_k$ in the Mayer expansion and applies an iterated reversion--logarithm transformation obtained from Lagrange inversion, producing rational constants $g_i$. Writing $v_2$ for the 2-adic valuation, we prove the divisibility property $k b_k\in2\mathbb Z$ and use it to establish the exact valuation \[ v_2(g_i)=1-2^{i-2}\qquad(i\geq2) \] for the rational constants generated by the transformation. In particular, every stage is nondegenerate, so the nested formula is defined at arbitrary depth. The valuation theorem gives a doubly exponential lower bound on the reduced denominators of $g_i$. Extensive exact computations further provide strong evidence that the magnitudes $|g_i|$ themselves grow doubly exponentially. The formula contains exactly $2^{s-1}$ chain-indexed summands and provides a concrete starting point for further arithmetic and complexity analysis of fixed-dimer enumeration. The underlying transformation is model-independent and also supplies nested formulas for other finite-range hard-core models, including aligned $k$-mers, whenever the corresponding transformation sequence is nondegenerate.

Computing the Delaunay Graph in High Dimensions

from arXiv: Computational Geometry

Authors: Tyler H. Chang

The Delaunay graph is a $d$-dimensional spatial network, induced by connecting pairs of spatially-oriented nodes that share an edge in their Delaunay triangulation. Current state-of-the-art software for computing the Delaunay graph in arbitrary dimensions requires computation of the entire $d$-dimensional Delaunay triangulation, which is infeasible in even moderate dimensions. Therefore, recent works have proposed individually checking each potential connection in the graph when the problem dimension is sufficiently high. This edge-checking strategy is appropriate in settings where the problem dimension is moderate or high, but the number of nodes is relatively low. This paper presents the first thorough algorithmic analysis of the edge-checking strategy, which leads us to recommend a new value for its look-ahead batch size parameter. We are also able to show that properly setting this batch size parameter drastically improves real-world performance, although the exact optimal value for this parameter is surprisingly difficult to determine. We provide an open-source implementation of our modified edge-checking algorithm, and empirically compare this against existing techniques for calculating the Delaunay graph, showing when this strategy becomes more efficient than the alternatives. Next, we demonstrate that our proposed algorithm achieves strong parallel scaling on a real-world dataset. Finally, based on anomalies in our performance results, we use our edge-checking code to investigate the topology of high-dimensional Delaunay graphs, revealing an unusual pattern in the number of simplices needed to cover the graph.

Authors: Tyler H. Chang

The Delaunay graph is a $d$-dimensional spatial network, induced by connecting pairs of spatially-oriented nodes that share an edge in their Delaunay triangulation. Current state-of-the-art software for computing the Delaunay graph in arbitrary dimensions requires computation of the entire $d$-dimensional Delaunay triangulation, which is infeasible in even moderate dimensions. Therefore, recent works have proposed individually checking each potential connection in the graph when the problem dimension is sufficiently high. This edge-checking strategy is appropriate in settings where the problem dimension is moderate or high, but the number of nodes is relatively low. This paper presents the first thorough algorithmic analysis of the edge-checking strategy, which leads us to recommend a new value for its look-ahead batch size parameter. We are also able to show that properly setting this batch size parameter drastically improves real-world performance, although the exact optimal value for this parameter is surprisingly difficult to determine. We provide an open-source implementation of our modified edge-checking algorithm, and empirically compare this against existing techniques for calculating the Delaunay graph, showing when this strategy becomes more efficient than the alternatives. Next, we demonstrate that our proposed algorithm achieves strong parallel scaling on a real-world dataset. Finally, based on anomalies in our performance results, we use our edge-checking code to investigate the topology of high-dimensional Delaunay graphs, revealing an unusual pattern in the number of simplices needed to cover the graph.

Balanced cut trees for classification with local neural networks

from arXiv: Computational Geometry

Authors: Oleg R. Musin

We study binary trees in which each cut bisects every class of a finite training sample. Each leaf therefore retains the original class proportions. A new observation is classified by a single local network, using its coordinates within the leaf. We give conditions for strict polynomial bisection and show that a one-hidden-layer ReLU function of width at most $k$ strictly bisects $k$ even classes of points with distinct coordinates. Gaussian smoothing leads to a continuation method for proposing cuts; a finite test determines whether a prescribed coefficient box contains an exact bisector. For classes lying near separated smooth graphs, we give a bound on the size of a region in which affine scores suffice. Experiments illustrate both the benefit and the cost of requiring balance. Small local models can classify geometrically distinct regions at low prediction cost, but exact bisection may split those same regions when their empirical class counts vary.

Authors: Oleg R. Musin

We study binary trees in which each cut bisects every class of a finite training sample. Each leaf therefore retains the original class proportions. A new observation is classified by a single local network, using its coordinates within the leaf. We give conditions for strict polynomial bisection and show that a one-hidden-layer ReLU function of width at most $k$ strictly bisects $k$ even classes of points with distinct coordinates. Gaussian smoothing leads to a continuation method for proposing cuts; a finite test determines whether a prescribed coefficient box contains an exact bisector. For classes lying near separated smooth graphs, we give a bound on the size of a region in which affine scores suffice. Experiments illustrate both the benefit and the cost of requiring balance. Small local models can classify geometrically distinct regions at low prediction cost, but exact bisection may split those same regions when their empirical class counts vary.

Cone-Based Statistics for Characterizing the Local Morphology of High-Dimensional Point Clouds

from arXiv: Computational Geometry

Authors: Lynn Delcon, David Tewodrose, Andres Algaba, Vincent Ginis

We introduce a cone-based local geometric statistic for characterizing the angular configuration of candidate boundary points in high-dimensional point clouds and investigate its impact on cosine-similarity-based metrics when reducing embedding dimensions. Our boundary score, between 0 and 1, measures the proportion of projected neighbors contained in a cone defined by two maximally separated neighbor directions. Using the cone aperture expressed in degrees, each point is assigned a convexity behavior. We derive two variants of our cone-based statistic to account for concavity and for a boundary-relative centrality measure, which we refer to as oriented depth. The benchmark evaluations on synthetic datasets show comparable AUROC values of our statistics compared to state-of-the-art methods in two boundary settings: the distance to the support setting and the position of a point with respect to its neighbors, which we refer to as the local-sector setting. We observe the added-value of our second variant to better detect and characterize local concavity in 2 dimensions compared to the other two cone-based statistics. All three cone-based statistics provide us with different but complementary frameworks to characterize the morphology of high-dimensional point clouds.

Authors: Lynn Delcon, David Tewodrose, Andres Algaba, Vincent Ginis

We introduce a cone-based local geometric statistic for characterizing the angular configuration of candidate boundary points in high-dimensional point clouds and investigate its impact on cosine-similarity-based metrics when reducing embedding dimensions. Our boundary score, between 0 and 1, measures the proportion of projected neighbors contained in a cone defined by two maximally separated neighbor directions. Using the cone aperture expressed in degrees, each point is assigned a convexity behavior. We derive two variants of our cone-based statistic to account for concavity and for a boundary-relative centrality measure, which we refer to as oriented depth. The benchmark evaluations on synthetic datasets show comparable AUROC values of our statistics compared to state-of-the-art methods in two boundary settings: the distance to the support setting and the position of a point with respect to its neighbors, which we refer to as the local-sector setting. We observe the added-value of our second variant to better detect and characterize local concavity in 2 dimensions compared to the other two cone-based statistics. All three cone-based statistics provide us with different but complementary frameworks to characterize the morphology of high-dimensional point clouds.

Fréchet Distance of Partially Ordered Point Sets

from arXiv: Computational Geometry

Authors: Maike Buchin, Jona Handzsuj, Wolf Kißler

We introduce discrete and continuous Fréchet distances for partially ordered point sets. Each linear extension of a partial order defines one possible polygonal curve, and the distance between two input posets is the minimum Fréchet distance over all such curves. This includes the classical Fréchet distance for ordered curves and the unordered point-set variant as special cases. These problems are NP-hard and we give exact exponential dynamic programming algorithms for computing both distances.

Authors: Maike Buchin, Jona Handzsuj, Wolf Kißler

We introduce discrete and continuous Fréchet distances for partially ordered point sets. Each linear extension of a partial order defines one possible polygonal curve, and the distance between two input posets is the minimum Fréchet distance over all such curves. This includes the classical Fréchet distance for ordered curves and the unordered point-set variant as special cases. These problems are NP-hard and we give exact exponential dynamic programming algorithms for computing both distances.

What can you draw with one coin? $\exists\mathbb{R}$-completeness of Penny-Arrangements

from arXiv: Computational Geometry

Authors: Lukas Bachmann, Lucas Meijer, Tillmann Miltzow, Rosna Paul, Soeren Terziadis, Sofia Vazquez Alferez

We show that the Penny Arrangement problem is $\exists\mathbb{R}$-complete. In the Penny Arrangement problem we are given an arrangement $\mathbb{A}$ of pseudocircles and we ask if there is an equivalent arrangement of unit circles A. This extends a recent result on the stretchability of pseudocircles of arbitrary radius. It places the Penny Arrangement problem in the same complexity class as other problems about stretchable arrangements of lines [Shor, 1991] and circles [Felsner & Scheucher, 2020] as well as the recognition of (unit) disk intersection graphs [McDiarmid & Müller, 2013] and unit disk contact graphs [Lubiw & Schaefer, 2025].

Authors: Lukas Bachmann, Lucas Meijer, Tillmann Miltzow, Rosna Paul, Soeren Terziadis, Sofia Vazquez Alferez

We show that the Penny Arrangement problem is $\exists\mathbb{R}$-complete. In the Penny Arrangement problem we are given an arrangement $\mathbb{A}$ of pseudocircles and we ask if there is an equivalent arrangement of unit circles A. This extends a recent result on the stretchability of pseudocircles of arbitrary radius. It places the Penny Arrangement problem in the same complexity class as other problems about stretchable arrangements of lines [Shor, 1991] and circles [Felsner & Scheucher, 2020] as well as the recognition of (unit) disk intersection graphs [McDiarmid & Müller, 2013] and unit disk contact graphs [Lubiw & Schaefer, 2025].

Faster Parameterized Algorithms for Covering Points with Non-Crossing Segments

from arXiv: Computational Geometry

Authors: Satyabrata Jana, Debabrata Pal, Sasanka Roy

Two line segments are non-crossing if their relative interiors are disjoint. Given a finite set $P$ of $n$ points in the plane and a nonnegative integer $k$, the Covering Points with Non-Crossing Segments (CPNCS) problem asks whether $P$ can be covered by at most $k$ pairwise non-crossing line segments. Recently [Grelier, SoCG~2022], the problem was shown to be NP-hard and fixed-parameter tractable when parameterized by the solution size $k$, with running time $ \mathcal{O}(2^{k^2}k^{7k}+n^4\log n)$. A natural question is whether the dependence on $k$ can be improved asymptotically. We answer this in the affirmative by giving an FPT algorithm for CPNCS with running time $k^{\mathcal{O}(k)}\,n^{\mathcal{O}(1)}$. We further study Supported CPNCS, a variant in which the input also contains a prescribed family $\mathcal{L}$ of $t$ lines, and every solution segment must be contained in some line of $\mathcal{L}$. We give an FPT algorithm, parameterized by $t$, running in time $2^{\mathcal{O}(t)}n^{\mathcal{O}(1)}$ and obtain a kernel containing at most $\mathcal{O}(t^2)$ points. We also show that when parameterized by $k$, CPNCS admits an FPT algorithm with running time $k^{\mathcal{O}(k)}\,n^{\mathcal{O}(1)}$. Finally, we investigate the point line cover number $λ(P)$, defined as the minimum number of lines whose union contains $P$. Let $ζ(P)$ denote the minimum size of a non-crossing segment cover of $P$. Since $λ(P)\leqζ(P)$, $λ(P)$ is a natural structural parameter for CPNCS. We show that CPNCS admits an FPT algorithm, when parameterized by $λ(P)$, with running time $λ(P)^{\mathcal{O}(λ(P)^2)}n^{\mathcal{O}(1)}$.

Authors: Satyabrata Jana, Debabrata Pal, Sasanka Roy

Two line segments are non-crossing if their relative interiors are disjoint. Given a finite set $P$ of $n$ points in the plane and a nonnegative integer $k$, the Covering Points with Non-Crossing Segments (CPNCS) problem asks whether $P$ can be covered by at most $k$ pairwise non-crossing line segments. Recently [Grelier, SoCG~2022], the problem was shown to be NP-hard and fixed-parameter tractable when parameterized by the solution size $k$, with running time $ \mathcal{O}(2^{k^2}k^{7k}+n^4\log n)$. A natural question is whether the dependence on $k$ can be improved asymptotically. We answer this in the affirmative by giving an FPT algorithm for CPNCS with running time $k^{\mathcal{O}(k)}\,n^{\mathcal{O}(1)}$. We further study Supported CPNCS, a variant in which the input also contains a prescribed family $\mathcal{L}$ of $t$ lines, and every solution segment must be contained in some line of $\mathcal{L}$. We give an FPT algorithm, parameterized by $t$, running in time $2^{\mathcal{O}(t)}n^{\mathcal{O}(1)}$ and obtain a kernel containing at most $\mathcal{O}(t^2)$ points. We also show that when parameterized by $k$, CPNCS admits an FPT algorithm with running time $k^{\mathcal{O}(k)}\,n^{\mathcal{O}(1)}$. Finally, we investigate the point line cover number $λ(P)$, defined as the minimum number of lines whose union contains $P$. Let $ζ(P)$ denote the minimum size of a non-crossing segment cover of $P$. Since $λ(P)\leqζ(P)$, $λ(P)$ is a natural structural parameter for CPNCS. We show that CPNCS admits an FPT algorithm, when parameterized by $λ(P)$, with running time $λ(P)^{\mathcal{O}(λ(P)^2)}n^{\mathcal{O}(1)}$.

Ledger: Learned Budget Allocation For Approximate Nearest Neighbor Search

from arXiv: Computational Geometry

Authors: Raghav Mittal, Minghao Li, Nick Koudas, Gautam Das

Approximate nearest neighbor (ANN) search is increasingly used to power retrieval-augmented generation (a.k.a. RAG) pipelines, which are used to ground LLMs in external data. To keep retrieval accurate, existing methods set the search effort of a query before it runs, with the goal of hitting a predefined "recall target" at any cost. For a growing class of compute- or time-constrained workloads, this is not possible. Instead, their goal is to maximize recall under a fixed budget. Recall gains are known to diminish with search effort, and spending a budget uniformly across a query workload either (i) overspends effort on easy queries whose recall has flattened, or (ii) underspends it on hard queries whose recall is climbing. Adaptive methods, meanwhile, remain tied to recall targets. Either way, downstream tasks that operate under tight budgets suffer. This paper presents the Learned Effort BuDGEting for Recall (a.k.a. Ledger) framework, which maximizes the total recall of a workload under a fixed budget of effort. Given a batch of queries, Ledger first executes a "probe" up to the sparse upper layer of a hierarchical graph (e.g., HNSW), where a sample of features tells us how hard a query is. Ledger then groups the queries with similar hardness feature points into hierarchical spherical clusters that are indexed by the Budget-Allocation tree, a.k.a. Ball-tree. The Ball-tree uses tables to record cost-recall growth across varying search efforts. With these tables, we show that our problem can be seen as an instance of the multiple-choice knapsack problem, which Ledger solves to allocate budgets across a mix of easy and hard queries in the workload. Ledger provides guarantees on the quality of budgets given and replaces both (a) fixed-effort searches and (b) recall-tuning methods (that are budget-agnostic) with fast and principled allocations.

Authors: Raghav Mittal, Minghao Li, Nick Koudas, Gautam Das

Approximate nearest neighbor (ANN) search is increasingly used to power retrieval-augmented generation (a.k.a. RAG) pipelines, which are used to ground LLMs in external data. To keep retrieval accurate, existing methods set the search effort of a query before it runs, with the goal of hitting a predefined "recall target" at any cost. For a growing class of compute- or time-constrained workloads, this is not possible. Instead, their goal is to maximize recall under a fixed budget. Recall gains are known to diminish with search effort, and spending a budget uniformly across a query workload either (i) overspends effort on easy queries whose recall has flattened, or (ii) underspends it on hard queries whose recall is climbing. Adaptive methods, meanwhile, remain tied to recall targets. Either way, downstream tasks that operate under tight budgets suffer. This paper presents the Learned Effort BuDGEting for Recall (a.k.a. Ledger) framework, which maximizes the total recall of a workload under a fixed budget of effort. Given a batch of queries, Ledger first executes a "probe" up to the sparse upper layer of a hierarchical graph (e.g., HNSW), where a sample of features tells us how hard a query is. Ledger then groups the queries with similar hardness feature points into hierarchical spherical clusters that are indexed by the Budget-Allocation tree, a.k.a. Ball-tree. The Ball-tree uses tables to record cost-recall growth across varying search efforts. With these tables, we show that our problem can be seen as an instance of the multiple-choice knapsack problem, which Ledger solves to allocate budgets across a mix of easy and hard queries in the workload. Ledger provides guarantees on the quality of budgets given and replaces both (a) fixed-effort searches and (b) recall-tuning methods (that are budget-agnostic) with fast and principled allocations.

The Mohr-circle Isomorphism and an Application

from arXiv: Computational Geometry

Authors: Yossi Bokor Beile, Herbert Edelsbrunner, Shota Uka

We use the Mohr-circle construction from mechanical engineering to prove bounds on the difference between the eigenvalues and eigenvectors of quadratic forms that measure the directional bias of collections of rods or line segments in the plane. At the core of the method is the doubling of angles, which establishes an isomorphism between the binary quadratic and linear forms. We apply it to approximate the directional bias of a collection of rods for which the only available information is the total length of their projections in any given direction.

Authors: Yossi Bokor Beile, Herbert Edelsbrunner, Shota Uka

We use the Mohr-circle construction from mechanical engineering to prove bounds on the difference between the eigenvalues and eigenvectors of quadratic forms that measure the directional bias of collections of rods or line segments in the plane. At the core of the method is the doubling of angles, which establishes an isomorphism between the binary quadratic and linear forms. We apply it to approximate the directional bias of a collection of rods for which the only available information is the total length of their projections in any given direction.

On Exact Hadwiger-Debrunner Numbers

from arXiv: Computational Geometry

Authors: Chaya Keller

Hadwiger and Debrunner proved in 1957 that a finite family of compact convex sets in $\mathbb{R}^d$ with the $(p,q)$-property can be pierced by $p-q+1$ points whenever $q>(d-1)p/d+1$. The bound $p-q+1$ is optimal. We prove that this optimal piercing bound is obtained already whenever $q\ge p^{1/3+\varepsilon}$ in the plane or $q\ge p^{\sqrt{1-2/d}+\varepsilon}$ in high dimensions. This is the first range in which exact Hadwiger-Debrunner numbers are obtained since the 1957 work of Hadwiger and Debrunner. We also show that the exponents in these ranges cannot be improved without improving the currently known upper-bound exponents for weak $\varepsilon$-nets.

Authors: Chaya Keller

Hadwiger and Debrunner proved in 1957 that a finite family of compact convex sets in $\mathbb{R}^d$ with the $(p,q)$-property can be pierced by $p-q+1$ points whenever $q>(d-1)p/d+1$. The bound $p-q+1$ is optimal. We prove that this optimal piercing bound is obtained already whenever $q\ge p^{1/3+\varepsilon}$ in the plane or $q\ge p^{\sqrt{1-2/d}+\varepsilon}$ in high dimensions. This is the first range in which exact Hadwiger-Debrunner numbers are obtained since the 1957 work of Hadwiger and Debrunner. We also show that the exponents in these ranges cannot be improved without improving the currently known upper-bound exponents for weak $\varepsilon$-nets.

Graphs of twin-width at most 2 have bounded mim-width

from arXiv: Data Structures and Algorithms

Authors: Édouard Bonnet, Yeonsu Chang

We show that every graph of twin-width at most $2$ has mim-width at most $8$. This subsumes the facts that weakly sparse graphs of twin-width at most $2$ have bounded treewidth [Bergougnoux et al., ISAAC '23], and edge-stable graphs of twin-width at most $2$ have bounded rank-width [Heinrich et al., WG '26]. Given a $2$-sequence, we construct a~branch decomposition of mim-width $8$ in polynomial time. This gives polynomial-time algorithms for Dominating Set, Feedback Vertex Set, and $k$-Coloring for every fixed $k$ when a 2-sequence is given. We further show that, for every fixed $t \ge 2$, every graph of twin-width at most $2$ with no induced $K_{t,t}$ has tree-independence number at most $84(t-1)$. Given a $2$-sequence of an $n$-vertex graph in this class, we construct such a tree decomposition in time $n^{O(t)}$. Finally, we prove that Minimum Coloring is NP-complete on graphs of twin-width at most $2$, even when a $2$-sequence is given.

Authors: Édouard Bonnet, Yeonsu Chang

We show that every graph of twin-width at most $2$ has mim-width at most $8$. This subsumes the facts that weakly sparse graphs of twin-width at most $2$ have bounded treewidth [Bergougnoux et al., ISAAC '23], and edge-stable graphs of twin-width at most $2$ have bounded rank-width [Heinrich et al., WG '26]. Given a $2$-sequence, we construct a~branch decomposition of mim-width $8$ in polynomial time. This gives polynomial-time algorithms for Dominating Set, Feedback Vertex Set, and $k$-Coloring for every fixed $k$ when a 2-sequence is given. We further show that, for every fixed $t \ge 2$, every graph of twin-width at most $2$ with no induced $K_{t,t}$ has tree-independence number at most $84(t-1)$. Given a $2$-sequence of an $n$-vertex graph in this class, we construct such a tree decomposition in time $n^{O(t)}$. Finally, we prove that Minimum Coloring is NP-complete on graphs of twin-width at most $2$, even when a $2$-sequence is given.

No polynomial-time $\frac78$-approximation algorithm for MAX SAT, assuming UGC and $\mathsf{P} \neq \mathsf{NP}$

from arXiv: Data Structures and Algorithms

Authors: Joshua Brakensiek, Neng Huang, Aaron Potechin, Uri Zwick

We show that the integrality ratio of the standard SDP relaxation of the MAX $k$-SAT problem, where clauses can have up to $k$ variables, is strictly below $\frac78$ for every $k\ge 5$. Using a result of Raghavendra, and assuming the Unique Games Conjecture (UGC) and that $\mathsf{P} \neq \mathsf{NP}$, this implies that there is no polynomial-time $\frac78$-approximation algorithm for MAX $k$-SAT, for every $k\ge 5$, and hence for the MAX SAT problem in which clauses of all lengths are allowed. We show, in fact, that there is no polynomial-time $0.8742$-approximation algorithm for MAX 5-SAT, and that there is no polynomial-time $0.8734$-approximation algorithm for MAX 9-SAT, again assuming UGC and $\mathsf{P} \neq \mathsf{NP}$.

Authors: Joshua Brakensiek, Neng Huang, Aaron Potechin, Uri Zwick

We show that the integrality ratio of the standard SDP relaxation of the MAX $k$-SAT problem, where clauses can have up to $k$ variables, is strictly below $\frac78$ for every $k\ge 5$. Using a result of Raghavendra, and assuming the Unique Games Conjecture (UGC) and that $\mathsf{P} \neq \mathsf{NP}$, this implies that there is no polynomial-time $\frac78$-approximation algorithm for MAX $k$-SAT, for every $k\ge 5$, and hence for the MAX SAT problem in which clauses of all lengths are allowed. We show, in fact, that there is no polynomial-time $0.8742$-approximation algorithm for MAX 5-SAT, and that there is no polynomial-time $0.8734$-approximation algorithm for MAX 9-SAT, again assuming UGC and $\mathsf{P} \neq \mathsf{NP}$.

Continuous Map Matching to Graphs under Travel Time Constraints

from arXiv: Data Structures and Algorithms

Authors: Yannick Bosch, Sabine Storandt

Map matching is a fundamental task in trajectory analysis. The input is an embedded graph with travel time costs, and a trajectory in the form of a spatio-temporal measurement sequence recorded by an entity moving in this graph. The goal is to associate each measurement with a location in the graph as well as providing a path connecting these locations in order, such that the travel time between consecutive locations obeys the timestamp difference of the respective measurements. This is challenging because measurements are subject to spatial uncertainty and thus it is only known that the entity traversed a disk-shaped area rather than a particular point. Existing methods rely on sampling a finite set of candidate locations within each disk. However, they might fail to identify a feasible map matching path if the true locations are not among the selected candidates. We present the first algorithm for general graphs that considers the entire continuum of possible locations in each disk and hence decides feasibility exactly. Under realistic assumptions about the graph and the measurement sequence, we prove that our algorithm runs in $\mathcal{O}(k n \log n)$, where $k$ is the number of measurements and $n$ the number of nodes in the graph. We also provide a careful implementation of the algorithm and propose several engineering techniques to improve its practical performance. Experiments on a wide range of trajectories demonstrate the effectiveness of our algorithm.

Authors: Yannick Bosch, Sabine Storandt

Map matching is a fundamental task in trajectory analysis. The input is an embedded graph with travel time costs, and a trajectory in the form of a spatio-temporal measurement sequence recorded by an entity moving in this graph. The goal is to associate each measurement with a location in the graph as well as providing a path connecting these locations in order, such that the travel time between consecutive locations obeys the timestamp difference of the respective measurements. This is challenging because measurements are subject to spatial uncertainty and thus it is only known that the entity traversed a disk-shaped area rather than a particular point. Existing methods rely on sampling a finite set of candidate locations within each disk. However, they might fail to identify a feasible map matching path if the true locations are not among the selected candidates. We present the first algorithm for general graphs that considers the entire continuum of possible locations in each disk and hence decides feasibility exactly. Under realistic assumptions about the graph and the measurement sequence, we prove that our algorithm runs in $\mathcal{O}(k n \log n)$, where $k$ is the number of measurements and $n$ the number of nodes in the graph. We also provide a careful implementation of the algorithm and propose several engineering techniques to improve its practical performance. Experiments on a wide range of trajectories demonstrate the effectiveness of our algorithm.

The Heavy Hitter Oracle: Enhancing Frequency Estimation in Skewed Data Streams

from arXiv: Data Structures and Algorithms

Authors: Lisa Schmierer, Ioana-Oriana Bercea

Estimating element frequencies in data streams is a fundamental problem when processing large amounts of data. Recent approaches suggest learning-augmented algorithms that can access a heavy-hitter oracle that knows the most frequent elements. In this paper, we challenge the idea of these complex oracles: First, we show that heavy-hitter predictions do not necessarily yield significant efficiency gains in frequency estimation. We prove that a classical algorithm using slightly more memory, $Θ(B \log B)$ instead of $Θ(B)$, matches the performance of learning-augmented methods with perfect predictions. Furthermore, we show that given (perfect) predictions, a trivial mechanism achieves the same performance as state-of-the-art learning-augmented algorithms. On the algorithmic side, we introduce $\textit{SpaceR}$, a single-pass algorithm that matches the accuracy of existing two-pass prediction-based methods without requiring any predictions. SpaceR uses randomized sampling to identify and track frequent elements in one pass through the data, achieving near-perfect frequency recovery with minimal memory on both synthetic and real-world datasets.

Authors: Lisa Schmierer, Ioana-Oriana Bercea

Estimating element frequencies in data streams is a fundamental problem when processing large amounts of data. Recent approaches suggest learning-augmented algorithms that can access a heavy-hitter oracle that knows the most frequent elements. In this paper, we challenge the idea of these complex oracles: First, we show that heavy-hitter predictions do not necessarily yield significant efficiency gains in frequency estimation. We prove that a classical algorithm using slightly more memory, $Θ(B \log B)$ instead of $Θ(B)$, matches the performance of learning-augmented methods with perfect predictions. Furthermore, we show that given (perfect) predictions, a trivial mechanism achieves the same performance as state-of-the-art learning-augmented algorithms. On the algorithmic side, we introduce $\textit{SpaceR}$, a single-pass algorithm that matches the accuracy of existing two-pass prediction-based methods without requiring any predictions. SpaceR uses randomized sampling to identify and track frequent elements in one pass through the data, achieving near-perfect frequency recovery with minimal memory on both synthetic and real-world datasets.

Continual Differential Privacy versus Retroactivity

from arXiv: Data Structures and Algorithms

Authors: Edith Cohen, Travis Dick, Haim Kaplan, Refael Kohen, Alex Kulesza, Kobbi Nissim, Uri Stemmer

We give a separation between DP under continual observation and the additional requirement of retroactivity, a formalization of machine unlearning requiring future outputs to have approximately the same joint distribution as if deleted records had never been inserted. Specifically, we present a scalar function that, for a time horizon $T$, can be approximated under continual DP with simultaneous error $O(\mathrm{polylog}(T))$, but every continually DP and retroactive algorithm requires error $Ω(\mathrm{poly}(T))$. This resolves an open question of Kaplan et al. (2026). Our lower bound has implications for the privacy for the analyst model, where the goal is to answer online queries while providing privacy both for the data and for the queries of other analysts, partially resolving an open question of Dwork et al. (2012).

Authors: Edith Cohen, Travis Dick, Haim Kaplan, Refael Kohen, Alex Kulesza, Kobbi Nissim, Uri Stemmer

We give a separation between DP under continual observation and the additional requirement of retroactivity, a formalization of machine unlearning requiring future outputs to have approximately the same joint distribution as if deleted records had never been inserted. Specifically, we present a scalar function that, for a time horizon $T$, can be approximated under continual DP with simultaneous error $O(\mathrm{polylog}(T))$, but every continually DP and retroactive algorithm requires error $Ω(\mathrm{poly}(T))$. This resolves an open question of Kaplan et al. (2026). Our lower bound has implications for the privacy for the analyst model, where the goal is to answer online queries while providing privacy both for the data and for the queries of other analysts, partially resolving an open question of Dwork et al. (2012).

Counting Maximal Bicliques in Large Sparse Bipartite Graphs by Degeneracy-Anchored Enumeration

from arXiv: Data Structures and Algorithms

Authors: Lu Chen, Chengfei Liu, Rui Zhou, Jiajie Xu, Jianxin Li

Given a bipartite graph, maximal biclique enumeration (MBE) reports all the maximal bicliques and maximal biclique counting computes their number, both of which are fundamental for analysing bipartite data. Existing algorithms grow one side of a biclique inside two-hop neighbourhoods, whose size is unbounded on hub-heavy graphs. In this paper, we propose a novel algorithm, DegCbO, which anchors every maximal biclique at the first vertex v of its vertex set in a degeneracy order. One side of the biclique is then confined to the forward neighbours of v, which are at most d, the degeneracy of the graph. DegCbO enumerates only the maximal bicliques of the small anchored subgraph of v, and we show that maximality in the whole graph is decided by bitwise operations on precomputed masks. The search tree has at most n*2^d nodes. Since d <= sqrt(m) in a bipartite graph, the count is computed in O*(2^sqrt(m)) time, which matches the output lower bound of enumeration on the crown family. To build the anchored subgraphs efficiently on hub-heavy graphs, we propose a cost-aware sweep, an exact twin quotient and an effective failure propagation. For counting, we propose a closed-form terminal that counts star-shaped subtrees in constant time. We also show that the count is computable in 2^o(n) time by the recent sub-exponential algorithms for counting satisfying assignments. Under the Satisfiability Hypothesis, no algorithm counts in 2^(d^(1-eps)) time. Extensive experiments are conducted on sixteen real graphs to justify that our proposed algorithm is faster than the state-of-the-art algorithm on every graph, by up to 35 times.

Authors: Lu Chen, Chengfei Liu, Rui Zhou, Jiajie Xu, Jianxin Li

Given a bipartite graph, maximal biclique enumeration (MBE) reports all the maximal bicliques and maximal biclique counting computes their number, both of which are fundamental for analysing bipartite data. Existing algorithms grow one side of a biclique inside two-hop neighbourhoods, whose size is unbounded on hub-heavy graphs. In this paper, we propose a novel algorithm, DegCbO, which anchors every maximal biclique at the first vertex v of its vertex set in a degeneracy order. One side of the biclique is then confined to the forward neighbours of v, which are at most d, the degeneracy of the graph. DegCbO enumerates only the maximal bicliques of the small anchored subgraph of v, and we show that maximality in the whole graph is decided by bitwise operations on precomputed masks. The search tree has at most n*2^d nodes. Since d <= sqrt(m) in a bipartite graph, the count is computed in O*(2^sqrt(m)) time, which matches the output lower bound of enumeration on the crown family. To build the anchored subgraphs efficiently on hub-heavy graphs, we propose a cost-aware sweep, an exact twin quotient and an effective failure propagation. For counting, we propose a closed-form terminal that counts star-shaped subtrees in constant time. We also show that the count is computable in 2^o(n) time by the recent sub-exponential algorithms for counting satisfying assignments. Under the Satisfiability Hypothesis, no algorithm counts in 2^(d^(1-eps)) time. Extensive experiments are conducted on sixteen real graphs to justify that our proposed algorithm is faster than the state-of-the-art algorithm on every graph, by up to 35 times.

New stronger bounds for online coloring $k$-colorable graphs

from arXiv: Data Structures and Algorithms

Authors: Xin Li, Yaqiao Li

In the online coloring in the adversarial model, we prove new stronger bounds for $k$-colorable graphs for every fixed $k \ge 3$, where the algorithm is assumed to know $χ(G)\le k$. Specifically, we give a deterministic algorithm using at most $n^{(k-2)/(k-1)+o(1)}$ colors, and we prove any randomized algorithm needs polynomially many colors. We also give a randomized algorithm that slightly improves the bound guaranteed by our deterministic algorithm. In particular, for 3-colorable graphs, our deterministic algorithm uses at most $n^{1/2 + o(1)}$ colors, our randomized algorithm uses at most \(O(\sqrt{n\log\log n/\log n})\) colors, and we show any randomized algorithm needs at least $n^{18/89}$ colors. These bounds have improved results by Kierstead \cite{Kier}, Kawarabayashi, Yoneda, and Yoneda~\cite{KYYfixed}, Li \cite{Li}, and Maghrebi \cite{Maghrebi}, and refutes a conjecture by Yoneda and Yoneda

Authors: Xin Li, Yaqiao Li

In the online coloring in the adversarial model, we prove new stronger bounds for $k$-colorable graphs for every fixed $k \ge 3$, where the algorithm is assumed to know $χ(G)\le k$. Specifically, we give a deterministic algorithm using at most $n^{(k-2)/(k-1)+o(1)}$ colors, and we prove any randomized algorithm needs polynomially many colors. We also give a randomized algorithm that slightly improves the bound guaranteed by our deterministic algorithm. In particular, for 3-colorable graphs, our deterministic algorithm uses at most $n^{1/2 + o(1)}$ colors, our randomized algorithm uses at most \(O(\sqrt{n\log\log n/\log n})\) colors, and we show any randomized algorithm needs at least $n^{18/89}$ colors. These bounds have improved results by Kierstead \cite{Kier}, Kawarabayashi, Yoneda, and Yoneda~\cite{KYYfixed}, Li \cite{Li}, and Maghrebi \cite{Maghrebi}, and refutes a conjecture by Yoneda and Yoneda

Improved Sparsification for Load Balancing

from arXiv: Data Structures and Algorithms

Authors: Gary Hoppenworth, Sepideh Mahabadi, Jakub Tarnawski

In the load-balancing problem, we have a bipartite graph $G = (C \cup S, E)$ with clients $C$ on the left and servers $S$ on the right, and the goal is to assign each client to an adjacent server, while minimizing the maximum load on any one server. Load balancing is well-studied in the online model, where clients arrive one at a time and we have to assign them to a server immediately. We study load balancing in two other models where we have incomplete information about the input: the two-party communication model and the streaming model. We show: 1) There exists a single-pass streaming algorithm that uses $\tilde{O}(n)$ space and computes an $\tilde{O}(n^{1/3})$-approximation to load balancing. This improves the prior $O(n^{1/2})$-approximation due to Konrad and Rosén [ICALP'13]. 2) There exists a one-way communication protocol that uses $\tilde{O}(n)$ bits of communication and obtains an $n^{1/3-\varepsilon_0}$-approximation to load balancing, for some $\varepsilon_0 > 0$. This improves the previous $O(n^{1/3})$-approximation due to Konrad and Rosén. For both of these problems, there is an $n^{1/4-o(1)}$ lower bound on the best possible approximation factor, due to Assadi, Bernstein, Langley, Lau, and Wang [SODA'25]. Thus we make meaningful progress on closing the approximation-factor gap for both problems. At a technical level, we obtain our results by giving improved constructions for load-balancing sparsifiers, sparse subgraphs $H \subseteq G$ that preserve the most important client-server feasibility pairs in $G$.

Authors: Gary Hoppenworth, Sepideh Mahabadi, Jakub Tarnawski

In the load-balancing problem, we have a bipartite graph $G = (C \cup S, E)$ with clients $C$ on the left and servers $S$ on the right, and the goal is to assign each client to an adjacent server, while minimizing the maximum load on any one server. Load balancing is well-studied in the online model, where clients arrive one at a time and we have to assign them to a server immediately. We study load balancing in two other models where we have incomplete information about the input: the two-party communication model and the streaming model. We show: 1) There exists a single-pass streaming algorithm that uses $\tilde{O}(n)$ space and computes an $\tilde{O}(n^{1/3})$-approximation to load balancing. This improves the prior $O(n^{1/2})$-approximation due to Konrad and Rosén [ICALP'13]. 2) There exists a one-way communication protocol that uses $\tilde{O}(n)$ bits of communication and obtains an $n^{1/3-\varepsilon_0}$-approximation to load balancing, for some $\varepsilon_0 > 0$. This improves the previous $O(n^{1/3})$-approximation due to Konrad and Rosén. For both of these problems, there is an $n^{1/4-o(1)}$ lower bound on the best possible approximation factor, due to Assadi, Bernstein, Langley, Lau, and Wang [SODA'25]. Thus we make meaningful progress on closing the approximation-factor gap for both problems. At a technical level, we obtain our results by giving improved constructions for load-balancing sparsifiers, sparse subgraphs $H \subseteq G$ that preserve the most important client-server feasibility pairs in $G$.

Approximation algorithms for balanced spanning forest problem

from arXiv: Data Structures and Algorithms

Authors: Zixin Qiao, Yong Chen, Guohui Lin, Xing Wang

Given an edge nonnegatively weighted connected graph $G = (V, E)$ and an integer $k \ge 2$, the Balanced Spanning $k$-Forest problem (BS$k$F) asks for a spanning forest consisting of at most $k$ trees that minimizes the weight of its heaviest tree. For general graphs, a minimum spanning tree is a tight $k$-approximation for this min-max problem. In this paper, we improve this guarantee in several regimes. First and foremost, for every fixed $0 < ε< 0.25$ and $k \ge 6/ε$, we give an $(|V|^{O(k /ε)} \cdot \textrm{poly}(|V|, |E|))$-time $(0.75 + ε) k$-approximation algorithm. Secondly when $k = 2$, we design a polynomial-time $1.75$-approximation algorithm. When the input graph is complete and the edge weights satisfy triangle inequality, we design a polynomial-time $3$-approximation algorithm for any $k \ge 2$. Our algorithm design and analyses exploit the interaction between a minimum spanning tree and an optimal spanning $k$-forest, together with spanning-tree packing, degree-sensitive tree splitting, and a matching-based decomposition for metric complete graphs. On the negative side, we show that BS$k$F on metric complete graphs cannot be approximated within $1688/1687 \approx 1.00059$ unless P $=$ NP, and this inapproximability carries over to a sparse graph class.

Authors: Zixin Qiao, Yong Chen, Guohui Lin, Xing Wang

Given an edge nonnegatively weighted connected graph $G = (V, E)$ and an integer $k \ge 2$, the Balanced Spanning $k$-Forest problem (BS$k$F) asks for a spanning forest consisting of at most $k$ trees that minimizes the weight of its heaviest tree. For general graphs, a minimum spanning tree is a tight $k$-approximation for this min-max problem. In this paper, we improve this guarantee in several regimes. First and foremost, for every fixed $0 < ε< 0.25$ and $k \ge 6/ε$, we give an $(|V|^{O(k /ε)} \cdot \textrm{poly}(|V|, |E|))$-time $(0.75 + ε) k$-approximation algorithm. Secondly when $k = 2$, we design a polynomial-time $1.75$-approximation algorithm. When the input graph is complete and the edge weights satisfy triangle inequality, we design a polynomial-time $3$-approximation algorithm for any $k \ge 2$. Our algorithm design and analyses exploit the interaction between a minimum spanning tree and an optimal spanning $k$-forest, together with spanning-tree packing, degree-sensitive tree splitting, and a matching-based decomposition for metric complete graphs. On the negative side, we show that BS$k$F on metric complete graphs cannot be approximated within $1688/1687 \approx 1.00059$ unless P $=$ NP, and this inapproximability carries over to a sparse graph class.

Tight bounds on the sensitivity of LZ77 under $k$ edits

from arXiv: Data Structures and Algorithms

Authors: Shunsuke Inenaga

Let $z(T)$ be the number of factors in the self-referencing LZ77 factorization of a string $T$. We prove that for every nonempty $T$ and every integer $k\ge2$, any string $T'$ obtained from $T$ by at most $k$ single-character insertions, deletions, or substitutions satisfies $z(T')\le 3z(T)+3k-6$. For substitutions, this improves the upper bound $3z(T)+4k$ of Bathie, Huber, Lagarde, and Zemmari [arXiv:2602.19649v2]. For every $k\ge2$, we construct strings $T,T'$ over an alphabet of size $O(k)$ at both Hamming distance and edit distance exactly $k$ such that $z(T')=3z(T)+3k-6$.

Authors: Shunsuke Inenaga

Let $z(T)$ be the number of factors in the self-referencing LZ77 factorization of a string $T$. We prove that for every nonempty $T$ and every integer $k\ge2$, any string $T'$ obtained from $T$ by at most $k$ single-character insertions, deletions, or substitutions satisfies $z(T')\le 3z(T)+3k-6$. For substitutions, this improves the upper bound $3z(T)+4k$ of Bathie, Huber, Lagarde, and Zemmari [arXiv:2602.19649v2]. For every $k\ge2$, we construct strings $T,T'$ over an alphabet of size $O(k)$ at both Hamming distance and edit distance exactly $k$ such that $z(T')=3z(T)+3k-6$.

A Simple Black-Box Framework for Differentially Private Continual Release on Data Streams

from arXiv: Data Structures and Algorithms

Authors: Neeraj Gogate, Katherine Tomashevsky, Samson Zhou

We give a simple black-box transformation for differentially private continual release of streaming statistics. Our framework applies to any nonnegative, monotone statistic on insertion-only streams with bounded sensitivity and polynomially bounded range, provided there is a tunable streaming algorithm that approximates the statistic at every time. The transformation runs a single instance of the underlying streaming algorithm and privately detects crossings of geometrically spaced thresholds using sparse vector. A scale-dependent clipping argument controls the sensitivity of the approximate estimates without requiring access to the internal structure of the streaming algorithm. For a stream of length $m$ and target multiplicative error $γ$, the resulting mechanism is $(\varepsilon,δ)$-differentially private and uses only $O(\log m/γ)$ additional space beyond the base algorithm. For polynomially bounded statistics, it achieves additive error $\widetilde{O}((Δ_F+κ)\log m/(\varepsilonγ)+κ)$ while requiring the base algorithm to run at a multiplicative accuracy smaller than $γ$ by only polylogarithmic factors. Thus, for many standard streaming algorithms, the transformation preserves sublinear space while providing privacy for the entire sequence of outputs. We instantiate the framework for distinct elements, frequency norms, longest increasing subsequence, regression and low-rank approximation loss, clustering cost, and union volume estimation.

Authors: Neeraj Gogate, Katherine Tomashevsky, Samson Zhou

We give a simple black-box transformation for differentially private continual release of streaming statistics. Our framework applies to any nonnegative, monotone statistic on insertion-only streams with bounded sensitivity and polynomially bounded range, provided there is a tunable streaming algorithm that approximates the statistic at every time. The transformation runs a single instance of the underlying streaming algorithm and privately detects crossings of geometrically spaced thresholds using sparse vector. A scale-dependent clipping argument controls the sensitivity of the approximate estimates without requiring access to the internal structure of the streaming algorithm. For a stream of length $m$ and target multiplicative error $γ$, the resulting mechanism is $(\varepsilon,δ)$-differentially private and uses only $O(\log m/γ)$ additional space beyond the base algorithm. For polynomially bounded statistics, it achieves additive error $\widetilde{O}((Δ_F+κ)\log m/(\varepsilonγ)+κ)$ while requiring the base algorithm to run at a multiplicative accuracy smaller than $γ$ by only polylogarithmic factors. Thus, for many standard streaming algorithms, the transformation preserves sublinear space while providing privacy for the entire sequence of outputs. We instantiate the framework for distinct elements, frequency norms, longest increasing subsequence, regression and low-rank approximation loss, clustering cost, and union volume estimation.

Online Geometric Optimization via Projection, Hierarchical Discretization, and Convex Relaxation

from arXiv: Data Structures and Algorithms

Authors: Neeraj Gogate, Alisa Lu, David P. Woodruff, Samson Zhou

We study online optimization problems in which a learner must choose a compressed representation before observing each incoming data point. We focus on two settings: online $k$-means clustering and online weighted low-rank approximation (WLRA). For online $k$-means, we revisit multiplicative-weights methods over discretized experts and show how marginal Johnson-Lindenstrauss projections reduce the effective dimension without requiring uniform distance preservation over the entire stream. We further decouple projected Voronoi assignment from ambient center recovery by maintaining Follow-the-Leader centroids directly in $\mathbb{R}^d$, avoiding pseudo-inverse distortion. For online WLRA, we formulate the rank-$k$ comparator class as the Grassmannian $\mathrm{Gr}(k,d)$ and develop a hierarchical region decomposition coupled with tree-structured multiplicative weights. This yields sublinear regret against the best fixed rank-$k$ subspace, while making explicit the exponential cost of Grassmannian discretization. A second Grassmannian algorithm obtains a $(1+\varepsilon)$ comparison using a number of regions independent of the horizon. We then introduce a Fantope relaxation that gives polynomial-time online updates and sublinear regret for a weighted projection surrogate against a reduced fractional comparator. Together, these results give a unified view of online approximation under nonconvex geometric structure, supported by empirical evaluations on online low-rank approximation.

Authors: Neeraj Gogate, Alisa Lu, David P. Woodruff, Samson Zhou

We study online optimization problems in which a learner must choose a compressed representation before observing each incoming data point. We focus on two settings: online $k$-means clustering and online weighted low-rank approximation (WLRA). For online $k$-means, we revisit multiplicative-weights methods over discretized experts and show how marginal Johnson-Lindenstrauss projections reduce the effective dimension without requiring uniform distance preservation over the entire stream. We further decouple projected Voronoi assignment from ambient center recovery by maintaining Follow-the-Leader centroids directly in $\mathbb{R}^d$, avoiding pseudo-inverse distortion. For online WLRA, we formulate the rank-$k$ comparator class as the Grassmannian $\mathrm{Gr}(k,d)$ and develop a hierarchical region decomposition coupled with tree-structured multiplicative weights. This yields sublinear regret against the best fixed rank-$k$ subspace, while making explicit the exponential cost of Grassmannian discretization. A second Grassmannian algorithm obtains a $(1+\varepsilon)$ comparison using a number of regions independent of the horizon. We then introduce a Fantope relaxation that gives polynomial-time online updates and sublinear regret for a weighted projection surrogate against a reduced fractional comparator. Together, these results give a unified view of online approximation under nonconvex geometric structure, supported by empirical evaluations on online low-rank approximation.

$O(1)$-Competitive Stochastic Online Metric Matching in General Metrics

from arXiv: Data Structures and Algorithms

Authors: Jittat Fakcharoenphol, Pasin Manurangsi, Phanu Vajanopath

We study stochastic online metric matching, in which $n$ requests drawn independently from a common distribution must be matched immediately and irrevocably to $n$ servers in a metric space. Gupta, Guruganesh, Peng, and Wajc [ICALP'19] introduced the Fair-Bias algorithm and proved an $O((\log\log\log n)^2)$ competitive ratio on general metrics. We prove that Fair-Bias is $O(1)$-competitive on every finite metric space when the arrival distribution is known, resolving their open question. Their analysis combines a "balls-and-bins" argument when many free servers remain with a tree-embedding argument when few remain. We replace this division into two regimes with a unified clustered transport analysis. We partition the servers into clusters along a minimum spanning tree tour (as in the twice-around-the-tree algorithm for metric TSP) and extend the balls-and-bins argument from individual servers to clusters to bound the intercluster cost. To bound the intracluster cost, we prove a sharp inequality showing that the minimum spanning tree weight is at most $e$ times the expected offline optimum under arrivals uniform over the $n$ servers. For unknown arrival distributions, we introduce Empirical-Fair-Bias, a $(4ρ+1)$-competitive algorithm, where $ρ$ is the competitive ratio of Fair-Bias under uniform arrivals on the same metric space. Consequently, our algorithm is $O(1)$-competitive on general metrics. Concurrently and independently, Harada [arXiv'26] gives a different algorithm that also yields $O(ρ)$ competitiveness.

Authors: Jittat Fakcharoenphol, Pasin Manurangsi, Phanu Vajanopath

We study stochastic online metric matching, in which $n$ requests drawn independently from a common distribution must be matched immediately and irrevocably to $n$ servers in a metric space. Gupta, Guruganesh, Peng, and Wajc [ICALP'19] introduced the Fair-Bias algorithm and proved an $O((\log\log\log n)^2)$ competitive ratio on general metrics. We prove that Fair-Bias is $O(1)$-competitive on every finite metric space when the arrival distribution is known, resolving their open question. Their analysis combines a "balls-and-bins" argument when many free servers remain with a tree-embedding argument when few remain. We replace this division into two regimes with a unified clustered transport analysis. We partition the servers into clusters along a minimum spanning tree tour (as in the twice-around-the-tree algorithm for metric TSP) and extend the balls-and-bins argument from individual servers to clusters to bound the intercluster cost. To bound the intracluster cost, we prove a sharp inequality showing that the minimum spanning tree weight is at most $e$ times the expected offline optimum under arrivals uniform over the $n$ servers. For unknown arrival distributions, we introduce Empirical-Fair-Bias, a $(4ρ+1)$-competitive algorithm, where $ρ$ is the competitive ratio of Fair-Bias under uniform arrivals on the same metric space. Consequently, our algorithm is $O(1)$-competitive on general metrics. Concurrently and independently, Harada [arXiv'26] gives a different algorithm that also yields $O(ρ)$ competitiveness.

A Tight 2-Approximation for Min-Power Edge Multicover

from arXiv: Data Structures and Algorithms

Authors: Amir Belgi, Zeev Nutov

In Min-Power Edge Multicover we seek a subgraph of minimum total vertex power subject to lower bounds on the vertex degrees. The power of a vertex is the maximum cost of a chosen incident edge. We give a combinatorial 2-approximation. For maximum requirement $k$ its ratio is at most $2-1/(4(k+1))$. The previous bound was $\min\{O(\log k),k+0.2785\}$. A reduction from Vertex Cover rules out every fixed ratio below two under the Unique Games Conjecture and every fixed ratio below $\sqrt{2}$ unless $\mathrm P=\mathrm{NP}$, even on connected simple graphs. For asymmetric endpoint costs with maximum endpoint ratio $θ$, we give a combinatorial $2θ$-approximation and an $O(\log(2+\min\{θ,n\}))$-approximation, where $n$ is the number of vertices.

Authors: Amir Belgi, Zeev Nutov

In Min-Power Edge Multicover we seek a subgraph of minimum total vertex power subject to lower bounds on the vertex degrees. The power of a vertex is the maximum cost of a chosen incident edge. We give a combinatorial 2-approximation. For maximum requirement $k$ its ratio is at most $2-1/(4(k+1))$. The previous bound was $\min\{O(\log k),k+0.2785\}$. A reduction from Vertex Cover rules out every fixed ratio below two under the Unique Games Conjecture and every fixed ratio below $\sqrt{2}$ unless $\mathrm P=\mathrm{NP}$, even on connected simple graphs. For asymmetric endpoint costs with maximum endpoint ratio $θ$, we give a combinatorial $2θ$-approximation and an $O(\log(2+\min\{θ,n\}))$-approximation, where $n$ is the number of vertices.

Regularized Transport Weights: A Principled Approach for Active Domain Adaptation

from arXiv: Data Structures and Algorithms

Authors: Anxin Guo, Tanmay Sinha, Dionysis Arvanitakis, Vaidehi Srinivas, Alex Drlica-Wagner, Alexander P. Ji, Aravindan Vijayaraghavan

Distribution shift, where there is a mismatch between training and test distributions, is a fundamental challenge in modern machine learning. In this context, we consider the setting of active domain adaptation, where the learner has access to a labeled source dataset $S$, and aims to classify an unlabeled target dataset $T$. The learner is allowed to query the labels of a few points in $T$ to mitigate the distribution shift between $S$ and $T$, as in active learning. We propose a principled, task-agnostic method that jointly selects target queries and reweighs the source and queried examples. Our method tries to effectively use the existing source labels in order to balance coverage of the target distribution while mitigating the variance in the labels. We achieve this by minimizing a natural Regularized Transport Weighting (RTW) objective between the augmented dataset and the target $T$. We provide theoretical guarantees for our method, including a generalization bound and an approximation guarantee for our algorithm. Experiments on standard benchmarks show that our method is competitive with the state-of-the-art methods, and outperforms prior methods on some standard benchmarks -- with only a few samples, we are able to train a classifier that significantly improves upon the accuracy achieved on the source dataset alone.

Authors: Anxin Guo, Tanmay Sinha, Dionysis Arvanitakis, Vaidehi Srinivas, Alex Drlica-Wagner, Alexander P. Ji, Aravindan Vijayaraghavan

Distribution shift, where there is a mismatch between training and test distributions, is a fundamental challenge in modern machine learning. In this context, we consider the setting of active domain adaptation, where the learner has access to a labeled source dataset $S$, and aims to classify an unlabeled target dataset $T$. The learner is allowed to query the labels of a few points in $T$ to mitigate the distribution shift between $S$ and $T$, as in active learning. We propose a principled, task-agnostic method that jointly selects target queries and reweighs the source and queried examples. Our method tries to effectively use the existing source labels in order to balance coverage of the target distribution while mitigating the variance in the labels. We achieve this by minimizing a natural Regularized Transport Weighting (RTW) objective between the augmented dataset and the target $T$. We provide theoretical guarantees for our method, including a generalization bound and an approximation guarantee for our algorithm. Experiments on standard benchmarks show that our method is competitive with the state-of-the-art methods, and outperforms prior methods on some standard benchmarks -- with only a few samples, we are able to train a classifier that significantly improves upon the accuracy achieved on the source dataset alone.

Lower Bounds for Minimum-Cardinality Infeasible Subsystems in Mixed-Integer Linear Programs

from arXiv: Data Structures and Algorithms

Authors: Matteo Fischetti

Given an infeasible Mixed-Integer Linear Program (MILP), we look for an infeasible subsystem of minimum cardinality. In the setting of the 2027 Land-Doig MIP Competition (MIPcc27), the elements that can be relaxed -- which we call atoms -- are the linear constraints, the variable bounds and the integrality requirements, each at unit cost. The problem has an implicit MILP hitting-set formulation: for every point violating a set of atoms, every infeasible subsystem must keep at least one of them. Our focus is on the lower bound on the minimum cardinality, which tells how far a given subsystem can be from a minimum one. A dominance argument removes all bound atoms of integer variables. The hitting-set MILP is solved by a branch-and-cut scheme using fractional separation followed by a cut-shortening step. We tested the method with Gurobi and SCIP on the 30 public instances of the competition with at most 1,000 atoms; lower and upper bounds match on about half of them. Exact certificates confirm both bounds for one run on 12 of the 16 instances where the lower bound valid in exact arithmetic also reaches the upper bound, and on one instance they show that a subsystem accepted by the checker is feasible in exact arithmetic. An ablation shows the effectiveness of fractional separation and cut shortening.

Authors: Matteo Fischetti

Given an infeasible Mixed-Integer Linear Program (MILP), we look for an infeasible subsystem of minimum cardinality. In the setting of the 2027 Land-Doig MIP Competition (MIPcc27), the elements that can be relaxed -- which we call atoms -- are the linear constraints, the variable bounds and the integrality requirements, each at unit cost. The problem has an implicit MILP hitting-set formulation: for every point violating a set of atoms, every infeasible subsystem must keep at least one of them. Our focus is on the lower bound on the minimum cardinality, which tells how far a given subsystem can be from a minimum one. A dominance argument removes all bound atoms of integer variables. The hitting-set MILP is solved by a branch-and-cut scheme using fractional separation followed by a cut-shortening step. We tested the method with Gurobi and SCIP on the 30 public instances of the competition with at most 1,000 atoms; lower and upper bounds match on about half of them. Exact certificates confirm both bounds for one run on 12 of the 16 instances where the lower bound valid in exact arithmetic also reaches the upper bound, and on one instance they show that a subsystem accepted by the checker is feasible in exact arithmetic. An ablation shows the effectiveness of fractional separation and cut shortening.

Computing Vanishing Polynomials with Fast Walsh-Hadamard Transforms

from arXiv: Data Structures and Algorithms

Authors: Nianqi Tang, Yunghsiang S. Han, Chao Chen

This paper proposes an algorithm for computing vanishing polynomials with fast Walsh-Hadamard transforms over the field $GF(2^m)$, whose computational complexity is $O(2^m\log(2^τ))$, where $τ$ is smallest non-negative integer such that $2^τ$ is larger than or equal to the degree of desired vanishing polynomial. The new algorithm outperforms the Didier's method whose computational complexity is $O(2^m\log(2^{m}))$.

Authors: Nianqi Tang, Yunghsiang S. Han, Chao Chen

This paper proposes an algorithm for computing vanishing polynomials with fast Walsh-Hadamard transforms over the field $GF(2^m)$, whose computational complexity is $O(2^m\log(2^τ))$, where $τ$ is smallest non-negative integer such that $2^τ$ is larger than or equal to the degree of desired vanishing polynomial. The new algorithm outperforms the Didier's method whose computational complexity is $O(2^m\log(2^{m}))$.

Updating Permutation-Compressed Hypergraphs

from arXiv: Data Structures and Algorithms

Authors: Enno Adler, Stefan Böttcher, Rita Hartel

Hypergraphs model complex, non-binary relationships such as co-authorships, social group memberships, and recommendation systems. Like traditional graphs, hypergraphs can grow large, posing challenges for storage, transmission, and query performance. Moreover, the data can change as new papers are published, new social groups form, existing social groups accept or remove members, and new products are published. In this paper, we extend the hypergraph compression method HyperCSA to perform updates of the compressed hypergraph. Dynamic HyperCSA computes the exact compressed hypergraph representation that the steps decompress-update-compress of HyperCSA produce, but is orders of magnitude faster. Thereby, dynamic HyperCSA achieves the same compression ratios of 26% to 79% as HyperCSA on the modified, real-world hypergraphs and the query performance of being 6 to 40 times faster on real-world hypergraphs than other approaches.

Authors: Enno Adler, Stefan Böttcher, Rita Hartel

Hypergraphs model complex, non-binary relationships such as co-authorships, social group memberships, and recommendation systems. Like traditional graphs, hypergraphs can grow large, posing challenges for storage, transmission, and query performance. Moreover, the data can change as new papers are published, new social groups form, existing social groups accept or remove members, and new products are published. In this paper, we extend the hypergraph compression method HyperCSA to perform updates of the compressed hypergraph. Dynamic HyperCSA computes the exact compressed hypergraph representation that the steps decompress-update-compress of HyperCSA produce, but is orders of magnitude faster. Thereby, dynamic HyperCSA achieves the same compression ratios of 26% to 79% as HyperCSA on the modified, real-world hypergraphs and the query performance of being 6 to 40 times faster on real-world hypergraphs than other approaches.

Closing Open Shop up to constant factors

from arXiv: Data Structures and Algorithms

Authors: Mikhail Cherniavskii, Mikhail Koshelev, Andrey Kupavskii, Stanislav Moiseev, Fedor Ozhegov, Alexander Shekhovtsov

We resolve, up to constant factors, a longstanding question on sufficient load conditions for solving the nonpreemptive open-shop scheduling problem exactly in polynomial time with makespan equal to the maximum machine load. Let $m$ be the number of machines, $M$ the maximum machine load, and $K$ the longest operation. The classical algorithm of Fiala (1983) provides a sufficient bound $M \geq Ω(Km\log m)$. We prove that $M\ge23Km$ suffices for constructing an optimal schedule of makespan $M$ in deterministic polynomial time. This matches, up to a constant factor, the lower bound $2K(m-1)$ of Sevastyanov (1995).

Authors: Mikhail Cherniavskii, Mikhail Koshelev, Andrey Kupavskii, Stanislav Moiseev, Fedor Ozhegov, Alexander Shekhovtsov

We resolve, up to constant factors, a longstanding question on sufficient load conditions for solving the nonpreemptive open-shop scheduling problem exactly in polynomial time with makespan equal to the maximum machine load. Let $m$ be the number of machines, $M$ the maximum machine load, and $K$ the longest operation. The classical algorithm of Fiala (1983) provides a sufficient bound $M \geq Ω(Km\log m)$. We prove that $M\ge23Km$ suffices for constructing an optimal schedule of makespan $M$ in deterministic polynomial time. This matches, up to a constant factor, the lower bound $2K(m-1)$ of Sevastyanov (1995).

PACK*: Probably Approximately Correct Partition Function Estimation for Ensemble-Based Protein Design

from arXiv: Data Structures and Algorithms

Authors: Liyang Zhu, Jonathan D. Jou, Allen C. McBride, Bruce R. Donald

Ensemble-based protein design algorithms rank sequences by binding scores computed from partition functions of the bound complex, receptor, and ligand. Each residue conformation (RC) specifies an amino acid type and bounds on its side-chain dihedral angles. The partition functions sum Boltzmann weights over an RC assignment space that grows exponentially with the number of flexible residue positions. Furthermore, evaluating each assignment's energy requires expensive constrained local minimization to model the continuous side-chain flexibility for quantitative accuracy. We introduce PACK*, a randomized algorithm that formulates partition function evaluation as a statistical estimation problem to drastically reduce the number of expensive local minimizations. To estimate partition functions via importance sampling, we construct a cheaper distribution called the L-distribution, over RC assignments. Dynamic programming on the branch decomposition exactly computes its normalization constant and enables independent sampling for importance reweighting. PACK* learns the L-distribution and yields finite-sample confidence intervals for the partition functions. The probability of reporting a confidence interval that meets the user-specified accuracy $\varepsilon$ but fails to contain the true partition function is at most $δ$. We compared PACK* with MARK*, the previous state-of-the-art algorithm for provable partition function approximation in ensemble-based protein design. Across 873 sequence evaluations for 36 protein--ligand complexes, Spearman correlations between PACK* and MARK* binding scores had a median of 0.996. In a comprehensive scaling benchmark of 136 protein design problems derived from 38 protein--ligand complexes, with increasing numbers of mutable and flexible residue positions, PACK* achieved speedups of up to three orders of magnitude over MARK*.

Authors: Liyang Zhu, Jonathan D. Jou, Allen C. McBride, Bruce R. Donald

Ensemble-based protein design algorithms rank sequences by binding scores computed from partition functions of the bound complex, receptor, and ligand. Each residue conformation (RC) specifies an amino acid type and bounds on its side-chain dihedral angles. The partition functions sum Boltzmann weights over an RC assignment space that grows exponentially with the number of flexible residue positions. Furthermore, evaluating each assignment's energy requires expensive constrained local minimization to model the continuous side-chain flexibility for quantitative accuracy. We introduce PACK*, a randomized algorithm that formulates partition function evaluation as a statistical estimation problem to drastically reduce the number of expensive local minimizations. To estimate partition functions via importance sampling, we construct a cheaper distribution called the L-distribution, over RC assignments. Dynamic programming on the branch decomposition exactly computes its normalization constant and enables independent sampling for importance reweighting. PACK* learns the L-distribution and yields finite-sample confidence intervals for the partition functions. The probability of reporting a confidence interval that meets the user-specified accuracy $\varepsilon$ but fails to contain the true partition function is at most $δ$. We compared PACK* with MARK*, the previous state-of-the-art algorithm for provable partition function approximation in ensemble-based protein design. Across 873 sequence evaluations for 36 protein--ligand complexes, Spearman correlations between PACK* and MARK* binding scores had a median of 0.996. In a comprehensive scaling benchmark of 136 protein design problems derived from 38 protein--ligand complexes, with increasing numbers of mutable and flexible residue positions, PACK* achieved speedups of up to three orders of magnitude over MARK*.

Improved Bounds for Online Makespan Scheduling on Related Machines

from arXiv: Data Structures and Algorithms

Authors: Tianqi Chen, Junwen Xiao

We study online makespan minimization on related machines with known positive speeds. Jobs arrive one at a time and must be assigned immediately and irrevocably, without knowledge of the sizes or number of future jobs. We give a deterministic algorithm with competitive ratio $\frac{3+\sqrt{5}}{2}\exp\!\left(\frac{\sqrt{5}-1}{2}\right)\approx 4.857178$ for an arbitrary number of machines, improving the upper bound of $3+\sqrt{8}\approx 5.8284$. We also raise the randomized lower bound from $2$ to $e$ as the number of machines tends to infinity. Both results improve bounds established more than twenty-five years ago.

Authors: Tianqi Chen, Junwen Xiao

We study online makespan minimization on related machines with known positive speeds. Jobs arrive one at a time and must be assigned immediately and irrevocably, without knowledge of the sizes or number of future jobs. We give a deterministic algorithm with competitive ratio $\frac{3+\sqrt{5}}{2}\exp\!\left(\frac{\sqrt{5}-1}{2}\right)\approx 4.857178$ for an arbitrary number of machines, improving the upper bound of $3+\sqrt{8}\approx 5.8284$. We also raise the randomized lower bound from $2$ to $e$ as the number of machines tends to infinity. Both results improve bounds established more than twenty-five years ago.

Parallel Edge Coloring in Square-Root Depth

from arXiv: Data Structures and Algorithms

Authors: Jeff Giliberti, MohammadTaghi Hajiaghayi, Changki Yun

We give a deterministic parallel algorithm that finds a $(Δ+1)$-edge coloring of an $n$-vertex graph with maximum degree $Δ$ in $\tilde O(\min\{Δ,\sqrt n\})$ depth using $O(n^3Δ)$ processors. Achieving sublinear depth across all maximum degrees had remained open since the seminal work of Karloff and Shmoys [J. Algorithms '87]. In terms of $Δ$, this improves upon the recent work of Fineman and Mohammadi [arXiv '26], who obtained $\tilde O(Δ^2)$ randomized and $\tilde O(Δ^3)$ deterministic depth. Our algorithm recursively removes $\tilde O(n/Δ)$ vertices to lower the maximum degree by two and splits the remaining edges along Euler tours into two subgraphs colored in parallel on disjoint palettes. To reinsert the removed stars, we rotate fans before finding finishing paths, tracing alternating paths from both ends to choose rotations deterministically. Restoring stars either one by one in $\tilde O(n/Δ)$ depth or in independent groups in $\tilde O(Δ)$ depth gives the final bound.

Authors: Jeff Giliberti, MohammadTaghi Hajiaghayi, Changki Yun

We give a deterministic parallel algorithm that finds a $(Δ+1)$-edge coloring of an $n$-vertex graph with maximum degree $Δ$ in $\tilde O(\min\{Δ,\sqrt n\})$ depth using $O(n^3Δ)$ processors. Achieving sublinear depth across all maximum degrees had remained open since the seminal work of Karloff and Shmoys [J. Algorithms '87]. In terms of $Δ$, this improves upon the recent work of Fineman and Mohammadi [arXiv '26], who obtained $\tilde O(Δ^2)$ randomized and $\tilde O(Δ^3)$ deterministic depth. Our algorithm recursively removes $\tilde O(n/Δ)$ vertices to lower the maximum degree by two and splits the remaining edges along Euler tours into two subgraphs colored in parallel on disjoint palettes. To reinsert the removed stars, we rotate fans before finding finishing paths, tracing alternating paths from both ends to choose rotations deterministically. Restoring stars either one by one in $\tilde O(n/Δ)$ depth or in independent groups in $\tilde O(Δ)$ depth gives the final bound.

A Constant-Factor Approximation for Economic Lot Scheduling

from arXiv: Data Structures and Algorithms

Authors: Danny Segev

Economic lot scheduling is one of the most fundamental and extensively studied problems in production scheduling and inventory management. This setting asks how multiple commodities sharing a common machine should be produced to meet continuous demand while minimizing the long-run average cost of setups and inventory holding. Since the 1950s, it has motivated hundreds of studies on production frequencies, cyclic schedules, feasibility conditions, and various optimization methods. Despite this sustained attention, provably good approximation guarantees for the general problem formulation, measured against unrestricted dynamic policies, have remained elusive. The main contribution of this paper resides in proposing the first constant-factor approximation for the economic lot scheduling problem. This performance guarantee holds in relation to the unrestricted dynamic optimum, without relying on any parametric assumptions beyond those ensuring feasibility. Our main technical innovation is a new convex relaxation that captures the inventory consequences of competition for machine time, combined with a priority-based scheduling rule whose analysis relates machine occupation to these inventory requirements. Concurrently, we overcome the potentially exponential size of non-trivial cyclic schedules, showing that the resulting policy admits a polynomial-size description that allows its individual production decisions to be efficiently recovered.

Authors: Danny Segev

Economic lot scheduling is one of the most fundamental and extensively studied problems in production scheduling and inventory management. This setting asks how multiple commodities sharing a common machine should be produced to meet continuous demand while minimizing the long-run average cost of setups and inventory holding. Since the 1950s, it has motivated hundreds of studies on production frequencies, cyclic schedules, feasibility conditions, and various optimization methods. Despite this sustained attention, provably good approximation guarantees for the general problem formulation, measured against unrestricted dynamic policies, have remained elusive. The main contribution of this paper resides in proposing the first constant-factor approximation for the economic lot scheduling problem. This performance guarantee holds in relation to the unrestricted dynamic optimum, without relying on any parametric assumptions beyond those ensuring feasibility. Our main technical innovation is a new convex relaxation that captures the inventory consequences of competition for machine time, combined with a priority-based scheduling rule whose analysis relates machine occupation to these inventory requirements. Concurrently, we overcome the potentially exponential size of non-trivial cyclic schedules, showing that the resulting policy admits a polynomial-size description that allows its individual production decisions to be efficiently recovered.

An Improved Lower Bound for Randomized Online Scheduling

from arXiv: Data Structures and Algorithms

Authors: Jianan Lin

We improve the asymptotic lower bound for randomized online scheduling on identical machines from $\frac{e}{e-1}\approx 1.58198$ [Chen, van Vliet, and Woeginger, IPL 1994; Sgall, IPL 1997] to $\frac{e}{e-1}+\frac{1}{715}\approx 1.58338$. Although the improvement is small, it is the first in 32 years.

Authors: Jianan Lin

We improve the asymptotic lower bound for randomized online scheduling on identical machines from $\frac{e}{e-1}\approx 1.58198$ [Chen, van Vliet, and Woeginger, IPL 1994; Sgall, IPL 1997] to $\frac{e}{e-1}+\frac{1}{715}\approx 1.58338$. Although the improvement is small, it is the first in 32 years.

Hamiltonian Property Testing via Block Encoding

from arXiv: Data Structures and Algorithms

Authors: Aprup Kale, John Kallaugher

We give a method for constructing a block-encoding of an unknown Hamiltonian $H$ with $\varepsilon$ error from its time evolution operator $e^{-iHt}$ in polylogarithmic total evolution time. This immediately allows sampling from the Pauli spectrum of $H$ with almost-optimal overhead $\widetilde{\mathrm{O}}(\|H\|_2^{-2})$. As a consequence we develop new tolerant Hamiltonian property testing algorithms, which determine whether an unknown Hamiltonian is within $\varepsilon_1$ of having a given property, or $\varepsilon_2$-far. We give algorithms for testing locality, sparsity, degree-boundedness, being a junta, and Pauli dimensionality, all with total evolution time scaling with $1/(\varepsilon_2 - \varepsilon_1)^2$. We also apply our block-encoding technique directly to obtain an $\widetilde{\mathrm{O}}(1/(\varepsilon_2 - \varepsilon_1)^2)$-time tolerant algorithm for Hamiltonian certification. Our algorithms require neither inverse nor controlled application of the time evolution unitary, and in each case, our algorithm matches or improves on the best non-tolerant testing algorithm. By a reduction to (Gutiérrez,~Lee,~and Zur~`26), we show that all of these problems require at least $Ω(1/(\varepsilon_2(\varepsilon_2 - \varepsilon_1)))$ evolution time.

Authors: Aprup Kale, John Kallaugher

We give a method for constructing a block-encoding of an unknown Hamiltonian $H$ with $\varepsilon$ error from its time evolution operator $e^{-iHt}$ in polylogarithmic total evolution time. This immediately allows sampling from the Pauli spectrum of $H$ with almost-optimal overhead $\widetilde{\mathrm{O}}(\|H\|_2^{-2})$. As a consequence we develop new tolerant Hamiltonian property testing algorithms, which determine whether an unknown Hamiltonian is within $\varepsilon_1$ of having a given property, or $\varepsilon_2$-far. We give algorithms for testing locality, sparsity, degree-boundedness, being a junta, and Pauli dimensionality, all with total evolution time scaling with $1/(\varepsilon_2 - \varepsilon_1)^2$. We also apply our block-encoding technique directly to obtain an $\widetilde{\mathrm{O}}(1/(\varepsilon_2 - \varepsilon_1)^2)$-time tolerant algorithm for Hamiltonian certification. Our algorithms require neither inverse nor controlled application of the time evolution unitary, and in each case, our algorithm matches or improves on the best non-tolerant testing algorithm. By a reduction to (Gutiérrez,~Lee,~and Zur~`26), we show that all of these problems require at least $Ω(1/(\varepsilon_2(\varepsilon_2 - \varepsilon_1)))$ evolution time.

Lowerbound for Minimum Spanning Tree

from arXiv: Data Structures and Algorithms

Authors: Reza Zadeh

We give the first nontrivial lower bound for the Minimum Spanning Tree problem: every MST algorithm must make 1.641m weight comparisons in the worst case, on a graph with m edges. We also improve the best known upper bound, thereby tightening the gap between the best known lower and upper bounds. For every sufficiently large $m$, some connected simple graph with $m$ edges requires more than $1.641m$ edge-weight comparisons in the deterministic worst case, even with unlimited preprocessing of the topology. Among the hard instances is a family of 3-vertex-connected, 5-regular graphs of unbounded girth. They have fewer than $2^{0.9710m}$ spanning trees. Our proof counts the cut hierarchies recoverable from the output tree and the decision-tree leaves required within each hierarchy. Furthermore, we give a deterministic MST algorithm that uses fewer than $5.824m$ comparisons in the worst case. This improves on the recent results showing MST is computable in deterministic O(m) time, and tightens the gap.

Authors: Reza Zadeh

We give the first nontrivial lower bound for the Minimum Spanning Tree problem: every MST algorithm must make 1.641m weight comparisons in the worst case, on a graph with m edges. We also improve the best known upper bound, thereby tightening the gap between the best known lower and upper bounds. For every sufficiently large $m$, some connected simple graph with $m$ edges requires more than $1.641m$ edge-weight comparisons in the deterministic worst case, even with unlimited preprocessing of the topology. Among the hard instances is a family of 3-vertex-connected, 5-regular graphs of unbounded girth. They have fewer than $2^{0.9710m}$ spanning trees. Our proof counts the cut hierarchies recoverable from the output tree and the decision-tree leaves required within each hierarchy. Furthermore, we give a deterministic MST algorithm that uses fewer than $5.824m$ comparisons in the worst case. This improves on the recent results showing MST is computable in deterministic O(m) time, and tightens the gap.

Cal's Favourite Game Is NP-Hard: On the Hardness of Tenebrae Lux's Sliding Puzzles

from arXiv: Data Structures and Algorithms

Authors: Sarosh Adenwalla, Ziad Ismaili Alaoui

We study the computational complexity of a generalised version of the minigame Tenebrae Lux, featured in Grand Theft Auto VI. An instance of Tenebrae Lux consists of an $h \times w$ board whose cells are either empty or contain a pyramid, a stack, or a flat. Initially, no pyramid is orthogonally adjacent to a stack or a flat. A move selects a pyramid or stack and slides it in a cardinal direction through consecutive empty cells until it reaches the board boundary or stops immediately before another piece. Each move must change the selected piece's position. At its destination, a moved pyramid destroys all orthogonally adjacent stacks and flats, and is itself destroyed if it destroyed a stack. A moved stack destroys all orthogonally adjacent pyramids, and is itself destroyed if it destroyed a pyramid. Flats cannot move. Tenebrae Lux asks whether there exists a finite sequence of moves that empties all cells; we call such a sequence clearing. We show that this problem is NP-hard, even on boards with exactly one pyramid and one stack, via a reduction from Hamiltonian Cycle on simple 2-out-regular directed graphs. Since solvable boards with a bounded number of movable pieces admit clearing sequences of polynomial length, this restriction is in fact NP-complete. In general, the problem lies in PSPACE, and it is solvable in polynomial time when the total number of pieces is bounded. We further show that there always exists a clearing sequence when there are no flats and the numbers of pyramids and stacks are equal; our proof is constructive and yields a clearing sequence of at most $k(w+2)$ moves in polynomial time, where $k$ is the number of pyramids.

Authors: Sarosh Adenwalla, Ziad Ismaili Alaoui

We study the computational complexity of a generalised version of the minigame Tenebrae Lux, featured in Grand Theft Auto VI. An instance of Tenebrae Lux consists of an $h \times w$ board whose cells are either empty or contain a pyramid, a stack, or a flat. Initially, no pyramid is orthogonally adjacent to a stack or a flat. A move selects a pyramid or stack and slides it in a cardinal direction through consecutive empty cells until it reaches the board boundary or stops immediately before another piece. Each move must change the selected piece's position. At its destination, a moved pyramid destroys all orthogonally adjacent stacks and flats, and is itself destroyed if it destroyed a stack. A moved stack destroys all orthogonally adjacent pyramids, and is itself destroyed if it destroyed a pyramid. Flats cannot move. Tenebrae Lux asks whether there exists a finite sequence of moves that empties all cells; we call such a sequence clearing. We show that this problem is NP-hard, even on boards with exactly one pyramid and one stack, via a reduction from Hamiltonian Cycle on simple 2-out-regular directed graphs. Since solvable boards with a bounded number of movable pieces admit clearing sequences of polynomial length, this restriction is in fact NP-complete. In general, the problem lies in PSPACE, and it is solvable in polynomial time when the total number of pieces is bounded. We further show that there always exists a clearing sequence when there are no flats and the numbers of pyramids and stacks are equal; our proof is constructive and yields a clearing sequence of at most $k(w+2)$ moves in polynomial time, where $k$ is the number of pyramids.

Dynamic Quadtrees and the Real-RAM

from arXiv: Data Structures and Algorithms

Authors: Sarita de Berg, Jacobus Conradi, Ivor van der Hoog, Eva Rotenberg

Dynamic quadtrees are a fundamental tool in computational geometry. They are used to store sets of geometric objects (typically, points or disks) and underlie dynamic algorithms for proximity queries, stabbing queries, well-separated pair decompositions (WSPDs), geometric spanners, connectivity in geometric intersection graphs, geometric independent sets, and more. These applications often use quadtree compression to keep the tree small. However, we survey a wide range of constructions and show that none of them establishes how to maintain a compressed quadtree for arbitrary real-valued point sets on a Real-RAM in sublinear worst-case time per insertion, even in the insertion-only setting. We define and maintain a dynamic quadtree that can support the operations used in \emph{some} of them; establishing their results for arbitrary real-valued inputs (at a slowdown). For the remaining applications, we do not establish the corresponding bounds on a Real-RAM. In particular, for arbitrary real-valued inputs, we are unaware of any construction that establishes sublinear update time for an explicit well-separated-pair decomposition on a Real-RAM.

Authors: Sarita de Berg, Jacobus Conradi, Ivor van der Hoog, Eva Rotenberg

Dynamic quadtrees are a fundamental tool in computational geometry. They are used to store sets of geometric objects (typically, points or disks) and underlie dynamic algorithms for proximity queries, stabbing queries, well-separated pair decompositions (WSPDs), geometric spanners, connectivity in geometric intersection graphs, geometric independent sets, and more. These applications often use quadtree compression to keep the tree small. However, we survey a wide range of constructions and show that none of them establishes how to maintain a compressed quadtree for arbitrary real-valued point sets on a Real-RAM in sublinear worst-case time per insertion, even in the insertion-only setting. We define and maintain a dynamic quadtree that can support the operations used in \emph{some} of them; establishing their results for arbitrary real-valued inputs (at a slowdown). For the remaining applications, we do not establish the corresponding bounds on a Real-RAM. In particular, for arbitrary real-valued inputs, we are unaware of any construction that establishes sublinear update time for an explicit well-separated-pair decomposition on a Real-RAM.

On a unit ball placement problem: covering the most points in fixed dimension

from arXiv: Data Structures and Algorithms

Authors: Krišjānis Petručeņa

For $N$ distinct sites in fixed dimension $D\ge 2$, we give a deterministic algorithm that places a closed unit ball covering the most sites. It returns the centre, count and all covered indices in $O_D(N^D)$ time and $O_D(N)$ extra words on an exact real random-access machine. The same bounds hold for maximizing the sum of nonnegative weights of covered sites. For $D\ge 3$, we search two-spheres of possible centres determined by $D-2$ sites on the ball boundary. Each site gives a cap of centres whose ball covers it. To find a point where the covering caps have maximum total weight, we use stereographic projection and at most two planar searches over weighted closed disks and their closed exteriors. For $m$ circles of arbitrary positive radii, each planar search takes $O(m^2)$ time and $O(m)$ extra words. A linear-time reduction shows that any fixed saving in the exponent $D$ for deterministic placement would carry over to deciding whether $D+1$ of $N$ distinct integer points lie on a common hyperplane.

Authors: Krišjānis Petručeņa

For $N$ distinct sites in fixed dimension $D\ge 2$, we give a deterministic algorithm that places a closed unit ball covering the most sites. It returns the centre, count and all covered indices in $O_D(N^D)$ time and $O_D(N)$ extra words on an exact real random-access machine. The same bounds hold for maximizing the sum of nonnegative weights of covered sites. For $D\ge 3$, we search two-spheres of possible centres determined by $D-2$ sites on the ball boundary. Each site gives a cap of centres whose ball covers it. To find a point where the covering caps have maximum total weight, we use stereographic projection and at most two planar searches over weighted closed disks and their closed exteriors. For $m$ circles of arbitrary positive radii, each planar search takes $O(m^2)$ time and $O(m)$ extra words. A linear-time reduction shows that any fixed saving in the exponent $D$ for deterministic placement would carry over to deciding whether $D+1$ of $N$ distinct integer points lie on a common hyperplane.

The Approximation Complexity of Euclidean Metric Repair

from arXiv: Data Structures and Algorithms

Authors: Chenglin Fan

In Euclidean Metric Violation Distance (EMVD), we are given pairwise squared distance observations on $n$ points and seek a realization in $\mathbb{R}^d$ that minimizes the number of modified observations. We give a deterministic $(1+\varepsilon)$-approximation in time $f(d,\varepsilon)(n+L)^{O(1)}$, where $L$ is the input encoding length and $f$ is a computable function depending only on $d$ and $\varepsilon$. The algorithm allows coincident points and configurations of any affine dimension at most $d$. In contrast, when the dimension $d$ is part of the input, no deterministic polynomial-time constant-factor approximation exists unless $\mathsf{P}=\mathsf{NP}$. Moreover, for any fixed $0<α<1$, approximation within $2^{(\log n)^{1-α}}$ in deterministic polynomial time is impossible unless NP admits deterministic quasipolynomial-time algorithms. Both hardness results hold even when the observed squared distances between all points other than one are jointly realizable in $\mathbb{R}^d$. For arbitrary dimensions, we give a randomized polynomial-time $O(d+d^2/\log(2n))$-approximation and establish a matching lower bound on a family of instances for our reconstruction algorithm, even with polynomially many independent runs.

Authors: Chenglin Fan

In Euclidean Metric Violation Distance (EMVD), we are given pairwise squared distance observations on $n$ points and seek a realization in $\mathbb{R}^d$ that minimizes the number of modified observations. We give a deterministic $(1+\varepsilon)$-approximation in time $f(d,\varepsilon)(n+L)^{O(1)}$, where $L$ is the input encoding length and $f$ is a computable function depending only on $d$ and $\varepsilon$. The algorithm allows coincident points and configurations of any affine dimension at most $d$. In contrast, when the dimension $d$ is part of the input, no deterministic polynomial-time constant-factor approximation exists unless $\mathsf{P}=\mathsf{NP}$. Moreover, for any fixed $0<α<1$, approximation within $2^{(\log n)^{1-α}}$ in deterministic polynomial time is impossible unless NP admits deterministic quasipolynomial-time algorithms. Both hardness results hold even when the observed squared distances between all points other than one are jointly realizable in $\mathbb{R}^d$. For arbitrary dimensions, we give a randomized polynomial-time $O(d+d^2/\log(2n))$-approximation and establish a matching lower bound on a family of instances for our reconstruction algorithm, even with polynomially many independent runs.

Deletion Distance of Planar Embeddings

from arXiv: Data Structures and Algorithms

Authors: Thekla Hamm, Fabian Klute, Miriam Münch, Irene Parada, Ignaz Rutter

Let $G = (V,E)$ be a planar graph and let $\mathcal E_1, \mathcal E_2$ be two planar embeddings of $G$. An embedding-modulator for $(\mathcal E_1,\mathcal E_2)$ is a set $X \subseteq V$ such that $\mathcal E_1$ and $\mathcal E_2$ induce the same embedding on $G-X$. We introduce a natural metric on the set of planar embeddings of a graph $G$: the deletion distance of $\mathcal E_1$ and $\mathcal E_2$ is the minimum size of an embedding-modulator for $(\mathcal E_1,\mathcal E_2)$. We show that deciding the deletion distance of two planar embeddings $\mathcal E_1,\mathcal E_2$ of $G$ is NP-complete but FPT with respect to its natural parameter.

Authors: Thekla Hamm, Fabian Klute, Miriam Münch, Irene Parada, Ignaz Rutter

Let $G = (V,E)$ be a planar graph and let $\mathcal E_1, \mathcal E_2$ be two planar embeddings of $G$. An embedding-modulator for $(\mathcal E_1,\mathcal E_2)$ is a set $X \subseteq V$ such that $\mathcal E_1$ and $\mathcal E_2$ induce the same embedding on $G-X$. We introduce a natural metric on the set of planar embeddings of a graph $G$: the deletion distance of $\mathcal E_1$ and $\mathcal E_2$ is the minimum size of an embedding-modulator for $(\mathcal E_1,\mathcal E_2)$. We show that deciding the deletion distance of two planar embeddings $\mathcal E_1,\mathcal E_2$ of $G$ is NP-complete but FPT with respect to its natural parameter.

Complete $0.6477$-EFX Allocations in Strongly Polynomial Time

from arXiv: Data Structures and Algorithms

Authors: Vishwa Prakash HV

We show that a complete $α$-EFX allocation always exists for agents with non-negative additive valuations, where $α\approx 0.647799$ is the unique real root of $2x^3-2x^2+2x-1=0$. This improves upon the previously known guarantee of $(\sqrt{5}-1)/2$ for an arbitrary number of agents. Moreover, we give a strongly polynomial-time algorithm for computing such an allocation. Our approach uses a maximum-product matching and an associated rescaling of the valuations. By constructing three-good bundles whose two unmatched goods alone guarantee sufficient utility to their owners, we are able to reassign matched goods and obtain a partial $α$-EFX allocation in which every agent values all but at most one unassigned good at no more than $(1/α-1)$ times the value of their own bundle. We then develop a generalisation of envy-cycle elimination that allows decreases in agents' utilities and the return of previously assigned goods to the unassigned pool, while preserving $α$-EFX and ensuring termination in a polynomial number of steps. The proof was developed using GPT-6.2 Astra in Codex. The existence theorem has been formally verified using Lean~4.24.0. The formalisation is available at github.com/severus-tux/alpha_efx_lean .

Authors: Vishwa Prakash HV

We show that a complete $α$-EFX allocation always exists for agents with non-negative additive valuations, where $α\approx 0.647799$ is the unique real root of $2x^3-2x^2+2x-1=0$. This improves upon the previously known guarantee of $(\sqrt{5}-1)/2$ for an arbitrary number of agents. Moreover, we give a strongly polynomial-time algorithm for computing such an allocation. Our approach uses a maximum-product matching and an associated rescaling of the valuations. By constructing three-good bundles whose two unmatched goods alone guarantee sufficient utility to their owners, we are able to reassign matched goods and obtain a partial $α$-EFX allocation in which every agent values all but at most one unassigned good at no more than $(1/α-1)$ times the value of their own bundle. We then develop a generalisation of envy-cycle elimination that allows decreases in agents' utilities and the return of previously assigned goods to the unassigned pool, while preserving $α$-EFX and ensuring termination in a polynomial number of steps. The proof was developed using GPT-6.2 Astra in Codex. The existence theorem has been formally verified using Lean~4.24.0. The formalisation is available at https://github.com/severus-tux/alpha_efx_lean .

Edge-Colored Clustering with Soft-Penalized Node Deletions

from arXiv: Data Structures and Algorithms

Authors: Abhinav Sairam, Srikar Yalam, Nate Veldt

Given an edge-colored hypergraph, the edge-colored clustering (ECC) problem seeks to delete a minimum number of edges in order to remove conflicts, i.e., overlapping edges of different colors. This provides a framework for clustering data based on categorical group interactions. We present algorithms for a new generalization of the problem where one is additionally allowed to delete nodes to resolve conflicts. The cost of node deletion is governed by a tunable parameter, and we provide constant-factor approximation algorithms that work for any choice of parameter. We also show how to obtain approximate solutions for a sequence of parameters while ensuring solutions across different parameters are correlated by a natural nesting property. In particular, if a node is deleted for one value of the penalty parameter, it will also be deleted for all smaller penalty parameter. We demonstrate the performance and utility of our algorithms on hypergraph datasets where node deletions are especially useful for identifying outliers, including results on a new edge-colored hypergraph with over 1 million hyperedges, encoding posts on Stackexchange.

Authors: Abhinav Sairam, Srikar Yalam, Nate Veldt

Given an edge-colored hypergraph, the edge-colored clustering (ECC) problem seeks to delete a minimum number of edges in order to remove conflicts, i.e., overlapping edges of different colors. This provides a framework for clustering data based on categorical group interactions. We present algorithms for a new generalization of the problem where one is additionally allowed to delete nodes to resolve conflicts. The cost of node deletion is governed by a tunable parameter, and we provide constant-factor approximation algorithms that work for any choice of parameter. We also show how to obtain approximate solutions for a sequence of parameters while ensuring solutions across different parameters are correlated by a natural nesting property. In particular, if a node is deleted for one value of the penalty parameter, it will also be deleted for all smaller penalty parameter. We demonstrate the performance and utility of our algorithms on hypergraph datasets where node deletions are especially useful for identifying outliers, including results on a new edge-colored hypergraph with over 1 million hyperedges, encoding posts on Stackexchange.

Prism Tables: Improving Time-Memory Tradeoffs for Function Inversion

from arXiv: Data Structures and Algorithms

Authors: Moni Naor, Michael Sieradzki

We introduce prism tables, which improve the time-memory tradeoff for inverting a function $f\colon[N]\to[N]$ by a factor of $\log N$. For a random function, it gives $TM^2=O(N^2/\log N)$, the first asymptotic improvement on Hellman's classical 1980 tradeoff of $TM^2=O(N^2)$. Here $M$ counts the words of precomputed advice about $f$ and $T$ the expected number of online evaluations needed to find a preimage of a given challenge. For arbitrary functions the tradeoff becomes $TM^2=O(N^3q(f)/\log N)$, where $q(f)$ is the collision probability of $f$, and $TM^3=O(N^3/\log N)$ in the worst case. We give rainbow tables (Oechslin, 2003) the rigorous worst-case guarantees that Fiat and Naor established for Hellman's tables. Rather than relying on randomness assumptions, the tables use explicit pairwise independent functions, stored and counted as part of the advice. Following Fiat and Naor, we store images with many preimages separately and let the chains bypass them. Prism tables extend this rainbow construction by storing compact information that tells the online search whether it is on the right track or on a path leading nowhere. Concretely, we place a Bloom filter at $\log N$ selected columns, each holding all the chain values in its column. The filters let the search identify and discard most wrong column (color) guesses well before the endpoint. This cuts the expected work on incorrect guesses, including false alarms, by a factor of $\log N$, and with it the online cost. Since the filters have no false negatives, prism tables preserve the success probability of the underlying rainbow tables. The improvement is already visible in experiments on AES-based functions with $N\approx 2^{20}$ to $2^{32}$: on average, prism tables used $1.92$ to $2.95\times$ fewer online evaluations than rainbow tables at equal storage and similar success rate, with the gain growing like $\log N$.

Authors: Moni Naor, Michael Sieradzki

We introduce prism tables, which improve the time-memory tradeoff for inverting a function $f\colon[N]\to[N]$ by a factor of $\log N$. For a random function, it gives $TM^2=O(N^2/\log N)$, the first asymptotic improvement on Hellman's classical 1980 tradeoff of $TM^2=O(N^2)$. Here $M$ counts the words of precomputed advice about $f$ and $T$ the expected number of online evaluations needed to find a preimage of a given challenge. For arbitrary functions the tradeoff becomes $TM^2=O(N^3q(f)/\log N)$, where $q(f)$ is the collision probability of $f$, and $TM^3=O(N^3/\log N)$ in the worst case. We give rainbow tables (Oechslin, 2003) the rigorous worst-case guarantees that Fiat and Naor established for Hellman's tables. Rather than relying on randomness assumptions, the tables use explicit pairwise independent functions, stored and counted as part of the advice. Following Fiat and Naor, we store images with many preimages separately and let the chains bypass them. Prism tables extend this rainbow construction by storing compact information that tells the online search whether it is on the right track or on a path leading nowhere. Concretely, we place a Bloom filter at $\log N$ selected columns, each holding all the chain values in its column. The filters let the search identify and discard most wrong column (color) guesses well before the endpoint. This cuts the expected work on incorrect guesses, including false alarms, by a factor of $\log N$, and with it the online cost. Since the filters have no false negatives, prism tables preserve the success probability of the underlying rainbow tables. The improvement is already visible in experiments on AES-based functions with $N\approx 2^{20}$ to $2^{32}$: on average, prism tables used $1.92$ to $2.95\times$ fewer online evaluations than rainbow tables at equal storage and similar success rate, with the gain growing like $\log N$.

Beyond the Quadratic Barrier for Multidimensional Grid Range Problems

from arXiv: Data Structures and Algorithms

Authors: Filippo di Gravina, Francesco Damiano Di Gregorio

We give truly subquadratic algorithms for two-dimensional Grid Range problems with sum queries and non-distributive updates. For chmax updates, we obtain deterministic $N^{22/13+o(1)}$ offline time under a square matrix multiplication exponent of $9/4$, and $\widetilde{O}(N^{7/4})$ combinatorial time even online, addressing an open problem of Lau and Ritossa (ITCS 2021). For mixed additions and assignments we obtain $N^{(25-\sqrt{19})/12+o(1)}$ offline time under an explicit rectangular arithmetic assumption, and $\widetilde{O}(N^{7/4})$ combinatorially. The common technique is to compress local histories in a spatial partition rather than materialize full-cover updates. The resulting trellised problems are equivalent to weighted masked products of two and three sparse matrices, respectively. We also obtain a matching conditional online local lower bound, a fixed-dimensional static maximum-query classification, and $\widetilde{O}(N^{(d+1)/2})$ time for static sums with additions and assignments.

Authors: Filippo di Gravina, Francesco Damiano Di Gregorio

We give truly subquadratic algorithms for two-dimensional Grid Range problems with sum queries and non-distributive updates. For chmax updates, we obtain deterministic $N^{22/13+o(1)}$ offline time under a square matrix multiplication exponent of $9/4$, and $\widetilde{O}(N^{7/4})$ combinatorial time even online, addressing an open problem of Lau and Ritossa (ITCS 2021). For mixed additions and assignments we obtain $N^{(25-\sqrt{19})/12+o(1)}$ offline time under an explicit rectangular arithmetic assumption, and $\widetilde{O}(N^{7/4})$ combinatorially. The common technique is to compress local histories in a spatial partition rather than materialize full-cover updates. The resulting trellised problems are equivalent to weighted masked products of two and three sparse matrices, respectively. We also obtain a matching conditional online local lower bound, a fixed-dimensional static maximum-query classification, and $\widetilde{O}(N^{(d+1)/2})$ time for static sums with additions and assignments.

Deterministic Approximate Counting Beyond Bounded Degree

from arXiv: Data Structures and Algorithms

Authors: Yitong Yin, Xinyuan Zhang

We develop a method for deterministic approximate counting on graphs without degree restrictions. For the hardcore and zero-field Ising models, our method improves the previous deterministic running-time bounds from quasipolynomial to polynomial time on general graphs. In their tree-uniqueness regimes with any fixed slack $δ\in(0,1)$, our algorithms achieve relative error $ε$ in $(n/ε)^{O_δ(1)}$ time on any $n$-vertex graph. The same bound also holds for proper $q$-colorings when $q\ge(2+δ)Δ$, where the maximum degree $Δ$ may grow with $n$. For the monomer-dimer model at fixed activity, our method improves the previous subexponential bound to quasipolynomial time. Our method first gives a deterministic FPTAS under a general high-temperature condition by expanding the vertex-deletion recursion as geometric series and compressing the resulting sums of products. We then rely on zero-freeness of the partition functions to extend these estimates to the target regimes by analytic extrapolation.

Authors: Yitong Yin, Xinyuan Zhang

We develop a method for deterministic approximate counting on graphs without degree restrictions. For the hardcore and zero-field Ising models, our method improves the previous deterministic running-time bounds from quasipolynomial to polynomial time on general graphs. In their tree-uniqueness regimes with any fixed slack $δ\in(0,1)$, our algorithms achieve relative error $ε$ in $(n/ε)^{O_δ(1)}$ time on any $n$-vertex graph. The same bound also holds for proper $q$-colorings when $q\ge(2+δ)Δ$, where the maximum degree $Δ$ may grow with $n$. For the monomer-dimer model at fixed activity, our method improves the previous subexponential bound to quasipolynomial time. Our method first gives a deterministic FPTAS under a general high-temperature condition by expanding the vertex-deletion recursion as geometric series and compressing the resulting sums of products. We then rely on zero-freeness of the partition functions to extend these estimates to the target regimes by analytic extrapolation.

List coloring in hereditary classes of ordered graphs, revisited

from arXiv: Data Structures and Algorithms

Authors: Paweł Rafał Bieliński, Michał Dębski, Marta Piecyk, Paweł Rzążewski, Jakub Żuchowski

For a fixed positive integer $k$, in the List $q$-Coloring problem, we are given a graph $G$ whose every vertex $v$ is equipped with a list $L(v)\subseteq \{1,\ldots,q\}$, and the task is to determine whether there exists a proper coloring that respects the lists $L$. Hajebi, Li, and Spirkl [SIAM J. Discr. Math. 38 (2024)] initiated the study of the complexity of the problem for $k=3$ on $H$-free ordered graphs, i.e., graphs given with a linear ordering of vertices that do not contain some fixed ordered graph $H$ as an induced subgraph. This line of research was continued by Piecyk and Rzążewski [STACS 2026], who studied List $q$-Coloring for larger values of $k$, focusing mostly on the case $q=4$. In this paper, we investigate the remaining gaps in the complexity of List $q$-Coloring on $H$-free ordered graphs. We provide a full dichotomy, for each $q$ and $H$ classifying the problem as either quasipolynomial-time solvable, or \NP-hard. For $q \geq 4$, we actually show a stronger dichotomy into polynomial-time solvable and \NP-hard cases. Finally, we revisit some of the \NP-hard cases showing a subexponential-time algorithm and some (quasi)polynomial-time algorithms for the promise variant of the problem.

Authors: Paweł Rafał Bieliński, Michał Dębski, Marta Piecyk, Paweł Rzążewski, Jakub Żuchowski

For a fixed positive integer $k$, in the List $q$-Coloring problem, we are given a graph $G$ whose every vertex $v$ is equipped with a list $L(v)\subseteq \{1,\ldots,q\}$, and the task is to determine whether there exists a proper coloring that respects the lists $L$. Hajebi, Li, and Spirkl [SIAM J. Discr. Math. 38 (2024)] initiated the study of the complexity of the problem for $k=3$ on $H$-free ordered graphs, i.e., graphs given with a linear ordering of vertices that do not contain some fixed ordered graph $H$ as an induced subgraph. This line of research was continued by Piecyk and Rzążewski [STACS 2026], who studied List $q$-Coloring for larger values of $k$, focusing mostly on the case $q=4$. In this paper, we investigate the remaining gaps in the complexity of List $q$-Coloring on $H$-free ordered graphs. We provide a full dichotomy, for each $q$ and $H$ classifying the problem as either quasipolynomial-time solvable, or \NP-hard. For $q \geq 4$, we actually show a stronger dichotomy into polynomial-time solvable and \NP-hard cases. Finally, we revisit some of the \NP-hard cases showing a subexponential-time algorithm and some (quasi)polynomial-time algorithms for the promise variant of the problem.

A Sharp Density Threshold for Pinwheel Covering with Three Distinct Periods

from arXiv: Data Structures and Algorithms

Authors: Aarav Jalan

In pinwheel covering, a task must be performed in every time slot by one of finitely many agents, and each agent may work at most once in any window of consecutive slots whose length is its period. The density of an instance is the sum of the reciprocals of the periods. Density at least one is necessary for a schedule to exist, but it is not sufficient, and it is known that a density of about 1.264 is the optimal general guarantee. We study instances whose periods take at most three distinct values, and prove that every such instance with density at least thirteen twelfths admits a schedule. This constant is best possible. The proof combines a folding reduction with an exact identity for the density lost through rounding, and reduces the remaining cases to three configurations, each with an explicit periodic schedule. The construction yields a schedule in which the agent assigned to any slot can be computed with a constant number of arithmetic operations. We also prove, for every number of distinct periods, a lower bound on the corresponding density threshold.

Authors: Aarav Jalan

In pinwheel covering, a task must be performed in every time slot by one of finitely many agents, and each agent may work at most once in any window of consecutive slots whose length is its period. The density of an instance is the sum of the reciprocals of the periods. Density at least one is necessary for a schedule to exist, but it is not sufficient, and it is known that a density of about 1.264 is the optimal general guarantee. We study instances whose periods take at most three distinct values, and prove that every such instance with density at least thirteen twelfths admits a schedule. This constant is best possible. The proof combines a folding reduction with an exact identity for the density lost through rounding, and reduces the remaining cases to three configurations, each with an explicit periodic schedule. The construction yields a schedule in which the agent assigned to any slot can be computed with a constant number of arithmetic operations. We also prove, for every number of distinct periods, a lower bound on the corresponding density threshold.

Space-Optimal Spanning Tree Algorithms in Bounded-Deletion Streams

from arXiv: Data Structures and Algorithms

Authors: Tsun-Ming Cheung, Yu Hsiang, Shang-En Huang, Peng-Ting Lin, Meng-Tsung Tsai

We determine the optimal single-pass space complexity of computing a spanning forest of an $n$-vertex simple graph in a stream of edge insertions and at most $k$ deletions. For $1\le k\le n^2$ and any fixed failure probability $0<δ\le 1/3$, the optimal randomized space is $Θ_δ(n\log n\,\log^2(2k))$ bits. For every fixed $c>0$, our upper and lower bounds match throughout the range $n^{-c}\leδ\le 1/3$. At $δ=n^{-c}$, the optimal space is $Θ_c\!\left(n\log^2 n\,\log\!\left(1+\frac{k}{\log n}\right)\right)$ bits. We also give a dynamic data structure with polylogarithmic worst-case update time and $O(\log n/\log\log n)$ worst-case connectivity query time. For every oblivious update sequence with at most $k$ deletions, the probability that it maintains a spanning forest of the current graph after every update is at least $1-n^{-c}$. For the deterministic setting, we prove that for every $k\ge 1$, the optimal streaming space is $Θ\!\left(\min\!\left\{n^2, nk\log\!\left(1+\frac{n}{k}\right)\right\}\right)$ bits. The matching upper bound is achieved by maintaining a sparse edge-connectivity certificate. These results also provide a basis for space-efficient algorithms in the bounded-deletion model for edge- and vertex-connectivity certificates, bipartiteness testing, maximum-leaf spanning-tree sparsification, and approximate minimum spanning trees. These applications build on reductions to spanning-tree or edge-maximal spanning-forest computation, with appropriate control of the deletion bounds and failure probabilities of the resulting subroutines.

Authors: Tsun-Ming Cheung, Yu Hsiang, Shang-En Huang, Peng-Ting Lin, Meng-Tsung Tsai

We determine the optimal single-pass space complexity of computing a spanning forest of an $n$-vertex simple graph in a stream of edge insertions and at most $k$ deletions. For $1\le k\le n^2$ and any fixed failure probability $0<δ\le 1/3$, the optimal randomized space is $Θ_δ(n\log n\,\log^2(2k))$ bits. For every fixed $c>0$, our upper and lower bounds match throughout the range $n^{-c}\leδ\le 1/3$. At $δ=n^{-c}$, the optimal space is $Θ_c\!\left(n\log^2 n\,\log\!\left(1+\frac{k}{\log n}\right)\right)$ bits. We also give a dynamic data structure with polylogarithmic worst-case update time and $O(\log n/\log\log n)$ worst-case connectivity query time. For every oblivious update sequence with at most $k$ deletions, the probability that it maintains a spanning forest of the current graph after every update is at least $1-n^{-c}$. For the deterministic setting, we prove that for every $k\ge 1$, the optimal streaming space is $Θ\!\left(\min\!\left\{n^2, nk\log\!\left(1+\frac{n}{k}\right)\right\}\right)$ bits. The matching upper bound is achieved by maintaining a sparse edge-connectivity certificate. These results also provide a basis for space-efficient algorithms in the bounded-deletion model for edge- and vertex-connectivity certificates, bipartiteness testing, maximum-leaf spanning-tree sparsification, and approximate minimum spanning trees. These applications build on reductions to spanning-tree or edge-maximal spanning-forest computation, with appropriate control of the deletion bounds and failure probabilities of the resulting subroutines.

Quantum Speedups for Integer Linear Programming

from arXiv: Data Structures and Algorithms

Authors: Brandon Augustino, Shouvanik Chakrabarti

We give a quantum algorithm for integer linear programming (ILP), which, given a rational matrix $A$ with $n$ columns and a rational vector $b$, asks to find $x\in\mathbb{Z}^n$ with $Ax\leq b$, or show that none exists. For input length $L$ and any fixed failure probability, it uses at most $2^{O(n)}(\log(2n))^{n}\operatorname{poly}(L)$ gates. To our knowledge, it is the first quantum algorithm in the literature to beat the best previously published classical worst-case bound for general ILP, $2^{O(n)}(\log(2n))^{4n}\operatorname{poly}(L)$, due to Reis and Rothvoss (FOCS 2023). Our algorithm searches the tree of their subspace-flatness recursion, using lattice sparsification to give each branch a short address, reversibly decodable without listing the others. We also improve the classical bound to $2^{O(n)}(\log(2n))^{2n}\operatorname{poly}(L)$: a rank-weighted variant of Dadush's Gaussian hyperplane descent, which needs no stable filtration, constructs subspaces along which the recursion branches only $O(\log^2(2n))$ ways per dimension it removes, compared with $O(\log^4(2n))$ for Reis and Rothvoss. The quantum speedup is thus quadratic up to $2^{O(n)}$ factors, and holds instance by instance. With high probability, the quantum gate count is at most $2^{O(n)}\operatorname{poly}(L)$ times the square root of the time of the address-ordered depth-first classical reference run of the recursion, with our improved flatness routine and the same random setup. For bounded equation form $Ax=b$, $0\leq x\leq u$, with positive integer bounds $u_i$, a quantum algorithm uses at most $2^{O(n)}(\prod_i\log_2(u_i+1))^{1/2}\operatorname{poly}(L)$ gates for feasibility and optimization, accelerating the algorithm of Dadush, Eisenbrand, and Rothvoss (Mathematical Programming, 2025).

Authors: Brandon Augustino, Shouvanik Chakrabarti

We give a quantum algorithm for integer linear programming (ILP), which, given a rational matrix $A$ with $n$ columns and a rational vector $b$, asks to find $x\in\mathbb{Z}^n$ with $Ax\leq b$, or show that none exists. For input length $L$ and any fixed failure probability, it uses at most $2^{O(n)}(\log(2n))^{n}\operatorname{poly}(L)$ gates. To our knowledge, it is the first quantum algorithm in the literature to beat the best previously published classical worst-case bound for general ILP, $2^{O(n)}(\log(2n))^{4n}\operatorname{poly}(L)$, due to Reis and Rothvoss (FOCS 2023). Our algorithm searches the tree of their subspace-flatness recursion, using lattice sparsification to give each branch a short address, reversibly decodable without listing the others. We also improve the classical bound to $2^{O(n)}(\log(2n))^{2n}\operatorname{poly}(L)$: a rank-weighted variant of Dadush's Gaussian hyperplane descent, which needs no stable filtration, constructs subspaces along which the recursion branches only $O(\log^2(2n))$ ways per dimension it removes, compared with $O(\log^4(2n))$ for Reis and Rothvoss. The quantum speedup is thus quadratic up to $2^{O(n)}$ factors, and holds instance by instance. With high probability, the quantum gate count is at most $2^{O(n)}\operatorname{poly}(L)$ times the square root of the time of the address-ordered depth-first classical reference run of the recursion, with our improved flatness routine and the same random setup. For bounded equation form $Ax=b$, $0\leq x\leq u$, with positive integer bounds $u_i$, a quantum algorithm uses at most $2^{O(n)}(\prod_i\log_2(u_i+1))^{1/2}\operatorname{poly}(L)$ gates for feasibility and optimization, accelerating the algorithm of Dadush, Eisenbrand, and Rothvoss (Mathematical Programming, 2025).

$k$'s a crowd: Reconfiguring independent sets in temporal graphs

from arXiv: Data Structures and Algorithms

Authors: Duncan Adamson

In \textsc{Temporal Independent Set Reconfiguration}, we seek the maximum number of tokens that can occupy distinct, pairwise non-adjacent vertices in every snapshot of a temporal graph. To obtain the next set, each token may stay in place or slide along one edge of the current snapshot. In this paper, we show that we can find, in $O(nT)$ time, a maximum reconfigurable sequence on temporal path graphs of $n$ vertices. Further, we provide a new hardness bound, showing that deciding whether a reconfigurable sequence of size $k$ exists is NP-complete even when the underlying graph is a tree of depth two.

Authors: Duncan Adamson

In \textsc{Temporal Independent Set Reconfiguration}, we seek the maximum number of tokens that can occupy distinct, pairwise non-adjacent vertices in every snapshot of a temporal graph. To obtain the next set, each token may stay in place or slide along one edge of the current snapshot. In this paper, we show that we can find, in $O(nT)$ time, a maximum reconfigurable sequence on temporal path graphs of $n$ vertices. Further, we provide a new hardness bound, showing that deciding whether a reconfigurable sequence of size $k$ exists is NP-complete even when the underlying graph is a tree of depth two.

Logarithmic Bounds for the Time-Optimal $k$-Server Problem on the Line with Cumulative Requests

from arXiv: Data Structures and Algorithms

Authors: Hannah Schwede

In the time model of the $k$-server problem, all servers move simultaneously and the cost of a request is the maximum distance traveled by any server. Even on the line, no deterministic online algorithm is better than $(k+1)$-competitive. We study a variant on the infinite discrete line in which requests are cumulative: a point requested $t$ times must hold $t$ servers. All $k$ servers start at a common origin, there are exactly $k$ requests, and every server serves exactly one request and stays at its point afterwards, for example to carry out a service there. Our model may also help to understand the general time-optimal $k$-server problem. We show that, in contrast to the general problem, the best deterministic and randomized strict competitive ratios are $Θ(\log k)$, independently of the largest distance $α$ of a request from the origin. Our lower bounds hold even if $α$ is known, while our algorithm, which keeps the free servers evenly distributed over the current request range, does not need to know $α$. For every fixed $α$, the best deterministic competitive ratio is $c_α\ln k + O(1)$ with an explicit constant $c_α\in (2, 2+1/α)$. For $k \leq 2α+1$, the leading coefficients of our deterministic bounds differ by a factor of $2$. A tight bound of $1+H(k-1)$ on the continuous cycle, for instances with a request opposite to the origin, matches the limit of our lower bound on the line as $α\to \infty$ and suggests that this gap stems from the two ends of the line.

Authors: Hannah Schwede

In the time model of the $k$-server problem, all servers move simultaneously and the cost of a request is the maximum distance traveled by any server. Even on the line, no deterministic online algorithm is better than $(k+1)$-competitive. We study a variant on the infinite discrete line in which requests are cumulative: a point requested $t$ times must hold $t$ servers. All $k$ servers start at a common origin, there are exactly $k$ requests, and every server serves exactly one request and stays at its point afterwards, for example to carry out a service there. Our model may also help to understand the general time-optimal $k$-server problem. We show that, in contrast to the general problem, the best deterministic and randomized strict competitive ratios are $Θ(\log k)$, independently of the largest distance $α$ of a request from the origin. Our lower bounds hold even if $α$ is known, while our algorithm, which keeps the free servers evenly distributed over the current request range, does not need to know $α$. For every fixed $α$, the best deterministic competitive ratio is $c_α\ln k + O(1)$ with an explicit constant $c_α\in (2, 2+1/α)$. For $k \leq 2α+1$, the leading coefficients of our deterministic bounds differ by a factor of $2$. A tight bound of $1+H(k-1)$ on the continuous cycle, for instances with a request opposite to the origin, matches the limit of our lower bound on the line as $α\to \infty$ and suggests that this gap stems from the two ends of the line.

ESPRESSO: Probabilistic Edge Strength under Triadic Pressure

from arXiv: Data Structures and Algorithms

Authors: Lutz Oettershagen, Ilie Sarpe

Strong Triadic Closure (STC) is a fundamental model of tie strength in social networks, labeling each connection as strong or weak: if a node has strong ties to two other nodes, then those nodes must be connected. Most existing STC methods produce hard binary labelings, which cannot capture the uncertainty and conflicting structural evidence of real networks. We propose ESPRESSO, a STC-based model for probabilistic structural tie strength. Our model assigns each edge a probability of being strong, inducing a distribution over binary edge labelings. Each probability represents a structural score induced by the model. The model's probabilities are computed by optimizing an objective function capturing the expected STC cost under this distribution, with entropy regularization. Our objective can be optimized by mirror descent, with a closed-form learning rate: the exact algorithm N-ESPRESSO achieves linear convergence, above a given regularization threshold. We further develop sampling-based variants with approximation guarantees that avoid costly triangle enumeration over gradient updates and scale to large networks.Experiments show that our objective function has predictable parameter behavior, that its probabilities differentiate tie strength on a real social network, and that they improve the discovery of dense subgraphs under STC. Our sampling-based variants scale to large and dense graphs where our exact algorithms exceed the time or memory limits.

Authors: Lutz Oettershagen, Ilie Sarpe

Strong Triadic Closure (STC) is a fundamental model of tie strength in social networks, labeling each connection as strong or weak: if a node has strong ties to two other nodes, then those nodes must be connected. Most existing STC methods produce hard binary labelings, which cannot capture the uncertainty and conflicting structural evidence of real networks. We propose ESPRESSO, a STC-based model for probabilistic structural tie strength. Our model assigns each edge a probability of being strong, inducing a distribution over binary edge labelings. Each probability represents a structural score induced by the model. The model's probabilities are computed by optimizing an objective function capturing the expected STC cost under this distribution, with entropy regularization. Our objective can be optimized by mirror descent, with a closed-form learning rate: the exact algorithm N-ESPRESSO achieves linear convergence, above a given regularization threshold. We further develop sampling-based variants with approximation guarantees that avoid costly triangle enumeration over gradient updates and scale to large networks.Experiments show that our objective function has predictable parameter behavior, that its probabilities differentiate tie strength on a real social network, and that they improve the discovery of dense subgraphs under STC. Our sampling-based variants scale to large and dense graphs where our exact algorithms exceed the time or memory limits.

Fixed-Capacity Limits of Linearizable Mergeable Cardinality Sketches: Tight Bounds and CapPCSA

from arXiv: Data Structures and Algorithms

Authors: Bowen Jiang, Xue Wang, Tao Yao

Strictly mergeable cardinality sketches evaluate COUNT(DISTINCT) across arbitrary aggregation trees with states bit-identical to sequential union. Variable-length or overflow-prone designs (e.g., Apache CPC and multi-cell Fishmonger) approach Pettie and Wang's linearizable Shannon-entropy floor of 1.980. Yet fixed-width Parquet columns and bounded-slot frames require zero-overflow (delta = 0) fixed wire capacity, where prior fixed-size linearizable sketches suffer memory-variance products (MVPs) strictly above 3.00 on 64-bit universes. We close this gap with three contributions. First, we prove that deterministic fixed capacity raises the asymptotically tight linearizable limits to 2.45926 (+24.2% above 1.980) for inverse-Fisher MVP and 1.82043 (+11.8% above 1.62862) for state-change rate, alongside an implication-DAG criterion and linearizable top-collapse corollary. On matched 64-bit windows, a left-shifted integration window converges at O((ln ln d)/d) and certifies non-vacuous bounds 2.355-2.363. Second, we construct CapPCSA, a pooled-tail PCSA closure matching both limits asymptotically and certifying five 64-bit configurations with inverse-Fisher UB below 3.00 (+14.7%-+25.5% Exact / +14.9%-+26.9% Fast above matched lower bounds), paired with zero-allocation delta = 0 codecs (CapPCSA-Fast, 15.9-34.3 us at g = 2,048 on M5; RawEF). Across 16 real-hash phases, Fast achieves 2.79-2.83 mean MVP (cutting 23.6%-26.5% vs. ExaLogLog-28/32b). Dual-host and Parquet runs map the system trade-offs: CapPCSA leads fixed-wire catalog size and FLBA NONE/LZ4 storage, ties ULL-8b and CPC on 16-phase ZSTD MVP, and trades higher working RAM and small-n hashing cost for provable delta = 0. Third, we prove a continuous smoothed ExaLogLog relaxation diverges as (ln Lambda + ln ln Lambda)/I_0 + O(1) for Lambda = log_2 log_2 U.

Authors: Bowen Jiang, Xue Wang, Tao Yao

Strictly mergeable cardinality sketches evaluate COUNT(DISTINCT) across arbitrary aggregation trees with states bit-identical to sequential union. Variable-length or overflow-prone designs (e.g., Apache CPC and multi-cell Fishmonger) approach Pettie and Wang's linearizable Shannon-entropy floor of 1.980. Yet fixed-width Parquet columns and bounded-slot frames require zero-overflow (delta = 0) fixed wire capacity, where prior fixed-size linearizable sketches suffer memory-variance products (MVPs) strictly above 3.00 on 64-bit universes. We close this gap with three contributions. First, we prove that deterministic fixed capacity raises the asymptotically tight linearizable limits to 2.45926 (+24.2% above 1.980) for inverse-Fisher MVP and 1.82043 (+11.8% above 1.62862) for state-change rate, alongside an implication-DAG criterion and linearizable top-collapse corollary. On matched 64-bit windows, a left-shifted integration window converges at O((ln ln d)/d) and certifies non-vacuous bounds 2.355-2.363. Second, we construct CapPCSA, a pooled-tail PCSA closure matching both limits asymptotically and certifying five 64-bit configurations with inverse-Fisher UB below 3.00 (+14.7%-+25.5% Exact / +14.9%-+26.9% Fast above matched lower bounds), paired with zero-allocation delta = 0 codecs (CapPCSA-Fast, 15.9-34.3 us at g = 2,048 on M5; RawEF). Across 16 real-hash phases, Fast achieves 2.79-2.83 mean MVP (cutting 23.6%-26.5% vs. ExaLogLog-28/32b). Dual-host and Parquet runs map the system trade-offs: CapPCSA leads fixed-wire catalog size and FLBA NONE/LZ4 storage, ties ULL-8b and CPC on 16-phase ZSTD MVP, and trades higher working RAM and small-n hashing cost for provable delta = 0. Third, we prove a continuous smoothed ExaLogLog relaxation diverges as (ln Lambda + ln ln Lambda)/I_0 + O(1) for Lambda = log_2 log_2 U.

Constant Competitive Ratios for Stochastic Online Metric Matching

from arXiv: Data Structures and Algorithms

Authors: Chenglin Fan, Mingyu Kang

In stochastic online metric matching, $n$ server locations are known in advance, and $n$ requests are drawn independently from a common distribution. Each request must be matched to an unused server upon arrival. The goal is to minimize the total matching cost. We prove that Fair-Bias, the algorithm of Gupta, Guruganesh, Peng, and Wajc, is $700$-competitive on any metric space when each request arrives at the location of a uniformly random server. The previous best bound was $O((\log\log\log n)^2)$. When the request distribution is unknown and no prior samples are available, our result implies that Harada's algorithm is $4201$-competitive on finite metric spaces. By projecting requests to their nearest servers, we obtain a competitive ratio of $8403$ on arbitrary metric spaces. Our proof samples servers independently and integrates the expected transportation cost over the sampling probability. We group nearby servers and use the transportation cost at a lower sampling rate to control the contribution of large local sample counts. We also extend a bound on the expected cost of a single match from tree metrics to general metrics, up to a constant factor.

Authors: Chenglin Fan, Mingyu Kang

In stochastic online metric matching, $n$ server locations are known in advance, and $n$ requests are drawn independently from a common distribution. Each request must be matched to an unused server upon arrival. The goal is to minimize the total matching cost. We prove that Fair-Bias, the algorithm of Gupta, Guruganesh, Peng, and Wajc, is $700$-competitive on any metric space when each request arrives at the location of a uniformly random server. The previous best bound was $O((\log\log\log n)^2)$. When the request distribution is unknown and no prior samples are available, our result implies that Harada's algorithm is $4201$-competitive on finite metric spaces. By projecting requests to their nearest servers, we obtain a competitive ratio of $8403$ on arbitrary metric spaces. Our proof samples servers independently and integrates the expected transportation cost over the sampling probability. We group nearby servers and use the transportation cost at a lower sampling rate to control the contribution of large local sample counts. We also extend a bound on the expected cost of a single match from tree metrics to general metrics, up to a constant factor.

Achieving $1-1/e$ in Online Matching with Unit-Capacity Reusable Resources

from arXiv: Data Structures and Algorithms

Authors: Yilin Cheng

We study online bipartite matching with one unit of each resource. Assigning a resource earns its known weight and makes it unavailable for a common deterministic duration. Delong et al. achieved a competitive ratio of $58.9\%$ and asked whether $1-1/e$ is attainable. We give a randomized policy whose expected reward on every fixed input is at least $1-1/e$ (approximately $63.21\%$) times the optimum of the fractional window relaxation. When a resource loses a bid, the policy suspends the ranks that would have won and restores them one service duration later. This timing lets the analysis charge a request to an earlier match of a resource that is now busy. The ratio is optimal uniformly over durations. With at most one request per integer slot and duration $d$, the same policy guarantees $1-1/e+2^{-21}/d^2$. At $d=2$, a separate policy attains the optimal worst-case ratio of $3/4$.

Authors: Yilin Cheng

We study online bipartite matching with one unit of each resource. Assigning a resource earns its known weight and makes it unavailable for a common deterministic duration. Delong et al. achieved a competitive ratio of $58.9\%$ and asked whether $1-1/e$ is attainable. We give a randomized policy whose expected reward on every fixed input is at least $1-1/e$ (approximately $63.21\%$) times the optimum of the fractional window relaxation. When a resource loses a bid, the policy suspends the ranks that would have won and restores them one service duration later. This timing lets the analysis charge a request to an earlier match of a resource that is now busy. The ratio is optimal uniformly over durations. With at most one request per integer slot and duration $d$, the same policy guarantees $1-1/e+2^{-21}/d^2$. At $d=2$, a separate policy attains the optimal worst-case ratio of $3/4$.

A Better Approximation Algorithm for $k$-Delivery Traveling Salesman Problem

from arXiv: Data Structures and Algorithms

Authors: Jiajun He, Guochuan Zhang

Given a metric graph in which each vertex either supplies or requires one item, where all items are identical, we consider the problem of transporting all items from pickup points to delivery points using a vehicle of capacity $k$. The objective is to minimize the total distance traveled by the vehicle. This problem generalizes the traveling salesman problem and is referred to as $k$-delivery TSP. The best known approximation algorithm achieves an approximation factor of 5 by Charikar et al. (2001). Their method first constructs an approximate TSP tour, partitions it into segments according to the vehicle capacity, and matches the segments. The vehicle then travels between matched segments to complete the pickups and deliveries. This construction incurs round trips along matching edges and repeated travel within segments. It motivates us to reorganize the segments and matching edges to reduce the number of edge traversals, yielding a 4-approximation algorithm.

Authors: Jiajun He, Guochuan Zhang

Given a metric graph in which each vertex either supplies or requires one item, where all items are identical, we consider the problem of transporting all items from pickup points to delivery points using a vehicle of capacity $k$. The objective is to minimize the total distance traveled by the vehicle. This problem generalizes the traveling salesman problem and is referred to as $k$-delivery TSP. The best known approximation algorithm achieves an approximation factor of 5 by Charikar et al. (2001). Their method first constructs an approximate TSP tour, partitions it into segments according to the vehicle capacity, and matches the segments. The vehicle then travels between matched segments to complete the pickups and deliveries. This construction incurs round trips along matching edges and repeated travel within segments. It motivates us to reorganize the segments and matching edges to reduce the number of edge traversals, yielding a 4-approximation algorithm.

Exact Capacitated Vehicle Routing in Base-Two Exponential Time

from arXiv: Data Structures and Algorithms

Authors: Tien Mai

We give a deterministic exact algorithm for single-depot capacitated vehicle routing with $n$ customers, interchangeable vehicles, and one capacity constraint. It returns optimal routes or reports infeasibility in $2^n\operatorname{poly}(L_{\mathrm{in}})$ time and space, where $L_{\mathrm{in}}$ is the binary input length. Demands, vehicle capacity $Q$, and directed arc costs may be arbitrary nonnegative integers, and the fleet size may be limited or unlimited. The capacity-indexed dynamic program has a factor linear in $Q$, and bounded-weight subset convolution has a factor linear in the largest arc cost. Our algorithm exploits the fact that covers of a fixed customer set by exactly $b$ routes have the same total unused capacity. Removing a route with at least the average unused capacity allows many customer sets to share one path computation. If $Q>0$ and every demand fits in one vehicle, the bound improves to $O^*(2^{n-(1-\log_3 2)W})$, where $W$ is total demand divided by $Q$. We also give an $O^*(2.70172^n)$ algorithm for adding a feasible route to an arbitrary table of source costs, with extensions to explicitly listed heterogeneous fleets and any fixed number of capacity constraints.

Authors: Tien Mai

We give a deterministic exact algorithm for single-depot capacitated vehicle routing with $n$ customers, interchangeable vehicles, and one capacity constraint. It returns optimal routes or reports infeasibility in $2^n\operatorname{poly}(L_{\mathrm{in}})$ time and space, where $L_{\mathrm{in}}$ is the binary input length. Demands, vehicle capacity $Q$, and directed arc costs may be arbitrary nonnegative integers, and the fleet size may be limited or unlimited. The capacity-indexed dynamic program has a factor linear in $Q$, and bounded-weight subset convolution has a factor linear in the largest arc cost. Our algorithm exploits the fact that covers of a fixed customer set by exactly $b$ routes have the same total unused capacity. Removing a route with at least the average unused capacity allows many customer sets to share one path computation. If $Q>0$ and every demand fits in one vehicle, the bound improves to $O^*(2^{n-(1-\log_3 2)W})$, where $W$ is total demand divided by $Q$. We also give an $O^*(2.70172^n)$ algorithm for adding a feasible route to an arbitrary table of source costs, with extensions to explicitly listed heterogeneous fleets and any fixed number of capacity constraints.

Breaking 0.70 in Prophet Secretary Using Only the Mean: A Simple Two-Stage Running-Max Algorithm and Precommitted Limits

from arXiv: Data Structures and Algorithms

Authors: Dongchen Li

In the Prophet Secretary problem, $n$ independent nonnegative random variables $X_1, \dots, X_n$ arrive in uniformly random order, and an online algorithm must irrevocably select at most one item to maximize its expected value relative to $μ:= \mathbb{E}[\max_{1 \le i \le n} X_i] \in (0, \infty)$. We study the mean-only model, where the algorithm knows nothing about the distributions except the single scalar $μ$ (normalized to $μ= 1$ by scale invariance). Our main result breaks the $0.70$ competitive-ratio barrier for Prophet Secretary using a simple two-stage adaptive mean-only algorithm with an explicit 6-segment piecewise-linear threshold $θ$ and switch time $t_1 = 21/25 = 0.84$: in Phase 1 ($t < t_1$), an arriving item is accepted iff it exceeds $θ(t)$ and is a strict running maximum (using independent online tie-breakers); in Phase 2 ($t \ge t_1$), the running-maximum gate is lifted and any item exceeding $θ(t)$ is accepted. We prove that for every finite $n \ge 1$ and every independent nonnegative distribution with finite positive $μ$, this algorithm achieves competitive ratio strictly exceeding $0.7005 > 0.70$. Our proof uses only elementary probabilistic tools---sample-path truncation, inductive leave-one-out survival monotonicity, Harris's inequality, and independent-clock Phase-2 elimination---plus a finite count-spatial box cover certified in outward-rounded IEEE-754 interval arithmetic via right-endpoint lower Riemann sums. Complementing this breakthrough, we prove via joint concavity and Jensen's inequality that within the regular precommitted threshold class of Feng, Jin, Wu, and Xiang (arXiv:2610.24711), even arbitrary $n$-dependent randomized regular precommitted thresholds cannot exceed $0.694451$, showing that minimal adaptivity separates our algorithm from regular precommitted mean-only thresholds.

Authors: Dongchen Li

In the Prophet Secretary problem, $n$ independent nonnegative random variables $X_1, \dots, X_n$ arrive in uniformly random order, and an online algorithm must irrevocably select at most one item to maximize its expected value relative to $μ:= \mathbb{E}[\max_{1 \le i \le n} X_i] \in (0, \infty)$. We study the mean-only model, where the algorithm knows nothing about the distributions except the single scalar $μ$ (normalized to $μ= 1$ by scale invariance). Our main result breaks the $0.70$ competitive-ratio barrier for Prophet Secretary using a simple two-stage adaptive mean-only algorithm with an explicit 6-segment piecewise-linear threshold $θ$ and switch time $t_1 = 21/25 = 0.84$: in Phase 1 ($t < t_1$), an arriving item is accepted iff it exceeds $θ(t)$ and is a strict running maximum (using independent online tie-breakers); in Phase 2 ($t \ge t_1$), the running-maximum gate is lifted and any item exceeding $θ(t)$ is accepted. We prove that for every finite $n \ge 1$ and every independent nonnegative distribution with finite positive $μ$, this algorithm achieves competitive ratio strictly exceeding $0.7005 > 0.70$. Our proof uses only elementary probabilistic tools---sample-path truncation, inductive leave-one-out survival monotonicity, Harris's inequality, and independent-clock Phase-2 elimination---plus a finite count-spatial box cover certified in outward-rounded IEEE-754 interval arithmetic via right-endpoint lower Riemann sums. Complementing this breakthrough, we prove via joint concavity and Jensen's inequality that within the regular precommitted threshold class of Feng, Jin, Wu, and Xiang (arXiv:2610.24711), even arbitrary $n$-dependent randomized regular precommitted thresholds cannot exceed $0.694451$, showing that minimal adaptivity separates our algorithm from regular precommitted mean-only thresholds.

Square-Root Error Amplification in Proper Autoregressive Learning

from arXiv: Data Structures and Algorithms

Authors: Tao Jiang, Haoyu Zhang, Yunhe LI, Shaowei Cai

Autoregressive models are trained token by token but used to generate entire sequences, and under misspecification, maximum likelihood can amplify the best-in-class squared Hellinger error by a factor linear in the sequence length $H$. We study how much of this amplification is computationally unavoidable when the learned model must lie in the model class. For binary autoregressive linear models with bounded parameters and features, we give a polynomial-time proper learner with approximation factor $O(\min\{d,\sqrt{H}\})$, where $d$ is the parameter dimension, and we prove a finer oracle inequality that adapts to the structure of the misspecification. Conversely, assuming $\mathrm{NP}\not\subseteq\mathrm{BPP}$, no polynomial-time proper learner achieves a factor of order $o(\sqrt{H})$ at fixed accuracy and confidence uniformly over the dimension. Since a constant factor is achievable without computational constraints, these results identify square-root amplification as the sharp computational price of efficient proper autoregressive learning.

Authors: Tao Jiang, Haoyu Zhang, Yunhe LI, Shaowei Cai

Autoregressive models are trained token by token but used to generate entire sequences, and under misspecification, maximum likelihood can amplify the best-in-class squared Hellinger error by a factor linear in the sequence length $H$. We study how much of this amplification is computationally unavoidable when the learned model must lie in the model class. For binary autoregressive linear models with bounded parameters and features, we give a polynomial-time proper learner with approximation factor $O(\min\{d,\sqrt{H}\})$, where $d$ is the parameter dimension, and we prove a finer oracle inequality that adapts to the structure of the misspecification. Conversely, assuming $\mathrm{NP}\not\subseteq\mathrm{BPP}$, no polynomial-time proper learner achieves a factor of order $o(\sqrt{H})$ at fixed accuracy and confidence uniformly over the dimension. Since a constant factor is achievable without computational constraints, these results identify square-root amplification as the sharp computational price of efficient proper autoregressive learning.

Space-Optimal Streaming Algorithms via Efficient Encodings

from arXiv: Data Structures and Algorithms

Authors: Liudeng Wang, David P. Woodruff, Shenghao Xie, Samson Zhou

We study the problem of constructing coresets on data streams: Given a dataset of $n$ points in $\mathbb{R}^d$ arriving sequentially, the goal is to maintain a small weighted subset that accurately approximates the objective values of the entire dataset for a given class of query functions. Previous methods like merge-and-reduce and online sensitivity sampling required more space than the size of an optimal such subset in the offline setting. In this work, we show that such overheads are not necessary by presenting space-optimal streaming algorithms for central high-dimensional optimization problems such as Euclidean $(k,z)$-clustering and $L_p$ subspace embeddings, as well as applications to projection-cost preserving sketches. For $(k,z)$-clustering, our streaming algorithm uses memory independent of the number $n$ of input points (in words of memory) and the aspect ratio $Δ$, yielding a coreset with an optimal $\widetilde{O}\left(\frac{dk}{\min(\varepsilon^4,\varepsilon^{z+2})}\right)$ words of memory for accuracy parameter $\varepsilon\in(0,1)$. For $L_p$ subspace embeddings, where the rows of matrix $\mathbf{A} \in \mathbb{R}^{n \times d}$ arrive in an insertion-only stream, we achieve an efficient algorithm that uses optimal space for different ranges of $p$: $\widetilde{O}\left(\frac{d^2}{\varepsilon^2}\right)$ words for $p\le 2$ and $\widetilde{O}\left(\frac{d^{p/2+1}}{\varepsilon^2}\right)$ words for $p>2$, both independent of the number of rows $n$. Thus, our work shows that streaming algorithms can match offline algorithms in space complexity.

Authors: Liudeng Wang, David P. Woodruff, Shenghao Xie, Samson Zhou

We study the problem of constructing coresets on data streams: Given a dataset of $n$ points in $\mathbb{R}^d$ arriving sequentially, the goal is to maintain a small weighted subset that accurately approximates the objective values of the entire dataset for a given class of query functions. Previous methods like merge-and-reduce and online sensitivity sampling required more space than the size of an optimal such subset in the offline setting. In this work, we show that such overheads are not necessary by presenting space-optimal streaming algorithms for central high-dimensional optimization problems such as Euclidean $(k,z)$-clustering and $L_p$ subspace embeddings, as well as applications to projection-cost preserving sketches. For $(k,z)$-clustering, our streaming algorithm uses memory independent of the number $n$ of input points (in words of memory) and the aspect ratio $Δ$, yielding a coreset with an optimal $\widetilde{O}\left(\frac{dk}{\min(\varepsilon^4,\varepsilon^{z+2})}\right)$ words of memory for accuracy parameter $\varepsilon\in(0,1)$. For $L_p$ subspace embeddings, where the rows of matrix $\mathbf{A} \in \mathbb{R}^{n \times d}$ arrive in an insertion-only stream, we achieve an efficient algorithm that uses optimal space for different ranges of $p$: $\widetilde{O}\left(\frac{d^2}{\varepsilon^2}\right)$ words for $p\le 2$ and $\widetilde{O}\left(\frac{d^{p/2+1}}{\varepsilon^2}\right)$ words for $p>2$, both independent of the number of rows $n$. Thus, our work shows that streaming algorithms can match offline algorithms in space complexity.

Above the Critical Load: Maximizing Factual Recall in a Saturated Linear Associative Memory

from arXiv: Data Structures and Algorithms

Authors: HanGyeol Lee, Ananda Phan Iman, Chang Wook Ahn

Large language models generally demonstrate strong factual recall, yet the limits of what a model can recall as the number of competing associations grows remain undiscovered. Recent work has used linear associative models to determine fundamental capacity limits on the storage of input-output associations, but has left open what remains retrievable beyond them. In this work, we study the same linear associative memory model with a shared output vocabulary and characterize both the maximum fraction of associations that a memory of rank at most $m$ can recall below and above the perfect-recall threshold and its optimal accuracy in future queries. First, we show that when the load is $s > 1$ times the perfect-recall threshold, the maximum recall fraction converges to $1/s$, whereas writing all associations at equal strength in a rank-truncated outer-product sum yields vanishing recall. Second, we prove that writing a preselected fraction $0 < r < 1/s$ of the associations yields a recall fraction that converges to $r$ in the full table and an accuracy on future queries approaching the total query probability of selected associations. Lastly, we show that selecting which associations to write according to a prescribed priority order preserves the optimal recall fraction, and that selecting the most frequently queried associations also maximizes accuracy on future queries to first order.

Authors: HanGyeol Lee, Ananda Phan Iman, Chang Wook Ahn

Large language models generally demonstrate strong factual recall, yet the limits of what a model can recall as the number of competing associations grows remain undiscovered. Recent work has used linear associative models to determine fundamental capacity limits on the storage of input-output associations, but has left open what remains retrievable beyond them. In this work, we study the same linear associative memory model with a shared output vocabulary and characterize both the maximum fraction of associations that a memory of rank at most $m$ can recall below and above the perfect-recall threshold and its optimal accuracy in future queries. First, we show that when the load is $s > 1$ times the perfect-recall threshold, the maximum recall fraction converges to $1/s$, whereas writing all associations at equal strength in a rank-truncated outer-product sum yields vanishing recall. Second, we prove that writing a preselected fraction $0 < r < 1/s$ of the associations yields a recall fraction that converges to $r$ in the full table and an accuracy on future queries approaching the total query probability of selected associations. Lastly, we show that selecting which associations to write according to a prescribed priority order preserves the optimal recall fraction, and that selecting the most frequently queried associations also maximizes accuracy on future queries to first order.

Exact Tightness for Single-Sample Max-Prob Prophet Secretary and the Two-Sided Game of Googol

from arXiv: Data Structures and Algorithms

Authors: Dongchen Li

We determine the exact worst-case optimal winning probability (uniformly over finite $n \ge 1$) of pairwise-comparison algorithms for the Single-Sample Max-Prob Prophet Secretary problem and the Two-Sided Game of Googol. In the former, $n$ independent values $X_1, \dots, X_n$ from unknown distributions $D_1, \dots, D_n$ arrive in uniformly random order; given one offline sample $Y_i \sim D_i$ per distribution, the goal is to irrevocably select $\max_i X_i$. In the harder Two-Sided Game of Googol (Correa, Cristi, Epstein, and Soto, SODA 2020), an adversary pairs $2n$ distinct numbers into $n$ cards, each flipped independently and uniformly into sample $Y_k$ and online value $X_k$, arriving in random order. Nuti and Vondrak (SODA 2023) proved that no pairwise-comparison algorithm can exceed the Campbell--Samuels constant $γ= 0.502409776604\dots$ uniformly over $n$, and gave Block-Rank achieving $0.5009$ in general (and $γ$ asymptotically under a "no-superstars" assumption). We close this gap completely with Flip-Sign Block-Rank, a 1-bit modification scaling the threshold from $c_j$ to $\frac{7}{10} c_j$ ($j \ge 2$) whenever $X_k < Y_k$. We prove that for every finite $n \ge 1$ and every instance of both problems, Flip-Sign Block-Rank wins with probability strictly greater than $γ$, matching the uniform upper bound to exact tightness. Our computer-assisted proof reduces all finite instances to a two-dimensional inequality $B(v, s) > 0$ ($s \ge 1, v \ge 2s$) via dummy-card coupling, a non-monotone threshold lower bound, and pair-completion telescoping. All cases $s \ge 2$ and $s = 1, v \ge 26$ are proved analytically via two superharmonic Pascal-walk potentials, while the $24$ base cases ($s = 1, 2 \le v \le 25$) are certified using exact rational and outward-rounded IEEE-754 interval arithmetic.

Authors: Dongchen Li

We determine the exact worst-case optimal winning probability (uniformly over finite $n \ge 1$) of pairwise-comparison algorithms for the Single-Sample Max-Prob Prophet Secretary problem and the Two-Sided Game of Googol. In the former, $n$ independent values $X_1, \dots, X_n$ from unknown distributions $D_1, \dots, D_n$ arrive in uniformly random order; given one offline sample $Y_i \sim D_i$ per distribution, the goal is to irrevocably select $\max_i X_i$. In the harder Two-Sided Game of Googol (Correa, Cristi, Epstein, and Soto, SODA 2020), an adversary pairs $2n$ distinct numbers into $n$ cards, each flipped independently and uniformly into sample $Y_k$ and online value $X_k$, arriving in random order. Nuti and Vondrak (SODA 2023) proved that no pairwise-comparison algorithm can exceed the Campbell--Samuels constant $γ= 0.502409776604\dots$ uniformly over $n$, and gave Block-Rank achieving $0.5009$ in general (and $γ$ asymptotically under a "no-superstars" assumption). We close this gap completely with Flip-Sign Block-Rank, a 1-bit modification scaling the threshold from $c_j$ to $\frac{7}{10} c_j$ ($j \ge 2$) whenever $X_k < Y_k$. We prove that for every finite $n \ge 1$ and every instance of both problems, Flip-Sign Block-Rank wins with probability strictly greater than $γ$, matching the uniform upper bound to exact tightness. Our computer-assisted proof reduces all finite instances to a two-dimensional inequality $B(v, s) > 0$ ($s \ge 1, v \ge 2s$) via dummy-card coupling, a non-monotone threshold lower bound, and pair-completion telescoping. All cases $s \ge 2$ and $s = 1, v \ge 26$ are proved analytically via two superharmonic Pascal-walk potentials, while the $24$ base cases ($s = 1, 2 \le v \le 25$) are certified using exact rational and outward-rounded IEEE-754 interval arithmetic.

Optimal $\ell_p$ Row Sparsification

from arXiv: Data Structures and Algorithms

Authors: Zhao Song, Lichen Zhang

Let $S_p(r,ε)$ be the worst-case number of reweighted original rows needed to preserve $\|Ax\|_p^p$ within a factor $1\pmε$ for every query $x$ on a rank-$r$ matrix $A$. Write $L:=\log(2/ε)$ and take $0<ε\le1/2$. We obtain optimal $S_p(r, ε)$ up to constant, in several regimes. - For each fixed $0

0$. - For even $p$ the bounds match over the full accuracy range. At $p=2$ the classical count is $Θ(\min\{r/ε^2,r^2\})$. For each fixed even integer $p\ge4$, we prove $S_p(r,ε)=Θ_p(\min \{ ε^{-2} r^{p/2}, ε^{-1} r^{(p+1)/2} ,r^p \})$. - For each fixed $p>0$ outside the even integers and sufficiently large $r$, the tight bound at very high accuracy $L\ge C_p r\log(2r)$ is $ S_p(r,ε)=Θ_p( (ε^{-2}r^{1/2-p}\log(2r))^{(r-1)/(r+2p)}) $. We further provide some improved upper bound results on row count. For $1\leq p<2$ we prove an $O(r/ε^2)$ upper bound, recovering that of Reis--Rothvoss at $p=1$ and removing a factor of $\log(2r)$ for $1

2$ and $L\leq c_pr$, we show that the count is $r^{p/2}/ε^2$ up to polylogarithmic factors in $r, 1/ε$.

Authors: Zhao Song, Lichen Zhang

Let $S_p(r,ε)$ be the worst-case number of reweighted original rows needed to preserve $\|Ax\|_p^p$ within a factor $1\pmε$ for every query $x$ on a rank-$r$ matrix $A$. Write $L:=\log(2/ε)$ and take $0<ε\le1/2$. We obtain optimal $S_p(r, ε)$ up to constant, in several regimes. - For each fixed $0

0$. - For even $p$ the bounds match over the full accuracy range. At $p=2$ the classical count is $Θ(\min\{r/ε^2,r^2\})$. For each fixed even integer $p\ge4$, we prove $S_p(r,ε)=Θ_p(\min \{ ε^{-2} r^{p/2}, ε^{-1} r^{(p+1)/2} ,r^p \})$. - For each fixed $p>0$ outside the even integers and sufficiently large $r$, the tight bound at very high accuracy $L\ge C_p r\log(2r)$ is $ S_p(r,ε)=Θ_p( (ε^{-2}r^{1/2-p}\log(2r))^{(r-1)/(r+2p)}) $. We further provide some improved upper bound results on row count. For $1\leq p<2$ we prove an $O(r/ε^2)$ upper bound, recovering that of Reis--Rothvoss at $p=1$ and removing a factor of $\log(2r)$ for $1

2$ and $L\leq c_pr$, we show that the count is $r^{p/2}/ε^2$ up to polylogarithmic factors in $r, 1/ε$.

Greedy Spatial Matching Creates Supply Deserts

from arXiv: Data Structures and Algorithms

Authors: Yilun Chen, Pengyu Qian

We study the performance of Greedy, a widely used matching algorithm, in the classical fully dynamic spatial matching model. There are $m$ supply units on a circle of unit circumference, and demands arrive sequentially at independent, uniformly distributed locations. Greedy matches each arriving demand to its nearest available supply unit. The matched supply unit then leaves the system and is replaced by a new supply unit at an independent uniform location. Despite the simplicity of both the model and the algorithm, the steady-state performance of Greedy has remained open. Existing results in the literature give reason to expect this distance to be of order $\operatorname{polylog}(m)/m$. We establish a surprisingly different result: in steady state, the matching distance of a random demand exceeds $m^{-1+η}$ for some constant $η>0$ with probability approaching one as $m\to\infty$. Thus, Greedy performs polynomially worse than previously anticipated. Interestingly, a directional nudge toward the nearest clockwise supply, applied to even a vanishing fraction of arrivals, suffices to restore the $\operatorname{polylog}(m)/m$ scaling. We conduct extensive numerical experiments to complement our theoretical findings. Our results reveal the substantial long-run inefficiency of Greedy matching and how little intervention is needed to overcome it.

Authors: Yilun Chen, Pengyu Qian

We study the performance of Greedy, a widely used matching algorithm, in the classical fully dynamic spatial matching model. There are $m$ supply units on a circle of unit circumference, and demands arrive sequentially at independent, uniformly distributed locations. Greedy matches each arriving demand to its nearest available supply unit. The matched supply unit then leaves the system and is replaced by a new supply unit at an independent uniform location. Despite the simplicity of both the model and the algorithm, the steady-state performance of Greedy has remained open. Existing results in the literature give reason to expect this distance to be of order $\operatorname{polylog}(m)/m$. We establish a surprisingly different result: in steady state, the matching distance of a random demand exceeds $m^{-1+η}$ for some constant $η>0$ with probability approaching one as $m\to\infty$. Thus, Greedy performs polynomially worse than previously anticipated. Interestingly, a directional nudge toward the nearest clockwise supply, applied to even a vanishing fraction of arrivals, suffices to restore the $\operatorname{polylog}(m)/m$ scaling. We conduct extensive numerical experiments to complement our theoretical findings. Our results reveal the substantial long-run inefficiency of Greedy matching and how little intervention is needed to overcome it.

Tight Approximations for Pairwise Fair Clustering via Scalar Repair on Tree Embeddings

from arXiv: Data Structures and Algorithms

Authors: Ali Vakilian

In pairwise fair clustering, the input points are partitioned into $\ell$ protected groups, and a clustering is called fair only if, inside every cluster, no group dominates any other group by more than a factor $t$: the number of points of any group is at most $t$ times the number of points of any other. We study algorithms that never violate this constraint and approximate the clustering cost. For the $k$-center objective such algorithms achieve a constant approximation ratio in polynomial time, while for $k$-median the best ratio achieved in polynomial time was $O(k^{2}\ell t)$. For $k$-means with more than two groups, polynomial-time algorithms were known only for perfect balance ($t=1$); beyond that, known algorithms violate the constraint or run in exponential time. We give a single randomized polynomial-time algorithm that improves both cases. For pairwise fair $k$-median it returns a clustering that is always exactly fair and whose expected cost is within a factor $O(\log k)$ of the optimal fair clustering. This is best possible up to constants short of a breakthrough: an $o(\log k)$ bound would give an $o(\log k)$ approximation for uniform capacitated $k$-median, where $O(\log k)$ has stood for decades. The algorithm relies on a structural observation: on integral cluster loads, pairwise fairness is equivalent to the existence of a single nonnegative integer base $h$ with $h \le (\text{load of each group}) \le t\cdot h$, and these bases add along a hierarchical decomposition. This collapses an apparently $\ell$-dimensional feasibility condition to one scalar, so that a dynamic program on a tree embedding of the centers can carry one integer per subtree instead of $\ell$ group counts.

Authors: Ali Vakilian

In pairwise fair clustering, the input points are partitioned into $\ell$ protected groups, and a clustering is called fair only if, inside every cluster, no group dominates any other group by more than a factor $t$: the number of points of any group is at most $t$ times the number of points of any other. We study algorithms that never violate this constraint and approximate the clustering cost. For the $k$-center objective such algorithms achieve a constant approximation ratio in polynomial time, while for $k$-median the best ratio achieved in polynomial time was $O(k^{2}\ell t)$. For $k$-means with more than two groups, polynomial-time algorithms were known only for perfect balance ($t=1$); beyond that, known algorithms violate the constraint or run in exponential time. We give a single randomized polynomial-time algorithm that improves both cases. For pairwise fair $k$-median it returns a clustering that is always exactly fair and whose expected cost is within a factor $O(\log k)$ of the optimal fair clustering. This is best possible up to constants short of a breakthrough: an $o(\log k)$ bound would give an $o(\log k)$ approximation for uniform capacitated $k$-median, where $O(\log k)$ has stood for decades. The algorithm relies on a structural observation: on integral cluster loads, pairwise fairness is equivalent to the existence of a single nonnegative integer base $h$ with $h \le (\text{load of each group}) \le t\cdot h$, and these bases add along a hierarchical decomposition. This collapses an apparently $\ell$-dimensional feasibility condition to one scalar, so that a dynamic program on a tree embedding of the centers can carry one integer per subtree instead of $\ell$ group counts.

A Constant-Factor Approximation for Capacitated-Cable Facility Location with Hard Facility Capacities

from arXiv: Data Structures and Algorithms

Authors: Jingyang Zhao, Mingyu Xiao

Capacitated-cable facility location (CCFL) combines facility location and network design. Given clients with demands and candidate facilities with opening costs, the problem selects facilities and installs any number of cables of a common capacity on each edge to serve all demand at minimum total opening and cable cost. In the original problem, facilities have unlimited capacity. We study the variant with hard facility capacities (H-CCFL), in which each facility can open at most once and serve at most its capacity. For split demands, where a client's demand may be served by multiple facilities, we obtain the first constant-factor approximation algorithm on general metrics. As applications, we also obtain the first constant-factor approximation algorithms on general metrics for several well-known problems, including the airport and railway problem with arbitrary opening costs and the multiple-depot split delivery vehicle routing problem with limited fleets.

Authors: Jingyang Zhao, Mingyu Xiao

Capacitated-cable facility location (CCFL) combines facility location and network design. Given clients with demands and candidate facilities with opening costs, the problem selects facilities and installs any number of cables of a common capacity on each edge to serve all demand at minimum total opening and cable cost. In the original problem, facilities have unlimited capacity. We study the variant with hard facility capacities (H-CCFL), in which each facility can open at most once and serve at most its capacity. For split demands, where a client's demand may be served by multiple facilities, we obtain the first constant-factor approximation algorithm on general metrics. As applications, we also obtain the first constant-factor approximation algorithms on general metrics for several well-known problems, including the airport and railway problem with arbitrary opening costs and the multiple-depot split delivery vehicle routing problem with limited fleets.

Sampling colourings of $G(n,d/n)$ down to non-reconstruction

from arXiv: Data Structures and Algorithms

Authors: Andreas Galanis, Xusheng Zhang

A tantalising conjecture for many canonical random CSPs is that sampling solutions uniformly is as easy as finding a solution. For the search problem in particular, there has been a long line of works connecting tractability with the non-reconstruction threshold; yet, sampling algorithms that match the non-reconstruction threshold have remained elusive. We resolve this for proper colourings of $G(n,d/n)$. For all sufficiently large $d$ and any integer $q\ge d/\log d$, we give a randomised algorithm for sampling $q$-colourings of $G(n,d/n)$, matching the best known condition on $q$ for finding a single proper colouring. Whp over $G$, the algorithm returns a colouring in expected time at most $n^{8/5}$ whose distribution is within $n^{-ω(1)}$ in total variation of the uniform distribution over colourings of $G$. The algorithm inserts edges in a random order and repairs the colouring in a local neighbourhood utilising the tree-like structure. The main difficulty is that local repairs introduce bias and the weights correcting this bias can accumulate large fluctuations. To bound the latter, for each edge insertion we simultaneously update a ``helper'' pair of vertices to obtain an exact weighted update whose mean weight over the edges is independent of the resampling neighbourhood. To control the accumulated weight, we study the marginals at the endpoints of the inserted edge and the helper pair. Starting from Sly's non-reconstruction results, we derive higher-order moment bounds that strengthen concentration of the root marginal on Poisson trees. We then transfer these bounds to graph neighbourhoods containing polynomially many excess edges (beyond the tree) using new stability estimates. Together with partition function estimates of Bapst, Coja-Oghlan, and Efthymiou, these bounds allow us to control the accumulated weight and make the final rejection step efficient.

Authors: Andreas Galanis, Xusheng Zhang

A tantalising conjecture for many canonical random CSPs is that sampling solutions uniformly is as easy as finding a solution. For the search problem in particular, there has been a long line of works connecting tractability with the non-reconstruction threshold; yet, sampling algorithms that match the non-reconstruction threshold have remained elusive. We resolve this for proper colourings of $G(n,d/n)$. For all sufficiently large $d$ and any integer $q\ge d/\log d$, we give a randomised algorithm for sampling $q$-colourings of $G(n,d/n)$, matching the best known condition on $q$ for finding a single proper colouring. Whp over $G$, the algorithm returns a colouring in expected time at most $n^{8/5}$ whose distribution is within $n^{-ω(1)}$ in total variation of the uniform distribution over colourings of $G$. The algorithm inserts edges in a random order and repairs the colouring in a local neighbourhood utilising the tree-like structure. The main difficulty is that local repairs introduce bias and the weights correcting this bias can accumulate large fluctuations. To bound the latter, for each edge insertion we simultaneously update a ``helper'' pair of vertices to obtain an exact weighted update whose mean weight over the edges is independent of the resampling neighbourhood. To control the accumulated weight, we study the marginals at the endpoints of the inserted edge and the helper pair. Starting from Sly's non-reconstruction results, we derive higher-order moment bounds that strengthen concentration of the root marginal on Poisson trees. We then transfer these bounds to graph neighbourhoods containing polynomially many excess edges (beyond the tree) using new stability estimates. Together with partition function estimates of Bapst, Coja-Oghlan, and Efthymiou, these bounds allow us to control the accumulated weight and make the final rejection step efficient.

xgemm: Matrix-Free Gaussian and Time-Delay Kernel Operations

from arXiv: Data Structures and Algorithms

Authors: Julio Candanedo

We introduce xgemm, a GPU library for matrix-free exponential kernel products using tiled evaluation, fused reductions, and symmetry-aware computation. For time-delay kernels, we develop Fung's trick, a diagonal-streaming algorithm that exploits redundancy between overlapping delay windows. A radix-factorized filtering cascade reduces the arithmetic complexity of delayed affinity evaluation from $O(K^2LD)$ to $O((K^2+KL)(D+\log L))$ for compatible lag weights, while avoiding quadratic intermediate storage. Numerical experiments on Gaussian kernels assess accuracy, computational performance, and memory scalability, demonstrating the benefits of diagonal reuse for long delay windows.

Authors: Julio Candanedo

We introduce xgemm, a GPU library for matrix-free exponential kernel products using tiled evaluation, fused reductions, and symmetry-aware computation. For time-delay kernels, we develop Fung's trick, a diagonal-streaming algorithm that exploits redundancy between overlapping delay windows. A radix-factorized filtering cascade reduces the arithmetic complexity of delayed affinity evaluation from $O(K^2LD)$ to $O((K^2+KL)(D+\log L))$ for compatible lag weights, while avoiding quadratic intermediate storage. Numerical experiments on Gaussian kernels assess accuracy, computational performance, and memory scalability, demonstrating the benefits of diagonal reuse for long delay windows.

Row-Private Symmetric Cone Programming: Scale-Efficient Algorithm and Lower Bound

from arXiv: Data Structures and Algorithms

Authors: Deming Chu, Ruizhe Zhang

Symmetric cone programming (SCP) unifies linear, second-order cone, and semidefinite programming. We study approximate feasibility for SCPs under row-level $(\varepsilon, δ)$-differential privacy, where each private record is a linear constraint and adding or removing one row can change the feasible region discontinuously. Satisfying all constraints privately is impossible in the worst case, so we aim to find a point in the public cone that violates a small number of private constraints and satisfies the rest up to an additive slack $η>0$. We give a polynomial-time $(\varepsilon, δ)$-differentially private solver for general SCPs that violates at most $\widetilde{O}\big((k^{3/2}/\varepsilon)\sqrt{\log(UR/η)}\big)$ constraints, where $k$ is the ambient dimension and $R, U$ bound the solution and constraint norms. This exponentially improves the $UR/η$ dependence in the number of violated constraints compared with prior work on covering SCPs by Song et al. (NeurIPS 2025). To obtain this result, we extend the private LP rescaling perceptron of Ene et al. (RANDOM 2025) to symmetric cones using public cone separation steps and a rank-two rescaling that stretches along a thin direction while shrinking along the average perceptron step, improving their $k^2$ dimension factor for LPs with slack to $k^{3/2}$. We also prove a lower bound of $Ω\big((k/\varepsilon)\log\min\{UR/(kη),\, \varepsilon/δ\}\big)$ violated constraints via a coordinate-wise packing argument.

Authors: Deming Chu, Ruizhe Zhang

Symmetric cone programming (SCP) unifies linear, second-order cone, and semidefinite programming. We study approximate feasibility for SCPs under row-level $(\varepsilon, δ)$-differential privacy, where each private record is a linear constraint and adding or removing one row can change the feasible region discontinuously. Satisfying all constraints privately is impossible in the worst case, so we aim to find a point in the public cone that violates a small number of private constraints and satisfies the rest up to an additive slack $η>0$. We give a polynomial-time $(\varepsilon, δ)$-differentially private solver for general SCPs that violates at most $\widetilde{O}\big((k^{3/2}/\varepsilon)\sqrt{\log(UR/η)}\big)$ constraints, where $k$ is the ambient dimension and $R, U$ bound the solution and constraint norms. This exponentially improves the $UR/η$ dependence in the number of violated constraints compared with prior work on covering SCPs by Song et al. (NeurIPS 2025). To obtain this result, we extend the private LP rescaling perceptron of Ene et al. (RANDOM 2025) to symmetric cones using public cone separation steps and a rank-two rescaling that stretches along a thin direction while shrinking along the average perceptron step, improving their $k^2$ dimension factor for LPs with slack to $k^{3/2}$. We also prove a lower bound of $Ω\big((k/\varepsilon)\log\min\{UR/(kη),\, \varepsilon/δ\}\big)$ violated constraints via a coordinate-wise packing argument.

Cut-Paste Metrics: A More Natural Approach to Approximate String Matching

from arXiv: Data Structures and Algorithms

Authors: Paul Burchard

Despite the breadth of application of approximate string matching, the current body of theoretical work [both in 1995 when this paper was written, and today] is largely based on a metric (the so-called edit metric) [or minor variations of it] which does not qualitatively reflect the principal processes through which strings change in applications. To remedy this, we introduce the notion of [entropy-based] cut-paste metrics, in which substring reordering can be accomplished at sublinear cost. We then exhibit a specific cut-paste metric for which best matches can be practically computed. With a text string of length $n$, a search string of length $m$, and at most $k$ paste and insertion errors allowed, the text substring closest to the search string can be found in $O(n k\log m)$ time and $O(m(k+\log m))$ space, provided that the search string has a suffix tree of depth $O(\log m)$ (which is typical). We furthermore demonstrate a non-symmetric cut-paste metric which allows best matches containing long gaps to be computed in the same time and space.

Authors: Paul Burchard

Despite the breadth of application of approximate string matching, the current body of theoretical work [both in 1995 when this paper was written, and today] is largely based on a metric (the so-called edit metric) [or minor variations of it] which does not qualitatively reflect the principal processes through which strings change in applications. To remedy this, we introduce the notion of [entropy-based] cut-paste metrics, in which substring reordering can be accomplished at sublinear cost. We then exhibit a specific cut-paste metric for which best matches can be practically computed. With a text string of length $n$, a search string of length $m$, and at most $k$ paste and insertion errors allowed, the text substring closest to the search string can be found in $O(n k\log m)$ time and $O(m(k+\log m))$ space, provided that the search string has a suffix tree of depth $O(\log m)$ (which is typical). We furthermore demonstrate a non-symmetric cut-paste metric which allows best matches containing long gaps to be computed in the same time and space.

Fast Diverse Nearest Neighbor Search

from arXiv: Data Structures and Algorithms

Authors: Justin Y. Chen, Soham Naganwashi, Shenghao Xie, Haike Xu, Alan Zhou, Samson Zhou

In the $k$-diverse nearest neighbor search problem, the input is a dataset in which each point is assigned a color, and given a query $q$, the goal is to retrieve $k$ approximate nearest neighbors with distinct colors. This color diversity metric is essential for information retrieval tasks where results are required to have different categories, e.g., recommending products from different sellers. Previous state-of-the-art solution by Anand et al. [ICML 2025] constructs a diversity-aware graph to meet this requirement. However, they suffer from an $\mathcal{O}(k^2)$ multiplicative query time overhead, creating a computational bottleneck when $k$ is large. To break this barrier, we propose a novel color bucketing framework that selects a subset of colors in each bucket and instantiates an independent approximate nearest neighbor search algorithm on the corresponding points. Inspired by group testing, we provide a randomized color sampling scheme that achieves an $\mathcal{O}\left(k^{1-\frac{1}{c^2}-o(1)}\log k\right)$ overhead in Euclidean spaces and an $\mathcal{O}\left(k \log k\right)$ overhead in general metric spaces, where $c$ is the approximation factor, reducing a factor of $k$. In addition, the space usage to store the data structure matches or improves upon prior methods. Empirical results on semi-synthetic and real-world datasets demonstrate that our approach achieves significantly faster search times and higher recall compared to state-of-the-art diversity search baselines. Abstract shortened to meet arXiv requirements.

Authors: Justin Y. Chen, Soham Naganwashi, Shenghao Xie, Haike Xu, Alan Zhou, Samson Zhou

In the $k$-diverse nearest neighbor search problem, the input is a dataset in which each point is assigned a color, and given a query $q$, the goal is to retrieve $k$ approximate nearest neighbors with distinct colors. This color diversity metric is essential for information retrieval tasks where results are required to have different categories, e.g., recommending products from different sellers. Previous state-of-the-art solution by Anand et al. [ICML 2025] constructs a diversity-aware graph to meet this requirement. However, they suffer from an $\mathcal{O}(k^2)$ multiplicative query time overhead, creating a computational bottleneck when $k$ is large. To break this barrier, we propose a novel color bucketing framework that selects a subset of colors in each bucket and instantiates an independent approximate nearest neighbor search algorithm on the corresponding points. Inspired by group testing, we provide a randomized color sampling scheme that achieves an $\mathcal{O}\left(k^{1-\frac{1}{c^2}-o(1)}\log k\right)$ overhead in Euclidean spaces and an $\mathcal{O}\left(k \log k\right)$ overhead in general metric spaces, where $c$ is the approximation factor, reducing a factor of $k$. In addition, the space usage to store the data structure matches or improves upon prior methods. Empirical results on semi-synthetic and real-world datasets demonstrate that our approach achieves significantly faster search times and higher recall compared to state-of-the-art diversity search baselines. Abstract shortened to meet arXiv requirements.

Deterministic algorithms for range LIS and its relatives

from arXiv: Data Structures and Algorithms

Authors: Filippo di Gravina, Francesco Damiano Di Gregorio

We give deterministic algorithms for range longest increasing subsequence (LIS) on a sequence of length n and a batch of Q queries. Write N = n + Q and let K denote the total output size. Two-dimensional range LIS admits reporting in O((N + K) log^3(2 + n)) time by composing earliest-endpoint frontiers using totally monotone matrix search. For colored one-dimensional range LIS, compressed hitting sets and monotone min-plus multiplication give $N^{5-\sqrt{13}+o(1)}$ time for the score and attaining color, and $N^{18/13+o(1)} + \tilde{O}(K)$ time for reporting. A persistent range oracle gives exact colored and weighted rectangle queries in $\tilde{O}(n\sqrt{Q} + Q) + O(K)$ time. We also obtain a weighted approximation algorithm, algorithms for ordered fragments and tree paths, and reductions relating colored LIS to sparse triangle and masked max-plus problems.

Authors: Filippo di Gravina, Francesco Damiano Di Gregorio

We give deterministic algorithms for range longest increasing subsequence (LIS) on a sequence of length n and a batch of Q queries. Write N = n + Q and let K denote the total output size. Two-dimensional range LIS admits reporting in O((N + K) log^3(2 + n)) time by composing earliest-endpoint frontiers using totally monotone matrix search. For colored one-dimensional range LIS, compressed hitting sets and monotone min-plus multiplication give $N^{5-\sqrt{13}+o(1)}$ time for the score and attaining color, and $N^{18/13+o(1)} + \tilde{O}(K)$ time for reporting. A persistent range oracle gives exact colored and weighted rectangle queries in $\tilde{O}(n\sqrt{Q} + Q) + O(K)$ time. We also obtain a weighted approximation algorithm, algorithms for ordered fragments and tree paths, and reductions relating colored LIS to sparse triangle and masked max-plus problems.

Adaptivity Gaps for Influence Maximization: Percolation and Depletion

from arXiv: Data Structures and Algorithms

Authors: Gabriel de Azevedo, Ulysse Hennebelle

In the influence maximization problem, a set of at most $k$ vertices, called seeds, must be selected in a network where each arc is independently present with a known probability in order to maximize the expected number of vertices that are reached from the seeds. A static policy selects all seeds in advance, while an adaptive policy selects them sequentially and draws on the feedback provided by previous cascades. A major open problem is establishing the adaptivity gap between these two classes. First, for undirected graphs, we prove an adaptivity gap of at most $5\sqrt{k}$, where $k$ is the seed budget. This is the first nontrivial upper bound that holds independently of the graph. Our proof relies on two connection inequalities from percolation theory. Second, for general directed graphs on $n$ vertices, we obtain an $\mathcal{O}(\log n/\log\log n)$ bound, improving the previous $\lceil n^{1/3}\rceil$ guarantee. Third, we establish a constant bound of $2$ for bi-directed forests, unifying and improving existing constant bounds for various orientations of forests. These two results rely on a depletion approach that bounds the influence remaining after successive rounds of seed selection. Finally, we improve the best known lower bound from $e/(e-1)$ to $1+\varphi$, where $\varphi$ is the golden ratio.

Authors: Gabriel de Azevedo, Ulysse Hennebelle

In the influence maximization problem, a set of at most $k$ vertices, called seeds, must be selected in a network where each arc is independently present with a known probability in order to maximize the expected number of vertices that are reached from the seeds. A static policy selects all seeds in advance, while an adaptive policy selects them sequentially and draws on the feedback provided by previous cascades. A major open problem is establishing the adaptivity gap between these two classes. First, for undirected graphs, we prove an adaptivity gap of at most $5\sqrt{k}$, where $k$ is the seed budget. This is the first nontrivial upper bound that holds independently of the graph. Our proof relies on two connection inequalities from percolation theory. Second, for general directed graphs on $n$ vertices, we obtain an $\mathcal{O}(\log n/\log\log n)$ bound, improving the previous $\lceil n^{1/3}\rceil$ guarantee. Third, we establish a constant bound of $2$ for bi-directed forests, unifying and improving existing constant bounds for various orientations of forests. These two results rely on a depletion approach that bounds the influence remaining after successive rounds of seed selection. Finally, we improve the best known lower bound from $e/(e-1)$ to $1+\varphi$, where $\varphi$ is the golden ratio.

Monday, November 30

Now It Can Be Told

from Scott Aaronson

So, it appears that Anthropic is going to imminently release a paper entitled “Quasi-Polynomial Quantum Algorithms for Integral Lattices and Module Lattices of Small Rank Over Power-of-Two Cyclotomic Rings.” What happened was that a cryptocurrency executive named Charles Hoskinson tweeted a cryptographic hash of the paper title, as a way of committing to it (and […]

So, it appears that Anthropic is going to imminently release a paper entitled “Quasi-Polynomial Quantum Algorithms for Integral Lattices and Module Lattices of Small Rank Over Power-of-Two Cyclotomic Rings.” What happened was that a cryptocurrency executive named Charles Hoskinson tweeted a cryptographic hash of the paper title, as a way of committing to it (and proving later that he knew it) without revealing it. But then, extremely amusingly, Michael DeBono used Gemini and Fable to decrypt the title, basically just by guessing every plausible thing it could be. In any case it looks like Anthropic will make a public announcement later today.

Important Update (evening of Nov. 30): Anthropic has finally released its paper on this; see also here for an initial assessment from the Cryptography Incident Review Group (CIRG) that Anthropic briefed, and here for very helpful commentary from Chris Peikert.

The most important new piece of information is that, even while the scaling of the attack is nO(log n) (where n is the “structure degree”) for any fixed lattice rank r, it’s also exponential in poly(r). Thus, while this is a much better scaling with n than was previously known or expected, and than we know how to achieve classically, the effect on RingLWE- and ModuleLWE-based encryption might strongly depend on whether or not the rank dependence can be improved. Thanks also to the commenters who pointed this out!

[On the other hand, Noah Stephens-Davidowitz points out in my comment section that the NIST standard ML-KEM-512 uses only r=2—so in that case, the new attack is considered to be impractical “merely” because the constant factors are galactic. Personally, I’m deeply uncomfortable with any cryptosystem whose security rests only on constant factors, rather than on the hypothesis that any attack takes time that scales exponentially with some parameter, and that parameter being sufficiently large. As I noted before, astronomical constants can be and often are astronomically improved.]

With hindsight, while I don’t regret answering my readers’ requests to help them through an informational void, by relaying what I was hearing from cryptographic experts as faithfully as I could without violating confidences, I do regret how that informational void caused me to miss key technical points such as the exponential dependence on rank.

One lesson that I think we’ve clearly learned, from this along with previous disclosures of AI math breakthroughs, is that it’s best either just to publicly disclose all details of a breakthrough right away (assuming that, as in this case, there’s no imminent risk to any deployed cryptography), or else to work with a tiny number of outside experts (say, at most three) who are sworn to absolute secrecy. What doesn’t work is to let the breakthrough become an open secret in a whole research community for weeks, spread via rumor mill and/or tiny drips of public information (like talk schedules and “teaser” statements), while still expecting all the experts to refrain from sharing what they know with the public.

The above update already supersedes some of what’s in the following section of this post, which however I’ll leave up for “historical completeness,” with modifications noted.

For cryptographers, the paper title is pretty self-explanatory, but for those tuning in from home: the upshot is that some of the main forms of “post-quantum” cryptography that people had been switching to, on the advice of standards bodies like NIST, are not fully “post-quantum” at all. Specifically, assuming (as I henceforth will) that the claimed result is correct, the structured lattice problems called RingLWE and ModuleLWE can no longer be considered quantumly hard in an asymptotic sense [added: at least, not in the low-rank case]. The AI discovered a quasipolynomial (meaning, npolylog(n)) time quantum algorithm to solve these problems, albeit one whose constants are apparently bad enough to render it impractical, even supposing you had a scalable quantum computer capable of running (e.g.) Shor’s factoring algorithm. But constants can be and very often are improved!

One possibility is that this will force the field of post-quantum crypto to fall back on stuff like generic LWE and lattice problems, which are apparently still standing, but which the practical people don’t like because they require larger key sizes. When NIST finalized its standards based on stuff like RingLWE and ModuleLWE in 2022, I remember asking people: why dance on the ledge? why not just accept the friggin’ larger key sizes, in exchange for a less structured lattice problem that’s less likely to admit some clever algorithm? And I never got an answer that fully made sense to me.

Anyway, as I tried to explain to everyone last week, this is a major development in cryptanalysis, but not an imminent danger to current encryption: firstly because the attack needs a quantum computer, secondly because of the huge constants, [added: thirdly because of the exponential dependence on rank], and fourthly because these ModuleLWE-based systems apparently aren’t used in isolation even when they’re currently used. If the labs are sitting on any imminent dangers to current encryption, then I have no specific information about that—just a huge number of rumors whose chain of custody I can’t trace but that I can’t entirely dismiss, given that we now live in an unprecedented time where decades of mathematical research happen in weeks.

As a quantum computing theorist, of course what I care about most is to understand how the new algorithm works—it must represent a significant advance in quantum algorithms in general. But we won’t know that until Anthropic releases the paper [added: which they did]! Given the lack of any imminent threat, I confess that I don’t understand why they didn’t just release the paper once the rumors started circulating.

Finally, this cat is now out of the bag, and I’m not the one who released it! My crime was basically that I refused to lie when asked directly about the subject by commenters on this blog—that I followed the exact same approach I consistently have in 21 years of blogging, namely “just answer every question I’m asked as openly and honestly as it’s possible for me to answer it, no matter how much I’m mocked and condemned on Twitter.”

So “yes,” I said, “I have heard meowing from the bag. I’m almost certain that a cat is in there. I’ve also heard many rumors that venomous snakes and live Ebola are in the bag as well, and I can’t dismiss those rumors, but I also don’t know how much to credit them.”

For this, the Financial Times called my post “very annoying.” Hundreds on Twitter and other social media called me an irresponsible rumor-mongerer, a bullshitter, an attention whore, and I don’t remember what else. Someone named Bull Meechum demanded that UT Austin fire me for “peddling in rumors”—because, you see, I had spread the lie that classical computers that deal with 0s or 1s only could possibly threaten cryptography, hiding the obvious fact that only a quantum computer that processes 0s and 1s simultaneously could do so (this guy turns out to be a D-Wave investor). One guy, whose Twitter is full of classical antisemitism, responded to the discussion by asking Grok “Is Scott Aaronson Jewish?” (he needed AI to tell him that??)—the idea, apparently, being that causing panic about cryptography is part of a sinister Hebraic plot.

Any of these people are welcome to apologize, now that it’s obvious that I was just telling the truth as best I could at the time, though I won’t hold my breath!

Update (Dec. 1): Over on Hacker News, a comment thread on this post branched off into a spirited debate about my blogging, temperament, and fundamental human worth. A few choice excerpts:

“Aaronson is a sort of tragic figure; he has the perfect intellect for the current moment, but absolutely the wrong temperament … What I mean is that temperamentally, he’s sort of a neurotic mess, fearful of the future, strongly affected by criticism even from random strangers, and easily riled up. I wish him well and I have always enjoyed his writing, but I fear he’s not in the best place mentally to meet the current moment.”

“I generally agree, but I wouldn’t blame him for this. Pretty much nobody is ready for that moment.”

“He’s bad at not feeding the trolls, and easy to get a rise out of, in a way that’s bad for his mental health. (He openly acknowledges this.)”

“100% agree, everything I read by him is sorta painful in a way. He writes as if his audience is a bunch of hostile detractors who are jeering at him and trying to tear him apart.”

“I’ve seen some of the hate mail he gets; like it or not, there are hostile detractors jeering at him.”

“What do you mean? I love his temperament. He seems to me one of the few old school nerds (for lack of a better term) in a sea of posers.”

“he seems to be the kind of person that can get worked up by being interpreted the wrong way or in poor faith, which you’re constantly bombarded with if you have any mainstream public exposure at all. if you’re at all an obsessive person getting any sort of spotlight can be absolutely crushing because lots of people just want to see you fail despite any facts or information you want to provide to prove them wrong. I struggled with this early on with the internet myself, and it’s the recipe for a very angry person if you can’t adapt”

“the problem is that it’s entirely asymmetrical… the hits come from a never ceasing pseudo-anonymous wave that will continue to hit you, even if you’re down, until you’re sufficiently irrelevant in the eyes of the many-faced ever-changing mob”

“Well, in my eyes, seeing him handle these attacks and remain himself is a positive example of what good and consistent character looks like.”

“There’s something fundamentally wrong with him. He can’t stop throwing fits on the Internet and then throwing another one when people make the thoroughly reasonable observation that he’s asking for it.”

“I mean, I don’t like his writing myself but it doesn’t especially seem like his readership is suffering from his outbursts.”

By Scott

Linkage

from David Eppstein

Graph Minors: corrected copies (\(\mathbb{M}\)). MohammadTaghi Hajiaghayi has developed a Lean formalization of the 22-paper Robertson–Seymour “Graph minors” series and used the results to annotate the original papers with corrections, classified by level of severity, and the addition of proofs that were omitted in the originals.
  • Graph Minors: corrected copies (\(\mathbb{M}\)). MohammadTaghi Hajiaghayi has developed a Lean formalization of the 22-paper Robertson–Seymour “Graph minors” series and used the results to annotate the original papers with corrections, classified by level of severity, and the addition of proofs that were omitted in the originals.

  • The Guardian on Jan van Plato’s AI-assisted project to decode Kurt Gödel’s notebooks (\(\mathbb{M}\)).

  • Lyndie Chiou in Scientific American on the no-3-in-line problem (\(\mathbb{M}\)): “This beguiling chessboard math problem is still puzzling after 120 years”. Chiou points out that recent advances on puzzle sizes for which we have a \(2n\)-point solution are still much smaller than the sizes at which the solution is predicted to fall short of \(2n\). I’m quoted in her article; the quotes hint that I disbelieve this prediction but I think I’d rather position myself as agnostic.

  • Simon Tatham invents a handwritten double-ampersand ligature.

  • A brief history of women have too much freedom. Over a century of newspaper clippings of misogynist men saying this.

  • I’ve been seeing a big uptick in emails of the form “please give me an informal opinion on my AI-generated research slop” (\(\mathbb{M}\)). I am likely to ghost any such request (just as I ghost “please hire me as a TA” and “please admit me as a grad student” emails). I have added a note saying as much to the web page where I list my email addresses, but I’m not holding out much hope that it will make a difference.

  • Russia warns it could ban Wikimedia as “undesirable organisation” (\(\mathbb{M}\)). According to a Wikipedia thread on this, it means that interaction with Wikipedia would be forbidden to Russian citizens, even at the level of long-ago links on social media. According to the same thread, UC Berkeley is already an undesirable organisation.

  • Perfect network resilience in polynomial time, by Bentart and Schmid at STOC’26 (\(\mathbb{M}\), via Quanta) uses four rooted minors to characterize the graphs on which a fixed local routing scheme can guarantee message delivery between each two nodes that remain connected after an arbitrary set of link failures. On the one hand, it’s nice to see new applications of graph minor theory, and with such a simple set of forbidden minors. On the other, the resulting graphs are very restricted: planar and of bounded treewidth, and the routing algorithm is simply to follow the right-hand rule around a face until you find a link to the target. So the practicality of all this is limited.

  • A deterministic linear time algorithm for minimum spanning tree (\(\mathbb{M}\)). New preprint by Sanjeev Khanna, Aaron Putterman, and Junkai Song. This is AI-generated, and compared to other very recent AI-generated research it is small stuff, but it settles a longstanding annoyance in the theory of graph algorithms and among all of the other stuff it is the one I am most likely to dig into the details of first (to determine how much of it I should cover in that part of my graph algorithms course next term). Prior to this work, we knew about:

    • A linear-time algorithm for graph minimum spanning trees, in a model of computation where the edge weights are machine integers and you can use bitwise operations and array indexing with them,

    • A randomized algorithm with linear expected time, in a model of computation where the only thing you can do with the weights is to compare them,

    • A non-random algorithm whose time bound is just barely superlinear (larger by an inverse-Ackermann factor), in the comparison model, and

    • A non-random comparison-model algorithm whose time bound is optimal (in particular, at most barely superlinear) but we didn’t know what that time bound was.

    This new result unifies all of those to produce a much simpler statement of the problem complexity: it’s linear, without randomness, in the comparison model.

  • Who decides the norms in TCS (\(\mathbb{M}\))? Guillaume Munch-Maccagnoni analyzes the STOC’27 program committee, ACM SIGACT executive committee, and Simons Institute “AI+TCS” working group, and finds heavy North American and tech representation, possibly helping to explain the AI-favorable stance of the STOC’27 call for papers.

  • It’s known that (\(\mathbb{M}\))

    • finding shortest paths among polygonal obstacles in the plane can be done in polynomial time, and

    • finding shortest paths on the surface of a 3d convex polyhedron can be done in polynomial time, but

    • finding shortest paths among polyhedral obstacles in space is \(\mathsf{NP}\)-hard.

    Now a new preprint by Igor Pak, “Convexity is overrated: Shortest paths on 4-polytopes are hard to compute”, shows that finding shortest paths on the surface of a 4d convex polytope is also \(\mathsf{NP}\)-hard.

  • Deluge of LLM slop forces Knuth to stop taking bug reports for his writings (\(\mathbb{M}\), via).

  • Dirac’s theorem at a dinner party (\(\mathbb{M}\)). A cute explanation of the theorem that graphs with minimum degree \(n/2\) have Hamiltonian cycles, involving passing potatoes around the dinner table.

  • Satisfiability hypothesis, the old but new replacement for the exponential time hypothesis (\(\mathbb{M}\)): In “ETH is Dead, Long Live SH”, Erik Demaine and his MIT Hardness Gang point to a 1990 paper by Stearns and Hunt (nine years before the formulation of ETH) conjecturing that satisfiability requires time exponential in \(L^{1-\varepsilon}\) for every \(\varepsilon>0\), where \(L\) is the bit length of the instance. They show that this is equivalent to the conjecture that 3SAT instances with \(n\) variables require time exponential in \(n^{1-\varepsilon}\), also called the “weak exponential time hypothesis”. Regardless of what you call it, this hardness assumption is good for most of the same conditional lower bounds of the old but disproved exponential time hypothesis, after a suitable adjustment of the exponent, and is untouched by the disproof of the exponential time hypothesis. See also a new Wikipedia stub article.

By David Eppstein

Your Bank Account Remains Secure

from Ben Recht

Factoring integers has no right being so hard.

Hi there, argmin readers. Today’s post is about my favorite computational complexity class and how it relates to cryptography. Like my previous posts on complexity theory, it’s pretty technical. I again tried to make it as accessible, but let me know in the comments which parts are confusing.

Thanks to some irresponsible rumor-mongering by another blogger, whispers are making the rounds that RSA encryption has been broken. I didn’t realize how seriously people were taking these rumors, so I playfully tweeted over the weekend about why I wouldn’t be surprised if this were true. But the Twitterati took my shitpost too seriously, and I was inundated with bots asking grok to allay their fears. My bad. But there was a kernel of fun truth to my post, and let me make amends by explaining why factoring numbers is one of the most perplexing puzzles in complexity theory.

The classic problem in complexity theory is P vs. NP. There are very technical definitions of what P and NP are, and you should go elsewhere for those technicalities. For our purposes, P is the set of problems you can solve efficiently on a computer. NP is the set of problems where if someone gives you the answer, you can check if the answer is right on the computer. The central question of complexity theory is: “Does P=NP?” That is, do all of the problems with simple checks admit simple solutions?

Answering this question is absurdly hard. Fifty years of evidence suggests they are not equal. No matter how hard people try, plenty of problems in NP don’t seem to admit efficient algorithms. Still, no one knows for sure, and the big AI companies are all spending millions to figure it out. Let me not dwell on this question today, as the security of public-key encryption does not rest on this daunting challenge. Indeed, that security depends on a much simpler complexity question with almost no evidence to the contrary.

Both P and NP are technically classes of decision problems. This just means they are problems where the goal is to write a computer program to answer a yes/no question. “Is there a path through this maze?” “Can I fit all of my souvenirs in my suitcase without going over the weight limit?” “Does this equation have a solution?” “Is this logical formula true?” “Is this number prime?”

Complexity theorists spend most of their time worrying about these yes/no decision problems. It might feel like restricting attention to decision problems is too narrow, but you can transform any efficient algorithm into a decision problem with some logical contortions. For example, you can turn multiplying two integers into a decision problem by giving a potential answer: “Does a × b = c?” You can solve this by computing a times b and then seeing if it equals c.

So now, with slightly more technical precision, the class P is the set of decision questions we can answer by running an efficient computer algorithm. “Does this list have duplicates?” is a simple example of such a problem. You can just compare all pairs (in time quadratic in the list length), or build a clever hash table and look for duplicates (roughly linear time in the list length). Other problems from the list above that are in P are determining if there’s a path through a maze and solving a system of equations. Perhaps less intuitively, “Is this number prime?” is in P, proved only in 2002 by Agrawal, Kayal, and Saxena.

NP is the class of decision problems where we might not have an algorithm, but we have an efficient way to check if the answer is yes. All of the problems in P are in here. For example, if someone gives you a path through a maze, you can easily check if it works. But those other questions I asked about logical formulas or suitcase packing are also in here, even though we don’t (yet) have efficient algorithms to solve them. These are examples of questions in NP where we don’t know whether they are in P.

Now let me add a third complexity class to the mix: coNP is the class of decision problems where answering no is easy to verify. This is the “complement of NP” and is weirdly very different than NP. “Does this logical formula have a solution?” has an easy proof for yes: the solution itself. But how would you come up with a certificate to convince me the answer is no? You’d have to prove to me that no solution exists. I have no idea how to prove that.

Here’s a fun problem that’s obviously in coNP but not in NP: “Does this logical formula have a unique solution?” Proving no is easy because you just have to give me two solutions.

But proving yes is hard because you’d have to somehow rule out all other assignments.

We’re pretty sure that coNP and NP are different, but again, we have no idea.

Problems that are in coNP and NP, where it’s easy to answer both yes and no, tend to be easy. One of the more plausible conjectures in complexity theory is that P is the set of decision problems that are in both NP and coNP. In compact form, the conjecture is “P = NP ∩ coNP.” Once again, we have no idea if this conjecture is true. However, in mathematical optimization, one of our most powerful paths to efficient algorithms is sandwiching problems into NP ∩ coNP.

Here’s a high-level explanation of the technique. First, there’s a universal way to turn an optimization problem into a decision problem. You change “Find the minimum value of f” to “Does there exist some point x where f(x) is less than or equal to some threshold?” “What is the shortest path to the airport” becomes “Does there exist a route from my house to the airport that’s less than 30 miles?” If you have an efficient way to solve the optimization problem, you can use it to answer the decision question. Conversely, if you have an algorithm for the decision version, you can turn it into an efficient algorithm for the optimization problem through binary search.1

All optimization problems that you could hope to solve are in NP because checking whether a point is feasible and has an objective value below a threshold is usually easy. Proving there is no solution less than a threshold is generally much harder, but we use various forms of duality to construct optimization problems that provide lower bounds. If an optimization problem has strong duality, then it is in NP ∩ coNP, and this usually means local search heuristics can find the optimal solution. Mathematical optimizers have curated a huge toolkit to build dual problems, and duality was a central tool in efficient algorithm design for decades before NP and coNP were even conceived.

Up until last week, there were a few edge-case optimization problems from game theory that were proven to be in NP ∩ coNP, but for which we didn’t have efficient algorithms. But in one of the latest math slop dumps from OpenAI, a result shows these problems are in P, as they should be.

Here’s where we finally get to the bizarre intersection of complexity theory and cryptography. I now know only three problems in NP ∩ coNP without efficient algorithms: factoring integers, discrete logarithms, and string unknotting.2

Let me only focus on the first one, factoring. We all learn in elementary school that any integer can be written as a product of its prime factors. The factoring decision problem is “Does there exist a prime factor of the integer N that is less than k?” To verify yes, you just need a candidate factor f. You can check that it’s less than k, then divide N by f and make sure there’s no remainder. To verify there is no factor less than k, someone can present the true prime factorization of N. In this case, you can check that all of the factors are greater than k and prime, and that multiplying them together gives you N. And just like in optimization, you can turn an efficient algorithm for this decision problem into a factorization algorithm by applying binary search.3

However, unlike in optimization, membership in NP ∩ coNP alone doesn’t give us enough structure to find prime factors. We think prime factorization is really hard! And we put a lot of trust in its hardness. Many popular encryption systems like RSA use public keys that are products of two prime factors. If you could factor them, you could find the private key. And that’s why people have been freaking out about these blog rumors about AI and cryptography.4

There is no good reason that factoring and discrete logarithm are hard. They are aberrantly difficult problems in the complexity theory zoo. I would not be at all surprised if someone came up with a clever hack that made factoring easy. But it could also be that some natural problems are hard to solve for no good reason whatsoever. We’ll have to stay tuned to find out.

Subscribe now

1

Establish upper and lower bounds for the optimal value of f, ask whether the optimum is less than the midpoint between the bounds, and then use the answer to update the search bounds.

2

Let me clarify for the complexity theorists: there are other problems in NP ∩ coNP that can be reduced to factoring or discrete logarithms. I’m leaving these out. And I’m not even sure the knot theory problem is true, as the proof is over one hundred pages. I’m taking the author at his word here. If someone has some spare credits to run it through GPT Astra to get a lean verification, be my guest. Update: I dug in a bit, and there’s a much simpler proof since the generalized Riemann Hypothesis is true, and the complementary question is also fairly straightforward. The knot theory problem intrigues me. I wonder if you can use knots for cryptography. I also wonder if this means there’s a straightforward unknotting algorithm.

3

Set the initial bounds to be [2, √N] and then in log(N) steps you will find a factor.

4

Yes, it’s true that we have efficient algorithms for factoring and discrete logarithm on quantum computers, but quantum computers don’t exist.

By Ben Recht

TR26-354 | Nearly Optimal Negation Bounds for Monotone Boolean Functions | Gulce Kardes

from ECCC Papers

We study the size complexity of Boolean circuits with a limited number of negations. We resolve a question of Jukna (2004) by constructing an explicit single-output monotone family in P such that every polynomial-size circuit family computing it requires at least $\log n-O(\log\log n)$ NOT gates for all sufficiently large $n$. We prove a similar lower bound for an explicit monotone NP-complete family and use a monotone projection to extend the known superpolynomial size lower bound for CLIQUE to circuits with more NOT gates than previously established. We also show that for every fixed integer $c\ge 1$, every monotone family in P/poly admits polynomial-size circuits with at most Fisch($n$)-c NOT gates for all sufficiently large $n$, where Fisch($n$)=$\lceil\log_2(n+1)\rceil$ is Fischer's bound. Lastly, we construct a nonmonotone single-output NP-complete family with an exponential size lower bound at Fisch($n$)-2 NOT gates for all sufficiently large $n$, and show that at Fisch($n$)-1 NOT gates, the existence of a superpolynomial size lower bound for a single-output family in NP would already imply NP $\not\subseteq$ P/poly.
We study the size complexity of Boolean circuits with a limited number of negations. We resolve a question of Jukna (2004) by constructing an explicit single-output monotone family in P such that every polynomial-size circuit family computing it requires at least $\log n-O(\log\log n)$ NOT gates for all sufficiently large $n$. We prove a similar lower bound for an explicit monotone NP-complete family and use a monotone projection to extend the known superpolynomial size lower bound for CLIQUE to circuits with more NOT gates than previously established. We also show that for every fixed integer $c\ge 1$, every monotone family in P/poly admits polynomial-size circuits with at most Fisch($n$)-c NOT gates for all sufficiently large $n$, where Fisch($n$)=$\lceil\log_2(n+1)\rceil$ is Fischer's bound. Lastly, we construct a nonmonotone single-output NP-complete family with an exponential size lower bound at Fisch($n$)-2 NOT gates for all sufficiently large $n$, and show that at Fisch($n$)-1 NOT gates, the existence of a superpolynomial size lower bound for a single-output family in NP would already imply NP $\not\subseteq$ P/poly.

Three-Block Bounds for the Asymptotic Rank of Weighted Graph Tensors

from arXiv: Computational Complexity

Authors: Zhengyang Wang, Yichuan Cao, Hongbo Li, Xiao-Shan Gao

A weighted graph $(G,w)$ defines a multilinear contraction tensor over a fixed field $F$ with one factor per vertex and edge dimensions growing as $2^{\lfloor t w_e\rfloor}$. Grouping vertices into at most three blocks restricts it to rectangular matrix multiplication (exponent $U$), giving a lower bound $L_3(G,w)$ on the asymptotic rank exponent $Γ_F(G,w)$ that refines the maximum-cut bound. We investigate when $Γ_F(G,w)=L_3(G,w)$ and how tightly $L_3$ controls $Γ_F$ on near-bipartite graphs. Over every field $F$ and all nonnegative real weights $w$, we prove $Γ_F(G,w)=L_3(G,w)$ whenever at most five vertices are incident to positive-weight edges, or $G$ is a cycle; on an odd cycle $C_m$, an optimal partition isolates one vertex and alternates two blocks along the remaining path. For arbitrary $(G,w)$, we characterize $L_3(G,w)$ as the maximum weighted edge sum over sums of at most two tree metrics obeying Zhou's quadratic mass inequality, and show this fails for three trees. When the positive support becomes bipartite after deleting at most two edges, we prove $L_3\leΓ_F\le (100/93)L_3$ ($19/18$ if it is $K_4$-free), establish exactness on the cone generated by triangle edge indicators, and classify $Γ_F$ for positive integer weights made bipartite by deleting a unit-weight edge; general exactness on this class remains open. Finally, we record the exact $m^2/4$ law for unit-weight complete graphs $K_m$, determine the first-order asymptotic correction under a dominant edge on any graph, and contrast separated tensor rank with division-free arithmetic circuits reusing intermediate products, showing that every weighted matrix cycle $C_m$ has circuit exponent $\max_i U(\min_j w_j,w_i,w_{i+1})$ ($9/4$ at unit weights).

Authors: Zhengyang Wang, Yichuan Cao, Hongbo Li, Xiao-Shan Gao

A weighted graph $(G,w)$ defines a multilinear contraction tensor over a fixed field $F$ with one factor per vertex and edge dimensions growing as $2^{\lfloor t w_e\rfloor}$. Grouping vertices into at most three blocks restricts it to rectangular matrix multiplication (exponent $U$), giving a lower bound $L_3(G,w)$ on the asymptotic rank exponent $Γ_F(G,w)$ that refines the maximum-cut bound. We investigate when $Γ_F(G,w)=L_3(G,w)$ and how tightly $L_3$ controls $Γ_F$ on near-bipartite graphs. Over every field $F$ and all nonnegative real weights $w$, we prove $Γ_F(G,w)=L_3(G,w)$ whenever at most five vertices are incident to positive-weight edges, or $G$ is a cycle; on an odd cycle $C_m$, an optimal partition isolates one vertex and alternates two blocks along the remaining path. For arbitrary $(G,w)$, we characterize $L_3(G,w)$ as the maximum weighted edge sum over sums of at most two tree metrics obeying Zhou's quadratic mass inequality, and show this fails for three trees. When the positive support becomes bipartite after deleting at most two edges, we prove $L_3\leΓ_F\le (100/93)L_3$ ($19/18$ if it is $K_4$-free), establish exactness on the cone generated by triangle edge indicators, and classify $Γ_F$ for positive integer weights made bipartite by deleting a unit-weight edge; general exactness on this class remains open. Finally, we record the exact $m^2/4$ law for unit-weight complete graphs $K_m$, determine the first-order asymptotic correction under a dominant edge on any graph, and contrast separated tensor rank with division-free arithmetic circuits reusing intermediate products, showing that every weighted matrix cycle $C_m$ has circuit exponent $\max_i U(\min_j w_j,w_i,w_{i+1})$ ($9/4$ at unit weights).

Constant-Query PCPs of length O(n log n) for Circuit-SAT via Code-to-PCP Holography

from arXiv: Computational Complexity

Authors: William Gay, Fernando Granha Jeronimo

We construct constant-query PCPs for Circuit-SAT of length $O(n\log n)$ bits, where $n$ is the number of gates and wires of the circuit, reducing the previously known polylogarithmic overhead to a single logarithmic factor. Our PCPs have perfect completeness, constant soundness error, and logarithmic randomness (and linear number of bits in the binary encoding of the input circuit). At the heart of our construction is a new family of codes that reconciles two fundamental paradigms in coding theory: the rich algebraic structure of polynomial codes and the strong combinatorial guarantees of asymptotically good locally testable codes. These codes simultaneously possess constant rate, constant relative distance, constant-query local testability, a multiplication property, and a large nonabelian group of symmetries. Remarkably, they admit systematic encoding on an entire group orbit. We uncover this structure in the geometry of arithmetic cubical complexes used in recent constructions of quantum locally testable codes. We introduce a general framework, which we call code-to-PCP holography, that transforms codes with these properties into short PCPs. A key insight is that the group algebra underlying the codes enables constant-query certification of identities on an entire message orbit, even when an identity fails at a single coordinate. By combining this phenomenon with a space--time encoding of circuit wiring, we obtain a locally verifiable representation of an arbitrary computation with constant encoding overhead. The sole logarithmic factor in our proof length arises from the depth of the routing network. Our results reveal a new connection between locally testable codes, probabilistically checkable proofs, and high-dimensional expansion via the code-to-PCP local-to-global holography.

Authors: William Gay, Fernando Granha Jeronimo

We construct constant-query PCPs for Circuit-SAT of length $O(n\log n)$ bits, where $n$ is the number of gates and wires of the circuit, reducing the previously known polylogarithmic overhead to a single logarithmic factor. Our PCPs have perfect completeness, constant soundness error, and logarithmic randomness (and linear number of bits in the binary encoding of the input circuit). At the heart of our construction is a new family of codes that reconciles two fundamental paradigms in coding theory: the rich algebraic structure of polynomial codes and the strong combinatorial guarantees of asymptotically good locally testable codes. These codes simultaneously possess constant rate, constant relative distance, constant-query local testability, a multiplication property, and a large nonabelian group of symmetries. Remarkably, they admit systematic encoding on an entire group orbit. We uncover this structure in the geometry of arithmetic cubical complexes used in recent constructions of quantum locally testable codes. We introduce a general framework, which we call code-to-PCP holography, that transforms codes with these properties into short PCPs. A key insight is that the group algebra underlying the codes enables constant-query certification of identities on an entire message orbit, even when an identity fails at a single coordinate. By combining this phenomenon with a space--time encoding of circuit wiring, we obtain a locally verifiable representation of an arbitrary computation with constant encoding overhead. The sole logarithmic factor in our proof length arises from the depth of the routing network. Our results reveal a new connection between locally testable codes, probabilistically checkable proofs, and high-dimensional expansion via the code-to-PCP local-to-global holography.

Randomized versus deterministic optimization for convex and symmetric input classes

from arXiv: Computational Complexity

Authors: David Krieg

We study global optimization with function evaluations only: we want to compute the supremum of a function from a convex and symmetric class $F$ of bounded functions, using $n$ function values, that is, $n$ queries to a zeroth-order oracle. We compare deterministic algorithms with randomized algorithms in the worst case over $F$. We show that for every such class the error of the best deterministic algorithm with $8n-1$ queries is at most $Cn^2$ times the error of the best randomized algorithm with $n$ queries, where $C$ is a universal constant. The same holds, up to one function value, for the problems of finding a maximizer or minimizer. On the other hand, for all $m$ and $n$ there is a class for which deterministic algorithms with $m$ function values are worse than randomized algorithms with $n$ function values by a factor of order $n^{3/2}$, up to a logarithmic factor, for the computation of the supremum. The upper bound is obtained from a lower bound for randomized algorithms in terms of Bernstein widths. We conjecture that this bound can be improved by a factor $\sqrt{n}$, which would make the exponent $3/2$ sharp. We also show that, for randomized algorithms, finding a point at which the supremum is almost attained can be harder than computing the supremum by a factor of order $n/\log n$, while the two problems are known to be equivalent for deterministic algorithms and convex and symmetric input classes.

Authors: David Krieg

We study global optimization with function evaluations only: we want to compute the supremum of a function from a convex and symmetric class $F$ of bounded functions, using $n$ function values, that is, $n$ queries to a zeroth-order oracle. We compare deterministic algorithms with randomized algorithms in the worst case over $F$. We show that for every such class the error of the best deterministic algorithm with $8n-1$ queries is at most $Cn^2$ times the error of the best randomized algorithm with $n$ queries, where $C$ is a universal constant. The same holds, up to one function value, for the problems of finding a maximizer or minimizer. On the other hand, for all $m$ and $n$ there is a class for which deterministic algorithms with $m$ function values are worse than randomized algorithms with $n$ function values by a factor of order $n^{3/2}$, up to a logarithmic factor, for the computation of the supremum. The upper bound is obtained from a lower bound for randomized algorithms in terms of Bernstein widths. We conjecture that this bound can be improved by a factor $\sqrt{n}$, which would make the exponent $3/2$ sharp. We also show that, for randomized algorithms, finding a point at which the supremum is almost attained can be harder than computing the supremum by a factor of order $n/\log n$, while the two problems are known to be equivalent for deterministic algorithms and convex and symmetric input classes.

Efficient adversaries

from arXiv: Computational Complexity

Authors: Erfan Khaniki, Jan Pich, Dmitry Sokolov

The size of Frege proofs can be characterized in terms of prover-adversary games of Pudlak and Buss. We consider a generalization of prover-adversary games to many standard proof systems and show that some of the major proof complexity lower bounds such as the constant-depth Frege lower bound for the pigeonhole principle based on the method of $k$-evaluations, the Resolution lower bound for the weak pigeonhole principle based on the method of pseudo-width and Razborov's $Res(k)$ lower bound for Nisan-Wigderson generators based on expansion and a width lower bound (which is used to derive the $Res(k)$-hardness of formulas expressing circuit lower bounds) are constructive in the sense that they yield efficient algorithms computing winning strategies of adversaries in the generalized games. This is in contrast with our second result saying that if (a) such a constructive lower bound exists for Extended Frege system EF for formulas expressing succinct circuit lower bounds for SAT and (b) EF is strong enough to prove efficiently the existence of anticheckers for SAT, then it is easy to separate the canonical pair of EF.

Authors: Erfan Khaniki, Jan Pich, Dmitry Sokolov

The size of Frege proofs can be characterized in terms of prover-adversary games of Pudlak and Buss. We consider a generalization of prover-adversary games to many standard proof systems and show that some of the major proof complexity lower bounds such as the constant-depth Frege lower bound for the pigeonhole principle based on the method of $k$-evaluations, the Resolution lower bound for the weak pigeonhole principle based on the method of pseudo-width and Razborov's $Res(k)$ lower bound for Nisan-Wigderson generators based on expansion and a width lower bound (which is used to derive the $Res(k)$-hardness of formulas expressing circuit lower bounds) are constructive in the sense that they yield efficient algorithms computing winning strategies of adversaries in the generalized games. This is in contrast with our second result saying that if (a) such a constructive lower bound exists for Extended Frege system EF for formulas expressing succinct circuit lower bounds for SAT and (b) EF is strong enough to prove efficiently the existence of anticheckers for SAT, then it is easy to separate the canonical pair of EF.

Detecting autocatalytic cores: a simple proof of NP-completeness

from arXiv: Computational Complexity

Authors: Léo-Paul Bendeks, Denis Kuperberg

We give a simple proof that detecting the presence of an autocatalytic core in a reaction network is NP-complete, even when all reactions are reversible. This answers an open question of Kosc et al. The proof is a reduction from an undirected path problem with forbidden pairs. The autocatalytic cores used in the reduction are simple loops with a forked reaction, corresponding to type-I autocatalytic cores in the classification of Blokhuis et al.

Authors: Léo-Paul Bendeks, Denis Kuperberg

We give a simple proof that detecting the presence of an autocatalytic core in a reaction network is NP-complete, even when all reactions are reversible. This answers an open question of Kosc et al. The proof is a reduction from an undirected path problem with forbidden pairs. The autocatalytic cores used in the reduction are simple loops with a forked reaction, corresponding to type-I autocatalytic cores in the classification of Blokhuis et al.

Foundations of Generative Solvability: Common-Success Coverage and Joint Resource Frontiers

from arXiv: Computational Complexity

Authors: Zichen Song

We develop a theory of how finite experience, frozen knowledge, external evidence, computation, candidate generation and verification jointly determine whether a task can be solved. The central object is \emph{common-success coverage}: every resource-bounded program succeeds on a set of worlds, and a learner must separate only those worlds that remain plausible together yet share no addressable successful program. For finite world families and program menus, a reliability exponent $γ$ is achievable with $M$ addressable frozen states if and only if $M\ge K_γ$, the least number of programs whose success regions cover every world set of multivariate Chernoff information below $γ$; thus $\lceil\log_2K_γ\rceil$ bits are necessary and sufficient. Structurally different problems instantiate this principle with closed-form coverage quantities: a continuous covering margin $d_*=(Mw-1)/(M-1)$ with exact exponent $d_*^2/(8σ^2)$, a discrete covering order defined by covering designs, and a resource-conversion threshold $D_{\mathcal{A}}(F)\leq 2τ\min(g,v+1)$ for programs with increasing differences. In an end-to-end model, a learner sees noisy single primitives and must solve unseen nonlinear combinations with fresh facts under comparison feedback. We determine its exact frontier at sufficient capacity, a critical resolution scale $s_*$ computable before training, a two-point sandwich at every sample size, second-order sample complexity, and frozen codes of $d\pm O(\log d)$ bits. The theorems yield seven laws of solvability, each tied to its assumptions.

Authors: Zichen Song

We develop a theory of how finite experience, frozen knowledge, external evidence, computation, candidate generation and verification jointly determine whether a task can be solved. The central object is \emph{common-success coverage}: every resource-bounded program succeeds on a set of worlds, and a learner must separate only those worlds that remain plausible together yet share no addressable successful program. For finite world families and program menus, a reliability exponent $γ$ is achievable with $M$ addressable frozen states if and only if $M\ge K_γ$, the least number of programs whose success regions cover every world set of multivariate Chernoff information below $γ$; thus $\lceil\log_2K_γ\rceil$ bits are necessary and sufficient. Structurally different problems instantiate this principle with closed-form coverage quantities: a continuous covering margin $d_*=(Mw-1)/(M-1)$ with exact exponent $d_*^2/(8σ^2)$, a discrete covering order defined by covering designs, and a resource-conversion threshold $D_{\mathcal{A}}(F)\leq 2τ\min(g,v+1)$ for programs with increasing differences. In an end-to-end model, a learner sees noisy single primitives and must solve unseen nonlinear combinations with fresh facts under comparison feedback. We determine its exact frontier at sufficient capacity, a critical resolution scale $s_*$ computable before training, a two-point sandwich at every sample size, second-order sample complexity, and frozen codes of $d\pm O(\log d)$ bits. The theorems yield seven laws of solvability, each tied to its assumptions.

Compiling Low-Magic Protocols to have Short Messages

from arXiv: Computational Complexity

Authors: Owen Boseley, Darin Ershov, Anthony Mangus, Chinmay Nirkhe, Toby Thornburg

We develop new circuit compilation techniques to reduce communication complexity in various quantum verification tasks. We show that magic complexity---the number of non-Clifford gates in a quantum circuit---provides a good upper bound on the total communication required for $\mathsf{QMA}[k]$. We then provide evidence that the same bound holds for $\mathsf{QIP}$ by proving $\mathsf{QMAM}$ has similar communication compilations and non-adaptive Clifford $\mathsf{QIP}$ is polynomial-time solvable. In the process, we develop new techniques to analyze the entanglement structure of the stabilizer projectors associated with the verifier, and mathematics to represent Clifford interactive protocols as a product of stabilizer projectors.

Authors: Owen Boseley, Darin Ershov, Anthony Mangus, Chinmay Nirkhe, Toby Thornburg

We develop new circuit compilation techniques to reduce communication complexity in various quantum verification tasks. We show that magic complexity---the number of non-Clifford gates in a quantum circuit---provides a good upper bound on the total communication required for $\mathsf{QMA}[k]$. We then provide evidence that the same bound holds for $\mathsf{QIP}$ by proving $\mathsf{QMAM}$ has similar communication compilations and non-adaptive Clifford $\mathsf{QIP}$ is polynomial-time solvable. In the process, we develop new techniques to analyze the entanglement structure of the stabilizer projectors associated with the verifier, and mathematics to represent Clifford interactive protocols as a product of stabilizer projectors.

Quantum Step Recursion: Complexity Classes, Exact Spectra, and Structural Separations

from arXiv: Computational Complexity

Authors: Kirill Osipov

We develop two quantum extensions of Step Recursion and establish a distinction between computational completeness and exact operator expressibility. Fixed-workspace iteration characterizes random-access quantum time polynomial in descent depth under suitable clock assumptions, with a sharp parity threshold; serial doubling characterizes bounded-error quantum space. Shrinking-register recursion captures BQP and FBQP at width one and construction rank at most ten with polynomial padding. Nevertheless, exact operator inclusion is governed by width divisibility, even up to eventual projective agreement. Specified finite gate libraries admit a complete joint basis-width-rank classification. We establish necessary and sufficient recurrence conditions for determinant, non-torsion rank-one and scalar phase spectra, and prove that every realizable finite-order determinant can be concentrated on a single basis state at finite rank. Intersections of incomparable singleton-width algebras are not width-generated. Register reversal has minimum construction rank two, with a sharp asymptotic operator-norm approximation threshold of $\sqrt{2}$ among fixed terms of rank at most one, even up to global phase. The obstruction to common exact representatives of projectively equivalent families forms an abelian two-primary torsion group whose triviality remains open. Exact alignment is established in several sectors, and arbitrary projective intersections admit faithful interleaved encodings with doubled register length and widths, without increasing construction rank. Finally, no finite term realizes the unbounded quantum Fourier transform exactly on a tail, even up to global phase and with finitely many additional fixed-size gates.

Authors: Kirill Osipov

We develop two quantum extensions of Step Recursion and establish a distinction between computational completeness and exact operator expressibility. Fixed-workspace iteration characterizes random-access quantum time polynomial in descent depth under suitable clock assumptions, with a sharp parity threshold; serial doubling characterizes bounded-error quantum space. Shrinking-register recursion captures BQP and FBQP at width one and construction rank at most ten with polynomial padding. Nevertheless, exact operator inclusion is governed by width divisibility, even up to eventual projective agreement. Specified finite gate libraries admit a complete joint basis-width-rank classification. We establish necessary and sufficient recurrence conditions for determinant, non-torsion rank-one and scalar phase spectra, and prove that every realizable finite-order determinant can be concentrated on a single basis state at finite rank. Intersections of incomparable singleton-width algebras are not width-generated. Register reversal has minimum construction rank two, with a sharp asymptotic operator-norm approximation threshold of $\sqrt{2}$ among fixed terms of rank at most one, even up to global phase. The obstruction to common exact representatives of projectively equivalent families forms an abelian two-primary torsion group whose triviality remains open. Exact alignment is established in several sectors, and arbitrary projective intersections admit faithful interleaved encodings with doubled register length and widths, without increasing construction rank. Finally, no finite term realizes the unbounded quantum Fourier transform exactly on a tail, even up to global phase and with finitely many additional fixed-size gates.

Complete Rectangulations are no Easier to Guard

from arXiv: Computational Geometry

Authors: Vasco Cruz, Ana Paula Tomás

A rectangulation is a partition of a rectangular domain $Ω$ into $n$ pairwise interior-disjoint rectangles such that no four of them meet at a common point. Nearly two decades ago, Dinitz, Katz and Krakovski [EWCG 2007; IJCGA 2009] showed that finding a minimum vertex-guard set for a partial rectangulation with holes is $\textsf{NP}$-complete, leaving open whether the problem remains hard for complete rectangulations (without holes) and whether a $4/3$-approximation can be improved. In this paper, we answer both questions in the affirmative. We first prove that vertex-guarding rectangulations ($\mathrm{RVG}$) is $\textsf{NP}$-complete even when every rectangle must be guarded, and even when a fixed subset of vertices is forbidden. We then obtain a PTAS for $\mathrm{RVG}$ by formulating the problem as a red-blue dominating set on graphs of bounded outerplanarity, thus ruling out $\textsf{APX}$-hardness unless $\textsf{P} = \textsf{NP}$. Finally, we describe a family of boundary-exposed rectangulations, in which every rectangle touches the outer boundary $\partial Ω$. We establish structural properties of their weak duals and guillotine partitions, and show that $\mathrm{RVG}$ on these rectangulations is solvable in linear time. This approach extends to rectangulations with at most $k$ interior rectangles, yielding a fixed-parameter tractable algorithm with running time $2^{O(k)} \cdot n$.

Authors: Vasco Cruz, Ana Paula Tomás

A rectangulation is a partition of a rectangular domain $Ω$ into $n$ pairwise interior-disjoint rectangles such that no four of them meet at a common point. Nearly two decades ago, Dinitz, Katz and Krakovski [EWCG 2007; IJCGA 2009] showed that finding a minimum vertex-guard set for a partial rectangulation with holes is $\textsf{NP}$-complete, leaving open whether the problem remains hard for complete rectangulations (without holes) and whether a $4/3$-approximation can be improved. In this paper, we answer both questions in the affirmative. We first prove that vertex-guarding rectangulations ($\mathrm{RVG}$) is $\textsf{NP}$-complete even when every rectangle must be guarded, and even when a fixed subset of vertices is forbidden. We then obtain a PTAS for $\mathrm{RVG}$ by formulating the problem as a red-blue dominating set on graphs of bounded outerplanarity, thus ruling out $\textsf{APX}$-hardness unless $\textsf{P} = \textsf{NP}$. Finally, we describe a family of boundary-exposed rectangulations, in which every rectangle touches the outer boundary $\partial Ω$. We establish structural properties of their weak duals and guillotine partitions, and show that $\mathrm{RVG}$ on these rectangulations is solvable in linear time. This approach extends to rectangulations with at most $k$ interior rectangles, yielding a fixed-parameter tractable algorithm with running time $2^{O(k)} \cdot n$.

Improved Bounds on Polychromatic Colorings of t-tuples

from arXiv: Computational Geometry

Authors: Shakhar Smorodinsky

We prove that there is a function $f(k)=O(k)$ such that the pairs of points in any finite point set $P$ in the plane can be $k$-colored so that any disc containing at least $f(k)$ points of $P$ contains a pair of each color. This improves the previous exponential upper bound of $3.7^k$ due to Biniaz et al.\ (SoCG '25) and answers their question of whether a polynomial bound is possible. Our linear bound also holds for families of pseudo-discs. More generally, let $H=(V,E)$ be a hypergraph. We seek a $k$-coloring of the $t$-element subsets of $V$ such that every hyperedge with at least $f$ vertices contains a tuple of each color. For hypergraphs defined by points and pseudo-discs in the plane, we obtain $f=O_t(k^{1/(t-1)})$ for every fixed $t\geq 2$. For shrinkable hypergraphs of VC-dimension at most $d$, we prove that $f=O_{d,t}(k^{1/(t-d)})$ for every fixed $t>d$, improving in particular the previous exponential bound for $(d+1)$-tuples to a linear one. Our method combines random sampling, bounds on the lower shadows of families of shallow tuples, a capacitated version of Hall's theorem, and the $\eps$-net theorem. The key idea is to assign shallow tuples to smaller subsets, thereby reducing the global coloring problem to a collection of local coloring problems in which the relevant hyperedges contain a constant fraction of the ground set.

Authors: Shakhar Smorodinsky

We prove that there is a function $f(k)=O(k)$ such that the pairs of points in any finite point set $P$ in the plane can be $k$-colored so that any disc containing at least $f(k)$ points of $P$ contains a pair of each color. This improves the previous exponential upper bound of $3.7^k$ due to Biniaz et al.\ (SoCG '25) and answers their question of whether a polynomial bound is possible. Our linear bound also holds for families of pseudo-discs. More generally, let $H=(V,E)$ be a hypergraph. We seek a $k$-coloring of the $t$-element subsets of $V$ such that every hyperedge with at least $f$ vertices contains a tuple of each color. For hypergraphs defined by points and pseudo-discs in the plane, we obtain $f=O_t(k^{1/(t-1)})$ for every fixed $t\geq 2$. For shrinkable hypergraphs of VC-dimension at most $d$, we prove that $f=O_{d,t}(k^{1/(t-d)})$ for every fixed $t>d$, improving in particular the previous exponential bound for $(d+1)$-tuples to a linear one. Our method combines random sampling, bounds on the lower shadows of families of shallow tuples, a capacitated version of Hall's theorem, and the $\eps$-net theorem. The key idea is to assign shallow tuples to smaller subsets, thereby reducing the global coloring problem to a collection of local coloring problems in which the relevant hyperedges contain a constant fraction of the ground set.

Graph reductions and the topology of flag complexes

from arXiv: Computational Geometry

Authors: Jesús F. Espinoza, Martín Eduardo Frías-Armenta, Rosalía G. Hernández-Amador, Héctor A. Hernández-Hernández

Ivashchenko's transformations characterise the graphs whose clique complexes are contractible. A graph is strong I-contractible if it reduces to one vertex by deleting vertices and edges. At each step the neighbours of the vertex, or the common neighbours of the endpoints of the edge, must induce a strong I-contractible graph. Write $\mathfrak{I}_S$ for this family. We show that $14$ is the least order of an I-contractible graph outside $\mathfrak{I}_S$ and also the least number of vertices of a contractible, non-collapsible flag complex. Our example attains both bounds. Its clique complex has no free face, yet adding one edge to the graph gives a member of $\mathfrak{I}_S$. Since the common neighbours of its endpoints induce a path, the new edge can be deleted admissibly. If contractibility is weakened to acyclicity over $\mathbb{F}_2$, the minimum order outside $\mathfrak{I}_S$ drops to $13$. There are exactly three examples of that order up to isomorphism, each with first integral homology $\mathbb{Z}/3$. They also attain the least number of vertices of a flag complex with odd torsion in first homology. These three graphs disprove the acyclicity assertion of Conjecture 14 of Dochtermann, Espinoza, Frías-Armenta and Hernández. The graph of order $14$ and its one-edge extension disprove the remaining assertion and Conjecture 15, respectively. The lower bounds follow from an enumeration of connected graphs through order $13$. Among $K_4$-free graphs of order $14$, exactly eight isomorphism classes are I-contractible and lie outside $\mathfrak{I}_S$.

Authors: Jesús F. Espinoza, Martín Eduardo Frías-Armenta, Rosalía G. Hernández-Amador, Héctor A. Hernández-Hernández

Ivashchenko's transformations characterise the graphs whose clique complexes are contractible. A graph is strong I-contractible if it reduces to one vertex by deleting vertices and edges. At each step the neighbours of the vertex, or the common neighbours of the endpoints of the edge, must induce a strong I-contractible graph. Write $\mathfrak{I}_S$ for this family. We show that $14$ is the least order of an I-contractible graph outside $\mathfrak{I}_S$ and also the least number of vertices of a contractible, non-collapsible flag complex. Our example attains both bounds. Its clique complex has no free face, yet adding one edge to the graph gives a member of $\mathfrak{I}_S$. Since the common neighbours of its endpoints induce a path, the new edge can be deleted admissibly. If contractibility is weakened to acyclicity over $\mathbb{F}_2$, the minimum order outside $\mathfrak{I}_S$ drops to $13$. There are exactly three examples of that order up to isomorphism, each with first integral homology $\mathbb{Z}/3$. They also attain the least number of vertices of a flag complex with odd torsion in first homology. These three graphs disprove the acyclicity assertion of Conjecture 14 of Dochtermann, Espinoza, Frías-Armenta and Hernández. The graph of order $14$ and its one-edge extension disprove the remaining assertion and Conjecture 15, respectively. The lower bounds follow from an enumeration of connected graphs through order $13$. Among $K_4$-free graphs of order $14$, exactly eight isomorphism classes are I-contractible and lie outside $\mathfrak{I}_S$.

Reconfiguration of Externally Controlled Particles in Simple, Constructible Domains

from arXiv: Computational Geometry

Authors: Sándor P. Fekete, Jonas Friemel, Jan-Marc Reinhardt, Christian Scheffer

In tilt models, large swarms of particles in grid environments move uniformly under the control of external signals such as magnetic fields. We study particle reconfiguration problems in simple (hole-free) environments. On the positive side, we design space-efficient simple environments to implement arbitrary permutations between labeled particle configurations, including a construction achieving worst-case optimal lengths of control sequences. The environments we present are constructible via tilt assembly, where structures are built with bonding particles adhering to the same uniform movement rules as non-bonding particles. To facilitate environment assembly, simplicity is a necessary condition. Complementarily, we prove that established tilt problems like Occupancy and Vacancy are PSPACE-complete in simple environments, settling an open question posed in [BGC+, SODA 2020] and proving a conjecture of [FKR+, ICALP 2025].

Authors: Sándor P. Fekete, Jonas Friemel, Jan-Marc Reinhardt, Christian Scheffer

In tilt models, large swarms of particles in grid environments move uniformly under the control of external signals such as magnetic fields. We study particle reconfiguration problems in simple (hole-free) environments. On the positive side, we design space-efficient simple environments to implement arbitrary permutations between labeled particle configurations, including a construction achieving worst-case optimal lengths of control sequences. The environments we present are constructible via tilt assembly, where structures are built with bonding particles adhering to the same uniform movement rules as non-bonding particles. To facilitate environment assembly, simplicity is a necessary condition. Complementarily, we prove that established tilt problems like Occupancy and Vacancy are PSPACE-complete in simple environments, settling an open question posed in [BGC+, SODA 2020] and proving a conjecture of [FKR+, ICALP 2025].

Planar Unit-disk Obstacle Number of Trees

from arXiv: Computational Geometry

Authors: Emilio Di Giacomo, Carolina Haase, Philipp Kindermann, Giuseppe Liotta

An obstacle representation of a graph $G$ is constructed by drawing vertices at distinct points in the plane and by choosing a set of connected regions (the obstacles) such that $G$ is the visibility graph of those points with respect to the obstacles. The obstacle number of $G$ is the smallest number of obstacles that make it possible to construct an obstacle representation of $G$. It is known that every outerplanar graph has obstacle number at most five where the obstacles are convex and have non-constant size. In this paper, we study the planar unit-disk obstacle number of trees, i.e., the minimum number of unit disks acting as obstacles in a crossing-free obstacle representation of a tree. We show that this number is $Ω(n)$ even for structurally simple $n$-vertex trees. We also show how to compute planar unit-disk obstacle representations of $n$-vertex trees with $O(n)$ obstacles in $O(n)$ time (real RAM). In the case of $n$-vertex rooted binary trees, we describe an $O(n \log n)$-time algorithm that computes a strictly upward planar unit-disk obstacle representation with $O(n \log n)$ obstacles on an integer grid of size $O(n^2)$.

Authors: Emilio Di Giacomo, Carolina Haase, Philipp Kindermann, Giuseppe Liotta

An obstacle representation of a graph $G$ is constructed by drawing vertices at distinct points in the plane and by choosing a set of connected regions (the obstacles) such that $G$ is the visibility graph of those points with respect to the obstacles. The obstacle number of $G$ is the smallest number of obstacles that make it possible to construct an obstacle representation of $G$. It is known that every outerplanar graph has obstacle number at most five where the obstacles are convex and have non-constant size. In this paper, we study the planar unit-disk obstacle number of trees, i.e., the minimum number of unit disks acting as obstacles in a crossing-free obstacle representation of a tree. We show that this number is $Ω(n)$ even for structurally simple $n$-vertex trees. We also show how to compute planar unit-disk obstacle representations of $n$-vertex trees with $O(n)$ obstacles in $O(n)$ time (real RAM). In the case of $n$-vertex rooted binary trees, we describe an $O(n \log n)$-time algorithm that computes a strictly upward planar unit-disk obstacle representation with $O(n \log n)$ obstacles on an integer grid of size $O(n^2)$.

Approximating a Minimum Intersecting Convex Polytope

from arXiv: Computational Geometry

Authors: Sándor Kisfaludi-Bak, Beimar Naranjo, Saeed Odak

In fixed dimension, we give efficient polynomial-time approximation schemes for minimizing the volume or surface area of a convex polytope that intersects every member of a given family of closed semialgebraic sets of bounded degree. Our algorithms combine a geometric coreset argument with the real algebraic optimization technique of Basu, Pollack, and Roy. Assuming the Satisfiability Hypothesis we show that the dependence on the approximation parameter $\varepsilon$ is nearly optimal.

Authors: Sándor Kisfaludi-Bak, Beimar Naranjo, Saeed Odak

In fixed dimension, we give efficient polynomial-time approximation schemes for minimizing the volume or surface area of a convex polytope that intersects every member of a given family of closed semialgebraic sets of bounded degree. Our algorithms combine a geometric coreset argument with the real algebraic optimization technique of Basu, Pollack, and Roy. Assuming the Satisfiability Hypothesis we show that the dependence on the approximation parameter $\varepsilon$ is nearly optimal.

Edge Dominating Set is NP-complete on Chordal Graphs

from arXiv: Data Structures and Algorithms

Authors: Tesshu Hanaka

In this paper, we show that \textsc{Edge Dominating Set} is NP-complete on chordal graphs. Moreover, the problem remains NP-complete even on strongly chordal graphs, a subclass of chordal graphs. This resolves the question posed by Horton and Kilakos [{SIAM} J. Discret. Math., 6(3):375--387, 1993] and highlighted by Manlove [Discret. Appl. Math., 91(1--3):155--175, 1999].

Authors: Tesshu Hanaka

In this paper, we show that \textsc{Edge Dominating Set} is NP-complete on chordal graphs. Moreover, the problem remains NP-complete even on strongly chordal graphs, a subclass of chordal graphs. This resolves the question posed by Horton and Kilakos [{SIAM} J. Discret. Math., 6(3):375--387, 1993] and highlighted by Manlove [Discret. Appl. Math., 91(1--3):155--175, 1999].

How to Make Shortest-Path Metrics Euclidean by Reweighting a Few Edges

from arXiv: Data Structures and Algorithms

Authors: Matthias Bentert, Fedor V. Fomin, Petr A. Golovach, M. S. Ramanujan

Shortest-path metrics infer global distances from local measurements along a graph, while Euclidean metrics describe distances between points in space. Many applications such as molecular structure determination and sensor localization motivate the question of whether the shortest-path distances inferred from local measurements admit a Euclidean realization. When it is not possible to embed a given shortest-path metric in Euclidean metric space, can changing a few edge weights fix the issue? We formalize this question as the following problem: given a connected graph \(G\) with positive edge weights and integers \(k\) and \(d\), can changing at most \(k\) edge weights make the shortest-path metric of \(G\) isometrically embeddable into (\mathbb{R}^d? As our main result, we show that this problem is polynomial-time solvable for every constant \(k\), independently of \(d\). Our algorithm runs in \(2^{O(k^2)}n^{O(k)}\) arithmetic operations. On rational input, we can also return exact replacement weights. The dependence on \(k\) in the exponent of \(n\) is presumably necessary, as we also show that the problem is W[1]-hard parameterized by \(k\) for any \(d \geq 1\). More generally, our algorithmic techniques enable us to show that for every fixed metric class \(\mathcal{C}\) characterized by polynomial tests on distances within bounded-size subsets, we obtain a bound of \(2^{O_{\mathcal{C}}(k^2)}n^{O_{\mathcal{C}}(k)}\) arithmetic operations. This includes tree metrics, metrics with Gromov hyperbolicity at most a fixed rational \(δ\geq 0\), and metrics that embed isometrically in the Manhattan plane.

Authors: Matthias Bentert, Fedor V. Fomin, Petr A. Golovach, M. S. Ramanujan

Shortest-path metrics infer global distances from local measurements along a graph, while Euclidean metrics describe distances between points in space. Many applications such as molecular structure determination and sensor localization motivate the question of whether the shortest-path distances inferred from local measurements admit a Euclidean realization. When it is not possible to embed a given shortest-path metric in Euclidean metric space, can changing a few edge weights fix the issue? We formalize this question as the following problem: given a connected graph \(G\) with positive edge weights and integers \(k\) and \(d\), can changing at most \(k\) edge weights make the shortest-path metric of \(G\) isometrically embeddable into (\mathbb{R}^d? As our main result, we show that this problem is polynomial-time solvable for every constant \(k\), independently of \(d\). Our algorithm runs in \(2^{O(k^2)}n^{O(k)}\) arithmetic operations. On rational input, we can also return exact replacement weights. The dependence on \(k\) in the exponent of \(n\) is presumably necessary, as we also show that the problem is W[1]-hard parameterized by \(k\) for any \(d \geq 1\). More generally, our algorithmic techniques enable us to show that for every fixed metric class \(\mathcal{C}\) characterized by polynomial tests on distances within bounded-size subsets, we obtain a bound of \(2^{O_{\mathcal{C}}(k^2)}n^{O_{\mathcal{C}}(k)}\) arithmetic operations. This includes tree metrics, metrics with Gromov hyperbolicity at most a fixed rational \(δ\geq 0\), and metrics that embed isometrically in the Manhattan plane.

Distance Coverage by Spanning Trees

from arXiv: Data Structures and Algorithms

Authors: Akanksha Agrawal, Fedor V. Fomin, Petr A. Golovach, Saket Saurabh, Kirill Simonov

Spanning trees provide sparse representations of finite metrics, supporting efficient routing and distance queries. Classical tree embeddings and tree covers seek to approximate pairwise distances. We study a complementary objective: how many pairwise distances can be preserved exactly by a small family of spanning trees? For an $n$-point metric and $\ell<\lceil n/2\rceil$, the Nash-Williams--Tutte theorem guarantees $\ell$ edge-disjoint spanning trees, which collectively preserve at least $\ell(n-1)$ distinct pairs. This motivates Distance Coverage by Trees: given a metric $(X,d)$ and integers $\ell<\lceil n/2\rceil$ and $k$, decide whether $\ell$ spanning trees can collectively preserve at least $\ell(n-1)+k$ distinct pairs. The parameter $k$ measures the improvement over this universal combinatorial guarantee. We prove that Distance Coverage by Trees is fixed-parameter tractable parameterized by $k$. For strictly convex metrics, a class containing all finite Euclidean metrics and, more generally, metrics induced by point sets in strictly convex normed spaces, we give a polynomial-time reduction to an equivalent instance on $O(k^2)$ input points. For rational-valued distances, this yields a polynomial kernel within the class of strictly convex metrics. In contrast, on general metrics no polynomial kernel exists unless $coNP\subseteq NP/poly$, even for a single tree and integer distances bounded by $4$. Finally, the problem is already NP-hard for a single tree on point sets in the Euclidean plane with integer coordinates.

Authors: Akanksha Agrawal, Fedor V. Fomin, Petr A. Golovach, Saket Saurabh, Kirill Simonov

Spanning trees provide sparse representations of finite metrics, supporting efficient routing and distance queries. Classical tree embeddings and tree covers seek to approximate pairwise distances. We study a complementary objective: how many pairwise distances can be preserved exactly by a small family of spanning trees? For an $n$-point metric and $\ell<\lceil n/2\rceil$, the Nash-Williams--Tutte theorem guarantees $\ell$ edge-disjoint spanning trees, which collectively preserve at least $\ell(n-1)$ distinct pairs. This motivates Distance Coverage by Trees: given a metric $(X,d)$ and integers $\ell<\lceil n/2\rceil$ and $k$, decide whether $\ell$ spanning trees can collectively preserve at least $\ell(n-1)+k$ distinct pairs. The parameter $k$ measures the improvement over this universal combinatorial guarantee. We prove that Distance Coverage by Trees is fixed-parameter tractable parameterized by $k$. For strictly convex metrics, a class containing all finite Euclidean metrics and, more generally, metrics induced by point sets in strictly convex normed spaces, we give a polynomial-time reduction to an equivalent instance on $O(k^2)$ input points. For rational-valued distances, this yields a polynomial kernel within the class of strictly convex metrics. In contrast, on general metrics no polynomial kernel exists unless $coNP\subseteq NP/poly$, even for a single tree and integer distances bounded by $4$. Finally, the problem is already NP-hard for a single tree on point sets in the Euclidean plane with integer coordinates.

Near-Linear Time Maximum Weight Clique for Objects Inscribed in a Circle

from arXiv: Data Structures and Algorithms

Authors: Jaehyun Koo, Dario Moschetti

Circle trapezoid graphs are the intersection graphs of regions of a disk between two non-crossing chords, and they contain circle graphs, circular-arc graphs and trapezoid graphs. We give an $O(n\log^2 n)$-time algorithm for maximum weight clique in circle trapezoid graphs, improving on the $O(n^2\log n)$ bound known since 1997, and an $O(N\log^2 N)$-time algorithm for polygon-circle graphs, where $N$ is the total number of vertices of the polygons. This gives the first worst-case subquadratic algorithms for maximum weight clique in circle graphs and in circular-arc graphs, answering questions left open in previous work. All these classes are handled by one reduction to a dominance problem on red and blue points in the plane. Unlike the previous near-linear time algorithms for circle graphs and circular-arc graphs, ours do not use Monge matrices: they rely on elementary dynamic programming, which also gives a simpler alternative in the unweighted case. From the same approach we also obtain a data structure for interval queries on red and blue points, a more general problem that contains weighted range longest increasing subsequence queries, matching the best known bounds for the latter.

Authors: Jaehyun Koo, Dario Moschetti

Circle trapezoid graphs are the intersection graphs of regions of a disk between two non-crossing chords, and they contain circle graphs, circular-arc graphs and trapezoid graphs. We give an $O(n\log^2 n)$-time algorithm for maximum weight clique in circle trapezoid graphs, improving on the $O(n^2\log n)$ bound known since 1997, and an $O(N\log^2 N)$-time algorithm for polygon-circle graphs, where $N$ is the total number of vertices of the polygons. This gives the first worst-case subquadratic algorithms for maximum weight clique in circle graphs and in circular-arc graphs, answering questions left open in previous work. All these classes are handled by one reduction to a dominance problem on red and blue points in the plane. Unlike the previous near-linear time algorithms for circle graphs and circular-arc graphs, ours do not use Monge matrices: they rely on elementary dynamic programming, which also gives a simpler alternative in the unweighted case. From the same approach we also obtain a data structure for interval queries on red and blue points, a more general problem that contains weighted range longest increasing subsequence queries, matching the best known bounds for the latter.

Markov Metrical Task Systems

from arXiv: Data Structures and Algorithms

Authors: Christian Coester, Alexa Tudose

We study Metrical Task Systems, a broad class of problems in online algorithms, under a model where input requests are generated by a stochastic process. We first consider the case of requests drawn IID from an unknown distribution, and then extend the model to requests generated by a finite-state Markov chain, where the algorithm observes both the current request and the current state of the chain before making its next move. This formulation captures practical settings in which requests are generated by an evolving environment. In both settings, we show how to find in polynomial time an algorithm whose expected cost per step is arbitrarily close to the cost of the best possible online algorithm. Our theoretical results are complemented by a brief empirical evaluation of our algorithms.

Authors: Christian Coester, Alexa Tudose

We study Metrical Task Systems, a broad class of problems in online algorithms, under a model where input requests are generated by a stochastic process. We first consider the case of requests drawn IID from an unknown distribution, and then extend the model to requests generated by a finite-state Markov chain, where the algorithm observes both the current request and the current state of the chain before making its next move. This formulation captures practical settings in which requests are generated by an evolving environment. In both settings, we show how to find in polynomial time an algorithm whose expected cost per step is arbitrarily close to the cost of the best possible online algorithm. Our theoretical results are complemented by a brief empirical evaluation of our algorithms.

Wilber's Funnel Bound Is Not Tight

from arXiv: Data Structures and Algorithms

Authors: Yang Cao, Haoran Qi, Hanzhi Wang

Wilber [SIAM J. Comput. 1989] gave two lower bounds on the cost of binary search trees and conjectured that the second one, the funnel bound, is tight: on every sequence of searches, the optimal cost is within a constant factor of the funnel bound. We refute this conjecture. For infinitely many $m$, we construct a sequence of $m$ searches on $m$ distinct keys whose funnel bound is $O(m)$, while every binary search tree, even an offline one, has cost $Ω(m\log\log m)$ on it. Among sequences of $m$ searches on $m$ distinct keys, this gap is the largest possible. On the same sequences, the independent rectangle bound of Demaine et al. [SODA 2009] exceeds the funnel bound by a factor $Ω(\log\log m)$. This refutes a conjecture of Iacono that the two bounds are equivalent. Moreover, the two signed Greedy bounds of Demaine et al., one for each orientation, differ by $Ω(m\log\log m)$. This refutes a conjecture of Lecomte and Weinstein [ESA 2020] that they differ by only $O(m)$.

Authors: Yang Cao, Haoran Qi, Hanzhi Wang

Wilber [SIAM J. Comput. 1989] gave two lower bounds on the cost of binary search trees and conjectured that the second one, the funnel bound, is tight: on every sequence of searches, the optimal cost is within a constant factor of the funnel bound. We refute this conjecture. For infinitely many $m$, we construct a sequence of $m$ searches on $m$ distinct keys whose funnel bound is $O(m)$, while every binary search tree, even an offline one, has cost $Ω(m\log\log m)$ on it. Among sequences of $m$ searches on $m$ distinct keys, this gap is the largest possible. On the same sequences, the independent rectangle bound of Demaine et al. [SODA 2009] exceeds the funnel bound by a factor $Ω(\log\log m)$. This refutes a conjecture of Iacono that the two bounds are equivalent. Moreover, the two signed Greedy bounds of Demaine et al., one for each orientation, differ by $Ω(m\log\log m)$. This refutes a conjecture of Lecomte and Weinstein [ESA 2020] that they differ by only $O(m)$.

New Parameterized Upper Bounds for All-Pairs Shortest Path and Lowest Common Ancestor in DAGs

from arXiv: Data Structures and Algorithms

Authors: Ersel Hengirmen, Hakan Yıldız

We present new algorithms on two well-known all-pairs problems on directed acyclic graphs (DAGs): shortest path and lowest common ancestor. The new algorithms provide specialized bounds that relate to the degree distribution of the vertices on the edges essential for the output. In particular, we show how to solve all-pairs shortest path problem on real-weighted DAGs in $O((E^*)^2/V + Vσ+ V^2)$ time, where $E^*$ is the number of essential edges and $σ$ is the covariance of the in-degree and out-degree exceedance distributions on these edges. In comparison, the previous best bound making use of $E^*$ was $O(VE^*)$, which can be asymptotically larger. The lowest common ancestor problem on DAGs also gets a similar bound, involving the variance of the in-degree exceedances. At their heart, our algorithms leverage the varying branching factors in multiple recurrences on the same function to obtain a bound that involves the covariance/variance. This interesting technique can be utilized in other places where dynamic programming is used.

Authors: Ersel Hengirmen, Hakan Yıldız

We present new algorithms on two well-known all-pairs problems on directed acyclic graphs (DAGs): shortest path and lowest common ancestor. The new algorithms provide specialized bounds that relate to the degree distribution of the vertices on the edges essential for the output. In particular, we show how to solve all-pairs shortest path problem on real-weighted DAGs in $O((E^*)^2/V + Vσ+ V^2)$ time, where $E^*$ is the number of essential edges and $σ$ is the covariance of the in-degree and out-degree exceedance distributions on these edges. In comparison, the previous best bound making use of $E^*$ was $O(VE^*)$, which can be asymptotically larger. The lowest common ancestor problem on DAGs also gets a similar bound, involving the variance of the in-degree exceedances. At their heart, our algorithms leverage the varying branching factors in multiple recurrences on the same function to obtain a bound that involves the covariance/variance. This interesting technique can be utilized in other places where dynamic programming is used.

Reoptimization in the dynamic and stochastic knapsack problem: from near-optimality to distributional equivalence

from arXiv: Data Structures and Algorithms

Authors: Alessandro Arlotto, Yun-Tung Kuo, Xinchang Xie

We study a dynamic and stochastic knapsack problem in which a decision maker is sequentially presented with $T$ items with unit rewards and independent weights drawn from a nonnegative distribution satisfying mild regularity conditions near zero. The decision maker seeks to maximize the expected number of selected items while satisfying a capacity constraint and making terminal decisions as soon as each item's weight is revealed. We study a reoptimized heuristic and compare its total number of selections with that of the optimal dynamic programming policy. We show that the two totals converge to the same normal limiting distribution, after standard centering and scaling. By contrast, another asymptotically optimal heuristic considered in the literature has strictly larger asymptotic variance and a different, non-Gaussian limiting distribution. These results give a finer, distributional basis for comparing policies that are otherwise first-order indistinguishable asymptotically.

Authors: Alessandro Arlotto, Yun-Tung Kuo, Xinchang Xie

We study a dynamic and stochastic knapsack problem in which a decision maker is sequentially presented with $T$ items with unit rewards and independent weights drawn from a nonnegative distribution satisfying mild regularity conditions near zero. The decision maker seeks to maximize the expected number of selected items while satisfying a capacity constraint and making terminal decisions as soon as each item's weight is revealed. We study a reoptimized heuristic and compare its total number of selections with that of the optimal dynamic programming policy. We show that the two totals converge to the same normal limiting distribution, after standard centering and scaling. By contrast, another asymptotically optimal heuristic considered in the literature has strictly larger asymptotic variance and a different, non-Gaussian limiting distribution. These results give a finer, distributional basis for comparing policies that are otherwise first-order indistinguishable asymptotically.

Online Scheduling with Predicted Order of Processing Times

from arXiv: Data Structures and Algorithms

Authors: Junwen Xiao, Tianqi Chen, Zhiyi Tan

In this paper, we investigate the non-clairvoyant online parallel machine scheduling problem with predicted processing time orders, with the objective of minimizing the makespan. A set of jobs is to be processed on $m$ identical parallel machines. The processing time of a job remains unknown until its completion. However, a predicted order of processing times is provided in advance, which may contain errors. We use $τ$, the number of inversions between the predicted order and the exact order of processing times, as a metric to measure prediction accuracy. We derive lower bounds of the problem. We also propose two algorithms, POLPT for an arbitrary number of machines and DLPT for three machines, and prove their competitive ratios. Specifically, we establish optimality for $m=2$, for $m=3$ except for $τ=4$ and $5$, and for $m\geq 4$ with $τ=2, 3$ or $τ\geq m^2-m$.

Authors: Junwen Xiao, Tianqi Chen, Zhiyi Tan

In this paper, we investigate the non-clairvoyant online parallel machine scheduling problem with predicted processing time orders, with the objective of minimizing the makespan. A set of jobs is to be processed on $m$ identical parallel machines. The processing time of a job remains unknown until its completion. However, a predicted order of processing times is provided in advance, which may contain errors. We use $τ$, the number of inversions between the predicted order and the exact order of processing times, as a metric to measure prediction accuracy. We derive lower bounds of the problem. We also propose two algorithms, POLPT for an arbitrary number of machines and DLPT for three machines, and prove their competitive ratios. Specifically, we establish optimality for $m=2$, for $m=3$ except for $τ=4$ and $5$, and for $m\geq 4$ with $τ=2, 3$ or $τ\geq m^2-m$.

Nearly-Optimal Dynamic Subtree Mode

from arXiv: Data Structures and Algorithms

Authors: Jialong Zhou, Ben Bals, Sankardeep Chakraborty, Grigorios Loukides, Solon P. Pissis, Kunihiko Sadakane

Computing the mode (i.e., the most frequent element) in a range of an array, or in a path of a colored tree, has been studied extensively in both the static and dynamic setting. However, the problem of computing the mode in a subtree of a leaf-colored tree, referred to as the Subtree Mode (SM), has only been studied in the static setting, despite its applications in domains ranging from file systems, to e-commerce, and bioinformatics. Here, we study the SM problem as the tree undergoes changes. We define Dynamic Subtree Mode (DSM), which asks for a data structure supporting leaf recolorings in a fixed tree, and Fully Dynamic Subtree Mode (FDSM), which additionally supports leaf insertions and deletions and subtree moves. For DSM on a tree of $n$ nodes, we propose a linear-space data structure with $O(n)$ preprocessing and, for any $α\in [0,1]$, query and update times $\tilde{O}(n^α)$ and $\tilde{O}(n^{1-α})$, respectively. This trade-off is polynomially optimal under the Online Matrix-Vector Multiplication conjecture. For trees of height $h$, query and update times improve to $\tilde{O}(1)$ and $\tilde{O}(h)$, respectively. For FDSM, a logarithmic-overhead reduction from Dynamic Range Mode gives a conditional lower bound. For a color set $Δ$, we obtain a linear-space data structure supporting queries and subtree moves in $\tilde{O}(|Δ|)$ time and recolorings and leaf insertions and deletions in $\tilde{O}(1)$ time. Thus, while DSM exploits the tree structure to achieve query-update trade-offs that are conditionally impossible for Dynamic Range Mode, FDSM inherits its conditional hardness but admits efficient solutions when $|Δ|$ is small. Experiments on datasets from different domains, as well as case studies using workloads from e-commerce and file systems, show speedups of orders of magnitude over natural baselines.

Authors: Jialong Zhou, Ben Bals, Sankardeep Chakraborty, Grigorios Loukides, Solon P. Pissis, Kunihiko Sadakane

Computing the mode (i.e., the most frequent element) in a range of an array, or in a path of a colored tree, has been studied extensively in both the static and dynamic setting. However, the problem of computing the mode in a subtree of a leaf-colored tree, referred to as the Subtree Mode (SM), has only been studied in the static setting, despite its applications in domains ranging from file systems, to e-commerce, and bioinformatics. Here, we study the SM problem as the tree undergoes changes. We define Dynamic Subtree Mode (DSM), which asks for a data structure supporting leaf recolorings in a fixed tree, and Fully Dynamic Subtree Mode (FDSM), which additionally supports leaf insertions and deletions and subtree moves. For DSM on a tree of $n$ nodes, we propose a linear-space data structure with $O(n)$ preprocessing and, for any $α\in [0,1]$, query and update times $\tilde{O}(n^α)$ and $\tilde{O}(n^{1-α})$, respectively. This trade-off is polynomially optimal under the Online Matrix-Vector Multiplication conjecture. For trees of height $h$, query and update times improve to $\tilde{O}(1)$ and $\tilde{O}(h)$, respectively. For FDSM, a logarithmic-overhead reduction from Dynamic Range Mode gives a conditional lower bound. For a color set $Δ$, we obtain a linear-space data structure supporting queries and subtree moves in $\tilde{O}(|Δ|)$ time and recolorings and leaf insertions and deletions in $\tilde{O}(1)$ time. Thus, while DSM exploits the tree structure to achieve query-update trade-offs that are conditionally impossible for Dynamic Range Mode, FDSM inherits its conditional hardness but admits efficient solutions when $|Δ|$ is small. Experiments on datasets from different domains, as well as case studies using workloads from e-commerce and file systems, show speedups of orders of magnitude over natural baselines.

Pattern Matching with Edits in $\tilde{O}(n+k^3\cdot n/m)$ Time

from arXiv: Data Structures and Algorithms

Authors: Tomasz Kociumaka

Given a pattern $P$ of length $m$, a text $T$ of length $n$, and a threshold $k$, the Pattern Matching with Edits problem asks whether $T$ contains a substring that can be transformed into $P$ using at most $k$ character insertions, deletions, and substitutions. The classic $O(nm)$- and $O(nk)$-time algorithms of Sellers [J. Algorithms'80] and Landau and Vishkin [STOC'86, J. Algorithms'89] are near-optimal for $k=Θ(m)$ under the Orthogonal Vectors Hypothesis. For small $k$, Cole and Hariharan [SODA'98, SICOMP'02] achieved $O(n+k^4\cdot n/m)$ time, and Charalampopoulos, Kociumaka, and Wellnitz (CKW) [FOCS'22] improved this to $O(n+k^{3.5}\log k\cdot n/m)$, essentially halfway to the $O(n+k^3\cdot n/m)$ bound conjectured by Cole and Hariharan. This work confirms the conjecture up to a polylogarithmic factor with an $O(n+k^3\log^2 k\cdot n/m)$-time algorithm. Working in the PILLAR model [CKW; FOCS'20], which accesses strings only through a few basic operations, it extends to grammar-compressed, dynamic, quantum, and small-space read-only settings. It also closes, up to the $\log^2 k$ factor, the longstanding gap to certain aperiodic patterns, for which Cole and Hariharan achieved $O(n+k^3\cdot n/m)$ time. The alternative approach of CKW [FOCS'20] leaves one bottleneck, which the general case reduces to: $P$ and $T$ are close to periodic strings with a common period. This case amounts to many min-plus products of distance matrices, each consisting of long runs of one fixed matrix separated by $O(k)$ other matrices. We collapse every long run into a single matrix and show that this preserves the distances that determine the occurrences unless the periodicity-breaking parts of $P$ and $T$ interact strongly. Our main structural result, a planar variation theorem, confines the exact computations needed in the remaining cases to narrow regions of the alignment graph.

Authors: Tomasz Kociumaka

Given a pattern $P$ of length $m$, a text $T$ of length $n$, and a threshold $k$, the Pattern Matching with Edits problem asks whether $T$ contains a substring that can be transformed into $P$ using at most $k$ character insertions, deletions, and substitutions. The classic $O(nm)$- and $O(nk)$-time algorithms of Sellers [J. Algorithms'80] and Landau and Vishkin [STOC'86, J. Algorithms'89] are near-optimal for $k=Θ(m)$ under the Orthogonal Vectors Hypothesis. For small $k$, Cole and Hariharan [SODA'98, SICOMP'02] achieved $O(n+k^4\cdot n/m)$ time, and Charalampopoulos, Kociumaka, and Wellnitz (CKW) [FOCS'22] improved this to $O(n+k^{3.5}\log k\cdot n/m)$, essentially halfway to the $O(n+k^3\cdot n/m)$ bound conjectured by Cole and Hariharan. This work confirms the conjecture up to a polylogarithmic factor with an $O(n+k^3\log^2 k\cdot n/m)$-time algorithm. Working in the PILLAR model [CKW; FOCS'20], which accesses strings only through a few basic operations, it extends to grammar-compressed, dynamic, quantum, and small-space read-only settings. It also closes, up to the $\log^2 k$ factor, the longstanding gap to certain aperiodic patterns, for which Cole and Hariharan achieved $O(n+k^3\cdot n/m)$ time. The alternative approach of CKW [FOCS'20] leaves one bottleneck, which the general case reduces to: $P$ and $T$ are close to periodic strings with a common period. This case amounts to many min-plus products of distance matrices, each consisting of long runs of one fixed matrix separated by $O(k)$ other matrices. We collapse every long run into a single matrix and show that this preserves the distances that determine the occurrences unless the periodicity-breaking parts of $P$ and $T$ interact strongly. Our main structural result, a planar variation theorem, confines the exact computations needed in the remaining cases to narrow regions of the alignment graph.

On the Completion Time of Broadcast

from arXiv: Data Structures and Algorithms

Authors: Grigorii Emdin, Rachid Guerraoui, Anton Paramonov

We study the completion time of broadcasting $k$ packets from a source to every vertex of an undirected $n$-vertex network in which each edge carries one packet in each direction per round. We work in the centralized setting and consider deterministic routing and network coding schemes. We introduce a quantity $τ$, computable in polynomial time, that characterizes the broadcast completion time. First, every broadcast scheme, whether routing or coding, requires at least $τ$ rounds. Second, we give a polynomial-time computable coding scheme that completes the broadcast in exactly $τ$ rounds, so $τ$ is precisely the optimal completion time. Third, we give a polynomial-time computable routing scheme that completes the broadcast in $O(τ\log n)$ rounds. Consequently, the coding gap for broadcast completion time is $O(\log n)$; we also show that it is at least $3/2$. Finally, we show that distributing the packets among several sources at most doubles the completion time, for both routing and coding, so the $O(\log n)$ bound on the coding gap carries over to multi-source broadcast.

Authors: Grigorii Emdin, Rachid Guerraoui, Anton Paramonov

We study the completion time of broadcasting $k$ packets from a source to every vertex of an undirected $n$-vertex network in which each edge carries one packet in each direction per round. We work in the centralized setting and consider deterministic routing and network coding schemes. We introduce a quantity $τ$, computable in polynomial time, that characterizes the broadcast completion time. First, every broadcast scheme, whether routing or coding, requires at least $τ$ rounds. Second, we give a polynomial-time computable coding scheme that completes the broadcast in exactly $τ$ rounds, so $τ$ is precisely the optimal completion time. Third, we give a polynomial-time computable routing scheme that completes the broadcast in $O(τ\log n)$ rounds. Consequently, the coding gap for broadcast completion time is $O(\log n)$; we also show that it is at least $3/2$. Finally, we show that distributing the packets among several sources at most doubles the completion time, for both routing and coding, so the $O(\log n)$ bound on the coding gap carries over to multi-source broadcast.

Effective Stabilization of Shortest Addition Chains under Repeated Doubling

from arXiv: Data Structures and Algorithms

Authors: Piotr Masierak

Squaring extends an exponentiation plan for $n$ to one for $2n$, but a different plan may avoid the additional multiplication. We give a computable stopping rule for the sequence $\ell(2^tn)-t$, where $\ell$ is the shortest addition-chain length. The proof examines a shortest chain at the first shift meeting a prescribed excess budget. A sufficiently wide gap between run endpoints would allow the same budget to be met one shift earlier. Bounding the width and number of these gaps gives an explicit horizon. Two paths sharing no doubling gate sharpen it to $\lfloor\log_2 n\rfloor+O_a(1)$ for a single target at fixed excess budget $a$. We also give a fixed-parameter algorithm that constructs a compressed chain from the positions of the set bits. Assuming completeness of the published classifications through four small steps, we prove the sharp bound $k\le\lfloor\log_2 m\rfloor-8$ for a drop from more than four to four small steps at shift $k\ge1$ from an odd base $m$, and characterize both equality families. For a fixed set of distinct targets, paths ending at different outputs yield a refined carry bound and an effective joint stabilization horizon. Transposition then extends stabilization to every prescribed positive symbol-count vector and gives an eventually linear penalty for ordering the symbols in separate blocks. The dyadic-ladder case retains a scalar formula.

Authors: Piotr Masierak

Squaring extends an exponentiation plan for $n$ to one for $2n$, but a different plan may avoid the additional multiplication. We give a computable stopping rule for the sequence $\ell(2^tn)-t$, where $\ell$ is the shortest addition-chain length. The proof examines a shortest chain at the first shift meeting a prescribed excess budget. A sufficiently wide gap between run endpoints would allow the same budget to be met one shift earlier. Bounding the width and number of these gaps gives an explicit horizon. Two paths sharing no doubling gate sharpen it to $\lfloor\log_2 n\rfloor+O_a(1)$ for a single target at fixed excess budget $a$. We also give a fixed-parameter algorithm that constructs a compressed chain from the positions of the set bits. Assuming completeness of the published classifications through four small steps, we prove the sharp bound $k\le\lfloor\log_2 m\rfloor-8$ for a drop from more than four to four small steps at shift $k\ge1$ from an odd base $m$, and characterize both equality families. For a fixed set of distinct targets, paths ending at different outputs yield a refined carry bound and an effective joint stabilization horizon. Transposition then extends stabilization to every prescribed positive symbol-count vector and gives an eventually linear penalty for ordering the symbols in separate blocks. The dyadic-ladder case retains a scalar formula.

MKC: Exact k-mer Counting into a Compact Cache-Line Cuckoo Index

from arXiv: Data Structures and Algorithms

Authors: Kamila Szewczyk

Querying the counts of individual k-mers is an essential step of assembly evaluation and metagenomic classification. Disk-based counters such as KMC 3 count in bounded memory but write sorted lists that are slow to query, whereas hash-based counters such as Hackgap hold large in-memory tables for all distinct k-mers. In this paper, we propose an exact canonical k-mer counter called MKC for k <= 32, which builds a static hash table of counts in the manner of a disk-based counter. MKC distributes the k-mers into bins by minimizer and counts each bin by sorting the hashes of its k-mers in cache. Subsequently, it assembles a two-choice cuckoo table of 64-byte buckets, in which each record stores a quotient of an invertible hash and a count field of variable width, and buckets of mostly unique k-mers store their quotients via Elias-Fano coding. We apply MKC on ten genomes and read sets. The results show that the index of a human genome takes 37.4-42.5 bits per distinct 31-mer, counts included, and that most lookups read one cache line. With 16 threads, MKC builds its index 1.6-8.0 times faster than KMC 3 and 5.6-42.4 times faster than Hackgap, indexes a human genome in 8.9 s with a peak resident set size of 1.0 GiB, and writes the smallest index of the compared counters. At equal page size, it answers random queries 5.0-11.7 times faster than KMC 3 and 1.8-3.3 times faster than Hackgap. For k-mers in sequence order, its batch interface is 1.6-8.5 times faster than Hackgap.

Authors: Kamila Szewczyk

Querying the counts of individual k-mers is an essential step of assembly evaluation and metagenomic classification. Disk-based counters such as KMC 3 count in bounded memory but write sorted lists that are slow to query, whereas hash-based counters such as Hackgap hold large in-memory tables for all distinct k-mers. In this paper, we propose an exact canonical k-mer counter called MKC for k <= 32, which builds a static hash table of counts in the manner of a disk-based counter. MKC distributes the k-mers into bins by minimizer and counts each bin by sorting the hashes of its k-mers in cache. Subsequently, it assembles a two-choice cuckoo table of 64-byte buckets, in which each record stores a quotient of an invertible hash and a count field of variable width, and buckets of mostly unique k-mers store their quotients via Elias-Fano coding. We apply MKC on ten genomes and read sets. The results show that the index of a human genome takes 37.4-42.5 bits per distinct 31-mer, counts included, and that most lookups read one cache line. With 16 threads, MKC builds its index 1.6-8.0 times faster than KMC 3 and 5.6-42.4 times faster than Hackgap, indexes a human genome in 8.9 s with a peak resident set size of 1.0 GiB, and writes the smallest index of the compared counters. At equal page size, it answers random queries 5.0-11.7 times faster than KMC 3 and 1.8-3.3 times faster than Hackgap. For k-mers in sequence order, its batch interface is 1.6-8.5 times faster than Hackgap.

A deterministic $O(n\log n)$ algorithm for fixed-link shortest paths in concave Monge graphs

from arXiv: Data Structures and Algorithms

Authors: Shucheng Chi, Jiayi Lian

We give a deterministic $O(n\log n)$-time algorithm for finding a minimum-weight source-to-sink path with exactly $k$ edges in a concave Monge graph on $n+1$ vertices. More precisely, the algorithm takes $O(n\log(h+2))$ time and $O(n)$ space, where $h=\min\{k-1,n-k\}$. This resolves the 32-year-old open problem of finding an $n(\log n)^{O(1)}$-time algorithm for every prescribed $k$ [Aggarwal et al., 1994]. The best previous worst-case bound was due to Schieber, whose algorithm takes $n 2^{O(\sqrt{\log k \log\log n})}$ time for $k=Ω(\log n)$ [Schieber, 1998]. We give three applications. We give an $O(n\log(h+2))$-time algorithm for exact one-dimensional $k$-means, which asks how to partition $n$ sorted, positively weighted points into $k$ clusters to minimize the weighted sum of squared distances to the cluster means. This answers the question of whether $n (\log k)^{O(1)}$ time suffices [Grønlund et al., 2017]. The classical dynamic program computes the optima for all cluster counts through $k$ in $O(nk)$ time [Wu, 1991]. We give an $O(n\log n)$-time algorithm for the inscribed $k$-gon problem, which asks us to choose $k$ of the cyclically ordered vertices of a convex $n$-gon to maximize the perimeter of the polygon they form. The earlier matrix-search algorithm takes $O(nk+n\log n)$ time [Aggarwal et al., 1987]. An $O(n\log n)$ bound was known for polynomially bounded integer coordinates with no three vertices collinear [Bein et al., 1992]. For $n$ sorted positive symbol weights and any feasible $D$, we construct an optimal tree in $O(n\log(D+1))$ time for length-limited binary prefix coding, which asks for a code that minimizes the weighted sum of codeword lengths subject to a limit of $D$ bits per codeword. The package-merge algorithm takes $O(nD)$ time [Larmore and Hirschberg, 1990].

Authors: Shucheng Chi, Jiayi Lian

We give a deterministic $O(n\log n)$-time algorithm for finding a minimum-weight source-to-sink path with exactly $k$ edges in a concave Monge graph on $n+1$ vertices. More precisely, the algorithm takes $O(n\log(h+2))$ time and $O(n)$ space, where $h=\min\{k-1,n-k\}$. This resolves the 32-year-old open problem of finding an $n(\log n)^{O(1)}$-time algorithm for every prescribed $k$ [Aggarwal et al., 1994]. The best previous worst-case bound was due to Schieber, whose algorithm takes $n 2^{O(\sqrt{\log k \log\log n})}$ time for $k=Ω(\log n)$ [Schieber, 1998]. We give three applications. We give an $O(n\log(h+2))$-time algorithm for exact one-dimensional $k$-means, which asks how to partition $n$ sorted, positively weighted points into $k$ clusters to minimize the weighted sum of squared distances to the cluster means. This answers the question of whether $n (\log k)^{O(1)}$ time suffices [Grønlund et al., 2017]. The classical dynamic program computes the optima for all cluster counts through $k$ in $O(nk)$ time [Wu, 1991]. We give an $O(n\log n)$-time algorithm for the inscribed $k$-gon problem, which asks us to choose $k$ of the cyclically ordered vertices of a convex $n$-gon to maximize the perimeter of the polygon they form. The earlier matrix-search algorithm takes $O(nk+n\log n)$ time [Aggarwal et al., 1987]. An $O(n\log n)$ bound was known for polynomially bounded integer coordinates with no three vertices collinear [Bein et al., 1992]. For $n$ sorted positive symbol weights and any feasible $D$, we construct an optimal tree in $O(n\log(D+1))$ time for length-limited binary prefix coding, which asks for a code that minimizes the weighted sum of codeword lengths subject to a limit of $D$ bits per codeword. The package-merge algorithm takes $O(nD)$ time [Larmore and Hirschberg, 1990].

Heuristics for covering the timeline in temporal graphs

from arXiv: Data Structures and Algorithms

Authors: Riccardo Dondi, Rares-Ioan Mateiu, Alexandru Popa

We consider Minimum Timeline Cover (\MinTCover{}), a variant of the Vertex Cover problem on temporal graphs, introduced for the summarization of complex interaction data. Given a temporal graph $G$, \MinTCover{} asks for at most $k$ activity intervals for each vertex, such that each temporal edge has at least an endpoint active at its timestamp, with the objective of minimizing the sum of interval lengths. The problem is NP-hard, and for $k > 1$ it is hard to approximate within any factor, since deciding whether a solution of span $0$ exists is already NP-complete. We first present an ILP formulation that is able to solve the problem on moderate size instances. We then show that, although no approximation factor is attainable in general, a $(T-1)$-approximation is achievable for every $k$ on the instances whose snapshots are matchings, via a minimum-cost flow formulation of the underlying assignment problem; for $k = 1$ this improves the best known factor of $4(T-1)$. Next, we design a polynomial-time heuristic based on local search, built on top of an existing method, which applies to larger temporal graphs. Finally, we extend the learning-based approach of Lazzarinetti et al.~\cite{DBLP:conf/time/LazzarinettiMZD24,lazzarinetti2025dlmintc+} from $k = 1$ to an arbitrary $k$. An experimental evaluation against proven optima shows that, on synthetic graphs with social structure, the learned method has a mean empirical ratio of about $1.14$ to the optimum and reduces the total span by more than $40\%$ with respect to the strongest published heuristic, also on instances with up to $5{,}000$ vertices, where the exact solver no longer finds good solutions within two minutes; on two real contact networks, without retraining, its advantage is smaller and depends on the network.

Authors: Riccardo Dondi, Rares-Ioan Mateiu, Alexandru Popa

We consider Minimum Timeline Cover (\MinTCover{}), a variant of the Vertex Cover problem on temporal graphs, introduced for the summarization of complex interaction data. Given a temporal graph $G$, \MinTCover{} asks for at most $k$ activity intervals for each vertex, such that each temporal edge has at least an endpoint active at its timestamp, with the objective of minimizing the sum of interval lengths. The problem is NP-hard, and for $k > 1$ it is hard to approximate within any factor, since deciding whether a solution of span $0$ exists is already NP-complete. We first present an ILP formulation that is able to solve the problem on moderate size instances. We then show that, although no approximation factor is attainable in general, a $(T-1)$-approximation is achievable for every $k$ on the instances whose snapshots are matchings, via a minimum-cost flow formulation of the underlying assignment problem; for $k = 1$ this improves the best known factor of $4(T-1)$. Next, we design a polynomial-time heuristic based on local search, built on top of an existing method, which applies to larger temporal graphs. Finally, we extend the learning-based approach of Lazzarinetti et al.~\cite{DBLP:conf/time/LazzarinettiMZD24,lazzarinetti2025dlmintc+} from $k = 1$ to an arbitrary $k$. An experimental evaluation against proven optima shows that, on synthetic graphs with social structure, the learned method has a mean empirical ratio of about $1.14$ to the optimum and reduces the total span by more than $40\%$ with respect to the strongest published heuristic, also on instances with up to $5{,}000$ vertices, where the exact solver no longer finds good solutions within two minutes; on two real contact networks, without retraining, its advantage is smaller and depends on the network.

Almost Optimal Deterministic Rendezvous in Anonymous Graphs

from arXiv: Data Structures and Algorithms

Authors: Debasish Pattanayak

Two mobile agents, starting from different nodes of an unknown network, have to meet at a node. The network is modelled as a connected graph with $n$ nodes. The nodes are unlabelled, and the ports at each node are numbered locally. The agents have distinct positive integer labels, move in synchronous rounds, have unlimited memory and computational power, and learn the port by which they enter a node. What is the minimum time of deterministic rendezvous in arbitrary graphs? The best published lower bound, $Ω(n^2)$, is due to Dessmark et al. [2006]. The best published upper bound, $\widetilde O(n^5b)$, where $b$ is the length of the shorter label, is due to Ta-Shma and Zwick [2014] and was announced in 2007. We close the gap between the exponents $2$ and $5$ up to a logarithmic factor. We first show that, for every $n\ge12$, any algorithm and any two distinct labels, there is a graph with $n$ nodes on which rendezvous takes at least $(1-o(1))n^4/1024$ rounds, and one of the agents has to traverse the same number of edges. The lower bound holds even if the agents start simultaneously and know $n$ and both labels. A bound of the same order holds on graphs in which the diameter and the initial distance between the agents are both seven. On the other hand, we give an algorithm with which the agents meet within $O(n^4\log n+n^2b)$ rounds after the start of the later agent. Its agents know nothing about the graph or about the other label, and they start with an arbitrary delay. Hence, for $b=O(n^2)$, the two bounds differ only by a factor $O(\log n)$. We also prove that, for every even $n$ and every $b\ge3$, some two labels of length $b$ need $Ω(n^2b/\log n)$ rounds. The lower bound carries over to gathering algorithms that also gather teams of two agents, to the cost of asynchronous rendezvous, and to one agent that has to explore the graph.

Authors: Debasish Pattanayak

Two mobile agents, starting from different nodes of an unknown network, have to meet at a node. The network is modelled as a connected graph with $n$ nodes. The nodes are unlabelled, and the ports at each node are numbered locally. The agents have distinct positive integer labels, move in synchronous rounds, have unlimited memory and computational power, and learn the port by which they enter a node. What is the minimum time of deterministic rendezvous in arbitrary graphs? The best published lower bound, $Ω(n^2)$, is due to Dessmark et al. [2006]. The best published upper bound, $\widetilde O(n^5b)$, where $b$ is the length of the shorter label, is due to Ta-Shma and Zwick [2014] and was announced in 2007. We close the gap between the exponents $2$ and $5$ up to a logarithmic factor. We first show that, for every $n\ge12$, any algorithm and any two distinct labels, there is a graph with $n$ nodes on which rendezvous takes at least $(1-o(1))n^4/1024$ rounds, and one of the agents has to traverse the same number of edges. The lower bound holds even if the agents start simultaneously and know $n$ and both labels. A bound of the same order holds on graphs in which the diameter and the initial distance between the agents are both seven. On the other hand, we give an algorithm with which the agents meet within $O(n^4\log n+n^2b)$ rounds after the start of the later agent. Its agents know nothing about the graph or about the other label, and they start with an arbitrary delay. Hence, for $b=O(n^2)$, the two bounds differ only by a factor $O(\log n)$. We also prove that, for every even $n$ and every $b\ge3$, some two labels of length $b$ need $Ω(n^2b/\log n)$ rounds. The lower bound carries over to gathering algorithms that also gather teams of two agents, to the cost of asynchronous rendezvous, and to one agent that has to explore the graph.

Optimal Pricing under Logit-Based Choice Model

from arXiv: Data Structures and Algorithms

Authors: Haisheng Zhu, Taotao He, Mohit Tawarmalani

Pricing under the finite-mixture logit (FML) consumer choice model is a foundational revenue management problem that links consumer preferences and their heterogeneous price sensitivity to firm-level profitability. Its relevance is increasing with availability of large-scale consumer data and because empirical evidence demonstrates the prevalence of consumer heterogeneity. However, we show that this problem is NP-hard. We develop the first scalable optimization algorithm for pricing over a finite price grid without restrictive assumptions on price sensitivity. Our approach bridges pricing and convexification by developing (i) a mixed-integer linear program (MILP) reformulation via a unary price encoding, whose linear programming (LP) relaxation dominates factorable and fractional programming based relaxations, (ii) a hierarchy of relaxations based on a multipartite transportation problem, which yields an ideal (exact convex hull) LP formulation for the pricing problem that is exponential only in the number of products, and (iii) a Benders-style decomposition algorithm where the master problem coordinates a common price vector across independent per-segment subproblems using a Euclidean-deepest-cut separation oracle. Our formulation uses scaling techniques to embed the convex hull of product prices with segment-level purchase probabilities. Numerical experiments show that global optimization more than doubles revenue relative to local search for over half the instances. For baseline instances with 20 segments, 200 products, and 5 price levels, our method certifies optimality within 0.01\% gap, with a median runtime of about 2 minutes, while Gurobi leaves a 30\% gap after an hour. The method scales to problems with 10,000 product-segment combinations and solves real-data Expedia pricing instances on which the solver typically fails to close the gap.

Authors: Haisheng Zhu, Taotao He, Mohit Tawarmalani

Pricing under the finite-mixture logit (FML) consumer choice model is a foundational revenue management problem that links consumer preferences and their heterogeneous price sensitivity to firm-level profitability. Its relevance is increasing with availability of large-scale consumer data and because empirical evidence demonstrates the prevalence of consumer heterogeneity. However, we show that this problem is NP-hard. We develop the first scalable optimization algorithm for pricing over a finite price grid without restrictive assumptions on price sensitivity. Our approach bridges pricing and convexification by developing (i) a mixed-integer linear program (MILP) reformulation via a unary price encoding, whose linear programming (LP) relaxation dominates factorable and fractional programming based relaxations, (ii) a hierarchy of relaxations based on a multipartite transportation problem, which yields an ideal (exact convex hull) LP formulation for the pricing problem that is exponential only in the number of products, and (iii) a Benders-style decomposition algorithm where the master problem coordinates a common price vector across independent per-segment subproblems using a Euclidean-deepest-cut separation oracle. Our formulation uses scaling techniques to embed the convex hull of product prices with segment-level purchase probabilities. Numerical experiments show that global optimization more than doubles revenue relative to local search for over half the instances. For baseline instances with 20 segments, 200 products, and 5 price levels, our method certifies optimality within 0.01\% gap, with a median runtime of about 2 minutes, while Gurobi leaves a 30\% gap after an hour. The method scales to problems with 10,000 product-segment combinations and solves real-data Expedia pricing instances on which the solver typically fails to close the gap.

Tight Lower Bounds for Value-Dynamic Retrieval

from arXiv: Data Structures and Algorithms

Authors: Yang S. Hu, William Kuszmaul, Jingxun Liang, Renfei Zhou

In the value-dynamic retrieval problem, a data structure stores a function $f : S \to [2^b]$ on a fixed set $S$ of $n$ keys from a universe $[U]$, and must support queries and updates to $f$ (without being required to give meaningful answers for keys outside of $S$). The classical solution, which stores the values in an array indexed by a minimal perfect hash function, uses $nb + n \log e + o(n)$ bits. We prove a matching lower bound, showing that for $b = ω(1)$ and $U = ω(n)$, a space bound of $nb + n \log e - o(n)$ bits is necessary. We also consider a partially-dynamic version of the problem in which only $n/k$ of the keys have dynamic values. Intuitively, one might expect the space bound in this case to drop to something like $nb + Θ(n/k)$ bits, averaging to $O(1)$ bits of redundancy per dynamic value. Our second result says that this is not the case; instead, for $k = ω(1)$ and $2n \le U \le 2^{\text{poly}(n)}$, the optimal space bound becomes $nb + Θ(n \log k / k)$, meaning that any solution must pay the asymptotic cost of encoding which $n/k$ keys (out of the $n$) have dynamic values. All of our lower bounds are information-theoretic, and are proven via one-way communication arguments.

Authors: Yang S. Hu, William Kuszmaul, Jingxun Liang, Renfei Zhou

In the value-dynamic retrieval problem, a data structure stores a function $f : S \to [2^b]$ on a fixed set $S$ of $n$ keys from a universe $[U]$, and must support queries and updates to $f$ (without being required to give meaningful answers for keys outside of $S$). The classical solution, which stores the values in an array indexed by a minimal perfect hash function, uses $nb + n \log e + o(n)$ bits. We prove a matching lower bound, showing that for $b = ω(1)$ and $U = ω(n)$, a space bound of $nb + n \log e - o(n)$ bits is necessary. We also consider a partially-dynamic version of the problem in which only $n/k$ of the keys have dynamic values. Intuitively, one might expect the space bound in this case to drop to something like $nb + Θ(n/k)$ bits, averaging to $O(1)$ bits of redundancy per dynamic value. Our second result says that this is not the case; instead, for $k = ω(1)$ and $2n \le U \le 2^{\text{poly}(n)}$, the optimal space bound becomes $nb + Θ(n \log k / k)$, meaning that any solution must pay the asymptotic cost of encoding which $n/k$ keys (out of the $n$) have dynamic values. All of our lower bounds are information-theoretic, and are proven via one-way communication arguments.

Cut-Matching with Attenuation: Faster Expander Decompositions and Approximate Max Flow

from arXiv: Data Structures and Algorithms

Authors: Trevor Vaughn

For a weighted graph with $n$ vertices and $m$ positive-capacity edges or arcs, we compute an $(Ω(φ),O(φ\log^2 n))$-expander decomposition for $0<φ\le1/\log n$. Our algorithms are randomized and take $O(n+m\log^4 n+m\log n/φ)$ time in undirected graphs and $O(n+m\log^4 n+m\log n\log\log n/φ)$ in directed graphs, where only backward arcs are charged. For polynomial capacity ratios, a second undirected algorithm takes $O(n+m\log^{13/2} n\log\log n)$ time independent of $φ$. A set with little starting mass can trap walks after other walks mix. Our cut player seeks a vertex score whose value at a walk's endpoint remains predictable from its start, then requests a matching across the weighted median. Before each lazy step we discard a small fraction of mass at vertices with unusually large absolute scores. Half the remaining mass stays in place. The other half follows the matching where possible and is lost where unmatched. For later scores we fill vacancies from the average origin distribution, weakening the trapped set's signal even when few walks escape. After a completed game, trimming flows use the missing endpoint mass to extract a large induced expander. For undirected graphs with polynomial capacity ratios, we also use the cut player to build a congestion approximator. With forest contraction parameter $χ\ge2$, construction takes $O(n+m\log^2 n+\min\{n,m/χ\}\log^7 n\log\log n)$ time and gives quality $Q=O(χ\log^2 n\log\log n)$. The resulting tree gives a $(1+ρ)$-fair cut in $O(n+mQ\log^2 n/ρ)$ time. For arbitrary positive capacities, we route any componentwise balanced demand at congestion at most $1+\varepsilon$ times optimal in $O(n+m\log^5 n\log\log n/\sqrt\varepsilon +m\log^3 n\log\log n/\varepsilon)$ time.

Authors: Trevor Vaughn

For a weighted graph with $n$ vertices and $m$ positive-capacity edges or arcs, we compute an $(Ω(φ),O(φ\log^2 n))$-expander decomposition for $0<φ\le1/\log n$. Our algorithms are randomized and take $O(n+m\log^4 n+m\log n/φ)$ time in undirected graphs and $O(n+m\log^4 n+m\log n\log\log n/φ)$ in directed graphs, where only backward arcs are charged. For polynomial capacity ratios, a second undirected algorithm takes $O(n+m\log^{13/2} n\log\log n)$ time independent of $φ$. A set with little starting mass can trap walks after other walks mix. Our cut player seeks a vertex score whose value at a walk's endpoint remains predictable from its start, then requests a matching across the weighted median. Before each lazy step we discard a small fraction of mass at vertices with unusually large absolute scores. Half the remaining mass stays in place. The other half follows the matching where possible and is lost where unmatched. For later scores we fill vacancies from the average origin distribution, weakening the trapped set's signal even when few walks escape. After a completed game, trimming flows use the missing endpoint mass to extract a large induced expander. For undirected graphs with polynomial capacity ratios, we also use the cut player to build a congestion approximator. With forest contraction parameter $χ\ge2$, construction takes $O(n+m\log^2 n+\min\{n,m/χ\}\log^7 n\log\log n)$ time and gives quality $Q=O(χ\log^2 n\log\log n)$. The resulting tree gives a $(1+ρ)$-fair cut in $O(n+mQ\log^2 n/ρ)$ time. For arbitrary positive capacities, we route any componentwise balanced demand at congestion at most $1+\varepsilon$ times optimal in $O(n+m\log^5 n\log\log n/\sqrt\varepsilon +m\log^3 n\log\log n/\varepsilon)$ time.

Directed $k$ Disjoint Shortest Paths Is Polynomial for Every Fixed $k$

from arXiv: Data Structures and Algorithms

Authors: Saeed Amiri

The $k$ disjoint shortest paths problem ($k$-DSPP) asks for pairwise disjoint paths between $k$ terminal pairs, each a shortest path between its own terminals; the paths are required to be vertex-disjoint or, in the edge-disjoint version, edge-disjoint. Eilam-Tzoreff introduced the problem in 1998 and left its complexity for a fixed number of pairs open. For general graphs with arbitrary positive lengths, the case of three or more pairs remained open for many years. Earlier algorithms for general undirected graphs with unit lengths had running-time exponents doubly exponential or factorial in $k$. We show that for every fixed $k$ both versions of $k$-DSPP are solvable in time $n^{O(k^2)}$ on directed graphs with arbitrary positive lengths, and hence on undirected graphs. The dependence of the exponent on $k$ cannot be removed unless FPT = W[1].

Authors: Saeed Amiri

The $k$ disjoint shortest paths problem ($k$-DSPP) asks for pairwise disjoint paths between $k$ terminal pairs, each a shortest path between its own terminals; the paths are required to be vertex-disjoint or, in the edge-disjoint version, edge-disjoint. Eilam-Tzoreff introduced the problem in 1998 and left its complexity for a fixed number of pairs open. For general graphs with arbitrary positive lengths, the case of three or more pairs remained open for many years. Earlier algorithms for general undirected graphs with unit lengths had running-time exponents doubly exponential or factorial in $k$. We show that for every fixed $k$ both versions of $k$-DSPP are solvable in time $n^{O(k^2)}$ on directed graphs with arbitrary positive lengths, and hence on undirected graphs. The dependence of the exponent on $k$ cannot be removed unless FPT = W[1].

Tight Comparison Bounds for Stable Sorting with Predicted Repetitions and Bounded Lookahead

from arXiv: Data Structures and Algorithms

Authors: Shunqi Lu

With a strict comparator, verifying $x=y$ takes two comparisons. We study stable sorting under prefix deadlines: the order of the first $i$ records must be determined before any record beyond position $i+L$ is compared. An untrusted schedule predicts, for each later record, which of the first $q$ records shares its key. Even with correct predictions, schedules with equal label frequencies can require $n+o(n)$ or $2n-o(n)$ comparisons. A packing quantity explains this gap: for each label $c$, let $P_c$ be the largest number of its predicted positions pairwise more than $L$ apart. With at most $e$ wrong predictions and $Q=q+e$, the optimal worst-case comparison count is $n-1+\log_2(Q!)+\sum_c P_c-\mathbf{1}_{e=0}\min_c P_c+O(Q)$ for every schedule and lookahead $L$. The lower bound counts deadline-forced cycles in the comparison graph. The algorithm verifies all predicted equalities except for the largest key, whose records it only checks to be nondecreasing; one early new maximum cancels this saving. Without a schedule, a sorter can learn a repeated permutation from the keys; at zero lookahead, one new maximum raises its leading coefficient from $2-1/q$ to $2$. If each key's successor is predicted from its previous occurrence with $E$ mistakes, lookahead $\lceil\sqrt n\,\rceil$ suffices for $n+o(n)$ comparisons when $q(E+1)=o(n)$, while $o(\sqrt n)$ forces $2n-o(n)$. On two 32,768-record inputs, our implementation is within 3 and 7 comparisons of the optimum.

Authors: Shunqi Lu

With a strict comparator, verifying $x=y$ takes two comparisons. We study stable sorting under prefix deadlines: the order of the first $i$ records must be determined before any record beyond position $i+L$ is compared. An untrusted schedule predicts, for each later record, which of the first $q$ records shares its key. Even with correct predictions, schedules with equal label frequencies can require $n+o(n)$ or $2n-o(n)$ comparisons. A packing quantity explains this gap: for each label $c$, let $P_c$ be the largest number of its predicted positions pairwise more than $L$ apart. With at most $e$ wrong predictions and $Q=q+e$, the optimal worst-case comparison count is $n-1+\log_2(Q!)+\sum_c P_c-\mathbf{1}_{e=0}\min_c P_c+O(Q)$ for every schedule and lookahead $L$. The lower bound counts deadline-forced cycles in the comparison graph. The algorithm verifies all predicted equalities except for the largest key, whose records it only checks to be nondecreasing; one early new maximum cancels this saving. Without a schedule, a sorter can learn a repeated permutation from the keys; at zero lookahead, one new maximum raises its leading coefficient from $2-1/q$ to $2$. If each key's successor is predicted from its previous occurrence with $E$ mistakes, lookahead $\lceil\sqrt n\,\rceil$ suffices for $n+o(n)$ comparisons when $q(E+1)=o(n)$, while $o(\sqrt n)$ forces $2n-o(n)$. On two 32,768-record inputs, our implementation is within 3 and 7 comparisons of the optimum.

Sunday, November 29

Reflections on the lower bound on Matrix Mult

from Computational Complexity

 I had a blog post titled

When is it plausible that a result is optimal, see here. 

That was way back on October 25, 2026, so of course it needs an update.

Here is a summary of what I said and meant to say:

1) Let \(\omega\) be such that Matrix Mult can be done in \(O(n^\omega)\) steps but no better (that's not quite right, see the blog post pointed to above to see why, but I won't change it in my losing battle to show that ChatGPT is not the boss of me).

2) In August 2026 Google DeepMind obtained \(\omega < 2.37117\). That is too ugly a constant to be optimal.

3) In October 2026 OpenAI showed \(\omega \le 2.25\) if the matrix is over \(\mathbb{C}\).  Later this was modified to be over all fields, see here. 2.25 is pretty enough that it could be optimal.

4) At the time I would have made the following prediction. One of the following is true:

a) Someone or something will show \(\omega < x\) for some x<2.25.

b) For a long time (perhaps 23 days or 35 days given current AI) there will be no improvement; this will make me think maybe 2.25 is optimal.

It never occurred to me that 2.25  would be  proven optimal. 

I am reminded of the problem of trisecting an angle with a ruler and compass.  (When I was 14 years old, I wondered how knowing what direction north was would help to trisect an angle. I had some theories.) David Richeson wrote a book

Tales of Impossibility: The 2000-year quest to Solve the Mathematical Problems of Antiquity. See my book review here.

One of the points he made in his book was that for a long time people knew that the trisection problem, and a few others, were impossible, however (a) they had no proof and (b) they had no notion of a proof that a construction was impossible.

My opinion of \(\omega\) was similar though not as extreme. If \(\omega\) was not improved in 35 days then I would think that \(\omega=2.25\).  I did not think I hope there is an AI-assisted or AI-generated proof of a lower bound or  I think there will be a proof by the year 2525.  I never even thought about the option of a proof of a lower bound. But the universe had other ideas.

1) \(VP \ne VNP\)  was proven by both Anthropic and OpenAI. See Lance's post on the result here.

My spellcheck wanted me to replace VNP by VPN. Someone who called Scott about the new results made the same mistake, see his blog post here.

2) Before I had a chance to recalibrate my thoughts on \(\omega\) (it was Thanksgiving week and I was with my 98-year-old mom who thinks \(\omega=2\) but has no proof, and Darling who thinks that galactic algorithms are hilarious) it was shown by OpenAI that

the matrix mult problem, over any field, when computed by an arithmetic circuit with gates \(+,-,\times,\div\), requires \(\ge n^{2.25}/2\) multiplication or division gates.

3) There is no proof of a lower bounds for Boolean circuit (so my mom might still be right); however, the good money says:

a) The lower bound of \(\Omega(n^{2.25})\) holds for Boolean circuits also.

b) This will not be proven for a long time.

What do I say? Just wait 35 days.




By gasarch

 I had a blog post titled

When is it plausible that a result is optimal, see here. 

That was way back on October 25, 2026, so of course it needs an update.

Here is a summary of what I said and meant to say:

1) Let \(\omega\) be such that Matrix Mult can be done in \(O(n^\omega)\) steps but no better (that's not quite right, see the blog post pointed to above to see why, but I won't change it in my losing battle to show that ChatGPT is not the boss of me).

2) In August 2026 Google DeepMind obtained \(\omega < 2.37117\). That is too ugly a constant to be optimal.

3) In October 2026 OpenAI showed \(\omega \le 2.25\) if the matrix is over \(\mathbb{C}\).  Later this was modified to be over all fields, see here. 2.25 is pretty enough that it could be optimal.

4) At the time I would have made the following prediction. One of the following is true:

a) Someone or something will show \(\omega < x\) for some x<2.25.

b) For a long time (perhaps 23 days or 35 days given current AI) there will be no improvement; this will make me think maybe 2.25 is optimal.

It never occurred to me that 2.25  would be  proven optimal. 

I am reminded of the problem of trisecting an angle with a ruler and compass.  (When I was 14 years old, I wondered how knowing what direction north was would help to trisect an angle. I had some theories.) David Richeson wrote a book

Tales of Impossibility: The 2000-year quest to Solve the Mathematical Problems of Antiquity. See my book review here.

One of the points he made in his book was that for a long time people knew that the trisection problem, and a few others, were impossible, however (a) they had no proof and (b) they had no notion of a proof that a construction was impossible.

My opinion of \(\omega\) was similar though not as extreme. If \(\omega\) was not improved in 35 days then I would think that \(\omega=2.25\).  I did not think I hope there is an AI-assisted or AI-generated proof of a lower bound or  I think there will be a proof by the year 2525.  I never even thought about the option of a proof of a lower bound. But the universe had other ideas.

1) \(VP \ne VNP\)  was proven by both Anthropic and OpenAI. See Lance's post on the result here.

My spellcheck wanted me to replace VNP by VPN. Someone who called Scott about the new results made the same mistake, see his blog post here.

2) Before I had a chance to recalibrate my thoughts on \(\omega\) (it was Thanksgiving week and I was with my 98-year-old mom who thinks \(\omega=2\) but has no proof, and Darling who thinks that galactic algorithms are hilarious) it was shown by OpenAI that

the matrix mult problem, over any field, when computed by an arithmetic circuit with gates \(+,-,\times,\div\), requires \(\ge n^{2.25}/2\) multiplication or division gates.

3) There is no proof of a lower bounds for Boolean circuit (so my mom might still be right); however, the good money says:

a) The lower bound of \(\Omega(n^{2.25})\) holds for Boolean circuits also.

b) This will not be proven for a long time.

What do I say? Just wait 35 days.




By gasarch

Saturday, November 28

TR26-353 | On The Proof of The Unique Games Conjecture | Dana Moshkovitz

from ECCC Papers

The Unique Games Conjecture of Khot postulates that for any delta,epsilon>0 there is a sufficiently large finite field F, such that the following problem is NP-hard: on input a system of linear equations over variables x1...xn ranging over F, where each equation is of the form xi-xj=c{ij} for some c{ij} in F, the goal is to distinguish between the case where there is an assignment to the variables that satisfies at least 1-delta fraction of the equations, and the case where every assignment satisfies at most epsilon fraction of the equations. The conjecture was proved by OpenAI. The proof follows the existing ``Outer PCP -- Inner code'' framework in hardness of approximation. Its innovation is in the code, which can be thought of as rounding of the Hadamard code. The rounding gives rise to a unique noise test for the code. In this note we give an exposition of this construction.
The Unique Games Conjecture of Khot postulates that for any delta,epsilon>0 there is a sufficiently large finite field F, such that the following problem is NP-hard: on input a system of linear equations over variables x1...xn ranging over F, where each equation is of the form xi-xj=c{ij} for some c{ij} in F, the goal is to distinguish between the case where there is an assignment to the variables that satisfies at least 1-delta fraction of the equations, and the case where every assignment satisfies at most epsilon fraction of the equations. The conjecture was proved by OpenAI. The proof follows the existing ``Outer PCP -- Inner code'' framework in hardness of approximation. Its innovation is in the code, which can be thought of as rounding of the Hadamard code. The rounding gives rise to a unique noise test for the code. In this note we give an exposition of this construction.

TR26-352 | A note on input-oblivious unambiguous hierarchies | Edward Hirsch

from ECCC Papers

Unambiguous hierarchies are defined similarly to the polynomial hierarchy; however, all witnesses must be unique. Their versions differ in the mode of using oracles. We consider input-oblivious unambiguous hierarchies built from the class $OUP$, in which all positive inputs of the same length have the same unique witness: the hierarchy $OUH$ with language oracles and the hierarchy $OUH_\bullet$ with loose access to promise oracles, which is the input-oblivious version of the loose unambiguous hierarchy of Hirsch and Sokolov (IPL, 2015). We show that languages in $OUH_\bullet$ can be decided in deterministic polynomial time with an $ONP$ oracle, and for languages in $OUH$ oracle queries can be made nonadaptive. Moreover, languages in $OUH$ can be decided in deterministic polynomial time with a tally $NP$ oracle, and languages in $OUH_\bullet$ can be decided in $P/OptP$, that is, a subclass of $P/poly$ where the advice is generated by a function that maximizes outputs of a nondeterministic machine on a unary input. We show that $P/OptP$ can be characterized in terms of $OGTD$ and $OUGTD$ generator--tester--decoder classes recently considered by Hirsch and Volkovich (2026) and, in particular, is contained in their "ultimate" Karp--Lipton collapse class $OUM$. We also observe several other facts related to $OUP$: (1) the hierarchy defined by input-oblivious unambiguous dot-operators collapses, (2) in $OUP$ computations, a single loose query to $prOUP$ can be replaced by a query to $OUP$, (3) $SOUP=OUP\cap coOUP$, where $SOUP$ is the same-witness class recently considered by Hirsch, Volkovich, and Williams (2026).
Unambiguous hierarchies are defined similarly to the polynomial hierarchy; however, all witnesses must be unique. Their versions differ in the mode of using oracles. We consider input-oblivious unambiguous hierarchies built from the class $OUP$, in which all positive inputs of the same length have the same unique witness: the hierarchy $OUH$ with language oracles and the hierarchy $OUH_\bullet$ with loose access to promise oracles, which is the input-oblivious version of the loose unambiguous hierarchy of Hirsch and Sokolov (IPL, 2015). We show that languages in $OUH_\bullet$ can be decided in deterministic polynomial time with an $ONP$ oracle, and for languages in $OUH$ oracle queries can be made nonadaptive. Moreover, languages in $OUH$ can be decided in deterministic polynomial time with a tally $NP$ oracle, and languages in $OUH_\bullet$ can be decided in $P/OptP$, that is, a subclass of $P/poly$ where the advice is generated by a function that maximizes outputs of a nondeterministic machine on a unary input. We show that $P/OptP$ can be characterized in terms of $OGTD$ and $OUGTD$ generator--tester--decoder classes recently considered by Hirsch and Volkovich (2026) and, in particular, is contained in their "ultimate" Karp--Lipton collapse class $OUM$. We also observe several other facts related to $OUP$: (1) the hierarchy defined by input-oblivious unambiguous dot-operators collapses, (2) in $OUP$ computations, a single loose query to $prOUP$ can be replaced by a query to $OUP$, (3) $SOUP=OUP\cap coOUP$, where $SOUP$ is the same-witness class recently considered by Hirsch, Volkovich, and Williams (2026).

TR26-351 | Communication Complexity of Disambiguations of Gap Hamming Distance | Yogesh Dahiya, Mika Göös, Nathaniel Harms, Hamed Hatami, Pooya Hatami, Shachar Lovett, Weiqiang Yuan

from ECCC Papers

We consider the Gap Hamming Distance problem in which Alice and Bob receive $n$-bit strings and must decide whether their Hamming distance is at most $n/3$ or at least $2n/3$. This promise problem has public-coin randomized communication complexity $O(1)$ since the players can estimate the Hamming distance by comparing their strings on a few shared random coordinates. The required output is undefined, or "ambiguous", on inputs with Hamming distance between $n/3$ and $2n/3$. We prove that any disambiguation of this problem to a total function has randomized communication complexity $\Omega(n^{2/3})$. As a corollary, we obtain an $O(1)$ versus $\Omega(n^{2/3})$ separation between randomized and pseudo-deterministic communication complexity. The proof was first found by an AI model and then reworked by the authors.
We consider the Gap Hamming Distance problem in which Alice and Bob receive $n$-bit strings and must decide whether their Hamming distance is at most $n/3$ or at least $2n/3$. This promise problem has public-coin randomized communication complexity $O(1)$ since the players can estimate the Hamming distance by comparing their strings on a few shared random coordinates. The required output is undefined, or "ambiguous", on inputs with Hamming distance between $n/3$ and $2n/3$. We prove that any disambiguation of this problem to a total function has randomized communication complexity $\Omega(n^{2/3})$. As a corollary, we obtain an $O(1)$ versus $\Omega(n^{2/3})$ separation between randomized and pseudo-deterministic communication complexity. The proof was first found by an AI model and then reworked by the authors.

TR26-350 | Asymptotically Optimal Two Source Extractors for Arbitrary Constant Entropy Rate | Xin Li

from ECCC Papers

We construct explicit two-source extractors for any constant entropy rate with asymptotically optimal parameters. Specifically, for sources on $n$ bits with min-entropy $k =\delta n$ for any constant $\delta \in (0, 1]$, and error $\varepsilon \geq 2^{-b_{\delta}n}$ where $b_{\delta}$ is a constant depending on $\delta$, our extractor outputs $2k-O(\log(1/\varepsilon)+1)$ bits that are $\varepsilon$ close to uniform. In particular, this gives two-source extractors with $\Omega(n)$ output bits and $2^{-\Omega(n)}$ error for any constant entropy rate. Previously, explicit two source extractors with such error are only known to work for entropy rate roughly $4/9$ (Bourgain 2005, Lewko 2019). We also extend our constructions to give (strong) non-malleable two source extractors and sumset extractors for any constant entropy rate with asymptotically optimal parameters. Our extractors can be extended to handle slightly sub-constant entropy rate, with sub-optimal error. Using a different construction and analysis, we give explicit (non-malleable) two source extractors for entropy $k \geq C n/\log n$ for some constant $C>1$ with $\Omega(k)$ output bits and error close to $2^{-\Omega(\sqrt{n})}$. An independent work of Doron and Goodman constructed explicit two-source extractors for entropy $k \geq n^{1-\alpha}$ with error $2^{-k^{\alpha}}$ for some constant $\alpha>0$. Their extractors work for smaller entropy than ours, while our extractors have better error and output length for any constant entropy rate. Our extractors for entropy $k \geq C n/\log n$ are obtained independently before we were aware of their results, while our extractors for constant entropy rate with asymptotically optimal parameters are obtained after we learned their unpublished results at the Simons Institute, using different ideas and techniques.
We construct explicit two-source extractors for any constant entropy rate with asymptotically optimal parameters. Specifically, for sources on $n$ bits with min-entropy $k =\delta n$ for any constant $\delta \in (0, 1]$, and error $\varepsilon \geq 2^{-b_{\delta}n}$ where $b_{\delta}$ is a constant depending on $\delta$, our extractor outputs $2k-O(\log(1/\varepsilon)+1)$ bits that are $\varepsilon$ close to uniform. In particular, this gives two-source extractors with $\Omega(n)$ output bits and $2^{-\Omega(n)}$ error for any constant entropy rate. Previously, explicit two source extractors with such error are only known to work for entropy rate roughly $4/9$ (Bourgain 2005, Lewko 2019). We also extend our constructions to give (strong) non-malleable two source extractors and sumset extractors for any constant entropy rate with asymptotically optimal parameters. Our extractors can be extended to handle slightly sub-constant entropy rate, with sub-optimal error. Using a different construction and analysis, we give explicit (non-malleable) two source extractors for entropy $k \geq C n/\log n$ for some constant $C>1$ with $\Omega(k)$ output bits and error close to $2^{-\Omega(\sqrt{n})}$. An independent work of Doron and Goodman constructed explicit two-source extractors for entropy $k \geq n^{1-\alpha}$ with error $2^{-k^{\alpha}}$ for some constant $\alpha>0$. Their extractors work for smaller entropy than ours, while our extractors have better error and output length for any constant entropy rate. Our extractors for entropy $k \geq C n/\log n$ are obtained independently before we were aware of their results, while our extractors for constant entropy rate with asymptotically optimal parameters are obtained after we learned their unpublished results at the Simons Institute, using different ideas and techniques.

TR26-349 | Approximate Counting and the Provability of Combinatorial Principles | Oliver Korten, Jiatu Li, Igor Carboni Oliveira, Hanlin Ren

from ECCC Papers

Understanding which axioms suffice for the provability of known results in algorithms and complexity and whether they can settle longstanding conjectures in these areas is a fundamental direction at the intersection of logic and computer science. Motivated by this research program and its applications, we investigate bounded arithmetic theories designed to serve as a logical foundation for *probabilistic reasoning*, the relation between these theories, and whether they can prove more theorems than their underlying base theory for *deterministic reasoning*. In more detail, for nearly twenty years, Jerabek's theory $\mathrm{APC}_1$ [Jer07a] has provided a standard framework for the formalization of results from theoretical computer science relying on probabilistic techniques. In a recent work, [CLOW26] introduced a (possibly weaker) theory called $\mathrm{APX}_1$. This theory is able to capture a large set of probabilistic arguments using four simple axioms for *approximate counting*. Both theories extend Cook's theory $\mathrm{PV}_1$ [Coo75] for deterministic polynomial-time reasoning. Our main result establishes that, in the relativized setting, $\mathrm{APX}_1$ does not prove the retraction weak pigeonhole principle ($\mathrm{rwPHP}$). Consequently, $\mathrm{APC}_1$ is not conservative over $\mathrm{APX}_1$ with respect to relativized $\forall\Sigma^b_1$ sentences. Moreover, we establish that the unprovability of $\mathrm{rwPHP}$ is part of a more general phenomenon: for a large class of finite combinatorial principles, the existence of an *infinite model* of the negation of the principle *characterizes* its unprovability in $\mathrm{APX}_1$. This result, which is analogous to a theorem of Riis [Rii94], implies that $\mathrm{PV}_1$ and $\mathrm{APX}_1$ prove exactly the same finite combinatorial principles of this form.
Understanding which axioms suffice for the provability of known results in algorithms and complexity and whether they can settle longstanding conjectures in these areas is a fundamental direction at the intersection of logic and computer science. Motivated by this research program and its applications, we investigate bounded arithmetic theories designed to serve as a logical foundation for *probabilistic reasoning*, the relation between these theories, and whether they can prove more theorems than their underlying base theory for *deterministic reasoning*. In more detail, for nearly twenty years, Jerabek's theory $\mathrm{APC}_1$ [Jer07a] has provided a standard framework for the formalization of results from theoretical computer science relying on probabilistic techniques. In a recent work, [CLOW26] introduced a (possibly weaker) theory called $\mathrm{APX}_1$. This theory is able to capture a large set of probabilistic arguments using four simple axioms for *approximate counting*. Both theories extend Cook's theory $\mathrm{PV}_1$ [Coo75] for deterministic polynomial-time reasoning. Our main result establishes that, in the relativized setting, $\mathrm{APX}_1$ does not prove the retraction weak pigeonhole principle ($\mathrm{rwPHP}$). Consequently, $\mathrm{APC}_1$ is not conservative over $\mathrm{APX}_1$ with respect to relativized $\forall\Sigma^b_1$ sentences. Moreover, we establish that the unprovability of $\mathrm{rwPHP}$ is part of a more general phenomenon: for a large class of finite combinatorial principles, the existence of an *infinite model* of the negation of the principle *characterizes* its unprovability in $\mathrm{APX}_1$. This result, which is analogous to a theorem of Riis [Rii94], implies that $\mathrm{PV}_1$ and $\mathrm{APX}_1$ prove exactly the same finite combinatorial principles of this form.

TR26-348 | Solving One of Many Instances Is Almost as Hard as Solving One | Nikolai Chukhin, Alexander Kulikov, Ivan Mihajlin, Alexander Smal

from ECCC Papers

In the 1-out-of-$k$ problem $\mathrm{choose}^k_F$ for a function $F\colon A\times B\to\{0,1\}$, Alice gets $k$ distinct inputs $x_1,\ldots,x_k\in A$, Bob gets $k$ distinct inputs $y_1,\ldots,y_k\in B$, and they must output some index $i\in\{1,\ldots,k\}$ together with $F(x_i,y_i)$. Clearly, the players can always compute $F(x_1,y_1)$, so the question is whether the freedom to choose the instance they solve can make the problem substantially easier. This question has been studied in communication complexity and in formula complexity, where it is related to the KRW conjecture of Karchmer, Raz, and Wigderson (1995), which would imply $\mathrm{P}\not\subseteq\mathrm{NC}^1$. We show that choosing among polynomially many instances saves at most logarithmically many bits, precisely: for every Boolean function $F$ on $n$-bit inputs and every $k\le 2^n$, $\mathrm{CC}(\mathrm{choose}^k_F)\ge\mathrm{CC}(F)-O(\log k+\log n)$, and the analogous bound holds for formula depth, which proves the conjectures of Dinur and Meir (2016). Previously, only a square-root lower bound was known (Feder, Kushilevitz, Naor, and Nisan, 1995). For the composition $U_m\diamond\mathrm{KW}_g$ of the universal relation with the KW game of $g\colon\{0,1\}^n\to\{0,1\}$, we prove that every $g$ has a core $S\subseteq\{0,1\}^n$ such that the game restricted to any half of $S^m$ still requires $\mathrm{D}(g)-O(\log n)$ bits, where $\mathrm{D}(g)$ is the formula depth of $g$. For almost every $g$, this holds even for $S=\{0,1\}^n$ and any $2^{1-m}$ fraction of the inputs when $m\le n^2$, which implies $\mathrm{CC}(U_m\diamond\mathrm{KW}_g)\ge m+n-O(\log n)$, improving the bound $m+n-O(\sqrt{m})$ of Wu (2023).
In the 1-out-of-$k$ problem $\mathrm{choose}^k_F$ for a function $F\colon A\times B\to\{0,1\}$, Alice gets $k$ distinct inputs $x_1,\ldots,x_k\in A$, Bob gets $k$ distinct inputs $y_1,\ldots,y_k\in B$, and they must output some index $i\in\{1,\ldots,k\}$ together with $F(x_i,y_i)$. Clearly, the players can always compute $F(x_1,y_1)$, so the question is whether the freedom to choose the instance they solve can make the problem substantially easier. This question has been studied in communication complexity and in formula complexity, where it is related to the KRW conjecture of Karchmer, Raz, and Wigderson (1995), which would imply $\mathrm{P}\not\subseteq\mathrm{NC}^1$. We show that choosing among polynomially many instances saves at most logarithmically many bits, precisely: for every Boolean function $F$ on $n$-bit inputs and every $k\le 2^n$, $\mathrm{CC}(\mathrm{choose}^k_F)\ge\mathrm{CC}(F)-O(\log k+\log n)$, and the analogous bound holds for formula depth, which proves the conjectures of Dinur and Meir (2016). Previously, only a square-root lower bound was known (Feder, Kushilevitz, Naor, and Nisan, 1995). For the composition $U_m\diamond\mathrm{KW}_g$ of the universal relation with the KW game of $g\colon\{0,1\}^n\to\{0,1\}$, we prove that every $g$ has a core $S\subseteq\{0,1\}^n$ such that the game restricted to any half of $S^m$ still requires $\mathrm{D}(g)-O(\log n)$ bits, where $\mathrm{D}(g)$ is the formula depth of $g$. For almost every $g$, this holds even for $S=\{0,1\}^n$ and any $2^{1-m}$ fraction of the inputs when $m\le n^2$, which implies $\mathrm{CC}(U_m\diamond\mathrm{KW}_g)\ge m+n-O(\log n)$, improving the bound $m+n-O(\sqrt{m})$ of Wu (2023).

The Polynomial Hirsch Conjecture Is False and Other Big News on Linear Programming

from Gil Kalai

(Source, Eddie Kim’s homepage.) There are major AI-driven results in all areas of mathematics, and many results are related to questions that I posed or studied over the years and to questions discussed on the blog. For example, between 2009-2021 … Continue reading →

(Source, Eddie Kim’s homepage.)

There are major AI-driven results in all areas of mathematics, and many results are related to questions that I posed or studied over the years and to questions discussed on the blog.

For example, between 2009-2021 we ran several polymath projects; there were 16 such projects (and a few unofficial ones). I myself ran two such projects: polymath3 (2010) and polymath10 (2015/2016). This was an interesting mathematical experience.

A few days ago (Nov. 24, 2026) OpenAI released papers resolving both problems that I posed in Polymath3 and in Polymath10. (I later on included them also as projects 2 and 4 in the polymath+AI projects.)

  • The polynomial Hirsch Conjecture that we tried to prove or disprove in polymath3 is false!
  • The Erdos-Rado sunflower conjecture that we tried to solve in Polymath10 is correct!

I will devote this post to big progress on linear programming:

I learned about these results from Jesus De Loera, and his email was followed by some nice email exchange by some experts. Jesus is also planning an online seminar to study these developments.

I am especially happy to see the major progress for the diameter problem for polytopes with the refutation of the polynomial Hirsch conjecture! Let us start with this problem. 

The polynomial Hirsch Conjecture is false.

Let \Delta (d,n) be the largest diameter of the graph of a d-polytope with n facets. The “polynomial Hirsch conjecture” (PHC) asserts that \Delta (d,n) is bounded above by a polynomial of d and n.

Theorem 1: For every positive constant C>1 There exist simple d-dimensional polytopes with 2d facets P_d such that the diameter of the graph P is  larger than d^C.

Over the years I posed, stated, believed, and pursued both the positive and the negative direction of the PHC. (I also made two bets in the 90s in the negative direction.)

The best known upper bounds are quasi-polynomial. I proved it in 1992, and an improved and simplified result appeared in my paper with Danny Kleitman. So there is still a gap between d^{\omega(1)} \le \Delta (d,2d) \le d^{c \log d}. (Here \omega (1) refers to a function that tends to infinity.) It will be very interesting to understand the asymptotic behavior of \Delta (d,n).

Quick impressions from the paper. The paper is well written! The counterexample works in the geometric setting (and not in the more general abstract setting) and it actually uses the geometric properties and some auxiliary linear objective functions to show that the diameter is large.

If we have an LP problem consisting of a system of n inequalities and d variables and a linear objective function φ, and we apply the simplex algorithm to proceed from some initial vertex to the maximum vertex, the new results implies that there is no pivot rule that is guaranteed  to require a polynomial number of steps.

Ilan Adler pointed out that “Interestingly, disproving the polynomial Hirsch conjecture does not rule out the existence of a strongly polynomial vertex-following algorithm for LP.” Indeed there are various reductions of LP to cases where the diameter is known to be small and Ilan referred to a 2017 paper by Elad Hazan and Nimrod Megiddo.

There are also other ways to reduce LP for problems where the diameter is known to be polynomial. The interesting question regarding the complexity of finding a sink of an acyclic unique-sink orientation of the discrete cube, is directly related to having an efficient (strongly polynomial) version of the simplex algorithm.

Regarding the quality of presentation: it looks that a) The AI papers are improving over time, b) (speculative, need to be checked) AI presentation might be better in areas where human presentation is better.

A strongly polynomial algorithm for LP

In 1979 Leonid Khachiyan proved that LP ∈ P namely that there is a polynomial time algorithm for linear programming. This was a major open problem ever since the complexity classes P and NP were described in the early 1970s. Khachiyan’s proof was based on Yudin, Nemirovski and Shor’s ellipsoid method, which is not practical.

Grötschel, Lovász, and Schrijver (1981) found many theoretical applications of the ellipsoid method well beyond its original scope, and found polynomial time algorithms for several classes of combinatorial optimization problems. In particular they showed that semi-definite programming, the problem of maximizing a linear objective function on the set of m by m positive definite matrices, is in P.

For a few years there was a feeling that there is a tradeoff between theoretical worst case behavior and practical behavior. This feeling was shattered with Karmarkar’s 1984 interior point method and subsequent theoretical and practical discoveries.

However, until now, all known polynomial-time algorithms for LP require a number of arithmetic operations which is polynomial in d and n and linear in L, the number of bits required to represent the input. Strongly-polynomial algorithms are algorithms where the number of arithmetic operations is polynomial in d and n and does not depend on L. The new result of Nov 24, 2026 is

Theorem 2: There exists a (deterministic) strongly polynomial algorithm for LP!

Backgammon is in P!

We discussed the following question in the 2011 post Is Backgammon in P?

Problem: Is there a polynomial time algorithm to find the optimal strategy (and thus the value) of a stochastic zero sum game with perfect information?

Walter Ludwig showed a (randomized) subexponential algorithm based on subexponential pivot rules (RandomFacet) for linear programming. OpenAI proved this in Nov 24, 2026. (The Oct 6 papers included a quasipolynomial algorithm).

Theorem 3: There exists a (deterministic) strongly polynomial algorithm for solving a stochastic zero sum game with perfect information.

Theorem 2 and Theorem 3 appear in the same OpenAI paper and rely on  some common results.  It looks that Theorem 3 extends to finding an equilibrium point for a stochastic game with complete information with a fixed number of players, and also (think about heads-up poker), and for finding the value of a stochastic zero sum game with incomplete information.

On the connection between theory and practice in theoretical computer science

While coming from a “pure” background, I got very interested in the past five decades also in connections between theory and practice (and in aspects of mathematics where we can argue and debate).  I devoted my paper for the Proceedings of ICM 2018, to such connections, and the first section in the paper, about linear programming, ends as follows.

Is our understanding of the success of the simplex algorithm satisfactory? Are there better practical algorithms for semidefinite and convex programming? Is there a polynomial upper bound for the diameter of graphs of d-polytopes with n facets? (Or at least some substantial improvements of known upper bounds). Is there a strongly polynomial algorithm for LP? Perhaps even a strongly polynomial variant of the simplex algorithm? What is the complexity of finding a sink of an acyclic unique-sink orientation of the discrete cube? Are there other new interesting efficient, or practically good, algorithms for linear programming? What is the complexity of stochastic games? Can a theoretical explanation be found for other practically successful algorithms? (Here, SAT solvers for certain classes of SAT problems, and deep learning algorithms come to mind.) Are there good practical algorithms for estimating the number of matchings in graphs? For computing volumes for high dimensional polytopes?

As mentioned above, three of the problems (those highlighted in black) were solved on Nov. 24, 2026. I listed seven other problems of which half are vague and open ended. (For such problems, human+AI collaboration might be especially useful.) The question (highlighted in red) about the complexity of finding a sink of an acyclic unique-sink orientation of the discrete cube is very interesting, and directly related to having an efficient (strongly polynomial) version of the simplex algorithm. (This problem is one of our six polymath+AI projects; for some recent progress see this paper by Thomas Dueholm Hansen and Uri Zwick.)

I discussed the connection between theory and practice in computer science in Section 9 of my  paper on my old depolarizing noise conjecture (in quantum computing). There, matrix multiplication and parallel computing are highlighted.

Related papers and blog posts:

G. Kalai, The diameter of graphs of convex polytopes and 𝑓–vector theory (1991)

G. Kalai,  Upper bounds for the diameter and height of graphs of convex polyhedra (1992)

G. Kalai and D. J. Kleitman, A quasi-polynomial bound for the diameter of graphs of polyhedra (1992)

G. Kalai, A subexponential randomized simplex algorithm (1992)

In 2008 I ran a series of posts  on the diameter problem, starting with this one. In 2010 I ran polymath3 on the problem. And finally, here is post about the disproof of the Hirsch conjecture: Francisco Santos Disproves the Hirsch Conjecture

By Gil Kalai

Friday, November 27

Every call

from Scott Aaronson

Caller: Hello, am I speaking with Dr. Aaron … [reading from notes] … I mean, uhh … Scott … Aaronson? Me: Yes. Caller: Oh, hi Dr. Aaronson! I hope you were having a nice Thanksgiving dinner before I interrupted it. This is Rich Midwit calling from Snake-in-the-Grass Financial Newsletter. On behalf of my readers at […]

Caller: Hello, am I speaking with Dr. Aaron … [reading from notes] … I mean, uhh … Scott … Aaronson?

Me: Yes.

Caller: Oh, hi Dr. Aaronson! I hope you were having a nice Thanksgiving dinner before I interrupted it. This is Rich Midwit calling from Snake-in-the-Grass Financial Newsletter. On behalf of my readers at SITG, I was wondering whether I might pick your brain for a few minutes about…

Me: Is this about whether the AI labs broke RSA?

Rich: … what I was about to say, Dr. Aaronson, was actually just that I was curious to understand … err, yeah. It’s about RSA. Are the AI labs sitting on a break, or aren’t they?

Me: Look, I have specific information that the labs will soon release a major breakthrough in theoretical cryptanalysis—which breakthrough, however, will not lead to imminent danger for any currently deployed cryptosystems. I wish I could tell you more about that, but I can’t on the record. And then, separately from that, I’ve heard endless rumors and speculations about what else the labs might have, including breaks that would cause imminent danger if they were real. And I’m forced to take such rumors seriously, given how many previous rumors about mathematical breakthroughs at the labs have turned out to be correct, and given also that, just on priors, it would be astonishing good luck if all our current crypto protocols managed to survive the onslaught of the newly superhuman AI mathematicians without a scratch. But I don’t have any specific, actionable information there. See, I’m trying to be both truthful and responsible, which is hard because…

Rich: So you’re telling me that the proof of VP=VPN doesn’t break cryptography?

Me: Oh God. A VPN is a Virtual Private Network. VNP, by contrast, is Valiant’s algebraic version of NP, and it was spectacularly proved earlier this week to not equal VP, which is Valiant’s algebraic version of P. So, this is a step toward proving P ≠ NP, which would ironically open up the first-ever possibility of proving modern cryptography secure!

Rich: So you’re telling me that, if AI proves P ≠ NP, we’ll know that RSA and all the other encryption codes are secure?

Me: No, that’s not what I said. P ≠ NP is necessary for secure cryptography based on hard problems, but it’s not sufficient. See, there was this guy Impagliazzo who in 1995 laid out five possible worlds. The first world, Cryptomania, is the one where…

Rich: … I’m sorry to cut you off, Dr. Aaronson, but this is getting way too complicated. Let me rephrase my question as, which cryptocurrencies should people buy right now, and which ones should they dump?

Me: Begone.

Rich: Excuse me?

Me: I mean, give me your info, and I will Venmo you $0.25, since you must make immediate gain from anything you learn.

Rich: Oh, no no no, I didn’t mean it that way! I just meant that I was … uhh … intellectually curious to understand the, like, theoretical basis of these various blockchains. I mean, it’s fascinating that AI agents might soon break some blockchains but not others, isn’t it? So if I could just get you to speculate for a bit about…

Me: Sorry, gotta run now. I see my mom brought out the stuffing and jello mold, and I’m intellectually curious to know how they taste, so another time!

Update: Twitter discourse on this post be like:

“BREAKING—AARONSON NOW SAYS HE HAS ‘SPECIFIC INFORMATION’ THAT LABS ARE SITTING ON ‘MAJOR BREAKTHROUGH’ IN CRYPTANALYSIS”

Zero patience or understanding for humor, for irony, or even for explanations of the relevant complexity theory. Write an entire post begging people to act like fellow truth-explorers rather than like vultures, and they’ll still descend on that very post like vultures. Ah well. Like Sisyphus, I’ll just continue pushing the boulder up the hill, trying to explain stuff.

Twitter isn’t all bad, though! So far, my favorite response to my posting on this topic has been this:

i’ve now heard many, many rumors that one or both labs are sitting on a rigorous marxist theory of art criticism

— no earthquake (cut his fingers) (@no_earthquake) November 25, 2026

By Scott

Fly, Eagles Fly

from Ben Recht

I’m not a Philly fan, but that Joe Milton game was amazing.

Hi there, argmin readers! Today’s post is written on a hangover from too much food, drink, and NFL football. It’s about yesterday’s ridiculous Eagles-Cowboys game.

I can’t get that ridiculous Joe Milton game out of my head. I didn’t even intend to watch the middle of the game of the NFL’s Thanksgiving football marathon. I kept it on as background noise as I prepped my cranberry sauce, but figured it would be a dud. The Eagles were running on fumes with so many of their best players out with injuries. Like the rest of America, I figured the Cowboys would score forty points, and Joe Milton would throw some balls very far but miss his receivers. That is almost what happened.

However, instead of missing receivers, Milton kept hitting them right on the numbers. And his passes were unreal. He chucked it 65 yards to DeVonta Smith for a touchdown. His other two touchdowns were casual 50-yard passes on the run to the end zone. Tom Brady exclaimed, “He could throw a marshmallow through a steel door!” After a rocky start, Milton led the Eagles to 29 points in under 19 minutes to secure a one-point victory. It was incredible.

Oh, and by the way, the Eagles won the game after kicking an extra point when down 8 in the fourth quarter. Once again I’m on the winning side of history.

Wait, what’s that? You’re saying they also attempted a two-point conversion when down 8 in the fourth quarter? Shoot, you are right! They are now the only team in NFL history to take both sides of the go-for-2-down-8 gambit. Someone needs to update the flow chart to account for this unknown unknown:

For those unfamiliar with my terrible football schtick, this flow chart describes a befuddling football analytics strategy for completing a two-touchdown fourth-quarter comeback. It advises teams to attempt two-point conversions instead of kicking extra points on the first scored touchdown. There is “math” behind it. And yet the gambit almost never works. I’ve written way too many blog posts about why, but I still find it endlessly amusing when it happens. It’s an extra pinch of management absurdity added to the violent chaos that is American football.

Speaking of chaos, the Eagles also hilariously “pulled a Falcons” on this one, missing both two-point conversions in their comeback. According to that handy flow chart above, that’s supposed to result in a loss. And yet it’s now happened in 2 of the 5 wins via the go-for-2-down-8 strategy.1

Indeed, missing the 2nd two-point conversion would result in a loss if there were no additional possessions. But the Cowboys managed to be impossibly stupid. With a 2-point lead and 2:10 left in the game, the Cowboys drove the ball to the Philadelphia 39-yard line. With fourth down and one to go, they had to make a tough decision. Their once unflappable kicker, Brandon Aubrey, has been terrible this season and missed a game-sealing kick just a drive earlier. Even if he made this one, the Eagles could still score a touchdown, and Dallas’ defense had been awful. So they chose (correctly in my opinion!) to attempt a fourth-down conversion and seal the game. Yet, rather than trying a simple run, they cooked up some clever, slow-developing pass play, and Dak Prescott proceeded to take an awful sack, giving the Eagles the ball on their 48-yard line. After a sloppy set of penalties and short passes, the Eagles only managed to gain 11 more yards, but their kicker, Jake Elliott, nailed a 59-yard field goal to end the game.

Was this all brilliant analytical strategy on the part of the Eagles? Of course not. The Eagles are coached by the mercurial Nick Sirianni, who just does stuff. Only Nick Sirianni could kick the extra point down 8 AND try a two-point conversion down 8. It’s a Sirianni Singularity.

Despite winning a Super Bowl, no one knows if Sirianni is a good coach. Most people like to think of him as a puppet of GM Howie Roseman. But you have to give him credit for getting his team to not roll over when they are missing talent all over their roster. This part of the job is the part of the job that’s impossible to stuff in an analytics window. In the words of the greatest NFL Coach of all time:

“Players win games. You can’t win games without good players. I don’t care who the coach is, it’s impossible… You gotta have good players, and as a coach, you want to give your players a chance to win. You wanna put ‘em in a position where if they go out there and play well, they’ll have a chance to win. That’s what Coach Parcells taught me: there’s always a way to win.”

That’s why that Eagles game was awesome. Joe Milton, a man who can throw an orange 110 yards, is an unfathomably gifted athlete. Sirianni put him in a position to carve up one of the NFL’s worst defenses. Milton and his receiving crew won the game.

Subscribe now

1

Wait, am I supposed to count this game as a win for the G42D8 strategy or for the kick an extra point strategy? Do I count it as both? Do I count the games as half? Do the small sample sizes in football make this whole exercise absurd?

By Ben Recht

TR26-347 | Counting from Geographic Information Retrieval: An Elementary Refutation of ETH | Noam Mazor, Rafael Pass

from ECCC Papers

We here provide an alternative elementary and self-contained proof for the refutation of ETH. In more detail, we show how to count satisfiable assignments to a 3SAT formula in subexponential time in the number of clauses. Together with the classical sparsification lemma of Impagliazzo, Paturi, and Zane (JCSS 2001), this gives an alternative proof that ETH is false. At the core of our proof is a new primitive which we call geographic information retrieval (GIR): Given a pattern of requests fixed in advance, GIR assigns addresses to readers and database entries so that the entries are well spread along each axis; it then preprocesses the database into a short public hint. With this hint, a reader can recover even a distant requested entry by reading only entries near its own address.
We here provide an alternative elementary and self-contained proof for the refutation of ETH. In more detail, we show how to count satisfiable assignments to a 3SAT formula in subexponential time in the number of clauses. Together with the classical sparsification lemma of Impagliazzo, Paturi, and Zane (JCSS 2001), this gives an alternative proof that ETH is false. At the core of our proof is a new primitive which we call geographic information retrieval (GIR): Given a pattern of requests fixed in advance, GIR assigns addresses to readers and database entries so that the entries are well spread along each axis; it then preprocesses the database into a short public hint. With this hint, a reader can recover even a distant requested entry by reading only entries near its own address.

Chapter: Bitcoin

from Decentralized Thoughts

In 2008, Satoshi Nakamoto published the Bitcoin whitepaper ↗, describing a form of electronic cash that needs no central bank or other trusted party. Perhaps more importantly, in January 2009 Bitcoin went live. Anyone can download its software and join, with no permission and no identity, and the participants together maintain a public ledger of who owns which coins. Cryptocurrency remains the poster-child use case for blockchains, as What are...

By Ittay Eyal

In 2008, Satoshi Nakamoto published the Bitcoin whitepaper ↗, describing a form of electronic cash that needs no central bank or other trusted party. Perhaps more importantly, in January 2009 Bitcoin went live. Anyone can download its software and join, with no permission and no identity, and the participants together maintain a public ledger of who owns which coins. Cryptocurrency remains the poster-child use case for blockchains, as What are...

By Ittay Eyal

The Scratchpad Complexity of Autoregressive Multiplication with Hard Attention

from arXiv: Computational Complexity

Authors: Kundan Baliga, Ryan Kim

How many auxiliary tokens does a causal hard-attention transformer need to multiply two $N$-bit integers? First, we resolve the true-prefix parity conjecture of Amiri Bavandpour et al. on independent uniform $N$-bit operands. The correlation bound permits any bounded test of each operand and every earlier product-bit parity. Second, we give a task-independent transfer from low-degree correlation bounds to causal hard-attention lower bounds. Position-union approximation verifies which keys win, and marked replay counts possible scratch traces using their positions. Third, at fixed depth, head count, and number of selected keys, the probability of generating the product with a sufficiently small linear scratch and edit budget is exponentially small even with a growing vocabulary. A one-head, one-layer packed FFT attains linear scratch with linear vocabulary and constant hidden dimension.

Authors: Kundan Baliga, Ryan Kim

How many auxiliary tokens does a causal hard-attention transformer need to multiply two $N$-bit integers? First, we resolve the true-prefix parity conjecture of Amiri Bavandpour et al. on independent uniform $N$-bit operands. The correlation bound permits any bounded test of each operand and every earlier product-bit parity. Second, we give a task-independent transfer from low-degree correlation bounds to causal hard-attention lower bounds. Position-union approximation verifies which keys win, and marked replay counts possible scratch traces using their positions. Third, at fixed depth, head count, and number of selected keys, the probability of generating the product with a sufficiently small linear scratch and edit budget is exponentially small even with a growing vocabulary. A one-head, one-layer packed FFT attains linear scratch with linear vocabulary and constant hidden dimension.

The Location-Dependent Knapsack Problem

from arXiv: Computational Complexity

Authors: Mauro R. C. da Silva, Lehilton L. C. Pedrosa, Rafael C. S. Schouery

In this paper, we present the Location-Dependent Knapsack Problem (LDKP), a variant of the Binary Knapsack Problem (KP) in which the contribution of an item $i$ to the objective value varies according to a function $p_i(h_i)$ that depends on the location $h_i \ge 0$ of item $i$ in the knapsack. Each choice of functions $p_i(\cdot)$ corresponds to a distinct version of the problem, possibly with new properties compared to KP. For the particular case in which $p_i(h_i)$ is a simple decreasing linear function for each item $i$, we note that LDKP is not a generalization of KP. In this case, we prove that LDKP is NP-hard and present a Fully Polynomial-Time Approximation Scheme (FPTAS). Moreover, we address a more general setting, assuming certain monotonicity and continuity conditions on functions $p_i(\cdot)$, for which we show that LDKP is strongly NP-hard and present a Polynomial-Time Approximation Scheme (PTAS).

Authors: Mauro R. C. da Silva, Lehilton L. C. Pedrosa, Rafael C. S. Schouery

In this paper, we present the Location-Dependent Knapsack Problem (LDKP), a variant of the Binary Knapsack Problem (KP) in which the contribution of an item $i$ to the objective value varies according to a function $p_i(h_i)$ that depends on the location $h_i \ge 0$ of item $i$ in the knapsack. Each choice of functions $p_i(\cdot)$ corresponds to a distinct version of the problem, possibly with new properties compared to KP. For the particular case in which $p_i(h_i)$ is a simple decreasing linear function for each item $i$, we note that LDKP is not a generalization of KP. In this case, we prove that LDKP is NP-hard and present a Fully Polynomial-Time Approximation Scheme (FPTAS). Moreover, we address a more general setting, assuming certain monotonicity and continuity conditions on functions $p_i(\cdot)$, for which we show that LDKP is strongly NP-hard and present a Polynomial-Time Approximation Scheme (PTAS).

Explicit O(1) Tree Code

from arXiv: Computational Complexity

Authors: Samuel Dittmer, Rafail Ostrovsky

We construct an efficiently computable constant rate and constant relative distance infinite tree code.

Authors: Samuel Dittmer, Rafail Ostrovsky

We construct an efficiently computable constant rate and constant relative distance infinite tree code.

The Asymptotic Rank of the Five-Cycle Tensor

from arXiv: Computational Complexity

Authors: Emile Anand

Graph tensors generalize the matrix multiplication tensor, and their asymptotic rank measures both the complexity of the associated multilinear forms and the cost of creating networks of entangled states. The five-cycle is the first graph beyond the triangle, and its asymptotic rank was only known to lie between $n^4$ and $n^{25/6}$. By Strassen's duality theorem, asymptotic rank is controlled by spectral points, and each spectral point assigns prices to the edges of a graph that behave like distances. These distances always come from a CAT(0) space, which is a space of nonpositive curvature in which every triangle is at least as thin as a Euclidean triangle with the same side lengths. Euclidean spaces, trees, and hyperbolic spaces are all examples. This turns upper bounds on tensor rank into questions about the geometry of a few points. We prove a sharp inequality for five points in a CAT(0) space. If $S$ is the sum of the five cyclic side lengths, $L$ is the sum of the five diagonals, and $r_i$ is the sum of the distances from the $i$'th point to the others, then $L+r_{e+3}\le 3S$ whenever $\{e,e+1\}$ is a longest side, and the constant $3$ is best possible. Combined with Zhou's copositive constraint on spectral points, this shows that $L$ is at most $49/12$, which is sharp. Together with the exact exponent of rectangular matrix multiplication, it gives $\widetilde{R}_{\mathbb F}(\mathsf{GT}_n(C_5))=n^{49/12}$. We also give bounds for pentagons with unequal bond dimensions and for graphs with fractional pentagon packings, and we determine the exponent of separated decompositions of $\mathrm{tr}(A_0 A_1 A_2 A_3 A_4)$. As an application to quantum information, we show that five parties who share GHZ states and use stochastic local operations need asymptotically $49/12$ GHZ states per copy to create a pentagon of qubit EPR pairs.

Authors: Emile Anand

Graph tensors generalize the matrix multiplication tensor, and their asymptotic rank measures both the complexity of the associated multilinear forms and the cost of creating networks of entangled states. The five-cycle is the first graph beyond the triangle, and its asymptotic rank was only known to lie between $n^4$ and $n^{25/6}$. By Strassen's duality theorem, asymptotic rank is controlled by spectral points, and each spectral point assigns prices to the edges of a graph that behave like distances. These distances always come from a CAT(0) space, which is a space of nonpositive curvature in which every triangle is at least as thin as a Euclidean triangle with the same side lengths. Euclidean spaces, trees, and hyperbolic spaces are all examples. This turns upper bounds on tensor rank into questions about the geometry of a few points. We prove a sharp inequality for five points in a CAT(0) space. If $S$ is the sum of the five cyclic side lengths, $L$ is the sum of the five diagonals, and $r_i$ is the sum of the distances from the $i$'th point to the others, then $L+r_{e+3}\le 3S$ whenever $\{e,e+1\}$ is a longest side, and the constant $3$ is best possible. Combined with Zhou's copositive constraint on spectral points, this shows that $L$ is at most $49/12$, which is sharp. Together with the exact exponent of rectangular matrix multiplication, it gives $\widetilde{R}_{\mathbb F}(\mathsf{GT}_n(C_5))=n^{49/12}$. We also give bounds for pentagons with unequal bond dimensions and for graphs with fractional pentagon packings, and we determine the exponent of separated decompositions of $\mathrm{tr}(A_0 A_1 A_2 A_3 A_4)$. As an application to quantum information, we show that five parties who share GHZ states and use stochastic local operations need asymptotically $49/12$ GHZ states per copy to create a pentagon of qubit EPR pairs.

Solving One of Many Instances Is Almost as Hard as Solving One

from arXiv: Computational Complexity

Authors: Nikolai Chukhin, Alexander S. Kulikov, Ivan Mihajlin, Alexander V. Smal

In the 1-out-of-$k$ problem $\mathrm{choose}^k_F$ for a function $F\colon A\times B\to\{0,1\}$, Alice gets $k$ distinct inputs $x_1,\ldots,x_k\in A$, Bob gets $k$ distinct inputs $y_1,\ldots,y_k\in B$, and they must output some index $i\in\{1,\ldots,k\}$ together with $F(x_i,y_i)$. Clearly, the players can always compute $F(x_1,y_1)$, so the question is whether the freedom to choose the instance they solve can make the problem substantially easier. This question has been studied in communication complexity and in formula complexity, where it is related to the KRW conjecture of Karchmer, Raz, and Wigderson (1995), which would imply $\mathsf{P}\not\subseteq\mathsf{NC}^1$. We show that choosing among polynomially many instances saves at most logarithmically many bits, precisely: for every Boolean function $F$ on $n$-bit inputs and every $k\le 2^n$, $\mathrm{CC}(\mathrm{choose}^k_F)\ge\mathrm{CC}(F)-O(\log k+\log n)$, and the analogous bound holds for formula depth, which proves the conjectures of Dinur and Meir (2016). Previously, only a square-root lower bound was known (Feder, Kushilevitz, Naor, and Nisan, 1995). For the composition $U_m\diamond\mathrm{KW}_g$ of the universal relation with the KW game of $g\colon\{0,1\}^n\to\{0,1\}$, we prove that every $g$ has a core $S\subseteq\{0,1\}^n$ such that the game restricted to any half of $S^m$ still requires $\mathrm{D}(g)-O(\log n)$ bits, where $\mathrm{D}(g)$ is the formula depth of $g$. For almost every $g$, this holds even for $S=\{0,1\}^n$ and any $2^{1-m}$ fraction of the inputs when $m\le n^2$, which implies $\mathrm{CC}(U_m\diamond\mathrm{KW}_g)\ge m+n-O(\log n)$, improving the bound $m+n-O(\sqrt{m})$ of Wu (2023).

Authors: Nikolai Chukhin, Alexander S. Kulikov, Ivan Mihajlin, Alexander V. Smal

In the 1-out-of-$k$ problem $\mathrm{choose}^k_F$ for a function $F\colon A\times B\to\{0,1\}$, Alice gets $k$ distinct inputs $x_1,\ldots,x_k\in A$, Bob gets $k$ distinct inputs $y_1,\ldots,y_k\in B$, and they must output some index $i\in\{1,\ldots,k\}$ together with $F(x_i,y_i)$. Clearly, the players can always compute $F(x_1,y_1)$, so the question is whether the freedom to choose the instance they solve can make the problem substantially easier. This question has been studied in communication complexity and in formula complexity, where it is related to the KRW conjecture of Karchmer, Raz, and Wigderson (1995), which would imply $\mathsf{P}\not\subseteq\mathsf{NC}^1$. We show that choosing among polynomially many instances saves at most logarithmically many bits, precisely: for every Boolean function $F$ on $n$-bit inputs and every $k\le 2^n$, $\mathrm{CC}(\mathrm{choose}^k_F)\ge\mathrm{CC}(F)-O(\log k+\log n)$, and the analogous bound holds for formula depth, which proves the conjectures of Dinur and Meir (2016). Previously, only a square-root lower bound was known (Feder, Kushilevitz, Naor, and Nisan, 1995). For the composition $U_m\diamond\mathrm{KW}_g$ of the universal relation with the KW game of $g\colon\{0,1\}^n\to\{0,1\}$, we prove that every $g$ has a core $S\subseteq\{0,1\}^n$ such that the game restricted to any half of $S^m$ still requires $\mathrm{D}(g)-O(\log n)$ bits, where $\mathrm{D}(g)$ is the formula depth of $g$. For almost every $g$, this holds even for $S=\{0,1\}^n$ and any $2^{1-m}$ fraction of the inputs when $m\le n^2$, which implies $\mathrm{CC}(U_m\diamond\mathrm{KW}_g)\ge m+n-O(\log n)$, improving the bound $m+n-O(\sqrt{m})$ of Wu (2023).

Rank Bounds for Half-Duplex Communication and a Linear Separation of Adversaries

from arXiv: Computational Complexity

Authors: Timur Kuptsov

We study deterministic half-duplex communication in which the participants may send or receive a bit in each round, with particular attention to the distinction between an honest adversary, which supplies the same bit to both receivers, and a malicious adversary, which may supply different bits. We prove a general rank lower bound in terms of a triangular fooling sequence and a real matrix whose zero pattern describes incompatible one-round events. In the malicious-adversary model the minimum possible rank is two. Consequently, the half-duplex complexity of equality, disjointness, and greater-than on $n$-bit inputs is exactly $n+1$. For the honest-adversary model we give a protocol with nonadaptive encoding rounds for equality of depth at most $n\log_3 2+\frac{1}{2}\log_3 n+O(1)$, matching the known lower bound to first order. In particular, equality exhibits a linear separation between honest and malicious adversaries even though it is a total Boolean function. The two proofs illustrate complementary roles of algebraic incompatibility and combinatorial detection of unequal inputs.

Authors: Timur Kuptsov

We study deterministic half-duplex communication in which the participants may send or receive a bit in each round, with particular attention to the distinction between an honest adversary, which supplies the same bit to both receivers, and a malicious adversary, which may supply different bits. We prove a general rank lower bound in terms of a triangular fooling sequence and a real matrix whose zero pattern describes incompatible one-round events. In the malicious-adversary model the minimum possible rank is two. Consequently, the half-duplex complexity of equality, disjointness, and greater-than on $n$-bit inputs is exactly $n+1$. For the honest-adversary model we give a protocol with nonadaptive encoding rounds for equality of depth at most $n\log_3 2+\frac{1}{2}\log_3 n+O(1)$, matching the known lower bound to first order. In particular, equality exhibits a linear separation between honest and malicious adversaries even though it is a total Boolean function. The two proofs illustrate complementary roles of algebraic incompatibility and combinatorial detection of unequal inputs.

Graphical stability conditions for sparse matrix spaces: a two-sided gap

from arXiv: Computational Complexity

Authors: Diogo Poças, Guilherme Ramos, Sérgio Pequito

A sparse matrix space is a vector space of real matrices with a prescribed zero pattern. It is stable if it contains a Hurwitz matrix. Prior work by Belabbas bracketed stability between a necessary and a sufficient graphical condition. We show that this bracket is loose on both sides, and does not vanish even under strong connectivity: the sufficient condition already fails to be necessary at order three, and the necessary one already fails to be sufficient at order four. We propose a stronger necessary condition, using Routh-Hurwitz tables, which catches the second example but remains strictly weaker than stability already at order five. We give a randomized polynomial-time algorithm for each necessary condition, via an exact reduction to polynomial identity testing, placing them in RP. In contrast, we prove that the sufficient condition is NP-complete, by reduction from satisfiability, and implement a backtracking-with-memoization exponential algorithm. We perform comprehensive numerical experiments, confirming that the gap between the necessary and sufficient conditions persists as the dimension increases, and that the algorithms retain their contrastive worst-case computational cost in practice.

Authors: Diogo Poças, Guilherme Ramos, Sérgio Pequito

A sparse matrix space is a vector space of real matrices with a prescribed zero pattern. It is stable if it contains a Hurwitz matrix. Prior work by Belabbas bracketed stability between a necessary and a sufficient graphical condition. We show that this bracket is loose on both sides, and does not vanish even under strong connectivity: the sufficient condition already fails to be necessary at order three, and the necessary one already fails to be sufficient at order four. We propose a stronger necessary condition, using Routh-Hurwitz tables, which catches the second example but remains strictly weaker than stability already at order five. We give a randomized polynomial-time algorithm for each necessary condition, via an exact reduction to polynomial identity testing, placing them in RP. In contrast, we prove that the sufficient condition is NP-complete, by reduction from satisfiability, and implement a backtracking-with-memoization exponential algorithm. We perform comprehensive numerical experiments, confirming that the gap between the necessary and sufficient conditions persists as the dimension increases, and that the algorithms retain their contrastive worst-case computational cost in practice.