Lecture 20 CSE 331 July 30, 2013. Longest path problem Given G, does there exist a simple path of length n-1 ?

Slides:



Advertisements
Similar presentations
Approximate List- Decoding and Hardness Amplification Valentine Kabanets (SFU) joint work with Russell Impagliazzo and Ragesh Jaiswal (UCSD)
Advertisements

Applied Algorithmics - week7
Error Control Code.
Computer Networking Error Control Coding
Lecture 12 Layer 2 – Data Link Layer Protocols
Ragib Hasan University of Alabama at Birmingham CS 491/691/791 Fall 2011 Lecture 10 09/15/2011 Security and Privacy in Cloud Computing.
CSE 461: Error Detection and Correction. Next Topic  Error detection and correction  Focus: How do we detect and correct messages that are garbled during.
Day 2 Information theory ( 信息論 ) Civil engineering ( 土木工程 ) Cultural exchange.
Error Correcting Codes: Combinatorics, Algorithms and Applications CSE 510C August 27, 2006.
Great Theoretical Ideas in Computer Science.
CSE332: Data Abstractions Lecture 27: A Few Words on NP Dan Grossman Spring 2010.
Lecture 40 CSE 331 Dec 11, Announcements Solutions to HW 10 and graded HW 9 at end of the lecture Review session on Monday: see blog for details.
CSE 501 Research Overview Atri Rudra
Hardness Results for Problems P: Class of “easy to solve” problems Absolute hardness results Relative hardness results –Reduction technique.
Lecture 41 CSE 331 Dec 10, HW 10 due today Q1 in one pile and Q 3+4 in another I will not take any HW after 1:15pm.
CMSC 414 Computer (and Network) Security Lecture 2 Jonathan Katz.
Lecture 40 CSE 331 Dec 8, Finals 3:35-6:05pm KNOX 104 Tue, Dec 14 Blog post on the finals up.
CSE 501 Research Overview Atri Rudra
P versus NP and Cryptography Wabash College Mathematics and Computer Science Colloquium Nov 16, 2010 Jeff Kinne, Indiana State University (Theoretical)
Error Correcting Codes: Combinatorics, Algorithms and Applications CSE 545 January 19, 2011.
2/28/03 1 The Virtues of Redundancy An Introduction to Error-Correcting Codes Paul H. Siegel Director, CMRR University of California, San Diego The Virtues.
An Introduction to Cryptology and Coding Theory Discrete Math 2006.
1 CSE 417: Algorithms and Computational Complexity Winter 2001 Lecture 22 Instructor: Paul Beame.
CSE 326 Huffman coding Richard Anderson. Coding theory Conversion, Encryption, Compression Binary coding Variable length coding A B C D E F.
The Power of Randomness in Computation 呂及人中研院資訊所.
A Brief Introduction To The Theory of Computer Science and The PCP Theorem By Dana Moshkovitz Faculty of Mathematics and Computer Science The Weizmann.
7/2/2015Errors1 Transmission errors are a way of life. In the digital world an error means that a bit value is flipped. An error can be isolated to a single.
15-853Page :Algorithms in the Real World Error Correcting Codes I – Overview – Hamming Codes – Linear Codes.
Hardness Results for Problems P: Class of “easy to solve” problems Absolute hardness results Relative hardness results –Reduction technique.
Hardness Results for Problems
An Introduction to Cryptology and Coding Theory Sarah Spence Adams Olin College Gordon Prichett Babson College
Scott Perryman Jordan Williams.  NP-completeness is a class of unsolved decision problems in Computer Science.  A decision problem is a YES or NO answer.
Great Theoretical Ideas in Computer Science.
Great Theoretical Ideas in Computer Science.
Error Correcting Codes: Combinatorics, Algorithms and Applications CSE 545 January 14, 2013.
FACULTY OF ENGINEERING & INFORMATION TECHNOLOGIES P, NP, and Complexity Six fundamental facts One rule of thumb Three fundamental notions One fundamental.
Error Coding Transmission process may introduce errors into a message.  Single bit errors versus burst errors Detection:  Requires a convention that.
Error Control Code. Widely used in many areas, like communications, DVD, data storage… In communications, because of noise, you can never be sure that.
Data Link Layer: Error Detection and Correction
CSE 3813 Introduction to Formal Languages and Automata Chapter 14 An Introduction to Computational Complexity These class notes are based on material from.
MIMO continued and Error Correction Code. 2 by 2 MIMO Now consider we have two transmitting antennas and two receiving antennas. A simple scheme called.
1 CPSC 320: Intermediate Algorithm Design and Analysis July 28, 2014.
Error Correcting Codes: Combinatorics, Algorithms and Applications CSE 545 January 11, 2010.
CSCI 3160 Design and Analysis of Algorithms Tutorial 10 Chengyu Lin.
Great Theoretical Ideas in Computer Science.
CSE373: Data Structures & Algorithms Lecture 22: The P vs. NP question, NP-Completeness Lauren Milne Summer 2015.
Umans Complexity Theory Lectures Lecture 1a: Problems and Languages.
Lecture 38 CSE 331 Dec 2, Review Sessions etc. Atri: (at least ½ of) class next Friday Jiun-Jie: Extra office hour next Friday Jesse: Review Session.
1 Chapter 34: NP-Completeness. 2 About this Tutorial What is NP ? How to check if a problem is in NP ? Cook-Levin Theorem Showing one of the most difficult.
NP-COMPLETE PROBLEMS. Admin  Two more assignments…  No office hours on tomorrow.
Computer Science Division
CSE332: Data Abstractions Lecture 27: A Few Words on NP Tyler Robison Summer
Computer Communication & Networks Lecture 9 Datalink Layer: Error Detection Waleed Ejaz
Error Detection and Correction
2101INT – Principles of Intelligence Systems Lecture 3.
Data Communications and Networking
Young CS 331 D&A of Algo. NP-Completeness1 NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey and.
Lecture 38 CSE 331 Dec 5, OHs today (only online 9:30-11)
The NP class. NP-completeness Lecture2. The NP-class The NP class is a class that contains all the problems that can be decided by a Non-Deterministic.
Cyclic Redundancy Check (CRC)
Communication Networks: Technology & Protocols
Advanced Computer Networks
Detecting and Correcting Bit Errors
Lecture 37 CSE 331 Dec 1, 2017.
Information Redundancy Fault Tolerant Computing
Error Detection Neil Tang 9/26/2008
Lecture 39 CSE 331 Dec 5, 2011.
Lecture 37 CSE 331 Dec 2, 2016.
Algorithms CSCI 235, Spring 2019 Lecture 36 P vs
Lecture 36 CSE 331 Nov 22, 2013.
Presentation transcript:

Lecture 20 CSE 331 July 30, 2013

Longest path problem Given G, does there exist a simple path of length n-1 ?

Longest vs Shortest Paths

Two sides of the “same” coin Shortest Path problem Can be solved by a polynomial time algorithm Is there a longest path of length n-1? Given a path can verify in polynomial time if the answer is yes

Poly time algo for longest path?

P vs NP question P : problems that can be solved by poly time algorithms NP : problems that have polynomial time verifiable witness to optimal solution Is P=NP? Alternate NP definition: Guess witness and verify!

Proving P ≠ NP Pick any one problem in NP and show it cannot be solved in poly time Pretty much all known proof techniques provably will not work

Proving P = NP Will make cryptography collapse Compute the encryption key! Prove that all problems in NP can be solved by polynomial time algorithms NP NP-complete problems Solving any ONE problem in here in poly time will prove P=NP!

Nice survey on P vs. NP

If you are curious for more CSE431: Algorithms CSE 396: Theory of Computation

What can I do with algorithms? 11

12 Coding Theory

13 Communicating with my 3 year old C(x) x y = C(x)+error x Give up “Code” C “Akash English” C(x) is a “codeword”

14 The setup C(x) x y = C(x)+error x Give up Mapping C Error-correcting code or just code Encoding: x  C(x) Decoding: y  x C(x) is a codeword

15 Different Channels and Codes Internet – Checksum used in multiple layers of TCP/IP stack Cell phones Satellite broadcast – TV Deep space telecommunications – Mars Rover

16 “Unusual” Channels Data Storage – CDs and DVDs – RAID – ECC memory Paper bar codes – UPS (MaxiCode) Codes are all around us

17 Redundancy vs. Error-correction Repetition code: Repeat every bit say 100 times – Good error correcting properties – Too much redundancy Parity code: Add a parity bit – Minimum amount of redundancy – Bad error correcting properties Two errors go completely undetected Neither of these codes are satisfactory

18 Two main challenges in coding theory Problem with parity example – Messages mapped to codewords which do not differ in many places Need to pick a lot of codewords that differ a lot from each other Efficient decoding – Naive algorithm: check received word with all codewords

19 The fundamental tradeoff Correct as many errors as possible with as little redundancy as possible Can one achieve the “optimal” tradeoff with efficient encoding and decoding ?

Interested in more? CSE

Group Testing Overview Test soldier for a disease WWII example: syphillis 21

Group Testing Overview Test an army for a disease WWII example: syphillis What if only one soldier has the disease? Can pool blood samples and check if at least one soldier has the disease 22

Compressed Sensing 23

Moving your data to the cloud

What if the cloud was bad? 25

It all comes back to the same thing 26 Coding Theory Complexity Theory LIST DECODING

Passwords Fast matching Secure “Cancelable” One can forget them!

Fingerprints Fast matching Secure “Cancelable” Cannot forget them! ? ?

Fingerprints as Passwords Or making “Forgot password” links obsolete Fast & Secure ? Only Fast Only Secure

Fingerprint Matching Fingerprint readings are inconsistent Matching Algorithms exist even in practice…

Security for fingerprints? Stored fingerprints can be stolen Easy Main idea: obfuscate the fingerprint! Use error correcting codes Hard