Abstract
As the demand for real-time, personalized media content grows, traditional editorial workflows struggle to keep pace with the volume of data generated by global sports and music events. This paper details a production-ready framework for scaling media content generation using Large Language Models (LLMs). By evolving from fine-tuned T5 models to RAG-enhanced Llama 2 architectures, the system achieved a 15x improvement in content production speed, successfully serving 90 million fans and generating 8 billion page views during high-profile events like the 2023 US Open and the GRAMMYs.
Introduction
Providing play-by-play commentary for every athlete in a tournament or custom insights for millions of fantasy sports participants requires a level of throughput that far exceeds human editorial capacity. Historically, organizations relied on massive human teams or rigid, template-based systems. However, these solutions often lacked the "color," variety, and stylistic nuance required to engage modern audiences.
This research addresses the challenge of building a generative AI system that is simultaneously scalable (handling up to 30,000 requests per second), factually accurate (minimizing hallucinations in high-stakes environments), and stylistically diverse (capturing the unique personality of different domains).
Architectural Evolution
The researchers implemented an iterative architectural strategy, moving from smaller, highly controlled models to larger, more creative generative architectures:
- Model Progression: The journey began with T5-Large (770M parameters) for golf commentary, progressed to IBM Sandstone (3B) for tennis, and culminated in the use of Llama 2 (7B and 70B) for complex domains like fantasy football and the GRAMMYs.
- Adaptation Techniques: To manage costs and maintain performance, the team utilized Parameter-Efficient Fine-Tuning (PEFT) and Low-Rank Adaptation (LoRA). These methods allowed for domain-specific adaptation without the overhead of full model retraining. Additionally, Alibi was employed to extend token length during inference.
- Retrieval-Augmented Generation (RAG): For events requiring up-to-the-minute accuracy, such as the GRAMMYs, the system utilized RAG to query external sources (e.g., Wikipedia and Recording Academy articles), injecting real-time context directly into the model prompts.
Data Orchestration and Factuality
Maintaining data integrity in real-time sports is a significant hurdle. The system utilizes a graph-based Resource Description Framework (RDF) ontology to organize complex tournament structures and Kafka for real-time event streaming.
A critical challenge identified was "Data Congruency." In live sports, different data feeds (such as laser ball-tracking versus manual score entry) often provide conflicting information. To resolve this, the authors implemented a "wait and check" logic—a 5-second delay to ensure data consistency before triggering text generation.
To combat hallucinations, the framework includes a robust post-processing layer:
- Domain-specific spell checkers.
- Regex-based fact checkers to verify numerical data.
- Pronoun-matching logic to ensure generated text aligns with the correct player or artist identities.
Datasets and Evaluation
The models were trained and evaluated across several high-volume datasets:
- Golf: Over 169,000 shot elements from 2016 to the present, utilizing 1,225 ground-truth templates vetted by Subject Matter Experts (SMEs).
- Tennis: 2,580 match scenes from Wimbledon and the US Open.
- Football: 1,211 template sentences used for few-shot learning across 13 different statistics.
- Music: Data on 136 nominated artists for the 2024 GRAMMYs, supplemented by real-time artist biographies.
Key Insights
The Creativity-Accuracy Trade-off
The research highlights a fundamental tension between model size and reliability. Smaller encoder-decoder models (like T5) are excellent for monotone, fact-based reporting with minimal hallucination risk. Conversely, larger decoder-only models (like Llama 2) provide the "witty" and colorful text fans enjoy but require significantly more rigorous RAG and human-in-the-loop oversight.
The Approach Score Card
Model selection was guided by an "Approach Score Card" that factored in infrastructure requirements, ease of management, and community support. While Llama 2 performed exceptionally well, IBM Granite scored highest (9/10) for practical production deployment due to its availability as a managed service.
Results and Impact
The implementation of this framework yielded significant production gains:
- Efficiency: A 15x speed improvement in content production compared to previous manual or template-based methods.
- Quality: The system achieved an average Rouge-L of 82.00 and a Perplexity of 6.6.
- Scale: The architecture successfully supported 90 million fans globally, managing 8 billion page views.
- Automation: While golf and football were fully automated, tennis and the GRAMMYs utilized a small team of five human reviewers to ensure stylistic perfection, demonstrating a successful human-AI collaborative model.
Conclusion and Future Work
While the current framework significantly reduces hallucinations through RAG and post-processing, they remain a challenge; for instance, the 3B Sandstone model initially showed a 20% hallucination rate in tennis scenes before mitigation. Future research will focus on Generative Multimedia (integrating text, sound, and video), Model Distillation to run large models on more efficient hardware, and the development of automated "hallucination detectors" to further reduce the need for human intervention.
Summary updated