Data Structures And Algorithms | 2019-04-03

Words
1677
Reading
8 min
Listen
Play
8y

Data Structures And Algorithms


FPT algorithms to recognize well covered graphs (1810.08276v4)

Rafael Araujo, Eurinardo Costa, Sulamita Klein, Rudini Sampaio, Ueverton S. Souza

2018-10-18

Given a graph alt, let alt and alt be the sizes of a minimum and a maximum minimal vertex covers of alt, respectively. We say that alt is well covered if alt (that is, all minimal vertex covers have the same size). Determining if a graph is well covered is a coNP-complete problem. In this paper, we obtain alt-time and alt-time algorithms to decide well coveredness, improving results of Boria et. al. (2015). Moreover, using crown decomposition, we show that such problems admit kernels having linear number of vertices. In 2018, Alves et. al. (2018) proved that recognizing well covered graphs is coW[2]-hard when the independence number alt is the parameter. Contrasting with such coW[2]-hardness, we present an FPT algorithm to decide well coveredness when alt and the degeneracy of the input graph alt are aggregate parameters. Finally, we use the primeval decomposition technique to obtain a linear time algorithm for extended alt-laden graphs and alt-graphs, which is FPT parameterized by alt, improving results of Klein et al (2013).

On Functional Aggregate Queries with Additive Inequalities (1812.09526v2)

Mahmoud Abo Khamis, Ryan R. Curtin, Benjamin Moseley, Hung Q. Ngo, XuanLong Nguyen, Dan Olteanu, Maximilian Schleich

2018-12-22

Motivated by fundamental applications in databases and relational machine learning, we formulate and study the problem of answering functional aggregate queries (FAQ) in which some of the input factors are defined by a collection of additive inequalities between variables. We refer to these queries as FAQ-AI for short. To answer FAQ-AI in the Boolean semiring, we define relaxed tree decompositions and relaxed submodular and fractional hypertree width parameters. We show that an extension of the InsideOut algorithm using Chazelle's geometric data structure for solving the semigroup range search problem can answer Boolean FAQ-AI in time given by these new width parameters. This new algorithm achieves lower complexity than known solutions for FAQ-AI. It also recovers some known results in database query answering. Our second contribution is a relaxation of the set of polymatroids that gives rise to the counting version of the submodular width, denoted by #subw. This new width is sandwiched between the submodular and the fractional hypertree widths. Any FAQ and FAQ-AI over one semiring can be answered in time proportional to #subw and respectively to the relaxed version of #subw. We present three applications of our FAQ-AI framework to relational machine learning: k-means clustering, training linear support vector machines, and training models using non-polynomial loss. These optimization problems can be solved over a database asymptotically faster than computing the join of the database relations.

Compressed Multiple Pattern Matching (1811.01248v2)

Dmitry Kosolobov, Nikita Sivukhin

2018-11-03

Given alt strings over the alphabet alt, the classical Aho--Corasick data structure allows us to find all alt occurrences of the strings in any text alt in alt time using alt bits of space, where alt is the number of edges in the trie containing the strings. Fix any constant alt. We describe a compressed solution for the problem that, provided alt for a constant alt, works in alt time, which is alt since alt is constant, and occupies alt bits of space, for all alt simultaneously, where alt is an arbitrary constant and alt is the altth-order empirical entropy of the trie. Hence, we reduce the alt term in the space bounds of previously best succinct solutions to alt, thus solving an open problem posed by Belazzougui. Further, we notice that alt is a worst-case space lower bound for any solution of the problem and, for alt and constant alt, our approach allows to achieve alt bits of space, which gives an evidence that, for alt, the space of our data structure is theoretically optimal up to the alt additive term and it is hardly possible to eliminate the term alt. In addition, we refine the space analysis of previous works by proposing a more appropriate definition for alt. We also simplify the construction for practice adapting the fixed block compression boosting technique, then implement our data structure, and conduct a number of experiments showing that it is comparable to the state of the art in terms of time and is superior in space.

Approximation Algorithms for Multi-Multiway Cut and Multicut Problems on Directed Graphs (1610.02336v5)

Ramin Yarinezhad, Seyed Naser Hashemi

2016-10-07

In this paper, we present two approximation algorithms for the directed multi-multiway cut and directed multicut problems. The so called region growing paradigm \cite{1} is modified and used for these two cut problems on directed graphs. By using this paradigm, we give for each problem an approximation algorithm such that both algorithms have the approximate factor alt the same as the previous works done on these problems. However, the previous works need to solve alt linear programming, whereas our algorithms require only one linear programming. Therefore, our algorithms improve the running time of the previous algorithms.

On preserving non-discrimination when combining expert advice (1810.11829v2)

Avrim Blum, Suriya Gunasekar, Thodoris Lykouris, Nathan Srebro

2018-10-28

We study the interplay between sequential decision making and avoiding discrimination against protected groups, when examples arrive online and do not follow distributional assumptions. We consider the most basic extension of classical online learning: "Given a class of predictors that are individually non-discriminatory with respect to a particular metric, how can we combine them to perform as well as the best predictor, while preserving non-discrimination?" Surprisingly we show that this task is unachievable for the prevalent notion of "equalized odds" that requires equal false negative rates and equal false positive rates across groups. On the positive side, for another notion of non-discrimination, "equalized error rates", we show that running separate instances of the classical multiplicative weights algorithm for each group achieves this guarantee. Interestingly, even for this notion, we show that algorithms with stronger performance guarantees than multiplicative weights cannot preserve non-discrimination.

Connected max cut is polynomial for graphs without alt as a minor (1903.12641v1)

Brahim Chaourar

2019-03-29

Given a graph alt, a connected cut alt is the set of edges of E linking all vertices of U to all vertices of alt such that the induced subgraphs alt and alt are connected. Given a positive weight function alt defined on alt, the connected maximum cut problem (CMAX CUT) is to find a connected cut alt such that alt is maximum among all connected cuts. CMAX CUT is NP-hard even for planar graphs. In this paper, we prove that CMAX CUT is polynomial for graphs without alt as a minor. We deduce a quadratic time algorithm for the minimum cut problem in the same class of graphs without computing the maximum flow.

Learning and Generalization in Overparameterized Neural Networks, Going Beyond Two Layers (1811.04918v4)

Zeyuan Allen-Zhu, Yuanzhi Li, Yingyu Liang

2018-11-12

Neural networks have great success in many machine learning applications, but the fundamental learning theory behind them remains largely unsolved. Learning neural networks is NP-hard, but in practice, simple algorithms like stochastic gradient descent (SGD) often produce good solutions. Moreover, it is observed that overparameterization (that is, designing networks whose number of parameters is larger than statistically needed to perfectly fit the training data) improves both optimization and generalization, appearing to contradict traditional learning theory. In this work, we prove that using overparameterized neural networks with rectified linear units, one can (improperly) learn some notable hypothesis classes, including two and three-layer neural networks with fewer parameters and smooth activations. Moreover, the learning process can be simply done by SGD or its variants in polynomial time using polynomially many samples. We also show that for a fixed sample size, the population risk of the solution found by some SGD variant can be made almost independent of the number of parameters in the overparameterized network.

Multiplication method for factoring natural numbers (1903.12449v1)

Igor Nesiolovskiy, Artem Nesiolovskiy

2019-03-29

We offer multiplication method for factoring big natural numbers which extends the group of the Fermat's and Lehman's factorization algorithms and has run-time complexity alt. This paper is argued the finiteness of proposed algorithm depending on the value of the factorizable number n. We provide here comparative tests results of related algorithms on a large amount of computational checks. We describe identified advantages of the proposed algorithm over others. The possibilities of algorithm optimization for reducing the complexity of factorization are also shown here.

A Force-Directed Approach for Offline GPS Trajectory Map Matching (1903.12400v1)

Efstratios Rappos, Stephan Robert, Philippe Cudré-Mauroux

2019-03-29

We present a novel algorithm to match GPS trajectories onto maps offline (in batch mode) using techniques borrowed from the field of force-directed graph drawing. We consider a simulated physical system where each GPS trajectory is attracted or repelled by the underlying road network via electrical-like forces. We let the system evolve under the action of these physical forces such that individual trajectories are attracted towards candidate roads to obtain a map matching path. Our approach has several advantages compared to traditional, routing-based, algorithms for map matching, including the ability to account for noise and to avoid large detours due to outliers in the data whilst taking into account the underlying topological restrictions (such as one-way roads). Our empirical evaluation using real GPS traces shows that our method produces better map matching results compared to alternative offline map matching algorithms on average, especially for routes in dense, urban areas.

Data structures to represent sets of k-long DNA sequences (1903.12312v1)

Rayan Chikhi, Jan Holub, Paul Medvedev

2019-03-29

The analysis of biological sequencing data has been one of the biggest applications of string algorithms. The approaches used in many such applications are based on the analysis of k-mers, which are short fixed-length strings present in a dataset. While these approaches are rather diverse, storing and querying k-mer sets has emerged as a shared underlying component. Sets of k-mers have unique features and applications that, over the last ten years, have resulted in many specialized approaches for their representation. In this survey, we give a unified presentation and comparison of the data structures that have been proposed to store and query k-mer sets. We hope this survey will not only serve as a resource for researchers in the field but also make the area more accessible to outsiders



Data Structures And Algorithms | 2019-04-03 | Ecency