将“中国墙”逆向工程技术应用于大语言模型代码编辑
Applying the Chinese Wall Reverse Engineering Technique to Large Language Model Code Editing
AI总结:
本文提出将“中国墙”逆向工程技术用于代码大语言模型,通过强模型为弱模型生成指令,使 Comma v0.1 1T 在 CanItEdit 基准上性能提升超 66%,Starcoder2 Instruct 提升约 20%,以提升伦理对齐弱模型的复杂任务能力。
摘要:
用于代码的大语言模型(Code LLM)在编程环境中的应用日益广泛。尽管这些模型具有实用价值,但顶尖 LLM 的训练数据集仍未公开,引发了关于潜在版权侵犯的担忧。一些模型,如 Pleias 和 Comma,强调数据策管与许可证合规;然而,由于训练数据有限,这些模型并不具备竞争力,仅能作为概念验证。为了提高这些模型的实用性,我们提出一种“中国墙”技术的应用方法,其灵感来源于同名的逆向工程技术——使用一个高质量模型为较弱模型生成详细指令。通过这种方式,一个较弱但在伦理上对齐的模型可以被用来执行复杂任务,而这些任务原本只能由更强大的模型完成。在我们的评估中,我们发现该技术使 Comma v0.1 1T 在 CanItEdit 基准测试中的性能提升了超过 66%,并使 Starcoder2 Instruct 的性能相较于单独在基准测试上运行同一模型提升了约 20%。然而,由于缺乏在不受版权限制的公有领域内容上训练的模型,该技术在当前的实际应用可能受到限制。
英文摘要:
Large language models for code (Code LLM) are increasingly utilized in programming environments. Despite their utility, the training datasets for top LLM remain undisclosed, raising concerns about potential copyright violations. Some models, such as Pleias and Comma put emphasis on data curation and licenses, however, with limited training data these models are not competitive and only serve as proof of concepts. To improve the utility of these models, we propose an application of the "Chinese Wall" technique, inspired by the reverse engineering technique of the same name -- a high quality model is used to generate detailed instructions for a weaker model. By doing so, a weaker but ethically aligned model may be used to perform complicated tasks that, otherwise, can only be completed by more powerful models. In our evaluation, we've found that this technique improves Comma v0.1 1T's performance in CanItEdit benchmark by over 66%, and Starcoder2 Instruct by roughly 20% compared to when running the same model on the benchmark alone. The practical application of this technique today, however, may be limited due to the lack of models trained on public domain content without copyright restrictions.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。