Twitter是目前最大的社交媒体平台之一,其用户可以分享、阅读名为tweets(推文)的短帖子并与之互动。针对2020年ACM推荐系统会议(ACM RecSys 2020),Twitter发布了一个约70GB的数据集用于年度RecSys挑战赛。2020年的RecSys挑战赛邀请参赛团队构建模型,预测给定用户-推文组合的互动可能性。提交的模型需预测点赞、回复、转发和引用四种互动类型,评估基于两个指标:精确率-召回率曲线下面积(PRAUC)和相对交叉熵(RCE)。\n本学位论文使用RecSys 2020挑战赛的数据集和评估流程,研究仅依靠上下文预测推文互动可能性的效果。研究中,我们在维也纳工业大学(TU Wien)的Little Big Data Cluster(小大数据集群)上使用Spark引擎,构建了可扩展的数据预处理、特征工程、特征选择和机器学习流水线。我们手动创建了近200个额外特征来描述推文上下文。\n结果表明,描述用户过往互动历史、推文中话题标签和链接流行度的特征信息量最高。我们还发现,预测算法、训练数据集规模、训练数据集采样方法以及特征选择等因素会显著影响结果。将我们的仅上下文预测模型的最佳结果,与仅内容模型、挑战赛获胜者开发的模型对比后,我们发现基于上下文的模型在RCE得分上表现较差。本研究最后分析了这一差异的成因,并针对我们的实现方案提出了潜在改进方向,相关代码已公开在公共git仓库中。
英文摘要:
Twitter is currently one of the biggest social media platforms. Its users may share, read, and engage with short posts called tweets. For the ACM Recommender Systems Conference 2020, Twitter published a dataset around 70 GB in size for the annual RecSys Challenge. In 2020, the RecSys Challenge invited participating teams to create models that would predict engagement likelihoods for given user-tweet combinations. The submitted models predicting like, reply, retweet, and quote engagements were evaluated based on two metrics: area under the precision-recall curve (PRAUC) and relative cross-entropy (RCE).
In this diploma thesis, we used the RecSys 2020 Challenge dataset and evaluation procedure to investigate how well context alone may be used to predict tweet engagement likelihood. In doing so, we employed the Spark engine on TU Wien's Little Big Data Cluster to create scalable data preprocessing, feature engineering, feature selection, and machine learning pipelines. We manually created just under 200 additional features to describe tweet context.
The results indicate that features describing users' prior engagement history and the popularity of hashtags and links in the tweet were the most informative. We also found that factors such as the prediction algorithm, training dataset size, training dataset sampling method, and feature selection significantly affect the results. After comparing the best results of our context-only prediction models with content-only models and with models developed by the Challenge winners, we identified that the context-based models underperformed in terms of the RCE score. This work thus concludes by situating this discrepancy and proposing potential improvements to our implementation, which is shared in a public git repository.
Zero-shot Entity and Tweet Characterization with Designed Conditional Prompts and Contexts
International Institute of Information Technology, Bangalore(班加罗尔国际信息技术学院);Indraprastha Institute of Information Technology, Delhi(德里印德拉普拉斯塔信息技术学院);International Institute of Information Technology, Hyderabad(海得拉巴国际信息技术学院)