Creating Difficult Instances of the Post Correspondence Problem Presenter: Ling Zhao Department of Computing Science University of Alberta March 20, 2001.

Slides:



Advertisements
Similar presentations
Algorithm Design Techniques
Advertisements

On Optimal Solutions for the Bottleneck Tower of Hanoi Problem Yefim Dinitz Shay Solomon Dept. of Comp. Sci., Ben-Gurion University ISRAEL.
Local Search Algorithms
Artificial Intelligence Presentation
State Space Representation and Search
CSC411Artificial Intelligence 1 Chapter 3 Structures and Strategies For Space State Search Contents Graph Theory Strategies for Space State Search Using.
Lecture 24 MAS 714 Hartmut Klauck
Traveling Salesperson Problem
PROBLEM SOLVING AND SEARCH
Lecture 24 Coping with NPC and Unsolvable problems. When a problem is unsolvable, that's generally very bad news: it means there is no general algorithm.
Anany Levitin ACM SIGCSE 1999SIG. Outline Introduction Four General Design Techniques A Test of Generality Further Refinements Conclusion.
Undecidability of the Membership Problem for a Diagonal Matrix in a Matrix Semigroup* Paul Bell University of Liverpool *Joint work with I.Potapov.
Lecture 12: Revision Lecture Dr John Levine Algorithms and Complexity March 27th 2006.
Bounds on Code Length Theorem: Let l ∗ 1, l ∗ 2,..., l ∗ m be optimal codeword lengths for a source distribution p and a D-ary alphabet, and let L ∗ be.
CS 345 Ch 4. Algorithmic Methods Spring, Misconceptions about CS Computer Science is the study of Computers. “Computer Science is no more about.
S. J. Shyu Chap. 1 Introduction 1 The Design and Analysis of Algorithms Chapter 1 Introduction S. J. Shyu.
1 Data structures for Pattern Matching Suffix trees and suffix arrays are a basic data structure in pattern matching Reported by: Olga Sergeeva, Saint.
Tackling Post’s Correspondence Problem Ling Zhao Department of Computing Science University of Alberta July 31, 2001.
CS355 – The Mathematics and Theory of Computer Science Reductions.
PCPs and Inapproximability Introduction. My T. Thai 2 Why Approximation Algorithms  Problems that we cannot find an optimal solution.
Randomized Motion Planning for Car-like Robots with C-PRM Guang Song and Nancy M. Amato Department of Computer Science Texas A&M University College Station,
Computability and Complexity 23-1 Computability and Complexity Andrei Bulatov Search and Optimization.
Complexity 15-1 Complexity Andrei Bulatov Hierarchy Theorem.
Reducibility A reduction is a way of converting one problem into another problem in such a way that a solution to the second problem can be used to solve.
Maximizing the Chance of Winning in Searching Go Game Trees Presenter: Ling Zhao March 16, 2005 Author: Keh-Hsun Chen Accepted by Information Sciences.
1 Module 13 Studying the internal structure of REC, the set of solvable problems –Complexity theory overview –Automata theory preview Motivating Problem.
1 Optimisation Although Constraint Logic Programming is somehow focussed in constraint satisfaction (closer to a “logical” view), constraint optimisation.
The Theory of NP-Completeness
Searches & Sorts V Deena Engel’s class Adapted from W. Savitch’s text An Introduction to Computers & Programming.
Recursive Algorithms Nelson Padua-Perez Chau-Wen Tseng Department of Computer Science University of Maryland, College Park.
1 Solving Ponnuki-Go on Small Board Paper: Solving Ponnuki-Go on small board Authors: Erik van der Werf, Jos Uiterwijk, Jaap van den Herik Presented by:
Depth Increment in IDA* Ling Zhao Dept. of Computing Science University of Alberta July 4, 2003.
Algorithmic Problems in Algebraic Structures Undecidability Paul Bell Supervisor: Dr. Igor Potapov Department of Computer Science
Branch and Bound Algorithm for Solving Integer Linear Programming
Induction and recursion
Multiple Path Pruning, Iterative Deepening CPSC 322 – Search 7 Textbook § January 26, 2011.
Classical Planning Chapter 10.
Teaching Teaching Discrete Mathematics and Algorithms & Data Structures Online G.MirkowskaPJIIT.
CSCE350 Algorithms and Data Structure Lecture 17 Jianjun Hu Department of Computer Science and Engineering University of South Carolina
10 Recursion © 2010 David A Watt, University of Glasgow Accelerated Programming 2 Part I: Python Programming 1.
Local Search Algorithms This lecture topic Chapter Next lecture topic Chapter 5 (Please read lecture topic material before and after each lecture.
Informed State Space Search Department of Computer Science & Engineering Indian Institute of Technology Kharagpur.
Sequences and Summations
Li Wang Haorui Wu University of South Carolina 04/02/2015 A* with Pattern Databases.
An Efficient Algorithm for Enumerating Pseudo Cliques Dec/18/2007 ISAAC, Sendai Takeaki Uno National Institute of Informatics & The Graduate University.
Mobile Agent Migration Problem Yingyue Xu. Energy efficiency requirement of sensor networks Mobile agent computing paradigm Data fusion, distributed processing.
Column Generation By Soumitra Pal Under the guidance of Prof. A. G. Ranade.
ICS 253: Discrete Structures I Induction and Recursion King Fahd University of Petroleum & Minerals Information & Computer Science Department.
Quality of LP-based Approximations for Highly Combinatorial Problems Lucian Leahu and Carla Gomes Computer Science Department Cornell University.
Course Review Fundamental Structures of Computer Science Margaret Reid-Miller 29 April 2004.
Automated discovery in math Machine learning techniques (GP, ILP, etc.) have been successfully applied in science Machine learning techniques (GP, ILP,
Week 13 - Monday.  What did we talk about last time?  B-trees  Hamiltonian tour  Traveling Salesman Problem.
Heuristics for Minimum Brauer Chain Problem Fatih Gelgi Melih Onus.
Algorithmic Problems in Algebraic Structures Undecidability Paul Bell Supervisor: Dr. Igor Potapov Department of Computer Science
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.
Heuristic Search Planners. 2 USC INFORMATION SCIENCES INSTITUTE Planning as heuristic search Use standard search techniques, e.g. A*, best-first, hill-climbing.
Chapter 2 1. Chapter Summary Sets The Language of Sets - Sec 2.1 – Lecture 8 Set Operations and Set Identities - Sec 2.2 – Lecture 9 Functions and sequences.
Section Recursion 2  Recursion – defining an object (or function, algorithm, etc.) in terms of itself.  Recursion can be used to define sequences.
Section Recursion  Recursion – defining an object (or function, algorithm, etc.) in terms of itself.  Recursion can be used to define sequences.
Constraints Satisfaction Edmondo Trentin, DIISM. Constraint Satisfaction Problems: Local Search In many optimization problems, the path to the goal is.
Local search algorithms In many optimization problems, the path to the goal is irrelevant; the goal state itself is the solution State space = set of "complete"
The NP class. NP-completeness
DATA STRUCTURES AND OBJECT ORIENTED PROGRAMMING IN C++
Summary of lectures Introduction to Algorithm Analysis and Design (Chapter 1-3). Lecture Slides Recurrence and Master Theorem (Chapter 4). Lecture Slides.
RE-Tree: An Efficient Index Structure for Regular Expressions
VCU, Department of Computer Science CMSC 302 Sequences and Summations Vojislav Kecman 9/19/2018.
Dana Moshkovitz The Institute For Advanced Study
Principles of Computing – UFCFA3-30-1
New Jersey, October 9-11, 2016 Field of theoretical computer science
Heuristic Search Viewed as path Finding in a Graph
Presentation transcript:

Creating Difficult Instances of the Post Correspondence Problem Presenter: Ling Zhao Department of Computing Science University of Alberta March 20, 2001 Authored by Richard J. Lorentz Revised on May 3, 2001

Motivation Post Correspondent Problem (PCP) poses unique difficulties because of the unbounded size of search space Post Correspondent Problem (PCP) poses unique difficulties because of the unbounded size of search space Theoretically, PCP is the classic undecidable problem Theoretically, PCP is the classic undecidable problem The bounded version of PCP is NP- complete The bounded version of PCP is NP- complete Even the instance with small size and small width may have very long solution Even the instance with small size and small width may have very long solution

Introduction Definition Definition Given an alphabet  and a finite set of pairs of strings ( g i, h i ) over the alphabet , does there exist a sequence i 1 i 2... i n of selections such that the strings g i 1 g i 2... g i n and h i 1 h i 2... h i n formed by concatenating are identical? width: the size of longest string in the pairs size: the number of pairs length of the solution: the size of the sequence of selection For simplicity, we restrict the alphabet  to be {0, 1}

Example size = 3 width = 3

Example Solved! This instance has the shortest solution with length 7

Hard Instances size = 3 width = 3 length = 75 2 shortest solutions size = 4 width = 3 length = shortest solution

Main Work in the Paper Solve PCP’s Solve PCP’s 1. How to identify that the instance has no solution? 2. How to find the solution quickly? 3. How to search the solution space efficiently and quickly? Generate the hard instances of PCP Generate the hard instances of PCP 1. How to find the instances with small size and small width but long shortest length of solution?

Identify instances with no solutions Prefix / postfix filters Prefix / postfix filters Length balance filter Length balance filter Element balance filter Element balance filter

Prefix / postfix filters No starting point! No ending point!

Length / element balance filters The configuration will be always in the top! The configuration will be always in the top and contain several 1’s while any pairs can not decrease the number of it

Algorithms Involved Hash function and cache scheme Hash function and cache scheme Iterative deepening Iterative deepening Tail recursion removal Tail recursion removal

Recognize hard instances Generate PCP instances Generate PCP instances Iterative deepening Iterative deepening Random algorithm Random algorithm Restart when the number of searched nodes exceeds a threshold Restart when the number of searched nodes exceeds a threshold Use some heuristic information Use some heuristic information e.g. discourage the repetitions of pairs

My Progress on this problem Identify the situation that the configuration can not be on the top or in the below Identify the situation that the configuration can not be on the top or in the below Identify that one postfix in the configuration can not lead to the solution Identify that one postfix in the configuration can not lead to the solution Bidirectional search Bidirectional search Other branch pruning methods Other branch pruning methods

Top mask and Bottom mask If you want to make the configuration shrink its size to 0 or in the top, you can only use pair 1 At the beginning, the configuration is in the bottom Only two possible configurations satisfying the conditions: 101 No concatenations of the down strings can provide such postfixes! It has a bottom mask!

Useless Postfix DepthSelectionConfigurationProperty 1110Top Top Top Top Top Top Top After depth 1, if we can prove that all configurations will contain the postfixes either 110 or 101, we can infer that this instance has no solution

Useless Postfix DepthSelectionConfigurationProperty 1110Top Top Top Top Top Top Top S > S | S S > S | S Notes: I made a mistake for the proof of this postfix. Though it probably has such postfix, I can not prove it. This instance can be proved of no solutions by using the exclusion method. Added by Ling Zhao on May 3

Conclusions Use the standard techniques and simple heuristics to generate interesting PCP instance Use the standard techniques and simple heuristics to generate interesting PCP instance Raise many instances with the length larger than 100 Raise many instances with the length larger than 100 Conjectures about the minimum length of solutions for some instances Conjectures about the minimum length of solutions for some instances Conjectures about the most difficult instances for the specific width and size. Conjectures about the most difficult instances for the specific width and size.