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

SPEAR:Python中的半监督数据编程

SPEAR : Semi-supervised Data Programming in Python

Indian Institute of Technology Bombay(印度理工学院孟买分校);The University of Texas at Dallas(德克萨斯大学达拉斯分校)

Guttu Sai Abhishek, Harshad Ingole, Parth Laturia, Vineeth Dorna, Ayush Maheshwari, Rishabh Iyer, Ganesh Ramakrishnan

摘要:

我们提出了一个开源的Python库,用于半监督的数据编程。该软件包实现了几种最新的数据编程方法,包括以编程方式标记和构建训练数据的工具。SPECTRA以分类(或规则)的形式促进弱监督,并将噪声标签与训练数据集相关联。这些噪声标签被聚合以将标签分配给下游任务的未标记数据。我们已经实现了几种标签聚合方法,聚合的噪声标签,然后训练使用噪声标记的集合在级联的方式。我们的实现还包括联合聚合和训练文本分类任务的模型的其他方法。因此,在我们的python包中,我们集成了几种级联和联合数据编程方法,同时还通过让用户定义标记函数或规则来提供数据编程的便利。代码和教程笔记本可以在https://github.com/decile-team/spear上找到。此外,可以在https://spear-decile.readthedocs.io/上找到大量文档。演示我们软件包使用方法的视频教程可在此处获得。我们还介绍了SPECTRA的一些真实用例。

英文摘要:

We present SPEAR, an open-source python library for data programming with semi supervision. The package implements several recent data programming approaches including facility to programmatically label and build training data. SPEAR facilitates weak supervision in the form of heuristics (or rules) and association of noisy labels to the training dataset. These noisy labels are aggregated to assign labels to the unlabeled data for downstream tasks. We have implemented several label aggregation approaches that aggregate the noisy labels and then train using the noisily labeled set in a cascaded manner. Our implementation also includes other approaches that jointly aggregate and train the model for text classification tasks. Thus, in our python package, we integrate several cascade and joint data-programming approaches while also providing the facility of data programming by letting the user define labeling functions or rules. The code and tutorial notebooks are available at https://github.com/decile-team/spear. Further, extensive documentation can be found at https://spear-decile.readthedocs.io/. Video tutorials demonstrating the usage of our package are available here. We also present some real-world use cases of SPEAR.

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

↑