PCIe的幽灵:约束生成人工智能以实现实用外设追踪合成
The Phantom of PCIe: Constraining Generative Artificial Intelligences for Practical Peripherals Trace Synthesizing
AI总结:
本文提出Phantom框架,通过结合生成模型与后处理过滤器,解决生成AI在合成TLP序列时的幻觉问题,提升外设追踪合成的准确性与实用性。
摘要:
Peripheral Component Interconnect Express (PCIe) 是高速外设和 CPU 的事实互连标准。新兴应用开发需要真实 Transaction Layer Packet (TLP) 跟踪,以准确模拟设备与 CPU 的交互。尽管生成式 AI 提供了合成复杂 TLP 序列的有希望途径,但其易受所有生成任务固有挑战的影响:幻觉。简单应用这些模型通常会产生违反基本 PCIe 协议规则的跟踪,如顺序性和因果性,使其无法用于设备模拟。为了解决这个问题,我们的工作引入了一种方法,以弥合生成式 AI 与高保真设备模拟之间的差距。本文提出了Phantom,一个框架,系统地解决 TLP 合成中的 AI 生成幻觉问题。Phantom 通过将生成骨干与新的后处理过滤器相结合,强制执行 PCIe 特定的约束,从而有效消除无效的 TLP 序列。我们通过为实际 PCIe 网络接口卡合成 TLP 跟踪来验证 Phantom 的有效性。实验结果表明,Phantom 生成的 TLP 跟踪是实用的、大规模的,显著优于现有模型,任务特定指标的改进高达 1000 倍,与仅骨干方法相比,Fréchet Inception 距离 (FID) 提高了 2.19 倍。原型实现已开源。
英文摘要:
Peripheral Component Interconnect Express (PCIe) is the de facto interconnect standard for high-speed peripherals and CPUs. The development of PCIe devices for emerging applications requires realistic Transaction Layer Packet (TLP) traces that accurately simulate device-CPU interactions. While generative AI offers a promising avenue for synthesizing complex TLP sequences, it is prone to a critical challenge inherent in all generation tasks: hallucination. Naively applying these models often produces traces that violate fundamental PCIe protocol rules, such as ordering and causality, rendering them unusable for device simulation. To resolve this, our work introduces a methodology to bridge the gap between generative AI and high-fidelity device simulation. This paper presents Phantom, a framework that systematically addresses AI-generated hallucinations in TLP synthesis. Phantom achieves this by coupling a generative backbone with a novel post-processing filter that enforces PCIe-specific constraints, effectively eliminating invalid TLP sequences. We validate Phantom's effectiveness by synthesizing TLP traces for an actual PCIe network interface card. Experimental results show that Phantom produces practical, large-scale TLP traces, significantly outperforming existing models, with improvements of up to 1000$\times$ in task-specific metrics and up to 2.19$\times$ in Fréchet Inception Distance (FID) compared to backbone-only methods. The prototype implementation has been made open-source.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。