Social Networks as a Foundation for Computer ScienceA Future for Computer Science?Is there a Science of Networks?Physical NetworksWhat does the Internet look like?US Power GridBusiness & Economic NetworksContent NetworksEnronSocial networksPowerPoint PresentationAcquaintanceship & moreNetwork Models (Barabasi)Web-based social networksGolbeck’s CriteriaCSE 112, Networked Life (UPenn)CompSci 1: Overview CS0What can we do with real data?My recommendations at AmazonAnd again…How do search engines work?Google’s PageRankSlide 23Google’s PageRank (Brin & Page, http://www-db.stanford.edu/~backrub/google.html)Collaborative FilteringMemory-based methodsComputing weights - Cosine CorrelationComputing weights - Pearson & Spearman correlationModel-based methodsSocial Networks, CompSci 49s, 11/16/2006 1Social Networksas a Foundationfor Computer ScienceJeffrey Forbeshttp://www.cs.duke.edu/csed/socialnetSocial Networks, CompSci 49s, 11/16/2006 2A Future for Computer Science?Social Networks, CompSci 49s, 11/16/2006 3Is there a Science of Networks?From Erdos numbers to random graphs to InternetFrom FOAF to Selfish Routing: apparent similarities between many human and technological systems & organizationModeling, simulation, and hypothesesCompelling concepts•Metaphor of viral spread•Properties of connectivity has qualitative and quantitative effectsComputer Science?From the facebook to tomogravityHow do we model networks, measure them, and reason about them?What mathematics is necessary?Will the real-world intrude?Social Networks, CompSci 49s, 11/16/2006 4Physical NetworksThe InternetVertices: Routers Edges: Physical connectionsAnother layer of abstractionVertices: Autonomous systemsEdges: peering agreementsBoth a physical and business networkOther examplesUS Power GridInterdependence and August 2003 blackoutSocial Networks, CompSci 49s, 11/16/2006 5What does the Internet look like?Social Networks, CompSci 49s, 11/16/2006 6US Power GridSocial Networks, CompSci 49s, 11/16/2006 7Business & Economic NetworksExample: eBay biddingvertices: eBay userslinks: represent bidder-seller or buyer-sellerfraud detection: bidding ringsExample: corporate boardsvertices: corporationslinks: between companies that share a board memberExample: corporate partnershipsvertices: corporationslinks: represent formal joint venturesExample: goods exchange networksvertices: buyers and sellers of commoditieslinks: represent “permissible” transactionsSocial Networks, CompSci 49s, 11/16/2006 8Content NetworksExample: Document similarityVertices: documents on webEdges: Weights defined by similaritySee TouchGraph GoogleBrowserConceptual network: thesaurusVertices: wordsEdges: synonym relationshipsSocial Networks, CompSci 49s, 11/16/2006 9EnronSocial Networks, CompSci 49s, 11/16/2006 10Social networksExample: Acquaintanceship networksvertices: people in the worldlinks: have met in person and know last nameshard to measureExample: scientific collaborationvertices: math and computer science researcherslinks: between coauthors on a published paperErdos numbers : distance to Paul ErdosErdos was definitely a hub or connector; had 507 coauthorsHow do we navigate in such networks?Social Networks, CompSci 49s, 11/16/2006 11Social Networks, CompSci 49s, 11/16/2006 12Acquaintanceship & moreSocial Networks, CompSci 49s, 11/16/2006 13Network Models (Barabasi)Differences between Internet, Kazaa, ChordBuilding, modeling, predictingStatic networks, Dynamic networksModeling and simulationRandom and Scale-freeImplications?Structure and Evolution Modeling via TouchgraphSocial Networks, CompSci 49s, 11/16/2006 14Web-based social networkshttp://trust.mindswap.orgMyspace 73,000,000Passion.com 23,000,000Friendster 21,000,000Black Planet 17,000,000Facebook 8,000,000Who’s using these, what are they doing, how often are they doing it, why are they doing it?Social Networks, CompSci 49s, 11/16/2006 15Golbeck’s CriteriaAccessible over the web via a browserUsers explicitly state relationshipsNot mined or inferredRelationships visible and browsable by othersReasons?Support for users to make connectionsSimple HTML pages don’t sufficeSocial Networks, CompSci 49s, 11/16/2006 16CSE 112, Networked Life (UPenn)Find the person in Facebook with the most friendsDocument your processFind the person with the fewest friendsWhat does this mean?Search for profiles with some phrase that yields 30-100 matchesGraph degrees/friends, what is distribution?Social Networks, CompSci 49s, 11/16/2006 17CompSci 1: Overview CS0Audioscrobbler and last.fmCollaborative filteringWhat is a neighbor?What is the network?Social Networks, CompSci 49s, 11/16/2006 18What can we do with real data?How do we find a graph’s diameter?This is the maximal shortest path between any pair of verticesCan we do this in big graphs?What is the center of a graph?From rumor mills to DDOS attacksHow is this related to diameter?Demo GUESS (as augmented at Duke)IM data, Audioscrobbler dataSocial Networks, CompSci 49s, 11/16/2006 19My recommendations at AmazonSocial Networks, CompSci 49s, 11/16/2006 20And again…Social Networks, CompSci 49s, 11/16/2006 21How do search engines work?Hotbot, Yahoo, Alta Vista, Excite, …Inverted index with buckets of wordsInsight: use matrix to represent how many times a term appears in one pageColumns: pages & Rows: termsProblems?Return pages that have the keyword - in what order?Early solution: return those pages with most occurrences of term first Problems?Solution?•Use structure of the web to do the work for us•What did Google do?Social Networks, CompSci 49s, 11/16/2006 22Google’s PageRankweb site xxxweb site yyyyweb site a b c d e f gweb site pdq pdq ..web site yyyyweb site a b c d e f gweb site xxxInlinks are “good” (recommendations)Inlinks from a “good” site are better than inlinks from a “bad” sitebut inlinks from sites with many outlinks are not as “good”...“Good” and “bad” are relative.web site xxxSocial Networks, CompSci 49s, 11/16/2006 23Google’s PageRankweb site xxxweb site yyyyweb site a b c d e f gweb site pdq pdq ..web site yyyyweb site a b c d e f gweb site xxxImagine a “pagehopper” that always either• follows a random
View Full Document