tag:blogger.com,1999:blog-8890204.post1568476519276859323..comments2024-04-22T03:27:07.540-04:00Comments on My Biased Coin: Preparing for ClassMichael Mitzenmacherhttp://www.blogger.com/profile/06738274256402616703noreply@blogger.comBlogger19125tag:blogger.com,1999:blog-8890204.post-90503783062710578152009-01-27T17:27:00.000-05:002009-01-27T17:27:00.000-05:00For state of the art in shortest paths, see papers...For state of the art in shortest paths, see papers by Sanders and Schultes on Highway Hierarchies.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8890204.post-37150569926911969622009-01-09T21:20:00.000-05:002009-01-09T21:20:00.000-05:00I do RSA in the undergrad algorithms class.I do RSA in the undergrad algorithms class.Michael Mitzenmacherhttps://www.blogger.com/profile/02161161032642563814noreply@blogger.comtag:blogger.com,1999:blog-8890204.post-69249263806029083732009-01-09T18:26:00.000-05:002009-01-09T18:26:00.000-05:00RSA?RSA?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8890204.post-29958926315228498212009-01-08T11:08:00.000-05:002009-01-08T11:08:00.000-05:00M I don't want to spend too much time on Huffman c...M <BR/><BR/>I don't want to spend too much time on Huffman coding -- it's just one compression scheme I have them learn -- but I do put in the implementation paper to make sure they know:<BR/><BR/>1) There are faster ways to implement Huffman coding than the "walk down a binary tree" approach they probably learned. (I wish undergraduate algorithms textbooks would make clear that while that's a great way to THINK about Huffman coding, it's a terrible way to IMPLEMENT Huffman coding.)<BR/>2) Huffman coding is far from dead. :)Michael Mitzenmacherhttps://www.blogger.com/profile/02161161032642563814noreply@blogger.comtag:blogger.com,1999:blog-8890204.post-4841190212656520102009-01-08T11:05:00.000-05:002009-01-08T11:05:00.000-05:00Anonymous -- State of the art for shortest paths d...Anonymous -- State of the art for shortest paths doesn't quite fit in to any of the themes, but is certainly a potential worthwhile subject. Any recommendations for the current state of the art in papers? (I could just look up whatever Andrew Goldberg has done lately, but perhaps someone has a more concrete suggestion.)Michael Mitzenmacherhttps://www.blogger.com/profile/02161161032642563814noreply@blogger.comtag:blogger.com,1999:blog-8890204.post-64283650423645359142009-01-08T11:04:00.000-05:002009-01-08T11:04:00.000-05:00Kurt --PageRank (and HITS) are always my starting ...Kurt --<BR/><BR/>PageRank (and HITS) are always my starting point for the class. Interesting, relevant, and with plenty of mathematical foundations behind them. (Gives me an excuse to make sure people know Markov chains.) <BR/><BR/>Maybe I'll have the read MapReduce. I don't think it's very theoretical in and of itself, although I guess if that's your paradigm it does affect how you think of algorithm design.Michael Mitzenmacherhttps://www.blogger.com/profile/02161161032642563814noreply@blogger.comtag:blogger.com,1999:blog-8890204.post-64588687039312347222009-01-08T01:55:00.000-05:002009-01-08T01:55:00.000-05:00I've seen that you've used "On the Implementation ...I've seen that you've used "On the Implementation of Minimum Redundancy Prefix Codes" in your Algorithms at The Ends of the Wire class, which is good. Other papers on similar topics include "An Attribute Grammar Based Framework For Machine-Dependent Computational Optimization Of Media Processing Algorithms," which is a slight extension (probably not important enough to include, but worth a skim); the 1976 "On the construction of Huffman trees," about the linear-time "two-queue" Huffman coding algorithm, which is often ignored since unsorted data has the same complexity using priority queue; and the 1993 "Is Huffman coding dead?" which empirically compares Huffman coding with "better" methods such as arithmetic coding. Other papers that might be worth a look have to do with quickly finding an optimal code for huge alphabets (e.g., "Efficient construction of minimum-redundancy codes for large alphabets" or "Distribution-Sensitive Construction of Minimum-Redundancy Prefix Codes") or are a part of the vast literature on alphabetic codes (Hu-Tucker, Hu-Kleitman-Tamaki, Hu-Morgenthaler, Hu-Larmore-Morgenthaler), which bridges coding and search.<BR/><BR/>I suppose that's probably way more into the Huffman realm than your students would normally go, but, hey, it's my area. The take-home messages of the "two-queue" and "dead?" papers are probably the best ones to impart: finding the Huffman code can be done in linear time with a simple algorithm, and Huffman coding is often preferable to newer algorithms.Unknownhttps://www.blogger.com/profile/14749446395269735704noreply@blogger.comtag:blogger.com,1999:blog-8890204.post-17804212507059733422009-01-06T23:24:00.000-05:002009-01-06T23:24:00.000-05:00I'm sure you've already included or considered the...I'm sure you've already included or considered these, but they come to mind since Michael Nielsen has been <A HREF="http://michaelnielsen.org/blog/?page_id=503" REL="nofollow">blogging</A> about them lately: PageRank and MapReduce. I don't know how interesting those are from a purely theoretical point of view, but you certainly don't get much bigger or more practical than that.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8890204.post-1556637607905551552009-01-06T18:15:00.000-05:002009-01-06T18:15:00.000-05:00I think the *practical* algorithms for max-flow an...I think the *practical* algorithms for max-flow and for shortest path computation are not taught enough. I would suggest discussing the A* algorithm.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8890204.post-50164142418892207682009-01-06T17:22:00.000-05:002009-01-06T17:22:00.000-05:00I've read a bit of the self-assembly literature, a...I've read a bit of the self-assembly literature, and the macroscale self-assembly coming out of robotics research seems more consistent with the spirit of the original post: big data and network theory connecting to practical work -- or, at least, connecting to work that appears to have direct practical applications soon.<BR/><BR/>In Klavins, Programmable Self Assembly, IEEE Control Systems Magazine 2007, the author builds self-assembling robots, and programs them with graph grammars he calls "distributed algorithms." He also explicitly compares his own impossibility results to the famous FLP impossibility result in distributed computing.<BR/><BR/>Klavins et al, Graph Grammars for Self-Assembling Robotic Systems, ICRA 2004, is a more technical, "mathy" treatment of the subject. It also connects the theory of self-assembly to problems similar to "geese flocking," which is significant in control systems theory.<BR/><BR/>Neither of those papers makes extravagant claims about the potential power of the field.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8890204.post-77384424442170133642009-01-06T15:40:00.000-05:002009-01-06T15:40:00.000-05:00David --In the past I've stayed away from worm det...David --<BR/><BR/>In the past I've stayed away from worm detection type stuff -- since I've been focusing on Algorithms at the End of the Wire, and it seems to me that worm detection is pretty much on the wire. (Similarly, I haven't done algorithms related to routing, etc.) However, it's a bit of a blurry line, and the topic does intersect nicely with streaming algorithms and such. (And of course I am a huge fan of the work of George Varghese.) Maybe it's time to throw some of that in.Michael Mitzenmacherhttps://www.blogger.com/profile/02161161032642563814noreply@blogger.comtag:blogger.com,1999:blog-8890204.post-68640430270620125902009-01-06T14:35:00.000-05:002009-01-06T14:35:00.000-05:00How about the Earlybird paper? The paper lays out ...How about the Earlybird paper? The paper lays out the challenges in doing worm detection at wire speed, then it shows how to use the incremental update property of Rabin's polynomial fingerprinting to meet these challenges. The technology was commercialized by NetSift, then later acquired by Cisco, which is about as practical as it gets. <BR/><BR/>"The EarlyBird System for Real-time Detection of<BR/>Unknown Worms"<BR/>Sumeet Singh, Cristian Estan, George Varghese, Stefan Savage<BR/>http://www.cs.unc.edu/~jeffay/courses/nidsS05/signatures/savage-earlybird03.pdf<BR/><BR/>This in turn led to a paper I've always found pretty. The authors use reductions from set disjointness to show that certain kinds of intrusion detection problems cannot be solved by a streaming algorithm with constant space. Then they show how relaxations of those problems admit streaming algorithms while achieving many of the same intrusion detection goals. <BR/><BR/>"On The Difficulty of Scalably Detecting Network Attacks"<BR/>Kirill Levchenko, Ramamohan Paturi, and George Varghese<BR/>http://www.cs.ucsd.edu/~varghese/PAPERS/anomalies14ccs.pdf<BR/><BR/>Apologies if you already knew about either or both papers...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8890204.post-76000783607222051852009-01-06T14:23:00.000-05:002009-01-06T14:23:00.000-05:00Yuri Boykov has a series of papers on max-flow/min...Yuri Boykov has a series of papers on max-flow/min-cut applications to segmentation in computer vision that has had a huge impact in industrial computer-vision applications.<BR/><BR/>http://www.csd.uwo.ca/~yuri/Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8890204.post-9951804532195460372009-01-06T14:11:00.000-05:002009-01-06T14:11:00.000-05:00The largest real-world problem solved on a DNA-com...The largest real-world problem solved on a DNA-computer, to my knowledge is a 20-variable 3-SAT problem [1]. Also, some people have taken the general-purpose approach with DNA computation and created some 2-input logic gates using DNA, though they've had trouble computing anything with more than just a couple connected gates [2]. <BR/><BR/>Most DNA-computation researchers would agree that DNA computation will likely not scale to problems, say, larger than 20-variable 3-SAT instances because of inherent error rates that tend to add up to destroy information in large computations. However, DNA computation has given rise to the field of self-assembly, that allows control over error rates. In self-assembly using DNA, people have built (computed) fractals [3] and some really nice designs [4] (pictures in [4] are worth a look). <BR/><BR/>On the systems side, people (including myself) have used ideas from self-assembly to distribute computation onto Internet nodes to solve NP-complete problems. The largest real-world distribution to date is 186 nodes [5].<BR/><BR/>[1] Ravinderjit Braich, Nickolas Chelyapov, Cliff Johnson, Paul Rothemund, Leonard Adleman, Solution of a 20-variable 3-SAT problem on a<BR/>DNA computer, Science 296 (5567) (2002) 499–502.<BR/><BR/>[2] Georg Seelig, David Soloveichik, David Yu Zhang, Erik Winfree, Enzyme-Free Nucleic Acid Logic Circuits. Science 314 (2006) 1585-1588.<BR/>http://www.dna.caltech.edu/Papers/DNA_logic_circuits2006.pdf<BR/><BR/>[3] Paul W.K. Rothemund, Nick Papadakis, Erik Winfree, Algorithmic Self-Assembly of DNA Sierpinski Triangles. PLoS Biology 2 (12) (2004) e424.<BR/>http://www.dna.caltech.edu/Papers/SierpinskiDNA_PLoS2004.pdf<BR/><BR/>[4] Paul W. K. Rothemund, Folding DNA to create nanoscale shapes and patterns. Nature 440 (2006) 297-302.<BR/>http://www.dna.caltech.edu/Papers/DNAorigami-nature.pdf<BR/><BR/>[5] Yuriy Brun, Nenad Medvidovic, "Preserving Privacy in Distributed Computation via Self-Assembly", (currently under review). Tech report USC-CSSE-2008-819 available at http://csse.usc.edu/csse/TECHRPTS/2008/usc-csse-2008-819/usc-csse-2008-819.pdfYuriyhttps://www.blogger.com/profile/15740809505697641661noreply@blogger.comtag:blogger.com,1999:blog-8890204.post-42326031349176618332009-01-06T14:05:00.000-05:002009-01-06T14:05:00.000-05:00Micheal:Can you share a brief sketch of what resul...Micheal:<BR/><BR/>Can you share a brief sketch of what results about NC are you planning on teaching.<BR/><BR/>How much do you talk about graph seperators, results from Leighton Rao, the generalization by Klein Tardos and then the recent work along the same line but for network coding by Harvey - Lehman etc.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8890204.post-14674071630200929052009-01-06T14:03:00.000-05:002009-01-06T14:03:00.000-05:00Aravind --That's a good suggestion. I'm having th...Aravind --<BR/><BR/>That's a good suggestion. I'm having the class read my power law survey article for "background", and although the class isn't specifically about network models, that would be a good paper to add if there's time (or make optional reading in any case).Michael Mitzenmacherhttps://www.blogger.com/profile/02161161032642563814noreply@blogger.comtag:blogger.com,1999:blog-8890204.post-11739930896642412862009-01-06T13:56:00.000-05:002009-01-06T13:56:00.000-05:00MM, happy new year!I suggest the recent Kronecker ...MM, happy new year!<BR/><BR/>I suggest the recent <A HREF="http://arxiv.org/abs/0812.4905" REL="nofollow">Kronecker Graph model</A> for large networks, proposed by Leskovec et al. It includes theory and experimentation, and seems to suggest/generate good models for many types of large networks.<BR/><BR/>aravindAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8890204.post-64284740017699171362009-01-06T13:23:00.000-05:002009-01-06T13:23:00.000-05:00Yuriy --I'm afraid I'm not a believer in DNA compu...Yuriy --<BR/><BR/>I'm afraid I'm not a believer in DNA computation in practice. Do you know of anyone solving a real-world problem with DNA computation?<BR/><BR/>I'm more interested in this course in looking at stuff that at/near deployment. (Network coding is about as speculative as I intend the course to get.)Michael Mitzenmacherhttps://www.blogger.com/profile/02161161032642563814noreply@blogger.comtag:blogger.com,1999:blog-8890204.post-43837466824612437412009-01-06T13:04:00.000-05:002009-01-06T13:04:00.000-05:00How about the seminal paper on DNA computation. I...How about the seminal paper on DNA computation. It demonstrates that one can use DNA to handle incredible amounts of computation in parallel, and solve NP-complete problems. This isn't exactly "big data" but rather "big computation that creates big intermittent data."<BR/><BR/>The paper is available from Science<BR/>http://www.sciencemag.org/cgi/reprint/266/5187/1021.pdf<BR/><BR/>...but if institutional access is lacking, you can also get a copy here<BR/>http://www.cs.duke.edu/courses/cps296.4/spring04/papers/Adleman94.pdf<BR/><BR/>If this is something of interest to you, I can also recommend some of the more recent papers on the subject, including how the nature's process of self-assembly can be used to solve NP-complete problems. Some of these papers are more theory oriented, with theorems, proofs, etc.Yuriyhttps://www.blogger.com/profile/15740809505697641661noreply@blogger.com