Source author record

Avivit Levy

Explore this author’s publications, collaborators and research topics. This catalog record has not been claimed by its author.

ResearcherUnclaimed source record

Catalog footprint

Research overview

4works
1topics
4close collaborators

Published work

4 publications

preprint2015arXiv

Mind the Gap

We examine the complexity of the online Dictionary Matching with One Gap Problem (DMOG) which is the following. Preprocess a dictionary DD of dd patterns, where each pattern contains a special gap symbol that can match any string, so that given a text that arrives online, a character at a time, we can report all of the patterns from DD that are suffixes of the text that has arrived so far, before the next character arrives. In more general versions the gap symbols are associated with bounds determining the possible lengths of matching strings. Finding efficient algorithmic solutions for (online) DMOG has proven to be a difficult algorithmic challenge. We demonstrate that the difficulty in obtaining efficient solutions for the DMOG problem even, in the offline setting, can be traced back to the infamous 3SUM conjecture. Interestingly, our reduction deviates from the known reduction paths that follow from 3SUM. In particular, most reductions from 3SUM go through the set-disjointness problem, which corresponds to the problem of preprocessing a graph to answer edge-triangles queries. We use a new path of reductions by considering the complementary, although structurally very different, vertex-triangles queries. Using this new path we show a conditional lower bound of Ω(δ(GD)+op)Ω(δ(G_D)+op) time per text character, where GDG_D is a bipartite graph that captures the structure of DD, δ(GD)δ(G_D) is the degeneracy of this graph, and opop is the output size. We also provide matching upper-bounds (up to sub-polynomial factors) for the vertex-triangles problem, and then extend these techniques to the online DMOG problem. In particular, we introduce algorithms whose time cost depends linearly on δ(GD)δ(G_D). Our algorithms make use of graph orientations, together with some additional techniques. Finally, when δ(GD)δ(G_D) is large we are able to obtain even more efficient solutions.

preprint2014arXiv

Dictionary Matching with One Gap

The dictionary matching with gaps problem is to preprocess a dictionary DD of dd gapped patterns P1,…,PdP_1,\ldots,P_d over alphabet ΣΣ, where each gapped pattern PiP_i is a sequence of subpatterns separated by bounded sequences of don't cares. Then, given a query text TT of length nn over alphabet ΣΣ, the goal is to output all locations in TT in which a pattern Pi∈DP_i\in D, 1≤i≤d1\leq i\leq d, ends. There is a renewed current interest in the gapped matching problem stemming from cyber security. In this paper we solve the problem where all patterns in the dictionary have one gap with at least αα and at most ββ don't cares, where αα and ββ are given parameters. Specifically, we show that the dictionary matching with a single gap problem can be solved in either O(dlog⁡d+∣D∣)O(d\log d + |D|) time and O(dlog⁡εd+∣D∣)O(d\log^{\varepsilon} d + |D|) space, and query time O(n(β−α)log⁡log⁡dlog⁡2min⁡{d,log⁡∣D∣}+occ)O(n(β-α)\log\log d \log ^2 \min \{ d, \log |D| \} + occ), where occocc is the number of patterns found, or preprocessing time and space: O(d2+∣D∣)O(d^2 + |D|), and query time O(n(β−α)+occ)O(n(β-α) + occ), where occocc is the number of patterns found. As far as we know, this is the best solution for this setting of the problem, where many overlaps may exist in the dictionary.

preprint2014arXiv

Longest Common Subsequence in k-length substrings

In this paper we define a new problem, motivated by computational biology, LCSkLCSk aiming at finding the maximal number of kk length substringssubstrings, matching in both input strings while preserving their order of appearance. The traditional LCS definition is a special case of our problem, where k=1k = 1. We provide an algorithm, solving the general case in O(n2)O(n^2) time, where nn is the length of the input strings, equaling the time required for the special case of k=1k=1. The space requirement of the algorithm is O(kn)O(kn). %, however, in order to enable %backtracking of the solution, O(n2)O(n^2) space is needed. We also define a complementary EDkEDk distance measure and show that EDk(A,B)EDk(A,B) can be computed in O(nm)O(nm) time and O(km)O(km) space, where mm, nn are the lengths of the input sequences AA and BB respectively.

preprint2012arXiv

On Approximating String Selection Problems with Outliers

Many problems in bioinformatics are about finding strings that approximately represent a collection of given strings. We look at more general problems where some input strings can be classified as outliers. The Close to Most Strings problem is, given a set S of same-length strings, and a parameter d, find a string x that maximizes the number of "non-outliers" within Hamming distance d of x. We prove this problem has no PTAS unless ZPP=NP, correcting a decade-old mistake. The Most Strings with Few Bad Columns problem is to find a maximum-size subset of input strings so that the number of non-identical positions is at most k; we show it has no PTAS unless P=NP. We also observe Closest to k Strings has no EPTAS unless W[1]=FPT. In sum, outliers help model problems associated with using biological data, but we show the problem of finding an approximate solution is computationally difficult.

Research graph

See the researcher in context

Open full explorer

Inspect adjacent papers, topics, institutions and collaborators without losing the researcher page.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.