Fine-Tuning Versus Prompting an LLM for Video Title Suggestions

Last updated: November 29, 2026

Quick Overview

TikTok wants an LLM feature that suggests captions and hashtags for creators' videos. Compare prompting a general model, retrieval augmentation and fine-tuning, and recommend an approach.

TikTok
Machine Learning
Machine Learning Engineer
TikTok
November 29, 2026
Machine Learning Engineer
Onsite
Machine Learning
Medium

0

0

0 solved


TikTok wants an LLM feature that suggests captions and hashtags for creators' videos. Compare prompting a general model, retrieval augmentation and fine-tuning, and recommend an approach.

Generative AI features for creators are a growing area at TikTok. Interviewers check whether you can reason about quality, cost, latency and safety trade-offs among LLM adaptation methods and define evaluation.

What the Interviewer Expects
  • Describe what inputs the model needs (transcript, visual tags, trends)
  • Compare prompting, RAG and fine-tuning on cost and quality
  • Propose parameter-efficient fine-tuning like LoRA where appropriate
  • Define offline and online evaluation, including human ratings
  • Address safety, hallucinated hashtags and multilingual output
Key Topics to Cover
LLMs
fine-tuning
LoRA
retrieval augmentation
LLM evaluation
How to Approach This
  1. Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
  2. Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
  3. Feature engineering is often more impactful than model selection.
  4. Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
  5. Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
  • How would you build training data for fine-tuning?
  • How would you keep hashtags current with trends?
  • What metric would show the feature helps creators?
  • How would you prevent misleading or unsafe captions?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Explore ML Interview Prep
Sample Answer
Clarify

Inputs: speech transcript, on-screen text, visual tags from a vision model, creator's past captions, and current trending hashtags. Ask about latency (shown in the upload flow, so a few seconds at mos...

Approach
  • Prompting a large general model: fastest to prototype, decent quality, but costly at scale and does not know TikTok caption style or current trends.
  • RAG: retrieve trending hashtags and sim...

Submit Your Answer
Markdown supported