DataVinci:学习句法和语义字符串修复
DataVinci: Learning Syntactic and Semantic String Repairs
AI总结:
针对现有字符串数据清洗方法局限于错误检测、需人工干预且未兼顾句法与语义错误的问题,提出无监督系统DataVinci,结合正则模式、LLM语义抽象与程序执行信息实现错误检测修复,在4个基准上优于7个基线。
摘要:
字符串数据在真实数据集中十分常见:在从网络获取的180万份真实Excel电子表格样本中,67.6%的值以文本形式呈现。能够成功清理此类字符串数据的系统会对真实用户产生重大影响。尽管已有研究探索了字符串数据中的错误,但现有方法通常局限于错误检测,或是要求用户提供标注、示例或约束条件才能修复错误。此外,这些系统分别独立关注字符串中的句法错误或语义错误,却忽略了字符串往往同时包含句法和语义子串的情况。\n我们提出了DataVinci,这是一个完全无监督的字符串数据错误检测与修复系统。DataVinci学习能够覆盖一列中大多数值的基于正则表达式的模式,并将不满足此类模式的值标记为数据错误。DataVinci能够基于多数模式以及从其他列学习到的约束条件,自动生成针对数据错误的编辑操作,无需用户进一步交互。为了处理同时包含句法和语义子串的字符串,DataVinci在学习多数模式和生成编辑操作之前,利用大语言模型(LLM)对字符串中的语义部分进行抽象(并后续重新具体化)。由于并非所有数据都能生成多数模式,DataVinci还利用现有程序(用于读取目标数据)的执行信息,来识别并修正那些原本无法被发现的数据修复项。\n在4个现有基准和新基准上的评估结果显示,DataVinci在错误检测和修复两项任务上的表现均优于7个基线方法。
英文摘要:
String data is common in real-world datasets: 67.6% of values in a sample of 1.8 million real Excel spreadsheets from the web were represented as text. Systems that successfully clean such string data can have a significant impact on real users. While prior work has explored errors in string data, proposed approaches have often been limited to error detection or require that the user provide annotations, examples, or constraints to fix the errors. Furthermore, these systems have focused independently on syntactic errors or semantic errors in strings, but ignore that strings often contain both syntactic and semantic substrings. We introduce DataVinci, a fully unsupervised string data error detection and repair system. DataVinci learns regular-expression-based patterns that cover a majority of values in a column and reports values that do not satisfy such patterns as data errors. DataVinci can automatically derive edits to the data error based on the majority patterns and constraints learned over other columns without the need for further user interaction. To handle strings with both syntactic and semantic substrings, DataVinci uses an LLM to abstract (and re-concretize) portions of strings that are semantic prior to learning majority patterns and deriving edits. Because not all data can result in majority patterns, DataVinci leverages execution information from an existing program (which reads the target data) to identify and correct data repairs that would not otherwise be identified. DataVinci outperforms 7 baselines on both error detection and repair when evaluated on 4 existing and new benchmarks.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。