arXiv:2601.18974cs.NIcs.CL2026-01中稿 · IEEE International…

用自然语言自动配置网络流量策略,提升效率与准确性。

Intent2QoS: Language Model-Driven Automation of Traffic Shaping Configurations

  • 基于排队论模型和语言模型,将自然语言意图转为可执行的流量规则。
  • 在100个意图测试中,LLaMA3达到0.88语义相似度与0.87覆盖率。
  • AQM引导提示使结果波动减少三分之二,适合网络运维人员使用。

流量整形与服务质量(QoS)管理对网络带宽、延迟和公平性至关重要。传统方法依赖低层流量控制配置,需手动设置且技术门槛高。本文提出首个端到端自动化框架,将自然语言或声明式语言中的高阶流量意图,转化为正确有效的流量控制规则。框架包含三步:(1) 基于优先级调度和主动队列管理(AQM)的排队仿真构建语义模型;(2) 利用该模型与流量画像,由语言模型生成子意图和配置规则;(3) 通过规则判别器检查并修正规则,确保正确性与策略合规。我们在100个业务意图上评估多个语言模型,结果显示LLaMA3在语义相似度达0.88、语义覆盖率达0.87,优于其他模型超30%。敏感性分析表明,AQM引导提示使结果变异性降低三倍,较零样本基线显著提升。

原文摘要 · Abstract (English)

Traffic shaping and Quality of Service (QoS) enforcement are critical for managing bandwidth, latency, and fairness in networks. These tasks often rely on low-level traffic control settings, which require manual setup and technical expertise. This paper presents an automated framework that converts high-level traffic shaping intents in natural or declarative language into valid and correct traffic control rules. To the best of our knowledge, we present the first end-to-end pipeline that ties intent translation in a queuing-theoretic semantic model and, with a rule-based critic, yields deployable Linux traffic control configuration sets. The framework has three steps: (1) a queuing simulation with priority scheduling and Active Queue Management (AQM) builds a semantic model; (2) a language model, using this semantic model and a traffic profile, generates sub-intents and configuration rules; and (3) a rule-based critic checks and adjusts the rules for correctness and policy compliance. We evaluate multiple language models by generating traffic control commands from business intents that comply with relevant standards for traffic control protocols. Experimental results on 100 intents show significant gains, with LLaMA3 reaching 0.88 semantic similarity and 0.87 semantic coverage, outperforming other models by over 30\. A thorough sensitivity study demonstrates that AQM-guided prompting reduces variability threefold compared to zero-shot baselines.

网络自动化语言模型流量控制QoS

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