834 research outputs found

    On data skewness, stragglers, and MapReduce progress indicators

    Full text link
    We tackle the problem of predicting the performance of MapReduce applications, designing accurate progress indicators that keep programmers informed on the percentage of completed computation time during the execution of a job. Through extensive experiments, we show that state-of-the-art progress indicators (including the one provided by Hadoop) can be seriously harmed by data skewness, load unbalancing, and straggling tasks. This is mainly due to their implicit assumption that the running time depends linearly on the input size. We thus design a novel profile-guided progress indicator, called NearestFit, that operates without the linear hypothesis assumption and exploits a careful combination of nearest neighbor regression and statistical curve fitting techniques. Our theoretical progress model requires fine-grained profile data, that can be very difficult to manage in practice. To overcome this issue, we resort to computing accurate approximations for some of the quantities used in our model through space- and time-efficient data streaming algorithms. We implemented NearestFit on top of Hadoop 2.6.0. An extensive empirical assessment over the Amazon EC2 platform on a variety of real-world benchmarks shows that NearestFit is practical w.r.t. space and time overheads and that its accuracy is generally very good, even in scenarios where competitors incur non-negligible errors and wide prediction fluctuations. Overall, NearestFit significantly improves the current state-of-art on progress analysis for MapReduce

    Graph Convolutional Neural Networks for Web-Scale Recommender Systems

    Full text link
    Recent advancements in deep neural networks for graph-structured data have led to state-of-the-art performance on recommender system benchmarks. However, making these methods practical and scalable to web-scale recommendation tasks with billions of items and hundreds of millions of users remains a challenge. Here we describe a large-scale deep recommendation engine that we developed and deployed at Pinterest. We develop a data-efficient Graph Convolutional Network (GCN) algorithm PinSage, which combines efficient random walks and graph convolutions to generate embeddings of nodes (i.e., items) that incorporate both graph structure as well as node feature information. Compared to prior GCN approaches, we develop a novel method based on highly efficient random walks to structure the convolutions and design a novel training strategy that relies on harder-and-harder training examples to improve robustness and convergence of the model. We also develop an efficient MapReduce model inference algorithm to generate embeddings using a trained model. We deploy PinSage at Pinterest and train it on 7.5 billion examples on a graph with 3 billion nodes representing pins and boards, and 18 billion edges. According to offline metrics, user studies and A/B tests, PinSage generates higher-quality recommendations than comparable deep learning and graph-based alternatives. To our knowledge, this is the largest application of deep graph embeddings to date and paves the way for a new generation of web-scale recommender systems based on graph convolutional architectures.Comment: KDD 201

    An Improvement in K-NN Graph Construction with Locality Sensitive Hashing on MapReduce

    Get PDF
    ํ•™์œ„๋…ผ๋ฌธ (์„์‚ฌ)-- ์„œ์šธ๋Œ€ํ•™๊ต ๋Œ€ํ•™์› : ์ „๊ธฐยท์ปดํ“จํ„ฐ๊ณตํ•™๋ถ€, 2015. 2. ๊น€ํ˜•์ฃผ.k-Nearest Neighbor(k-NN)๊ทธ๋ž˜ํ”„๋Š” ๋ชจ๋“  ๋…ธ๋“œ์— ๋Œ€ํ•œ k-NN ์ •๋ณด๋ฅผ ๋‚˜ํƒ€๋‚ด๋Š” ๋ฐ์ดํ„ฐ ๊ตฌ์กฐ๋กœ์จ, ๋งŽ์€ ์ •๋ณด๊ฒ€์ƒ‰ ๋ฐ ์ถ”์ฒœ ์‹œ์Šคํ…œ์—์„œ k-NN๊ทธ๋ž˜ํ”„๋ฅผ ํ™œ์šฉํ•˜๊ณ  ์žˆ๋‹ค. ์ด๋Ÿฌํ•œ ์žฅ์ ์—๋„ ๋ถˆ๊ตฌํ•˜๊ณ  brute-force๋ฐฉ๋ฒ•์˜ k-NN๊ทธ๋ž˜ํ”„ ์ƒ์„ฑ ๋ฐฉ๋ฒ•์€ O(n^2)์˜ ์‹œ๊ฐ„๋ณต์žก๋„๋ฅผ ๊ฐ–๊ธฐ ๋•Œ๋ฌธ์— ๋น…๋ฐ์ดํ„ฐ ์…‹์— ๋Œ€ํ•ด์„œ๋Š” ์ฒ˜๋ฆฌ๊ฐ€ ๊ณค๋ž€ํ•˜๋‹ค. ๋”ฐ๋ผ์„œ, ๊ณ ์ฐจ์›, ํฌ์†Œ ๋ฐ์ดํ„ฐ์— ํšจ์œจ์ ์ธ Locality Sensitive Hashing ๊ธฐ๋ฒ•์„ ๋ถ„์‚ฐํ™˜๊ฒฝ์ธ MapReduce ํ™˜๊ฒฝ์—์„œ ์‚ฌ์šฉํ•˜์—ฌ k-NN๊ทธ๋ž˜ํ”„๋ฅผ ์ƒ์„ฑํ•˜๋Š” ์•Œ๊ณ ๋ฆฌ์ฆ˜์ด ์—ฐ๊ตฌ๋˜๊ณ  ์žˆ๋‹ค. K-NN ๊ทธ๋ž˜ํ”„ ์ƒ์„ฑ์€ ์‚ฌ์šฉ์ž๋ฅผ ์ด์›ƒํ›„๋ณด ๊ทธ๋ฃน์œผ๋กœ ๋งŒ๋“ค๊ณ  ํ›„๋ณด๊ทธ๋ฃน ๋‚ด์˜ ์Œ์— ๋Œ€ํ•ด์„œ๋งŒ brute-forceํ•˜๊ฒŒ ์œ ์‚ฌ๋„๋ฅผ ๊ณ„์‚ฐํ•˜๋Š” divide-and-conquer(two-stage) ๋ฐฉ๋ฒ•์„ ์‚ฌ์šฉํ–ˆ๋‹ค. ํŠนํžˆ, ๊ทธ๋ž˜ํ”„ ์ƒ์„ฑ๊ณผ์ • ์ค‘ ์œ ์‚ฌ๋„ ๊ณ„์‚ฐํ•˜๋Š” ๋ถ€๋ถ„์ด ๊ฐ€์žฅ ๋งŽ์€ ์‹œ๊ฐ„์ด ์†Œ์š”๋˜๋ฏ€๋กœ ํ›„๋ณด ๊ทธ๋ฃน์„ ์–ด๋–ป๊ฒŒ ๋งŒ๋“œ๋Š” ๊ฒƒ์ธ์ง€๊ฐ€ ์ค‘์š”ํ•˜๋‹ค. ๊ธฐ์กด์˜ ๋ฐฉ๋ฒ•์€ ์‚ฌ์ด์ฆˆ๊ฐ€ ํฐ ํ›„๋ณด๊ทธ๋ฃน์„ ๋ฐฉ์ง€ํ•˜๋Š”๋ฐ ํ•œ๊ณ„์ ์ด ์žˆ๋‹ค. ๋ณธ ๋…ผ๋ฌธ์—์„œ๋Š” ํšจ์œจ์ ์ธ k-NN ๊ทธ๋ž˜ํ”„ ์ƒ์„ฑ์„ ์œ„ํ•˜์—ฌ ์‚ฌ์ด์ฆˆ๊ฐ€ ํฐ ํ›„๋ณด๊ทธ๋ฃน์„ hierarchical LSH๋ฅผ ์‚ฌ์šฉํ•˜์—ฌ ์žฌ๊ตฌ์„ฑํ•˜๋Š” ์•Œ๊ณ ๋ฆฌ์ฆ˜์„ ์ œ์‹œํ•˜์˜€๋‹ค. ์‹คํ—˜ ๊ฒฐ๊ณผ ๋ณธ ๋…ผ๋ฌธ์—์„œ ์ œ์‹œํ•œ ๋ฐฉ๋ฒ•์€ ๊ธฐ์กด์˜ ๋ฐฉ๋ฒ•๋ณด๋‹ค ๋น ๋ฅด๊ฒŒ ๋” ์ •ํ™•ํ•œ ๊ทผ์‚ฌ ๊ทธ๋ž˜ํ”„๋ฅผ ์ƒ์„ฑํ•จ์„ ํ™•์ธํ•˜์˜€๋‹ค.The k nearest neighbor (k-NN) graph construction is an important operation with many web related applications, including collaborative filtering, similarity search, and many others in data mining and machine learning. Despite its many elegant properties, the brute-force k-NN graph construction method has computational complexity of O(n^2), which is prohibitive for large scale data sets. based distributed frameworks, MapReduce is gaining increasingly widespread use in applications that process large amounts of data. Based on the divide-and-conquer(two-stage) strategy, we engage the locality sensitive hashing technique which is used for high-dimension and sparse data to divide users into small groups, and calculate similarity using brute-force method on MapReduce. Specifically, generating candidate group stage is important since brute-force calculation is performed in following step. In this paper, we proposed an efficient algorithm for approximating k-NN graphs by re-grouping candidate group using hierarchical LSH. Experimental results show that our approach is more effective than existing method in aspects of graph accuracy and scan rate.์ œ 1 ์žฅ ์„œ๋ก  1 ์ œ 2 ์žฅ ๊ด€๋ จ ์—ฐ๊ตฌ 6 ์ œ 3 ์žฅ ๋ฐฐ๊ฒฝ์ง€์‹ 10 3.1 LSH(Locality Sensitive Hashing) 10 3.1.1 MinHash 11 3.2 ์•„ํŒŒ์น˜ ํ•˜๋‘ก(Apache Hadoop) 12 3.2.1 ๋งต๋ฆฌ๋“€์Šค(MapReduce) 12 ์ œ 4 ์žฅ LSH๋ฅผ ์ด์šฉํ•œ k-NN ๊ทธ๋ž˜ํ”„ ์ƒ์„ฑ 15 4.1 ๋ฌธ์ œ ์ •์˜ 15 4.2 MinHash๋ฅผ ์ด์šฉํ•œ ์ด์›ƒํ›„๋ณด ๊ทธ๋ฃน์ƒ์„ฑ 16 4.3 ์ด์›ƒํ›„๋ณด ๊ทธ๋ฃน ์žฌ๊ตฌ์„ฑ 17 4.3.1 ์ผ์ •ํ•œ ๊ทธ๋ฃน์‚ฌ์ด์ฆˆ๋กœ ๊ทธ๋ฃน ์žฌ๊ตฌ์„ฑ 18 4.3.2 ์žฌ ํ•ด์‹ฑ์„ ํ†ตํ•œ ๊ทธ๋ฃน ์žฌ๊ตฌ์„ฑ 21 4.4 ์ด์›ƒํ›„๋ณด ๊ทธ๋ฃน๋‚ด์˜ ์œ ์‚ฌ๋„ ๊ฒ€์‚ฌ ๋ฐ k-NN ์ถ”์ถœ 24 ์ œ 5 ์žฅ ์„ฑ๋Šฅํ‰๊ฐ€ 27 5.1 ์‹คํ—˜์„ค์ • 27 5.1.1 ๋ฐ์ดํ„ฐ ์…‹ 27 5.1.2 ๋น„๊ต ์•Œ๊ณ ๋ฆฌ์ฆ˜ 28 5.1.3 ์„ฑ๋Šฅํ‰๊ฐ€ ๊ธฐ์ค€ 29 5.2 ์‹คํ—˜ ๊ฒฐ๊ณผ 30 5.2.1 ์‹œ๊ฐ„๊ณผ ์ •ํ™•๋„ 30 5.2.2 ์ •ํ™•๋„์™€ ์ƒ๋Œ€ ์œ ์‚ฌ๋„ ๊ณ„์‚ฐ๋น„์œจ(Scan Rate) 33 5.2.3 ์ •ํ™•๋„์™€ ํ•ด์‹œํ…Œ์ด๋ธ” ๊ฐœ์ˆ˜ 35 5.2.4 ํด๋Ÿฌ์Šคํ„ฐ ์ฆ๊ฐ€์— ๋”ฐ๋ฅธ ์˜ํ–ฅ 36 5.2.5 ์žก ์ˆ˜ํ–‰์‹œ๊ฐ„(job completion time)๊ณผ ๋ฆฌ๋“€์Šค ์…”ํ”Œ ๋ฐ”์ดํŠธ(reduce shuffle bytes) 37 5.2.6 ๋งต ์ˆ˜ํ–‰์‹œ๊ฐ„ 41 ์ œ 6 ์žฅ ๊ฒฐ๋ก  ๋ฐ ํ–ฅํ›„ ์—ฐ๊ตฌ 42 ์ฐธ๊ณ ๋ฌธํ—Œ 43 ๋ถ€๋ก 47 Abstract 53Maste

    Accelerating Spatial Data Processing with MapReduce

    Full text link
    Abstractโ€”MapReduce is a key-value based programming model and an associated implementation for processing large data sets. It has been adopted in various scenarios and seems promising. However, when spatial computation is expressed straightforward by this key-value based model, difficulties arise due to unfit features and performance degradation. In this paper, we present methods as follows: 1) a splitting method for balancing workload, 2) pending file structure and redundant data partition dealing with relation between spatial objects, 3) a strip-based two-direction plane sweep-ing algorithm for computation accelerating. Based on these methods, ANN(All nearest neighbors) query and astronomical cross-certification are developed. Performance evaluation shows that the MapReduce-based spatial applications outperform the traditional one on DBMS

    GGNN: Graph-based GPU Nearest Neighbor Search

    Full text link
    Approximate nearest neighbor (ANN) search in high dimensions is an integral part of several computer vision systems and gains importance in deep learning with explicit memory representations. Since PQT and FAISS started to leverage the massive parallelism offered by GPUs, GPU-based implementations are a crucial resource for today's state-of-the-art ANN methods. While most of these methods allow for faster queries, less emphasis is devoted to accelerate the construction of the underlying index structures. In this paper, we propose a novel search structure based on nearest neighbor graphs and information propagation on graphs. Our method is designed to take advantage of GPU architectures to accelerate the hierarchical building of the index structure and for performing the query. Empirical evaluation shows that GGNN significantly surpasses the state-of-the-art GPU- and CPU-based systems in terms of build-time, accuracy and search speed

    Shared Nearest-Neighbor Quantum Game-Based Attribute Reduction with Hierarchical Coevolutionary Spark and Its Application in Consistent Segmentation of Neonatal Cerebral Cortical Surfaces

    Full text link
    ยฉ 2012 IEEE. The unprecedented increase in data volume has become a severe challenge for conventional patterns of data mining and learning systems tasked with handling big data. The recently introduced Spark platform is a new processing method for big data analysis and related learning systems, which has attracted increasing attention from both the scientific community and industry. In this paper, we propose a shared nearest-neighbor quantum game-based attribute reduction (SNNQGAR) algorithm that incorporates the hierarchical coevolutionary Spark model. We first present a shared coevolutionary nearest-neighbor hierarchy with self-evolving compensation that considers the features of nearest-neighborhood attribute subsets and calculates the similarity between attribute subsets according to the shared neighbor information of attribute sample points. We then present a novel attribute weight tensor model to generate ranking vectors of attributes and apply them to balance the relative contributions of different neighborhood attribute subsets. To optimize the model, we propose an embedded quantum equilibrium game paradigm (QEGP) to ensure that noisy attributes do not degrade the big data reduction results. A combination of the hierarchical coevolutionary Spark model and an improved MapReduce framework is then constructed that it can better parallelize the SNNQGAR to efficiently determine the preferred reduction solutions of the distributed attribute subsets. The experimental comparisons demonstrate the superior performance of the SNNQGAR, which outperforms most of the state-of-the-art attribute reduction algorithms. Moreover, the results indicate that the SNNQGAR can be successfully applied to segment overlapping and interdependent fuzzy cerebral tissues, and it exhibits a stable and consistent segmentation performance for neonatal cerebral cortical surfaces
    • โ€ฆ
    corecore