Event processing is the cornerstone of the dynamic and responsive Internet of Things (IoT). Recent approaches in this area are based on representational state transfer (REST) principles, which allow event processing tasks to be placed at any device that follows the same principles. However, the tasks should be properly distributed among edge devices to ensure fair resources utilization and guarantee seamless execution. This article investigates the use of deep learning to fairly distribute the tasks. An attention-based neural network model is proposed to generate efficient load balancing solutions under different scenarios. The proposed model is based on the Transformer and Pointer Network architectures, and is trained by an advantage actor-critic reinforcement learning algorithm. The model is designed to scale to the number of event processing tasks and the number of edge devices, with no need for hyperparameters re-tuning or even retraining. Extensive experimental results show that the proposed model outperforms conventional heuristics in many key performance indicators. The generic design and the obtained results show that the proposed model can potentially be applied to several other load balancing problem variations, which makes the proposal an attractive option to be used in real-world scenarios due to its scalability and efficiency.
翻译:事件处理是动态和反应灵敏的事物互联网(IoT)的基石。最近在这一领域采取的办法基于代表性国家转移原则,允许将事件处理任务置于遵循相同原则的任何装置上,但是,任务应在边缘装置之间适当分配,以确保公平利用资源,保证无缝执行。本条款调查如何利用深层学习来公平分配任务。基于关注的神经网络模型是为了在不同情景下产生高效的负载平衡解决方案而提出的。拟议的模型以变换器和指针网络结构为基础,并经过一个优势的演员和尖点网络强化学习算法培训。该模型旨在将事件处理任务和边缘装置的数目缩小到事件的数目,不需要超分数的调整甚至再培训。广泛的实验结果显示,拟议的模型在许多关键性绩效指标中超越了常规的超常性。通用设计和获得的结果表明,拟议的模型可以适用于其他几项平衡问题的变化,从而使建议具有吸引力的选择在现实世界情景中使用,因为其可缩放性和效率。