B. Riva Shalom

dblp:88/3229 · DBLP profile ↗
← Back
23ranked-venue papers
2as first author
7since 2021 · last 2026
0000-0002-1546-740XORCID · verified

Domains — the database's venue-derived domains; a paper can count in several

Theory of computation · 14 · 1 first-author · 3 since 2021Databases, data management, data science and information retrieval · 7 · 1 first-author · 2 since 2021Graphics, computer vision, multimedia, augmented reality and games · 3 · 2 since 2021
YearPublicationVenuePosition
2026 Exploring the Gap Between LCS and LCStr
abstract
The Longest Common Subsequence (LCS) problem and the Longest Common Substring (LCStr) problem are classical string problems with broad theoretical and practical significance. The former has a quadratic conditional lower bound [FOCS, 2015], while the latter admits a linear-time solution. In this paper, we study a natural variation of these problems, the Longest Common Subsequence-Substring (LCSS) problem. The LCSS problem seeks the longest string that is simultaneously a subsequence of one input string and a substring of the other. This variant bridges LCS and LCStr, raising intriguing algorithmic questions: Does the complexity of computing LCSS interpolate between the linear time of LCStr and the quadratic time of LCS? What about approximability? We also examine a natural extension of LCSS to multiple strings, parameterizing the balance between subsequence and substring requirements. Our results reveal several insights. First, under the SETH conjecture, the inherent complexity of LCSS is quadratic, similar to LCS. In contrast, we provide a linear-time approximation for LCSS. Finally, for the multi-string variant, unlike both problems, we design a quadratic-time algorithm, uncovering deeper structural properties of the problem. By studying the complexity of the LCSS problem, we aim to gain some understanding of what influences whether a variant of the LCS problem behaves more like the standard LCS or like LCStr. Our findings suggest that hybrid constraints can create computational "sweet spots," where problems become more tractable than their pure counterparts. This opens a broader research direction in constraint-mediated algorithm design. Beyond LCSS itself, our work highlights unexpected connections between subsequence and substring constraints, advancing the theoretical understanding of string problems and laying the foundation for new algorithmic techniques and complexity-theoretic insights in the rich space between classical string comparison paradigms.
Shay Golan 0001, Matan Kraus, Ely Porat, B. Riva Shalom
CPM4
2025 Longest Common Subsequence in K-Length Substrings for Run-Length Encoded Strings
B. Riva Shalom, Eitan Kondratovsky, Ely Porat
SPIRE1
2025 Partial permutations comparison, maintenance and applications
abstract
This paper studies partial permutations and their use in algorithmic tasks. A partial permutation over Σ is a bijection π p a r : Σ 1 ↦ Σ 2 mapping a subset Σ 1 ⊂ Σ to a subset Σ 2 ⊂ Σ , where | Σ 1 | = | Σ 2 | ( | Σ | denotes the size of a set Σ). Intuitively, two partial permutations agree if their mapping pairs do not form conflicts . We formally define this notion enabling a consistent as well as informatively rich comparison between partial permutations. We define the Partial Permutations Agreement problem (PPA), as follows. Given two sets A 1 , A 2 of partial permutations over alphabet Σ, each of size n , output a pair ( π i , π j ) , where π i ∈ A 1 , π j ∈ A 2 and π i agrees with π j , if exists. We study the existence of a data structure for efficiently maintaining a dynamic set of partial permutations enabling to retrieve agreement of partial permutations giving both negative and positive results. As applications we point out: (1) fruitful/futile methods for efficient genes sequences comparison in database, (2) an automatic color transformation data augmentation technique for image processing through neural networks, (3) negatively answer a recently posed open question on the strict parameterized dictionary matching with one gap (PDMOG) problem over general dictionary alphabets.
Avivit Levy, Ely Porat, B. Riva Shalom
Theor. Comput. Sci.3
2024 Burst Edit Distance
Itai Boneh, Shay Golan 0001, Avivit Levy, Ely Porat, B. Riva Shalom
SPIRE5
2022 Partial Permutations Comparison, Maintenance and Applications
abstract
This paper focuses on the concept of partial permutations and their use in algorithmic tasks. A partial permutation over Σ is a bijection π_{par}: Σ₁↦Σ₂ mapping a subset Σ₁ ⊂ Σ to a subset Σ₂ ⊂ Σ, where |Σ₁| = |Σ₂| (|Σ| denotes the size of a set Σ). Intuitively, two partial permutations agree if their mapping pairs do not form conflicts. This notion, which is formally defined in this paper, enables a consistent as well as informatively rich comparison between partial permutations. We formalize the Partial Permutations Agreement problem (PPA), as follows. Given two sets A₁, A₂ of partial permutations over alphabet Σ, each of size n, output all pairs (π_i, π_j), where π_i ∈ A₁, π_j ∈ A₂ and π_i agrees with π_j. The possibility of having a data structure for efficiently maintaining a dynamic set of partial permutations enabling to retrieve agreement of partial permutations is then studied, giving both negative and positive results. Applying our study enables to point out fruitful versus futile methods for efficient genes sequences comparison in database or automatic color transformation data augmentation technique for image processing through neural networks. It also shows that an efficient solution of strict Parameterized Dictionary Matching with One Gap (PDMOG) over general dictionary alphabets is not likely, unless the Strong Exponential Time Hypothesis (SETH) fails, thus negatively answering an open question posed lately.
Avivit Levy, Ely Porat, B. Riva Shalom
CPM3
2022 A Comparative Study of Dictionary Matching with Gaps: Limitations, Techniques and Challenges
Avivit Levy, B. Riva Shalom
Algorithmica2
2021 Parameterized dictionary matching and recognition with one gap
B. Riva Shalom
Theor. Comput. Sci.1
2020 Online recognition of dictionary with one gap
Amihood Amir, Avivit Levy, Ely Porat, B. Riva Shalom
Inf. Comput.4
2020 Online parameterized dictionary matching with one gap
Avivit Levy, B. Riva Shalom
Theor. Comput. Sci.2
2019 Mind the Gap! - Online Dictionary Matching with One Gap
Amihood Amir, Tsvi Kopelowitz, Avivit Levy, Seth Pettie, Ely Porat, B. Riva Shalom
Algorithmica6
2016 Mind the Gap: Essentially Optimal Algorithms for Online Dictionary Matching with One Gap
abstract
We examine the complexity of the online Dictionary Matching with One Gap Problem (DMOG) which is the following. Preprocess a dictionary D of d 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 D 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. Online DMOG captures the difficulty in a bottleneck procedure for cyber-security, as many digital signatures of viruses manifest themselves as patterns with a single gap. In this paper, 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. We show a conditional lower bound of Omega(delta(G_D)+op) time per text character, where G_D is a bipartite graph that captures the structure of D, delta(G_D) is the degeneracy of this graph, and op is the output size. Moreover, we show a conditional lower bound in terms of the magnitude of gaps for the bounded case, thereby showing that some known offline upper bounds are essentially optimal. We also provide matching upper-bounds (up to sub-polynomial factors), in terms of the degeneracy, for the online DMOG problem. In particular, we introduce algorithms whose time cost depends linearly on delta(G_D). Our algorithms make use of graph orientations, together with some additional techniques. These algorithms are of practical interest since although delta(G_D) can be as large as sqrt(d), and even larger if G_D is a multi-graph, it is typically a very small constant in practice. Finally, when delta(G_D) is large we are able to obtain even more efficient solutions.
Amihood Amir, Tsvi Kopelowitz, Avivit Levy, Seth Pettie, Ely Porat, B. Riva Shalom
ISAAC6
2016 LCSk: A refined similarity measure
Gary Benson, Avivit Levy, S. Maimoni, D. Noifeld, B. Riva Shalom
Theor. Comput. Sci.5
2015 Dictionary matching with a few gaps
Amihood Amir, Avivit Levy, Ely Porat, B. Riva Shalom
Theor. Comput. Sci.4
2014 Dictionary Matching with One Gap
Amihood Amir, Avivit Levy, Ely Porat, B. Riva Shalom
CPM4
2013 Longest Common Subsequence in k Length Substrings
Gary Benson, Avivit Levy, B. Riva Shalom
SISAP3
2011 Weighted Shortest Common Supersequence
Amihood Amir, Zvi Gotthilf, B. Riva Shalom
SPIRE3
2010 String matching with up to k swaps and mismatches
Ohad Lipsky, Benny Porat, Ely Porat, B. Riva Shalom, Asaf Tsur
Inf. Comput.4
2009 Weighted LCS
Amihood Amir, Zvi Gotthilf, B. Riva Shalom
IWOCA3
2008 Generalized LCS
Amihood Amir, Tzvika Hartman, Oren Kapah, B. Riva Shalom, Dekel Tsur
Theor. Comput. Sci.4
2007 Approximate String Matching with Swap and Mismatch
Ohad Lipsky, Benny Porat, Ely Porat, B. Riva Shalom, Asaf Tsur
ISAAC4
2007 Generalized LCS
Amihood Amir, Tzvika Hartman, Oren Kapah, B. Riva Shalom, Dekel Tsur
SPIRE4
2007 Improved approximate common interval
Amihood Amir, Leszek Gasieniec, B. Riva Shalom
Inf. Process. Lett.3
2004 Searching for a Set of Correlated Patterns
Shmuel Tomi Klein, B. Riva Shalom
SPIRE2