Source author record

Luis Barba

Explore this author’s publications, collaborators and research topics. This catalog record has not been claimed by its author.

ResearcherUnclaimed source record

Catalog footprint

Research overview

15works
3topics
4close collaborators

Published work

15 publications

preprint2020arXiv

Dynamic Model Pruning with Feedback

Deep neural networks often have millions of parameters. This can hinder their deployment to low-end devices, not only due to high memory requirements but also because of increased latency at inference. We propose a novel model compression method that generates a sparse trained model without additional overhead: by allowing (i) dynamic allocation of the sparsity pattern and (ii) incorporating feedback signal to reactivate prematurely pruned weights we obtain a performant sparse model in one single training pass (retraining is not needed, but can further improve the performance). We evaluate our method on CIFAR-10 and ImageNet, and show that the obtained sparse models can reach the state-of-the-art performance of dense models. Moreover, their performance surpasses that of models generated by all previously proposed pruning schemes.

preprint2020arXiv

Time-Space Trade-Offs for Computing Euclidean Minimum Spanning Trees

We present time-space trade-offs for computing the Euclidean minimum spanning tree of a set SS of nn point-sites in the plane. More precisely, we assume that SS resides in a random-access memory that can only be read. The edges of the Euclidean minimum spanning tree EMST(S)\text{EMST}(S) have to be reported sequentially, and they cannot be accessed or modified afterwards. There is a parameter s∈{1,…,n}s \in \{1, \dots, n\} so that the algorithm may use O(s)O(s) cells of read-write memory (called the workspace) for its computations. Our goal is to find an algorithm that has the best possible running time for any given ss between 11 and nn. We show how to compute EMST(S)\text{EMST}(S) in O((n3/s2)log⁡s)O\big((n^3/s^2)\log s \big) time with O(s)O(s) cells of workspace, giving a smooth trade-off between the two best known bounds O(n3)O(n^3) for s=1s = 1 and O(nlog⁡n)O(n \log n) for s=ns = n. For this, we run Kruskal's algorithm on the relative neighborhood graph (RNG) of SS. It is a classic fact that the minimum spanning tree of RNG(S)\text{RNG}(S) is exactly EMST(S)\text{EMST}(S). To implement Kruskal's algorithm with O(s)O(s) cells of workspace, we define ss-nets, a compact representation of planar graphs. This allows us to efficiently maintain and update the components of the current minimum spanning forest as the edges are being inserted.

preprint2016arXiv

Incremental Voronoi Diagrams

We study the amortized number of combinatorial changes (edge insertions and removals) needed to update the graph structure of the Voronoi diagram V(S)\mathcal{V}(S) (and several variants thereof) of a set SS of nn sites in the plane as sites are added. We define a general update operation for planar graphs modeling the incremental construction of several variants of Voronoi diagrams as well as the incremental construction of an intersection of halfspaces in R3\mathbb{R}^3. We show that the amortized number of edge insertions and removals needed to add a new site is O(n)O(\sqrt{n}). A matching Ω(n)Ω(\sqrt{n}) combinatorial lower bound is shown, even in the case where the graph of the diagram is a tree. This contrasts with the O(log⁡n)O(\log{n}) upper bound of Aronov et al. (2006) for farthest-point Voronoi diagrams when the points are inserted in order along their convex hull. We present a semi-dynamic data structure that maintains the Voronoi diagram of a set SS of nn sites in convex position. This structure supports the insertion of a new site pp and finds the asymptotically minimal number KK of edge insertions and removals needed to obtain the diagram of S∪{p}S \cup \{p\} from the diagram of SS, in time O(K polylog n)O(K\,\mathrm{polylog}\ n) worst case, which is O(n  polylog n)O(\sqrt{n}\;\mathrm{polylog}\ n) amortized by the aforementioned result. The most distinctive feature of this data structure is that the graph of the Voronoi diagram is maintained at all times and can be traversed in the natural way; this contrasts with other known data structures supporting nearest neighbor queries. Our data structure supports general search operations on the current Voronoi diagram, which can, for example, be used to perform point location queries in the cells of the current Voronoi diagram in O(log⁡n)O(\log n) time, or to determine whether two given sites are neighbors in the Delaunay triangulation.

preprint2015arXiv

A linear-time algorithm for the geodesic center of a simple polygon

Given two points in a simple polygon PP of nn vertices, its geodesic distance is the length of the shortest path that connects them among all paths that stay within PP. The geodesic center of PP is the unique point in PP that minimizes the largest geodesic distance to all other points of PP. In 1989, Pollack, Sharir and Rote [Disc. \& Comput. Geom. 89] showed an O(nlog⁡n)O(n\log n)-time algorithm that computes the geodesic center of PP. Since then, a longstanding question has been whether this running time can be improved (explicitly posed by Mitchell [Handbook of Computational Geometry, 2000]). In this paper we affirmatively answer this question and present a linear time algorithm to solve this problem.

preprint2014arXiv

Compatible Connectivity-Augmentation of Planar Disconnected Graphs

Motivated by applications to graph morphing, we consider the following \emph{compatible connectivity-augmentation problem}: We are given a labelled nn-vertex planar graph, G\mathcal{G}, that has r≥2r\ge 2 connected components, and k≥2k\ge 2 isomorphic planar straight-line drawings, G1,…,GkG_1,\ldots,G_k, of G\mathcal{G}. We wish to augment G\mathcal G by adding vertices and edges to make it connected in such a way that these vertices and edges can be added to G1,…,GkG_1,\ldots,G_k as points and straight-line segments, respectively, to obtain kk planar straight-line drawings isomorphic to the augmentation of G\mathcal G. We show that adding Θ(nr1−1/k)Θ(nr^{1-1/k}) edges and vertices to G\mathcal{G} is always sufficient and sometimes necessary to achieve this goal. The upper bound holds for all r∈{2,…,n}r\in\{2,\ldots,n\} and k≥2k\ge 2 and is achievable by an algorithm whose running time is O(nr1−1/k)O(nr^{1-1/k}) for k=O(1)k=O(1) and whose running time is O(kn2)O(kn^2) for general values of kk. The lower bound holds for all r∈{2,…,n/4}r\in\{2,\ldots,n/4\} and k≥2k\ge 2.

preprint2014arXiv

Continuous Yao Graphs

In this paper, we introduce a variation of the well-studied Yao graphs. Given a set of points S⊂R2S\subset \mathbb{R}^2 and an angle 0<θ≤2π0 < θ\leq 2π, we define the continuous Yao graph cY(θ)cY(θ) with vertex set SS and angle θθ as follows. For each p,q∈Sp,q\in S, we add an edge from pp to qq in cY(θ)cY(θ) if there exists a cone with apex pp and aperture θθ such that qq is the closest point to pp inside this cone. We study the spanning ratio of cY(θ)cY(θ) for different values of θθ. Using a new algebraic technique, we show that cY(θ)cY(θ) is a spanner when θ≤2π/3θ\leq 2π/3. We believe that this technique may be of independent interest. We also show that cY(π)cY(π) is not a spanner, and that cY(θ)cY(θ) may be disconnected for θ>πθ> π.

preprint2014arXiv

Space-Time Trade-offs for Stack-Based Algorithms

In memory-constrained algorithms we have read-only access to the input, and the number of additional variables is limited. In this paper we introduce the compressed stack technique, a method that allows to transform algorithms whose space bottleneck is a stack into memory-constrained algorithms. Given an algorithm \alg\ that runs in O(n) time using Θ(n)Θ(n) variables, we can modify it so that it runs in O(n2/s)O(n^2/s) time using a workspace of O(s) variables (for any s∈o(log⁡n)s\in o(\log n)) or O(nlog⁡n/log⁡p)O(n\log n/\log p) time using O(plog⁡n/log⁡p)O(p\log n/\log p) variables (for any 2≤p≤n2\leq p\leq n). We also show how the technique can be applied to solve various geometric problems, namely computing the convex hull of a simple polygon, a triangulation of a monotone polygon, the shortest path between two points inside a monotone polygon, 1-dimensional pyramid approximation of a 1-dimensional vector, and the visibility profile of a point inside a simple polygon. Our approach exceeds or matches the best-known results for these problems in constant-workspace models (when they exist), and gives the first trade-off between the size of the workspace and running time. To the best of our knowledge, this is the first general framework for obtaining memory-constrained algorithms.

preprint2014arXiv

Top-Down Skiplists

We describe todolists (top-down skiplists), a variant of skiplists (Pugh 1990) that can execute searches using at most log⁡2−εn+O(1)\log_{2-\varepsilon} n + O(1) binary comparisons per search and that have amortized update time O(ε−1log⁡n)O(\varepsilon^{-1}\log n). A variant of todolists, called working-todolists, can execute a search for any element xx using log⁡2−εw(x)+o(log⁡w(x))\log_{2-\varepsilon} w(x) + o(\log w(x)) binary comparisons and have amortized search time O(ε−1log⁡w(w))O(\varepsilon^{-1}\log w(w)). Here, w(x)w(x) is the "working-set number" of xx. No previous data structure is known to achieve a bound better than 4log⁡2w(x)4\log_2 w(x) comparisons. We show through experiments that, if implemented carefully, todolists are comparable to other common dictionary implementations in terms of insertion times and outperform them in terms of search times.

preprint2013arXiv

Bichromatic compatible matchings

For a set RR of nn red points and a set BB of nn blue points, a BRBR-matching is a non-crossing geometric perfect matching where each segment has one endpoint in BB and one in RR. Two BRBR-matchings are compatible if their union is also non-crossing. We prove that, for any two distinct BRBR-matchings MM and M′M', there exists a sequence of BRBR-matchings M=M1,...,Mk=M′M = M_1, ..., M_k = M' such that Mi−1M_{i-1} is compatible with MiM_i. This implies the connectivity of the compatible bichromatic matching graph containing one node for each bichromatic matching and an edge joining each pair of compatible matchings, thereby answering the open problem posed by Aichholzer et al. in "Compatible matchings for bichromatic plane straight-line graphs"

preprint2013arXiv

Computing a visibility polygon using few variables

We present several algorithms for computing the visibility polygon of a simple polygon PP from a viewpoint inside the polygon, when the polygon resides in read-only memory and only few working variables can be used. The first algorithm uses a constant number of variables, and outputs the vertices of the visibility polygon in $O(n\Rout)$ time, where $\Rout$ denotes the number of reflex vertices of PP that are part of the output. The next two algorithms use $O(\log \Rin)$ variables, and output the visibility polygon in $O(n\log \Rin)$ randomized expected time or $O(n\log^2 \Rin)$ deterministic time, where $\Rin$ is the number of reflex vertices of PP.

preprint2013arXiv

Computing Covers of Plane Forests

Let ϕϕ be a function that maps any non-empty subset AA of R2\mathbb{R}^2 to a non-empty subset ϕ(A)ϕ(A) of R2\mathbb{R}^2. A ϕϕ-cover of a set T={T1,T2,…,Tm}T=\{T_1, T_2, \dots, T_m\} of pairwise non-crossing trees in the plane is a set of pairwise disjoint connected regions such that each tree TiT_i is contained in some region of the cover, and each region of the cover is either (1) ϕ(Ti)ϕ(T_i) for some ii, or (2) ϕ(A∪B)ϕ(A \cup B), where AA and BB are constructed by either (1) or (2), and A∩B≠∅A \cap B \neq \emptyset. We present two properties for the function ϕϕ that make the ϕϕ-cover well-defined. Examples for such functions ϕϕ are the convex hull and the axis-aligned bounding box. For both of these functions ϕϕ, we show that the ϕϕ-cover can be computed in O(nlog⁡2n)O(n\log^2n) time, where nn is the total number of vertices of the trees in TT.

preprint2013arXiv

Linear transformation distance for bichromatic matchings

Let P=B∪RP=B\cup R be a set of 2n2n points in general position, where BB is a set of nn blue points and RR a set of nn red points. A \emph{BRBR-matching} is a plane geometric perfect matching on PP such that each edge has one red endpoint and one blue endpoint. Two BRBR-matchings are compatible if their union is also plane. The \emph{transformation graph of BRBR-matchings} contains one node for each BRBR-matching and an edge joining two such nodes if and only if the corresponding two BRBR-matchings are compatible. In SoCG 2013 it has been shown by Aloupis, Barba, Langerman, and Souvaine that this transformation graph is always connected, but its diameter remained an open question. In this paper we provide an alternative proof for the connectivity of the transformation graph and prove an upper bound of 2n2n for its diameter, which is asymptotically tight.

preprint2012arXiv

Circle separability queries in logarithmic time

Let PP be a set of nn points in the plane. In this paper we study a new variant of the circular separability problem in which a point set PP is preprocessed so that one can quickly answer queries of the following form: Given a geometric object QQ, report the minimum circle containing PP and exluding QQ. Our data structure can be constructed in O(nlog⁡n)O(n\log n) time using O(n) space, and can be used to answer the query when QQ is either a circle or a convex mm-gon in O(log⁡n)O(\log n) or O(log⁡n+log⁡m)O(\log n + \log m) time, respectively.

Research graph

See the researcher in context

Open full explorer

Inspect adjacent papers, topics, institutions and collaborators without losing the researcher page.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.