Skip to main content
QUICK REVIEW

[Paper Review] LOLA: LLM-Assisted Online Learning Algorithm for Content Experiments

Zikun Ye, Hema Yoganarasimhan|arXiv (Cornell University)|Jun 3, 2024
Online Learning and AnalyticsComputer Science4 citations
TL;DR

LOLA is a novel online learning algorithm that integrates Large Language Models (LLMs) with the Upper Confidence Bound (UCB) bandit algorithm to optimize content delivery in real-time. By combining LLM-based headline ranking with adaptive traffic allocation, LOLA reduces regret and outperforms standard A/B testing, pure bandit methods, and standalone LLMs—achieving up to 84% accuracy in headline selection and significantly improving click-through rates in low-traffic or high-arm scenarios.

ABSTRACT

Modern media firms require automated and efficient methods to identify content that is most engaging and appealing to users. Leveraging a large-scale dataset from Upworthy (a news publisher), which includes 17,681 headline A/B tests, we first investigate the ability of three pure-LLM approaches to identify the catchiest headline: prompt-based methods, embedding-based methods, and fine-tuned open-source LLMs. Prompt-based approaches perform poorly, while both OpenAI-embedding-based models and the fine-tuned Llama-3-8B achieve marginally higher accuracy than random predictions. In sum, none of the pure-LLM-based methods can predict the best-performing headline with high accuracy. We then introduce the LLM-Assisted Online Learning Algorithm (LOLA), a novel framework that integrates Large Language Models (LLMs) with adaptive experimentation to optimize content delivery. LOLA combines the best pure-LLM approach with the Upper Confidence Bound algorithm to allocate traffic and maximize clicks adaptively. Our numerical experiments on Upworthy data show that LOLA outperforms the standard A/B test method (the current status quo at Upworthy), pure bandit algorithms, and pure-LLM approaches, particularly in scenarios with limited experimental traffic. Our approach is scalable and applicable to content experiments across various settings where firms seek to optimize user engagement, including digital advertising and social media recommendations.

Motivation & Objective

  • To address the inefficiency of standard A/B testing in content experiments, where equal traffic allocation to all headlines leads to high regret due to short article lifetimes.
  • To overcome the cold-start problem in online bandit algorithms, where suboptimal arms receive excessive traffic during initial exploration.
  • To evaluate the performance of pure LLM-based approaches (prompting, embeddings, fine-tuning) in identifying catchier headlines.
  • To design and validate a hybrid framework, LOLA, that leverages LLMs for initial ranking and bandits for adaptive traffic allocation to maximize clicks.
  • To demonstrate scalability and effectiveness of LOLA across diverse digital content settings, including news, social media, and advertising.

Proposed method

  • LOLA uses OpenAI embeddings to classify headline pairs based on predicted click-through rate (CTR) differences, achieving ~82-84% accuracy in identifying the better-performing headline.
  • It integrates the best-performing LLM-based classifier with the Upper Confidence Bound (UCB) bandit algorithm to dynamically allocate traffic based on estimated performance and uncertainty.
  • The algorithm starts with LLM-generated confidence scores for each headline, then uses UCB to balance exploration and exploitation, prioritizing arms with high expected reward and high uncertainty.
  • LOLA is trained and evaluated on a large-scale dataset of 17,681 Upworthy headline A/B tests, where each test compares multiple headlines for the same article.
  • Traffic allocation is adaptively shifted toward higher-performing headlines over time, minimizing regret and improving overall click yield.
  • The framework is designed to be scalable and generalizable to content optimization in digital advertising, social media, and news recommendation systems.

Experimental results

Research questions

  • RQ1How well do pure LLM-based approaches (prompting, embeddings, fine-tuning) perform in identifying the catchier of two headlines?
  • RQ2Can LLM-based models outperform random guessing in headline selection, and how do they compare to human judgment?
  • RQ3Does combining LLM-based ranking with bandit algorithms reduce regret compared to standard A/B testing and pure bandit methods?
  • RQ4How does LOLA perform in low-traffic or high-arm content experimentation scenarios?
  • RQ5Can the integration of LLMs mitigate the cold-start problem in online learning algorithms for content delivery?

Key findings

  • Prompt-based LLM approaches achieved at most 65% accuracy in identifying the better-performing headline, indicating poor performance for this task.
  • OpenAI-embedding-based classification models and fine-tuned Llama-3-8b models achieved comparable accuracy of 82-84%, significantly outperforming random guessing (50% expectation).
  • Human judgment, as measured through two surveys, showed no significant advantage over random guessing, with accuracies of 45.22% and 51.58%, respectively, and no significant differences across news-reading frequency groups.
  • LOLA outperformed standard A/B testing, pure bandit algorithms, and pure LLM methods in terms of regret reduction and click-through rate optimization, especially in low-traffic or high-arm scenarios.
  • The integration of LLMs with bandit algorithms significantly reduced early regret by leveraging LLMs to guide initial traffic allocation, mitigating the cold-start problem.
  • LOLA demonstrated scalability and broad applicability across digital content settings, including news, social media, and digital advertising, where user engagement is a key metric.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.