/
Popularity Prediction of Facebook Videos for Higher Quality Streaming Popularity Prediction of Facebook Videos for Higher Quality Streaming

Popularity Prediction of Facebook Videos for Higher Quality Streaming - PowerPoint Presentation

conchita-marotz
conchita-marotz . @conchita-marotz
Follow
342 views
Uploaded On 2019-12-17

Popularity Prediction of Facebook Videos for Higher Quality Streaming - PPT Presentation

Popularity Prediction of Facebook Videos for Higher Quality Streaming 1 Linpeng Tang Qi Huang Amit Puntambekar Ymir Vigfusson Wyatt Lloyd Kai Li ID: 770661

chess time watch video time chess video watch videos access influence prediction kernel streaming processing accurate encoded model future

Share:

Link:

Embed:

Download Presentation from below link

Download Presentation The PPT/PDF document "Popularity Prediction of Facebook Videos..." is the property of its rightful owner. Permission is granted to download and print the materials on this web site for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.


Presentation Transcript

Popularity Prediction of Facebook Videos for Higher Quality Streaming 1 ♭ † ∗ ‡ Linpeng Tang Qi Huang , Amit Puntambekar Ymir Vigfusson , Wyatt Lloyd , Kai Li ♭ † ♭ ∗ ∗ ♭ ‡

Videos are Central to Facebook8 billion views per day2 9-year old singing on America’s Got Talent44M viewsBlack bear roaming in Princeton3.8K views Small shop m aking frozen yogurt122 views

Workflow of Videos on Facebook3 Original Streaming Video Engine CDN Encoded ABR Streaming Upload Backend Storage ABR streams the best quality version of the video that fits! Intensive processing needed to create multiple video versions for ABR streaming

Better Video Streaming from More Processing Better compression at the same qualityQuickFire: 20% size reduction using 20X computationMore users can view the high quality versions4AliceBob

Better Video Streaming from More ProcessingBetter compression at the same qualityQuickFire: 20% size reduction using 20X computationMore users can view the high quality versions5AliceBob Better Compression

How to apply QuickFire for FB videos Infeasible to encode all videos with QuickFire Increase by 20X the already large processing fleetHigh skew in popularityReap most benefit with modest processing?6

Opportunity: High Skew in PopularityAccess logs of 1 million videos randomly sampled by ID Watch time: total time users spent watching a video 7

Opportunity: High Skew in Popularity We can serve most watch time even with a small fraction of videos encoded with QuickFireCan we predict these videos for more processing?880%+ watch time

CHESS Video Prediction System Popularity prediction is important for higher quality streamingDirect encoding on videos with the largest benefitGoal of CHESS video prediction systemIdentify videos with highest future watch timeM aximize watch-time ratio with budgeted processing9

CHESS Video Prediction System 10 Streaming Video Engine CDN Backend Storage CHESS-VPS Predicted Popular Videos Social signals Facebook Graph Serving System Access logs

CHESS Video Prediction System 11 Streaming Video Engine CDN Backend Storage Predicted Popular Videos QuickFire Encoded CHESS-VPS Original Social signals Facebook Graph Serving System Access logs

Social signals Facebook Graph Serving SystemAccess logsCHESS Video Prediction System 12 Streaming Video Engine CDN Backend Storage Predicted Popular Videos QuickFire Encoded CHESS-VPS Original Serving QuickFire-encoded versions!

Requirements of CHESS-VPSHandle working set of ~80 million videos Generate new predictions every few minutesRequires a new prediction algorithm: CHESS! 13

CHESS Key InsightsEfficiently model influence of past accesses as the basis for scalable prediction Combine multiple predictors to boost accuracy14

Efficiently model past access influence Self exciting processA past access makes future accesses more probable, i.e. provides some influence on future popularity 15 Influence of past accesses

Efficiently model past access influence Self exciting process A past access makes future accesses more probable, i.e. provides some influence on future popularityPrediction: sum up total future influence of all past accesses16Total future influence now

Efficiently model past access influence Influence modeled with kernel functionPower-law kernel used by prior works Provides high accuracyScan all past accesses, O(N) time/space not scalable 17

Efficiently model past access influence Influence modeled with kernel functionPower-law kernel used by prior worksKey insight: use exponential kernel for scalability 18

Efficiently model past access influence Self exciting process with the exponential kernel 19 Current Access Watch-time+PreviousPrediction Exponential Decay x

Efficiently model past access influence Single exponential kernel is less accurate than power-law kernel 10% lower watch time ratio O(1) space/time to maintain20 Single exponential kernel is less accurate yet scalable

Combining Efficient Features in a Model21 Key insight: maintain multiple exponential kernelsO(1) space/time Exponential kernels Modeled by Combining multiple exponential kernels is as accurate as a power-law kernelActual access pattern

Combining Efficient Features in a Model22 S ocial signals further boosts accuracy Future Popularity Neural NetworkRaw features Multiple K ernels Directly-used Features likes comments shares o wner likes v ideo age Past access watch-time

CHESS Video Prediction System 23 Aggr Aggregat ed top videos Aggr W orker 1 W orker2Worker3Worker4Prediction worker s Shard 1 Shard 2 Shard 3 Shard 4 Access logs Streaming M odel M odel NN Models Client Client

EvaluationWhat is the accuracy of CHESS?How do our design decisions on CHESS affect its accuracy and resource consumption?What is CHESS’s impact on video processing and watch time ratio of QuickFire?24

EvaluationWhat is the accuracy of CHESS? How do our design decisions on CHESS affect its accuracy and resource consumption?What is CHESS’s impact on video processing and watch time ratio of QuickFire?25

MetricsWatch time ratioRatio of watch time from better encoded videosDirectly proportional to benefits of better encodingProcessing time 26

MetricsWatch time ratioRatio of watch time from better encoded videosDirectly proportional to benefits of better encoding Processing time (infeasible to encode all videos)Video length processing timeVideo length ratio ≈ computation overhead27

CHESS is Accurate 28 Vary video length ratio (proxy for processing overhead)Observe watch time ratio of better encoded videos

CHESS is Accurate 29 Initial(1d): initial watch time up to 1 day after upload

CHESS is Accurate 30 Initial(1d): initial watch time up to 1 day after uploadSESIMIC: handcrafted power-law kernel

CHESS is Accurate 31 Initial(1d): initial watch time up to 1 day after uploadSESIMIC: handcrafted power-law kernel CHESS provides higher accuracy than even the non-scalable state of the art

CHESS Reduces Encoding Processing Predict on whole Facebook video workload in real-timeSample 0.5% videos for actual encoding32 CHESS reduces CPU by 3x (54% to 17%) for 80% watch time ratio

Related Work33 Popularity Prediction Video QoE OptimizationCachingHawkes'71, Crane'08, Szabo'10, Cheng'14, SEISMIC'15 Liu'12, Aaron'15, Huang'15, Jiang'16, QuickFire'16 LFU‘93 , LRU’94 , SLRU‘94, GDS’97, GDSF‘98, MQ’01 CHESS is scalable and accurate Optimize encoding with access feedback Identify hot items to improve efficiency

ConclusionPopularity prediction can direct encoding for higher quality streaming CHESS: first scalable and accurate popularity predictor Model influence of past accesses with O(1) time/space Combine multiple kernels & social signals to boost accuracyEvaluation on Facebook video workloadMore accurate than non-scalable state of the art methodServe 80% user watch time with 3x reduction in processing34