+ All Categories
Home > Documents > CSE 316: SOCIAL NETWORK ANALYSIS MIDTERM …m.neumann/fl2017/cse316/slides/... · CSE 316: SOCIAL...

CSE 316: SOCIAL NETWORK ANALYSIS MIDTERM …m.neumann/fl2017/cse316/slides/... · CSE 316: SOCIAL...

Date post: 08-Mar-2018
Category:
Upload: hoangnhu
View: 220 times
Download: 3 times
Share this document with a friend
24
CSE 316: SOCIAL NETWORK ANALYSIS Fall 2017 Marion Neumann MIDTERM REVIEW QUESTIONS Contents in these slides may be subject to copyright. Some materials are adopted from: http://www.cs.cornell.edu/home /kleinber/networks-book, http://web.stanford.edu/class/ cs2 24w/, http://www.mmds.org.
Transcript
Page 1: CSE 316: SOCIAL NETWORK ANALYSIS MIDTERM …m.neumann/fl2017/cse316/slides/... · CSE 316: SOCIAL NETWORK ANALYSIS ...  -book ... • dependency network (flowchart)

CSE316:SOCIALNETWORKANALYSIS

Fall2017MarionNeumann

MIDTERMREVIEWQUESTIONS

Contents inthese slidesmaybesubject tocopyright. Somematerialsareadopted from: http://www.cs.cornell.edu/home/kleinber/networks-book, http://web.stanford.edu/class/cs224w/, http://www.mmds.org.

Page 2: CSE 316: SOCIAL NETWORK ANALYSIS MIDTERM …m.neumann/fl2017/cse316/slides/... · CSE 316: SOCIAL NETWORK ANALYSIS ...  -book ... • dependency network (flowchart)

SIGNEDNETWORKS&BALANCE• Canyouexplainsignednetworksandthestructuralbalance?

Likemembersacrossagrouphave+edges.(Harary)Explainmoreaboutthat.Youkindofrushedthistowardstheendofclasswhenweweretalkingaboutthis.

• Canyoure-explainwhystablesignedgraphsareclusterable?Whycantheyalwaysbesplitintogroupsofedgeswithinternalpositiveedgesandexternalnegativeedges?

ànextslide

• Ifagraphisbalanced,doesthathaveanydirectimplicationsonnodecentrality?Ifso,why?à No

• Whendoexceptionstoabalancednetworkoccur,andhowcanwerecognizewhenimbalanceisrealisticallyexpected?à Never (in(large)realworldnetworks),expecttheentirenetworktobealways imbalanced

2

Page 3: CSE 316: SOCIAL NETWORK ANALYSIS MIDTERM …m.neumann/fl2017/cse316/slides/... · CSE 316: SOCIAL NETWORK ANALYSIS ...  -book ... • dependency network (flowchart)

SIGNEDNETWORKS&BALANCE

à Balancednetworksareclusterable [Harary,1953]

Simplerversion:balancedcomplete graphsareclusterableinto2groupswhereeveryonewithinthe2gropus (𝑋&𝑌)isfriendsandeveryoneacrossthe2groupsareenemies.

3

à wecandividethenodesintogroupssuchthat• withineachgroupwehaveonly+edges• acrossgroupsyouhaveonly- edges

Page 4: CSE 316: SOCIAL NETWORK ANALYSIS MIDTERM …m.neumann/fl2017/cse316/slides/... · CSE 316: SOCIAL NETWORK ANALYSIS ...  -book ... • dependency network (flowchart)

SIGNEDNETWORKS&BALANCESimplerversion- ProofSketch(cf.NCM Ch5p124):

• LetGbeacompletegraphwithatleastonenegativeedge• let’sconstructthetwogroups(constructiveproof)• pickanynodeinthenetwork,say𝐴

• put𝐴 andallitsfriendsinto𝑋• putitsenemiesinto𝑌CHECK(1) allnodesareassignedtoeither𝑋 or𝑌

à YES,because(ii) holds✔

(2) allconditions (i),(ii),(iii) holdà satisfiedbecause(i) holds✔ 4

Conditions tobesatisfied(i) Everytwonodes inXarefriends(ii) Everytwonodes inYarefriends(iii) EverynodeinXisanenemyofeverynodeinY

(i) (ii)

(iii)

Given(i) networkisbalanced(ii) networkiscomplete

Everytrianglehasaneven numberof– signs.

Page 5: CSE 316: SOCIAL NETWORK ANALYSIS MIDTERM …m.neumann/fl2017/cse316/slides/... · CSE 316: SOCIAL NETWORK ANALYSIS ...  -book ... • dependency network (flowchart)

HOMOPHILY• Howdohomophilyandcharacteristics contributetothe

graphs,ifatall?• I'mabitconfusedaboutsocialinfluence,howit'srepresented

inagraph,andinwhatwaysthegraphmaybealteredduetosocialinfluence(whatwouldthatchangeinthegraphlooklike?).

à theyareresponsibleforedge(relationship)formations

• Whatistherelationshipbetweenhomophilyandstrongtriadicclosure.ifanetworkshowssignsofeitherdoesthatimplytheother?à yessomewhatà e.g.wecouldpostulatethathomophily causestriadicclosureà triadicclosureisamathconceptà homohily isaconceptfromsocialstudies

5

Page 6: CSE 316: SOCIAL NETWORK ANALYSIS MIDTERM …m.neumann/fl2017/cse316/slides/... · CSE 316: SOCIAL NETWORK ANALYSIS ...  -book ... • dependency network (flowchart)

AFFILIATIONNETWORKS• Canwegooveraffiliationnetworksagain

à affiliationandsocial-affiliationnetworksincorporatecontextualfactorsintothenetwork

à thisrepresentationhelpstoexplainrelationshipsbetweenactors(focalclosurevs.triadicclosure)

à NCM 4.3&4.4

• Howdotherolesofactorsandfocidifferinasocialaffiliationnetwork?(aresomemorelikelytobehubs?)à goodquestion(thisdependsmostlikelyonthenetworkyouarelookingat.Youcananswerthisquestionbydoinganempiricalstudy.)

6

Page 7: CSE 316: SOCIAL NETWORK ANALYSIS MIDTERM …m.neumann/fl2017/cse316/slides/... · CSE 316: SOCIAL NETWORK ANALYSIS ...  -book ... • dependency network (flowchart)

STRONGTRIADICCLOSURE• CanyouwalkthroughtheproofbycontradictionofHomework

2Problem1b?(i.e."Ifstrongtriadicclosureissatisfied,thenlocalbridgesbetweennodeswithatleastoneotherexistingstrongtieareweakties.")à Proofbycontradiction• Assume𝑨 satisfiesStrongTriadicClosure

andhasonestrongedgeto𝑪• Let𝑨 −𝑩 belocalbridgeandastrongtie• Now:Triadhas2strongties• Then𝑩 −𝑪mustexistbecauseofStrongTriadicClosure• Butthen𝑨−𝑩 cannot bebridge!à contradiction

• What'sthedifferencebetweenstrongandweakedge.Andwhat'stheirfrequency'simpactonthegraph?à edgeformationsaremorelikelyiftriadswithstrongedgesare

present7

Page 8: CSE 316: SOCIAL NETWORK ANALYSIS MIDTERM …m.neumann/fl2017/cse316/slides/... · CSE 316: SOCIAL NETWORK ANALYSIS ...  -book ... • dependency network (flowchart)

EIGENVECTORCENTRALITY• I'mconfusedabouteigenvectorcentrality.Pleaseexplain.• Couldyoupointustoanexampleforacalculationordooneforus?• I'mstillconfusedonwhatEigenvectorcentralityrepresentsaswellas

howtocalculateit.Ialsodon'tunderstandhowpoweriterationworks.Thanks!

• CanyoureviewEigenvectorcentrality:Howthecalculationworks(PowerIterationAlgorithm?)andwhatdoesitmeaninthecontextofthesocialnetworks?

à Example3.2&3.3inSSMCH3.1.2• Canyouexplaineigenvectorcentralityintermsofitsrelationshipto

degreecentrality?Whenwelookatgraphsofcentralitymeasuresitlooksliketheareasofhighesteigenvectorcentralityareinthespotswheretherearethemostnodesthatscorehighindegreecentrality.Arethesetwoactuallyrelatedoristhisjustcoincidence?

à YES!EigenvectorcentralitygeneralizesdegreecentralityDEMO:MeasuresOfNetworkCentrality

• Canyoureviewdifferentcentralitymeasuresandhoweachlookslikeinactualpicturesofgraphs?àQuiz (linkedfromCourseCalendar)

8

Page 9: CSE 316: SOCIAL NETWORK ANALYSIS MIDTERM …m.neumann/fl2017/cse316/slides/... · CSE 316: SOCIAL NETWORK ANALYSIS ...  -book ... • dependency network (flowchart)

EIGENVECTORCENTRALITY

9

Seealso:https://www.youtube.com/watch?v=DGVvm-j-NG4

Page 10: CSE 316: SOCIAL NETWORK ANALYSIS MIDTERM …m.neumann/fl2017/cse316/slides/... · CSE 316: SOCIAL NETWORK ANALYSIS ...  -book ... • dependency network (flowchart)

POWERITERATION

Information Propagation in Graphs• Random walks (RWs) used for learning on the node level

• iteratively update node-label distributions Pt

• e.g. label di�usion or label propagation Pt+1 TPt

Initialization:

?

?

?

November 9, 2015 Background 910

Page 11: CSE 316: SOCIAL NETWORK ANALYSIS MIDTERM …m.neumann/fl2017/cse316/slides/... · CSE 316: SOCIAL NETWORK ANALYSIS ...  -book ... • dependency network (flowchart)

POWERITERATION

Information Propagation in Graphs• Random walks (RWs) used for learning on the node level

• iteratively update node-label distributions Pt

• e.g. label di�usion or label propagation Pt+1 TPt

1. Iteration:

November 9, 2015 Background 911

Page 12: CSE 316: SOCIAL NETWORK ANALYSIS MIDTERM …m.neumann/fl2017/cse316/slides/... · CSE 316: SOCIAL NETWORK ANALYSIS ...  -book ... • dependency network (flowchart)

POWERITERATION

Information Propagation in Graphs• Random walks (RWs) used for learning on the node level

• iteratively update node-label distributions Pt

• e.g. label di�usion or label propagation Pt+1 TPt

2. Iteration:

November 9, 2015 Background 912

Page 13: CSE 316: SOCIAL NETWORK ANALYSIS MIDTERM …m.neumann/fl2017/cse316/slides/... · CSE 316: SOCIAL NETWORK ANALYSIS ...  -book ... • dependency network (flowchart)

POWERITERATION

Information Propagation in Graphs• Random walks (RWs) used for learning on the node level

• iteratively update node-label distributions Pt

• e.g. label di�usion or label propagation Pt+1 TPt

3. Iteration:

November 9, 2015 Background 913

Page 14: CSE 316: SOCIAL NETWORK ANALYSIS MIDTERM …m.neumann/fl2017/cse316/slides/... · CSE 316: SOCIAL NETWORK ANALYSIS ...  -book ... • dependency network (flowchart)

POWERITERATION

Information Propagation in Graphs• Random walks (RWs) used for learning on the node level

• iteratively update node-label distributions Pt

• e.g. label di�usion or label propagation Pt+1 TPt

4. Iteration:

November 9, 2015 Background 914

Page 15: CSE 316: SOCIAL NETWORK ANALYSIS MIDTERM …m.neumann/fl2017/cse316/slides/... · CSE 316: SOCIAL NETWORK ANALYSIS ...  -book ... • dependency network (flowchart)

EXCESSDEGREEDISTRIBUTION• What'sthedifferencebetweendegreedistributionandexcessdegreedistribution?Whatdoesonetellusthattheotherdoesn't?

• Whyisitnecessarywhenwecancalculateitfromdegreedistribution?

• Canwegooverexcessdegreedistribution(inHW2)andwhyitdiffersfromrandomversusrealworldgraphs?Conceptually,whatexactlydoesthismeasure?

à degreedistributiontellsuswhatthenodedegreeisforarandomlychosennode

à excessdegreedistributiontellsuswhatthenodedegree(-1)isforanendnodeforarandomlychosenedge

15

Page 16: CSE 316: SOCIAL NETWORK ANALYSIS MIDTERM …m.neumann/fl2017/cse316/slides/... · CSE 316: SOCIAL NETWORK ANALYSIS ...  -book ... • dependency network (flowchart)

EXCESSDEGREEDISTRIBUTIONà excessdegreedistribution:

à mean =

=avg.degreeoftheneighborofanodeà Result:avg.degreeoftheneighborofanode> avg.degreeofanode

Yourfriendshavemorefriendsthanyou.Yourcollaboratorshavemorecollaboratorsthanyou.

16

configurationmodelestimate

)𝑘𝑞,,

= )𝑘𝑘𝑝,𝑘

,

= 𝑘/

𝑘

Note:Calculationsusingsimplifiednetworkmodels(suchastheconfigurationmodel)cangiveyouafeel for• thetypesofeffectsonemightexpecttosee• generaldirectionsofchangesinquantitiesButtheyusuallydonot givequantitatively accuratepredictions.

Page 17: CSE 316: SOCIAL NETWORK ANALYSIS MIDTERM …m.neumann/fl2017/cse316/slides/... · CSE 316: SOCIAL NETWORK ANALYSIS ...  -book ... • dependency network (flowchart)

DEGREEDISTRIBUTION

• IsthedegreedistributionofarandomgraphreallyNormallydistributed?ItseemstometobePoissonDistributed.à Yes(forsmall𝑛)

17DEMO:ComplexNetworks

Page 18: CSE 316: SOCIAL NETWORK ANALYSIS MIDTERM …m.neumann/fl2017/cse316/slides/... · CSE 316: SOCIAL NETWORK ANALYSIS ...  -book ... • dependency network (flowchart)

DEGREEDISTRIBUTION

• IsthedegreedistributionofarandomgraphreallyNormallydistributed?ItseemstometobePoissonDistributed.à BinomialdistributionPoissonDistribution

𝑛 → ∞

18

InthelimitthePoissondistribution isagoodapproximationofaBinomialdistribution.

Page 19: CSE 316: SOCIAL NETWORK ANALYSIS MIDTERM …m.neumann/fl2017/cse316/slides/... · CSE 316: SOCIAL NETWORK ANALYSIS ...  -book ... • dependency network (flowchart)

DEGREEDISTRIBUTION

• IsthedegreedistributionofarandomgraphreallyNormallydistributed?ItseemstometobePoissonDistributed.à Binomialdistribution,notNormalDistributionà Numberofsuccessesinasequenceof𝑛 − 1

independentyes/noexperiments

19

Page 20: CSE 316: SOCIAL NETWORK ANALYSIS MIDTERM …m.neumann/fl2017/cse316/slides/... · CSE 316: SOCIAL NETWORK ANALYSIS ...  -book ... • dependency network (flowchart)

RANDOMGRAPHMODELS• Whyarerandomgraphssignificanttostudy?Howdothey

helpusandwhyareweeveninterestedinsimulatingsocialnetworks?Aren’trealworldnetworksmoreinteresting?à Yes,butyouneedtobeabletocompare thestatisticsyou

computedfromthegraphrepresentingtherealnetworktoanullmodeltobeabletointerpret them

• Whyisaveragepathlengthimportant?Whymustweapproximaterealworldaveragepathlengthsinourmodels?à youwanttomeasureifyournetworkisasmallworldà crucialforinformationfloworwhenstudyingspreadofdisease)à wedonot approximatetheavg.pathlengthinrealworld

networks

• Canyouexplainphasetransition?à inphysicsorintherandomgraphmodel?

20

Page 21: CSE 316: SOCIAL NETWORK ANALYSIS MIDTERM …m.neumann/fl2017/cse316/slides/... · CSE 316: SOCIAL NETWORK ANALYSIS ...  -book ... • dependency network (flowchart)

DIRECTEDGRAPHS• Allofourworksofarhascoveredundirectedgraphs.Aretherereallifesituationswheregraphsshouldbedirected,andhowwouldourmethodsofstudyingthesegraphschange?Forexample,howwouldtheclusteringcoefficientbecalculatedinadirectedgraph?

à socialnetworksaretypicallyundirectedà examplesfordirectedgraphs(cf.NCM Ch 2.4)• informationlinkagegraphs(webgraph)• dependencynetwork(flowchart)• foodwebs(cf.DSCN Ch 1)

21

Page 22: CSE 316: SOCIAL NETWORK ANALYSIS MIDTERM …m.neumann/fl2017/cse316/slides/... · CSE 316: SOCIAL NETWORK ANALYSIS ...  -book ... • dependency network (flowchart)

OTHERQUESTIONS• Whatistheprobabilityalocalbridgeexistsinarandomgraphofnnodesandmedges?à goodquestion(I’llmakeitaBONUSquestiononthenexthomework…)

• Canyouexplainmorewhatthepointofusinglog-logscaletoplotthedegreeprobabilityis?Iunderstanditmakesarealworldnetworkclearertosee.Butdoesn’titalsoaddstotheburdenofvisualinterpretation?Ijustfindsimpledistributionplotismoreintuitivetoread.à log-logplotsshowpowerlawdistributions

22

Page 23: CSE 316: SOCIAL NETWORK ANALYSIS MIDTERM …m.neumann/fl2017/cse316/slides/... · CSE 316: SOCIAL NETWORK ANALYSIS ...  -book ... • dependency network (flowchart)

WHAT’SONTHEEXAMQUESTIONS

• whatisalistofmeasurementsweshouldknowfortheexam(ie betweennesscentrality,excessdegreedistribution,harmoniccentrality)à yes,thoseareexamrelevantandeverythingelsewecoveredinclassoronthehomeworkproblems

23

Page 24: CSE 316: SOCIAL NETWORK ANALYSIS MIDTERM …m.neumann/fl2017/cse316/slides/... · CSE 316: SOCIAL NETWORK ANALYSIS ...  -book ... • dependency network (flowchart)

LOGISTICSQUESTIONS

• Canwegetaccesstothevideorecordings?à No

• Canwegetanoutlineforthecoursebecauseeverythingseemsverydisconnectedatthemoment?à CourseCalendar&Roadmap

24


Recommended