40
Economic Recommendation with Surplus Maximization Yongfeng Zhang, Qi Zhao, Yi Zhang, Daniel Friedman, Min Zhang, Yiqun Liu, Shaoping Ma UC Santa Cruz & Tsinghua University [email protected], http://yongfeng.me

Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

Economic Recommendation with Surplus Maximization

Yongfeng Zhang,QiZhao,YiZhang,DanielFriedman,MinZhang,Yiqun Liu,ShaopingMaUCSantaCruz&TsinghuaUniversity

[email protected],http://yongfeng.me

Page 2: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

Outline• BackgroundandMotivation• ProblemDefinition• TotalSurplusMaximizationFramework• ModelSpecification– E-commerce– P2Plendingservices– Onlinefreelancingplatforms

• EmpiricalAnalysisResults• ConclusionsandFutureWork

Page 3: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

HumanActivitiesfromOfflinetoOnline• Weareexperiencingthehistoricmomentof“Onlinization”– Moreandmorehumanactivitiesaremovingfromofflinetoonline

Conductsocialingandmakefriendsonlinebysocialnetworks

PurchaseonlinebyE-commerceWebsites

Manageassetpropertiesonlineby,e.g.,P2PLendingservices

Workandmakemoneyonlinebyonlinefreelancingnetworkservices

Page 4: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

WebApplicationsasEconomicSystem• TheWebisawholeEconomicSystemforvarioushumanactivities– Justasourofflinephysicalworld

• Involvesinteractionsoftwopartiesonsometypeofonlineservices– Consumer– OnlineServices– Producer– E-commerce:Customers– Goods– Retailors– P2Plending:Lenders– Financialproducts(loanrequests)– Borrowers– Onlinefreelancing:Employees– Jobs– Employers– Socialnetworks:You– Information(news/tweets/status)– Friends

Page 5: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

OnlineServiceAllocation• Fundamentaltask:OnlineServiceAllocation(OSA)– Assignonlineservices(products,loans,jobs)fromproducerstoconsumersaccordingtosomeprinciples

– MainlyachievedbyRecommenderSystems• Consumersaregrantedbylawtochoosefreely• Canonly‘recommend’specificservicesfromproducertoconsumer

• Existingmethods– Usuallyaimatmaximizingthebenefitsofoneside

• E.g.,E-commerce:matchuserpreferenceandboostusersatisfaction• P2Plendingservices:recommendtomaximizelenderprofits

Page 6: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

WebIntelligenceforSocialGood• Maybeproblematic– Asystemshouldbenefitbothpartiestobesustainable

• WebIntelligencefor SocialGood– Economists,philosophers,andsociologistsdevotetheirlivesforabetteroffinhumansocietyofourphysicalworld

–Weascomputerscientistsshouldalsopushthevirtualonlinesocietytowardsamorefair,justandwin-winworld

• TheconceptofSocialSurplus– Toachievethisgoal,weintroducetheconceptofsocialsurplusasthemetricforevaluatingandoptimizingonlineserviceallocations

Page 7: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

ProblemDefinition• Consumers,Producers,andGoods

u1u2

u3

um

g1

g2

g3

g4

gn…

p1

p2

pr

Page 8: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

ProblemDefinition• ServiceQuantityVector

u1u2

u3

um

g1

g2

g3

g4

gn…

p1

p2

pr

Mj =1foronlinefreelancing0<Mj<∞forP2PloanMj= ∞ forE-commerce

Page 9: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

ProblemDefinition• OnlineServiceAllocation(OSA)

u1u2

u3

um

g1

g2

g3

g4

gn…

p1

p2

pr

Mj =1foronlinefreelancing0<Mj<∞forP2PloanMj= ∞ forE-commerce

Page 10: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

Various PrinciplesforOSA• VariousPrinciplesforOSA– MaximizeUserPreference?– MaximizeProviderProfit?– MaximizetheTotalSocialSurplusforSocialGood!• Andfantasticthingshappenbeyondexpectation• Socialgood->perusersatisfaction+socialbetteroff

Page 11: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

BasicConcepts:UtilityandSurplus• Utility– Basisofmoderneconomics– Measuresone’spreference/satisfactionoversomesetofgoods/services– Usuallyafunctionofquantityq:U(q)– GovernedbytheLawofDiminishingMarginalUtility• Asapersonincreasestheconsumptionofaproduct,thereisadeclineinthemarginalutilitythatthepersonderivesfromconsumingeachadditionalunit.• Mathematically:U(0)=0&U’(q)>0&U’’(q)<0• Consumethefirstsliceofbreadvs.Consumingthelastslicewhenfeelingfull

Page 12: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

BasicConcept:Utility• Utility– frequentlyusedforms:– EconomistsintroducedvariousfunctionalformsforUtility– TheKPR(log)Utilityfunction

• U(0)=0&U’(q)>0&U’’(q)<0

• PersonalizedUtility– onConsumertoGoodlevel

– aij asparameterofcurvelift

Page 13: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

BasicConcept:Surplus• Surplus– Surplusisthenetbenefit(indollarterms)associatedwithbuyingorsellingsomegood

– ConsumerSurplus(CS)• Theamountofutilityoneexperiencesbeyondthepricethatshepays

– ProducerSurplus(PS)• Theprofit:oneearnsbeyondthecost

– TotalSurplus(TS)

Page 14: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

DirectTotalSurplusMaximization• DirectTotalSurplusMaximization(TSM)

– 1 isacolumnvectorof1’s• Sumofquantityforeachproduct(columnsuminQ)doesnotexceedmaximalamountcanbeprovided(byM)

– S:ThesetofpossiblelegalvaluesforQundergivenapplication• e.g.,S=Nfore-commerce,S={0,1}foronlinefreelancing

Page 15: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

DirectTSM– Drawbacks• DrawbacksofDirectTSM– TheHypothesisofRationalManmaynotalwayshold– DifficulttomodelthenoisydataifwerestrictQtoexactvalues

• RelaxtheModel– RelaxQij inQtorandomvariablesforquantitydistributions– E.g.,Qij ∼ N(μij ,σij ),consumeru_i choosesgoodg_j onquantityμijforthehighestprobability,butmayalsowithotherquantities.

Page 16: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

TotalSurplusMaximization– theFramework• Maximizetheexpectedtotalsurplus– Ourfinalframeworkforserviceallocationmaximizesthefollowingexpectedtotalsurplus:

– p(Qij)istheprobabilisticdensityfunctionofeachquantityQij

• ModelOutput– Themodeloutputstheoptimaldensityfunctionsp(Q)–Wetaketheexpectation asthefinalallocationmatrixtomakerecommendationdecisions.

ExpectedtotalsurplusforEachuser-productpair

Page 17: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

ModelSpecificationinDifferentApplications• ModelSpecification– Differentchoicesoftheparametersfordifferentapplicationscenarios– Andalsodifferentmethodsforparameterestimation

• ModelSpecificationinthiswork– E-commerce– P2PLending– OnlineFreelancing

Page 18: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

ModelSpecification– E-commerce• EstimationofpersonalizedutilityUij(q)– Uij (q)issubjecttotheLawofZeroSurplusfortheLastUnit

–Where:

• Thenweneedtoestimateaij– Let

Page 19: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

ModelSpecification– E-commerce• EstimationofPersonalizedUtility byMaximumLikelihood

• ModellearningwithGradientDescent–Wehave

SigmoidProbability

Page 20: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

ModelSpecification– E-commerce• Costfunctionandquantitydistribution– Constantper-productcostcj,sothecostfunctionis– LetQij inallocationmatrixQfollowaPoissondistribution• BecauseQij∈ N

• SpecificationofTSMforE-commerce:

– ConstraintsareleftoutbecauseMj=∞

Page 21: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

ModelSpecification– E-commerce• Costfunctionandquantitydistribution– Constantper-productcostcj,sothecostfunctionis– LetQij inallocationmatrixQfollowaPoissondistribution• BecauseQij∈ N

• SpecificationofTSMforE-commerce:

– ConstraintsareleftoutbecauseMj=∞

・Quantityregularizer toguidethemodel learning・ λij isthequantityexpectationunderPoissondistribution・ Guide themodel learning:predictedquantitiesdonotbiastoomuch

fromobservedvaluesintrainingset.

ExpectedtotalsurplusunderPoissondistribution

Page 22: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

ModelSpecification– P2PLending• Consumer(Lender)andProducer(Borrower)Surplus– rj:theactualinterestrateofthejth loanrequest– r:theriskfreeinterestrate(bysavingthemoneyinbank)– rjmax:themaximumacceptableinterestrateofthejth loanrequest

Interestobtainedfromtheloan– riskfreeinterest(opportunitycost)ForLenderi onloanj

Forborroweronloanj

Thehighestpossibleinterestborrowerwouldliketopay– actualinteresthehastopay

Page 23: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

ModelSpecification– P2PLending• ProbabilisticPriorofQij

– Qij (thequantityofmoney)isacontinuousvariable:normaldistribution

• OSAformalizationforP2P

Page 24: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

ModelSpecification– P2PLending• ModelSimplification

• Intuition– Allocatetheinvestmentsinagreedymanneraccordingtothepercapitasurplus(rmax−rˆ)ofeachloanrequest

– Anintuitionalruleforinvestmentinpractice

Page 25: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

ModelSpecification– OnlineFreelancing• UtilityandCost– Firstpredictemployee-jobandemployer-job ratingsthroughCF– Assumption:percentagesurplusagainstpriceisproportionaltosigmoid-normalizedratings

– Qij∈{0,1}becauseajobcanbeprovidedonlyonce• canbeviewedasanindicatorofwhetherornotajobisassigned

• RepresentationofSurpluses

Page 26: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

ModelSpecification– OnlineFreelancing• ProbabilisticPriorofQij

– Qij isbinaryvalued:Bernoullidistribution

• Quantityconstraint:– Mj=1becauseeachjobcanbyprovidedandonlyonce

• ModelSpecification:Jobassignment:

Page 27: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

EmpiricalAnalysis– E-commerce• Dataset– Shop.com

– Eachtransection• ConsumerandProductID• Price oftheproduct,andPurchasingquantity

– TrainingandTestingset• Foreachconsumer,randomlyselect25%transactionsastestingset

Page 28: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

EmpiricalAnalysis– E-commerce• ExperimentalSetup– TSMgivesestimatedvaluesofQij

– ProductrecommendationlistoflengthNisprovidedtoconsumeruibyrankingtheproductsindescendingorderofQij

– Baselinemethod• CollaborativeFiltering:

• Evaluationmetrics– ConversionRate@N(CR@N)• Forrecommendationperformance

– TotalSurplus@N(TS@N)• Foreconomicperformance

Qij

Page 29: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

EmpiricalAnalysis– E-commerce• ConversionRate– Underdifferentη selections, constantlybetterthanCF

Page 30: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

EmpiricalAnalysis– E-commerce• ConversionRate– Underdifferentη selections,constantlybetterthanCF

Smallerη‘sgainbetterconversionrateunder longrecommendation lists

Surpluscomponent takescontrolofrecommendationperformanceunder longrecommendations

Largerη‘sgainbetterconversionrateundershortreclists

Weneedstrongquantityregularizerstoguaranteequalityofthetopseveralrecommendations

Page 31: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

EmpiricalAnalysis– E-commerce• TotalSurplus– ConstantlybetterthanCFunderdifferentη selections

Page 32: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

EmpiricalAnalysis– E-commerce• TotalSurplus– ConstantlybetterthanCFunderdifferentη selections

Smallerη‘sgainbettertotalsurplus

Notsurprising becausethetotalsurpluscomponentbynaturetriestomaximizetotalsurplus

Page 33: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

EmpiricalAnalysis– E-commerce• Details

• Conclusion– Higherconversionrate(recommendationperformance)– Highertotalsurplus(socialgood)– TheTSMframeworkimprovesrecommendationexperienceofusers• Althoughwemaximizethebenefitsofbothsidesjointly

– Benefitssocialgoodatthesametime

Page 34: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

EmpiricalAnalysis– P2PLending• ProsperDataset– November9th2005toMay8th2009 (automaticbiddingafterwards)– Statistics

• Evaluation– TotalSurplus(TS)

Page 35: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

EmpiricalAnalysis– P2PLending• EvaluationProtocol– ComparetheTotalSurplusbetweenourallocationandtheactualallocation

• 34.42%highertotalandperlisting/capitasurplus• From$0.16percapitato$0.21percapita

– Anexcitingimprovementincapitalefficiencyandsocialgood

Page 36: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

EmpiricalAnalysis– OnlineFreelancing• Dataset– ZBJfreelancingplatformdataset(http://zbj.com)• AChineseonlinemarketingwebapplications

• Baseline– Constructthefreelancer-jobratingmatrixandconductCF• Holdout25%ratingsfortesting

– Assignajobtothefreelancerwiththehighestpredictedrating

Page 37: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

EmpiricalAnalysis– OnlineFreelancing• Evaluationmetrics– ConversionRate(%ofproperlyassignedjobs)– TotalSurplus

• Resultsunderdifferent#offactorizationfactorsK– CR@K

– TS@K

– BetterCRandTSthanCF,andbetterTSeventhantheactualallocation• ¥73.13/jobforTSMwhenK=30,only¥31.37/jobfor CF and¥43.74/jobfor actual• Bettermarketefficiency

Page 38: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

Conclusions• Conclusions–Webasonlineeconomicsystemwithinteractionofproducersandconsumers– PromoteWebIntelligenceforSocialGoodbydirectsocialgoodmetricmaximization,forabetteroffofthewholeonlinesystem

– ProposeaTotalSurplusMaximization(TSM) framework– Thisframeworkcanbespecifiedtovariousreal-worldapplications– Resultsshowthatbymaximizingthetotalsurplus,wecanbenefituserexperienceandsocialgoodatthesametime

Page 39: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

FutureWork- More• AnewangletoviewtheWeb– Fromaconsumer-producerperspectiveofview– AndmaximizingthetotalsurplusforabetteroffoftheWeb

• OthermodelspecificationsbeyondEC,P2P,freelancing– Socialnetworks,crowdsourcing,Uber,Airbnb,etc.

• OtherpossibledirectionsbeyondEconomicRecommendation– EconomicIR fromacooperativesocialgoodperspective– DynamicpricingforsocialgoodmaximizationinE-commerce,drivingservices(Uber),Rentalservices(Airbnb),etc.

Page 40: Economic Recommendation with Surplus Maximization · 2016-04-27 · Websites Manage asset properties online by, e.g., P2P Lending ... Web Applications as Economic System • The Web

Yongfeng Zhang,[email protected],http://yongfeng.me