Courses

Current Semester

236521
Approximation Algorithms
Winter 2024/2025
Hadas Shachnai
Monday 12:30-14:30

In classic complexity theory, coping with NP-hard optimization problems often translates to the following fundamental question: “What is the best approximate solution that we can get in polynomial time?” We will present basic techniques for the design and analysis of approximation algorithms.
This includes combinatorial techniques (such as local search and local ratio) and techniques based on linear programming. We will demonstrate the use of these techniques for solving packing and scheduling problems, as well as problems on graphs.

Prerequisites: Introduction to Algorithms (234247), Theory of Computation (236343)
Previous:
Winter 2023/2024
236521
Hadas Shachnai
Winter 2022/2023
236521
Hadas Shachnai
Winter 2021/2022
236521
Hadas Shachnai
Winter 2020/2021
236521
Hadas Shachnai
236313
Complexity Theory
Winter 2024/2025
Eyal Kushilevitz
TBA
TBA

Course covering a wide range of topics in complexity theory, such as space complexity, the polynomial hierarchy, probabilistic computation, interactive proofs, circuit complexity, and more.

Prerequisites: Computability
Previous:
Winter 2022/2023
236313
Eyal Kushilevitz
Spring 2020
236313
Eyal Kushilevitz
1060062
Data Privacy and Algorithms
Winter 2024/2025
Shay Moran
Wednesday 9:30-12:30

We will discuss the question of whether it is possible to design responsible algorithms that process sensitive data while avoiding the risk of exposing personal and sensitive information. We will address this question from a theoretical perspective, focusing on the concept of differential privacy, which offers a formal mathematical definition of algorithmic privacy. Course Content Overview:

     •    A systematic development of the definition of differential privacy and its basic properties.

     •    Design and analysis of differentially-private algorithms.

     •    Can any algorithmic task be solved privately? Analysis of the cost of differential-privacy in terms of computational and data efficiency.

     •    Additional selected topics as determined by the instructor’s discretion.

This is a theoretical course that demands mathematical maturity.

236779
Foundations of Algorithms for Massive Datasets
Winter 2024/2025
David Wajc
Tuesdays 10:30-12:30

This course will introduce students to algorithmic foundations for handling large, high-dimensional datasets.

A sampling of topics and questions that will be covered includes:

  • Streaming algorithms: How much data do we need to solve a problem whose input is revealed gradually?
  • Dimensionality reduction: How can we decrease the dimension of the data while preserving its key properties?
  • MapReduce algorithms: How can we correlate tens of thousands of machines to solve algorithmic problems?
Prerequisites: Probability, Algebra and Data Structures
236309
Introduction to Coding Theory
Winter 2024/2025
Ronny Roth
Wed 14:30-16:30 + 16:30-17:30

Basic concepts: error correction, error detection and erasure correction. Linear error-correcting codes. Hamming codes. Introduction to finite fields. Reed-Solomon codes, BCH codes and alternant codes. Decoding algorithms. Bounds on the parameters of error-correcting codes.

236374
Probabilistic Methods and Algorithms
Winter 2024/2025
Eldar Fischer
Sunday 14:30-16:30, Wednesday 16:30-18:30
TBD

Probabilistic methods have become a cornerstone of combinatorial theory, while probabilistic algorithms have become central to computer science.
This course introduces an array of already-classical and more modern probabilistic methods, along with their applications to math and CS. The course is centered on proof techniques and problem solving. Among the covered topics: basic methods, concentration inequalities, martingales, the local lemma, information entropy.

read more...
Prerequisites: Probability Theory, Algorithms
Previous:
Winter 2023/2024
236374
Eldar Fischer
Winter 2022/2023
236374
Eldar Fischer
Winter 2021/2022
236374
Eldar Fischer
Winter 2020/2021
236374
Eldar Fischer
Winter 2019/2020
236374
Eldar Fischer
236813
Seminar in Algorithms
Winter 2024/2025
Hadas Shachnai
Monday 16:30-18:30
TBA

The topic of the seminar is Algorithms for Sustainable Resource Allocation.

We will review new variants of classic resource allocation problems arising in modern computing paradigms aimed at sustainable allocation of resources, and the challenges they present from algorithmic viewpoint. Background material on approximation techniques for resource allocation problems which are known to be hard to solve will be presented in several introductory lectures at the beginning of the seminar.

Prerequisites: Theory of Computation (236343)
Previous:
Winter 2023/2024
236813
Hadas Shachnai
Winter 2021/2022
236813
Hadas Shachnai
Winter 2020/2021
236813
Hadas Shachnai
236825
Seminar in Distributed Computing
Winter 2024/2025
Hagit Attiya
Sunday 14:30-16:30

The seminar deals with distributed computing in modern computing systems, in the presence of different kinds of failures. Grades are based (mostly) on presenting in-depth a paper from the recent research literature.

Previous:
Winter 2023/2024
236825
Hagit Attiya
Winter 2022/2023
236825
Hagit Attiya
Winter 2021/2022
236825
Hagit Attiya
236621
The Metric Method and its Algorithmic Applications
Winter 2024/2025
Roy Schwartz
Monday 13:30-14:30, 14:30-16:30
TBD

The metric method is a powerful tool that has been used extensively in the last two decades in the design and analysis of algorithms.

This course will survey some of the basic techniques in the metric approach, as well as its applications to various topics such as: clustering and graph cuts, balanced graph partitioning, network routing, and online algorithms.

read more...
Prerequisites: Algorithms 1, Computability, Probability Theory
Previous:
Winter 2023/2024
236621
Roy Schwartz
Spring 2022
236621
Roy Schwartz
Winter 2020/2021
236621
Roy Schwartz
Winter 2019/2020
236605
Roy Schwartz
236620
Uncertainty in Algorithms
Winter 2024/2025
Seffi Naor
Wednesday 10:30-12:30

The topic of this course is uncertainty in algorithms. Given a computational problem, the traditional design and analysis of algorithms assumes that complete knowledge of the input is known in advance. However, this is not the case in many applications, including resource management and allocation, data structures, and game dynamics. In these scenarios making decisions in the face of uncertainty is of major importance. Take, for example, managing a cache memory; when there is a page miss, the decision which page to evict from the cache is made without knowing future requests for pages.

In the course we will go over advanced techniques developed in recent years for dealing with such settings, where information about the future is unavailable or limited. We will mainly focus on competitive analysis of online algorithms and online learning, and study surprising connections between them. We will see how techniques from linear programming and convex optimization are useful for developing online algorithms.

Prerequisites: Algorithms 1, Introduction to Probability
Previous:
Winter 2020/2021
236620
Seffi Naor

Other

Constraint Satisfaction Problems
Show and Hide Ext. Content for Constraint Satisfaction Problems

We will discuss three main topics:

– Schaefer’s theorem, which shows that any Boolean CSP is either in P or NP-complete.
– Hardness of approximation: we will find the inapproximability thresholds for MAX-3LIN and for MAX-CUT.
– Proof complexity: we will show that some CNFs, including random ones, are hard to refute in Resolution.

If time permits, we will discuss a few more minor topics.

Prerequisites: Algorithms, Probability Theory
Winter 2024/2025
236017
Yuval Filmus
Spring 2022
236646
Yuval Filmus
Advanced Quantum Computing
Show and Hide Ext. Content for Advanced Quantum Computing

The course will focus on topics related to complexity classes (quantum and classical), sophisticated algorithms, and cryptography.

Our goal is to reach an understanding of the potentially exponential advantage of quantum computing over classical computing in the near future and in the far future.

Prerequisites: Quantum computing or Complexity theory (may be taken in parallel)
Spring 2024
236640
Tal Mor
Spring 2021
236640
Tal Mor
Spring 2020
236640
Tal Mor
Advanced Topics in Biological Computing
Show and Hide Ext. Content for Advanced Topics in Biological Computing
Spring 2024
236664
Tal Mor
Spring 2022
236664
Tal Mor
Advanced Topics in Cryptology
Show and Hide Ext. Content for Advanced Topics in Cryptology

Advanced topics in theoretical cryptography.

Spring 2024
236613
Yuval Ishai
Spring 2022
236613
Yuval Ishai
Winter 2019/2020
236613
Yuval Ishai
Algorithms for Submodular Optimization
Show and Hide Ext. Content for Algorithms for Submodular Optimization

Submodular functions, which capture the property of diminishing returns, are ubiquitous in various disciplines, including combinatorics, graph theory, machine learning, economics, algorithmic game theory, and information theory. The family of submodular maximization and minimization problems is a prime example of a unified approach that captures both well-known classic problems, e.g., Max-Cut, Max-DiCut, and Generalized Assignment, and real-world applications in diverse settings, e.g., information gathering, image segmentation, viral marketing in social networks, and recommendation systems. This course deals with the algorithmic foundations of submodular optimization, focusing on basic problems and algorithmic techniques.

read more...
Prerequisites: Algorithms 1, Theory of Computation, Probability
Spring 2024
236016
Roy Schwartz
Winter 2021/2022
236621
Roy Schwartz
Spring 2019
236621
Roy Schwartz
Distributed Algorithms
Show and Hide Ext. Content for Distributed Algorithms

The course deals with design of algorithms for multi-processor systems, and analysis of their complexity; study of basic problems in such systems; lower bounds and impossibility results. Specific topics include: Mutual exclusion and resource allocation, agreement problems(Byzantine generals’ problem, approximate agreement, etc.), clock synchronization and logical clocks, broadcast and multicast, lock-free synchronization and concurrent data structures.

Spring 2024
236755
Hagit Attiya
Spring 2023
236755
Hagit Attiya
Spring 2022
236755
Hagit Attiya
Spring 2021
236755
Hagit Attiya
Distributed Graph Algorithms
Show and Hide Ext. Content for Distributed Graph Algorithms

This course gives an introduction to distributed graph algorithms.
We will see various models of computation and the basic problems in this field.
We will study both algorithms and lower bounds.
This is an algorithmic/mathematical course.

There will be no final exam. The grade will be composed by 3-4 home assignments (submissions in singles) and a final project (submissions in pairs).

Prerequisites: Probability Theory, Algorithms, Computability (צמוד)
Spring 2024
236377
Keren Censor-Hillel
Spring 2022
236377
Keren Censor-Hillel
Spring 2021
236377
Keren Censor-Hillel
Spring 2020
236377
Keren Censor-Hillel
Spring 2019
236606
Keren Censor-Hillel
Spring 2018
236610
Keren Censor-Hillel
Spring 2017
236358
Keren Censor-Hillel
Spring 2016
236610
Keren Censor-Hillel
Dynamic Graph Algorithms
Show and Hide Ext. Content for Dynamic Graph Algorithms

This course will introduce students to advanced algorithms for dynamic graphs. This active research area focuses on questions of the following flavor: “How quickly can we solve algorithmic problems on graphs that change slowly over time? In particular, how much faster than recomputing from scratch after every change in the graph?” This question is central to problems with input that changes over time (for example, in GPS applications, closure and opening of roads changes the road network), but is also key to speeding up algorithms with static inputs (in much the same way that basic data structures can be used to speed up other classic algorithms). The course’s objective is to expose students to techniques and results for basic problems in the field (such as matching, shortest paths, minimum spanning trees, etc). As part of the course, the students will also be exposed to central tools in algorithm design and theory of computer science more broadly that are relevant to the course topic, including linear programming and duality, randomized algorithms and the multiplicative weight update method. The course evaluation will be based on homework and a final project, which includes reading a research paper, summarizing the paper and simplifying it and/or improving on it.

Prerequisites: Algorithms and Probability
Random Graphs
Show and Hide Ext. Content for Random Graphs

Basic course on the theory of random graphs, focusing on the Erdős–Rényi model. Based on the nice Introduction to Random Graphs by Frieze and Karoński.

Grading is based on homework and a final project.

read more...
Prerequisites: Linear Algebra, Probability Theory
Spring 2024
236306
Yuval Filmus
Winter 2019/2020
236306
Yuval Filmus
Winter 2017/2018
236646
Yuval Filmus
Winter 2016/2017
236646
Yuval Filmus
Advanced Proof Systems
Show and Hide Ext. Content for Advanced Proof Systems

Proof-systems are at the very heart of theoretical computer science. For example the P vs NP question asks whether every statement that someone can prove to you, you could have actually solved by yourself.

In this course we will discuss advanced proof-systems such as:
* Interactive proofs, which are a natural generalization of NP proofs in which the verifier can interact with the prover.
* Zero-knowledge proofs, which allow one to prove the correctness of a statement without revealing anything else.
* Probabilistically Checkable Proofs (PCPs), which are proofs that can be verified by reading only a small number of bits.
* Doubly efficient proofs, which allow one to delegate expensive computations to an untrusted server.

Requirements: roughly 3 homework assignments and an exam.

Prerequisites: Computability
Winter 2023/2024
236607
Ron Rothblum
Winter 2020/2021
236601
Ron Rothblum
Spring 2019
236601
Ron Rothblum
Communication Complexity
Show and Hide Ext. Content for Communication Complexity

Communication complexity studies the number of bits that should be exchanged in order to perform a computation whose input is distributed among two or more parties. This is studied under a spectrum of computational models: deterministic, non-deterministic, randomized etc.
Beyond the immediate implications that such questions have to understanding distributed computations, we will present various surprising applications to seemingly unrelated questions, mostly in Complexity Theory.
The course will use methods from Combinatorics, Probability Theory and Algebra.

read more...
Prerequisites: Complexity Theory, Probability
Winter 2023/2024
236518
Eyal Kushilevitz
Winter 2020/2021
236518
Eyal Kushilevitz
Algorithms 2
Show and Hide Ext. Content for Algorithms 2

This course is the natural follow-up to the basic algorithms course. We will consider basic topics and fundamental techniques in the theory of algorithms, such as randomization and algebraic tools. Possible topics include network flow, cuts in graphs, matchings, linear programming, approximation algorithms, and online algorithms.

Prerequisites: Algorithms
Summer 2023
236359
Seffi Naor
Spring 2022
236359
Seffi Naor
Spring 2021
236359
Seffi Naor
Spring 2020
236359
Seffi Naor
Algorithmic Game Theory
Show and Hide Ext. Content for Algorithmic Game Theory

An introductory course to the topic of Algorithmic Game Theory, the study of algorithms coupled with incentives. In light of the growing influence of algorithms on the economy and society, algorithm design must take into account the interaction with strategic players on top of traditional considerations like runtime complexity. As a prime example think of eBay auctions, which solicit bids from self-interested buyers.
The first half of the course will be dedicated to mechanism design, the science of designing such online auctions and markets. In the second half we will discuss the fundamental notion of equilibrium, including reaching it through centralized computation and decentralized learning.

Time: Mondays 10:30-12:30 (lecture) + Mondays 12:30-13:30 (recitation by Konstantin Zabarnyi)

Prerequisites: Algorithms 1
Spring 2023
236663
Inbal Talgam-Cohen
Spring 2022
236663
Inbal Talgam-Cohen
Spring 2021
236606
Inbal Talgam-Cohen
Winter 2018/2019
236602
Inbal Talgam-Cohen
Cryptography and Complexity
Show and Hide Ext. Content for Cryptography and Complexity

Basic topics in theoretical cryptography.

read more...
Spring 2023
236508
Yuval Ishai
Spring 2021
236508
Yuval Ishai
Winter 2018/2019
236508
Yuval Ishai
Seminar on Incentives and Learning
Show and Hide Ext. Content for Seminar on Incentives and Learning

Machine learning often involves and affects people – a.k.a. “strategic agents” – who have interests, preferences and rights. This seminar covers recent research in the interdisciplinary questions that arise from this combination. Main topics include: Economic mechanisms and learning; strategic classification; incentivizing exploration; fairness in automatic decision making; and more.

Prerequisites: Algorithms 1
Useful but not required: Probability Theory, Learning Theory, Algorithmic Game Theory

Winter 2022/2023
236836
Inbal Talgam-Cohen
Winter 2021/2022
236836
Inbal Talgam-Cohen
Winter 2020/2021
236805
Inbal Talgam-Cohen
Spring 2018
236803
Inbal Talgam-Cohen
Logic for Computer Science 2
Show and Hide Ext. Content for Logic for Computer Science 2

The main topics of the course are Gödel’s incompleteness theorems (including an axiomatic system for arithmetic, basics of recursion theory and Church’s thesis), set theory (axiomatic and combinatorial foundations of set theory as a basis for math), and modal logic (Kripke models, completeness theorems and connection to computer science).

For more information, please contact Professor Michael Kaminski.

Prerequisites: Logic, Computability (recommended, not obligatory)
Project in Quantum Computing
Show and Hide Ext. Content for Project in Quantum Computing
Zero-knowledge Proofs
Show and Hide Ext. Content for Zero-knowledge Proofs

Zero-knowledge proofs enable one to prove correctness of a computational statement without revealing any additional information. Zero-knowledge proofs have had a fundamental impact on cryptography and complexity theory and very recently are starting to be deployed also in practice.
This course will cover various advanced aspects of zero-knowledge proofs including:
1. Definitions, basic constructions and ZKP for NP.
2. Characterization of statistical zero-knowledge.
3. Non-interactive zero-knowledge.
4. A study of various efficiency aspects of zero-knowledge proofs.

Spring 2022
236601
Ron Rothblum
Winter 2020/2021
236601
Ron Rothblum
Advanced Topics in Algorithms
Show and Hide Ext. Content for Advanced Topics in Algorithms

The course will cover advanced algorithmic techniques developed for solving various (discrete) optimization problems. We will discuss linear programming, semidefinite programming, convex programming, and more. We will see applications of these techniques to a variety of applications, e.g., developing approximation algorithms for NP-hard problems, coloring (optimally) perfect graphs. Connections to learning theory will also be discussed.

Requirements: grades will be determined based on homework assignments.

Prerequisites: Algorithms 1, Computability, and an introductory course in probability.
Combinatorial Methods in Machine Learning
Show and Hide Ext. Content for Combinatorial Methods in Machine Learning

We will study basic mathematical models in machine learning, including supervised learning, online learning, interactive learning, and distribution learning.
We will focus on combinatorial characterizations of the complexity of learning.

The course requires mathematical maturity and will involve discussions about open problems and active research directions.

For student who attended the class with Shay in the last semester:
This semester we will cover different topics (in particular we will begin with the online learning model).
Also, notice the course number is different from that of last semester, so one can get credit for both classes.

Prerequisites: Combinatorics, Probability Theory.
Computability and Definability
Show and Hide Ext. Content for Computability and Definability

Definability deals with the expressive power of description languages which are used in program specification, databases and axiomatic mathematics. These languages include Regular Expressions, First Order Logic, Relational Algebra, Second Order Logic and various Temporal and Modal Logics.
Computability deals with computations and the resources needed to execute them in various models of computations. These include Finite Automata, Turing Machines, Register Machines, and the like.
The course deals with the interplay between definability in various descriptive languages and computability with various computing devices. It brings together theoretical aspects of Database Theory, Computability Theory, Complexity Theory and Logic.

The course can be given in English if required. The slides are in English.

Prerequisites: Some knowledge of basic logic and computability is recommended.
Advanced topics in scientific computing: The origin of the genetic code
Show and Hide Ext. Content for Advanced topics in scientific computing: The origin of the genetic code

The course will focus on topics related to the origins of life and in particular the origins of the genetic code.
As we all know when we see a code – someone wrote it; With one exception – the genetic code.
Relying on the notion of “autocatalytic sets” we shall explore this topic.

Prerequisites: Biology 1, Algorithms 1
Algorithms and Non-Linear Mathematical Programming
Show and Hide Ext. Content for Algorithms and Non-Linear Mathematical Programming

The use of mathematical programming is of paramount importance to the design and analysis of algorithms in general, and approximation algorithms in particular. While linear programming (LP) is the prototypical type of mathematical programming that is utilized, non-linear mathematical programming is also vastly used. This course will focus mainly on semi-definite programming (SDP) and survey its basic uses in the design and analysis of approximation algorithms as well as its applications to various topics such as: graph coloring, satisfiability, graph cuts, and clustering.

read more...
Prerequisites: Algorithms 1, Computability, Probability Theory
Boolean Function Analysis
Show and Hide Ext. Content for Boolean Function Analysis

Boolean function analysis is a set of tools coming from probability theory and functional analysis, with applications to theoretical computer science and combinatorics. The course is based, in large part, on the excellent monograph Analysis of Boolean functions by Ryan O’Donnell.

Grading is based on homework and a final project.

Prerequisites: Probability Theory
Spring 2021
236646
Yuval Filmus
Spring 2019
236646
Yuval Filmus
Winter 2015/2016
236646
Yuval Filmus
Combinatorial Methods in Machine Learning
Show and Hide Ext. Content for Combinatorial Methods in Machine Learning

We will study basic mathematical models in machine learning, including supervised learning, online learning, interactive learning, and distribution learning.
We will focus on combinatorial characterizations of the complexity of learning.

The course requires mathematical maturity and will involve discussions about open problems and active research directions.

Prerequisites: Combinatorics and Probability Theory.

Introduction to Property Testing
Show and Hide Ext. Content for Introduction to Property Testing

Suppose we are interested in figuring out whether a given input satisfies a given property, but we are only allowed to read a small part of the input. Can we still solve the problem, at least approximately? In many cases the answer is positive: it is possible to distinguish, with high probability, between inputs satisfying the property and inputs which are far from every input satisfying it. Such algorithms are known as property testers.

Prerequisites: Probability Theory, Algorithms
Spring 2021
236620
Eldar Fischer
Spring 2020
236622
Eldar Fischer
Local Ratio Technique for Combinatorial Optimization
Show and Hide Ext. Content for Local Ratio Technique for Combinatorial Optimization

This is a seminar course on combinatorial optimization. The course will focus on two different methodologies: local ratio and primal-dual.
The first three lectures will serve as an introduction to approximation algorithms, via linear programming.
In the fourth lecture we will explore primal-dual techniques, and in the fifth the competing methodology, local ratio.
During the rest of the semester we will encounter many different applications to various optimization problems, such as vertex cover, set cover, Steiner trees, cycle cover, assignment problem, resource allocation, and more.

Advanced Property Testing
Show and Hide Ext. Content for Advanced Property Testing

Property testing algorithms are used to decide if some mathematical object (such as a graph or a Boolean function) has a “global” property, or is “far” from having this property, using only a small number of “local” queries to the object.

Prerequisites: Probability Theory
Local Ratio Technique for Combinatorial Optimization
Show and Hide Ext. Content for Local Ratio Technique for Combinatorial Optimization

This is a seminar course on combinatorial optimization. The course will focus on two different methodologies: local ratio and primal-dual.

read more...
Prerequisites: Algorithms
Seminar on Pseudorandomness
Show and Hide Ext. Content for Seminar on Pseudorandomness

Topics in pseudorandomness.

Theory Lab
Show and Hide Ext. Content for Theory Lab

Discovery-based class, on a variety of topics. Students work in groups on handouts, with online help from the lecturer.

Grading based on final project.

Prerequisites: Probability Theory
Algebraic Algorithms
Show and Hide Ext. Content for Algebraic Algorithms

Algorithms involving numbers, polynomials and matrices: FFT, fast integer multiplication, fast matrix multiplication, primality testing, integer factorization.

Prerequisites: Linear Algebra, Probability Theory