arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.17937cs.LGcs.DC
收藏

基于主动推理的边缘设备自适应流处理

Adaptive Stream Processing on Edge Devices through Active Inference

TU Wien(维也纳技术大学);Universitat Pompeu Fabra(庞培法布拉大学);Stockholm University(斯德哥尔摩大学)

Boris Sedlak, Victor Casamayor Pujol, Andrea Morichetta, Praveen Kumar Donta, Schahram Dustdar

AI总结:

针对边缘流处理中SLO保障的长期预测与控制难题,提出基于主动推理的ML范式,利用因果知识实现快速收敛与透明决策。

摘要:

当前物联网场景中数据量持续增长,且以连续流的形式生成,这要求提出新的架构和逻辑解决方案来处理这些数据。将数据处理移至计算频谱的边缘可确保更好的负载分布,原则上还能实现更低的延迟和更好的隐私性。然而,管理这种结构十分复杂,尤其是当需要确保由应用程序所有者和基础设施管理者指定的需求(也称为服务级别目标,SLOs)时。尽管已有大量基于机器学习(ML)的管理方案,研究人员和从业者仍难以保证长期预测与控制以及准确的故障排除。因此,我们提出了一种基于主动推理(Active Inference, AIF)的新型ML范式——这是神经科学中的一个概念,描述了大脑如何不断预测和评估感官信息以减少长期的意外感。我们在一个异构的实时流处理用例中实现并评估了该方法,其中基于AIF的智能体持续优化在多个设备上运行的三个自动驾驶服务的三个SLO的满足情况。该智能体利用因果知识,逐步理解其行动如何与需求满足相关联,以及应优先采用哪些配置。通过这种方法,我们的智能体最多需要三十次迭代即可收敛到最优解,展现出在短时间内提供准确结果的能力。此外,得益于AIF及其因果结构,我们的方法保证了决策的完全透明性,使得结果解释和故障排除变得毫不费力。

英文摘要:

The current scenario of IoT is witnessing a constant increase on the volume of data, which is generated in constant stream, calling for novel architectural and logical solutions for processing it. Moving the data handling towards the edge of the computing spectrum guarantees better distribution of load and, in principle, lower latency and better privacy. However, managing such a structure is complex, especially when requirements, also referred to Service Level Objectives (SLOs), specified by applications' owners and infrastructure managers need to be ensured. Despite the rich number of proposals of Machine Learning (ML) based management solutions, researchers and practitioners yet struggle to guarantee long-term prediction and control, and accurate troubleshooting. Therefore, we present a novel ML paradigm based on Active Inference (AIF) -- a concept from neuroscience that describes how the brain constantly predicts and evaluates sensory information to decrease long-term surprise. We implement it and evaluate it in a heterogeneous real stream processing use case, where an AIF-based agent continuously optimizes the fulfillment of three SLOs for three autonomous driving services running on multiple devices. The agent used causal knowledge to gradually develop an understanding of how its actions are related to requirements fulfillment, and which configurations to favor. Through this approach, our agent requires up to thirty iterations to converge to the optimal solution, showing the capability of offering accurate results in a short amount of time. Furthermore, thanks to AIF and its causal structures, our method guarantees full transparency on the decision making, making the interpretation of the results and the troubleshooting effortless.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑