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

使用最大集合覆盖方法优化Twitter主题分类器的搜索API搜索

Optimizing Search API Queries for Twitter Topic Classifiers Using a Maximum Set Coverage Approach

Kasra Safari, Scott Sanner

摘要:

Twitter已经发展成为获取有关重大事件和动态主题的即时信息的重要平台。作为一个例子,最近的工作表明,训练用于检测Twitter上的主题内容的分类器可以推广到远远超出训练数据的范围。由于对Twitter数据的访问隐藏在有限的搜索API之后,因此(对于大多数用户)不可能将这些分类器直接应用于Twitter未过滤的数据流(“firehose”)。相反,应用程序必须首先决定通过搜索API检索什么内容,然后再使用主题分类器过滤该内容。因此,以最小化检索到的负面分类数据量的方式相对于预期的主题分类器查询Twitter API是至关重要的。在本文中,我们提出了一系列的查询优化方法,概括的最大覆盖问题的概念,找到的API限制内的查询条件,覆盖大多数的主题相关的推文,而不牺牲精度的子集。我们在2013年和2014年收集的Twitter数据的大型数据集上评估了所提出的方法,这些数据使用手动策划的八个主题的标签进行标记。在许多见解中,我们的分析表明,所提出的方法中最好的方法在精度和F1分数上可以显着优于firehose,同时在严格的API限制内实现高召回率。

英文摘要:

Twitter has grown to become an important platform to access immediate information about major events and dynamic topics. As one example, recent work has shown that classifiers trained to detect topical content on Twitter can generalize well beyond the training data. Since access to Twitter data is hidden behind a limited search API, it is impossible (for most users) to apply these classifiers directly to the Twitter unfiltered data streams ("firehose"). Rather, applications must first decide what content to retrieve through the search API before filtering that content with topical classifiers. Thus, it is critically important to query the Twitter API relative to the intended topical classifier in a way that minimizes the amount of negatively classified data retrieved. In this paper, we propose a sequence of query optimization methods that generalize notions of the maximum coverage problem to find the subset of query terms within the API limits that cover most of the topically relevant tweets without sacrificing precision. We evaluate the proposed methods on a large dataset of Twitter data collected during 2013 and 2014 labeled using manually curated hashtags for eight topics. Among many insights, our analysis shows that the best of the proposed methods can significantly outperform the firehose on precision and F1-score while achieving high recall within strict API limitations.

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

↑