paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Automated Testing and Improvement of Named Entity Recognition Systems

命名实体识别系统的自动化测试与改进
FSE Proceedings of the 31st ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering2023匹配度 4/10 · 论文研究 NER 系统的自动化测试与修复,属于机器学习系统可靠性/调试与修复方向,与“PL→AI 对 ML 系统应用分析技术”有弱关联;但它不涉及静态分析、Agent/LLM、浮点程序分析或贝叶斯程序分析,匹配度有限。引用 17 inbox
Boxi Yu, Yiyan Hu, Qiuyang Mang, Wenhan Hu, Pinjia He
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:提出TIN,利用相似上下文下命名实体预测一致性来自动测试并修复NER系统。

深度神经网络驱动的命名实体识别(NER)系统虽广泛应用,但复杂性和不可解释性会导致不可靠预测,如漏识、过度标注、类别和范围错误。作者提出TIN,自动测试利用同一命名实体在相似上下文中预测应一致的约束发现可疑错误,自动修复利用相似命名实体在同一上下文中预测应一致的约束修复错误。在两个SOTA NER模型和Azure、AWS商业API上,人工验证784个可疑问题,确认702个为真错误,四类错误精度达85.0%-93.4%;修复使错误降低26.8%-50.6%,修复1877个错误中的1056个。

问题
深度NER系统在复杂场景下可能产生不可靠预测,出现遗漏、过度标注、类别错误和范围错误。
方法
提出TIN,基于相似上下文下相同命名实体预测一致、及相似命名实体在相同上下文中预测一致的思想,自动发现并修复NER错误。
评估
在两个SOTA NER模型和Azure、AWS NER API上测试,人工验证784个可疑问题,702个为真错误,精度85.0%-93.4%;修复降低26.8%-50.6%错误,修复1056/1877个错误。
原文摘要(Abstract)

Named entity recognition (NER) systems have seen rapid progress in recent years due to the development of deep neural networks. These systems are widely used in various natural language processing applications, such as information extraction, question answering, and sentiment analysis. However, the complexity and intractability of deep neural networks can make NER systems unreliable in certain circumstances, resulting in incorrect predictions. For example, NER systems may misidentify female names as chemicals or fail to recognize the names of minority groups, leading to user dissatisfaction. To tackle this problem, we introduce TIN, a novel, widely applicable approach for automatically testing and repairing various NER systems. The key idea for automated testing is that the NER predictions of the same named entities under similar contexts should be identical. The core idea for automated repairing is that similar named entities should have the same NER prediction under the same context. We use TIN to test two SOTA NER models and two commercial NER APIs, i.e., Azure NER and AWS NER. We manually verify 784 of the suspicious issues reported by TIN and find that 702 are erroneous issues, leading to high precision (85.0%-93.4%) across four categories of NER errors: omission, over-labeling, incorrect category, and range error. For automated repairing, TIN achieves a high error reduction rate (26.8%-50.6%) over the four systems under test, which successfully repairs 1,056 out of the 1,877 reported NER errors.

链接与引用

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

BibTeX
@inproceedings{abs-2308-07937,
  title = {Automated Testing and Improvement of Named Entity Recognition Systems},
  author = {Boxi Yu and Yiyan Hu and Qiuyang Mang and Wenhan Hu and Pinjia He},
  booktitle = {FSE},
  year = {2023},
  doi = {10.1145/3611643.3616295}
}