arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2101.07138cs.CLcs.LG
收藏

教我如何标记:使用文本到文本转换器Transformers从自然语言标记函数

Teach me how to Label: Labeling Functions from Natural Language with Text-to-text Transformers

Yannis Papanikolaou

摘要:

注释数据已成为训练准确机器学习模型的最重要瓶颈,特别是对于需要领域专业知识的领域。处理上述问题的最新方法提出使用自然语言解释而不是标记各个数据点,从而提高了人类注释者的效率并大大降低了成本。本文的重点是将这些自然语言描述转换为Python标签函数,通过使用预训练的文本到文本Transformers进行语义解析的新方法。在一系列的实验中,我们的方法在语义解析基准测试CoNaLa上达到了一个新的水平,超过了以前的最佳方法3.7个BLEU点。此外,在手动构造的自然语言标注-标记函数对的数据集上,我们实现了0.39的BLEU。我们的方法可以被看作是一个垫脚石模型,教导如何标记在自然语言,而不是提供特定的标记样本。我们的代码,构造的数据集和模型可在https://github.com/ypapanik/t5-for-code-generation上获得。

英文摘要:

Annotated data has become the most important bottleneck in training accurate machine learning models, especially for areas that require domain expertise. A recent approach to deal with the above issue proposes using natural language explanations instead of labeling individual data points, thereby increasing human annotators' efficiency as well as decreasing costs substantially. This paper focuses on the task of turning these natural language descriptions into Python labeling functions by following a novel approach to semantic parsing with pre-trained text-to-text Transformers. In a series of experiments our approach achieves a new state of the art on the semantic parsing benchmark CoNaLa, surpassing the previous best approach by 3.7 BLEU points. Furthermore, on a manually constructed dataset of natural language descriptions-labeling functions pairs we achieve a BLEU of 0.39. Our approach can be regarded as a stepping stone towards models that are taught how to label in natural language, instead of being provided specific labeled samples. Our code, constructed dataset and models are available at https://github.com/ypapanik/t5-for-code-generation.

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

↑