一句话:提出 COREQQA,用 BERT 家族模型对法律文档做问答以辅助理解合规需求。
COREQQA 是一款辅助需求工程师理解合规需求的自动化问答工具。从法律文档中人工提取合规相关需求耗时且易错。COREQQA 允许工程师就某一合规主题(如数据泄露)用自然语言提问;工具随后自动浏览法律文档,返回可能包含答案的文本片段,并在片段中突出可能的答案,供工程师据此编写合规需求。该工具基于 BERT 家族的大规模语言模型实现。作者在四份法律文档上对 COREQQA 进行了评估,并简要报告了评估结果;工具已在 Zenodo 公开。
We introduce COREQQA, a tool for assisting requirements engineers in acquiring a better understanding of compliance requirements by means of automated Question Answering. Extracting compliance-related requirements by manually navigating through a legal document is both time-consuming and error-prone. COREQQA enables requirements engineers to pose questions in natural language about a compliance-related topic given some legal document, e.g., asking about data breach. The tool then automatically navigates through the legal document and returns to the requirements engineer a list of text passages containing the possible answers to the input question. For better readability, the tool also highlights the likely answers in these passages. The engineer can then use this output for specifying compliance requirements. COREQQA is developed using advanced large-scale language models from BERT’s family. COREQQA has been evaluated on four legal documents. The results of this evaluation are briefly presented in the paper. The tool is publicly available on Zenodo (https://doi.org/10.5281/zenodo.6653514).