paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Testing Coreference Resolution Systems without Labeled Test Sets

无需标注测试集的共指消解系统测试
FSE Proceedings of the 31st ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering2023匹配度 3/10 · 论文研究NLP共指消解系统的蜕变测试,虽涉及自动测试与oracle问题,但与用户核心方向(PL与AI交叉、静态分析、LLM/Agent、浮点/贝叶斯程序分析)关联较弱;研究对象是特定NLP任务而非ML系统或程序代码。引用 4 inbox
Jialun Cao, Yaojie Lu, Ming Wen, Shing-Chi Cheung
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出 Crest,利用句法成分与依存关系定义蜕变关系,无需标注测试集即可自动测试共指消解系统。

共指消解是机器翻译、问答等下游 NLP 应用的核心组件,但其系统测试研究较少。主要困难在于缺少标注测试集,且自动定义捕获期望共指关系的测试预言十分困难。为此,作者提出 Crest,一种面向共指消解系统的自动化测试方法:利用句法成分与依存关系构造受同一共指约束的测试输入对,并据此定义蜕变关系,从而无需标注测试集即可进行蜕变测试。在 CoNLL-2012 随机抽样的 1000 个句子上,作者将 Crest 与五个先进测试生成基线在两个常用共指消解系统上比较;结果显示 Crest 显著优于基线,所报告问题均为真阳性(100% 精确率),而基线为 63%–75%。

问题
共指消解系统测试研究稀缺,核心困难是缺少标注测试集,且自动定义捕获期望共指关系的测试预言困难。
方法
Crest 利用句法成分与依存关系构造共享同一共指关系的测试输入对,并据此定义蜕变关系,实现无需标注测试集的蜕变测试。
评估
在 CoNLL-2012 随机抽取的 1000 个句子上,对两个常用共指消解系统与五个先进测试生成基线进行比较;Crest 报告问题全部为真阳性(100% 精确率),基线为 63%–75%。
原文摘要(Abstract)

Coreference resolution (CR) is a task to resolve different expressions (e.g., named entities, pronouns) that refer to the same real-world en- tity/event. It is a core natural language processing (NLP) component that underlies and empowers major downstream NLP applications such as machine translation, chatbots, and question-answering. De- spite its broad impact, the problem of testing CR systems has rarely been studied. A major difficulty is the shortage of a labeled dataset for testing. While it is possible to feed arbitrary sentences as test inputs to a CR system, a test oracle that captures their expected test outputs (coreference relations) is hard to define automatically. To address the challenge, we propose Crest, an automated testing methodology for CR systems. Crest uses constituency and depen- dency relations to construct pairs of test inputs subject to the same coreference. These relations can be leveraged to define the meta- morphic relation for metamorphic testing. We compare Crest with five state-of-the-art test generation baselines on two popular CR systems, and apply them to generate tests from 1,000 sentences randomly sampled from CoNLL-2012, a popular dataset for corefer- ence resolution. Experimental results show that Crest outperforms baselines significantly. The issues reported by Crest are all true positives (i.e., 100% precision), compared with 63% to 75% achieved by the baselines.

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@inproceedings{CaoL0C23,
  title = {Testing Coreference Resolution Systems without Labeled Test Sets},
  author = {Jialun Cao and Yaojie Lu and Ming Wen and Shing-Chi Cheung},
  booktitle = {FSE},
  year = {2023},
  doi = {10.1145/3611643.3616258}
}