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

文本处理中机器学习的质量效率权衡

Quality-Efficiency Trade-offs in Machine Learning for Text Processing

Universitat Pompeu Fabra(庞培法布拉大学)

Ricardo Baeza-Yates, Zeinab Liaghat

摘要:

数据采掘、机器学习和自然语言处理都是强大的技术,可以一起使用来从大型文本中提取信息。根据手头的任务或问题,可以使用许多不同的方法。可用的方法正在不断优化,但并非所有这些方法都在一组可以使用监督机器学习算法解决的问题中进行了测试和比较。问题是,如果我们将训练数据的大小从100 MB增加到1 GB以上,方法的质量会发生什么变化?此外,当数据处理速度降低时,质量的提高是否值得?我们能否用质量换取时间效率,并通过处理更多数据来弥补质量损失?我们试图回答这些问题,在一般的方式为文本处理任务,考虑权衡涉及训练数据大小,学习时间和质量。我们提出了一个性能权衡框架,并将其应用到三个重要的文本处理问题:命名实体识别,情感分析和文档分类。之所以选择这些问题,也是因为它们具有不同级别的对象粒度:单词、段落和文档。对于每个问题,我们选择了几种有监督的机器学习算法,并在大型公开数据集(新闻,评论,专利)上评估了它们的权衡。为了探索这些权衡,我们使用不同的数据子集,其大小从50 MB到几GB不等。我们还考虑了数据集和评估技术的影响。我们发现,结果并没有显着变化,大多数时候,最好的算法是最快的。然而,我们还表明,小数据(小于100 MB)的结果与大数据的结果不同,在这些情况下,最佳算法更难确定。

英文摘要:

Data mining, machine learning, and natural language processing are powerful techniques that can be used together to extract information from large texts. Depending on the task or problem at hand, there are many different approaches that can be used. The methods available are continuously being optimized, but not all these methods have been tested and compared in a set of problems that can be solved using supervised machine learning algorithms. The question is what happens to the quality of the methods if we increase the training data size from, say, 100 MB to over 1 GB? Moreover, are quality gains worth it when the rate of data processing diminishes? Can we trade quality for time efficiency and recover the quality loss by just being able to process more data? We attempt to answer these questions in a general way for text processing tasks, considering the trade-offs involving training data size, learning time, and quality obtained. We propose a performance trade-off framework and apply it to three important text processing problems: Named Entity Recognition, Sentiment Analysis and Document Classification. These problems were also chosen because they have different levels of object granularity: words, paragraphs, and documents. For each problem, we selected several supervised machine learning algorithms and we evaluated the trade-offs of them on large publicly available data sets (news, reviews, patents). To explore these trade-offs, we use different data subsets of increasing size ranging from 50 MB to several GB. We also consider the impact of the data set and the evaluation technique. We find that the results do not change significantly and that most of the time the best algorithms is the fastest. However, we also show that the results for small data (say less than 100 MB) are different from the results for big data and in those cases the best algorithm is much harder to determine.

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

↑