Arrow Research search

Author name cluster

Ce Jin 0001

Possible papers associated with this exact author name in Arrow. This page groups case-insensitive exact name matches and is not a full identity disambiguation profile.

22 papers
1 author row

Possible papers

22

STOC Conference 2025 Conference Paper

All-Pairs Shortest Paths with Few Weights per Node

  • Amir Abboud
  • Nick Fischer
  • Ce Jin 0001
  • Virginia Vassilevska Williams
  • Zoe Xi

We study the central All-Pairs Shortest Paths (APSP) problem under the restriction that there are at most d distinct weights on the outgoing edges from every node. For d = n this is the classical (unrestricted) APSP problem that is hypothesized to require cubic time n 3− o (1) , and at the other extreme, for d =1, it is equivalent to the Node-Weighted APSP problem. We present new algorithms that achieve the following results: * Node-Weighted APSP can be solved in time Õ( n (3+ω)/2 ) = Õ( n 2.686 ), improving on the 15-year-old subcubic bounds Õ( n (9+ω)/4 ) = Õ( n 2.843 ) [Chan; STOC ’07] and Õ( n 2.830 ) [Yuster; SODA ’09]. This positively resolves the question of whether Node-Weighted APSP is an ”intermediate” problem in the sense of having complexity n 2.5+ o (1) if ω=2, in which case it also matches an n 2.5− o (1) conditional lower bound. * For up to d ≤ n 3−ω−є distinct weights per node (where є > 0), the problem can be solved in subcubic time O ( n 3− f (є) ) (where f (є) > 0). In particular, assuming that ω = 2, we can tolerate any sublinear number of distinct weights per node d ≤ n 1−є , whereas previous work [Yuster; SODA ’09] could only handle d ≤ n 1/2−є in subcubic time. This promotes our understanding of the APSP hypothesis showing that the hardest instances must exhaust a linear number of weights per node. With the current bounds on ω, we achieve a subcubic algorithm for d ≤ n 0.628 whereas previously a subcubic running time could only be achieved for d ≤ n 0.384 . Our result also applies to the All-Pairs Exact Triangle problem, thus generalizing a result of Chan and Lewenstein on “Clustered 3SUM” from arrays to matrices. Notably, our technique constitutes a rare application of additive combinatorics in graph algorithms. We complement our algorithmic results with simple hardness reductions extending the n 2.5− o (1) conditional lower bound for Node-Weighted APSP to undirected graphs. Interestingly, under fine-grained assumptions, the complexity in the undirected case jumps from O ( n ω ) for d =1 to n 2.5− o (1) for d ≥ 2.

FOCS Conference 2025 Conference Paper

Near-Optimal Property Testers for Pattern Matching

  • Ce Jin 0001
  • Tomasz Kociumaka

The classic exact pattern matching problem, given two strings——a pattern P of length m and a text T of length n—— asks whether P occurs as a substring of T, that is, $P= T[i. . i+m)$ holds for some $i \in[0. . n-m]$. A property tester for the problem needs to distinguish (with high probability) the following two cases for some threshold $k \in[1. . m)$: the Yes case, where P occurs as a substring of T, and the No case, where $\boldsymbol{P}$ has Hamming distance greater than k from every substring of T, that is, P has no k-mismatch occurrence in T. In this work, we provide adaptive and non-adaptive property testers for the exact pattern matching problem, jointly covering the whole spectrum of parameters. We further establish unconditional lower bounds demonstrating that the time and query complexities of our algorithms are optimal, up to polylog n factors hidden within the $\widetilde{\mathcal{O}}(\cdot)$ notation below. In the most studied regime of $n=m+\Theta(m)$, our nonadaptive property tester has the time complexity of $\widetilde{\mathcal{O}}(n / \sqrt{k})$, and a matching lower bound remains valid for the query complexity of adaptive algorithms. This improves both upon a folklore solution that attains the optimal query complexity but requires $\Omega(n)$ time, and upon the only previously known sublineartime property tester, by Chan, Golan, Kociumaka, Kopelowitz, and Porat [STOC 2020], with time complexity $\widetilde{\mathcal{O}}(n / \sqrt[3]{k})$. The aforementioned results remain valid for $n=m+\Omega(m)$, where our optimal running time $\widetilde{\mathcal{O}}(\sqrt{n m / k}+n / k)$ improves upon the previously best time complexity of $\mathcal{O}\left(\sqrt[3]{n^{2} m / k}+n / k\right)$. In the regime of $n=m+o(m)$, which has not been targeted in any previous work, we establish a surprising separation between adaptive and non-adaptive algorithms, whose optimal time and query complexities are $\widetilde{\mathcal{O}}(\sqrt{(n-m+1) m / k}+n / k)$ and $\widetilde{\mathcal{O}}(\min (n \sqrt{n-m+1} / k, \sqrt{n m / k}+n / k))$, respectively. Our non-adaptive algorithms answer Yes with high probability not only when P has an exact occurrence in T but also when P has an occurrence with at most $k^{\prime}=\Omega(k / \log n)$ mismatches. The gap $k / k^{\prime}$ can be reduced by slightly increasing the running time; an arbitrarily small polynomial overhead already suffices to achieve a constant gap. Moreover, upon request, our algorithms may output a set $A \subseteq[0. . n-m]$ that contains the starting positions of all $\boldsymbol{k}^{\prime}$-mismatch occurrences of $\boldsymbol{P}$ in $\boldsymbol{T}$ and no starting position of an occurrence with more than k mismatches. The key technical innovation behind all our property testers is a novel characterization of the mismatches between the pattern P and the fragments $T[i. . i+m)$ across $i \in[0. . n-m]$. We show that one can select $\widetilde{\mathcal{O}}(k \cdot n / m)$ positions within P and T so that, for every $i \in[0. . n-m]$, at least $\min \left(k, k_{i}\right)$ of the $k_{i}$ mismatches between P and $T[i. . i+m)$ involve a selected position. Previously, such a construction was known for k

STOC Conference 2024 Conference Paper

0-1 Knapsack in Nearly Quadratic Time

  • Ce Jin 0001

We study pseudo-polynomial time algorithms for the fundamental 0-1 Knapsack problem. Recent research interest has focused on its fine-grained complexity with respect to the number of items n and the maximum item weight w max . Under (min,+)-convolution hypothesis, 0-1 Knapsack does not have O (( n + w max ) 2−δ ) time algorithms (Cygan-Mucha-Węgrzycki-Włodarczyk 2017 and K'unnemann-Paturi-Schneider 2017). On the upper bound side, currently the fastest algorithm runs in Õ( n + 12/5 ) time (Chen, Lian, Mao, and Zhang 2023), improving the earlier O ( n + w max 3 )-time algorithm by Polak, Rohwedder, and Węgrzycki (2021).

STOC Conference 2024 Conference Paper

Shaving Logs via Large Sieve Inequality: Faster Algorithms for Sparse Convolution and More

  • Ce Jin 0001
  • Yinzhan Xu

In sparse convolution-type problems, a common technique is to hash the input integers modulo a random prime p ∈ [ Q /2, Q ] for some parameter Q , which reduces the range of the input integers while preserving their additive structure. However, this hash family suffers from two drawbacks, which led to bottlenecks in many state-of-the-art algorithms: (1) The collision probability of two elements from [ N ] is O (log N / Q ) rather than O (1/ Q ); (2) It is difficult to derandomize the choice of p ; known derandomization techniques lead to super-logarithmic overhead [Chan, Lewenstein STOC’15]. In this paper, we partially overcome these drawbacks in certain scenarios, via novel applications of the large sieve inequality from analytic number theory. Consequently, we obtain the following improved algorithms for various problems (in the standard word RAM model): Sparse Nonnegative Convolution: We obtain an O ( t log t )-time Las Vegas algorithm that computes the convolution A ⋆ B of two nonnegative integer vectors A , B , where t is the output sparsity || A ⋆ B || 0 . Moreover, our algorithm terminates in O ( t log t ) time with 1−1/ poly ( t ) probability. This simultaneously improves the O ( t log t loglog t )-time Las Vegas algorithm [Bringmann, Fischer, Nakos SODA’22] and the Monte Carlo O ( t log t )-time algorithm with failure probability 2 −√log t [Bringmann, Fischer, Nakos STOC’21]. Text-to-Pattern Hamming Distances: Given a length- m pattern P and a length- n text T , we obtain an O ( n √ m loglog m )-time deterministic algorithm that exactly computes the Hamming distance between P and every length- m substring of T . This improves the previous O ( n √ m (log m loglog m ) 1/4 )-time deterministic algorithm [Chan, Jin, Vassilevska Williams, Xu FOCS’23] and nearly matches their O ( n √ m )-time Las Vegas algorithm. Sparse General Convolution: For sparse convolution with possibly negative input, all previous approaches required Ω( t log 2 t ) time, where t is the maximum of input and output sparsity, and an important question left open by [Bringmann, Fischer, Nakos STOC’21] is whether this can be improved. We make partial progress towards solving this question by giving a Monte Carlo O ( t log t ) time algorithm in the restricted case where the length N of the input vectors satisfies N ≤ t 1.99 .

SODA Conference 2023 Conference Paper

Approximating Knapsack and Partition via Dense Subset Sums

  • Mingyang Deng
  • Ce Jin 0001
  • Xiao Mao

Knapsack and Partition are two important additive problems whose fine-grained complexities in the (1 — ε)-approximation setting are not yet settled. In this work, we make progress on both problems by giving improved algorithms. • Knapsack can be (1 — ε)-approximated in Õ ( n + (1/ε) 2. 2 ) time, improving the previous Õ ( n + (1/ε) 2. 25 ) by Jin (ICALP'19). There is a known conditional lower bound of ( n + 1/ε) 2- ο (1) based on (min, +)- convolution hypothesis. • Partition can be (1 — ε)-approximated in Õ ( n + (1/ε) 1. 25 ) time, improving the previous Õ ( n + (1/ε) 1. 5 ) by Bringmann and Nakos (SODA'21). There is a known conditional lower bound of (1/ε) 1- ο (1) based on Strong Exponential Time Hypothesis. Both of our new algorithms apply the additive combinatorial results on dense subset sums by Galil and Margalit (SICOMP'91), Bringmann and Wellnitz (SODA'21). Such techniques have not been explored in the context of Knapsack prior to our work. In addition, we design several new methods to speed up the divide-and-conquer steps which naturally arise in solving additive problems.

FOCS Conference 2023 Conference Paper

Faster Algorithms for Text-to-Pattern Hamming Distances

  • Timothy M. Chan
  • Ce Jin 0001
  • Virginia Vassilevska Williams
  • Yinzhan Xu

We study the classic Text-to-Pattern Hamming Distances problem: given a pattern P of length m and a text T of length n, both over a polynomial-size alphabet, compute the Hamming distance between P and $T[i \ldots i+m-1]$ for every shift i, under the standard Word-RAM model with $\Theta(\log n)$-bit words. •We provide an $O(n \sqrt{m})$ time Las Vegas randomized algorithm for this problem, beating the decades-old $O(n \sqrt{m \log m})$ running time [Abrahamson, SICOMP 1987]. We also obtain a deterministic algorithm, with a slightly higher $O\left(n \sqrt{m}(\log m \log \log m)^{1 / 4}\right)$ running time. Our randomized algorithm extends to the k-bounded setting, with running time $O\left(n+\frac{n k}{\sqrt{m}}\right)$, removing all the extra logarithmic factors from earlier algorithms [Gawrychowski and Uznanski, ICALP 2018; Chan, Golan, Kociumaka, Kopelowitz and Porat, STOC 2020]. •For the $(1+\varepsilon)$-approximate version of Text-to-Pattern Hamming Distances, we give an $\widetilde{O}\left(\varepsilon^{-0. 93} n\right)$ time Monte Carlo randomized algorithm (where $\widetilde{O}$ hides poly-logarithmic factors), beating the previous $\widetilde{O}\left(\varepsilon^{-1} n\right)$ running time [Kopelowitz and Porat, FOCS 2015; Kopelowitz and Porat, SOSA 2018]. Our approximation algorithm exploits a connection with 3SUM, and uses a combination of Fredman’s trick, equality matrix product, and random sampling; in particular, we obtain new results on approximate counting versions of 3 SUM and Exact Triangle, which may be of independent interest. Our exact algorithms use a novel combination of hashing, bit-packed FFT, and recursion; in particular, we obtain a faster algorithm for computing the sumset of two integer sets, in the regime when the universe size is close to quadratic in the number of elements. We also prove a fine-grained equivalence between the exact Text-to-Pattern Hamming Distances problem and a range-restricted, counting version of 3 SUM.

SODA Conference 2023 Conference Paper

Quantum Speed-ups for String Synchronizing Sets, Longest Common Substring, and k -mismatch Matching

  • Ce Jin 0001
  • Jakob Nogler

Longest Common Substring (LCS) is an important text processing problem, which has recently been investigated in the quantum query model. The decisional version of this problem, LCS with threshold d, asks whether two length- n input strings have a common substring of length d. The two extreme cases, d = 1 and d = n, correspond respectively to Element Distinctness and Unstructured Search, two fundamental problems in quantum query complexity. However, the intermediate case 1 ≪ d ≪ n was not fully understood. We show that the complexity of LCS with threshold d smoothly interpolates between the two extreme cases up to n o (1) factors: • LCS with threshold d has a quantum algorithm in n 2/3 +o(1) / d 1/6 query complexity and time complexity, and requires at least Ω( n 2/3 / d 1/6 ) quantum query complexity. Our result improves upon previous upper bounds Õ (min{ n / d 1/2, n 2/3 }) (Le Gall and Seddighin ITCS 2022, Akmal and Jin SODA 2022), and answers an open question of Akmal and Jin. Our main technical contribution is a quantum speed-up of the powerful String Synchronizing Set technique introduced by Kempa and Kociumaka (STOC 2019). It consistently samples n /τ 1− o (1) synchronizing positions in the string depending on their length-Θ(τ) contexts, and each synchronizing position can be reported by a quantum algorithm in Õ(τ 1/2+ o (1) ) time. Our quantum string synchronizing set also yields a near-optimal LCE data structure in the quantum setting. As another application of our quantum string synchronizing set, we study the k-mismatch Matching problem, which asks if the pattern has an occurrence in the text with at most k Hamming mismatches. Using a structural result of Charalampopoulos, Kociumaka, and Wellnitz (FOCS 2020), we obtain: • k -mismatch matching has a quantum algorithm with k 3/4 n 1/2+ o (1) query complexity and Õ ( kn 1/2 ) time complexity. We also observe a non-matching quantum query lower bound of.

STOC Conference 2023 Conference Paper

Removing Additive Structure in 3SUM-Based Reductions

  • Ce Jin 0001
  • Yinzhan Xu

Our work explores the hardness of 3SUM instances without certain additive structures, and its applications. As our main technical result, we show that solving 3SUM on a size- n integer set that avoids solutions to a + b = c + d for { a , b } ≠ { c , d } still requires n 2− o (1) time, under the 3SUM hypothesis. Such sets are called Sidon sets and are well-studied in the field of additive combinatorics. Combined with previous reductions, this implies that the All-Edges Sparse Triangle problem on n -vertex graphs with maximum degree √ n and at most n k /2 k -cycles for every k ≥ 3 requires n 2− o (1) time, under the 3SUM hypothesis. This can be used to strengthen the previous conditional lower bounds by Abboud, Bringmann, Khoury, and Zamir [STOC’22] of 4-Cycle Enumeration, Offline Approximate Distance Oracle and Approximate Dynamic Shortest Path. In particular, we show that no algorithm for the 4-Cycle Enumeration problem on n -vertex m -edge graphs with n o (1) delays has O ( n 2−ε ) or O ( m 4/3−ε ) pre-processing time for ε >0. We also present a matching upper bound via simple modifications of the known algorithms for 4-Cycle Detection. A slight generalization of the main result also extends the result of Dudek, Gawrychowski, and Starikovskaya [STOC’20] on the 3SUM hardness of nontrivial 3-Variate Linear Degeneracy Testing (3-LDTs): we show 3SUM hardness for all nontrivial 4-LDTs. The proof of our main technical result combines a wide range of tools: Balog-Szemerédi-Gowers theorem, sparse convolution algorithm, and a new almost-linear hash function with almost 3-universal guarantee for integers that do not have small-coefficient linear relations.

FOCS Conference 2022 Conference Paper

Approximation Algorithms and Hardness for n-Pairs Shortest Paths and All-Nodes Shortest Cycles

  • Mina Dalirrooyfard
  • Ce Jin 0001
  • Virginia Vassilevska Williams
  • Nicole Wein

We study the approximability of two related problems on graphs with n nodes and m edges: n-Pairs Shortest Paths (n-PSP), where the goal is to find a shortest path between O(n) prespecified pairs, and All Node Shortest Cycles (ANSC), where the goal is to find the shortest cycle passing through each node. Approximate n-PSP has been previously studied, mostly in the context of distance oracles. We ask the question of whether approximate n-PSP can be solved faster than by using distance oracles or All Pair Shortest Paths (APSP). ANSC has also been studied previously, but only in terms of exact algorithms, rather than approximation. We provide a thorough study of the approximability of n PSP and ANSC, providing a wide array of algorithms and conditional lower bounds that trade off between running time and approximation ratio. A highlight of our conditional lower bounds results is that for any integer k$\geq$1, under the combinatorial 4k-clique hypothesis, there is no combinatorial algorithm for unweighted undirected n-PSP with approximation ratio better than $1+1/k$ that runs in $O(m^{2-2/(k+1)}n^{1/(k+1)-\varepsilon})$ time. This nearly matches an upper bound implied by the result of Agarwal (2014). Our algorithms use a surprisingly wide range of techniques, including techniques from the girth problem, distance oracles, approximate APSP, spanners, fault-tolerant spanners, and link-cut trees. A highlight of our algorithmic results is that one can solve both n-PSP and ANSC in $O(m+n^{3/2+\in})$ time 1 with approximation factor $2+\varepsilon$ (and additive error that is function of $\varepsilon$), for any constant $\varepsilon\lt 0$. For n-PSP, our conditional lower bounds imply that this approximation ratio is nearly optimal for any subquadratic-time combinatorial algorithm. We further extend these algorithms for n-PSP and ANSC to obtain a time/accuracy trade-off that includes near-linear time algorithms. 1 $\tilde{O}$ hides sub-polynomial factors. Additionally, for ANSC, for all integers $k\geq 1$, we extend the very recent almost k-approximation algorithm for the girth problem that works in $\tilde{O}(n^{1+1/k})$ time [Kadria et al. SODA’22], and obtain an almost k-approximation algorithm for ANSC in $\tilde{O}(mn^{1/k})$ time.

SODA Conference 2022 Conference Paper

Near-Optimal Quantum Algorithms for String Problems

  • Shyan Akmal
  • Ce Jin 0001

We study quantum algorithms for several fundamental string problems, including Longest Common Substring, Lexicographically Minimal String Rotation, and Longest Square Substring. These problems have been widely studied in the stringology literature since the 1970s, and are known to be solvable by near-linear time classical algorithms. In this work, we give quantum algorithms for these problems with near-optimal query complexities and time complexities. Specifically, we show that: Longest Common Substring can be solved by a quantum algorithm in Õ ( n 2/3 ) time, improving upon the recent Õ ( n 5/6 )-time algorithm by Le Gall and Seddighin (2020). Our algorithm uses the MNRS quantum walk framework, together with a careful combination of string synchronizing sets (Kempa and Kociumaka, 2019) and generalized difference covers. Lexicographically Minimal String Rotation can be solved by a quantum algorithm in n 1/2 + o (1) time, improving upon the recent Õ ( n 3/4 )-time algorithm by Wang and Ying (2020). We design our algorithm by first giving a new classical divide-and-conquer algorithm in near-linear time based on exclusion rules, and then speeding it up quadratically using nested Grover search and quantum minimum finding. Longest Square Substring can be solved by a quantum algorithm in time. Our algorithm is an adaptation of the algorithm by Le Gall and Seddighin (2020) for the Longest Palindromic Substring problem, but uses additional techniques to overcome the difficulty that binary search no longer applies. Our techniques naturally extend to other related string problems, such as Longest Repeated Substring, Longest Lyndon Substring, and Minimal Suffix.

STOC Conference 2022 Conference Paper

Tight dynamic problem lower bounds from generalized BMM and OMv

  • Ce Jin 0001
  • Yinzhan Xu

Popular fine-grained hypotheses have been successful in proving conditional lower bounds for many dynamic problems. Two of the most widely applicable hypotheses in this context are the combinatorial Boolean Matrix Multiplication (BMM) hypothesis and the closely-related Online Matrix Vector Multiplication (OMv) hypothesis . The main theme of this paper is using k -dimensional generalizations of these two hypotheses to prove new tight conditional lower bounds for dynamic problems.

SODA Conference 2022 Conference Paper

Truly Low-Space Element Distinctness and Subset Sum via Pseudorandom Hash Functions

  • Lijie Chen 0001
  • Ce Jin 0001
  • R. Ryan Williams
  • Hongxun Wu

We consider low-space algorithms for the classic Element Distinctness problem: given an array of n input integers with O (log n ) bit-length, decide whether or not all elements are pairwise distinct. Beame, Clifford, and Machmouchi [FOCS 2013] gave an Õ ( n 1. 5 )-time randomized algorithm for Element Distinctness using only O (log n ) bits of working space. However, their algorithm assumes a random oracle (in particular, read-only random access to polynomially many random bits), and it was asked as an open question whether this assumption can be removed. In this paper, we positively answer this question by giving an Õ ( n 1. 5 )-time randomized algorithm using O (log 3 n log log n ) bits of space, with one-way access to random bits. As a corollary, we also obtain a poly( n )-space O ∗ (2 0. 86 n )-time randomized algorithm for the Subset Sum problem, removing the random oracles required in the algorithm of Bansal, Garg, Nederlof, and Vyas [STOC 2017]. The main technique underlying our results is a pseudorandom hash family based on iterative restrictions, which can fool the cycle-finding procedure in the algorithms of Beame et al. and Bansal et al.

FOCS Conference 2021 Conference Paper

Constructive Separations and Their Consequences

  • Lijie Chen 0001
  • Ce Jin 0001
  • Rahul Santhanam
  • R. Ryan Williams

For a complexity class C and language L, a constructive separation of “L is not in C” gives an efficient algorithm (also called a refuter) to find counterexamples (bad inputs) for every C-algorithm attempting to decide L. We study the questions: Which lower bounds can be made constructive? What are the consequences of constructive separations? We build a case that “constructiveness” serves as a dividing line between many weak lower bounds we know how to prove, and strong lower bounds against P, ZPP, and BPP. Put another way, constructiveness is the opposite of a complexity barrier: it is a property we want lower bounds to have. Our results fall into three broad categories. 1. For many separations, making them constructive would imply breakthrough lower bounds. Our first set of results shows that, for many well-known lower bounds against streaming algorithms, one-tape Turing machines, and query complexity, as well as lower bounds for the Minimum Circuit Size Problem, making these lower bounds constructive would imply break-through separations ranging from “EXP not equal to BPP” to even “P not equal to NP”. 2. Most conjectured uniform separations can be made constructive. Our second set of results shows that for most major open problems in lower bounds against P, ZPP, and BPP, including “P not equal to NP”, “P not equal to PSPACE”, “P not equal to PP”, “ZPP not equal to EXP”, and “BPP not equal to NEXP”, any proof of the separation would further imply a constructive separation. Our results generalize earlier results for “P not equal to NP” [Gutfreund, Shaltiel, and Ta-Shma, CCC 2005] and “BPP not equal to NEXP” [Dolev, Fandina and Gutfreund, CIAC 2013]. Thus any proof of these strong lower bounds must also yield a constructive version, compared to many weak lower bounds we currently know. 3. Some separations cannot be made constructive. Our third set of results shows that certain complexity separations cannot be made constructive. We observe that for all super-polynomially growing functions $\mathbf{t}$, there are no constructive separations for detecting high t-time Kolmogorov complexity (a task which is known to be not in P) from any complexity class, unconditionally. We also show that under plausible conjectures, there are languages in NP - $\mathbf{P}$ for which there are no constructive separations from any complexity class.

SODA Conference 2021 Conference Paper

Fast Low-Space Algorithms for Subset Sum

  • Ce Jin 0001
  • Nikhil Vyas 0001
  • R. Ryan Williams

We consider the canonical Subset Sum problem: given a list of positive integers a 1, …, a n and a target integer t with t > a i for all i, determine if there is an S ⊆ [ n ] such that Σ i ∊ S a i = t. The well-known pseudopolynomialtime dynamic programming algorithm [Bellman, 1957] solves Subset Sum in O ( nt ) time, while requiring Ω( t ) space. In this paper we present algorithms for Subset Sum with Õ ( nt ) running time and much lower space requirements than Bellman's algorithm, as well as that of prior work. We show that Subset Sum can be solved in Õ ( nt ) time and O (log( nt )) space with access to O (log n log log n + log t ) random bits. This significantly improves upon the Õ ( nt 1+ ∊ )-time, Õ(n log t )-space algorithm of Bringmann (SODA 2017). We also give a Õ ( n 1+ ∊ t )-time, O (log( nt ))-space randomized algorithm, improving upon previous ( nt ) O (1) -time O (log( nt ))-space algorithms by Elberfeld, Jakoby, and Tantau (FOCS 2010), and Kane (2010). In addition, we also give a poly log( nt )-space, Õ ( n 2 t )-time deterministic algorithm. We also study time-space trade-offs for Subset Sum. For parameter 1 ≤ k ≤ min{ n, t }, we present a randomized algorithm running in Õ (( n + t ) · k ) time and O (( t/k ) poly log( nt )) space. As an application of our results, we give an Õ (min{ n 2 / ∊, n/∊ 2 })-time and poly log( nt )-space algorithm for “weak” ∊ -approximations of Subset Sum.

STOC Conference 2020 Conference Paper

Sharp threshold results for computational complexity

  • Lijie Chen 0001
  • Ce Jin 0001
  • R. Ryan Williams

We establish several “sharp threshold” results for computational complexity. For certain tasks, we can prove a resource lower bound of n c for c ≥ 1 (or obtain an efficient circuit-analysis algorithm for n c size), there is strong intuition that a similar result can be proved for larger functions of n , yet we can also prove that replacing “ n c ” with “ n c +ε ” in our results, for any ε > 0, would imply a breakthrough n ω(1) lower bound. We first establish such a result for Hardness Magnification . We prove (among other results) that for some c , the Minimum Circuit Size Problem for (log n ) c -size circuits on length- n truth tables ( MCSP [(log n ) c ]) does not have n 2− o (1) -size probabilistic formulas. We also prove that an n 2+ε lower bound for MCSP [(log n ) c ] (for any ε > 0 and c ≥ 1) would imply major lower bound results, such as NP does not have n k -size formulas for all k , and # SAT does not have log-depth circuits. Similar results hold for time-bounded Kolmogorov complexity. Note that cubic size lower bounds are known for probabilistic De Morgan formulas (for other functions). Next we show a sharp threshold for Quantified Derandomization (QD) of probabilistic formulas: (a) For all α, ε > 0, there is a deterministic polynomial-time algorithm that finds satisfying assignments to every probabilistic formula of n 2−2α−ε size with at most 2 n α falsifying assignments. (b) If for some α, ε > 0, there is such an algorithm for probabilistic formulas of n 2−α+ε -size and 2 n α unsatisfying assignments, then a full derandomization of NC 1 follows: a deterministic poly-time algorithm additively approximating the acceptance probability of any polynomial-size formula . Consequently, NP does not have n k -size formulas, for all k . Finally we show a sharp threshold result for Explicit Obstructions , inspired by Mulmuley’s notion of explicit obstructions from GCT. An explicit obstruction against S ( n ) -size formulas is a poly-time algorithm A such that A (1 n ) outputs a list {( x i , f ( x i ))} i ∈ [ poly ( n )] ⊆ {0,1} n × {0,1}, and every S ( n )-size formula F is inconsistent with the (partially defined) function f . We prove that for all ε > 0, there is an explicit obstruction against n 2−ε -size formulas, and prove that there is an explicit obstruction against n 2+ε -size formulas for some ε > 0 if and only if there is an explicit obstruction against all polynomial-size formulas. This in turn is equivalent to the statement that E does not have 2 o ( n ) -size formulas, a breakthrough in circuit complexity.

SODA Conference 2019 Conference Paper

Fast Modular Subset Sum using Linear Sketching

  • Kyriakos Axiotis
  • Arturs Backurs
  • Ce Jin 0001
  • Christos Tzamos
  • Hongxun Wu

Given n positive integers, the Modular Subset Sum problem asks if a subset adds up to a given target t modulo a given integer m. This is a natural generalization of the Subset Sum problem (where m = +∞) with ties to additive combinatorics and cryptography. Recently, in [Bri17, KX17], efficient algorithms have been developed for the non-modular case, running in near-linear pseudo-polynomial time. For the modular case, however, the best known algorithm by Koiliaris and Xu [KX17] runs in time Õ ( m 5/4 ). In this paper, we present an algorithm running in Õ ( m ) randomized time, which matches a recent conditional lower bound of [ABHS17] based on the Strong Exponential Time Hypothesis. Interestingly, in contrast to most previous results on Subset Sum, our algorithm does not use the Fast Fourier Transform. Instead, it is able to simulate the “textbook” Dynamic Programming algorithm much faster, using ideas from linear sketching. This is one of the first applications of sketching-based techniques to obtain fast algorithms for exact combinatorial problems in an offline setting.

FOCS Conference 2019 Conference Paper

Hardness Magnification for all Sparse NP Languages

  • Lijie Chen 0001
  • Ce Jin 0001
  • R. Ryan Williams

In the Minimum Circuit Size Problem (MCSP[s(m)]), we ask if there is a circuit of size s(m) computing a given truth-table of length n = 2m. Recently, a surprising phenomenon termed as hardness magnification by [Oliveira and Santhanam, FOCS 2018] was discovered for MCSP[s(m)] and the related problem MKtP of computing time-bounded Kolmogorov complexity. In [Oliveira and Santhanam, FOCS 2018], [Oliveira, Pich, and Santhanam, CCC 2019], and [McKay, Murray, and Williams, STOC 2019], it was shown that minor (n 1+ε -style) lower bounds for MCSP[2 o(m) ] or MKtP[ 2o(m) ] would imply breakthrough circuit lower bounds such as NP⊄P/ poly, NP⊄NC 1, or EXP⊄P/poly. We consider the question: What is so special about MCSP and MKtP? Why do they admit this striking phenomenon? One simple property is that all variants of MCSP (and MKtP) considered in prior work are sparse languages. For example, MCSP[s(m)] has 2 Õ(s(m)) yes-instances of length n = 2m, so MCSP[2 o(m) ] is 2 no(1) -sparse. We show that there is a hardness magnification phenomenon for all equally-sparse NP languages. Formally, suppose there is an ε > 0 and a language L ∈ NP which is 2n o(1) -sparse, and L ∈/ Circuit[n1+ε]. Then NP does not have nk-size circuits for all k. We prove analogous theorems for De Morgan formulas, B2-formulas, branching programs, AC 0 [6] and TC 0 circuits, and more: improving the state of the art in NP lower bounds against any of these models by an ε factor in the exponent would already imply NP lower bounds for all fixed polynomials. In fact, in our proofs it is not necessary to prove a (say) n 1+ε circuit size lower bound for L: one only has to prove a lower bound against n 1+ε -time n ε -space deterministic algorithms with n ε advice bits. Such lower bounds are well-known for non-sparse problems. Building on our techniques, we also show interesting new hardness magnifications for search-MCSP and search-MKtP (where one must output small circuits or short representations of strings), showing consequences such as ⊕P (or PP, PSPACE, and EXP) is not contained in P/poly (or NC 1, AC 0 [6], or branching programs of polynomial size). For instance, if there is an ε > 0 such that search-MCSP[2 βm ] does not have De Morgan formulas of size n 3+ε for all constants ß > 0, then ⊕P⊄NC 1.

v2026.09.13