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

关于少样本上下文学习生成税务准备软件蜕变规范说明的潜力与局限性

On the Potential and Limitations of Few-Shot In-Context Learning to Generate Metamorphic Specifications for Tax Preparation Software

University of Texas El Paso(德克萨斯大学埃尔帕索分校);University of Colorado Boulder(科罗拉多大学博尔德分校)

Dananjay Srinivas, Rohan Das, Saeid Tizpaz-Niari, Ashutosh Trivedi, Maria Leonor Pacheco

AI总结:

本文研究如何利用少样本上下文学习与大语言模型,将税务文件中的自然语言属性自动翻译为一阶逻辑形式的蜕变规范说明,以支持税务准备软件的蜕变测试,并系统分析了该方法的潜力与局限。

摘要:

由于美国所得税法日益复杂,使用税务准备软件(以下简称税务软件)申报税款的美国纳税人数量持续增加。根据美国国税局(IRS)的数据,在2022财年,近50%的纳税人使用税务软件申报个人所得税。鉴于错误申报税款会给纳税人带来法律后果,确保税务软件的正确性至关重要。由于缺乏正确性要求和可信数据集,蜕变测试已成为测试和调试法律关键型税务软件的主要解决方案。蜕变测试背后的核心思想是,通过一个输入与其经过轻微蜕变后的孪生输入之间的关系来表达系统的属性。从IRS税务出版物中提取蜕变属性是一个繁琐且耗时的过程。为此,本文将生成蜕变规范说明的任务形式化为一个翻译任务:将从税务文件中提取的、以自然语言表达的属性转换为对比性一阶逻辑形式。我们对使用大语言模型(LLMs)进行上下文学习在该任务上的潜力和局限性进行了系统性分析,并概述了面向税务准备软件蜕变规范说明自动生成的研究议程。

英文摘要:

Due to the ever-increasing complexity of income tax laws in the United States, the number of US taxpayers filing their taxes using tax preparation software (henceforth, tax software) continues to increase. According to the U.S. Internal Revenue Service (IRS), in FY22, nearly 50% of taxpayers filed their individual income taxes using tax software. Given the legal consequences of incorrectly filing taxes for the taxpayer, ensuring the correctness of tax software is of paramount importance. Metamorphic testing has emerged as a leading solution to test and debug legal-critical tax software due to the absence of correctness requirements and trustworthy datasets. The key idea behind metamorphic testing is to express the properties of a system in terms of the relationship between one input and its slightly metamorphosed twinned input. Extracting metamorphic properties from IRS tax publications is a tedious and time-consuming process. As a response, this paper formulates the task of generating metamorphic specifications as a translation task between properties extracted from tax documents - expressed in natural language - to a contrastive first-order logic form. We perform a systematic analysis on the potential and limitations of in-context learning with Large Language Models(LLMs) for this task, and outline a research agenda towards automating the generation of metamorphic specifications for tax preparation software.

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

↑