Streaming Algorithms for Finding Frequent Items

Total Page:16

File Type:pdf, Size:1020Kb

Streaming Algorithms for Finding Frequent Items STREAMING ALGORITHMS FOR MINING FREQUENT ITEMS by Nikita Ivkin A dissertation submitted to Johns Hopkins University in conformity with the requirements for the degree of Doctor of Philosophy Baltimore, Maryland October, 2018 c 2018 by Nikita Ivkin All rights reserved Abstract Streaming model supplies solutions for handling enormous data flows for over 20 years now. The model works with sequential data access and states sublinear memory as its primary restriction. Although the majority of the algorithms are randomized and ap- proximate, the field facilitates numerous applications from handling networking traffic to analyzing cosmology simulations and beyond. This thesis focuses on one of the most foundational and well-studied problems of finding heavy hitters, i.e. frequent items: 1. We challenge the long-lasting complexity gap in finding heavy hitters with `2 guar- antee in the insertion-only stream and present the first optimal algorithm with a space complexity of O(1) words and O(1) update time. Our result improves on Count Sketch algorithm with space and time complexity of O(log n) by Charikar et al. 2002 [39]. 2. We consider the `2-heavy hitter problem in the interval query settings, rapidly emerg- ing in the field. Compared to well known sliding window model where an algo- rithm is required to report the function of interest computed over the last N updates, interval query provides query flexibility, such that at any moment t one can query the function value on any interval (t1, t2) ⊆ (t − N, t). We present the first `2-heavy hitter algorithm in that model and extend the result to estimation all streamable functions of a frequency vector. ii 3. We provide the experimental study for the recent space optimal result on streaming quantiles by Karnin et al. 2016 [85]. The problem can be considered as a gener- alization to the heavy hitters. Additionally, we suggest several variations to the algorithms which improve the running time from O(1/#) to O(log 1/#), provide twice better space vs. precision trade-off, and extend the algorithm for the case of weighted updates. 4. We establish the connection between finding "halos", i.e. dense areas, in cosmol- ogy N-body simulation and finding heavy hitters. We build the first halo finder and scale it up to handle datasets with up-to 1012 particles via GPU boosting, sam- pling and parallel I/O. We investigate its behavior and compare it to traditional in-memory halo finders. Our solution pushes the memory footprint from several terabytes down to less than a gigabyte, therefore, make the problem feasible for small servers and even desktops. Primary reader: Vladimir Braverman, Alexander Szalay Secondary reader: Raman Arora iii Acknowledgements I would like to thank my advisor Vladimir Braverman for all the support and guidance during the entire Ph.D. program. I especially appreciate his effort in introducing me to other researchers in the field and encouraging me to find new collaborations on my own. I have gained a lot in the skill of controlling my time more efficiently and manage it mind- fully, while going through several teaching assistantships during my Ph.D. I would like to express my gratitude to all the researchers I had a chance to collaborate with: Tamas Bu- davari, Mohammad Hajiaghayi, Michael Jacobs, Zohar Karnin, Kevin Lang, Edo Liberty, Gerard Lemson, Morteza Monemizadeh, Muthu Muthukrishnan, Jelani Nelson, Mark Neyrinck, Alex Szalay, David Woodruff, Sepehr Assadi, Stephen Chestnut, Hossein Es- fandiari, Ruoyuan Gao, Srini Suresh Kumar, Zaoxing Liu, Teodor Marinov, Poorya Mi- anjy, Jalaj Upadhyay, Xin Wang, Lin Yang, Zhengyu Wang. I owe a very important debt to all the professors whose classes I had a chance to participate in and to learn a lot from them. Each class was a big excitement for me thanks to Yanif Ahmad, Raman Arora, Amitabh Basu, Vladimir Braverman, Michael Dinitz, Jim Fill and Rene Vidal. I would like to offer my special thanks to Deborah DeFord, Cathy Thornton, Zachary Burwell, Laura Graham, Tonette Harris, Shani McPherson, Joanne Selinski, and Javonnia Thomas for all the help from administrative side of the department. I am deeply grateful to all my family and all my friends who were there for me when I needed it the most. Special thanks to all the readers of my thesis Raman Arora, Vladimir Braverman and Alex Szalay. iv Finally, I would like to acknowledge that my work was financially supported by the fol- lowing grants and awards: NSA-H98230-13-C-0265, NSF IIS -1447639, DARPA -111477, Research Trends Det. HR0011-16-P-0014 NSF EAGER -16050041, ONR N00014-18-1-2364, CISCO 90073352. v Contents Abstract ii Acknowledgements iv 1 Introduction 1 1.1 Streaming model . 1 1.2 Contribution . 4 1.2.1 `2 heavy hitters algorithm with fewer words . 4 1.2.2 Streaming Algorithms for cosmological N-body simulations . 5 1.2.3 Monitoring the Network with Interval Queries . 6 1.2.4 Streaming quantiles algorithms with small space and update time . 7 2 `2 heavy hitters algorithm with fewer words 8 2.1 Introduction . 8 2.2 Beating CountSketch for Heavy Hitters in Insertion Streams . 13 2.2.1 Introduction . 13 2.2.2 `2 heavy hitters algorithm . 19 2.2.3 Chaining Inequality . 36 2.2.4 Reduced randomness . 40 vi 2.2.5 F2 at all points . 45 2.3 BPTree: an `2 heavy hitters algorithm using constant memory . 49 2.3.1 Introduction . 49 2.3.2 Algorithm and analysis . 54 2.3.3 Experimental Results . 73 2.4 Conclusion . 79 3 Monitoring the Network with Interval Queries 80 3.1 Introduction . 80 3.2 Preliminaries . 82 3.3 Interval Algorithms . 87 3.4 Evaluation . 104 3.5 Conclusion . 108 4 Streaming quantiles algorithms with small space and update time 116 4.1 Introduction . 116 4.2 A unified view of previous randomized solutions . 119 4.3 Our Contribution . 123 4.4 Experimental Results . 134 4.5 Conclusion . 140 5 Finding haloes in cosmological N-body simulations 141 5.1 Introduction . 141 5.2 Streaming Algorithms for Halo Finders . 145 5.2.1 Methodology . 145 5.2.2 Implementation . 151 vii 5.2.3 Evaluation . 156 5.3 Scalable Streaming Tools for Analyzing N-body Simulations . 165 5.3.1 Methodology . 165 5.3.2 Implementation . 173 5.3.3 Evaluation . 182 5.4 Conclusion . 196 Bibliography 206 viii List of Figures 2.1 In this example of the execution of HH1, the randomized label h(H) of the heavy hitter H begins with 01 and ends with 00. Each node in the tree corresponds to a round of HH1, which must follow the path from H0 to HR for the output to be correct. 60 2.2 Success rate for HH2 on four types of streams with n = 108 and heavy hitter p frequency a n. ................................... 76 2.3 Update rate in updates/ms (•) and storage in kB (◦) for HH2 and CountS- ketch ( and , respectively) with the CW trick hashing. 77 3.1 Interval (bucket) structure for EH and SH. 85 3.2 Interval query in the prism of EH. 86 3.3 Average frequency estimation error for flows in 10-20k interval. 105 3.4 Average frequency estimation error for flows for various suffix lengths on the NY2018 dataset. 106 3.5 Average L2 norm estimation error for flows in 10-20k intervals. 107 3.6 Average L2 norm estimation error for flows for various suffix lengths on the NY2018 dataset. 108 3.7 Quality of HH solution for 10k-20k interval (first experiment). Precision and Recall. 109 3.8 Quality of HH solution for 10k-20k interval (first experiment). F1 Measure. 110 ix 3.9 Quality of HH solution for varying suffix lengths (second experiment). Pre- cision. 111 3.10 Quality of HH solution for varying suffix lengths (second experiment). Re- call. 112 3.11 Quality of HH solution for varying suffix lengths (second experiment). F1 Measure. 113 3.12 Average entropy relative error for 10-20k intervals. 114 3.13 Average entropy relative error for various suffix lengths on the NY2018 dataset. 115 4.1 One pair compression: initially each item has weight w, compression intro- duces w error for inner queries and no error for outer queries. 119 4.2 Compaction procedure: rank error w is introduced to inner queries q2,4, no error to outer queries q1,3,5 . 120 4.3 Compactor saturation: vanilla KLL vs. lazy KLL . 124 4.4 Compaction with an equally spread error: every query q2,3,4,5 is either inner or outer equiprobably. 125 4.5 Example of one full sweep in 4 stages, each stage depicts pair chosen for the compaction, updated threshold q and new items arrived (shadow bars). 128 4.6 Intuition behind base2update algorithm . 129 4.7 Compressing pair in the weighted compactor . 133 x 4.8 Figures 4.8a, 4.8b, 4.8c, 4.8e, 4.8f depict the trade-off between maximum error over all queried quantiles and space allocated to the sketch: figures 4.8a, 4.8c, 4.8b shows the results on the randomly ordered streams but in different axes, figure 4.8e shows the results for the sorted stream, stream ordered according to zoom-in pattern, and stream with Gaussian distribu- tion, 4.8f shows the approximation ratio for CAIDA dataset. Figure 4.8d shows the trade-off between error and the length of the stream. 137 5.1 Count-Sketch Algorithm . 150 5.2 Pick-and-Drop Algorithm . 151 5.3 Halo mass distribution of various halo finders. 152 5.4 Count-Sketch Algorithm . 153 5.5 Pick-and-Drop Sampling .
Recommended publications
  • Data Streams and Applications in Computer Science
    Data Streams and Applications in Computer Science David P. Woodruff IBM Research Almaden [email protected] Abstract This is a short survey of my work in data streams and related appli- cations, such as communication complexity, numerical linear algebra, and sparse recovery. The goal is give a non-technical overview of results in data streams, and highlight connections between these different areas. It is based on my Presburger lecture award given at ICALP, 2014. 1 The Data Stream Model Informally speaking, a data stream is a sequence of data that is too large to be stored in available memory. The data may be a sequence of numbers, points, edges in a graph, and so on. There are many examples of data streams, such as internet search logs, network traffic, sensor networks, and scientific data streams (such as in astronomics, genomics, physical simulations, etc.). The abundance of data streams has led to new algorithmic paradigms for processing them, which often impose very stringent requirements on the algorithm’s resources. Formally, in the streaming model, there is a sequence of elements a1;:::; am presented to an algorithm, where each element is drawn from a universe [n] = f1;:::; ng. The algorithm is allowed a single or a small number of passes over the stream. In network applications, the algorithm is typically only given a single pass, since if data on a network is not physically stored somewhere, it may be impossible to make a second pass over it. In other applications, such as when data resides on external memory, it may be streamed through main memory a small number of times, each time constituting a pass of the algorithm.
    [Show full text]
  • Efficient Semi-Streaming Algorithms for Local Triangle Counting In
    Efficient Semi-streaming Algorithms for Local Triangle Counting in Massive Graphs ∗ Luca Becchetti Paolo Boldi Carlos Castillo “Sapienza” Università di Roma Università degli Studi di Milano Yahoo! Research Rome, Italy Milan, Italy Barcelona, Spain [email protected] [email protected] [email protected] Aristides Gionis Yahoo! Research Barcelona, Spain [email protected] ABSTRACT Categories and Subject Descriptors In this paper we study the problem of local triangle count- H.3.3 [Information Systems]: Information Search and Re- ing in large graphs. Namely, given a large graph G = (V; E) trieval we want to estimate as accurately as possible the number of triangles incident to every node v 2 V in the graph. The problem of computing the global number of triangles in a General Terms graph has been considered before, but to our knowledge this Algorithms, Measurements is the first paper that addresses the problem of local tri- angle counting with a focus on the efficiency issues arising Keywords in massive graphs. The distribution of the local number of triangles and the related local clustering coefficient can Graph Mining, Semi-Streaming, Probabilistic Algorithms be used in many interesting applications. For example, we show that the measures we compute can help to detect the 1. INTRODUCTION presence of spamming activity in large-scale Web graphs, as Graphs are a ubiquitous data representation that is used well as to provide useful features to assess content quality to model complex relations in a wide variety of applica- in social networks. tions, including biochemistry, neurobiology, ecology, social For computing the local number of triangles we propose sciences, and information systems.
    [Show full text]
  • Streaming Quantiles Algorithms with Small Space and Update Time
    Streaming Quantiles Algorithms with Small Space and Update Time Nikita Ivkin Edo Liberty Kevin Lang [email protected] [email protected] [email protected] Amazon Amazon Yahoo Research Zohar Karnin Vladimir Braverman [email protected] [email protected] Amazon Johns Hopkins University ABSTRACT An approximate version of the problem relaxes this requirement. Approximating quantiles and distributions over streaming data has It is allowed to output an approximate rank which is off by at most been studied for roughly two decades now. Recently, Karnin, Lang, εn from the exact rank. In a randomized setting, the algorithm and Liberty proposed the first asymptotically optimal algorithm is allowed to fail with probability at most δ. Note that, for the for doing so. This manuscript complements their theoretical result randomized version to provide a correct answer to all possible by providing a practical variants of their algorithm with improved queries, it suffices to amplify the success probability by running constants. For a given sketch size, our techniques provably reduce the algorithm with a failure probability of δε, and applying the 1 the upper bound on the sketch error by a factor of two. These union bound over O¹ ε º quantiles. Uniform random sampling of ¹ 1 1 º improvements are verified experimentally. Our modified quantile O ε 2 log δ ε solves this problem. sketch improves the latency as well by reducing the worst-case In network monitoring [16] and other applications it is critical 1 1 to maintain statistics while making only a single pass over the update time from O¹ ε º down to O¹log ε º.
    [Show full text]
  • Turnstile Streaming Algorithms Might As Well Be Linear Sketches
    Turnstile Streaming Algorithms Might as Well Be Linear Sketches Yi Li Huy L. Nguyên˜ David P. Woodruff Max-Planck Institute for Princeton University IBM Research, Almaden Informatics [email protected] [email protected] [email protected] ABSTRACT Keywords In the turnstile model of data streams, an underlying vector x 2 streaming algorithms, linear sketches, lower bounds, communica- {−m; −m+1; : : : ; m−1; mgn is presented as a long sequence of tion complexity positive and negative integer updates to its coordinates. A random- ized algorithm seeks to approximate a function f(x) with constant probability while only making a single pass over this sequence of 1. INTRODUCTION updates and using a small amount of space. All known algorithms In the turnstile model of data streams [28, 34], there is an under- in this model are linear sketches: they sample a matrix A from lying n-dimensional vector x which is initialized to ~0 and evolves a distribution on integer matrices in the preprocessing phase, and through an arbitrary finite sequence of additive updates to its coor- maintain the linear sketch A · x while processing the stream. At the dinates. These updates are fed into a streaming algorithm, and have end of the stream, they output an arbitrary function of A · x. One the form x x + ei or x x − ei, where ei is the i-th standard cannot help but ask: are linear sketches universal? unit vector. This changes the i-th coordinate of x by an additive In this work we answer this question by showing that any 1- 1 or −1.
    [Show full text]
  • Finding Graph Matchings in Data Streams
    Finding Graph Matchings in Data Streams Andrew McGregor⋆ Department of Computer and Information Science, University of Pennsylvania, Philadelphia, PA 19104, USA [email protected] Abstract. We present algorithms for finding large graph matchings in the streaming model. In this model, applicable when dealing with mas- sive graphs, edges are streamed-in in some arbitrary order rather than 1 residing in randomly accessible memory. For ǫ > 0, we achieve a 1+ǫ 1 approximation for maximum cardinality matching and a 2+ǫ approxi- mation to maximum weighted matching. Both algorithms use a constant number of passes and O˜( V ) space. | | 1 Introduction Given a graph G = (V, E), the Maximum Cardinality Matching (MCM) problem is to find the largest set of edges such that no two adjacent edges are selected. More generally, for an edge-weighted graph, the Maximum Weighted Matching (MWM) problem is to find the set of edges whose total weight is maximized subject to the condition that no two adjacent edges are selected. Both problems are well studied and exact polynomial solutions are known [1–4]. The fastest of these algorithms solves MWM with running time O(nm + n2 log n) where n = V and m = E . | | | | However, for massive graphs in real world applications, the above algorithms can still be prohibitively computationally expensive. Examples include the vir- tual screening of protein databases. (See [5] for other examples.) Consequently there has been much interest in faster algorithms, typically of O(m) complexity, that find good approximate solutions to the above problems. For MCM, a linear time approximation scheme was given by Kalantari and Shokoufandeh [6].
    [Show full text]
  • Lecture 1 1 Graph Streaming
    CS 671: Graph Streaming Algorithms and Lower Bounds Rutgers: Fall 2020 Lecture 1 September 1, 2020 Instructor: Sepehr Assadi Scribe: Sepehr Assadi Disclaimer: These notes have not been subjected to the usual scrutiny reserved for formal publications. They may be distributed outside this class only with the permission of the Instructor. 1 Graph Streaming Motivation Massive graphs appear in most application domains nowadays: web-pages and hyperlinks, neurons and synapses, papers and citations, or social networks and friendship links are just a few examples. Many of the computing tasks in processing these graphs, at their core, correspond to classical problems such as reachability, shortest path, or maximum matching|problems that have been studied extensively for almost a century now. However, the traditional algorithmic approaches to these problems do not accurately capture the challenges of processing massive graphs. For instance, we can no longer assume a random access to the entire input on these graphs, as their sheer size prevents us from loading them into the main memory. To handle these challenges, there is a rapidly growing interest in developing algorithms that explicitly account for the restrictions of processing massive graphs. Graph streaming algorithms have been particularly successful in this regard; these are algorithms that process input graphs by making one or few sequential passes over their edges while using a small memory. Not only streaming algorithms can be directly used to address various challenges in processing massive graphs such as I/O-efficiency or monitoring evolving graphs in realtime, they are also closely connected to other models of computation for massive graphs and often lead to efficient algorithms in those models as well.
    [Show full text]
  • Streaming Algorithms
    3 Streaming Algorithms Great Ideas in Theoretical Computer Science Saarland University, Summer 2014 Some Admin: • Deadline of Problem Set 1 is 23:59, May 14 (today)! • Students are divided into two groups for tutorials. Visit our course web- site and use Doodle to to choose your free slots. • If you find some typos or like to improve the lecture notes (e.g. add more details, intuitions), send me an email to get .tex file :-) We live in an era of “Big Data”: science, engineering, and technology are producing in- creasingly large data streams every second. Looking at social networks, electronic commerce, astronomical and biological data, the big data phenomenon appears everywhere nowadays, and presents opportunities and challenges for computer scientists and mathematicians. Com- paring with traditional algorithms, several issues need to be considered: A massive data set is too big to be stored; even an O(n2)-time algorithm is too slow; data may change over time, and algorithms need to cope with dynamic changes of the data. Hence streaming, dynamic and distributed algorithms are needed for analyzing big data. To illuminate the study of streaming algorithms, let us look at a few examples. Our first example comes from network analysis. Any big website nowadays receives millions of visits every minute, and very frequent visit per second from the same IP address are probably gen- erated automatically by computers and due to hackers. In this scenario, a webmaster needs to efficiently detect and block those IPs which generate very frequent visits per second. Here, instead of storing all IP record history which are expensive, we need an efficient algorithm that detect most such IPs.
    [Show full text]
  • Anytime Algorithms for Stream Data Mining
    Anytime Algorithms for Stream Data Mining Von der Fakultat¨ fur¨ Mathematik, Informatik und Naturwissenschaften der RWTH Aachen University zur Erlangung des akademischen Grades eines Doktors der Naturwissenschaften genehmigte Dissertation vorgelegt von Diplom-Informatiker Philipp Kranen aus Willich, Deutschland Berichter: Universitatsprofessor¨ Dr. rer. nat. Thomas Seidl Visiting Professor Michael E. Houle, PhD Tag der mundlichen¨ Prufung:¨ 14.09.2011 Diese Dissertation ist auf den Internetseiten der Hochschulbibliothek online verfugbar.¨ Contents Abstract / Zusammenfassung1 I Introduction5 1 The Need for Anytime Algorithms7 1.1 Thesis structure......................... 16 2 Knowledge Discovery from Data 17 2.1 The KDD process and data mining tasks ........... 17 2.2 Classification .......................... 25 2.3 Clustering............................ 36 3 Stream Data Mining 43 3.1 General Tools and Techniques................. 43 3.2 Stream Classification...................... 52 3.3 Stream Clustering........................ 59 II Anytime Stream Classification 69 4 The Bayes Tree 71 4.1 Introduction and Preliminaries................. 72 4.2 Indexing density models.................... 76 4.3 Experiments........................... 87 4.4 Conclusion............................ 98 i ii CONTENTS 5 The MC-Tree 99 5.1 Combining Multiple Classes.................. 100 5.2 Experiments........................... 111 5.3 Conclusion............................ 116 6 Bulk Loading the Bayes Tree 117 6.1 Bulk loading mixture densities . 117 6.2 Experiments..........................
    [Show full text]
  • Regular Path Query Evaluation on Streaming Graphs
    Regular Path ery Evaluation on Streaming Graphs∗ Anil Pacaci Angela Bonifati M. Tamer Özsu University of Waterloo Lyon 1 University University of Waterloo [email protected] [email protected] [email protected] ABSTRACT on the entire stream. Most existing work focus on the snap- We study persistent query evaluation over streaming graphs, shot model, which assumes that graphs are static and fully which is becoming increasingly important. We focus on available, and adhoc queries reect the current state of the navigational queries that determine if there exists a path database (e.g., [24, 45, 62, 64, 68–70]). The dynamic graph between two entities that satises a user-specied constraint. model addresses the evolving nature of these graphs; how- We adopt the Regular Path Query (RPQ) model that species ever, algorithms in this model assume that the entire graph navigational patterns with labeled constraints. We propose is fully available and they compute how the output changes deterministic algorithms to eciently evaluate persistent as the graph is updated [15, 42, 47, 60]. RPQs under both arbitrary and simple path semantics in a In this paper, we study the problem of persistent query uniform manner. Experimental analysis on real and synthetic processing over streaming graphs, addressing the limitations streaming graphs shows that the proposed algorithms can of existing approaches. We adopt the Regular Path Query process up to tens of thousands of edges per second and (RPQ) model that focuses on path navigation, e.g., nding eciently answer RPQs that are commonly used in real- pairs of users in a network connected by a path whose label world workloads.
    [Show full text]
  • Stochastic Streams: Sample Complexity Vs. Space Complexity
    Stochastic Streams: Sample Complexity vs. Space Complexity Michael Crouch1, Andrew McGregor2, Gregory Valiant3, and David P. Woodruff4 1 Bell Labs Ireland 2 University of Massachusetts Amherst 3 Stanford University 4 IBM Research Almaden Abstract We address the trade-off between the computational resources needed to process a large data set and the number of samples available from the data set. Specifically, we consider the following abstraction: we receive a potentially infinite stream of IID samples from some unknown distribu- tion D, and are tasked with computing some function f(D). If the stream is observed for time t, how much memory, s, is required to estimate f(D)? We refer to t as the sample complexity and s as the space complexity. The main focus of this paper is investigating the trade-offs between the space and sample complexity. We study these trade-offs for several canonical problems stud- ied in the data stream model: estimating the collision probability, i.e., the second moment of a distribution, deciding if a graph is connected, and approximating the dimension of an unknown subspace. Our results are based on techniques for simulating different classical sampling proced- ures in this model, emulating random walks given a sequence of IID samples, as well as leveraging a characterization between communication bounded protocols and statistical query algorithms. 1998 ACM Subject Classification F.2.3 Tradeoffs between Complexity Measures Keywords and phrases data streams, sample complexity, frequency moments, graph connectivity, subspace approximation Digital Object Identifier 10.4230/LIPIcs.ESA.2016.258 1 Introduction Big data systems must process data at multiple levels of a hierarchy, starting at local per-process or per-container monitoring and extending up to aggregate statistics for entire databases or data centers.
    [Show full text]
  • Finding Matchings in the Streaming Model
    University of Pennsylvania ScholarlyCommons Technical Reports (CIS) Department of Computer & Information Science January 2004 Finding Matchings in the Streaming Model Andrew McGregor University of Pennsylvania Follow this and additional works at: https://repository.upenn.edu/cis_reports Recommended Citation Andrew McGregor, "Finding Matchings in the Streaming Model", . January 2004. University of Pennsylvania Department of Computer and Information Science Technical Report No. MS-CIS-04-19. This paper is posted at ScholarlyCommons. https://repository.upenn.edu/cis_reports/21 For more information, please contact [email protected]. Finding Matchings in the Streaming Model Abstract This report presents algorithms for finding large matchings in the streaming model. In this model, applicable when dealing with massive graphs, edges are streamed-in in some arbitrary order rather than residing in randomly accessible memory. For ε > 0, we achieve a 1/(1+ε) approximation for maximum cardinality matching and a 1/(2+ε) approximation to maximum weighted matching. Both algorithms use a constant number of passes. Comments University of Pennsylvania Department of Computer and Information Science Technical Report No. MS- CIS-04-19. This technical report is available at ScholarlyCommons: https://repository.upenn.edu/cis_reports/21 Finding Matchings in the Streaming Model Andrew McGregor∗ Abstract This report presents algorithms for finding large matchings in the streaming model. In this model, applicable when dealing with massive graphs, edges are streamed-in in some arbitrary order rather than 1 residing in randomly accessible memory. For > 0, we achieve a 1+ approximation for maximum 1 cardinality matching and a 2+ approximation to maximum weighted matching. Both algorithms use a constant number of passes.
    [Show full text]
  • Suffix Tree, Minwise Hashing and Streaming Algorithms for Big Data Analysis in Bioinformatics
    University of Nebraska - Lincoln DigitalCommons@University of Nebraska - Lincoln Computer Science and Engineering: Theses, Computer Science and Engineering, Department Dissertations, and Student Research of Fall 12-4-2020 SUFFIX TREE, MINWISE HASHING AND STREAMING ALGORITHMS FOR BIG DATA ANALYSIS IN BIOINFORMATICS Sairam Behera University of Nebraska-Lincoln, [email protected] Follow this and additional works at: https://digitalcommons.unl.edu/computerscidiss Part of the Computer Engineering Commons, and the Computer Sciences Commons Behera, Sairam, "SUFFIX TREE, MINWISE HASHING AND STREAMING ALGORITHMS FOR BIG DATA ANALYSIS IN BIOINFORMATICS" (2020). Computer Science and Engineering: Theses, Dissertations, and Student Research. 201. https://digitalcommons.unl.edu/computerscidiss/201 This Article is brought to you for free and open access by the Computer Science and Engineering, Department of at DigitalCommons@University of Nebraska - Lincoln. It has been accepted for inclusion in Computer Science and Engineering: Theses, Dissertations, and Student Research by an authorized administrator of DigitalCommons@University of Nebraska - Lincoln. SUFFIX TREE, MINWISE HASHING AND STREAMING ALGORITHMS FOR BIG DATA ANALYSIS IN BIOINFORMATICS by Sairam Behera A DISSERTATION Presented to the Faculty of The Graduate College at the University of Nebraska In Partial Fulfilment of Requirements For the Degree of Doctor of Philosophy Major: Computer Science Under the Supervision of Professor Jitender S. Deogun Lincoln, Nebraska December, 2020 SUFFIX TREE, MINWISE HASHING AND STREAMING ALGORITHMS FOR BIG DATA ANALYSIS IN BIOINFORMATICS Sairam Behera, Ph.D. University of Nebraska, 2020 Adviser: Jitender S. Deogun In this dissertation, we worked on several algorithmic problems in bioinformatics using mainly three approaches: (a) a streaming model, (b) suffix-tree based indexing, and (c) minwise-hashing (minhash) and locality-sensitive hashing (LSH).
    [Show full text]