Smart-TCP:基于智能体AI的自主自适应TCP协议
Smart-TCP: An Agentic AI-based Autonomous and Adaptive TCP Protocol
AI总结:
提出Smart-TCP框架,利用大/小语言模型与算术逻辑单元协同决策,实现TCP控制逻辑的自适应,实验显示高精度与全生命周期成功率。
摘要:
传输控制协议(TCP)依赖于确定性状态机和序列号算术来确保可靠通信。然而,硬编码的协议逻辑难以适应日益复杂和动态的网络条件。本文提出Smart-TCP,一种基于智能体AI的传输协议框架,将TCP控制逻辑组织为快/慢模型辅助的决策过程。具体而言,特征感知分类器将常规段路由到轻量级小语言模型(SLM)快路径,异常或边界情况则路由到大语言模型(LLM)慢路径,同时算术逻辑单元(ALU)处理确定性的序列号和确认号计算。状态模块维护连接状态、数据包历史记录和关键控制变量,使协议决策能够基于整个会话上下文。我们通过路径分类、原子数据包处理、慢路径异常响应和端到端会话交互来评估Smart-TCP。实验结果表明,Smart-TCP在700个慢路径异常和回退样本上实现了99.14%的动作准确率,并在300个理想快路径端到端会话窗口上实现了100%的全生命周期成功率。这些结果表明,将基于模型的协议推理与确定性算术解耦可提高模型驱动TCP控制的可靠性。
英文摘要:
The Transmission Control Protocol (TCP) relies on deterministic state machines and sequence-number arithmetic to ensure reliable communication. However, hard-coded protocol logic is difficult to adapt to increasingly complex and dynamic network conditions. This paper proposes Smart-TCP, an agentic AI-based transport protocol framework that organizes TCP control logic as a fast/slow model-assisted decision process. Specifically, a feature-aware classifier routes routine segments to a lightweight Small Language Model (SLM) fast path and anomalous or boundary cases to a Large Language Model (LLM) slow path, while an Arithmetic Logic Unit (ALU) handles deterministic computation of sequence and acknowledgment numbers. A state module maintains connection state, packet history, and key control variables, enabling protocol decisions over the full session context. A scoped Protocol Guard checks candidate decisions against RFC-derived rules before execution. We evaluate Smart-TCP through path classification, atomic packet processing, slow-path anomaly response, and end-to-end session interaction. Experimental results show that Smart-TCP achieves 99.14% action accuracy on 700 slow-path anomaly and fallback samples, and a 100% full-lifecycle success rate over 300 ideal fast-path end-to-end session windows. The ordinary 32-KiB transfer tests achieve a 96.5% completion rate at 20% segment loss. These results suggest that separating model-based protocol decisions from deterministic arithmetic improves the reliability of TCP control for network service operation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。