38
DSP and the prediction Ahn, Soohan

Dsp and the prediction

Embed Size (px)

Citation preview

Page 1: Dsp and the prediction

DSP and the prediction

Ahn, Soohan

Page 2: Dsp and the prediction

Introduction

• Ahn, Soohan• 2015.8 ~ : Software Engineer at FreakOut Inc.• 2014.10 ~ 2015.07 : Software Engineer at DRECOM• 2012.03 ~ 2014.02 : Hanyang University, M.S in Computer Science Engineering

• Bioinformatics, String Matching.• 2005.03 ~ 2012.02 : Hanyang University, M.S in Computer Science Engineering

Page 3: Dsp and the prediction

Introduction

• RTB(Real Time Bidding) in the DSP.• Words in the RTB.• Prediction in the DSP.

Page 4: Dsp and the prediction

Why using DSP and SSP?

.

.

.

Advertisers Medias

.

.

.

Effectively! (Cheaper)

Effectively! (Wants more expensive ads.)

Page 5: Dsp and the prediction

Why using DSP and SSP?

.

.

.

Advertisers Medias

.

.

.

AdExchange or AdNetwork

Page 6: Dsp and the prediction

Why using DSP and SSP?

.

.

.

Advertisers Medias

.

.

.

Too Complex!!

AdExchange or AdNetwork

Page 7: Dsp and the prediction

Why using DSP and SSP?

.

.

.

Advertisers Medias

.

.

.Make it BlackBox!!

Page 8: Dsp and the prediction

Why using DSP and SSP?

DSP -Demand

SidePlatform

SSP -SupplySide

Platform

.

.

.

Advertisers Medias

.

.

.

Page 9: Dsp and the prediction

Real Time Bidding(RTB) in the DSP.

• RTB? => Real Time Bidding.• One of the way of exchanging to serve the AD.• Real Time bidding for every impression.

• Usually, SSP decide the rule of RTB.• Second Price auction.• First Price sealed-bid auctions• Open ascending bid auctions.

Page 10: Dsp and the prediction

Real Time Bidding(RTB) in the DSP.

IMP!SSP -SupplySide

Platform Ad Request!

Page 11: Dsp and the prediction

Real Time Bidding(RTB) in the DSP.

IMP!SSP -SupplySide

Platform

DSP1

DSP2

DSP3

Bid Request!(site, app, device, user info..)

DSP4

Page 12: Dsp and the prediction

Real Time Bidding(RTB) in the DSP.

IMP!SSP -SupplySide

Platform

DSP1

DSP2

DSP3

Bid Request!(site, app, device, user info..)

DSP4

Floor Price: 60 (yen)

Page 13: Dsp and the prediction

Real Time Bidding(RTB) in the DSP.

DSP1

Advertiser A100 (yen)

Advertiser A1Not to buy it.

Advertiser BNot to buy it.

Advertiser B150 (yen)

Bid Request!(site, app, device, user info..)

Page 14: Dsp and the prediction

Real Time Bidding(RTB) in the DSP.

DSP1

Advertiser A100 (yen)

Advertiser A1Not to buy it.

Advertiser BNot to buy it.

Advertiser B150 (yen)

Bid Request!(site, app, device, user info..)

Page 15: Dsp and the prediction

Real Time Bidding(RTB) in the DSP.

IMP!SSP -SupplySide

Platform

DSP1

DSP2

DSP3

Bid Response!

Advertiser A : 100 (yen)

Advertiser C : 80 (yen)

Advertiser E: 50 (yen)

DSP4 Not to bid.

Page 16: Dsp and the prediction

Real Time Bidding(RTB) in the DSP.

IMP!SSP -SupplySide

Platform

DSP1

DSP2

DSP3

Check for the bidded ADs.

Advertiser A : 100 (yen)

Advertiser C : 80 (yen)

Advertiser E: 50 (yen)

Page 17: Dsp and the prediction

Real Time Bidding(RTB) in the DSP.

IMP!SSP -SupplySide

Platform

DSP1

DSP2

DSP3

Check for the price over the floor price.

Advertiser A : 100 (yen)

Advertiser C : 80 (yen)

Advertiser E: 50 (yen)

Floor Price: 60 (yen)

Page 18: Dsp and the prediction

Real Time Bidding(RTB) in the DSP.

IMP!SSP -SupplySide

Platform

DSP1

DSP2

Check for the price over the floor price.

Advertiser A : 100 (yen)

Advertiser C : 80 (yen)

Floor Price: 60 (yen)

Page 19: Dsp and the prediction

Real Time Bidding(RTB) in the DSP.

IMP!SSP -SupplySide

Platform

DSP1

DSP2

Determine the winner!

Advertiser A : 100 (yen)

Advertiser C : 80 (yen)

Floor Price: 60 (yen)

Page 20: Dsp and the prediction

Real Time Bidding(RTB) in the DSP.

IMP!SSP -SupplySide

Platform

DSP1

Charge the price!Second price auction!

Advertiser A : 100 (yen)

Floor Price: 60 (yen)

Charge price: 81(yen)

Page 21: Dsp and the prediction

Real Time Bidding(RTB) in the DSP.

IMP!SSP -SupplySide

Platform

DSP1

DSP2

As the second price was 80(yen), charge the second price + 1(yen) to the winner

Advertiser A : 100 (yen)

Advertiser C : 80 (yen)

Floor Price: 60 (yen)

Page 22: Dsp and the prediction

Real Time Bidding(RTB) in the DSP.

IMP!SSP -SupplySide

Platform

DSP1

In this case,Charge the floor price + 1(yen).

Advertiser A : 100 (yen)

Floor Price: 90 (yen)

Page 23: Dsp and the prediction

Real Time Bidding(RTB) in the DSP.

IMP!SSP -SupplySide

Platform

DSP1

Charge the price!Second price auction!

Advertiser A : 100 (yen)

Floor Price: 90 (yen)

Charge price: 91(yen)

Page 24: Dsp and the prediction

Prediction for the DSP.

• What do we predict?

Page 25: Dsp and the prediction

Real Time Bidding(RTB) in the DSP.

IMP!SSP -SupplySide

Platform

DSP1

DSP2

DSP3

The best price to win the auction!

Advertiser A : 100 (yen)

Advertiser C : 80 (yen)

Advertiser E: 50 (yen)

DSP4 Not to bid.

Page 26: Dsp and the prediction

Prediction for the DSP.

• Bid price = Input price * spot score.• Spot score is usually determined by predicted CTR!

• CTR: Click Through Rate

Page 27: Dsp and the prediction

Words in the DSP.

• Imp: impression.• Click• Conversion

• CPM: Cost Per Mille• CPC: Cost Per Click = Cost / Click• CPA: Cost per Action = Cost / Conversion

• CTR: Click Through Rate = Click / Impression• CVR: Conversion Through Rate = Conversion / Click

Page 28: Dsp and the prediction

Logistic Regression

• A method for classifying data into discrete outcomes.• x: Sparse feature vector (from click logs.)• y: -1: not-clicked, 1: clicked

Page 29: Dsp and the prediction

Logistic Regression

• The advantage of the logistic regression• Could parallelized easily to handle large scale problems.• The sparse nature of data.

• Almost all of the data (usually in x) are 0.

• May be implemented by the Hivemall.• http://www.slideshare.net/myui/hivemall-hadoop-summit-2014-san-jose?related=1• https://github.com/myui/hivemall

Page 30: Dsp and the prediction

FM + FTRL

• Recently, Factorization Machine + Follow The Regularized Leader.• FM: Model, FTRL: Optimizer• FM: A new model class that combines the advantages of Support Vector Machines

(SVM) with factorization models.• Model all interactions between variables(features).

• Interactions may give better precision.

Page 31: Dsp and the prediction

FM + FTRL

• Model• https://www.ismll.uni-hildesheim.de/pub/pdfs/Rendle2010FM.pdf

Page 32: Dsp and the prediction

FM + FTRL

• Time Complexity• O(n^2)?• n: The number of features.

• Usually, quite big number in AdTech.• Usually, bigger than o(2^24).

Page 33: Dsp and the prediction

FM + FTRL

• Time Complexity• O(kn)• k: The dimensionality of the factorization

• Ususally, 10 < k < 100.• n: The number of features.

• Usually, quite big number in AdTech.• Usually, bigger than o(2^24).

Page 34: Dsp and the prediction

FM + FTRL

• Model

Page 35: Dsp and the prediction

FM + FTRL

• Recently, Factorization Machine + Follow The Rebularized Leader.• FM: Model, FTRL: Optimizer• FTRL could reduce the dimension without losing the precision.

• https://www.eecs.tufts.edu/~dsculley/papers/ad-click-prediction.pdf• Prediction is still based on the Logistic Regression.

Page 36: Dsp and the prediction

FM + FTRL

• Learning• Currently, learned and optimized by FTRL.

• Gradient Descent (GD)

https://www.eecs.tufts.edu/~dsculley/papers/ad-click-prediction.pdf

Page 37: Dsp and the prediction

Applying the model to the real system.

• Offline test• Test the model on the local(non-real) system.

• Online test• A/B test.

• Apply it!• With increasing the ratio of the A/B test.

Page 38: Dsp and the prediction

References

- Factorization Machines- http://www.csie.ntu.edu.tw/~b97053/paper/Rendle2010FM.pdf

- アトテク勉強会• http://www.slideshare.net/shoho/ss-36728773?qid=e69500d6-ae97-4e4

9-bf63-8bddd5dddb4b&v=default&b=&from_search=23