随机算法 (Fall 2011): Difference between revisions

From TCS Wiki
Jump to navigation Jump to search
imported>WikiSysop
imported>Etone
 
(71 intermediate revisions by 3 users not shown)
Line 2: Line 2:
|name        = Infobox
|name        = Infobox
|bodystyle    =  
|bodystyle    =  
|title        = 随机算法  
|title        = <font size=3>随机算法  
Randomized Algorithms
<br>Randomized Algorithms</font>
|titlestyle  =  
|titlestyle  =  


|image        = [[File:MR-randomized-algorithms.png|100px]]
|image        =  
|imagestyle  =  
|imagestyle  =  
|caption      = ''Randomized Algorithms'' by Motwani and Raghavan
|caption      =  
|captionstyle =  
|captionstyle =  
|headerstyle  = background:#ccf;
|headerstyle  = background:#ccf;
Line 25: Line 25:
|header4 =
|header4 =
|label4= office
|label4= office
|data4= 蒙民伟楼 406
|data4= 计算机系 804
|header5 = Class
|header5 = Class
|label5  =  
|label5  =  
Line 31: Line 31:
|header6 =
|header6 =
|label6  = Class meetings
|label6  = Class meetings
|data6  = TBA <br> TBA
|data6  = Monday, 10am-12pm <br> 仙逸C-420
|header7 =
|header7 =
|label7  = Place
|label7  = Place
Line 37: Line 37:
|header8 =
|header8 =
|label8  = Office hours
|label8  = Office hours
|data8  = TBA
|data8  = Wednesday, 2-5pm <br>计算机系 804
|header9 = Textbook
|header9 = Textbooks
|label9  =  
|label9  =  
|data9  =  
|data9  =  
|header10 =
|header10 =
|label10  =  
|label10  =  
|data10  = Motwani and Raghavan, ''Randomized Algorithms''. Cambridge Univ Press, 1995.
|data10  =  
 
{{Infobox
|name        =
|bodystyle  =
|title        =
|titlestyle  =
|image        = [[File:MR-randomized-algorithms.png|border|100px]]
|imagestyle  =
|caption      = ''Randomized Algorithms'',<br>Motwani and Raghavan, Cambridge Univ Press, 1995.
|captionstyle =
}}
|header11 =
|label11  =
|data11  =
{{Infobox
|name        =
|bodystyle  =
|title        =
|titlestyle  =
|image        = [[File:Probability_and_Computing.png|border|100px]]
|imagestyle  =
|caption      = ''Probability and Computing: Randomized Algorithms and Probabilistic Analysis'', Mitzenmacher and Upfal, Cambridge Univ Press, 2005.
|captionstyle =
}}
|belowstyle = background:#ddf;
|belowstyle = background:#ddf;
|below =  
|below =  
Line 52: Line 74:


= Announcement =  
= Announcement =  
There is no announcement yet.
* (11/25/2011) <font size=5 color=red>11月26日周六、11月27日周日两天补课。早10点开始,地点系楼229。</font>
* (09/19/2011) 第一次作业发布,在Assignments部分。下周一9月26日上课时交。
* 由于有事需要外出,9月14日星期三下午的office hour改在9月13日下午。
* 第一次课的slides已发布,见lecture notes部分。以后每节课slides的链接都会在那一课的题目后面。


= Course info =
= Course info =
* '''Instructor ''': 尹一通,
* '''Instructor ''': 尹一通,
:*email: yitong.yin@gmail.com, yinyt@nju.edu.cn
:*email: yitong.yin@gmail.com, yinyt@nju.edu.cn
:*office: MMW 406.
:*office: 计算机系 804.
* '''Class meeting''': TBA.
* '''Class meeting''': Monday 10am-12pm, 仙逸C-420.
* '''Office hour''': TBA.
* '''Office hour''': Wednesday 2-5pm, 计算机系 804.


= Syllabus =
= Syllabus =
Line 79: Line 104:
* 迟交:如果有特殊的理由,无法按时完成作业,请提前联系授课老师,给出正当理由。否则迟交的作业将不被接受。
* 迟交:如果有特殊的理由,无法按时完成作业,请提前联系授课老师,给出正当理由。否则迟交的作业将不被接受。


=== <font color=red> 学术道德 Academic Integrity </font>===
=== <font color=red> 学术诚信 Academic Integrity </font>===
学术道德是一切从事学术活动的学生和学者的最基本的道德底线,本课程将不遗余力的维护学术道德规范,一切违反这一底线的行为将不会被容忍。
学术诚信是所有从事学术活动的学生和学者最基本的职业道德底线,本课程将不遗余力的维护学术诚信规范,违反这一底线的行为将不会被容忍。


作业完成的原则:署你名字的工作必须是由你完成的。合作的方式仅限于通过讨论来共同探索解题的方法。作业的文本必须由个人独立的组织和书写,并在作业中列出所有参与讨论的人。其他任何形式的合作将不被允许——尤其是与已经完成作业的同学“讨论”。
作业完成的原则:署你名字的工作必须由你完成。允许讨论,但作业必须独立完成,并在作业中列出所有参与讨论的人。不允许其他任何形式的合作——尤其是与已经完成作业的同学“讨论”。


本课程将对剽窃行为采取零容忍态度。在完成作业过程中,对他人工作(出版物、互联网资料、其他同学的作业等)直接的文本抄袭和对关键思想、关键元素的抄袭,以及在语言上的故意变换,按照 [http://www.acm.org/publications/policies/plagiarism_policy ACM Policy on Plagiarism],都将视为剽窃。剽窃者成绩将被取消。如果发现互相抄袭行为,<font color=red> 抄袭和被抄袭双方的成绩都将被取消</font>。因此请主动防止自己的作业被他人抄袭。
本课程将对剽窃行为采取零容忍的态度。在完成作业过程中,对他人工作(出版物、互联网资料、其他人的作业等)直接的文本抄袭和对关键思想、关键元素的抄袭,按照 [http://www.acm.org/publications/policies/plagiarism_policy ACM Policy on Plagiarism]的解释,都将视为剽窃。剽窃者成绩将被取消。如果发现互相抄袭行为,<font color=red> 抄袭和被抄袭双方的成绩都将被取消</font>。因此请主动防止自己的作业被他人抄袭。


学术道德影响学生个人的品行,也关乎整个教育系统的正常运转。为了一点分数而做出的学术不端行为,不仅使自己成为了欺骗者,也会使他人的诚实努力失去意义。让我们一起努力维护一个诚信的环境。
学术诚信影响学生个人的品行,也关乎整个教育系统的正常运转。为了一点分数而做出学术不端的行为,不仅使自己沦为一个欺骗者,也使他人的诚实努力失去意义。让我们一起努力维护一个诚信的环境。


= Assignments =
= Assignments =
There is no assignments yet.
* (2011/09/19) [[随机算法 (Fall 2011)/Problem set 1|Problem set 1]] due on Sept 26, in class.
* (2011/10/10) [[随机算法 (Fall 2011)/Problem set 2|Problem set 2]] due on Oct 24, in class.
* (2011/11/07) [[随机算法 (Fall 2011)/Problem set 3|Problem set 3]] due on Nov 21, in class.
* (2011/11/28) [[随机算法 (Fall 2011)/Problem set 4|Problem set 4]] due on Dec 12, in class.


= Lecture Notes =
= Lecture Notes =
# Introduction
# Introduction | [http://tcs.nju.edu.cn/slides/random2011/random1.pdf slides]
#* [[随机算法 (Fall 2011)/Randomized Algorithms: an Introduction|Randomized Algorithms: an Introduction]]
#* [[随机算法 (Fall 2011)/Randomized Algorithms: an Introduction|Randomized Algorithms: an Introduction]]
#*[[随机算法 (Fall 2011)/Complexity Classes|Complexity Classes]]
#*[[随机算法 (Fall 2011)/Complexity Classes|Complexity Classes]]
# Probability Basics
# Probability Basics |  [http://tcs.nju.edu.cn/slides/random2011/random2.pdf slides]
#* [[随机算法 (Fall 2011)/Probability Space|Probability Space]]
#* [[随机算法 (Fall 2011)/Probability Space|Probability Space]]
#* [[随机算法 (Fall 2011)/Verifying Matrix Multiplication|Verifying Matrix Multiplication]]
#* [[随机算法 (Fall 2011)/Verifying Matrix Multiplication|Verifying Matrix Multiplication]]
Line 102: Line 130:
#* [[随机算法 (Fall 2011)/Random Variables and Expectations|Random Variables and Expectations]]
#* [[随机算法 (Fall 2011)/Random Variables and Expectations|Random Variables and Expectations]]
#* [[随机算法 (Fall 2011)/Randomized Quicksort|Randomized Quicksort]]
#* [[随机算法 (Fall 2011)/Randomized Quicksort|Randomized Quicksort]]
# Balls and Bins
# Balls and Bins [http://tcs.nju.edu.cn/slides/random2011/random3.pdf slides]
#* [[随机算法 (Fall 2011)/Distributions of Coin Flipping|Distributions of Coin Flipping]]
#* [[随机算法 (Fall 2011)/Distributions of Coin Flipping|Distributions of Coin Flipping]]
#* [[随机算法 (Fall 2011)/Birthday Problem|Birthday Problem]]
#* [[随机算法 (Fall 2011)/Birthday Problem|Birthday Problem]]
Line 109: Line 137:
#* [[随机算法 (Fall 2011)/Bloom Filter|Bloom Filter]]
#* [[随机算法 (Fall 2011)/Bloom Filter|Bloom Filter]]
#* [[随机算法 (Fall 2011)/Stable Marriage|Stable Marriage]]
#* [[随机算法 (Fall 2011)/Stable Marriage|Stable Marriage]]
# Moment and Deviation
# Moment and Deviation [http://tcs.nju.edu.cn/slides/random2011/random4.pdf slides]
#* [[随机算法 (Fall 2011)/Markov's Inequality|Markov's Inequality]]
#* [[随机算法 (Fall 2011)/Markov's Inequality|Markov's Inequality]]
#* [[随机算法 (Fall 2011)/Chebyshev's Inequality|Chebyshev's Inequality]]
#* [[随机算法 (Fall 2011)/Chebyshev's Inequality|Chebyshev's Inequality]]
#* [[随机算法 (Fall 2011)/Median Selection|Median Selection]]
#* [[随机算法 (Fall 2011)/Median Selection|Median Selection]]
#* [[随机算法 (Fall 2011)/Random Graphs|Random Graphs]]
#* [[随机算法 (Fall 2011)/Random Graphs|Random Graphs]]
# Hashing and Fingerprinting
# Chernoff Bound [http://tcs.nju.edu.cn/slides/random2011/random5.pdf slides]
#* [[随机算法 (Fall 2011)/Pair-wise Independence|Pair-wise Independence]]
#* [[随机算法 (Fall 2011)/Derandomization: Two-Point Sampling|Derandomization: Two-Point Sampling]]
# Chernoff Bound
#* [[随机算法 (Fall 2011)/Chernoff Bound|Chernoff Bound]]
#* [[随机算法 (Fall 2011)/Chernoff Bound|Chernoff Bound]]
#* [[随机算法 (Fall 2011)/Set Balancing|Set Balancing]]
#* [[随机算法 (Fall 2011)/Set Balancing|Set Balancing]]
#* [[随机算法 (Fall 2011)/DNF Counting|DNF Counting]]
#* [[随机算法 (Fall 2011)/Routing in a Parallel Network|Routing in a Parallel Network]]
#* [[随机算法 (Fall 2011)/Routing in a Parallel Network|Routing in a Parallel Network]]
# Concentration of Measure
# Concentration of Measure [http://tcs.nju.edu.cn/slides/random2011/random6.pdf slides1]| [http://tcs.nju.edu.cn/slides/random2011/random7.pdf slides2]
#* [[随机算法 (Fall 2011)/Martingales|Martingales]]
#* [[随机算法 (Fall 2011)/Martingales|Martingales]]
#* [[随机算法 (Fall 2011)/Azuma's Inequality|Azuma's Inequality]]
#* [[随机算法 (Fall 2011)/Azuma's Inequality|Azuma's Inequality]]
#* [[随机算法 (Fall 2011)/The Method of Bounded Differences|The Method of Bounded Differences]]
#* [[随机算法 (Fall 2011)/The Method of Bounded Differences|The Method of Bounded Differences]]
# Dimension Reduction
# The Probabilistic Method  [http://tcs.nju.edu.cn/slides/random2011/random8.pdf slides]
#* [[随机算法 (Fall 2011)/Johnson-Lindenstrauss Theorem|Johnson-Lindenstrauss Theorem]]
#* [[随机算法 (Fall 2011)/Johnson-Lindenstrauss Theorem|Johnson-Lindenstrauss Theorem]]
#* [[随机算法 (Fall 2011)/Locality Sensitive Hashing|Locality Sensitive Hashing]]
# The Probabilistic Method
#* [[随机算法 (Fall 2011)/The Probabilistic Method|The Probabilistic Method]]
#* [[随机算法 (Fall 2011)/Lovász Local Lemma|Lovász Local Lemma]]
#* [[随机算法 (Fall 2011)/Derandomization: Conditional Expectation|Derandomization: Conditional Expectation]]
#* [[随机算法 (Fall 2011)/Derandomization: Color-coding|Derandomization: Color-coding]]
# Approximation Algorithms, On-line Algorithms
#* [[随机算法 (Fall 2011)/Max-SAT|Max-SAT]]
#* [[随机算法 (Fall 2011)/Max-SAT|Max-SAT]]
#* [[随机算法 (Fall 2011)/Linear Programming|Linear Programming]]
#* [[随机算法 (Fall 2011)/Linear Programming|Linear Programming]]
#* [[随机算法 (Fall 2011)/Randomized Rounding|Randomized Rounding]]
#* [[随机算法 (Fall 2011)/Lovász Local Lemma|Lovász Local Lemma]]
#* [[随机算法 (Fall 2011)/On-line Algorithms|On-line Algorithms]]
# Fingerprinting
#* [[随机算法 (Fall 2011)/Verifying Matrix Multiplication|Verifying Matrix Multiplication]]
#* [[随机算法 (Fall 2011)/Schwartz-Zippel|Schwartz-Zippel]]
#* [[随机算法 (Fall 2011)/Equality and pattern matching|Equality and pattern matching]]
# Universal hashing
#* [[随机算法 (Fall 2011)/Limited independence|Limited independence]]
#* [[随机算法 (Fall 2011)/Universal hash families|Universal hash families]]
#* [[随机算法 (Fall 2011)/Perfect hashing|Perfect hashing]]
# Markov Chain and Random Walk
# Markov Chain and Random Walk
#* [[随机算法 (Fall 2011)/Markov Chains|Markov Chains]]
#* [[随机算法 (Fall 2011)/Markov Chains|Markov Chains]]
#* [[随机算法 (Fall 2011)/Random Walks on Undirected Graphs|Random Walks on Undirected Graphs]]
#* [[随机算法 (Fall 2011)/Random Walks on Undirected Graphs|Random Walks on Undirected Graphs]]
#* [[随机算法 (Fall 2011)/Cover Time|Cover Time]]
#* [[随机算法 (Fall 2011)/Electrical Network|Electrical Network]]
#* [[随机算法 (Fall 2011)/Electrical Network|Electrical Network]]
#* [[随机算法 (Fall 2011)/Cover Time|Cover Time]]
#* [[随机算法 (Fall 2011)/Graph Connectivity|Graph Connectivity]]
#* [[随机算法 (Fall 2011)/Graph Connectivity|Graph Connectivity]]
# Random Walk Algorithms
#* [[随机算法 (Fall 2011)/Randomized 2SAT|Randomized 2SAT]]
#* [[随机算法 (Fall 2011)/Randomized 3SAT|Randomized 3SAT]]
#* [[随机算法 (Fall 2011)/Perfect Matching in Regular Bipartite Graph|Perfect Matching in Regular Bipartite Graph]]
#* [[随机算法 (Fall 2011)/The Metropolis Algorithm|The Metropolis Algorithm]]
#* [[随机算法 (Fall 2011)/Dynamics on Spins|Dynamics on Spins]]
# Coupling and Mixing Time
# Coupling and Mixing Time
#* [[随机算法 (Fall 2011)/Mixing Time|Mixing Time]]
#* [[随机算法 (Fall 2011)/Mixing Time|Mixing Time]]
#* [[随机算法 (Fall 2011)/Coupling|Coupling]]
#* [[随机算法 (Fall 2011)/Coupling|Coupling]]
#* [[随机算法 (Fall 2011)/Card Shuffling|Card Shuffling]]
#* [[随机算法 (Fall 2011)/Card Shuffling|Card Shuffling]]
#* [[随机算法 (Fall 2011)/Path Coupling|Path Coupling]]
#* [[随机算法 (Fall 2011)/Graph Coloring|Graph Coloring]]
#* [[随机算法 (Fall 2011)/Graph Coloring|Graph Coloring]]
# Expander Graphs I
# Expander Graphs
#* [[随机算法 (Fall 2011)/Expander Graphs|Expander Graphs]]
#* [[随机算法 (Fall 2011)/Expander Graphs|Expander Graphs]]
#* [[随机算法 (Fall 2011)/Graph Spectrum|Graph Spectrum]]
#* [[随机算法 (Fall 2011)/Graph Spectrum|Graph Spectrum]]
#* [[随机算法 (Fall 2011)/The Spectral Gap|The Spectral Gap]]
#* [[随机算法 (Fall 2011)/The Spectral Gap|The Spectral Gap]]
#* [[随机算法 (Fall 2011)/Random Walk on Expander Graph|Random Walk on Expander Graph]]
#* [[随机算法 (Fall 2011)/Random Walk on Expander Graph|Random Walk on Expander Graph]]
# Expander Graphs II
#* [[随机算法 (Fall 2011)/Expander Mixing Lemma|Expander Mixing Lemma]]
#* [[随机算法 (Fall 2011)/Expander Mixing Lemma|Expander Mixing Lemma]]
#* [[随机算法 (Fall 2011)/Chernoff Bound for Expander Walks|Chernoff Bound for Expander Walks]]
#* [[随机算法 (Fall 2011)/The Zig-Zag Product|The Zig-Zag Product]]
#* [[随机算法 (Fall 2011)/USTCON in LOGSPACE|USTCON in LOGSPACE]]
# Sampling and Counting
# Sampling and Counting
#* [[随机算法 (Fall 2011)/The Metropolis Algorithm|The Metropolis Algorithm]]
#* [[随机算法 (Fall 2011)/The #P Class and Approximation|The #P Class and Approximation]]
#* [[随机算法 (Fall 2011)/The #P Class and Approximation|The #P Class and Approximation]]
#* [[随机算法 (Fall 2011)/DNF Counting|DNF Counting]]
#* [[随机算法 (Fall 2011)/DNF Counting|DNF Counting]]
Line 173: Line 187:
#* [[随机算法 (Fall 2011)/Count Matchings|Count Matchings]]
#* [[随机算法 (Fall 2011)/Count Matchings|Count Matchings]]
#* [[随机算法 (Fall 2011)/Sampling and Counting|Sampling and Counting]]
#* [[随机算法 (Fall 2011)/Sampling and Counting|Sampling and Counting]]
# Markov Chain Monte Carlo (MCMC)
#* [[随机算法 (Fall 2011)/Spin Systems|Spin Systems]]
#* [[随机算法 (Fall 2011)/Simulated Annealing|Simulated Annealing]]
#* [[随机算法 (Fall 2011)/Volume Estimation|Volume Estimation]]
# Complexity


= The Probability Theory Toolkit =
= The Probability Theory Toolkit =

Latest revision as of 12:45, 15 September 2017

随机算法
Randomized Algorithms
Instructor
尹一通
Email yitong.yin@gmail.com yinyt@nju.edu.cn
office 计算机系 804
Class
Class meetings Monday, 10am-12pm
仙逸C-420
Office hours Wednesday, 2-5pm
计算机系 804
Textbooks

Randomized Algorithms,
Motwani and Raghavan, Cambridge Univ Press, 1995.

Probability and Computing: Randomized Algorithms and Probabilistic Analysis, Mitzenmacher and Upfal, Cambridge Univ Press, 2005.
v · d · e

This is the page for the class Randomized Algorithms for the Fall 2011 semester. Students who take this class should check this page periodically for content updates and new announcements.

Announcement

  • (11/25/2011) 11月26日周六、11月27日周日两天补课。早10点开始,地点系楼229。
  • (09/19/2011) 第一次作业发布,在Assignments部分。下周一9月26日上课时交。
  • 由于有事需要外出,9月14日星期三下午的office hour改在9月13日下午。
  • 第一次课的slides已发布,见lecture notes部分。以后每节课slides的链接都会在那一课的题目后面。

Course info

  • Instructor : 尹一通,
  • email: yitong.yin@gmail.com, yinyt@nju.edu.cn
  • office: 计算机系 804.
  • Class meeting: Monday 10am-12pm, 仙逸C-420.
  • Office hour: Wednesday 2-5pm, 计算机系 804.

Syllabus

随机化(randomization)是现代计算机科学最重要的方法之一,近二十年来被广泛的应用于计算机科学的各个领域。在这些应用的背后,是一些共通的随机化原理。在随机算法这门课程中,我们将用数学的语言描述这些原理,将会介绍以下内容:

  • 一些重要的随机算法的设计思想和理论分析;
  • 概率论工具及其在算法分析中的应用,包括常用的概率不等式,以及数学证明的概率方法 (the probabilistic method);
  • 随机算法的概率模型,包括典型的随机算法模型,以及概率复杂度模型。

作为一门理论课程,这门课的内容偏重数学上的分析和证明。这么做的目的不单纯是为了追求严格性,而是因为用更聪明的方法去解决问题往往需要具备有一定深度的数学思维和数学洞察力。

先修课程 Prerequisites

  • 必须:离散数学,概率论,线性代数。
  • 推荐:算法设计与分析。

Course materials

成绩 Grades

  • 课程成绩:本课程将会有六次作业和一次期末考试。最终成绩将由平时作业成绩和期末考试成绩综合得出。
  • 迟交:如果有特殊的理由,无法按时完成作业,请提前联系授课老师,给出正当理由。否则迟交的作业将不被接受。

学术诚信 Academic Integrity

学术诚信是所有从事学术活动的学生和学者最基本的职业道德底线,本课程将不遗余力的维护学术诚信规范,违反这一底线的行为将不会被容忍。

作业完成的原则:署你名字的工作必须由你完成。允许讨论,但作业必须独立完成,并在作业中列出所有参与讨论的人。不允许其他任何形式的合作——尤其是与已经完成作业的同学“讨论”。

本课程将对剽窃行为采取零容忍的态度。在完成作业过程中,对他人工作(出版物、互联网资料、其他人的作业等)直接的文本抄袭和对关键思想、关键元素的抄袭,按照 ACM Policy on Plagiarism的解释,都将视为剽窃。剽窃者成绩将被取消。如果发现互相抄袭行为, 抄袭和被抄袭双方的成绩都将被取消。因此请主动防止自己的作业被他人抄袭。

学术诚信影响学生个人的品行,也关乎整个教育系统的正常运转。为了一点分数而做出学术不端的行为,不仅使自己沦为一个欺骗者,也使他人的诚实努力失去意义。让我们一起努力维护一个诚信的环境。

Assignments

Lecture Notes

  1. Introduction | slides
  2. Probability Basics | slides
  3. Balls and Bins slides
  4. Moment and Deviation slides
  5. Chernoff Bound slides
  6. Concentration of Measure slides1| slides2
  7. The Probabilistic Method slides
  8. Fingerprinting
  9. Universal hashing
  10. Markov Chain and Random Walk
  11. Coupling and Mixing Time
  12. Expander Graphs
  13. Sampling and Counting

The Probability Theory Toolkit

reducibility, Periodicity, stationary distribution, hitting time, cover time;
mixing time, conductance