Prose-to-P4:利用高级语言
Prose-to-P4: Leveraging High Level Languages
AI总结:
针对P4等可编程数据平面语言开发难度高的问题,提出利用大语言模型将自然语言文本转换为高级网络代码的方案,分析了相关机遇与挑战,给出系统开发路线图,并展示了生成Lucid代码的初步正向结果。
摘要:
P4、NPL等语言已支撑起种类丰富多样的网络应用,这类应用可充分利用可编程数据平面的优势。但使用这些语言进行软件开发的难度较高。为解决该问题,研究人员设计了高级语言,可为程序员提供强大的抽象能力,减少开发网络应用所需的时间、精力与领域知识,这类高级语言随后会通过编译器翻译为P4/NPL代码。受大语言模型(LLM)近期在代码生成任务中取得的成功启发,我们提出进一步提升抽象层级,采用LLM将自然语言文本翻译为高级网络代码。我们对该问题展开分析,重点探讨其研究动机与机遇,以及其中涉及的挑战,并为开发可从自然语言指令生成高级数据平面代码的系统勾勒出路线图。我们还展示了从自然语言生成Lucid代码的初步实验结果,效果颇具前景。
英文摘要:
Languages such as P4 and NPL have enabled a wide and diverse range of networking applications that take advantage of programmable dataplanes. However, software development in these languages is difficult. To address this issue, high-level languages have been designed to offer programmers powerful abstractions that reduce the time, effort and domain-knowledge required for developing networking applications. These languages are then translated by a compiler into P4/NPL code. Inspired by the recent success of Large Language Models (LLMs) in the task of code generation, we propose to raise the level of abstraction even higher, employing LLMs to translate prose into high-level networking code. We analyze the problem, focusing on the motivation and opportunities, as well as the challenges involved and sketch out a roadmap for the development of a system that can generate high-level dataplane code from natural language instructions. We present some promising preliminary results on generating Lucid code from natural language.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。