使逻辑成为生成ML在网络中的第一公民
Making Logic a First-Class Citizen in Generative ML for Networking
AI总结:
本文提出NetNomos框架,通过整合显式网络知识规则提升生成模型在网络任务中的可靠性与可控制性,展示了其在 telemetry imputation、traffic forecasting 和 synthetic data generation 中的优越性能。
摘要:
生成ML模型在网络任务中日益流行,如遥测补全、预测和合成跟踪生成。尽管其能力,但存在两个不足:(i) 输出常违反已知网络规则,削弱可信度;(ii) 控制困难,微小变化需重新训练。为解决这些问题,本文提出一种新范式,将显式网络知识(形式为一阶逻辑规则)整合到网络任务的ML模型中。规则捕捉观测信号间的已知关系,例如延迟增加先于包丢失。虽然概念简单,但实现具有挑战性:网络知识很少形式化为规则,直接注入ML模型常损害其效果。本文引入NetNomos,多阶段框架可 (i) 从数据直接学习规则;(ii) 过滤选择语义有意义的规则;(iii) 通过ML模型与Satisfiability Modulo Theories (SMT)求解器协作执行规则。我们评估了NetNomos在四个不同网络数据集上的组件级和端到端性能。结果显示NetNomos从四个真实数据集学习了多样且有意义的规则,并比DuoAI等最先进的规则学习方法更可扩展。通过在通用GPT-2模型上强制执行这些规则,NetNomos在三个网络任务中表现与或超越了专精的SOTA系统如Zoom2Net和NetShare。
英文摘要:
Generative ML models are increasingly popular in networking for tasks such as telemetry imputation, prediction, and synthetic trace generation. Despite their capabilities, they suffer from two shortcomings: \emph{(i)} their output is often visibly violating well-known networking rules, which undermines their trustworthiness; and \emph{(ii)} they are difficult to control, frequently requiring retraining even for minor changes. To address these limitations and unlock the benefits of generative models for networking, we propose a new paradigm for integrating explicit network knowledge, in the form of first-order logic rules, into ML models used for networking tasks. Rules capture well-known relationships among observed signals, e.g., that increased latency precedes packet loss. While the idea is conceptually straightforward, its realization is challenging: networking knowledge is rarely formalized into rules, and naively injecting rules into ML models often hampers their effectiveness. This paper introduces NetNomos, a multi-stage framework that \emph{(i)} learns rules directly from data (e.g., measurements); \emph{(ii)} filters them to select semantically meaningful ones; and \emph{(iii)} enforces them through collaborative generation between an ML model and a Satisfiability Modulo Theories (SMT) solver. %We evaluate NetNomos both component-wise and end-to-end across four diverse network datasets. We show that NetNomos learns diverse, meaningful rules from four real-world datasets and is 1.6--6.5$\times$ more scalable than DuoAI, a state-of-the-art (SOTA) rule-learning method. By enforcing these rules on a generic GPT-2 model, NetNomos achieves performance on par with or even surpassing specialized SOTA systems such as Zoom2Net and NetShare across three networking tasks: telemetry imputation, traffic forecasting, and synthetic data generation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。