Data Structures And Algorithms | 2019-03-21

Words
1833
Reading
9 min
Listen
Play
8y

Data Structures And Algorithms


k-Means Clustering of Lines for Big Data (1903.06904v2)

Yair Marom, Dan Feldman

2019-03-16

The k-means for lines is a set of k centers (points) that minimizes the sum of squared distances to a given set of n lines in R^d. This is a straightforward generalization of the k-means problem where the input is a set of n points. Related problems minimize sum of (non-squared) distances, other norms, m-estimators or ignore the t farthest points (outliers) from the k centers. We suggest the first provable PTAS algorithms for these problems that compute (1+epsilon)-approximation in time O(n\log (n)/epsilon^2) for any given epsilon \in (0, 1), and constant integers k, d, t \geq 1, including support for streaming and distributed input. Experimental results on Amazon EC2 cloud and open source are also provided.

Independent Range Sampling, Revisited Again (1903.08014v1)

Peyman Afshani, Jeff M. Phillips

2019-03-19

We revisit the range sampling problem: the input is a set of points where each point is associated with a real-valued weight. The goal is to store them in a structure such that given a query range and an integer alt, we can extract alt independent random samples from the points inside the query range, where the probability of sampling a point is proportional to its weight. This line of work was initiated in 2014 by Hu, Qiao, and Tao and it was later followed up by Afshani and Wei. The first line of work mostly studied unweighted but dynamic version of the problem in one dimension whereas the second result considered the static weighted problem in one dimension as well as the unweighted problem in 3D for halfspace queries. We offer three main results and some interesting insights that were missed by the previous work: We show that it is possible to build efficient data structures for range sampling queries if we allow the query time to hold in expectation (the first result), or obtain efficient worst-case query bounds by allowing the sampling probability to be approximately proportional to the weight (the second result). The third result is a conditional lower bound that shows essentially one of the previous two concessions is needed. For instance, for the 3D range sampling queries, the first two results give efficient data structures with near-linear space and polylogarithmic query time whereas the lower bound shows with near-linear space the worst-case query time must be close to alt, ignoring polylogarithmic factors. Up to our knowledge, this is the first such major gap between the expected and worst-case query time of a range searching problem.

A New Lower Bound for Semigroup Orthogonal Range Searching (1903.07967v1)

Peyman Afshani

2019-03-19

We report the first improvement in the space-time trade-off of lower bounds for the orthogonal range searching problem in the semigroup model, since Chazelle's result from 1990. This is one of the very fundamental problems in range searching with a long history. Previously, Andrew Yao's influential result had shown that the problem is already non-trivial in one dimension~\cite{Yao-1Dlb}: using alt units of space, the query time alt must be alt where alt is the inverse Ackermann's function, a very slowly growing function. In alt dimensions, Bernard Chazelle~\cite{Chazelle.LB.II} proved that the query time must be alt where alt. Chazelle's lower bound is known to be tight for when space consumption is high' i.e., ![](http://latex2png.com/output//latex_2924d94d6248c8dd5330ac9d16e8fdfe.png). We have two main results. The first is a lower bound that shows Chazelle's lower bound was not tight forlow space': we prove that we must have alt. Our lower bound does not close the gap to the existing data structures, however, our second result is that our analysis is tight. Thus, we believe the gap is in fact natural since lower bounds are proven for idempotent semigroups while the data structures are built for general semigroups and thus they cannot assume (and use) the properties of an idempotent semigroup. As a result, we believe to close the gap one must study lower bounds for non-idempotent semigroups or building data structures for idempotent semigroups. We develope significantly new ideas for both of our results that could be useful in pursuing either of these directions.

Upward Book Embeddings of st-Graphs (1903.07966v1)

Carla Binucci, Giordano Da Lozzo, Emilio Di Giacomo, Walter Didimo, Tamara Mchedlidze, Maurizio Patrignani

2019-03-19

We study alt-page upward book embeddings (altUBEs) of alt-graphs, that is, book embeddings of single-source single-sink directed acyclic graphs on alt pages with the additional requirement that the vertices of the graph appear in a topological ordering along the spine of the book. We show that testing whether a graph admits a altUBE is NP-complete for alt. A hardness result for this problem was previously known only for alt [Heath and Pemmaraju, 1999]. Motivated by this negative result, we focus our attention on alt. On the algorithmic side, we present polynomial-time algorithms for testing the existence of altUBEs of planar alt-graphs with branchwidth alt and of plane alt-graphs whose faces have a special structure. These algorithms run in alt time and alt time, respectively, where alt is a singly-exponential function on alt. Moreover, on the combinatorial side, we present two notable families of plane alt-graphs that always admit an embedding-preserving altUBE.

Weakly Modular Maximization for alt-constrained Minimization: Hardness, Fixed-parameter Tractability, and Multi-stage Algorithms (1805.11251v3)

Shinsaku Sakaue

2018-05-29

Motivated by an application to alt-constrained minimization, the maximization of set functions with {\it weak submodularity} and {\it weak supermodularity}, which we call {\it weakly modular} functions, has recently become an interesting research topic. In this paper, we make theoretical and practical contributions to this topic. On the theoretical side, we prove that it is hard to improve an existing approximation guarantee, and we also show that the problem is {\it fixed-parameter-tractable} under certain conditions. On the practical side, we prove guarantees of efficient {\it multi-stage} algorithms and confirm their advantages via experiments.

How Hard Is Robust Mean Estimation? (1903.07870v1)

Samuel B. Hopkins, Jerry Li

2019-03-19

Robust mean estimation is the problem of estimating the mean alt of a alt-dimensional distribution alt from a list of independent samples, an alt-fraction of which have been arbitrarily corrupted by a malicious adversary. Recent algorithmic progress has resulted in the first polynomial-time algorithms which achieve \emph{dimension-independent} rates of error: for instance, if alt has covariance alt, in polynomial-time one may find alt with alt. However, error rates achieved by current polynomial-time algorithms, while dimension-independent, are sub-optimal in many natural settings, such as when alt is sub-Gaussian, or has bounded alt-th moments. In this work we give worst-case complexity-theoretic evidence that improving on the error rates of current polynomial-time algorithms for robust mean estimation may be computationally intractable in natural settings. We show that several natural approaches to improving error rates of current polynomial-time robust mean estimation algorithms would imply efficient algorithms for the small-set expansion problem, refuting Raghavendra and Steurer's small-set expansion hypothesis (so long as alt). We also give the first direct reduction to the robust mean estimation problem, starting from a plausible but nonstandard variant of the small-set expansion problem.

A Truthful Cardinal Mechanism for One-Sided Matching (1903.07797v1)

Rediet Abebe, Richard Cole, Vasilis Gkatzelis, Jason D. Hartline

2019-03-19

We consider the design of randomized mechanisms for one-sided matching markets, where each agent is matched to one item and there are no monetary transfers. For this problem, we introduce and analyze the randomized partial improvement (RPI) mechanism. Unlike most of the mechanisms in this setting, RPI truthfully elicits cardinal (rather than just ordinal) preferences and produces a randomized matching where each agent's utility approximates the utility she would obtain in the Nash bargaining solution with a uniform random matching as the disagreement point. Intuitively, the RPI mechanism pretends that the agents are initially endowed with a uniform random assignment. Then, leveraging random sampling and invoking the partial allocation mechanism of Cole et al. (2013), RPI seeks to improve the agents' utility, while possibly, to disincentivize non-truthful reporting, leaving some of them with their initial endowment. To prove our approximation bounds, we also study the population monotonicity of the Nash bargaining solution in the context of matching markets, providing both upper and lower bounds which are of independent interest.

QuickSort: Improved right-tail asymptotics for the limiting distribution, and large deviations (1903.07775v1)

James Allen Fill, Wei-Chun Hung

2019-03-19

We substantially refine asymptotic logarithmic upper bounds produced by Svante Janson (2015) on the right tail of the limiting QuickSort distribution function alt and by Fill and Hung (2018) on the right tails of the corresponding density alt and of the absolute derivatives of alt of each order. For example, we establish an upper bound on alt that matches conjectured asymptotics of Knessl and Szpankowski (1999) through terms of order alt; the corresponding order for the Janson (2015) bound is the lead order, alt. Using the refined asymptotic bounds on alt, we derive right-tail large deviation (LD) results for the distribution of the number of comparisons required by QuickSort that substantially sharpen the two-sided LD results of McDiarmid and Hayward (1996).

Morphing Contact Representations of Graphs (1903.07595v1)

Patrizio Angelini, Steven Chaplick, Sabine Cornelsen, Giordano Da Lozzo, Vincenzo Roselli

2019-03-18

We consider the problem of morphing between contact representations of a plane graph. In an alt-contact representation of a plane graph alt, vertices are realized by internally disjoint elements from a family alt of connected geometric objects. Two such elements touch if and only if their corresponding vertices are adjacent. These touchings also induce the same embedding as in alt. In a morph between two alt-contact representations we insist that at each time step (continuously throughout the morph) we have an alt-contact representation. We focus on the case when alt is the family of triangles in alt that are the lower-right half of axis-parallel rectangles. Such RT-representations exist for every plane graph and right triangles are one of the simplest families of shapes supporting this property. Thus, they provide a natural case to study regarding morphs of contact representations of plane graphs. We study piecewise linear morphs, where each step is a linear morph moving the endpoints of each triangle at constant speed along straight-line trajectories. We provide a polynomial-time algorithm that decides whether there is a piecewise linear morph between two RT-representations of an alt-vertex plane triangulation, and, if so, computes a morph with alt linear morphs. As a direct consequence, we obtain that for alt-connected plane triangulations there is a morph between every pair of RT-representations where the ``top-most'' triangle in both representations corresponds to the same vertex. This shows that the realization space of such RT-representations of any alt-connected plane triangulation forms a connected set.

Counting independent sets and colorings on random regular bipartite graphs (1903.07531v1)

Chao Liao, Jiabao Lin, Pinyan Lu, Zhenyu Mao

2019-03-18

We give a fully polynomial-time approximation scheme (FPTAS) to count the number of independent sets on almost every alt-regular bipartite graph if alt. In the weighted case, for all sufficiently large integers alt and weight parameters alt, we also obtain an FPTAS on almost every alt-regular bipartite graph. Our technique is based on the recent work of Jenssen, Keevash and Perkins (SODA, 2019) and we also apply it to confirm an open question raised there: For all alt and sufficiently large integers alt, there is an FPTAS to count the number of alt-colorings on almost every alt-regular bipartite graph.



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