用大语言模型与检索增强生成提升AI研究代码一致性
Enhancing Code Consistency in AI Research with Large Language Models and Retrieval-Augmented Generation
一套新系统利用检索增强生成从研究论文与代码库中提取相关细节,再通过大语言模型进行结构化比对,以核验代码实现是否与论文所述算法和方法一致。该系统提升了代码实现验证的准确性与全面性,并减少人工投入,有助于增强AI研究的透明度、可解释性与可复现性。
arXiv:2502.00611v2 Announce Type: replace-cross Abstract: Ensuring that code accurately reflects the algorithms and methods described in research papers is critical for maintaining credibility and fostering trust in AI research. This paper presents a novel system designed to verify code implementations against the algorithms and methodologies outlined in corresponding research papers. Our system employs Retrieval-Augmented Generation to extract relevant details from both the research papers and code bases, followed by a structured comparison using Large Language Models. This approach improves the accuracy and comprehensiveness of code implementation verification while contributing to the transparency, explainability, and reproducibility of AI research. By automating the verification process, our system reduces manual effort, enhances research credibility, and ultimately advances the state of the art in code verification.
来源:arXiv (AI + Vision + Imaging) · arxiv.org