CS 222 -- Algorithms at The Ends of the Wire

also CSCI E-210 (Extension School)

Preliminary Syllabus for 2022

Instructor: Michael Mitzenmacher
E-mail: michaelm AT eecs.harvard.edu
Office: SEC Building, 3-310
Phone: 496-7172
Office Hours: TBD (subject to change, depending on conflicts). For now by appointment on zoom; late evenings are good.

Teaching Assistant: Eric Knorr
E-mail: TBD
Office Hours: TBD

Syllabus: www.eecs.harvard.edu/~michaelm/CS222/syllabus.html

Handouts: www.eecs.harvard.edu/~michaelm/CS222/class.html


This course is loosely based on two themes: connecting theory and practice, and how to deal with really big data (especially over networks). The topics change from offering to offering, and the below is subject to change. The course will consist of multiple independent units, covering the major themes of data sketches and streaming algorithms, compression, and hashing-based algorithms generally. This semester, we will also be looking at research in the new area of Algorithms with Predictions.

Although the course will emphasize theoretical foundations, the course is meant to show the synthesis of theory and practice; we will often read pairs of papers, one from the "theory community" and one from the "systems community", on the same theme. The course is also meant to promote skills required of graduate students, such as criticial and creative reading and analysis of papers, and research.

The main work of the course will consist of the following: reading and analyzing a number of current and classic research papers; homework problems based on the material; participating in a mock program committee; and undertaking a final research project. (I have been told the workload of the class is reasonable but non-trivial. If you were looking for a graduate class with no work requirements, please look elsewhere.)

During the semester, you will frequently be reading two research papers to prepare for each class. This is more work than it sounds like! You must come to class prepared consistently; if your schedule will not permit that, you should not take the class.

I am hoping to arrange several online "interviews" with colleagues who work at the interface of theory and practice, to discuss how they see the connections between them and how they have worked to bring the areas together. I am hoping they will offer perspective on the benefits and challenges of this type of research. This may replace some in-class lecture discussion.

Another unusual activity for this class is that we will run a "mock program committee". I will choose papers from the arxiv and from recent conferences thematically related to the course, and the class will act as a program committee to choose the best ones. This will give you an idea of how program committees work (or don't), and let you see some more up-to-date research, as class reading will be more focused on "classics". It seems a useful exercise for gaining an understanding how program committees function, which seems helpful to graduate students.

Finally, a major component of the class will be a final project, which you will work on throughout the entire course. The hope is that this project may form the foundation of either a research paper or, for undergraduates, a senior thesis. (In previous years some small number of projects do continue with additional work to become research papers. Expectations, however, are realistic; research is exploration, and this project is understood to be the beginning, not necessarily the end, of such an exploration.) Although you will need to obtain approval for your project choice, the topic of the final project will primarily be up to you. This project can either be theoretical or implementation based in nature. Generally people work in pairs for the final project, but you can work alone or, with permission, a group of three or larger. For graduate students, your project can be related to your main line of research; it should not, however, be something you were already working on.


In my version of Harvard-speak, "prerequisite" means highly desirable background. You will decide if you are ready to take the course. Keep in mind that you will be responsible for reading (and being able to discuss and review) a large number of modern research papers, many of which will have some advanced mathematics (primarily probability related) included.

Students should have taken at least CS 124 or its equivalent. Students should be able to program in a standard programming language, at the level to independently produce working simulations of various processes. Knowledge of probability will be extremely helpful; if your probability background is weak you should expect to refresh your probability skills on your own. Generally, mathematics will be fundamental to the course, so you should expect to spend time learning some additional mathematics on your own if necessary. Similarly, some prior knowledge of networks and network issues will be very helpful. For students wishing to review important aspects of probability, there are many books available. Sheldon Ross has written several excellent introductory books which should be available in the library. My personal favorite is "Introduction to Probability Models." A more advanced book for those with more background is "Elements of Information Theory" by Cover and Thomas. Another good book is "Information Theory, Inference, and Learning Algorithms" by David Mackay, which has the benefit of being online: This link should work. Of course, my completely biased opinion is that the best book for a computer scientist to buy is by Mitzenmacher and Upfal, "Randomized Algorithms and Probabilistic Analysis." I'd recommend students with less background in probability get one (or more) of these books as a reference.


Your performance will be measured in five ways. (The percentage contributions to your grade given below are approximate and subject to change.)

At this time there is no intention to hold a final or midterm exam.

All assignments will be due at the beginning of class on the appropriate day. Late assignments are not acceptable without the prior consent of the instructor. Consent will generally be given for suitable reasons. Being busy in other classes is generally not a suitable reason.

Collaboration policy

I would like to emphasize the rules on working with others on homework assignments. For problem sets, limited collaboration in planning and thinking through solutions to homework problems is allowed, but no collaboration is allowed in writing up solutions. You are allowed to work with other students currently taking the class in discussing, brainstorming, and verbally walking through solutions to homework problems. But when you are through talking, you must write up your solutions independently and may not check them against each other. There may be no passing of homework papers between collaborators; nor is it permissible for one person simply to tell another the answer. Paper summaries are meant to be done almost entirely on your own. Brief discussions with other students after you have all read the paper are permissible, but the paper summary should be entirely your own work.

If you collaborate with other students in the course in the planning and design of solutions to homework problems, then you should give their names on your homework papers.

Under no circumstances may you use solution sets to problems that may have been distributed by the course in past years, or the homework papers of students who have taken the course past years. Nor should you look up solution sets from other similar courses.

Violation of these rules may be grounds for giving no credit for a homework paper and also for serious disciplinary action.

Required Text

Generally papers will be made available either in class or at the class Web site. No text is required.

Class Information/Notes

Class notes, homework assignments, and other information will be made available on the Web. For access go to the class web site. We will also use Piazza to disseminate further information. In many cases, the class web site may be the only location where information is posted or available, so look in from time to time!

Incomplete List of Possible Topics

The following is an incomplete list of topics based on previous course offerings. Again, the topics may change somewhat for the coming year.

Additional Policies

Additional Policies from the extension school, but apply where appropriate to Harvard undergraduates and graduates as well.

Academic Integrity: You are responsible for understanding Harvard Extension School policies on academic integrity and how to use sources responsibly. Violations of academic integrity are taken very seriously. Review important information on academic integrity and student responsibilities here: https://extension.harvard.edu/for-students/student-policies-conduct/academic-integrity; for more on academic citation rules, visit Using Sources Effectively and Responsibly (https://extension.harvard.edu/for-students/support-and-services/using-sources-effectively-and-responsibly) and review the Harvard Guide to Using Sources ( https://usingsources.fas.harvard.edu).

Accessibility Services: The Division of Continuing Education (DCE) is committed to providing an accessible academic community. The Accessibility Services Office (ASO) is responsible for providing accommodations to students with disabilities. Students must request accommodations or adjustments through the ASO. Instructors cannot grant accommodation requests without prior ASO approval. It is imperative to be in touch with the ASO as soon as possible to avoid delays in the provision of accommodation. DCE takes student privacy seriously. Any medical documentation should be provided directly to the ASO if a substantial accommodation is required. If you miss class due to a short-term illness, notify your instructor and/or TA but do not include a doctor's note. Course staff will not request, accept, or review doctor's notes or other medical documentation. Please visit https://www.extension.harvard.edu/resources-policies/accessibility-services-office-aso for more information, or contact accessibility@extension.harvard.edu.

Publishing or Distributing Course Materials: Students may not post, publish, sell, or otherwise publicly distribute course materials without the written permission of the course instructor. Such materials include, but are not limited to, the following: lecture notes, lecture slides, video, or audio recordings, assignments, problem sets, examinations, other students’ work, and answer keys. Students who sell, post, publish, or distribute course materials without written permission, whether for the purposes of soliciting answers or otherwise, may be subject to disciplinary action, up to and including requirement to withdraw. Further, students may not make video or audio recordings of class sessions for their own use without written permission of the instructor.