arXiv:2603.28790cs.DCcs.LG2026-03

用注意力增强的双层LSTM提升边缘计算自动扩缩容的预测能力。

Mitigating Temporal Blindness in Kubernetes Autoscaling: An Attention-Double-LSTM Framework

  • 通过双层LSTM加注意力机制捕捉长期负载依赖关系。
  • 相比单层LSTM,延迟降低29%,实例变更减少39%。
  • 适合需要低抖动、高稳定性的生产级边缘服务部署。

在边缘计算新兴场景中,无服务器工作负载具有随机性和突发性,对自主资源编排构成严峻挑战。传统反应式控制器(如Kubernetes HPA)存在固有响应延迟,导致流量高峰时服务等级目标(SLO)违例,以及下降阶段资源波动。尽管深度强化学习(DRL)为前瞻性管理提供可能,但标准智能体在非马尔可夫边缘环境中存在时间盲区,难以捕捉长期依赖。为此,我们提出一种统一负载预测与控制的稳定性感知扩缩容框架,采用注意力增强的双堆叠LSTM架构集成于近端策略优化(PPO)智能体中。不同于浅层循环模型,该方法通过深层时间注意力机制选择性加权历史状态,有效过滤高频噪声,保留需求变化的关键前兆。我们在异构集群上使用真实世界Azure Functions日志进行验证。对比行业标准HPA、无状态Double DQN及单层LSTM消融实验表明,本方法将90百分位延迟降低约29%,同时将实例变更次数减少39%,相对于单层LSTM基线。结果证实,在生产级边缘环境中,通过深度注意力记忆缓解时间盲区是实现可靠、低抖动扩缩容的前提。

原文摘要 · Abstract (English)

In the emerging landscape of edge computing, the stochastic and bursty nature of serverless workloads presents a critical challenge for autonomous resource orchestration. Traditional reactive controllers, such as the Kubernetes Horizontal Pod Autoscaler (HPA), suffer from inherent reaction latency, leading to Service Level Objective (SLO) violations during traffic spikes and resource flapping during ramp-downs. While Deep Reinforcement Learning (DRL) offers a pathway toward proactive management, standard agents suffer from temporal blindness, an inability to effectively capture long-term dependencies in non-Markovian edge environments. To bridge this gap, we propose a novel stability-aware autoscaling framework unifying workload forecasting and control via an Attention-Enhanced Double-Stacked LSTM architecture integrated within a Proximal Policy Optimization (PPO) agent. Unlike shallow recurrent models, our approach employs a deep temporal attention mechanism to selectively weight historical states, effectively filtering high-frequency noise while retaining critical precursors of demand shifts. We validate the framework on a heterogeneous cluster using real-world Azure Functions traces. Comparative analysis against industry-standard HPA, stateless Double DQN, and a single-layer LSTM ablation demonstrates that our approach reduces 90th percentile latency by approximately 29% while simultaneously decreasing replica churn by 39%, relative to the single-layer LSTM baseline. These results confirm that mitigating temporal blindness through deep attentive memory is a prerequisite for reliable, low-jitter autoscaling in production edge environments.

自动扩缩容边缘计算LSTM强化学习

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。