arXiv:2411.06376cs.LGcs.AI2024-11中稿 · DAC'26

用AI生成符合PCIe协议的设备通信数据,解决生成内容乱序失效问题。

The Phantom of PCIe: Constraining Generative Artificial Intelligences for Practical Peripherals Trace Synthesizing

  • 将生成模型与协议约束过滤器结合,确保输出符合PCIe规则。
  • 生成的TLP数据在关键指标上提升最高达1000倍,FID改善2.19倍。
  • 适合芯片设计、硬件仿真等需要真实通信数据的场景。

外围组件互联快速接口(PCIe)是高速外设与CPU之间的主流互连标准。新兴应用的PCIe设备开发需要能真实模拟设备-处理器交互的事务层包(TLP)数据流。尽管生成式人工智能为合成复杂TLP序列提供了新路径,但所有生成任务固有的幻觉问题导致其常产生违反PCIe协议基本规则(如顺序性与因果性)的无效数据,无法用于设备仿真。为此,本文提出Phantom框架,通过将生成模型与新型后处理过滤器结合,系统性解决AI生成中的幻觉问题。该方法有效消除不符合PCIe规范的TLP序列。我们在实际网卡上验证了Phantom的性能,实验结果表明其可生成实用的大规模TLP数据,在特定任务指标上相比仅用基础模型提升最高达1000倍,弗雷歇起始距离(FID)改善2.19倍。原型已开源。

原文摘要 · Abstract (English)

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.

生成模型PCIe仿真硬件验证

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