arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.18488cs.SEcs.AI
收藏

评估使用COBOL代码输入的生成系统对扰动的鲁棒性

Evaluating perturbation robustness of generative systems that use COBOL code inputs

IBM Research(IBM研究院)

Samuel Ackerman, Wesam Ibraheem, Orna Raz, Marcel Zalmanovici

AI总结:

本文提出评估使用COBOL代码输入的生成系统鲁棒性的框架,通过扰动方法和可视化工具提升系统对输入变化的鲁棒性。

摘要:

包含大语言模型(LLMs)的系统已知对不改变输入含义的微小输入变化敏感(即不鲁棒),这种敏感性可能会降低系统的实用性。本文提出了一种框架,用于评估使用COBOL代码作为输入的系统的鲁棒性;我们的应用是COBOL与Java编程语言之间的翻译,但该方法可扩展到其他任务,如代码生成或解释。针对使用COBOL作为输入的系统的鲁棒性是至关重要的,但具有挑战性。许多关键业务应用是用COBOL编写的,但这些通常是专有遗留应用,其代码通常无法供LLMs训练使用。我们开发了一组COBOL段落和完整程序的扰动方法库,并创建了针对特定任务的示例基准数据集的变体扩展版本。通过测量系统输出上个体和汇总指标的变化来评估LLM系统的鲁棒性。最后,我们展示了一系列动态表格和图表可视化仪表板,用于帮助调试系统的输出,并监控和理解系统对输入变化敏感的根本原因。这些工具可以进一步用于改进系统,例如通过指示应通过预处理步骤处理的变体。

英文摘要:

Systems incorporating large language models (LLMs) as a component are known to be sensitive (i.e., non-robust) to minor input variations that do not change the meaning of the input; such sensitivity may reduce the system's usefulness. Here, we present a framework to evaluate robustness of systems using COBOL code as input; our application is translation between COBOL and Java programming languages, but the approach extends to other tasks such as code generation or explanation. Targeting robustness of systems with COBOL as input is essential yet challenging. Many business-critical applications are written in COBOL, yet these are typically proprietary legacy applications and their code is unavailable to LLMs for training. We develop a library of COBOL paragraph and full-program perturbation methods, and create variant-expanded versions of a benchmark dataset of examples for a specific task. The robustness of the LLM-based system is evaluated by measuring changes in values of individual and aggregate metrics calculated on the system's outputs. Finally, we present a series of dynamic table and chart visualization dashboards that assist in debugging the system's outputs, and monitoring and understanding root causes of the system's sensitivity to input variation. These tools can be further used to improve the system by, for instance, indicating variations that should be handled by pre-processing steps.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑