Efficiently synchronizing data with social media feeds while minimizing unnecessary requests presents a significant challenge in various fields. This paper investigates prediction algorithms for determining the optimal update intervals for Facebook and Twitter (now X) feeds, focusing on metrics such as delay (the time between a post’s publication and its retrieval) and requests per post. Variations in update intervals result in different algorithms producing varying results, making the selection of the most suitable algorithm for each feed crucial yet time-intensive. To address this, we propose three strategies for algorithm selection: baseline (applying a single algorithm to all feeds), optimum (identifying the best algorithm for each individual feed), and classification (selecting algorithms through a classification process based on each feed’s unique update patterns and context). Our strategies leverage various prediction algorithms, including static and adaptive algorithms, and inhomogeneous Poisson processes. We evaluate these strategies using real-world data from Facebook and Twitter, thoroughly assessing their performance in terms of delay and request efficiency. The findings demonstrate that the strategy Optimum effectively identifies the best algorithms for each feed, ensuring the highest prediction quality, though at a considerable computational cost. On the other hand, the strategy Classification offers superior runtime performance required to select algorithms. This research highlights the trade-offs between delay and request efficiency and presents a comprehensive solution for optimizing update predictions in social media feeds.
Efficiently synchronizing data with external sources, such as social media feeds, while minimizing well-timed requests is a challenge in various domains. This research investigates prediction algorithms for determining appropriate update intervals for Facebook and Twitter feeds, considering metrics such as the delay (time between a post's publication and retrieval) and requests per post. Due to variations in update intervals, different algorithms yield diverse results. Selecting the most suitable algorithm for each feed is a time-consuming but crucial task for achieving optimal resource usage. We propose three strategies for algorithm selection: baseline (using a single algorithm per feed), optimum (calculating the best algorithm for each feed), and classification (identifying algorithms through classification). Real-world data from Facebook and Twitter are used to evaluate the strategies, comprehensively assessing their strengths and weaknesses. Findings demonstrate that the strategy optimum identifies the best algorithms, while the strategy classification selects fairly good algorithms at significantly reduced computational effort.
In recent years, toxic content and hate speech have become widespread phenomena on the internet. Moderators of online newspapers and forums are now required, partly due to legal regulations, to carefully review and, if necessary, delete reader comments. This is a labor-intensive process. Some providers of large language models already offer solutions for automated hate speech detection or the identification of toxic content. These include GPT-4o from OpenAI, Jigsaw's (Google) Perspective API, and OpenAI's Moderation API. Based on the selected German test dataset HOCON34k, which was specifically created for developing tools to detect hate speech in reader comments of online newspapers, these solutions are compared with each other and against the HOCON34k baseline. The test dataset contains 1,592 annotated text samples. For GPT-4o, three different promptings are used, employing a Zero-Shot, One-Shot, and Few-Shot approach. The results of the experiments demonstrate that GPT-4o outperforms both the Perspective API and the Moderation API, and exceeds the HOCON34k baseline by approximately 5 percentage points, as measured by a combined metric of MCC and F2-score.