计算机科学 ›› 2026, Vol. 53 ›› Issue (6A): 250800062-11.doi: 10.11896/jsjkx.250800062
梁哲恒1,3, 于然2,4, 崔磊1,3, 秦政2,4, 张金波1,3, 张子扬1,3, 吴铭钞2,4
LIANG Zheheng1,3, YU Ran2,4, CUI Lei1,3, QIN Zheng2,4, ZHANG Jinbo1,3, ZHANG Ziyang1,3, WU Mingchao2,4
摘要: 随着大数据时代的到来,流式机器学习理论和方法被广泛关注并应用。其核心在于能够实时处理连续到达的数据流,并迅速响应数据的动态变化。已有典型流式机器学习框架缺乏通用的流式学习算法支持,同时在面对动态流速数据时缺乏有效的性能优化机制。为了解决上述问题,首先对流式机器学习应用与计算特征进行分析与总结,设计出一个较为通用的流式机器学习数据流。针对现有框架,分析其潜在的性能瓶颈,进一步提出两种性能优化方法,即基于距离的动态采样机制和基于梯度的窗口预聚合机制。最后,基于Flink实现了原型系统Torlink,并在4个典型数据集上进行了实验与评价。结果表明,Torlink在4节点集群上,总体吞吐率约为现有框架的4.1倍,水平加速比可达3.3。
中图分类号:
| [1] SUN D W,ZHANG G Y,ZHENG W M.Big Data Stream Computing:Technologies and Instances [J].Journal of Software,2014,25(4):839-862. [2] MONTIEL J,HALFORD M,MASTELINI S M,et al.River:machine learning for streaming data in python[J].Journal of Machine Learning Research,2021,22(110):1-8. [3] scikit-multiflow[EB/OL].[2023-06-18] .https://scikit-multiflow.github.io/. [4] Apache Flink Machine Learning Library[EB/OL].[2023-06-18] .https://nightlies.apache.org/flink/flink-ml-docs-release-2.2/. [5] Alink[CP].Alibaba,2023. [6] MORALES G D F,BIFET A.SAMOA:scalable advanced massive online analysis[J].Journal of Machine Learning Research,2015,16(1):149-153. [7] MENG X,BRADLEY J,YAVUZ B,et al.Mllib:Machine lear-ning in apache spark[J].Journal of Machine Learning Research,2016,17(34):1-7. [8] CARBONE P,KATSIFODIMOS A,EWEN S,et al.Apacheflink:Stream and batch processing in a single engine[J].The Bulletin of the Technical Committee on Data Engineering,2015,38(4). [9] SCHLIMMER J,FISHERD.A Case Study of Incremental Concept Induction[C]//Proceedings of the Fifth National Confe-rence on Artificial Intelligence.1986:496-501. [10] BORS A G,PITAS I.Introduction of the Radial Basis Function(RBF) Networks:Vol.1[M].Physica Verlag Rudolf Liebing KG,2001:1-7. [11] POLIKAR R,UPDA L,UPDA S S,et al.Learn++:An incremental learning algorithm for supervised neural networks[J].IEEE Transactions on Systems,Man,and Cybernetics,Part C:Applications and Reviews,2001,31:497-508. [12] TSCHEREPANOWM.TopoART:A Topology Learning Hierarchical ART Network[C]//Artificial Neural Networks-ICANN 2010.Berlin,Heidelberg:Springer,2010:157-167. [13] LAMIREL J C,BOULILA Z,GHRIBI M,et al.A New Incremental Growing Neural Gas Algorithm Based on Clusters Labeling Maximization:Application to Clustering of Heterogeneous Textual Data[C]//GARCÍA-PEDRAJAS N,HERRERA F,FYFE C,et al.Trends in Applied Intelligent Systems.Berlin,Heidelberg:Springer,2010:139-148. [14] AILON N,JAISWAL R,MONTELEONI C.Streaming k-means approximation[C]//International Conference on Neural Information Processing Systems.2009. [15] DIEHL C P,CAUWENBERGHS G.Svm incremental learning,adaptation and optimization[C]//Proceedings of the International Joint Conference on Neural Networks.IEEE,2003:2685-2690. [16] VAHIDI A,STEFANOPOULOU A,PENG H.Recursive least squares with forgetting for online estimation of vehicle mass and road grade:theory and experiments[J].Vehicle System Dynami-cs,2005,43(1):31-55. [17] CHO Y,SAUL L.Kernel Methods for Deep Learning[C]//Advances in Neural Information Processing Systems.Curran Associates,Inc.,2009. [18] SAHOO D,PHAM Q,LU J,et al.Online Deep Learning:Learning Deep Neural Networks on the Fly[C]//IJCAI-18.2017. [19] LARA-BENÍTEZ P,CARRANZA-GARCÍA M,GARCÍA-GU-TIÉRREZ J,et al.Asynchronous dual-pipeline deep learning framework for online data stream classification[J].ICA,2020,27(2):101-119. [20] WAHAB O A.Intrusion detection in the iot under data and concept drifts:Online deep learning approach[J].IEEE Internet of Things Journal,2022,9(20):19706-19716. [21] MAO K,ZHU J,SU L,et al.FinalMLP:An Enhanced Two-Stream MLP Model for CTR Prediction[J].Proceedings of the AAAI Conference on Artificial Intelligence,2023,37(4):4552-4560. [22] REN H,ANICIC D,RUNKLER T A.TinyOL:TinyML withOnline-Learning on Microcontrollers[C]//2021 International Joint Conference on Neural Networks(IJCNN).2021:1-8. [23] ZHANG M J,HE Y L,LI X,et al.Distributed Two-stage Clustering Method Based on Node Sampling[J].Computer Science,2025,52(2):134-144. [24] WU Z M,CAO J J,TANG Q.Online Parallel SDN Routing Optimization Algorithm Based on Deep Reinforcement Learning [J].Computer Science,2025,52(S1):240900018-9. [25] RÖCKER S.sroecker/creme[CP/OL].(2023-03-16)[2023-06-18] .https://github.com/sroecker/creme. [26] VowpalWabbit[EB/OL].[2023-06-18] .https://vowpalwabbit.org/. [27] BIFET A,HOLMES G,PFAHRINGER B,et al.MOA:Massive Online Analysis,a Framework for Stream Classification and Clustering[C]//Proceedings of the First Workshop on Applications of Pattern Analysis.PMLR,2010:44-50. [28] ZAHARIA M,CHOWDHURY M,DAS T,et al.Resilient dis-tributed datasets:A Fault-Tolerant abstraction for In-Memory cluster computing[C]//9th USENIX Symposium on Networked Systems Design and Implementation(NSDI 12).2012:15-28. [29] Spark Streaming-Spark 3.5.0 Documentation[EB/OL].[2023-12-12] .https://spark.apache.org/docs/latest/streaming-programming-guide.html. [30] RisingWave:Open-Source Streaming Database[EB/OL].[2023-12-12] .https://risingwave.com/. |
|
||