Machine Learning Pipelines with Modern Big Data Tools for High Energy Physics
European Organization for Nuclear Research (CERN)(欧洲核子研究组织);University of Padova(帕多瓦大学)
Matteo Migliorini, Riccardo Castellotti, Luca Canali, Marco Zanetti
备注:
This is a pre-print of an article published in Computing and Software for Big Science. The final authenticated version is available online at https://rdcu.be/b4Wk9
The effective utilization at scale of complex machine learning (ML) techniques for HEP use cases poses several technological challenges, most importantly on the actual implementation of dedicated end-to-end data pipelines. A solution to these challenges is presented, which allows training neural network classifiers using solutions from the Big Data and data science ecosystems, integrated with tools, software, and platforms common in the HEP environment. In particular, Apache Spark is exploited for data preparation and feature engineering, running the corresponding (Python) code interactively on Jupyter notebooks. Key integrations and libraries that make Spark capable of ingesting data stored using ROOT format and accessed via the XRootD protocol, are described and discussed. Training of the neural network models, defined using the Keras API, is performed in a distributed fashion on Spark clusters by using BigDL with Analytics Zoo and also by using TensorFlow, notably for distributed training on CPU and GPU resourcess. The implementation and the results of the distributed training are described in detail in this work.
PageRank Pipeline Benchmark: Proposal for a Holistic System Benchmark for Big-Data Platforms
大数据系统的兴起需要基准来衡量和比较这些系统的能力。大数据基准测试带来了独特的可扩展性挑战。超级计算社区几十年来一直在努力应对这些挑战,并开发了用于创建严格的可扩展基准的方法(例如,HPC挑战)。拟议的PageRank管道基准采用超级计算基准方法来创建一个可扩展的基准,反映了许多现实世界的大数据处理系统。PageRank管道基准建立在现有的可扩展基准(Graph500,Sort和PageRank)上,以创建具有多个集成内核的整体基准,这些内核可以一起或独立运行。每个内核都有很好的数学定义,可以在任何编程环境中实现。PageRank的线性代数性质使其非常适合使用GraphBLAS标准实现。计算非常简单,可以基于简单的计算硬件模型进行性能预测。周围的内核为每个内核提供上下文,允许严格定义每个内核的输入和输出。此外,由于所提出的PageRank管道基准在问题大小和硬件方面都是可扩展的,因此它可以用于测量和定量比较当今和未来的各种系统。已经实现了C++,Python,Python with Pandas,Matlab,Octave和Julia的串行实现,并测量了它们的单线程性能。
METL: a modern ETL pipeline with a dynamic mapping matrix
现代ETL流管道从各种来源提取数据,并将其转发给多个消费者,例如数据仓库(DW)和利用机器学习(ML)的分析系统。然而,越来越多的系统连接到这样的管道,需要新的解决方案的数据集成。规范(或公共)数据模型(CDM)提供了这样的集成。它对于将微服务系统集成到ETL管道中特别有用。(Villaca et al 2020,Oliveira et al 2019)然而,映射到CDM是复杂的。(Lemcke et al 2012)存在三个复杂性问题,即所需映射矩阵的大小、响应于提取源的变化而自动更新矩阵以及映射的时间效率。在本文中,我们提出了一个新的解决方案,这些问题。更准确地说,我们提出了一个新的动态映射矩阵(DMM),这是基于置换矩阵,通过分块得到的全映射矩阵。我们表明,DMM可用于自动更新响应模式的变化,并行计算在近实时和高效的压缩。为了解决这个问题,我们借鉴了对矩阵划分(Quinn 2004)和动态网络(Haase et al 2021)的研究。DMM已经被实现到一个名为Message ETL(METL)的应用程序中。METL是EOS中新的ETL流管道的关键部分,该管道进行到CDM的转换。ETL管道基于Kafka-streams。它使用Debezium基于日志的变更数据捕获(CDC)从80多个微服务中提取数据,并将数据加载到DW和ML平台。EOS是欧洲第二大电子商务提供商Otto Gr…
BigDataBench: A Scalable and Unified Big Data and AI Benchmark Suite
State Key Laboratory of Computer Architecture, Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所计算机体系结构国家重点实验室);University of Chinese Academy of Sciences(中国科学院大学);Baidu(百度);Alibaba(阿里巴巴);Huawei(华为);Tencent(腾讯);Beijing Academy of Frontier Sciences and Technology(北京前沿科学技术研究院)
TOSCAdata: Modelling data pipeline applications in TOSCA
无服务器平台允许客户有效地使用云资源,并为所使用的资源的确切数量支付费用。许多专用的开源和商业云数据管理工具可用于处理大量数据。由于缺乏成熟和稳定的标准,这种现代云数据管理工具还不够成熟,无法将通用云应用程序与无服务器平台集成。TOSCA(Topology and Distraction Specification for Cloud Applications)是最流行和最成熟的标准之一,主要关注应用和服务的可移植性以及通用云应用组件的自动化管理。本文提出了TOSCA标准的扩展,TOSCAdata,专注于基于数据管道的云应用程序的建模。保持现代数据管道云应用的需求,TOSCAdata提供了许多TOSCA模型,这些模型可独立部署,可扩展,可重用,同时以管道方式有效处理数据的流动和转换。我们还展示了建议TOSCAdata模型的适用性,以基于Web的云应用程序的背景下,旅游推广作为一个用例场景。
Distributed Bayesian Matrix Decomposition for Big Data Mining and Clustering
Academy of Mathematics and Systems Science, Chinese Academy of Sciences(中国科学院数学与系统科学研究院);University of Chinese Academy of Sciences(中国科学院大学);Center for Excellence in Animal Evolution and Genetics, Chinese Academy of Sciences(中国科学院动物进化与遗传前沿交叉卓越创新中心);Yunnan University(云南大学)