Jacob Gilbert
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Research Subjects
Jacob Gilbert has a total of 11 co-authors. Here are the top co-authors by number of shared publications:
- MohammadTaghi Hajiaghayi
University of Maryland, College Park, USA
3 shared publications MohammadTaghi Hajiaghayi
2 shared publications- Tomasz Kociumaka
Saarland Informatics Campus, Max Planck Institute for Informatics, Saarbrücken, Germany
2 shared publications - Alireza Farhadi
Department of Electrical Engineering, Sharif University of Technology, Tehran, Iran
1 shared publication Barna Saha
1 shared publication- Barna Saha
University of California at San Diego, La Jolla, USA
1 shared publication
Latest Publications
- Open Access
- 17 June 2024
- Published by Association for Computing Machinery (ACM)
- p. 293-295
Brief Announcement: Upper and Lower Bounds for Edit Distance in Space-Efficient MPC
In the Massively Parallel Computation (MPC) model, data is distributed across multiple processors, and we call an algorithm space-efficient if each machine has n^1-ε + o(1) memory with a machine count of Ømega(n^ε). In this paper, we study the string edit distance problem in the MPC model, presenting both a new algorithm and lower-bound results. A space-efficient MPC algorithm computing the exact edit distance using O(n^ε) communication rounds is known by updating the algorithm of Chowdhury and Ramachandran (SPAA 2008). A key contribution of our work is the introduction of the first space-efficient MPC algorithm, which uses subpolynomial number of rounds and provides an n^o(1) -approximation of edit distance, where n denotes the length of the input strings. Further, we complement this algorithm with new lower-bound results. The Orthogonal Vector (O.V.) conjecture states that no truly subquadratic time algorithm exists for the Orthogonal Vector problem, and it follows directly from the Strong Exponential Time Hypothesis (SETH). Drawing inspiration from this, we propose the Strong O.V. Conjecture that posits that there is no space-efficient MPC algorithm capable of solving O.V. using n^ε - Ømega(1) communication rounds. The Strong O.V. conjecture has far-reaching consequences, yielding the first (or strengthened) lower bounds for a myriad of problems in the MPC model including graph diameter estimation, computing Fréchet distance, longest common subsequence, and dynamic time warping. Via an MPC reduction from O.V. to edit distance, we give the first conditional lower bound for string edit distance in the MPC model showing that there does not exist any space-efficient, n^ε - Ømega(1) -round MPC exact edit distance algorithm.
- 17 June 2024
- Published by Association for Computing Machinery (ACM)
- p. 293-295
Open AccessBrief Announcement: Upper and Lower Bounds for Edit Distance in Space-Efficient MPC
In the Massively Parallel Computation (MPC) model, data is distributed across multiple processors, and we call an algorithm space-efficient if each machine has n^1-ε + o(1) memory with a machine count of Ømega(n^ε). In this paper, we study the string edit distance problem in the MPC model, presenting both a new algorithm and lower-bound results. A space-efficient MPC algorithm computing the exact edit distance using O(n^ε) communication rounds is known by updating the algorithm of Chowdhury and Ramachandran (SPAA 2008). A key contribution of our work is the introduction of the first space-efficient MPC algorithm, which uses subpolynomial number of rounds and provides an n^o(1) -approximation of edit distance, where n denotes the length of the input strings. Further, we complement this algorithm with new lower-bound results. The Orthogonal Vector (O.V.) conjecture states that no truly subquadratic time algorithm exists for the Orthogonal Vector problem, and it follows directly from the Strong Exponential Time Hypothesis (SETH). Drawing inspiration from this, we propose the Strong O.V. Conjecture that posits that there is no space-efficient MPC algorithm capable of solving O.V. using n^ε - Ømega(1) communication rounds. The Strong O.V. conjecture has far-reaching consequences, yielding the first (or strengthened) lower bounds for a myriad of problems in the MPC model including graph diameter estimation, computing Fréchet distance, longest common subsequence, and dynamic time warping. Via an MPC reduction from O.V. to edit distance, we give the first conditional lower bound for string edit distance in the MPC model showing that there does not exist any space-efficient, n^ε - Ømega(1) -round MPC exact edit distance algorithm.
- Open Access
- 17 June 2023
- Published by Association for Computing Machinery (ACM)
- p. 113-116
Brief Announcement: Regular and Dyck Languages in MPC
Regular languages are some of the most widely studied languages in computer science history. Given a regular language L ⊆ {0, 1} ⋆ and string ω ∈ {0, 1} ⋆, two of the most fundamental regular language problems are recognition, the problem of determining if w is in L, and testing, the problem of determining if w is at most ε-far from L. In this paper we modernize regular language recognition and testing algorithms for the Massively Parallel Computations (MPC) model used everyday in big data engineering. First we give a regular language testing algorithm, which succeeds with high probability using Õ(1 over ε) queries to the input string. Following the testing algorithm, we give a simple dynamic programming solution for regular language recognition. Both algorithms run in constant communication rounds and O(n) total memory in MPC where n is the size of the input. Beyond regular language recognition, we also provide a Dyck language recognition algorithm in MPC. Dyck languages are the sets containing strings composed of only balanced parentheses, which are important to problems such as RNA folding and error detection in common document types such as XML, JSON, and LaTeX. Our Dyck language recognition algorithm is a constant round, O(n) total memory MPC algorithm. We also show that the same algorithm can be used to find the edit distance of an unbalanced parenthesis string over a single type of parentheses.
- 17 June 2023
- Published by Association for Computing Machinery (ACM)
- p. 113-116
Open AccessBrief Announcement: Regular and Dyck Languages in MPC
Regular languages are some of the most widely studied languages in computer science history. Given a regular language L ⊆ {0, 1} ⋆ and string ω ∈ {0, 1} ⋆, two of the most fundamental regular language problems are recognition, the problem of determining if w is in L, and testing, the problem of determining if w is at most ε-far from L. In this paper we modernize regular language recognition and testing algorithms for the Massively Parallel Computations (MPC) model used everyday in big data engineering. First we give a regular language testing algorithm, which succeeds with high probability using Õ(1 over ε) queries to the input string. Following the testing algorithm, we give a simple dynamic programming solution for regular language recognition. Both algorithms run in constant communication rounds and O(n) total memory in MPC where n is the size of the input. Beyond regular language recognition, we also provide a Dyck language recognition algorithm in MPC. Dyck languages are the sets containing strings composed of only balanced parentheses, which are important to problems such as RNA folding and error detection in common document types such as XML, JSON, and LaTeX. Our Dyck language recognition algorithm is a constant round, O(n) total memory MPC algorithm. We also show that the same algorithm can be used to find the edit distance of an unbalanced parenthesis string over a single type of parentheses.
- Open Access
- 17 June 2023
- Published by Association for Computing Machinery (ACM)
- p. 101-111
Location-Sensitive String Problems in MPC
A suffix tree is a trie-like data structure that stores every suffix of an input string of length n. Finding the Suffix Tree of a given string is a well-studied and classic problem. A compressed suffix tree is constructible in O(n) time using the well-known algorithm of McCreight (JACM, 1976). Suffix trees alongside with hashing are two powerful tools in solving location-sensitive string problems. Many well-studied fundamental string problems such as String Matching, Longest Palindrome Substring (LPS), Longest Common Substring (LCS), and Longest Common Prefix (LCP) queries are location-sensitive and have linear time solutions via reductions to suffix tree. Inspired by suffix trees, we study location-sensitive string problems LCP, LPS, and LCS in the Massively Parallel Computation (MPC) model. Our algorithms extensively utilize a novel data structure for answering O(n1 + ε) arbitrary LCPqueries, called an LCPQ oracle, in O(1) rounds and with Õ(n1 + ε) total memory. Using our LCPQ oracle we are able to give the first O(1)-round, Õ(n) total memory algorithm in MPC for LPS and an O(1)-round LCS solution using Õ(n1 + ε) total memory, beating previous state-of-the-art techniques for both problems. Furthermore, we give an O(1/ε)-round MPC algorithm for constructing suffix arrays and suffix trees utilizing our LCPQ oracle, and demonstrate reductions for LPS and LCS to suffix tree in O(1) rounds of MPC. Finally, we show that in the Adaptive Massively Parallel Computation (AMPC) model, we can build a fully-functional suffix tree for a given input string in O(1) rounds and with Õ(n) total memory for any constant ε > 0.
- 17 June 2023
- Published by Association for Computing Machinery (ACM)
- p. 101-111
Open AccessLocation-Sensitive String Problems in MPC
A suffix tree is a trie-like data structure that stores every suffix of an input string of length n. Finding the Suffix Tree of a given string is a well-studied and classic problem. A compressed suffix tree is constructible in O(n) time using the well-known algorithm of McCreight (JACM, 1976). Suffix trees alongside with hashing are two powerful tools in solving location-sensitive string problems. Many well-studied fundamental string problems such as String Matching, Longest Palindrome Substring (LPS), Longest Common Substring (LCS), and Longest Common Prefix (LCP) queries are location-sensitive and have linear time solutions via reductions to suffix tree. Inspired by suffix trees, we study location-sensitive string problems LCP, LPS, and LCS in the Massively Parallel Computation (MPC) model. Our algorithms extensively utilize a novel data structure for answering O(n1 + ε) arbitrary LCPqueries, called an LCPQ oracle, in O(1) rounds and with Õ(n1 + ε) total memory. Using our LCPQ oracle we are able to give the first O(1)-round, Õ(n) total memory algorithm in MPC for LPS and an O(1)-round LCS solution using Õ(n1 + ε) total memory, beating previous state-of-the-art techniques for both problems. Furthermore, we give an O(1/ε)-round MPC algorithm for constructing suffix arrays and suffix trees utilizing our LCPQ oracle, and demonstrate reductions for LPS and LCS to suffix tree in O(1) rounds of MPC. Finally, we show that in the Adaptive Massively Parallel Computation (AMPC) model, we can build a fully-functional suffix tree for a given input string in O(1) rounds and with Õ(n) total memory for any constant ε > 0.
- Open Access
$\tilde{O}(n+\mathrm{poly}(k))$-time Algorithm for Bounded Tree Edit Distance
Computing the edit distance of two strings is one of the most basic problems in computer science and combinatorial optimization. Tree edit distance is a natural generalization of edit distance in which the task is to compute a measure of dissimilarity between two (unweighted) rooted trees with node labels. Perhaps the most notable recent application of tree edit distance is in NoSQL big databases, such as MongoDB, where each row of the database is a JSON document represented as a labeled rooted tree, and finding dissimilarity between two rows is a basic operation. Until recently, the fastest algorithm for tree edit distance ran in cubic time (Demaine, Mozes, Rossman, Weimann; TALG'10); however, Mao (FOCS'21) broke the cubic barrier for the tree edit distance problem using fast matrix multiplication. Given a parameter $k$ as an upper bound on the distance, an $O(n+k^2)$-time algorithm for edit distance has been known since the 1980s due to the works of Myers (Algorithmica'86) and Landau and Vishkin (JCSS'88). The existence of an $\tilde{O}(n+\mathrm{poly}(k))$-time algorithm for tree edit distance has been posed as an open question, e.g., by Akmal and Jin (ICALP'21), who gave a state-of-the-art $\tilde{O}(nk^2)$-time algorithm. In this paper, we answer this question positively.Open Access$\tilde{O}(n+\mathrm{poly}(k))$-time Algorithm for Bounded Tree Edit Distance
Computing the edit distance of two strings is one of the most basic problems in computer science and combinatorial optimization. Tree edit distance is a natural generalization of edit distance in which the task is to compute a measure of dissimilarity between two (unweighted) rooted trees with node labels. Perhaps the most notable recent application of tree edit distance is in NoSQL big databases, such as MongoDB, where each row of the database is a JSON document represented as a labeled rooted tree, and finding dissimilarity between two rows is a basic operation. Until recently, the fastest algorithm for tree edit distance ran in cubic time (Demaine, Mozes, Rossman, Weimann; TALG'10); however, Mao (FOCS'21) broke the cubic barrier for the tree edit distance problem using fast matrix multiplication. Given a parameter $k$ as an upper bound on the distance, an $O(n+k^2)$-time algorithm for edit distance has been known since the 1980s due to the works of Myers (Algorithmica'86) and Landau and Vishkin (JCSS'88). The existence of an $\tilde{O}(n+\mathrm{poly}(k))$-time algorithm for tree edit distance has been posed as an open question, e.g., by Akmal and Jin (ICALP'21), who gave a state-of-the-art $\tilde{O}(nk^2)$-time algorithm. In this paper, we answer this question positively. - Open Access
Generalized Stochastic Matching
In this paper, we generalize the recently studied Stochastic Matching problem to more accurately model a significant medical process, kidney exchange, and several other applications. Up until now the Stochastic Matching problem that has been studied was as follows: given a graph G = (V, E), each edge is included in the realized sub-graph of G mutually independently with probability p_e, and the goal is to find a degree-bounded sub-graph Q of G that has an expected maximum matching that approximates the expected maximum matching of the realized sub-graph. This model does not account for possibilities of vertex dropouts, which can be found in several applications, e.g. in kidney exchange when donors or patients opt out of the exchange process as well as in online freelancing and online dating when online profiles are found to be faked. Thus, we will study a more generalized model of Stochastic Matching in which vertices and edges are both realized independently with some probabilities p_v, p_e, respectively, which more accurately fits important applications than the previously studied model. We will discuss the first algorithms and analysis for this generalization of the Stochastic Matching model and prove that they achieve good approximation ratios. In particular, we show that the approximation factor of a natural algorithm for this problem is at least $0.6568$ in unweighted graphs, and $1/2 + \epsilon$ in weighted graphs for some constant $\epsilon > 0$. We further improve our result for unweighted graphs to $2/3$ using edge degree constrained subgraphs (EDCS).Open AccessGeneralized Stochastic Matching
In this paper, we generalize the recently studied Stochastic Matching problem to more accurately model a significant medical process, kidney exchange, and several other applications. Up until now the Stochastic Matching problem that has been studied was as follows: given a graph G = (V, E), each edge is included in the realized sub-graph of G mutually independently with probability p_e, and the goal is to find a degree-bounded sub-graph Q of G that has an expected maximum matching that approximates the expected maximum matching of the realized sub-graph. This model does not account for possibilities of vertex dropouts, which can be found in several applications, e.g. in kidney exchange when donors or patients opt out of the exchange process as well as in online freelancing and online dating when online profiles are found to be faked. Thus, we will study a more generalized model of Stochastic Matching in which vertices and edges are both realized independently with some probabilities p_v, p_e, respectively, which more accurately fits important applications than the previously studied model. We will discuss the first algorithms and analysis for this generalization of the Stochastic Matching model and prove that they achieve good approximation ratios. In particular, we show that the approximation factor of a natural algorithm for this problem is at least $0.6568$ in unweighted graphs, and $1/2 + \epsilon$ in weighted graphs for some constant $\epsilon > 0$. We further improve our result for unweighted graphs to $2/3$ using edge degree constrained subgraphs (EDCS).