CS294/194-238 Zero Knowledge Proofs
- Zoom link: (Password: 826181) [Add to your calendar]
- Guest Speaker Webinars:
- OH (Monday 1-2PM): (Password: 826181)
- For general course content related questions, please join our edstem.
- Do not email the course staff or TAs. For private matters, post a private question on edstem and make sure it is visible to all teaching staff.
Instructors
Dawn Song | Shafi Goldwasser | Arka Rai Choudhuri (Guest Instructor) |
UC Berkeley | UC Berkeley | NTT Research |
Course Staff
- TAs: Deevashwer Rathee (Head TA)
- Readers: Elden Ren, Vikhyath Mondreti
Class Time
- Synchronous lectures: 5:00 PM-6:59 PM PT Tue in Soda 306, starting Jan 17.
- Asynchronous lectures: links to pre-recorded videos will be posted on the course website.
Enrollment
This is a variable-unit course. The requirements for each number of units are listed below:
- 1 unit: attend lectures + article + weekly quizzes
- 2 units: attend lectures + do lab + HW + weekly quizzes
- 3 units: requirements for 2 units + class project with implementation and short report
- 4 units: requirements for 2 units + class project with broader scope, implementation and a longer workshop-style report
If you need a permission code to join the course, please fill out this form and we’ll get back to you as soon as possible.
Course Syllabus
Date | Topic |
---|---|
01/17 | Introduction and History of ZKP |
Lecture
| Playlist
| Quiz
| Slides
| Notes
Readings
|
01/24 | Overview of Modern SNARK Constructions
| Lecture
| Playlist
| Quiz
| Slides
| Notes
Readings |
01/31 | Libraries and Compilers to build ZKP
| Lecture
| Playlist
| Quiz
| Slides
Resources |
2. Efficient Constructions of ZKP | |
2.1. Polynomial IOPs | |
02/07 | Interactive Proofs (IP)
| Lecture
| Playlist
| Quiz
| Slides
Readings Other Helpful Resources |
02/14 | Plonk Interactive Oracle Proofs (IOP)
| Lecture
| Playlist
| Quiz
| Slides
Readings
|
2.2. Polynomial Commitments | |
02/21 | Discrete-log-based Polynomial Commitments
| Lecture
| Playlist
| Quiz
| Slides
Readings |
02/28 | ZKP based on Error-Correcting Codes
| Lecture
| Playlist
| Quiz
| Slides
Readings |
03/07 | Transparent ZKP
| Lecture
| Playlist
| Quiz
| Slides
Readings |
2.3. Linear PCP | |
03/14 | Linear Probabilistically Checkable Proofs (PCP)
| Lecture
| Playlist
| Quiz
| Slides
Readings |
2.4. Recursive SNARKs | |
03/21 | Recursive SNARKs, Aggregation and Accumulation
| Lecture
| Playlist
| Quiz
| Slides
Readings |
Spring Break (03/27 - 03/31) | |
3. Applications and Advanced Topics in ZKP | |
04/04 | Theoretical Foundations & Recent Theoretical Advancements | Lecture | Playlist | Quiz | Slides |
04/11 | Overview of ZKP Applications & zkRollup and zkEVM
| Lecture
| Playlist
| Slides
Building opcode compatible zk EVMs | Lecture | Slides |
04/18 | Privacy-preserving Architectures
| Lecture
| Slides
|
04/25 | ZKP Applications & zkBridge, Trustless Bridge made Practical
| Lecture
| Slides
More ZKP Applications | Lecture | Slides |
05/02 | Formal Verification of ZKP | Lecture | Playlist | Slides |
05/09 | Hardware Acceleration of ZKP | Lecture |
Grading
1 unit
|
2 units
|
3 units
|
4 units
|
Quiz
All quizzes are released in parallel with (or shortly after) the corresponding lecture and will be due midnight the following Tuesday. Please remember to complete the quiz each week. Although it’s graded on completion , we encourage you to do your best. The questions are all multiple-choice.
Group project
Students will be completing an open-ended research project culminating in a presentation and a workshop-style paper submitted at the end of the semester. You will choose an area of research in ZKP that you wish to explore and are encouraged to read related papers in that area. You will then identify an area that you believe needs improvement or merits further research and build systems and/or conduct experiments to further the state of the art within your chosen field. Students are welcome to choose their own topics, but we’ll also provide a list of topic suggestions that you can take inspiration from if you wish. More details TBD.
Participation
More on this to be announced on Ed.
Students taking 1 unit should also write an article (at least 2 pages) about the relevant topic covered in this course or your experience of the course posted online, and optionally tweet about the article. The article should be finished by May 5th. For example a blog post on:
- Summarizing information from certain lectures
- Specific zk-proof protocols
- Applications of zk-proofs such as privacy or blockchain scaling.
The article’s marking criteria can be found below:
- Understanding (3 marks): displays breadth/depth of understanding of the topic.
- Importance (2 marks): content conveys an important aspect of zk-proofs.
- Clarity (3 marks): explains complex concepts simply, clearly, and accurately.
- References (2 marks): cites the relevant lecture and reference material such as research papers properly.
Assignment Timeline
Assignment | Released | Deadline |
---|---|---|
Group formation | 01/23 | 02/06 |
Project proposal | 02/07 | |
Lab | 02/28 | 03/13 |
Project milestone | 03/21 | 03/26 |
HW (Solutions) | 04/04 | 04/17 |
Project presentation | - | 04/25 (In Class) |
Project final report | 05/02 | 05/12 |
Course Description
This class aims to bring together students and experts in academia and industry to explore Zero-Knowledge Proofs (ZKP). ZKP is a classical cryptographic primitive that ensures the validity of data and computations without sacrificing their confidentiality. It was proposed in the seminal paper by Goldwasser-Micali-Rackoff in 1985. Long considered wildly impractical, ZKPs have seen enormous efficiency improvements over the last decade. This has unlocked entirely new paradigms in the design of distributed and trustless systems, making ZKP one of the most important technologies to the future of blockchains. ZKPs are already being used to build privacy-preserving cryptocurrencies and to improve scalability via zkRollups and zkEVMs, and they stand poised to transform society’s mechanisms for establishing trust and privacy in the coming years and decades.
Our goal is to provide a platform for students to learn the cutting-edge technology of ZKP. Through the exposure to research in academia, and technology in industry, the students will be able to quickly gain the knowledge of ZKP and to develop ZKP systems for various applications.
This course covers fundamental techniques to build ZKP protocols, tools to implement ZKP for different computations, and different applications of ZKP in blockchain and other areas. Topics in the course include:
- An introduction on the history of ZKP. We will cover the theoretical foundations and early constructions of ZKP, as well as the recent theoretical advancements in this research area.
- We will cover the design of several current efficient ZKP systems. We will discuss the key ideas in the constructions of these ZKP schemes. ZKP schemes can be based on various different cryptographic techniques and the course will elaborate on their advantages and disadvantages in terms of efficiency, trust model and assumptions.
- To help students with developing ZKP systems and applications, we will provide tutorials on the front-end compilers to write ZKP statements. Students can write the computations using such higher-level programming languages, and compile them to low-level representations and run the ZKP protocols using these tools.
- Finally, we will cover applications of ZKP, including (1) privacy-preserving cryptocurrencies and computations such as Zcash and Zexe; (2) zkRollup and zkEVM that improve the scalability of blockchain; (3) zkBridge to build a secure foundation for multi-chain interoperability; (4) other applications in machine learning, program analysis, and network traffic analysis.