Demonstration venue · read-only. Every page can be browsed; the buttons that would change it are switched off. Create an account to run TaxoReview on your own data. A simulation from public publication records: the people listed were not invited and did not agree to review.
? Tutorial for this page

Markus L. Schmid

dblp:65/9125 · DBLP profile ↗
← Back
61ranked-venue papers
16as first author
23since 2021 · last 2026
0000-0001-5137-1504ORCID · verified

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

Theory of computation · 44 · 9 first-author · 9 since 2021Databases, data management, data science and information retrieval · 14 · 7 first-author · 11 since 2021Graphics, computer vision, multimedia, augmented reality and games · 4 · 2 since 2021Applied, interdisciplinary, general and emerging computing · 1 · 1 first-author · 1 since 2021

Expertise — from the expertise taxonomy: the topics of the expert's papers under the CCF categories. A weight counts papers with recency: 1 for a paper about the topic, 0.3 when the topic is its context, halved every five years.

Databases, data mining, and information retrieval
8 papers
Data mining · 29% Query processing and optimization · 23% Graph data management · 20%
Theoretical computer science
10 papers
Computational complexity · 36% Algorithms and data structures · 35% Automata and formal languages · 15%

Topics — the 30 heaviest of 36, each with the papers that count most for it

TopicWeightPapersLastEvidence papers
Data mining › text mining › information extraction
document spanners
2.652024
Revisiting Weighted Information Extraction: A Simpler and Faster Algorithm for Ranked Enumeration · Proc. ACM Manag. Data 2024
Document Spanners - A Brief Overview of Concepts, Results, and Recent Developments · PODS 2022
Query Evaluation over SLP-Represented Document Databases with Complex Document Editing · PODS 2022
Query processing and optimization
enumeration algorithms
1.122022
Query Evaluation over SLP-Represented Document Databases with Complex Document Editing · PODS 2022
Spanner Evaluation over SLP-Compressed Documents · PODS 2021
Query processing and optimization
query execution
1.122022
Query Evaluation over SLP-Represented Document Databases with Complex Document Editing · PODS 2022
Spanner Evaluation over SLP-Compressed Documents · PODS 2021
Algorithms and data structures › space-efficient algorithms
compressed data algorithms
1.122022
Query Evaluation over SLP-Represented Document Databases with Complex Document Editing · PODS 2022
Spanner Evaluation over SLP-Compressed Documents · PODS 2021
Computational complexity › computational models
straight-line program
1.122022
Query Evaluation over SLP-Represented Document Databases with Complex Document Editing · PODS 2022
Spanner Evaluation over SLP-Compressed Documents · PODS 2021
Graph data management › path query › regular path query
conjunctive regular path queries
1.022022
Conjunctive Regular Path Queries with Capture Groups · ACM Trans. Database Syst. 2022
Conjunctive Regular Path Queries with String Variables · PODS 2020
Graph data management
graph query
1.022022
Conjunctive Regular Path Queries with Capture Groups · ACM Trans. Database Syst. 2022
Conjunctive Regular Path Queries with String Variables · PODS 2020
Data stream processing
complex event processing
0.912025
DISCES: Systematic Discovery of Event Stream Queries · Proc. ACM Manag. Data 2025
Data mining › text mining
information extraction
0.812024
Revisiting Weighted Information Extraction: A Simpler and Faster Algorithm for Ranked Enumeration · Proc. ACM Manag. Data 2024
Query processing and optimization
ranked enumeration
0.812024
Revisiting Weighted Information Extraction: A Simpler and Faster Algorithm for Ranked Enumeration · Proc. ACM Manag. Data 2024
Algorithms and data structures › combinatorial algorithms
enumeration algorithms
0.812024
Enumeration for MSO-Queries on Compressed Trees · Proc. ACM Manag. Data 2024
Algorithms and data structures › combinatorial algorithms › enumeration algorithms
output-linear delay enumeration
0.812024
Enumeration for MSO-Queries on Compressed Trees · Proc. ACM Manag. Data 2024
Automata and formal languages
tree automata
0.812024
Enumeration for MSO-Queries on Compressed Trees · Proc. ACM Manag. Data 2024
Computational complexity › parameterized complexity
fixed-parameter tractability
0.622019
Graph and String Parameters: Connections Between Pathwidth, Cutwidth and the Locality Number · ICALP 2019
On the Complexity of Grammar-Based Compression over Fixed Alphabets · ICALP 2016
Computational complexity
parameterized complexity
0.622019
Graph and String Parameters: Connections Between Pathwidth, Cutwidth and the Locality Number · ICALP 2019
On the Complexity of Grammar-Based Compression over Fixed Alphabets · ICALP 2016
Computational complexity › complexity of reasoning
query answering complexity
0.612022
Conjunctive Regular Path Queries with Capture Groups · ACM Trans. Database Syst. 2022
Database theory › query complexity
data complexity
0.412020
Conjunctive Regular Path Queries with String Variables · PODS 2020
Database theory
query complexity
0.412020
Conjunctive Regular Path Queries with String Variables · PODS 2020
Graph data management › path query
regular path query
0.412020
Conjunctive Regular Path Queries with String Variables · PODS 2020
Automata and formal languages › regular languages
regular expressions
0.412020
Conjunctive Regular Path Queries with String Variables · PODS 2020
Computational complexity › parameterized complexity
cutwidth
0.412019
Graph and String Parameters: Connections Between Pathwidth, Cutwidth and the Locality Number · ICALP 2019
Graph algorithms and graph theory › graph theory
graph parameters
0.412019
Graph and String Parameters: Connections Between Pathwidth, Cutwidth and the Locality Number · ICALP 2019
Graph algorithms and graph theory › graph theory › graph parameters › graph width parameters
pathwidth
0.412019
Graph and String Parameters: Connections Between Pathwidth, Cutwidth and the Locality Number · ICALP 2019
Algorithms and data structures › sequence algorithms
string algorithms
0.412019
Graph and String Parameters: Connections Between Pathwidth, Cutwidth and the Locality Number · ICALP 2019
Data mining › pattern mining › temporal pattern mining
event pattern mining
0.312025
DISCES: Systematic Discovery of Event Stream Queries · Proc. ACM Manag. Data 2025
Algorithms and data structures
exact exponential algorithms
0.212016
On the Complexity of Grammar-Based Compression over Fixed Alphabets · ICALP 2016
Coding theory › source coding
grammar-based compression
0.212016
On the Complexity of Grammar-Based Compression over Fixed Alphabets · ICALP 2016
Automata and formal languages
regular languages
0.212016
Characterising REGEX languages by regular languages equipped with factor-referencing · Inf. Comput. 2016
Coding theory › source coding › grammar-based compression
smallest grammar problem
0.212016
On the Complexity of Grammar-Based Compression over Fixed Alphabets · ICALP 2016
Computational complexity › parameterized complexity
multivariate complexity analysis
0.212015
Pattern matching with variables: A multivariate complexity analysis · Inf. Comput. 2015

Methods — techniques the papers use, named apart from their topics

SLP compression · 2.1grammar-based compression · 1.5document editing · 1.1capture groups · 1.1design space exploration · 0.9algorithmic framework · 0.9shortest path enumeration · 0.8rounding technique · 0.8linear programming · 0.8survey · 0.6regular expressions · 0.6enumeration with delay · 0.5xregex · 0.4string variables · 0.4fixed-parameter tractability · 0.4approximation algorithm · 0.4
YearPublicationVenuePosition
2026 Graph and String Parameters: Connections Between Pathwidth, Cutwidth and the Locality Number
abstract
Abstract We investigate the locality number, a recently introduced structural parameter for strings (with applications in pattern matching with variables), and its connection to two important graph-parameters, cutwidth and pathwidth. These connections allow us to show that computing the locality number is $$\textsf {NP}$$ NP -hard, but fixed-parameter tractable, if parameterised by the locality number or by the alphabet size, which has been formulated as open problems in the literature. Moreover, the locality number can be approximated with ratio $${{\,\textrm{O}\,}}(\sqrt{\log ({{\,\mathrm{\textsf {opt}}\,}})} \log (n))$$ O ( log ( opt ) log ( n ) ) . An important aspect of our work – that is relevant in its own right and of independent interest – is that we identify connections between the string parameter of the locality number on the one hand, and the famous graph parameters of cutwidth and pathwidth, on the other hand. These two parameters have been jointly investigated in the literature and are arguably among the most central graph parameters that are based on “linearisations” of graphs. In this way, we also identify a direct approximation preserving reduction from cutwidth to pathwidth, which shows that any polynomial $$f({{\,\mathrm{\textsf {opt}}\,}},|V|)$$ f ( opt , | V | ) -approximation algorithm for pathwidth yields a polynomial $$2f(2{{\,\mathrm{\textsf {opt}}\,}},h)$$ 2 f ( 2 opt , h ) -approximation algorithm for cutwidth on multigraphs (where h is the number of edges). In particular, this translates known approximation ratios for pathwidth into new approximation ratios for cutwidth, namely $${{\,\textrm{O}\,}}(\sqrt{\log ({{\,\mathrm{\textsf {opt}}\,}})} \log (h))$$ O ( log ( opt ) log ( h ) ) and $${{\,\textrm{O}\,}}(\sqrt{\log ({{\,\mathrm{\textsf {opt}}\,}})} {{\,\mathrm{\textsf {opt}}\,}})$$ O ( log ( opt ) opt ) for (multi) graphs with h edges.
Katrin Casel, Joel D. Day, Pamela Fleischmann, Tomasz Kociumaka, Florin Manea, Markus L. Schmid
Algorithmica6
2025 A General Information Extraction Framework Based on Formal Languages
Markus L. Schmid
DLT1
2025 A Framework for Extraction and Transformation of Documents
abstract
We present a theoretical framework for the extraction and transformation of text documents as a two-phase process: The first phase uses document spanners to extract information from the input document. The second phase transforms the extracted information into a suitable output. To support several reasonable extract-transform scenarios, we propose for the first phase an extension of document spanners from span-tuples to so-called multispan-tuples, where variables are mapped to sets of spans instead of only single spans. We focus on multispanners described by regex formulas, and we prove that these have the same desirable properties as standard regular spanners. To formalize the second phase, we consider transformations that map every pair document-tuple, where each tuple comes from the (multi)span-relation extracted in the first phase, into a new output document. The specification of the two phases is what we call an extract-transform (ET) program, which covers practically relevant extract-transform tasks. In this paper, our main technical goal is to identify a broad class of ET programs that can be evaluated efficiently. We specifically focus on the scenario of regular ET programs: the extraction phase is given by a regex multispanner and the transformation phase is given by a regular string-to-string function. We show that for any regular ET program, given an input document, we can enumerate all final output documents with output-linear delay after linear preprocessing. As a side effect, we characterize the expressive power of regular ET programs and also show that they have desirable properties, like being closed under composition.
Cristian Riveros, Markus L. Schmid, Nicole Schweikardt
ICDT2
2025 Linear Time Subsequence and Supersequence Regex Matching
abstract
International audience
Antoine Amarilli, Florin Manea, Tina Ringleb, Markus L. Schmid
MFCS4
2025 FO-Query Enumeration over SLP-Compressed Structures of Bounded Degree
abstract
Enumerating the result set of a first-order query over a relational structure of bounded degree can be done with linear preprocessing and constant delay. In this work, we extend this result towards the compressed perspective where the structure is given in a potentially highly compressed form by a straight-line program (SLP). Our main result is an algorithm that enumerates the result set of a first-order query over a structure of bounded degree that is represented by an SLP satisfying the so-called apex condition. For a fixed formula, the enumeration algorithm has constant delay and needs a preprocessing time that is linear in the size of the SLP.
Markus Lohrey, Sebastian Maneth, Markus L. Schmid
MFCS3
2025 DISCES: Systematic Discovery of Event Stream Queries
abstract
The continuous evaluation of queries over an event stream provides the foundation for reactive applications in various domains. Yet, knowledge of queries that detect distinguished event patterns that are potential causes of the situation of interest is often not directly available. However, given a database of finite, historic (sub-)streams that have been gathered whenever a situation of interest was observed, one may aim at automatic discovery of the respective queries. Existing algorithms for event query discovery incorporate ad-hoc design choices, though, and it is unclear how their suitability for a database shall be assessed. In this paper, we address this gap with DISCES, an algorithmic framework for event query discovery. DISCES outlines a design space for discovery algorithms, thereby making the design choices explicit. We instantiate the framework to derive four specific algorithms, which all yield correct and complete results, but differ in their runtime sensitivity. We therefore also provide guidance on how to select one of the algorithms for a given database based on a few of its essential properties. Our experiments using simulated and real-world data illustrate that our algorithms are indeed tailored to databases showing certain properties and solve the query discovery problem several orders of magnitude faster than existing approaches.
Rebecca Sattler, Sarah Kleest-Meißner, Steven Lange, Markus L. Schmid, Nicole Schweikardt, Matthias Weidlich 0001
Proc. ACM Manag. Data4
2024 Subsequences with Generalised Gap Constraints: Upper and Lower Complexity Bounds
Florin Manea, Jonas Richardsen, Markus L. Schmid
CPM3
2024 The Information Extraction Framework of Document Spanners - A Very Informal Survey
Markus L. Schmid
SOFSEM1
2024 Shortest distances as enumeration problem
Katrin Casel, Tobias Friedrich 0001, Stefan Neubert, Markus L. Schmid
Discret. Appl. Math.4
2024 Refl-Spanners: A Purely Regular Approach to Non-Regular Core Spanners
abstract
The regular spanners (characterised by vset-automata) are closed under the algebraic operations of union, join and projection, and have desirable algorithmic properties. The core spanners (introduced by Fagin, Kimelfeld, Reiss, and Vansummeren (PODS 2013, JACM 2015) as a formalisation of the core functionality of the query language AQL used in IBM's SystemT) additionally need string-equality selections and it has been shown by Freydenberger and Holldack (ICDT 2016, Theory of Computing Systems 2018) that this leads to high complexity and even undecidability of the typical problems in static analysis and query evaluation. We propose an alternative approach to core spanners: by incorporating the string-equality selections directly into the regular language that represents the underlying regular spanner (instead of treating it as an algebraic operation on the table extracted by the regular spanner), we obtain a fragment of core spanners that, while having slightly weaker expressive power than the full class of core spanners, arguably still covers the intuitive applications of string-equality selections for information extraction and has much better upper complexity bounds of the typical problems in static analysis and query evaluation.
Markus L. Schmid, Nicole Schweikardt
Log. Methods Comput. Sci.1
2024 Revisiting Weighted Information Extraction: A Simpler and Faster Algorithm for Ranked Enumeration
abstract
Information extraction from textual data, where the query is represented by a finite transducer and the task is to enumerate all results without repetition, and its extension to the weighted case, where each output element has a weight and the output elements are to be enumerated sorted by their weights, are important and well studied problems in database theory. On the one hand, the first framework already covers the well-known case of regular document spanners, while the latter setting covers several practically relevant tasks that cannot be described in the unweighted setting. It is known that in the unweighted case this problem can be solved with linear time preprocessing O(|D|) and output-linear delay O(|s|) in data complexity, where D is the input data and s is the current output element. For the weighted case, Bourhis, Grez, Jachiet, and Riveros [ICDT 2021] recently designed an algorithm with linear time preprocessing, but the delay of O(|s| · log|D|) depends on the size of the data. We first show how to leverage the existing results on enumerating shortest paths to obtain a simple alternative algorithm with linear preprocessing and a delay of O(|s i | + min\ log i, log|D| ) for the i th output element s i (in data complexity); thus, substantially improving the previous algorithm. Next, we develop a technically involved rounding technique that allows us to devise an algorithm with linear time preprocessing and output-linear delay O(|s|) with high probability. To this end, we combine tools from algebra, high-dimensional geometry, and linear programming.
Pawel Gawrychowski, Florin Manea, Markus L. Schmid
Proc. ACM Manag. Data3
2024 Enumeration for MSO-Queries on Compressed Trees
abstract
We present a linear preprocessing and output-linear delay enumeration algorithm for MSO-queries over trees that are compressed in the well-established grammar-based framework. Time bounds are measured with respect to the size of the compressed representation of the tree. Our result extends previous work on the enumeration of MSO-queries over uncompressed trees and on the enumeration of document spanners over compressed text documents.
Markus Lohrey, Markus L. Schmid
Proc. ACM Manag. Data2
2023 Combinatorial Properties and Recognition of Unit Square Visibility Graphs
abstract
Abstract Unit square visibility graphs (USV) are described by axis-parallel visibility between unit squares placed in the plane. If the squares are required to be placed on integer grid coordinates, then USV become unit square grid visibility graphs (USGV), an alternative characterisation of the well-known rectilinear graphs. We extend known combinatorial results for USGV and we show that, in the weak case (i.e., visibilities do not necessarily translate into edges of the represented combinatorial graph), the area minimisation variant of their recognition problem is $${{\,\mathrm{{\textsf{N}}{\textsf{P}}}\,}}$$ N P -hard. We also provide combinatorial insights with respect to USV, and as our main result, we prove their recognition problem to be $${{\,\mathrm{{\textsf{N}}{\textsf{P}}}\,}}$$ N P -hard, which settles an open question.
Katrin Casel, Henning Fernau, Alexander Grigoriev, Markus L. Schmid, Sue Whitesides
Discret. Comput. Geom.4
2023 Fine-Grained Complexity of Regular Path Queries
abstract
A regular path query (RPQ) is a regular expression q that returns all node pairs (u, v) from a graph database that are connected by an arbitrary path labelled with a word from L(q). The obvious algorithmic approach to RPQ-evaluation (called PG-approach), i.e., constructing the product graph between an NFA for q and the graph database, is appealing due to its simplicity and also leads to efficient algorithms. However, it is unclear whether the PG-approach is optimal. We address this question by thoroughly investigating which upper complexity bounds can be achieved by the PG-approach, and we complement these with conditional lower bounds (in the sense of the fine-grained complexity framework). A special focus is put on enumeration and delay bounds, as well as the data complexity perspective. A main insight is that we can achieve optimal (or near optimal) algorithms with the PG-approach, but the delay for enumeration is rather high (linear in the database). We explore three successful approaches towards enumeration with sub-linear delay: super-linear preprocessing, approximations of the solution sets, and restricted classes of RPQs.
Katrin Casel, Markus L. Schmid
Log. Methods Comput. Sci.2
2022 Discovering Event Queries from Traces: Laying Foundations for Subsequence-Queries with Wildcards and Gap-Size Constraints
Sarah Kleest-Meißner, Rebecca Sattler, Markus L. Schmid, Nicole Schweikardt, Matthias Weidlich 0001
ICDT3
2022 Subsequences with Gap Constraints: Complexity Bounds for Matching and Analysis Problems
abstract
We consider subsequences with gap constraints, i.e., length-k subsequences p that can be embedded into a string w such that the induced gaps (i.e., the factors of w between the positions to which p is mapped to) satisfy given gap constraints $gc = (C_1, C_2, ..., C_{k-1})$; we call p a gc-subsequence of w. In the case where the gap constraints gc are defined by lower and upper length bounds $C_i = (L^-_i, L^+_i) \in \mathbb{N}^2$ and/or regular languages $C_i \in REG$, we prove tight (conditional on the orthogonal vectors (OV) hypothesis) complexity bounds for checking whether a given p is a gc-subsequence of a string w. We also consider the whole set of all gc-subsequences of a string, and investigate the complexity of the universality, equivalence and containment problems for these sets of gc-subsequences.
Joel D. Day, Maria Kosche, Florin Manea, Markus L. Schmid
ISAAC4
2022 Query Evaluation over SLP-Represented Document Databases with Complex Document Editing
abstract
It is known that the query result of a regular spanner over a single document D can be enumerated after O(|D|) preprocessing and with constant delay in data complexity (Florenzano et al., ACM TODS 2020, Amarilli et al., ACM TODS 2021). It has been shown (Schmid and Schweikardt, PODS'21) that if the document is represented by a straight-line program (SLP) S, then enumeration is possible with a delay of O(log |D|), but with preprocessing that is linear in |S| (which, in the best case, is logarithmic in |D|). Hence, this compressed setting allows for spanner evaluation in sub-linear time, i.e., with logarithmic upper bounds for preprocessing and delay, if the document is highly-compressible.
Markus L. Schmid, Nicole Schweikardt
PODS1
2022 Document Spanners - A Brief Overview of Concepts, Results, and Recent Developments
abstract
The information extraction framework of document spanners was introduced by Fagin, Kimelfeld, Reiss, and Vansummeren (PODS 2013, J. ACM 2015) as a formalisation of the query language AQL, which is used in IBM's information extraction engine SystemT. Since 2013, this framework has been investigated in depth by the principles of database management community and beyond. The present paper gives a brief overview of concepts, results, and recent developments concerning document spanners.
Markus L. Schmid, Nicole Schweikardt
PODS1
2022 Conjunctive Regular Path Queries with Capture Groups
abstract
In practice, regular expressions are usually extended by so-called capture groups or capture variables, which allow to capture a subexpression by a variable that can be referenced in the regular expression in order to describe repetitions of subwords. We investigate how this concept could be used for pattern-based graph querying; i.e., we investigate conjunctive regular path queries (CRPQs) that are extended by capture variables. If capture variables are added to CRPQs in a completely unrestricted way, then Boolean evaluation becomes PSPACE-hard in data complexity, even for single-edge graph patterns. On the other hand, if capture variables do not occur under a Kleene star, then the data complexity drops to NL-completeness. Combined complexity is in EXPSPACE but drops to PSPACE-completeness if the depth (i.e., the nesting depth of capture variables) is bounded, and it drops to NP-completeness if the size of the images of capture variables is bounded by a constant (regardless of the depth or of whether capture variables occur under a Kleene star). In the application of regular expressions as string searching tools, references to capture variables only describe exact repetitions of subwords (i.e., they implement the equality relation on strings). Following recent developments in graph database research, we also study CRPQs with capture variables that describe arbitrary regular relations. We show that if the expressions have depth 0, or if the size of the images of capture variables is bounded by a constant, then we can allow arbitrary regular relations while staying in the same complexity bounds. We also investigate the problems of checking whether a given tuple is in the solution set and computing the whole solution set. On the conceptual side, we add capture variables to CRPQs in such a way that they can be defined in an expression on one arc of the graph pattern but also referenced in expressions on other arcs. Hence, they add to CRPQs the possibility to define inter-dependencies between different paths, which is a relevant feature of pattern-based graph querying.
Markus L. Schmid
ACM Trans. Database Syst.1
2021 Fine-Grained Complexity of Regular Path Queries
abstract
A regular path query (RPQ) is a regular expression q that returns all node pairs (u, v) from a graph database that are connected by an arbitrary path labelled with a word from L(q). The obvious algorithmic approach to RPQ evaluation (called PG-approach), i. e., constructing the product graph between an NFA for q and the graph database, is appealing due to its simplicity and also leads to efficient algorithms. However, it is unclear whether the PG-approach is optimal. We address this question by thoroughly investigating which upper complexity bounds can be achieved by the PG-approach, and we complement these with conditional lower bounds (in the sense of the fine-grained complexity framework). A special focus is put on enumeration and delay bounds, as well as the data complexity perspective. A main insight is that we can achieve optimal (or near optimal) algorithms with the PG-approach, but the delay for enumeration is rather high (linear in the database). We explore three successful approaches towards enumeration with sub-linear delay: super-linear preprocessing, approximations of the solution sets, and restricted classes of RPQs.
Katrin Casel, Markus L. Schmid
ICDT2
2021 A Purely Regular Approach to Non-Regular Core Spanners
abstract
The regular spanners (characterised by vset-automata) are closed under the algebraic operations of union, join and projection, and have desirable algorithmic properties. The core spanners (introduced by Fagin, Kimelfeld, Reiss, and Vansummeren (PODS 2013, JACM 2015) as a formalisation of the core functionality of the query language AQL used in IBM’s SystemT) additionally need string equality selections and it has been shown by Freydenberger and Holldack (ICDT 2016, Theory of Computing Systems 2018) that this leads to high complexity and even undecidability of the typical problems in static analysis and query evaluation. We propose an alternative approach to core spanners: by incorporating the string-equality selections directly into the regular language that represents the underlying regular spanner (instead of treating it as an algebraic operation on the table extracted by the regular spanner), we obtain a fragment of core spanners that, while having slightly weaker expressive power than the full class of core spanners, arguably still covers the intuitive applications of string equality selections for information extraction and has much better upper complexity bounds of the typical problems in static analysis and query evaluation.
Markus L. Schmid, Nicole Schweikardt
ICDT1
2021 Spanner Evaluation over SLP-Compressed Documents
abstract
We consider the problem of evaluating regular spanners over compressed documents, i.e., we wish to solve evaluation tasks directly on the compressed data, without decompression. As compressed forms of the documents we use straight-line programs (SLPs) --- a lossless compression scheme for textual data widely used in different areas of theoretical computer science and particularly well-suited for algorithmics on compressed data. In data complexity, our results are as follows. For a regular spanner M and an SLP $\mathcalS $ of size $\mathbfs $ that represents a document D, we can solve the tasks of model checking and of checking non-emptiness in time $O(\mathbfs )$. Computing the set $łlbracket M \rrbracket(D)$ of all span-tuples extracted from D can be done in time $Ø(\mathbfs |łlbracket M \rrbracket(D)|)$, and enumeration of $łlbracket M \rrbracket(D)$ can be done with linear preprocessing $O(\mathbfs )$ and a delay of $O(depth\mathcalS )$, where $depth\mathcalS $ is the depth of $\mathcalS $'s derivation tree. Note that $\mathbfs $ can be exponentially smaller than the document's size $|D|$; and, due to known balancing results for SLPs, we can always assume that $depth\mathcalS = O(log(|D|))$ independent of D's compressibility. Hence, our enumeration algorithm has a delay logarithmic in the size of the non-compressed data and a preprocessing time that is at best (i.e., in the case of highly compressible documents) also logarithmic, but at worst still linear. Therefore, in a big-data perspective, our enumeration algorithm for SLP-compressed documents may nevertheless beat the known linear preprocessing and constant delay algorithms for non-compressed documents.
Markus L. Schmid, Nicole Schweikardt
PODS1
2021 On the Complexity of the Smallest Grammar Problem over Fixed Alphabets
abstract
Abstract In the smallest grammar problem, we are given a word w and we want to compute a preferably small context-free grammar G for the singleton language {w} (where the size of a grammar is the sum of the sizes of its rules, and the size of a rule is measured by the length of its right side). It is known that, for unbounded alphabets, the decision variant of this problem is NP-hard and the optimisation variant does not allow a polynomial-time approximation scheme, unless P = NP. We settle the long-standing open problem whether these hardness results also hold for the more realistic case of a constant-size alphabet. More precisely, it is shown that the smallest grammar problem remains NP-complete (and its optimisation version is APX-hard), even if the alphabet is fixed and has size of at least 17. The corresponding reduction is robust in the sense that it also works for an alternative size-measure of grammars that is commonly used in the literature (i. e., a size measure also taking the number of rules into account), and it also allows to conclude that even computing the number of rules required by a smallest grammar is a hard problem. On the other hand, if the number of nonterminals (or, equivalently, the number of rules) is bounded by a constant, then the smallest grammar problem can be solved in polynomial time, which is shown by encoding it as a problem on graphs with interval structure. However, treating the number of rules as a parameter (in terms of parameterised complexity) yields W[1]-hardness. Furthermore, we present an $\mathcal {O}(3^{\mid {w}\mid })$ O ( 3 ∣ w ∣ ) exact exponential-time algorithm, based on dynamic programming. These three main questions are also investigated for 1-level grammars, i. e., grammars for which only the start rule contains nonterminals on the right side; thus, investigating the impact of the “hierarchical depth” of grammars on the complexity of the smallest grammar problem. In this regard, we obtain for 1-level grammars similar, but slightly stronger results.
Katrin Casel, Henning Fernau, Serge Gaspers, Benjamin Gras 0002, Markus L. Schmid
Theory Comput. Syst.5
2020 Conjunctive Regular Path Queries with String Variables
abstract
We introduce the class CXRPQ of conjunctive xregex path queries, which are obtained from conjunctive regular path queries (CRPQs) by adding string variables (also called backreferences) as found in practical implementations of regular expressions. CXRPQs can be considered user-friendly, since they combine two concepts that are well-established in practice: pattern-based graph queries and regular expressions with backreferences. Due to the string variables, CXRPQs can express inter-path dependencies, which are not expressible by CRPQs. The evaluation complexity of CXRPQs, if not further restricted, is PSpace-hard in data complexity. We identify three natural fragments with more acceptable evaluation complexity: their data complexity is in NL, while their combined complexity varies between ExpSpace, PSpace and NP. In terms of expressive power, we compare the CXRPQ-fragments with CRPQs and unions of CRPQs, and with extended conjunctive regular path queries (ECRPQs) and unions of ECRPQs.
Markus L. Schmid
PODS1
2020 Consensus Strings with Small Maximum Distance and Small Distance Sum
Laurent Bulteau, Markus L. Schmid
Algorithmica2
2020 Complexity of independency and cliquy trees
Katrin Casel, Jan Dreier, Henning Fernau, Moritz Gobbert, Philipp Kuinke, Fernando Sánchez Villaamil, Markus L. Schmid, Erik Jan van Leeuwen
Discret. Appl. Math.7
2019 Graph and String Parameters: Connections Between Pathwidth, Cutwidth and the Locality Number
abstract
We investigate the locality number, a recently introduced structural parameter for strings (with applications in pattern matching with variables), and its connection to two important graph-parameters, cutwidth and pathwidth. These connections allow us to show that computing the locality number is NP-hard but fixed-parameter tractable (when the locality number or the alphabet size is treated as a parameter), and can be approximated with ratio O(sqrt{log{opt}} log n). As a by-product, we also relate cutwidth via the locality number to pathwidth, which is of independent interest, since it improves the best currently known approximation algorithm for cutwidth. In addition to these main results, we also consider the possibility of greedy-based approximation algorithms for the locality number.
Katrin Casel, Joel D. Day, Pamela Fleischmann, Tomasz Kociumaka, Florin Manea, Markus L. Schmid
ICALP6
2019 Deterministic regular expressions with back-references
abstract
Most modern libraries for regular expression matching allow back-references (i.e., repetition operators) that substantially increase expressive power, but also lead to intractability. In order to find a better balance between expressiveness and tractability, we combine these with the notion of determinism for regular expressions used in XML DTDs and XML Schema. This includes the definition of a suitable automaton model, and a generalization of the Glushkov construction. We demonstrate that, compared to their non-deterministic superclass, these deterministic regular expressions with back-references have desirable algorithmic properties (i.e., efficiently solvable membership problem and some decidable problems in static analysis), while, at the same time, their expressive power exceeds that of deterministic regular expressions without back-references.
Dominik D. Freydenberger, Markus L. Schmid
J. Comput. Syst. Sci.2
2018 On Matching Generalised Repetitive Patterns
Joel D. Day, Pamela Fleischmann, Florin Manea, Dirk Nowotka, Markus L. Schmid
DLT5
2018 Consensus Strings with Small Maximum Distance and Small Distance Sum
abstract
The parameterised complexity of consensus string problems (Closest String, Closest Substring, Closest String with Outliers) is investigated in a more general setting, i. e., with a bound on the maximum Hamming distance and a bound on the sum of Hamming distances between solution and input strings. We completely settle the parameterised complexity of these generalised variants of Closest String and Closest Substring, and partly for Closest String with Outliers; in addition, we answer some open questions from the literature regarding the classical problem variants with only one distance bound. Finally, we investigate the question of polynomial kernels and respective lower bounds.
Laurent Bulteau, Markus L. Schmid
MFCS2
2018 Simple picture processing based on finite automata and regular grammars
Henning Fernau, Meenakshi Paramasivan, Markus L. Schmid, D. Gnanaraj Thomas
J. Comput. Syst. Sci.3
2018 Revisiting Shinohara's algorithm for computing descriptive patterns
Henning Fernau, Florin Manea, Robert Mercas, Markus L. Schmid
Theor. Comput. Sci.4
2017 Combinatorial Properties and Recognition of Unit Square Visibility Graphs
abstract
Unit square (grid) visibility graphs (USV and USGV, resp.) are described by axis-parallel visibility between unit squares placed (on integer grid coordinates) in the plane. We investigate combinatorial properties of these graph classes and the hardness of variants of the recognition problem, i.e., the problem of representing USGV with fixed visibilities within small area and, for USV, the general recognition problem.
Katrin Casel, Henning Fernau, Alexander Grigoriev, Markus L. Schmid, Sue Whitesides
MFCS4
2017 Deterministic Regular Expressions with Back-References
Dominik D. Freydenberger, Markus L. Schmid
STACS2
2017 Closure properties of pattern languages
Joel D. Day, Daniel Reidenbach, Markus L. Schmid
J. Comput. Syst. Sci.3
2017 Characterization and complexity results on jumping finite automata
Henning Fernau, Meenakshi Paramasivan, Markus L. Schmid, Vojtech Vorel
Theor. Comput. Sci.3
2016 On the Solvability Problem for Restricted Classes of Word Equations
Florin Manea, Dirk Nowotka, Markus L. Schmid
DLT3
2016 On the Complexity of Grammar-Based Compression over Fixed Alphabets
abstract
It is shown that the shortest-grammar problem remains NP-complete if the alphabet is fixed and has a size of at least 24 (which settles an open question). On the other hand, this problem can be solved in polynomial-time, if the number of nonterminals is bounded, which is shown by encoding the problem as a problem on graphs with interval structure. Furthermore, we present an O(3n) exact exponential-time algorithm, based on dynamic programming. Similar results are also given for 1-level grammars, i.e., grammars for which only the start rule contains nonterminals on the right side (thus, investigating the impact of the "hierarchical depth" on the complexity of the shortest-grammar problem).
Katrin Casel, Henning Fernau, Serge Gaspers, Benjamin Gras 0002, Markus L. Schmid
ICALP5
2016 Characterising REGEX languages by regular languages equipped with factor-referencing
Markus L. Schmid
Inf. Comput.1
2016 On the Parameterised Complexity of String Morphism Problems
Henning Fernau, Markus L. Schmid, Yngve Villanger
Theory Comput. Syst.2
2016 Computing equality-free and repetitive string factorisations
Markus L. Schmid
Theor. Comput. Sci.1
2015 Computing Equality-Free String Factorisations
Markus L. Schmid
CiE1
2015 Scanning Pictures the Boustrophedon Way
Henning Fernau, Meenakshi Paramasivan, Markus L. Schmid, D. Gnanaraj Thomas
IWCIA3
2015 Finding Consensus Strings with Small Length Difference Between Input and Solution Strings
Markus L. Schmid
MFCS (2)1
2015 Pattern Matching with Variables: Fast Algorithms and New Hardness Results
abstract
A pattern (i. e., a string of variables and terminals) maps to a word, if this is obtained by uniformly replacing the variables by terminal words; deciding this is NP-complete. We present efficient algorithms\footnote{The computational model we use is the standard unit-cost RAM with logarithmic word size. Also, all logarithms appearing in our time complexity evaluations are in base 2.} that solve this problem for restricted classes of patterns. Furthermore, we show that it is NP-complete to decide, for a given number k and a word w, whether w can be factorised into k distinct factors; this shows that the injective version (i.e., different variables are replaced by different words) of the above matching problem is NP-complete even for very restricted cases.
Henning Fernau, Florin Manea, Robert Mercas, Markus L. Schmid
STACS4
2015 Jumping Finite Automata: Characterizations and Complexity
Henning Fernau, Meenakshi Paramasivan, Markus L. Schmid
CIAA3
2015 Pattern matching with variables: A multivariate complexity analysis
Henning Fernau, Markus L. Schmid
Inf. Comput.2
2014 Closure Properties of Pattern Languages
Joel D. Day, Daniel Reidenbach, Markus L. Schmid
Developments in Language Theory3
2014 Characterising REGEX Languages by Regular Languages Equipped with Factor-Referencing
Markus L. Schmid
Developments in Language Theory1
2014 Patterns with bounded treewidth
Daniel Reidenbach, Markus L. Schmid
Inf. Comput.2
2014 Regular and context-free pattern languages over small alphabets
Daniel Reidenbach, Markus L. Schmid
Theor. Comput. Sci.2
2013 Pattern Matching with Variables: A Multivariate Complexity Analysis
Henning Fernau, Markus L. Schmid
CPM2
2013 On the Parameterised Complexity of String Morphism Problems
abstract
Given a source string u and a target string w, to decide whether w can be obtained by applying a string morphism on u (i. e., uniformly replacing the symbols in u by strings) constitutes an NP-complete problem. For example, the target string w := baaba can be obtained from the source string u := aba, by replacing a and b in u by the strings ba and a, respectively. In this paper, we contribute to the recently started investigation of the computational complexity of the string morphism problem by studying it in the framework of parameterised complexity.
Henning Fernau, Markus L. Schmid, Yngve Villanger
FSTTCS2
2013 A note on the complexity of matching patterns with variables
Markus L. Schmid
Inf. Process. Lett.1
2012 Regular and Context-Free Pattern Languages over Small Alphabets
Daniel Reidenbach, Markus L. Schmid
Developments in Language Theory2
2012 Inside the Class of REGEX Languages
Markus L. Schmid
Developments in Language Theory1
2012 Patterns with Bounded Treewidth
Daniel Reidenbach, Markus L. Schmid
LATA2
2012 Automata with Modulo Counters and Nondeterministic Counter Bounds
Daniel Reidenbach, Markus L. Schmid
CIAA2
2012 On multi-head automata with restricted nondeterminism
Daniel Reidenbach, Markus L. Schmid
Inf. Process. Lett.2
2011 Finding Shuffle Words That Represent Optimal Scheduling of Shared Memory Access
Daniel Reidenbach, Markus L. Schmid
LATA2
2010 A Polynomial Time Match Test for Large Classes of Extended Regular Expressions
Daniel Reidenbach, Markus L. Schmid
CIAA2