Sebastian Maneth

dblp:m/SebastianManeth · DBLP profile ↗
← Back
90ranked-venue papers
25as first author
14since 2021 · last 2025
0000-0001-8667-5436ORCID · verified

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

Theory of computation · 60 · 17 first-author · 13 since 2021Databases, data management, data science and information retrieval · 28 · 10 first-author · 2 since 2021Software engineering, systems software and programming languages · 7 · 2 first-authorGraphics, computer vision, multimedia, augmented reality and games · 5 · 1 first-author · 1 since 2021Applied, interdisciplinary, general and emerging computing · 2 · 1 first-authorArtificial intelligence and machine learning · 1Security and privacy · 1Human-computer interaction and ubiquitous computing · 1
YearPublicationVenuePosition
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
MFCS2
2025 Shape Preserving Tree Transducers
Paul Gallot, Sebastian Maneth
CIAA2
2024 Deciding Linear Height and Linear Size-To-Height Increase of Macro Tree Transducers
abstract
We present a novel normal form for (total deterministic) macro tree transducers (mtts), called "depth proper normal form". If an mtt is in this normal form, then it is guaranteed that each parameter of each state appears at arbitrary depths in the output trees of that state. Intuitively, if some parameter only appears at certain bounded depths in the output trees of a state, then this parameter can be eliminated by in-lining the corresponding output paths at each call site of that state. We use regular look-ahead in order to determine which of the paths should be in-lined. As a consequence of changing the look-ahead, a parameter that was previously appearing at unbounded depths, may be appearing at bounded depths for some new look-ahead; for this reason, our construction has to be iterated to obtain an mtt in depth-normal form. Using the normal form, we can decide whether the translation of an mtt has linear height increase or has linear size-to-height increase.
Paul Gallot, Sebastian Maneth, Keisuke Nakano 0001, Charles Peyrat
ICALP2
2024 Attributed Tree Transducers for Partial Functions
Sebastian Maneth, Martin Vu
CIAA1
2024 Functionality of compositions of top-down tree transducers is decidable
abstract
We prove that functionality of compositions of top-down tree transducers is decidable by reducing the problem to the functionality of one top-down tree transducer with look-ahead.
Sebastian Maneth, Helmut Seidl, Martin Vu
Inf. Comput.1
2024 Checking in polynomial time whether or not a regular tree language is deterministic top-down
abstract
It is well known that for a given bottom-up tree automaton it can be decided whether or not an equivalent deterministic top-down tree automaton exists. Recently it was claimed that such a decision can be carried out in polynomial time (Leupold and Maneth, FCT'2021); but their procedure and corresponding property is wrong. Here we address this mistake and present a correct property which allows to determine in polynomial time whether or not a given tree language can be recognized by a deterministic top-down tree automaton. Furthermore, our new property is stated for arbitrary deterministic bottom-up tree automata, and not only for minimal such automata (as before).
Sebastian Maneth, Helmut Seidl
Inf. Process. Lett.1
2023 Deciding Whether an Attributed Translation Can Be Realized by a Top-Down Transducer
Sebastian Maneth, Martin Vu
CIAA1
2023 Deciding origin equivalence of weakly self-nesting macro tree transducers
abstract
We consider a notion of origin for deterministic macro tree transducers with look-ahead which records for each output node, the corresponding input node for which a rule-application generated that output node. With respect to this natural notion, we show that “origin equivalence” is decidable — whenever the transducers are weakly self-nesting. The latter means that whenever two nested calls on the same input node occur, then there must be at least one other node (a terminal output node or a call on another input node) in between these nested calls. Besides origin equivalence we are also able to decide “origin injectivity” for such transducers.
Sebastian Maneth, Helmut Seidl
Inf. Process. Lett.1
2023 Characterizing attributed tree translations in terms of macro tree transducers
Kenji Hashimoto, Sebastian Maneth
Theor. Comput. Sci.2
2022 An extensive study of user identification via eye movements across multiple datasets
Sahar Mahdie Klim Al Zaidawi, Martin H. U. Prinzler, Jonas Lührs, Sebastian Maneth
Signal Process. Image Commun.4
2021 Definability Results for Top-Down Tree Transducers
Sebastian Maneth, Helmut Seidl, Martin Vu
DLT1
2021 Deciding Top-Down Determinism of Regular Tree Languages
Peter Leupold, Sebastian Maneth
FCT2
2021 Linear-bounded composition of tree-walking tree transducers: linear size increase and complexity
Joost Engelfriet, Kazuhiro Inaba, Sebastian Maneth
Acta Informatica3
2021 Largest common prefix of a regular tree language
Markus Lohrey, Sebastian Maneth
J. Comput. Syst. Sci.2
2020 Robustness of Eye Movement Biometrics Against Varying Stimuli and Varying Trajectory Length
abstract
Recent results suggest that biometric identification based on human's eye movement characteristics can be used for authentication. In this paper, we present three new methods and benchmark them against the state-of-the-art. The best of our new methods improves the state-of-the-art performance by 5.2 percentage points. Furthermore, we investigate some of the factors that affect the robustness of the recognition rate of different classifiers on gaze trajectories, such as the type of stimulus and the tracking trajectory length. We find that the state-of-the-art method only works well when using the same stimulus for testing that was used for training. By contrast, our novel method more than doubles the identification accuracy for these transfer cases. Furthermore, we find that with only 90 seconds of eye tracking data, 86.7% accuracy can be achieved.
Christoph Schröder-Dering, Sahar Mahdie Klim Al Zaidawi, Martin H. U. Prinzler, Sebastian Maneth, Gabriel Zachmann
CHI4
2020 When Is a Bottom-Up Deterministic Tree Translation Top-Down Deterministic?
abstract
We consider two natural subclasses of deterministic top-down tree-to-tree transducers, namely, linear and uniform-copying transducers. For both classes we show that it is decidable whether the translation of a transducer with look-ahead can be realized by a transducer without look-ahead. The transducers constructed in this way, may still make use of inspection, i.e., have an additional tree automaton restricting the domain. We provide a second procedure which decides whether inspection can be removed and if so, constructs an equivalent transducer without inspection. The construction relies on a fixpoint algorithm that determines inspection requirements and on dedicated earliest normal forms for linear as well as uniform-copying transducers which can be constructed in polynomial time. As a consequence, equivalence of these transducers can be decided in polynomial time. Applying these results to deterministic bottom-up transducers, we obtain that it is decidable whether or not their translations can be realized by deterministic uniform-copying top-down transducers without look-ahead (but with inspection) - or without both look-ahead and inspection.
Sebastian Maneth, Helmut Seidl
ICALP1
2020 Constant delay traversal of grammar-compressed graphs with bounded rank
Sebastian Maneth, Fabian Peternek
Inf. Comput.1
2020 Grammar-Based Compression of Unranked Trees
Adrià Gascón, Markus Lohrey, Sebastian Maneth, Carl Philipp Reh, Kurt Sieber
Theory Comput. Syst.3
2019 Largest Common Prefix of a Regular Tree Language
Markus Lohrey, Sebastian Maneth
FCT2
2019 Deciding Equivalence of Separated Non-nested Attribute Systems in Polynomial Time
abstract
Abstract In 1982, Courcelle and Franchi-Zannettacci showed that the equivalence problem of separated non-nested attribute systems can be reduced to the equivalence problem of total deterministic separated basic macro tree transducers. They also gave a procedure for deciding equivalence of transducer in the latter class. Here, we reconsider this equivalence problem. We present a new alternative decision procedure and prove that it runs in polynomial time. We also consider extensions of this result to partial transducers and to the case where parameters of transducers accumulate strings instead of trees.
Helmut Seidl, Raphaela Palenta, Sebastian Maneth
FoSSaCS3
2019 Static Garbage Collection
Sebastian Maneth
CIAA1
2018 Constant Delay Traversal of Compressed Graphs
abstract
We present a pointer-based data structure for constant time traversal of the edges of an edge-labeled (alphabet Σ) graph given as hyperedge-replacement grammar G. The grammar is assumed to have a fixed rank κ (maximal number of nodes connected to a nonterminal hyperedge) and that each node of the represented graph is incident to at most one σ-edge per direction (σ ε Σ). Precomputing the data structure needs O(|G||Σ|κh) space and O(|G||Σ|κh 2 ) time, where h is the height of the derivation tree of G.
Sebastian Maneth, Fabian Peternek
DCC1
2018 Constant-Time Tree Traversal and Subtree Equality Check for Grammar-Compressed Trees
Markus Lohrey, Sebastian Maneth, Carl Philipp Reh
Algorithmica2
2018 Decision problems of tree transducers with origin
Emmanuel Filiot, Sebastian Maneth, Pierre-Alain Reynier, Jean-Marc Talbot
Inf. Comput.2
2018 Balancedness of MSO transductions in polynomial time
Sebastian Maneth, Helmut Seidl
Inf. Process. Lett.1
2018 Grammar-based graph compression
Sebastian Maneth, Fabian Peternek
Inf. Syst.1
2018 Equivalence of Deterministic Top-Down Tree-to-String Transducers Is Decidable
abstract
We prove that equivalence of deterministic top-down tree-to-string transducers is decidable, thus solving a long-standing open problem in formal language theory. We also present efficient algorithms for subclasses: for linear transducers or total transducers with unary output alphabet (over a given top-down regular domain language), as well as for transducers with the single-use restriction. These results are obtained using techniques from multi-linear algebra. For our main result, we introduce polynomial transducers and prove that for these, validity of a polynomial invariant can be certified by means of an inductive invariant of polynomial ideals. This allows us to construct two semi-algorithms, one searching for a certificate of the invariant and one searching for a witness of its violation. Via a translation into polynomial transducers, we thus obtain that equivalence of general y dt transducers is decidable. In fact, our translation also shows that equivalence is decidable when the output is not in a free monoid but in a free group.
Helmut Seidl, Sebastian Maneth, Gregor Kemper
J. ACM2
2018 Multiple context-free tree grammars: Lexicalization and characterization
Joost Engelfriet, Andreas Maletti, Sebastian Maneth
Theor. Comput. Sci.3
2017 Compression of Unordered XML Trees
abstract
Many XML documents are data-centric and do not make use of the inherent document order. Can we provide stronger compression for such documents through giving up order? We first consider compression via minimal dags (directed acyclic graphs) and study the worst case ratio of the size of the ordered dag divided by the size of the unordered dag, where the worst case is taken for all trees of size n. We prove that this worst case ratio is n / log n for the edge size and n log log n / log n for the node size. In experiments we compare several known compressors on the original document tree versus on a canonical version obtained by length-lexicographical sorting of subtrees. For some documents this difference is surprisingly large: reverse binary dags can be smaller by a factor of 3.7 and other compressors can be smaller by factors of up to 190.
Markus Lohrey, Sebastian Maneth, Carl Philipp Reh
ICDT2
2017 Data Science
abstract
The field of Data Science concerns techniques for extracting knowledge from diverse data, with a particular focus on ‘big’ data exhibiting ‘V’ attributes such as volume, velocity, variety, value and veracity. The field of data science is becoming increasingly influential in the public, private and voluntary sectors, with its overarching aim of increasing understanding of services, products and stakeholders in all areas of human activity. Techniques from data science are being developed and used in applied and interdisciplinary research across the biological, medical and physical sciences, the social sciences and the arts and humanities. Key research challenges in data science include: the development of computational techniques that are able to scale to the volumes and varieties of the data generated by web-based, mobile and pervasive technologies, and to the rate at which data is being produced by large-scale business, social media and scientific applications; the development of data cleansing, transformation, modelling, analysis, integration and visualisation tools that allow data scientists to understand and improve the veracity of big data and to extract value from it quickly, easily and reliably; and ensuring organisations and users data security, privacy and ownership concerns. The articles in this section of the issue describe recent work in addressing some of these challenges. The excellence of these papers happens to have originated through BICOD, the 30th British International Conference on Databases (formerly known as BNCOD) which took place in Edinburgh, UK, on July 6–8, 2015, see [1].
Sebastian Maneth, Alexandra Poulovassilis
Comput. J.1
2017 Determinacy and rewriting of functional top-down and MSO tree transformations
Michael Benedikt, Joost Engelfriet, Sebastian Maneth
J. Comput. Syst. Sci.3
2017 Efficient testing and matching of deterministic regular expressions
Benoît Groz, Sebastian Maneth
J. Comput. Syst. Sci.2
2016 Traversing Grammar-Compressed Trees with Constant Delay
abstract
A grammar-compressed ranked tree is represented with a linear space overhead so that a single traversal step, i.e., the move to the parent or the ith child, can be carried out in constant time. The data structure is extended so that equality of subtrees can be checked in constant time.
Markus Lohrey, Sebastian Maneth, Carl Philipp Reh
DCC2
2016 Incremental updates on compressed XML
abstract
XML tree structures can be effectively compressed using straight-line grammars. It has been an open problem how to update straight-line grammars, while keeping them compressed. Therefore, the best previous known methods resort to periodic decompression followed by compression from scratch. The decompression step is expensive, potentially with exponential running time. We present a method that avoids this expensive step. Our method recompresses the updated grammar directly, without prior decompression; it thus greatly outperforms the decompress-compress approach, in terms of both space and time. Our experiments show that the obtained grammars are similar or even smaller than those of the decompress-compress method.
Stefan Böttcher, Rita Hartel, Thomas Jacobs, Sebastian Maneth
ICDE4
2016 Compressing graphs by grammars
abstract
We present a new graph compressor that detects repeating substructures and represents them by grammar rules. We show that for a large number of graphs the compressor obtains smaller representations than other approaches. For RDF graphs and version graphs it outperforms the best known previous methods. Specific queries such as reachability between two nodes, can be evaluated in linear time over the grammar, thus allowing speed-ups proportional to the compression ratio.
Sebastian Maneth, Fabian Peternek
ICDE1
2016 Robust and Noise Resistant Wrapper Induction
abstract
Wrapper induction is the problem of automatically inferring a query from annotated web pages of the same template. This query should not only select the annotated content accurately but also other content following the same template. Beyond accurately matching the template, we consider two additional requirements: (1) wrappers should be robust against a large class of changes to the web pages, and (2) the induction process should be noise resistant, i.e., tolerate slightly erroneous (e.g., machine generated) samples. Key to our approach is a query language that is powerful enough to permit accurate selection, but limited enough to force noisy samples to be generalized into wrappers that select the likely intended items. We introduce such a language as subset of XPATH and show that even for such a restricted language, inducing optimal queries according to a suitable scoring is infeasible. Nevertheless, our wrapper induction framework infers highly robust and noise resistant queries. We evaluate the queries on snapshots from web pages that change over time as provided by the Internet Archive, and show that the induced queries are as robust as the human-made queries. The queries often survive hundreds sometimes thousands of days, with many changes to the relative position of the selected nodes (including changes on template level). This is due to the few and discriminative anchor (intermediately selected) nodes of the generated queries. The queries are highly resistant against positive noise (up to 50%) and negative noise (up to 20%).
Tim Furche, Jinsong Guo, Sebastian Maneth, Christian Schallhart
SIGMOD Conference3
2016 Look-ahead removal for total deterministic top-down tree transducers
Joost Engelfriet, Sebastian Maneth, Helmut Seidl
Theor. Comput. Sci.2
2015 OnlineRePair: A Recompressor for XML Structures
abstract
Summary form only given. Grammar-based compression yields high compression ratios for XML document trees. However, the holy grail of grammar-based compression has been how to support incremental updates. Supporting updates is a crucial demand for many applications. The best available method decompresses the grammar, performs the update, and compresses the result. The new Online Repair algorithm presented here recompresses a given updated tree grammar directly, without decompression. Surprisingly, the algorithm yields the same compression ratios as the decompress-update-compress strategy, while being much more efficient in time and space.
Stefan Böttcher, Rita Hartel, Thomas Jacobs, Sebastian Maneth
DCC4
2015 Equivalence of Deterministic Top-Down Tree-to-String Transducers is Decidable
abstract
We show that equivalence of deterministic top-down tree-to-string transducers is decidable, thus solving a long standing open problem in formal language theory. We also present efficient algorithms for subclasses: polynomial time for total transducers with unary output alphabet (over a given top-down regular domain language), and co-randomized polynomial time for linear transducers, these results are obtained using techniques from multi-linear algebra. For our main result, we prove that equivalence can be certified by means of inductive invariants using polynomial ideals. This allows us to construct two semi-algorithms, one searching for a proof of equivalence, one for a witness of non-equivalence.
Helmut Seidl, Sebastian Maneth, Gregor Kemper
FOCS2
2015 Decision Problems of Tree Transducers with Origin
Emmanuel Filiot, Sebastian Maneth, Pierre-Alain Reynier, Jean-Marc Talbot
ICALP (2)2
2015 Compressed Tree Canonization
Markus Lohrey, Sebastian Maneth, Fabian Peternek
ICALP (2)2
2015 Transforming XML Streams with References
Sebastian Maneth, Alberto Ordóñez Pereira, Helmut Seidl
SPIRE1
2015 XML Compression via Directed Acyclic Graphs
Mireille Bousquet-Mélou, Markus Lohrey, Sebastian Maneth, Eric Nöth
Theory Comput. Syst.3
2015 Fast in-memory XPath search using compressed indexes
abstract
Summary Extensible Markup Language (XML) documents consist of text data plus structured data (markup). XPath allows to query both text and structure. Evaluating such hybrid queries is challenging. We present a system for in‐memory evaluation ofXPath search queries, that is, queries with text and structure predicates, yet without advanced features such as backward axes, arithmetics, and joins. We show that for this query fragment, which containsForward Core XPath, our system, dubbed Succinct XML Self‐Index (‘SXSI’), outperforms existing systems by 1–3 orders of magnitude. SXSI is based on state‐of‐the‐art indexes for text and structure data. It combines two novelties. On one hand, it represents the XML data in a compact indexed form, which allows it to handle larger collections in main memory while supporting powerful search and navigation operations over the text and the structure. On the other hand, it features an execution engine that uses tree automata and cleverly chooses evaluation orders that leverage the speeds of the respective indexes. SXSI is modular and allows seamless replacement of its indexes. This is demonstrated through experiments with (1) a text index specialized for search of bio sequences, and (2) a word‐based text index specialized for natural language search. Copyright © 2013 John Wiley & Sons, Ltd.
Diego Arroyuelo, Francisco Claude, Sebastian Maneth, Veli Mäkinen, Gonzalo Navarro 0001, Kim Nguyen 0001, Jouni Sirén, Niko Välimäki
Softw. Pract. Exp.3
2014 How to Remove the Look-Ahead of Top-Down Tree Transducers
Joost Engelfriet, Sebastian Maneth, Helmut Seidl
Developments in Language Theory2
2014 XQuery streaming by Forest Transducers
abstract
Streaming of XML transformations is a challenging task and only a few existing systems support streaming. Research approaches generally define custom fragments of XQuery and XPath that are amenable to streaming, and then design custom algorithms for each fragment. These languages have several shortcomings. Here we take a more principled approach to the problem of streaming XQuery-based transformations. We start with an elegant transducer model for which many static analysis problems are well-understood: the Macro Forest Transducer (MFT). We show that a large fragment of XQuery can be translated into MFTs - indeed, a fragment of XQuery, that can express important features that are missing from other XQuery stream engines, such as GCX: our fragment of XQuery supports XPath predicates and let-statements. We then use an existing streaming engine for MFTs and apply a well-founded set of optimizations from functional programming such as strictness analysis and deforestation. Our prototype achieves time and memory efficiency comparable to the fastest known engine for XQuery streaming, GCX. This is surprising because our engine relies on the OCaml built in garbage collector and does not use any specialized buffer management, while GCX's efficiency is due to clever and explicit buffer management.
Shizuya Hakuta, Sebastian Maneth, Keisuke Nakano 0001, Hideya Iwasaki
ICDE2
2013 XML compression via DAGs
abstract
Unranked trees can be represented using their minimal dag (directed acyclic graph). For XML this achieves high compression ratios due to their repetitive mark up. Unranked trees are often represented through first child/next sibling (fcns) encoded binary trees. We study the difference in size (= number of edges) of minimal dag versus minimal dag of the fcns encoded binary tree. One main finding is that the size of the dag of the binary tree can never be smaller than the square root of the size of the minimal dag, and that there are examples that match this bound. We introduce a new combined structure, the hybrid dag, which is guaranteed to be smaller than (or equal in size to) both dags. Interestingly, we find through experiments that last child/previous sibling encodings are much better for XML compression via dags, than fcns encodings. This is because optional elements are more likely to appear towards the end of child sequences.
Markus Lohrey, Sebastian Maneth, Eric Nöth
ICDT2
2013 Determinacy and Rewriting of Top-Down and MSO Tree Transformations
Michael Benedikt, Joost Engelfriet, Sebastian Maneth
MFCS3
2013 XML tree structure compression using RePair
Markus Lohrey, Sebastian Maneth, Roy Mennicke
Inf. Syst.2
2012 Deterministic regular expressions in linear time
abstract
Deterministic regular expressions are widely used in XML processing. For instance, all regular expressions in DTDs and XML Schemas are required to be deterministic. In this paper we show that determinism of a regular expression e can be tested in linear time. The best known algorithms, based on the Glushkov automaton, require O(σ|e|) time, where σ is the number of distinct symbols in e. We further show that matching a word w against an expression e can be achieved in combined linear time O(|e|+|w|), for a wide range of deterministic regular expressions: (i) star-free (for multiple input words), (ii) bounded-occurrence, i.e., expressions in which each symbol appears a bounded number of times, and (iii) bounded plus-depth, i.e., expressions in which the nesting depth of alternating plus (union) and concatenation symbols is bounded. Our algorithms use a new structural decomposition of the parse tree of e. For matching arbitrary deterministic regular expressions we present an O(|e| + |w|log log|e|) time algorithm.
Benoît Groz, Sebastian Maneth, Slawomir Staworko
PODS2
2012 Dictionary-Based Tree Compression (Invited Talk)
abstract
Trees are a ubiquitous data structure in computer science. LISP, for instance, was designed to manipulate nested lists, that is, ordered unranked trees. Already at that time, DAGs were used to detect common subexpression, a process known as "hash consing." In a DAG every distinct subtree is represented only once (but can be referenced many times) and hence it constitutes a dictionary-based compression method for ordered trees. In our compression scenario we distinguish two kinds of ordered trees: binary and unranked. The latter appear naturally as representation of XML document structures. We survey these dictionary-based compression methods for ordered trees: (1) DAGs, (2) hybrid DAGs, (3) straight-line context-free tree grammars ("SLT grammars"). We compare the minimal DAG of an unranked tree with the minimal DAG of its binary tree encoding. The latter is obtained by identifying first children of the unranked tree with left children of the binary tree, and next-siblings with the right children. For XML document trees, unranked DAGs are usually smaller than encoded binary DAGs. We show that this holds for arbitrary unranked trees, on average. We also present the "hybrid DAG"; its size lower-bounds those of the binary and unranked DAGs. Finding a smallest SLT grammar for a given tree is NP-complete. We discuss two linear-time approximation algorithms: BPLEX and TreeRePair. For typical XML document trees, TreeRePair produces SLT grammars that are only one fourth of the size of the minimal DAG, and which contain approximately 3$% of the edges of the original tree. As far as we know, this gives rise to the smallest existing pointer-based tree representation. We show that some basic algorithms can be computed directly on the compressed trees, without prior decompression. Examples include the execution of different kinds of tree automata, and the real-time traversal of the original tree. It is even possible to evaluate simple XPath queries directly on the SLT grammars, using deterministic node-selecting tree automata. In this way, impressive speed-ups are achieved over existing XPath evaluators, while at the same time the memory requirement is slashed to only a few percent. For more complex XPath queries that require nondeterministic node-selecting tree automata, efficient evaluation over SLT grammars remains a difficult challenge.
Sebastian Maneth
RTA1
2012 Parameter reduction and automata evaluation for grammar-compressed trees
Markus Lohrey, Sebastian Maneth, Manfred Schmidt-Schauß
J. Comput. Syst. Sci.2
2011 Tree Structure Compression with RePair
abstract
Larsson and Moffat's RePair algorithm is generalized from strings to trees. The new algorithm (TreeRePair) produces straight-line linear context-free tree (SLT) grammars which are smaller than those produced by previous grammar-based compressors such as BPLEX. Experiments show that a Huffman-based coding of the resulting grammars gives compression ratios comparable to the best known XML file compressors. Moreover, SLT grammars can be used as efficient memory representation of trees. Our investigations show that tree traversals over TreeRePair grammars are 14 times slower than over pointer structures and 5 times slower than over succinct trees, while memory consumption is only 1/43 and 1/6, respectively.
Markus Lohrey, Sebastian Maneth, Roy Mennicke
DCC2
2011 First-Order Unification on Compressed Terms
abstract
Singleton Tree Grammars (STGs) have recently drawn considerable attention. They generalize the sharing of subtrees known from DAGs to sharing of connected subgraphs. This allows to obtain smaller in-memory representations of trees than with DAGs. In the past years some important tree algorithms were proved to perform efficiently (without decompression) over STGs; e.g., type checking, equivalence checking, and unification. We present a tool that implements an extension of the unification algorithm for STGs. This algorithm makes extensive use of equivalence checking. For the latter we implemented two variants, the classical exact one and a recent randomized one. Our experiments show that the randomized algorithm performs better. The running times are also compared to those of unification over uncompressed trees.
Adrià Gascón, Sebastian Maneth, Lander Ramos
RTA2
2011 Deciding Regularity of the Set of Instances of a Set of Terms with Regular Constraints is EXPTIME-Complete
abstract
Finite-state tree automata are a well-studied formalism for representing term languages. This paper studies the problem of determining the regularity of the set of instances of a finite set of terms with variables, where each variable is restricted to instantiations of a regular set given by a tree automaton. The problem was recently proved decidable, but with an unknown complexity. Here, the exact complexity of the problem is determined by proving EXPTIME-completeness. The main contribution is a new, exponential time algorithm that performs various exponential transformations on the involved terms and tree automata and decides regularity by analyzing formulas over inequation and height predicates.
Omer Giménez, Guillem Godoy, Sebastian Maneth
SIAM J. Comput.3
2010 Minimization of Deterministic Bottom-Up Tree Transducers
Sylvia Friese, Helmut Seidl, Sebastian Maneth
Developments in Language Theory3
2010 Fast in-memory XPath search using compressed indexes
abstract
A large fraction of an XML document typically consists of text data. The XPath query language allows text search via the equal, contains, and starts-with predicates. Such predicates can be efficiently implemented using a compressed self-index of the document's text nodes. Most queries, however, contain some parts querying the text of the document, plus some parts querying the tree structure. It is therefore a challenge to choose an appropriate evaluation order for a given query, which optimally leverages the execution speeds of the text and tree indexes. Here the SXSI system is introduced. It stores the tree structure of an XML document using a bit array of opening and closing brackets plus a sequence of labels, and stores the text nodes of the document using a global compressed self-index. On top of these indexes sits an XPath query engine that is based on tree automata. The engine uses fast counting queries of the text index in order to dynamically determine whether to evaluate top-down or bottom-up with respect to the tree structure. The resulting system has several advantages over existing systems: (1) on pure tree queries (without text search) such as the XPathMark queries, the SXSI system performs on par or better than the fastest known systems MonetDB and Qizx, (2) on queries that use text search, SXSI outperforms the existing systems by 1-3 orders of magnitude (depending on the size of the result set), and (3) with respect to memory consumption, SXSI outperforms all other systems for counting-only queries.
Diego Arroyuelo, Francisco Claude, Sebastian Maneth, Veli Mäkinen, Gonzalo Navarro 0001, Kim Nguyen 0001, Jouni Sirén, Niko Välimäki
ICDE3
2010 A learning algorithm for top-down XML transformations
abstract
A generalization from string to trees and from languages to translations is given of the classical result that any regular language can be learned from examples: it is shown that for any deterministic top-down tree transformation there exists a sample set of polynomial size (with respect to the minimal transducer) which allows to infer the translation. Until now, only for string transducers and for simple relabeling tree transducers, similar results had been known. Learning of deterministic top-down tree transducers (dtops) is far more involved because a dtop can copy, delete, and permute its input subtrees. Thus, complex dependencies of labeled input to output paths need to be maintained by the algorithm. First, a Myhill-Nerode theorem is presented for dtops, which is interesting on its own. This theorem is then used to construct a learning algorithm for dtops. Finally, it is shown how our result can be applied to xml transformations (e.g. xslt programs). For this, a new dtd-based encoding of unranked trees by ranked ones is presented. Over such encodings, dtops can realize many practically interesting xml transformations which cannot be realized on firstchild/next-sibling encodings.
Aurélien Lemay, Sebastian Maneth, Joachim Niehren
PODS2
2010 XPath Whole Query Optimization
abstract
Previous work reports about SXSI, a fast XPath engine which executes tree automata over compressed XML indexes. Here, reasons are investigated why SXSI is so fast. It is shown that tree automata can be used as a general framework for fine grained XML query optimization. We define the "relevant nodes" of a query as those nodes that a minimal automaton must touch in order to answer the query. This notion allows to skip many subtrees during execution, and, with the help of particular tree indexes, even allows to skip internal nodes of the tree. We efficiently approximate runs over relevant nodes by means of on-the-fly removal of alternation and non-determinism of (alternating) tree automata. We also introduce many implementation techniques which allows us to efficiently evaluate tree automata, even in the absence of special indexes. Through extensive experiments, we demonstrate the impact of the different optimization techniques.
Sebastian Maneth, Kim Nguyen 0001
Proc. VLDB Endow.1
2010 Preface
Sebastian Maneth
Theor. Comput. Sci.1
2009 Restricted Global Grammar Constraints
George Katsirelos, Sebastian Maneth, Nina Narodytska, Toby Walsh
CP2
2009 Parameter Reduction in Grammar-Compressed Trees
Markus Lohrey, Sebastian Maneth, Manfred Schmidt-Schauß
FoSSaCS2
2009 Deciding equivalence of top-down XML transformations in polynomial time
Joost Engelfriet, Sebastian Maneth, Helmut Seidl
J. Comput. Syst. Sci.2
2008 Classes of Tree Homomorphisms with Decidable Preservation of Regularity
Guillem Godoy, Sebastian Maneth, Sophie Tison
FoSSaCS2
2008 The Complexity of Tree Transducer Output Languages
abstract
Two complexity results are shown for the output languages generated by compositions of macro tree transducers. They are in $\NSPACE(n)$ and hence are context-sensitive, and the class is NP-complete.
Kazuhiro Inaba, Sebastian Maneth
FSTTCS2
2008 Multi-Return Macro Tree Transducers
Kazuhiro Inaba, Haruo Hosoya, Sebastian Maneth
CIAA3
2008 Efficient memory representation of XML document trees
Giorgio Busatto, Markus Lohrey, Sebastian Maneth
Inf. Syst.3
2008 Dependable cardinality forecasts for XQuery
abstract
Though inevitable for effective cost-based query rewriting, the derivation of meaningful cardinality estimates has remained a notoriously hard problem in the context of XQuery. By basing the estimation on a relational representation of the XQuery syntax, we show how existing cardinality estimation techniques for XPath and proven relational estimation machinery can play together to yield dependable forecasts for arbitrary XQuery (sub)expressions. Our approach benefits from a light-weight form of data flow analysis. Abstract domain identifiers guide our query analyzer through the estimation process and allow for informed decisions even in case of deeply nested XQuery expressions. A variant of projection paths [15] provides a versatile interface into which existing techniques for XPath cardinality estimation can be plugged in seamlessly. We demonstrate an implementation of this interface based on data guides. Experiments show how our approach can equally cope with both, structure-and value-based queries. It is robust with respect to intermediate estimation errors, from which we typically found our implementation to recover gracefully.
Jens Teubner, Torsten Grust, Sebastian Maneth, Sherif Sakr
Proc. VLDB Endow.3
2007 Structural Selectivity Estimation for XML Documents
abstract
Estimating the selectivity of queries is a crucial problem in database systems. Virtually all database systems rely on the use of selectivity estimates to choose amongst the many possible execution plans for a particular query. In terms of XML databases, the problem of selectivity estimation of queries presents new challenges: many evaluation operators are possible, such as simple navigation, structural joins, or twig joins, and many different indexes are possible. A new synopsis for XML documents is introduced which can be effectively used to estimate the selectivity of complex path queries. The synopsis is based on a lossy compression of the document tree that underlies the XML document, and can be computed in one pass from the document. It has several advantages over existing approaches: (1) it allows one to estimate the selectivity of queries containing all XPath axes, including the order-sensitive ones, (2) the estimator returns a range within which the actual selectivity is guaranteed to lie, with the size of this range implicitly providing a confidence measure of the estimate, and (3) the synopsis can be incrementally updated to reflect changes in the XML database.
Damien K. Fisher, Sebastian Maneth
ICDE2
2007 Exact XML Type Checking in Polynomial Time
Sebastian Maneth, Thomas Perst, Helmut Seidl
ICDT1
2007 Formalizing XML access control for update operations
abstract
Several languages have been proposed over the past years which support the specification of access control on XML data. Most of these languages consider read-access restrictions only and do not deal with access rights for updates(such as add, delete, or modify operations). Fine-grain XML update operations are subject to current research. This paper proposes XACU, a language for specifying access control on XML data in the presence of update operations. The update operations used in XACU are based on the W3CX Query Update Facility working draft. A formal access control model is defined which allows to study properties of XACU access policies. One essential property is consistency the policy should not allow the execution of a sequence of updates which has the same total effect as an update forbidden by the policy. Since XACU is a rich language with inherent ambiguities, checking consistency of a set of XACU rules is difficult, and undecidable in general.
Irini Fundulaki, Sebastian Maneth
SACMAT2
2006 The equivalence problem for deterministic MSO tree transducers is decidable
Joost Engelfriet, Sebastian Maneth
Inf. Process. Lett.2
2006 The complexity of tree automata and XPath on grammar-compressed trees
Markus Lohrey, Sebastian Maneth
Theor. Comput. Sci.2
2005 The Equivalence Problem for Deterministic MSO Tree Transducers Is Decidable
Joost Engelfriet, Sebastian Maneth
FSTTCS2
2005 XML type checking with macro tree transducers
abstract
MSO logic on unranked trees has been identified as a convenient theoretical framework for reasoning about expressiveness and implementations of practical XML query languages. As a corresponding theoretical foundation of XML transformation languages, the "transformation language" TL is proposed. This language is based on the "document transformation language" DTL of Maneth and Neven which incorporates full MSO pattern matching, arbitrary navigation in the input tree using also MSO patterns, and named procedures. The new language generalizes DTL by additionally allowing procedures to accumulate intermediate results in parameters. It is proved that TL -- and thus in particular DTL - despite their expressiveness still allow for effective inverse type inference. This result is obtained by means of a translation of TL programs into compositions of top-down finite state tree transductions with parameters, also called (stay) macro tree transducers.
Sebastian Maneth, Alexandru Berlea, Thomas Perst, Helmut Seidl
PODS1
2005 Tree Automata and XPath on Compressed Trees
Markus Lohrey, Sebastian Maneth
CIAA2
2004 Tree Transducers and Tree Compressions
Sebastian Maneth, Giorgio Busatto
FoSSaCS1
2003 The Macro Tree Transducer Hierarchy Collapses for Functions of Linear Size Increase
Sebastian Maneth
FSTTCS1
2003 A comparison of pebble tree transducers with macro tree transducers
Joost Engelfriet, Sebastian Maneth
Acta Informatica2
2003 Macro Tree Translations of Linear Size Increase are MSO Definable
abstract
The first main result is that if a macro tree translation is of linear size increase, i.e., if the size of every output tree is linearly bounded by the size of the corresponding input tree, then the translation is MSO definable (i.e., definable in monadic second-order logic). This gives a new characterization of the MSO definable tree translations in terms of macro tree transducers: they are exactly the macro tree translations of linear size increase. The second main result is that given a macro tree transducer, it can be decided whether or not its translation is MSO definable, and if it is, then an equivalent MSO transducer can be constructed. Similar results hold for attribute grammars, which define a subclass of the macro tree translations.
Joost Engelfriet, Sebastian Maneth
SIAM J. Comput.2
2002 The Complexity of Compositions of Deterministic Tree Transducers
Sebastian Maneth
FSTTCS1
2002 Two-Way Finite State Transducers with Nested Pebbles
Joost Engelfriet, Sebastian Maneth
MFCS2
2002 A formal model for an expressive fragment of XSLT
Geert Jan Bex, Sebastian Maneth, Frank Neven
Inf. Syst.2
2002 Output String Languages of Compositions of Deterministic Macro Tree Transducers
Joost Engelfriet, Sebastian Maneth
J. Comput. Syst. Sci.2
2001 Hierarchies of String Languages Generated by Deterministic Tree Transducers
Joost Engelfriet, Sebastian Maneth
Developments in Language Theory2
2000 Characterizing and Deciding MSO-Definability of Macro Tree Transductions
Joost Engelfriet, Sebastian Maneth
STACS2
2000 Domains of partial attributed tree transducers
Zoltán Fülöp 0001, Sebastian Maneth
Inf. Process. Lett.2
1999 String Languages Generated by Total Deterministic Macro Tree Transducers
Sebastian Maneth
FoSSaCS1
1999 Macro Tree Transducers, Attribute Grammars, and MSO Definable Tree Translations
Joost Engelfriet, Sebastian Maneth
Inf. Comput.2
1998 The Generating Power of Total Deterministic Tree Transducers
Sebastian Maneth
Inf. Comput.1