Thursday, January 26, 2012
YouTube's Small World
Although we maybe used to regarding social networks to services such as Facebook, the video sharing site YouTube also has a social network in its videos. Using the videos as the vertices and the related videos links as the directed edges, a group of researchers [1] constructed a network graph for each data set from their crawler and made some interesting findings. They were able to find the small world phenomenon in the YouTube social network.
The small world phenomenon is characterized by graphs with both high clustering and small diameter. Instead of using the average diameter or the 90th percentile, the researchers used the diameter of the largest strongly connected component of each graph and found that it was about 8. This means that instead of the six degrees of separation, there is about eight degrees from one video to another. Given that the clustering coefficient of random graphs is about 0, the clustering coefficient of the YouTube graph measured to be about 0.29 is considerably high. Because of the large clustering coefficient and the small diameter, this gives you a sense of YouTube's small world.
It will be interesting to see how these numbers change in time, especially as the number of vertices in the graph grows. How many hours of video content have been added to YouTube since you started reading?
[1] Xu Cheng; Dale, C.; Jiangchuan Liu; , "Statistics and Social Network of YouTube Videos," Quality of Service, 2008. IWQoS 2008. 16th International Workshop on , vol., no., pp.229-238, 2-4 June 2008
doi: 10.1109/IWQOS.2008.32
URL: http://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=4539688&isnumber=4539656
Lecture 6
We saw that one possible explanation for small world properties is a combination of local correlation with long-range random links. However, this combination only explains the existence of short paths, it doesn't explain why we can find them so easily.
To explain this second observation (and to me the more interesting observation) we saw that the long range links have to be proportional to the distance in a very precise manner. So, it is in some sense much more rare that we can find short paths with myopic algorithms than it is for the short paths to exist in the first place.
Remember though that the models we have discussed for small world graphs DO NOT have heavy-tailed degree distributions! So, we really haven't given a "natural" mechanism that explains all four of our "universal" properties, we've just given mechanisms for each individually. Can you think of how to combine our heavy-tailed degree distribution ideas with the small world ideas?
Wednesday, January 25, 2012
Anti-Counterfeiting Trade Agreement on the rise
The Power of the Internet
Never has the Internet technology industry flexed their muscles so strongly as they did last Thursday, January 19, 2012. That day, with the website blackouts against SOPA and PIPA, they demonstrated the sheer power of the Internet’s graph to affect people’s actions and decisions. In one day, 8 million people looked up who their congressman or woman was using Wikipedia’s tool (and presumably wrote to them as well). Google convinced 4.5 million people to write to their congressman or woman. Involvement on such scale would have been unheard and was impossible only ten years ago.
I think these successes are indicative of how the web graph is structured. Rather than being totally decentralized, I feel that the web graph is very dense around a few pages, like Facebook, Twitter, Wikipedia and Google. Many sites have links into these websites and they receive a massive amount of traffic. This is why the movement was so successful – the “hubs” of the graph were the ones leading the charge.
It’s quite funny to watch how the entertainment industry has reacted to these developments. These companies are staffed by people who don’t really understand the power of the Internet and social media. For example, they have launched “a television advertising campaign supporting the anti-piracy plans” (BBC). This is almost a laughable feeble move. There is no way they are going to be able to disseminate their message at the same rate or on the same scale as Reddit, Wikipedia or Facebook through a TV advertisement.
All this shows that knowing how to exploit the social and internet graph is of enormous benefit because such a graph has enormous power. It also demonstrates that the companies that control this graph have enormous power as well, perhaps more than entertainment companies that have been around for decades. The world is changing
Sources:
http://mashable.com/2012/01/18/zuckerberg-sopa-is-poorly-thought-out-law/
http://www.bbc.co.uk/news/technology-16628143
Monday, January 23, 2012
The friendship paradox: why a web crawl gives a biased sample, and "your friends have more friends than you do"
Why your friends have more friends than you do, 1991).
This result is superficially paradoxical, but it always holds given the (trivial) condition that not all nodes have the same degree. Intuitively, high-degree nodes have more friends, and each of those friends has 1 link to the high-degree node. Low-degree nodes have few links pointing to them. High-degree nodes are being counted more times, so any given link is more likely to point to a high-degree node. The proof is straightforward; Wikipedia gives a proof.
This idea is fairly robust to other types of graphs. The friendship paradox holds in graphs of sexual relations, even though these are approximately bipartite graphs rather than mostly random. Similarly, in directed graphs, nodes link to nodes with higher in-degree on average, and by symmetry, nodes are linked to by nodes with higher out-degree.
Suppose we try to sample part of the web graph by breadth-first search. Obviously considering the size of the network, we will terminate the crawl early, at some depth. Assuming we’ve only crawled a small part of the network, some hand-waving proves that we will have sampled a disproportionate number of pages with high in-degree. Hence the sample obtained from the crawl is biased w.r.t. in-degree distribution, and presumably other graph statistics. (This still holds if we disregard pages with (in-)degree 0.)
The friendship paradox suggests a cheap way to allocate vaccinations without having to map out the entire social graph. We want to distribute vaccines to the most socially active people, to limit disease transmission on as many links as possible. But mapping is expensive. Instead, pick some number of people uniformly at random from the entire population. Then randomly move a friend of each a few times. The resulting set of people likely have high degree in the graph, by the friendship paradox.
SHA-256 token: 54641f52bbfd085c229515c5c4c2e82d01756820dc3da125a375cc476ac7677b
Lecture 5
The details of what we covered could fill a whole probability course, so don't worry if you don't feel that you could prove all the results -- focus on understanding the intuition behind what I told you. (And if you want to learn more, ask me and I'll point you in the right direction.)
In my mind the key things to take away about heavy-tails are the following:
1) Know some examples of heavy-tailed distributions (Pareto, Weibull, and LogNormal)
2) Know some generic processes that create heavy-tails -- additive process (generalized CLT), extremal processes, and multiplicative processes.
3) Know how to apply these ideas to networks in order to get a heavy-tailed degree distribution. (And be sure to look at the details of the proof for Preferential attachment, since that'll be useful on the HW.)
Like I said in class, I could go on-and-on about heavy-tails... So, I probably tried to pack too much into one lecture. You'll likely need to go back and look at the notes in order to really process everything we talked about.
Sunday, January 22, 2012
The Building Blocks of Economic Complexity in a Global Product Space
"The New, New Economy"
With the number of smartphone users growing in the US and across the globe, companies who reach out through smartphone apps now have a new way to access to a large network of consumers. No longer do businesses need to appeal to the comfort of doing business in without leaving home, but the convenience of doing business anywhere and anytime with their smartphones.
With the exception of gaming apps, a business cannot be run with only an app at its front. The internet economy will not die with the emergence of the smartphone economy, however, companies that wish to survive this transition need to adjust to the new platform. For example, the internet changed the banking industry by offering customers access to their accounts and information securely online to make transfers, pay bills, and even deposit checks from their personal customers. Now, customers look for banks that offer these services from any time and any place via mobile devices.
Finally, just as was necessary with the arrival of the internet, survival in the “new, new economy” will depend of the virality of the business. Basically, survival depends on how fast you can get to the top and stay there. Consider the well-known story of the movie rental service Blockbuster and how it fell to its end because its failure to transition its business to the new terrain of the internet. A business that does not want this fate in the transition to the "new, new economy" will take heed and adjust quickly.
http://www.forbes.com/sites/toddhixon/2012/01/19/going-viral-on-the-mobile-web/
Talk on "Startups" Monday at 4pm
Title: Skills You Should Have at a Startup
Speaker: Anthony Chong (Caltech Alum)
Date: Monday, January 23, 2012
Time: 4:00p.m.
Place: 213 Annenberg
Abstract: After leaving Caltech, I moved in with a friend from high school as the first employee at Adaptly (a startup in NYC). Rather than going for a safer future in industry or grad school, I figured a few years in a startup would provide a faster learning environment and better vehicle for doing social good. In the first year we went from three of us working out of the living room of our apartment to 30+ people working out of our offices in New York and sales office in London. I plan to address three topics:
1. What is it like to work at a startup?
2. What are useful tools Caltech grads should know/get familiar with to contribute quickly to the software development life cycle?
3. How do you get the most out of professional development at a startup?
Friday, January 20, 2012
Video Games and Game Theory
Can a greater knowledge of game theory provide a significant advantage in video games? One genre of video games that stands out as having a possibility of higher success with this knowledge is MMORPG’s, or Massively Multiplayer Online Role-Playing Games. The general idea behind an MMORPG is you, the player, take on a new identity in a fantasy world online. In this game players live the life of their new persona and interact with other players through this identity. The big question is whether a knowledge of game theory will affect decisions made in this virtual world?
One aspect that could be affected by knowledge of game theory is cooperation between players in small groups. In many MMORPG’s there are missions or quests which may sometimes have the option to complete them either alone or with a group. Considering that players act as they would in real life and are “intelligent rational decision-makers,”[1] if a mission can be completed alone with a high chance of success then they will choose not to cooperate with others. However, if the probability of success for working alone is low then that player will choose to work with others. When a group of players decide to work together in order to increase the success of all members, this is an example of a Non-zero sum game. If all the players can all succeed or fail together it’s called a non-zero-sum. While all players now all have a higher chance of success, the possibility of failure is still present. Many players may use this aspect of game theory without realizing this terminology. The difference between someone who knows what a non-zero sum is and someone who does not is a player with this knowledge can use it to create good odds of success but realizes that if they have too many players in the group then, although success is much higher, the payoff will be lower because it needs to be split between the group.
[1] Roger B. Myerson (1991). Game Theory: Analysis of Conflict, Harvard University Press, p.1. Chapter-preview links, pp. vii-xi
Homework 3
Of the four questions on the HW, the 1,2, and 4 you should be able to attack now. The third one is probably best done after Monday's lecture. (4 is related to what we'll do in class on Wed, but doesn't require anything that I'll teach on Wed, so you should be able to do it now.)
As always, if you have any questions about the HW, or just want to point out typos, please post them as comments on this post and then the TAs/prof will respond ASAP.
Thursday, January 19, 2012
Four Degrees of Facebook
"IF YOU DO NOT KNOW THE TARGET PERSON ON A PERSONAL BASIS, DO NOT TRY TO CONTACT HIM DIRECTLY. INSTEAD, MAIL THIS FOLDER (POSTCARDS AND ALL) TO A PERSONAL ACQUAINTANCE WHO IS MORE LIKELY THAN YOU TO KNOW THE TARGET PERSON.You may send the folder to a friend, relative or acquaintance, but it must be someone you know on a first name basis." [1]
Homework submission guidelines
Remember to list the classmates you worked with for each problem.
It's part of your work too! This also applies to Mathematica/Matlab codes and commands. If you used Excel, type up the relevant formulas and functions used to produce your results, graphs, etc.
If you turn in a hard copy of your set, please write down the date and time of when you turned it in. This includes late sets as well.
This is a plead from the TAs! We get a lot of submissions by email, and we need your help to speed up our manual process of printing everything out.First of all, please save everything as a single PDF file to make sure your submissions are formatted properly (which isn't guaranteed for Word documents when opened in Linux). Source can be saved as a PDF file by the "Print to PDF" function (native, Mac/Linux or CutePDF, Windows).If you have multiple PDFs (e.g. math as well as source code), you can merge them into a single PDF file using programs like pdfsam (Windows/Mac) or Ghostscript (Windows/Mac/Linux). Just remember to look over the output file to make sure you've combined everything in the right order. :)
If you use LaTeX to write up your sets, it's very easy to attach the source code: use the listings package and specify the filename of the source code, and the generated PDF file will automatically copy the code over with proper syntax highlighting. More details here.
Could Facebook’s New Open Graph Feature Reduce Web Diameter Even Further?
Today Facebook released a new tool for third party developers, called Open Graph, which will allow any source (website, phone application, camera, etc…) the ability to “share” the user’s actions on their Facebook page. This quickly and easily allows users to share what they have done with their friends on Facebook by posting the new content onto their wall. This feature was being done previously by a limited number of Facebook selected websites such as Spotify for letting people know what music songs the user was listening to. Open Graph now allows for any source to link to Facebook making Facebook a possible central hub for an extremely large strongly connected internet component.
Six degrees of separation is the popular notation for how far apart two distinct nodes are from each other for any given network. For the internet, the 90th percentile estimation or effective diameter is slightly higher at something closer to 8 degrees of separation. However, with the addition of Open Graph, one can imagine that the effective diameter of the internet might decrease dramatically since each link that is shared through Open Graph on Facebook has a corresponding link back to the site from whence it came, when possible. This means that every website that uses Open Graph becomes a part of a constantly growing strongly connected component*. With the release today of a third party tool for developers to integrate Open Graph with their website, any website on the internet can now potentially connect themselves to Facebook making for the possibility, however unlikely, of a completely strongly connected internet.
So a logical question would be to ask: what benefit does Facebook have being the central hub to this large strongly connected component? The answer is quite simple. Facebook is integrating Open Graph with their Timeline feature, allowing Facebook to automatically store everything you have published. This means if you want to know what song you were listening to last week, how far you ran yesterday or even the location of where you took that picture of the cat who rode a bicycle, it will all be saved in your Facebook history which will allow Facebook to target you with better ads and cause you to visit their site more often.
*An assumption is made here that the users of Open Graph have open profiles that allow for anyone else on Facebook to see their posts. In other words, all of Facebook is connected to one another. This is not true for every specific case but is likely true for the whole as the probability of any major website with Open Graph having at least one Facebook user with an open profile is large.
https://developers.facebook.com/docs/opengraph/
Wednesday, January 18, 2012
Lecture 4
With respect to G(n,p), the main point today was to give you an example of how to use concentration inequalities (e.g., Markov's and Chebychev's) to prove strong threshold results, i.e., threshold results about the probability of an event occurring rather than just about the expectation of an event. Hopefully, you followed along because you'll have to do it for yourself on HW2.
With respect to heavy-tails, we just got started. We're going to talk a lot about heavy-tails next time. This time, we really only talked about what they are, mainly through giving examples. Next time, we'll talk about where they come from. I'll try to give you a glimpse at what is really a whole advanced course in applied probability....
Be polite with your crawlers!
Don't get me in too much trouble!
P.S. It's great to see so many blog posts go up in recent days. So far they have all been quite interesting, so the first round is setting a high bar for those of you later in the alphabet.
A Coincidental Follow-up: How Memes Propagate Through the Internet
Just two decades ago, prior to the internet, to find out the results of a presidential debate one had to either watch the debate live, hear about it from a friend, learn the results through a TV or radio report, or read about it in the newspaper the following day. Due to the smaller number of news sources, it was easier to dispel rumors and trace back any misquotes to their sources origins. Now, however, the social media landscape allows for instant broad dissemination of information from a debate. Particularly controversial statements will find their way through the intestines of the internet even faster, as people quickly express their amazement, awe and criticism through blogging. Throughout this process of posts and re-posts, the an original quotation is bound to morph as people occasionally misquote it. Tracing the evolution of a quotation throughout the internet sheds light on the structure and inter-connectivity of news websites, blogs, and social media sites. In their 2009 paper “Meme-tracking and the Dynamic of the News Cycle”, a team at Cornell University headed by Jure Leskovec developed a method for examining the path of these “memes”.
The researchers employed a novel method to track the spread of memes throughout a set of 90 million news articles and blog posts from August to November 2008. They first identified very short phrases that remain intact as they spread. This set of distinct phrases varied heavily from day to day, and was a good indicator of memes that could be traced. They then developed algorithms that were able to extract all variants of these phrases. The algorithms involved developing phrase graphs, which are directed graphs that have phrases as nodes and directed edges from one node to another if the first phrase was a direct predecessor to the second. A primary way of determining whether to place a directed edge between two nodes is if one is an excerpt of the other. The phrase was then partitioned to create connected components with a single root node that represented the origin of the meme.
When analyzing their results, Lescovec et al. were able to make some interesting conclusions about the dynamics of spread of information. There were distinctive peaks in the number of mentions of a meme on both blog and news sites. However, the peak attention from news sources occurred around two and a half ours hours before the peak attention of that phrase from bloggers. On either side of these peaks, the volume of intensity declined exponentially. Smaller peaks also showed oscillation between blogs and news sites, as the two genres of sources played off each other in mentioning a phrase.
Now, with another election season upon us, political candidates are again in the spotlight. Their statements will be spread throughout the internet through news articles, blog posts, Facebook statuses, and Twitter updates. In the past four years, the Internet has become more connected, as these websites have grown in popularity and more of the campaign trail is captured online. What would a similar meme analysis of a political phrase look like today?
Internet Memes: A Game Theory Explanation
Tuesday, January 17, 2012
Internet Worm Exploits Social Networks
Blackouts in Response to SOPA
Today, January 18th 2012 at 12AM EST, Wikipedia, reddit, Mozilla, and dozens of other companies blacked out their websites to protest SOPA and PIPA. Still others such as Google are mounting less drastic protests by changing their web sites. Detractors of the bill claim it is tantamount to Internet censorship and that it blatantly violates the First Amendment rights of everyone on the Internet. According to some interpretations of a recent version of the bill, the U.S. Department of Justice could shut down a site like Youtube or Vimeo, who hosts user content, because just a single user has uploaded infringing content.
If enacted, SOPA would affect many different technical aspects of the Internet. Some opponents of the bill claim that ISPs would need to perform deep packet inspection to comply with orders to block users accessing infringing content. The bill could also disrupt the Domain Name System, the Internet mechanism central to turning human-readable website names like google.com into IP addresses, which are more useful for routing traffic. Suppose the DOJ requires an ISP to block access to a site after finding out that it hosts infringing content. The ISP would then need to perform DNS filtering before passing the DNS request along, basically circumventing the process.
Later in January the House of Representatives will vote on SOPA, and the Senate will vote on a similar bill, the PROTECT IP Act. We’re a long way from seeing anything like this become law, but the implications are certainly far-reaching and worth keeping an eye on. You can read more about SOPA here, but don't look now; the site will be back up tomorrow.
-Robert Karl
Monday, January 16, 2012
Data centers in the North
The flip side of personalized web results
Lunch Bunch on "Green" data centers Tuesday
Also, in general I recommend that Juniors and Seniors attend all the Lunch Bunches. They are meant to be at a "Scientific American" level so that you can get something out of them, and they'll be very useful in helping you to understand what is going on in various research areas and companies. Oh, and they have free lunch! Think of them as the followup to CS9, where now you're ready to hear more of the details.
Sunday, January 15, 2012
The Potential of a Good Network in Politics
As David Binetti mentions in his article, the “new political battleground” lies in the connections people have to one another. Many voters, especially the younger ones, no longer receive their news and information from watching TV, which greatly lessens the impact of campaign ads. Today, many voters seek opinions online from numerous news conglomerates, popular blogs, and their own friends. The thoughts and views of certain individuals can reach a much wider audience than any single campaign ad can due to the high connectivity and small diameter of the social network.
The realization Binetti brings forth in his article is that in many areas, the individual’s vote is meaningless. You might live in a state where the opposing party heavily outnumbers your side and that party has always maintained dominance. But just because your vote might not make a difference in your area, your opinions can still have an impact. A single blogger’s post about a candidate or an issue can propagate through the network and reach hundreds of followers. Some of these followers may live in “swing states”, which historically could go to either side. One of your posts on Facebook or links to articles could easily reach a friend in one of these areas and help sway their vote. The vastness of the social network allows voters to connect and get information like never before.
For a fair number of people in this class, this will be the first presidential election you’ve voted in having just missed the cutoff in 2008. Your opinions and views can make a difference in the coming election. If you see an interesting article or have thoughts about the election, feel free to share them on Facebook or Twitter. Because of the connected network structure, these views can reach many people over a wide geographical area. Your connections and the social network you form could provide an invaluable tool that could change the course of this and future elections.
Friday, January 13, 2012
Homework 2
If you have any questions about the HW, or just want to point out typos, please post them as comments on this post and then the TAs/prof will respond ASAP.
Don't forget to start early!
Wednesday, January 11, 2012
Lecture 3
Today we moved from studying the web graph to looking at a bunch of examples of other complex networks besides the web. My goal was to illustrate that the properties we saw in the web graph aren't special to the web -- they happen in most of these other networks too. So, they are in some sense "universal".
This motivates two natural directions, which we'll spend the next few weeks studying:
1) Trying to understand what causes these properties to emerge
2) Figuring out how to exploit these properties.
We'll to 1 and then 2, spending about 3-4 lectures on each.
We started on 1 today by exploring Erdos-Renyi random graphs. We saw that this simple model won't give us all the properties we want, but that it seems promising in terms of connectivity. We'll finish up that discussion next time, and then move on to trying to understand what causes some of the other "universal" properties to emerge.
Don't forget to come to office hours tonight & tomorrow night...and of course, don't forget that HW1 is due Friday.
Tuesday, January 10, 2012
New room (again): Arms 155
Monday, January 9, 2012
Lecture 2
The notes and slides for lecture 2 are now up on the course website. The key take-aways from today's lecture are the following 4 interesting properties:
1) Connectivity: The web has one "giant" connected component and all other connected components are tiny.
2) Diameter: The distance between nodes is quite small (~6 avg. distance between noes in the SCC) and, for at least the beginning decade of the web, grow logarithmically with the size of the graph.
3) Degrees: The degree distribution is not Normal... Instead it's heavy-tailed. This means we should expect a few nodes with really "huge" degree and "lots" of nodes with small degree.
4) Clustering: The web exhibits strong "homophilly", i.e., if A is connected to B and C it is significantly more likely than random for B to be connected to C.
Over the next few lectures we'll see that these properties are "universal", and we'll try to explain why they are so common.
(By the way, I'm excited to see that someone already made their first blog post!)
Sunday, January 8, 2012
Networking into the Past
In the heyday of social media, one can hardly click in a browser without “+1”, “share on Facebook”, and “tweet this” buttons bulging from the page. However, anything that achieves internet popularity is subject to the deplorably transient attention spans of the clicking masses. In other words, the Internet is a creature of the present. The “it” topic of the week is just that, the topic for a week, and any mentions of it later lead to nothing but cries of “repost!” and downvotes on Reddit.
But Timehop’s launch this week (mentioned in the Techcrunch article here ) and Facebook’s controversial Timeline feature together may be indicating a shift in the paradigm of internet content. People may be tired of a world in which all we do is charge forward. Sometimes we want to fondly reminisce about things in the past, and we want to do so in such a way that is socially acceptable. At the moment, commenting on a friend’s pictures from three months ago is indicative of “Facebook stalking,” but even simple changes to the UI may cause peers to be a bit more appreciative of their friends’ wanting to relive memories, and maybe even inspire them to join in. The “history writing” feature mentioned in the article is especially conducive to large discussions of past events. It invites peers to join in on the journey down memory lane instead of making the reminiscing user fly solo.
Most interestingly, Timehop and other related services could possibly introduce a new dimension to social networking. The mentioned “social media nostalgia” makes every social media user’s network so much larger. Now people can be linked to each other not just by friendships, but also by past locations and past interests, courtesy of access to their historical social content. In particular, Timehop brings up content including Facebook status updates, photos, and Twitter posts from up to a year in the past. Yes, this content always existed, but allowing to user to bring it up themselves lessens the shock from how much past personal information is stored by internet companies and makes it a little more acceptable for that information to be used by said companies in order to find connections.
Foursquare, a large content source for the precursor of Timehop, is a location tracking utility, so a new connection formed by a just-accepted friend request can be further strengthened by the link that the two both played at the same beach ultimate Frisbee tournament two months ago. The graph of social connections is becoming multi-colored; edges can be drawn for a multitude of reasons. Common past interests, common past event attendance, and common past Twittered trends are all fair game.
As the internet expands the characteristics over which it forges connections between people, more and more people will become familiar with the concept, if not the name, of “six degrees of separation,” and we will all realize that links can be found between even the most unlikely pairs of social media users.
Who knows? If we add enough colors to our graph of Internet social connections, five degrees may become the new six degrees.
Friday, January 6, 2012
Homework 1
To turn in the HW, you can either drop a paper copy off at Adam's office (I will soon have a box outside my door for submissions), or by email to the homework guru (in this case Raga).
If you have any questions about the HW, or just want to point out typos, please post them as comments on this post and then the TAs/prof will respond ASAP.
Don't forget to start early!
Probability Refresher
We will post his notes to the website afterwards, but if you have any questions about what he covers, post them as comments here.
Thursday, January 5, 2012
New room: Steele 102
In the mean time, don't forget about the probability refresher in Annenberg 213 Friday 1-2:30.
Lecture 1
If you still have any questions about what the course is about or about the procedural details of the course, please post them as comments here or ask me at the beginning of the next class. Also, I really recommend reading through the V. Bush and T. Berners-Lee papers that I talked about in class there are links to them at the course website.
Also, be sure to remember that JK will be giving a probability refresher on Friday at 1-2pm in Annenberg 213. If you haven't had any probability since Math 2, I highly recommend attending, as being comfortable with it will be key to the first half of the course.
Tuesday, January 3, 2012
Welcome to CS/EE 144!
Welcome back... hope you're ready for a challenging but (hopefully) fun term.
You'll find most of the details about the course on the course website, so be sure to check there consistently. What we'll be using this blog for a few things.
- It'll be a place for announcements about the course, asking/answering questions on the homework, etc. Basically, it'll be a way to avoid broadcasting emails to the class. So, please be sure to check it regularly.
- It'll be a course blog for us to post and discuss interesting papers, news articles, and general happenings related to the course. See the course website for details about how the "blog post" assignments will work.
Thursday, March 10, 2011
Final office hours
Today at 7pm (in 30min)
Monday 7-9pm
Tuesday 7-9pm
Be sure to attend so that the TAs don't get lonely!
Wednesday, March 9, 2011
Clickmaniac final results
I know I'm a little late in posting this, but here are the final results (for posterity):
Doris, Dai Wei, Wenqi: 4523 clicks, 2813 actions
Wen-Hao: 2557 clicks, 1153 actions
Emil: 2511 clicks, 1325 actions
Mihail & Nihar: 761 clicks, 382 actions
Jami & Giordon: 732 clicks, 374 actions
Zack & Ye: 360 clicks, 255 actions
Fred & Scott: 329 clicks, 142 actions
George & Matt: 274 clicks, 85 actions
Ben & Claudia: 169 clicks, 71 actions
The TAs: 108 clicks, 38 actions
Andrew: 94 clicks, 24 actions
Sasha & Alejandro: 61 clicks 74 actions
Isaac & Bo: 36 clicks, 7 actions
Great job everyone! I'm blown away at how many likes/clicks you guys were able to get in a week.
Final lectures
That brings us to today's lecture. Today, I'll spend half the class giving an overview of the design of data centers themselves, with a focus on energy-efficiency issues. If you find yourself interested in these issues, you should definitely sign up for 146 this spring since we'll be going into a lot more detail about research in this area.
Then, the last thing we'll do is a course review, where I'll quiz you all about the "big" ideas from the course, and reward correct answers with candy... Please come so that you get a reminder of all the things we covered this term.
Monday, March 7, 2011
HW 7 is out
This one has half about auctions (GSP) and half about MapReduce (which you'll learn in today's lecture).
This Homework and your project plan are the last things of the term. Both are due at the end of finals, but there is no reason why you can't turn them in earlier if you don't want to hang around until then!
Monday, February 28, 2011
Project plan
Basically, if you're taking 145 you'll do a 5-10 page plan for the project that you'll pursue in the spring term, and if not, you'll do a new course module (lecture plus a few HW problems). If the course modules are good I may adopt them for next year!
Wednesday, February 23, 2011
Lecture 9
Today we covered a little bit of historical perspective about them and next class we'll get into the theory. We'll start with the basics of auction theory and then move to the special case of ad auctions and ad exchanges (where we'll do a little in class experiment to give you a feel for the problem).
Note -- we will be having a make-up lecture on Friday 2/25 (this friday) at 1-2:30 in Ann 213. Please be sure to attend since we'll be covering important material.
Also, we will be having only 1 office hours this week (since the HW is not due until next friday). Raga will be covering office hours Thursday 7-9. Please stop by if you have questions about the ad auction competition or about the theory part of HW6.
Monday, February 21, 2011
Homework 6
Thursday, February 17, 2011
Rankmaniac finale
1) Giordan & Jamie
2) Mihail & Nihar ***
3) Zach & Ye
4) Fred & Scott
5) Sasha & Alejandro
6) Isaac & Bo
7) TAs
8) Wen-Hao
9) Doris, Dai Wei, Wenqi
10) Claudia & Ben
11) Emil
12) Andrew
13) George & Matt
Bing
1) Fred & Scott ***
2) Doris, Dai Wei, Wenqi
3) Wen-Hao
4) Zach & Ye
5) TAs
6) Emil
7) Isaac & Bo
8) Sasha & Alejandro
9) George & Matt
10) Giordon & Jamie
11) Claudia & Ben
?? Andrew
?? Mihail & Nihar
*** means top result for "rankmaniac"
Monday, February 14, 2011
Lecture 8
Remember -- Wednesday is the conclusion of "rankmania". We'll have the ceremonial search at 12:30 in Ann 213. So, feel free to bring your lunch...but make sure someone from your group is there so that we can easily identify which pages belong to which group and assign grades.
Also, remember that the project proposals are due wednesday at 12:30 too, so bring them along with you.
Friday, February 11, 2011
Rankmaniac reports
Tuesday, February 8, 2011
Lecture 7
We looked at a few "toy" models that I hope gave you a flavor for what cascades are and how network structure (specifically clustering) affects their growth. We really only touched the tip of the iceberg however, and so there are lots of related questions that would make great project ideas on this topic. I hope to see a bunch of ideas here when you turn in your project proposals.
Remember: HWs are due on Friday this week, and so office hours are Wednesday and Thursday. I'll be having mine on Wednesday, so please come early and get started on the HW (even though it's an easy week). Otherwise I'll get lonely...
Tuesday, February 1, 2011
Homework 5
If the problems seem hard, or use terms that you don't know, be sure to come to Bose's "Intro to Game Theory" lecture this wednesday during the normal class time. If you know all the terms in the homework and it's easy for you, there's no need to come on wednesday.
As always, post your questions about the homework as comments to this post.
Project ideas
If you're still looking for a group for the project proposals, post a comment here and I'm sure you'll find others looking.
Sunday, January 30, 2011
Homework 4 Update
Wednesday, January 26, 2011
Homework 3 clafication
If anyone has already done with the other meaning, you do not need to redo it. Sorry for the confusion!
Homework 4
(Remember not to get me in too much trouble though!)
I will be willing to post links to peoples pages from the course website if so desired. There is a limit of 1 page per group that I will link to though.
Lecture 6
Note -- understanding pagerank and the other aspects of search engines that we discuss will be very important for you on HW4, which will be posted after class today.
Thursday, January 20, 2011
Homework 3
As usual, ask your questions on the homework as comments to this post... Good luck!
Wednesday, January 19, 2011
Lecture 5
But, we saw that one possible explanation for small world properties is a combination of local correlation with long-range random links. However, this combination only explains the existence of short paths, it doesn't explain why we can find them so easily.
To explain this second observation (and to me the more interesting observation) we saw that the long range links have to be proportional to the distance in a very precise manner. So, it is in some sense much more rare that we can find short paths with myopic algorithms than it is for the short paths to exist in the first place.
Remember though that the models we have discussed for small world graphs DO NOT have heavy-tailed degree distributions! So, we really haven't given a "natural" mechanism that explains all four of our "universal" properties, we've just given mechanisms for each individually. Can you think of how to combine our heavy-tailed degree distribution ideas with the small world ideas?
Wednesday, January 12, 2011
Lecture 4
The details of what we covered could fill a whole probability course, so don't worry if you don't feel that you could prove all the results -- focus on understanding the intuition behind what I told you. (And if you want to learn more, ask me and I'll point you in the right direction.)
In my mind the key things from today are
1) Know some examples of heavy-tailed distributions (Pareto, Weibull, and LogNormal)
2) Know some generic processes that create heavy-tails -- additive process (generalized CLT), extremal processes, and multiplicative processes.
3) Know how to apply these ideas to networks in order to get a heavy-tailed degree distribution. (We introduced Preferential attachment today, and I'll do the proof of the degree distribution next time.)
Like I said in class, I could go on-and-on about heavy-tails... So, I probably tried to pack too much into 1 lecture. You'll likely need to go back and look at the notes (which will be up soon) in order to really process everything we talked about.
Monday, January 10, 2011
Homework 2
As always, ask your questions as comments to this post... Good luck!
Lecture 3
This motivates two natural directions:
1) Trying to understand what causes these properties to emerge
2) Figuring out how to exploit these properties.
We'll to 1 and then 2, spending about 3-4 lectures on each.
We started on 1 today by exploring Erdos-Renyi random graphs. What we saw is that through a very simple random graph model we could obtain connectivity structure (a giant component and a small diameter) that very closely mimic what we saw in the web graph and the other networks. So, in some sense, there is a very simple explanation of these properties -- they result from independent random connections.
But, the Erdos-Renyi graph does not provide an explanation for clustering or heavy-tailed degree distributions. Understanding why these occur so often will be the focus of the next two lectures.
Thursday, January 6, 2011
Bonus Lecture: Probability Refresher
Here is the plan - we'll start by recalling the definition of a random variable and then review what discrete and continuous random variables are. Following that, we'll revisit the different types of distribution functions (probability mass function, probability density function, cumulative distribution function) and discuss some standard and well known discrete and continuous random variables (Bernoulli, binomial, geometric, Poisson, uniform, exponential, normal). Then we'll define expectation of a random variable and review some of the important properties of the expectation, with particular emphasis on linearity and its applications using indicator random variables (useful for HW1).
You don't have to attend the lecture if you are really comfortable with these concepts (and can comfortably solve Problem 2 of HW1). But if you've never really kept in touch with probability for a long time, then you'd probably benefit from the lecture.
It'll be a short lecture (about one hour). The slides are pretty verbose, and could serve as a reference later on. They will be posted on the course website after the lecture tomorrow.
Update: They are now posted on the course website.
Wednesday, January 5, 2011
Lecture 2
We didn't get quite a far as I'd hoped, but we'll finish up the slides next class by looking at the structure of lots of networks other than the web.
The key take-aways from today's lecture are the following 4 interesting properties:
1) Connectivity: The web has one "giant" connected component and all other connected components are tiny.
2) Diameter: The distance between nodes is quite small (~6 avg. distance between noes in the SCC) and, for at least the beginning decade of the web, grow logarithmically with the size of the graph.
3) Degrees: The degree distribution is not Normal... Instead it's heavy-tailed. This means we should expect a few nodes with really "huge" degree and "lots" of nodes with small degree.
4) Clustering: The web exhibits strong "homophilly", i.e., if A is connected to B and C it is significantly more likely than random for B to be connected to C.
We'll see next time that these four properties are "universal"...and then we'll try to explain why they are so common.
Don't forget to attend Raga's probability refresher on Friday @ 1pm in Annenberg 213!
Tuesday, January 4, 2011
No office hours this week
As I said in class, I really hope that most of you will come to the office hours, even if you don't have questions, and work on the HW there. Then, when you have questions you can ask them of me or the TAs (or your classmates).
Monday, January 3, 2011
Homework 1
Note that there is a typo in the due date on the ones handed out in class -- it is due next Thursday, Jan 13 at 1:30pm. Be sure to start early.
Also, if you're nervous about whether you know enough probability, try out the first two problems and attend Raga's Probability refresher on Friday if you have any trouble.
If you have any questions about the homework (or want to point out typos), write a comments on this post and the TAs/prof will respond ASAP.
Lecture 1
If you still have any questions about what the course is about or about the procedural details of the course, please post them as comments here. Also, I really recommend reading through the handouts that I gave out in class. For those of you who didn't get a copy, there are links to them posted on the course website now.
Also, be sure to remember that Raga will be giving a probability refresher on Friday at 1-2pm in Annenberg 213. If you haven't had any probability since Math 2, I highly recommend attending.