Fine-Tuned LLM as a Complementary Predictor Improving Ads System
This paper introduces a production-scale advertising system that integrates a fine-tuned open-source LLM as a complementary ancillary predictor to forecast likely advertisers from user profiles, thereby augmenting candidate generation and providing informative priors for downstream ranking to achieve significant offline and online business improvements.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you are running a massive, bustling digital marketplace (like Pinterest). You have millions of visitors, and your job is to show them the perfect ads—ads for products they actually want to buy.
Traditionally, your system works like a giant, efficient librarian. It looks at what a person clicked on yesterday and finds similar books (ads) on the shelf. It's fast and good at finding "more of the same." But sometimes, it misses the mark because it doesn't really understand the person's deeper desires or the subtle connections between their browsing habits and specific brands.
This paper introduces a new tool: a smart, well-read assistant (a Fine-Tuned Large Language Model, or LLM) who doesn't replace the librarian but works alongside them to make better guesses.
Here is how the system works, broken down into simple steps:
1. The Problem: The Librarian Needs a Hint
The traditional system is great at math, but it struggles with "world knowledge." It knows a user clicked on a hiking boot, but it might not intuitively connect that to a specific brand of energy bar or a local outdoor gear shop unless it has seen that exact combination before.
2. The Solution: The "Ad Predictor" Assistant
Instead of asking the AI to write the whole ad or rank every single item (which is too slow and expensive), the team asked the AI a very specific question:
"Based on this person's profile and what they've been looking at, which specific advertisers are they most likely to buy from next?"
Think of this AI as a fortune teller for brands. It reads the user's history (searches, clicks, off-site shopping) and predicts a short list of 20 specific companies (like "Nike," "Sephora," or "Home Depot") that this user is ready to engage with.
3. How They Trained the Assistant
You can't just ask a generic AI to do this; it needs to learn the specific rules of your marketplace.
- The Homework (SFT): First, they taught the AI to look at a user's history and guess just one brand they might buy from. This was like teaching a student to answer a single math problem correctly.
- The Practice Run (GRPO): Then, they made it harder. They asked the AI to list 20 brands and 5 user interests, but they gave it a "scorecard." If the AI guessed the right brand and put it near the top of the list, it got a high score. If it guessed wrong or listed too many items, it got a penalty. This taught the AI to be precise and follow the rules.
- The Secret Code (Semantic IDs): To make it even sharper, they taught the AI a special "shorthand" language (Semantic IDs) that represents images and products. It's like teaching the assistant to recognize a picture of a red dress not just by the words "red dress," but by a unique code that links it to other red dresses and fashion trends.
4. Putting It to Work: Two Ways to Help
Once the AI was trained, they didn't let it run the whole show. Instead, they used its predictions in two specific ways:
Way A: The Filter (Retrieval)
Imagine the librarian is searching a warehouse with billions of items. The AI says, "Hey, for this user, only look in the aisles belonging to these 20 specific brands." This narrows the search instantly, ensuring the system doesn't waste time showing irrelevant ads. It's like giving the librarian a VIP list of stores to check first.Way B: The Clue (Ranking)
When the system is deciding which ad to show first, it gives the AI's predictions to the final decision-maker. It's like whispering to the judge, "This user really likes Brand X, so give that ad a higher score."
5. The Results: Did It Work?
The team tested this in the real world (on Pinterest's actual traffic).
- Offline Tests: The AI got much better at guessing the right brands than the old system or a "zero-shot" AI (one that wasn't trained on this specific task).
- Online Tests: When they turned it on for real users, the results were clear. The ads shown were more relevant, and the Return on Ad Spend (RoAS) went up by nearly 5% to 6%. This means advertisers got more value for their money because the ads were shown to people actually interested in them.
The Big Takeaway
The paper argues that you don't need to replace your entire recommendation system with a giant, slow AI. Instead, you can use a specialized, fine-tuned AI as a "complementary predictor."
Think of it like a sports team: You have your star players (the traditional algorithms) who are fast and reliable. Now, you've added a tactical coach (the LLM) who studies the opponent's history and tells the players, "Focus on these specific strategies." The coach doesn't play the game, but their advice helps the team win more often.
In short: They used a smart AI to predict which brands a user likes, used those predictions to filter and rank ads, and successfully increased the amount of money advertisers made.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.