Your question is Tune L1 vs L2 for Ads. Take a moment with it on the right.
Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).
Meta Ads ranking models use high-dimensional behavioral and campaign features to predict whether a user will click an ad impression. A simple linear baseline is still valuable in production because it is fast, stable, and easy to debug, but it can overfit badly when feature space is wide and sparse. Your task is to compare L1 and L2 regularization in a click-through-rate classification setting and explain when each is preferable.
You are given a training table built from one week of ad impression logs.
| Feature Group | Count | Examples |
|---|---|---|
| Dense numerical | 18 | historical_ctr, advertiser_spend_7d, user_session_depth, page_load_ms |
| One-hot categorical | 420 | device_type, country, placement, campaign_objective, app_surface |
| Sparse hashed text/context | 560 | query intent bucket, ad text n-gram hashes, landing page topic hashes |
| Temporal | 6 | hour_of_day, day_of_week, recency_since_last_click |
clicked = 1 if the impression received a click, else 0A strong solution should: