新的编译器栈:关于大型语言模型与编译器协同的综述
The New Compiler Stack: A Survey on the Synergy of LLMs and Compilers
AI总结:
本文综述了大型语言模型与编译器协同的新兴领域,提出了多维度分类法,揭示了LLMs在编译器开发中的三大优势,并指明了混合系统的发展路径。
摘要:
本文综述性地提供了关于由大型语言模型(LLMs)赋能的编译领域新兴领域的系统性概述,通过回答几个关键研究问题来实现。我们首先回答了LLMs是如何被集成的,提出了一个全面的、多维度的分类法,根据其设计哲学(选择器、翻译器、生成器)、LLM方法论、其操作的代码抽象级别以及其特定的任务类型来分类相关工作。在回答这些方法所带来的进展时,我们识别出三个主要优势:编译器开发的民主化、发现新的优化策略以及扩大编译器传统范围。最后,在回答该领域挑战和机遇时,我们强调了确保正确性和实现可扩展性的关键障碍,并将开发混合系统作为最有前途的发展路径。通过提供这些答案,本文综述为研究人员和实践者提供了基础路线图,为新一代由LLMs驱动、智能、适应性和协同的编译工具指明了方向。
英文摘要:
This survey has provided a systematic overview of the emerging field of LLM-enabled compilation by addressing several key research questions. We first answered how LLMs are being integrated by proposing a comprehensive, multi-dimensional taxonomy that categorizes works based on their Design Philosophy (Selector, Translator, Generator), LLM Methodology, their operational Level of Code Abstraction, and the specific Task Type they address. In answering what advancements these approaches offer, we identified three primary benefits: the democratization of compiler development, the discovery of novel optimization strategies, and the broadening of the compiler's traditional scope. Finally, in addressing the field's challenges and opportunities, we highlighted the critical hurdles of ensuring correctness and achieving scalability, while identifying the development of hybrid systems as the most promising path forward. By providing these answers, this survey serves as a foundational roadmap for researchers and practitioners, charting the course for a new generation of LLM-powered, intelligent, adaptive and synergistic compilation tools.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。