Optimizing GPT for Video Understanding: Zero-Shot Performance and Prompt Engineering

Mark Beliaev, Victor Yang, Madhura Raju, Jiachen Sun, Xinghai Hu

TL;DR

This paper explores how to effectively use large language models (LLMs) like GPT-4o for zero-shot video content classification in an industrial setting. The authors demonstrate that careful prompt engineering, particularly simplifying complex policies and breaking down tasks, can significantly boost GPT-4o's performance without any fine-tuning, offering a scalable solution for video moderation.

What Problem Does This Paper Address?

In the era of user-generated content, platforms like TikTok face the immense challenge of classifying vast amounts of videos across various quality and policy-adherence categories. Traditional multi-modal classification models often require extensive task-specific fine-tuning and struggle with the nuances of complex, industry-specific policies. While LLMs like GPT-4o offer impressive generalization capabilities, their application to real-world, proprietary datasets and intricate classification tasks remains an open question, especially concerning their return on investment. This paper aims to bridge this gap by evaluating GPT-4o's zero-shot performance on TikTok's video quality classification tasks and investigating methods to optimize its effectiveness through prompt engineering.

Methods

The core of this research lies in prompt engineering and policy refinement for GPT-4o. The authors frame video classification as a zero-shot task, where GPT-4o receives video features (audio transcription, hashtags, text, and base64 encoded frames) and a detailed policy for a specific category.

Key methodological contributions include:

  • Policy Refinement: They found that simplifying overly complex and lengthy policies significantly reduces false negatives. This suggests that LLMs perform better when policies are concise and easier to interpret.
  • Decomposition-Aggregation Prompting: For challenging categories like "Clickbait," they introduced a technique where the task is broken down into subcategories. GPT-4o makes independent predictions for each subcategory, and these scores are then aggregated (e.g., via mean, max, or linear regression) to produce a final classification. This approach outperformed a single-prompt method.
  • Zero-Shot Evaluation: The study focuses on GPT-4o's ability to perform these tasks without any task-specific fine-tuning, leveraging its pre-trained "world knowledge."

Datasets

The experiments were conducted on real-world, industry-specific datasets from TikTok. For each of the seven Feed Quality (FQ) categories evaluated, a balanced dataset of at least 500 video posts was used, containing both positive and negative cases. The ground truth labels were provided by human annotators. No new benchmarks were introduced; instead, existing industry data and classification tasks were utilized.

Key Insights and Ideas

  • Prompt Simplicity is Key: The paper strongly suggests that overly verbose and complex policies, while comprehensive, can hinder GPT-4o's performance, particularly by increasing false negatives. Concise policies lead to better accuracy.
  • Decomposition for Complexity: For intricate tasks like clickbait detection, breaking the problem into smaller, manageable sub-tasks and then aggregating the results is a powerful strategy that can surpass single-prompt approaches.
  • Leveraging World Knowledge: GPT-4o's pre-trained knowledge allows it to perform comparably to or even better than some baseline models, especially when baselines are rule-based due to data limitations. This highlights the value of generative models for tasks where extensive domain-specific training data is scarce.
  • Category-Specific Challenges: Not all categories are equal. GPT-4o performs best on simpler categories like "Non-Interactive" and "Shocking & Graphic Content," while struggling more with nuanced ones like "Sensitive & Mature" and "Clickbait," often due to the complexity of their policies.

Key Results

  • GPT-4o performs on par with current production models for categories like "Static Frame," "Non-Interactive," and "Watermark."
  • For "Clickbait," "Shocking & Graphic Content," and "Useful," GPT-4o's performance is slightly lower than baselines (less than 0.1 AUC difference).
  • Shortening the policy for "Sensitive & Mature" from 4023 words to 96 words significantly improved its AUC from 0.73 to 0.79, primarily by reducing false negatives.
  • The decomposition-aggregation technique for "Clickbait" (Exp. 3) showed that all three aggregation methods (mean, max, linear regression) outperformed the single-prompt GPT-4o approach, with linear regression even surpassing the production model for higher precision values.

Limitations and Future Work

Limitations:

  • The study was limited by the availability of new reasoning models at the time of publication.
  • While prompt engineering is effective, it can be labor-intensive.

Future Work:

  • Fine-tuning: Exploring fine-tuning GPT-4o on domain-specific data could further boost performance, though inference cost is a consideration.
  • Smaller, Fine-tuned LLMs: Developing clever designs that integrate vision and text modalities with smaller, fine-tuned LLMs is a promising direction for balancing performance and efficiency.
  • Audio Modality: Incorporating audio as an additional modality is crucial for a more comprehensive understanding of video content, especially once foundation models are capable of processing it alongside video and text.

Summary updated

BibTeX
@inproceedings{beliaev2025optimizing,
  author = {Mark Beliaev and Victor Yang and Madhura Raju and Jiachen Sun and Xinghai Hu},
  title = {{Optimizing GPT for Video Understanding: Zero-Shot Performance and Prompt Engineering}},
  booktitle = {DeLTa @ ICLR},
  year = {2025},
  url = {https://openreview.net/forum?id=AcGXfKLuS7},
}
Figure