The Real Story on Synchronous Rewriting Systems. Daniel Gildea Computer Science Department University of Rochester
|
|
- Edith Washington
- 5 years ago
- Views:
Transcription
1 The Real Story on Synchronous Rewriting Systems Daniel Gildea omputer Science Department University of Rochester
2 Overview Factorization Tree Decomposition Factorization of LFRS
3 YK Parsing w 2 : [, x 1, x 2 ] w 1 : [, x 0, x 1 ] w 0 w 1 w 2 : [, x 0, x 2 ]
4 inarization of FG E D D E X D X Y E Y X Y X D Y E O(n r+1 ) O(n 3 ) (homsky Normal Form)
5 Rule factorization for bilexicalized parsing H H O(n 5 ) O(n 4 ) (Eisner and Satta, 1999)
6 Synchronous ontext-free Grammar (SFG) (1) (2) D (3) E (4), (2) E (4) (1) D (3) E D X X D Y Y E
7 Grammar Factorization Factor rule into intermediate rules Lowers parsing complexity onsiders rules independently
8 Grammar Factorization FG: O(n r+1 ) O(n 3 ) ilex: O(n 5 ) O(n 4 ) SFG: O(n 2r+2 ) O(n cr ) Goal: find best factorization for large rules: Machine translation (Galley et al., 2004) Non-projective parsing (Kuhlman and Nivre, 2006; Gildea, 2010)
9 Tree Decomposition DE DEF EFG FGH GHI HIJ IJK E G I K M D F H J L N O P Q R S D GHN JKL HNO KLM NOP OPQ PQR QRS every edge in some cluster clusters containing any vertex are connected
10 Tree Decomposition for 3ST DE DEF EFG FGH GHI HIJ IJK E G I K M D F H J L N O P Q R S D GHN JKL HNO KLM NOP OPQ PQR QRS variable in 3ST node in graph appear in same clause in 3ST edge in graph
11 Tree Decomposition for Dynamic Programming DE DEF EFG FGH GHI HIJ IJK E G I K M D F H J L N O P Q R S D GHN JKL HNO KLM NOP OPQ PQR QRS every edge in some cluster can apply constraint in cluster clusters containing any vertex are connected variable has consistent value in solution
12 D E Factor Graph for FG w 4 : E c w 3 : D w 2 : w 1 : w 1 w 2 w 3 w 4 x 0 x 1 x 2 x 3 x 4 c : (Gildea, omputational Linguistics, 2010)
13 FG inarization Deduction Rule: Factor Graph: w 4 : E w 3 : D w 2 : w 1 : c : c w 1 w 2 w 3 w 4 x 0 x 1 x 2 x 3 x 4 Dependency Graph: Tree Decomposition: x 0 x 1 x 2 x 3 x 4 x 0 x 1 x 2 x 0 x 2 x 3 x 0 x 3 x 4
14 ilexicalized Parsing Deduction Rule: Factor Graph: w l : c w 2 : w 1 : w 1 w l w 2 c : x 0 h x 1 m x 2 Dependency Graph: Tree Decomposition: h m x 0 x 1 x 2 hx 1 mx 2 x 0 hx 1 x 2
15 SFG Parsing Deduction Rule: Factor Graph: c w 4 : E w 3 : D w 2 : w 1 : c : y 0 y 1 y 2 y 3 y 4 w 1 w 2 w 3 w 4 x 0 x 1 x 2 x 3 x 4 Dependency Graph: y 0 y 1 y 2 y 3 y 4 Tree Decomposition: x 0 x 3 x 4 y 0 y 2 y 3 y 4 x 0 x 1 x 2 x 3 x 4 x 0 x 2 x 3 y 0 y 1 y 2 y 3 y 4 x 0 x 1 x 2 y 1 y 2 y 3 y 4
16 Treewidth Width of tree decomposition is size of largest cluster Treewidth tw(g) is minimum width of any tree decomposition of G Optimal parsing complexity = treewidth
17 omplexity Treewidth for general graphs is NP-complete (rnborg et al., 1987) Simple algorithm is O(l k+2 ) forlvertices and treewidth k Parsing with original grammar is O(n l ) Treewidth is O(l) for fixed k (odlaender, 1996) Efficient algorithms for LFRS?
18 Linear ontext-free Rewriting Systems LFRS generalizes FG, TG, G, SFG, STG. Productions p P take the form: p : g( 1, 2,..., r ) where, 1,... r V N, and g is a linear, non-erasing function g( x 1,1,...,x ),..., x 1,ϕ(1 1,1,...,x 1,ϕ(r ) ) = t 1,...,t ϕ() (Vijay-Shankar et al. L 1987)
19 Linear ontext-free Rewriting Systems FG: YES TG: YES SFG: YES E D ilex: NO
20 Treewidth for LFRS lg. for treewidth of LFRS rule would imply 4 (G)-approximation algorithm for treewidth for general graphs. Proof strategy: Take arbitrary graph G From G, construct LFRS production P with dependency graph G Show relation between tw(g) and tw(g )
21 Edge Doubling G ex : G ex : E F D G D H
22 Tree decompositions of G ex and G ex G ex : G ex : D G E H F D E DF D G D H
23 G E F D H Eulerian tour:,,, D, F,, E,, G,, H,, P ex : X g ex (,,, D, E, F, G, H) g ex ( s,1, s,2, s,3, s,1, s,2, s,1, s,2, s,3, s D,1, s E,1, s F,1, s G,1, s H,1 ) = s,1 s,1 s,1 s D,1 s F,1 s,2 s E,1 s,2 s G,1 s,2 s H,1 s,3 s,3
24 Dependency Graph # E E F DF # D G H G H
25 pproximation lg. Map tree decomp. of G to tree decomp. G of treewidth SOL. tw(g) SOL 4 (G)tw(G) Implies 4 (G) approximation alg. for treewidth est known approximation algs: O(log k) (mir, 2001) O( log k) (Feige at al., 2005)
26 Dependency Treebank Experiments nmod sbj root vc pp nmod np tmp hearing is scheduled on the issue today nmod g 1 g 1 = sbj g 2 (nmod,pp) g 2 ( x 1,1, x 2,1 ) = x 1,1 hearing, x 2,1 root g 3 (sbj,vc) g 3 ( x 1,1, x 1,2, x 2,1, x 2,2 ) = x 1,1 is x 2,1 x 1,2 x 2,2 vc g 4 (tmp) g 4 ( x 1,1 ) = scheduled, x 1,1 pp g 5 (np) g 5 ( x 1,1 ) = on x 1,1 nmod g 6 g 6 = the np g 7 (nmod) g 7 ( x 1,1 ) = x 1,1 issue tmp g 8 g 8 = today
27 Dependency Treebank Experiments Kuhlmann and Nivre (L 2006) define mildly non-projective dependency structures. Gomez-Rodriguez et al. (L 2009) define mildly ill-nested dependency structures parsed in O(n 3k+4 ).
28 Treebank Parsing omplexity complexity arabic czech danish dutch german port swedish (Gildea, NL, 2010)
29 onclusion Grammar Factorization = Tree Decomposition Parsing omplexity = Treewidth Optimal factorization is NP-complete Optimal factorization is possible when parsing is possible Optimal factorization of LFRS implies 4 (G) approx alg. for treewidth
Graph-based Dependency Parsing. Ryan McDonald Google Research
Graph-based Dependency Parsing Ryan McDonald Google Research ryanmcd@google.com Reader s Digest Graph-based Dependency Parsing Ryan McDonald Google Research ryanmcd@google.com root ROOT Dependency Parsing
More informationTreebank Grammar Techniques for Non-Projective Dependency Parsing
Treebank Grammar Techniques for Non-Projective Dependency Parsing Marco Kuhlmann Uppsala University Uppsala, Sweden marco.kuhlmann@lingfil.uu.se Giorgio Satta University of Padua Padova, Italy satta@dei.unipd.it
More informationOptimal Head-Driven Parsing Complexity for Linear Context-Free Rewriting Systems
Optimal Head-Driven Parsing Complexity for Linear Context-Free Rewriting Systems Pierluigi Crescenzi Dip. di Sistemi e Informatica Università di Firenze Daniel Gildea Computer Science Dept. University
More informationComputational Linguistics
Computational Linguistics Dependency-based Parsing Clayton Greenberg Stefan Thater FR 4.7 Allgemeine Linguistik (Computerlinguistik) Universität des Saarlandes Summer 2016 Acknowledgements These slides
More informationComputational Linguistics. Acknowledgements. Phrase-Structure Trees. Dependency-based Parsing
Computational Linguistics Dependency-based Parsing Dietrich Klakow & Stefan Thater FR 4.7 Allgemeine Linguistik (Computerlinguistik) Universität des Saarlandes Summer 2013 Acknowledgements These slides
More informationDependency grammar. Recurrent neural networks. Transition-based neural parsing. Word representations. Informs Models
Dependency grammar Morphology Word order Transition-based neural parsing Word representations Recurrent neural networks Informs Models Dependency grammar Morphology Word order Transition-based neural parsing
More informationOptimal k-arization of synchronous tree-adjoining grammar
Optimal k-arization of synchronous tree-adjoining grammar The Harvard community has made this article openly available. Please share how this access benefits you. Your story matters itation Rebecca Nesson,
More informationParsing Mildly Non-projective Dependency Structures
Parsing Mildly Non-projective Dependency Structures Carlos Gómez-Rodríguez Departamento de Computación Universidade da Coruña, Spain cgomezr@udc.es David Weir and John Carroll Department of Informatics
More informationCFG PSA Algorithm. Sequence Alignment Guided By Common Motifs Described By Context Free Grammars
FG PS lgorithm Sequence lignment Guided By ommon Motifs Described By ontext Free Grammars motivation Find motifs- conserved regions that indicate a biological function or signature. Other algorithm do
More informationEfficient Parsing of Well-Nested Linear Context-Free Rewriting Systems
Efficient Parsing of Well-Nested Linear Context-Free Rewriting Systems Carlos Gómez-Rodríguez 1, Marco Kuhlmann 2, and Giorgio Satta 3 1 Departamento de Computación, Universidade da Coruña, Spain, cgomezr@udc.es
More informationAdvanced Graph-Based Parsing Techniques
Advanced Graph-Based Parsing Techniques Joakim Nivre Uppsala University Linguistics and Philology Based on previous tutorials with Ryan McDonald Advanced Graph-Based Parsing Techniques 1(33) Introduction
More informationComplexity, P and NP
Complexity, P and NP EECS 477 Lecture 21, 11/26/2002 Last week Lower bound arguments Information theoretic (12.2) Decision trees (sorting) Adversary arguments (12.3) Maximum of an array Graph connectivity
More informationLecture 9: Decoding. Andreas Maletti. Stuttgart January 20, Statistical Machine Translation. SMT VIII A. Maletti 1
Lecture 9: Decoding Andreas Maletti Statistical Machine Translation Stuttgart January 20, 2012 SMT VIII A. Maletti 1 Lecture 9 Last time Synchronous grammars (tree transducers) Rule extraction Weight training
More informationProbabilistic Context Free Grammars. Many slides from Michael Collins
Probabilistic Context Free Grammars Many slides from Michael Collins Overview I Probabilistic Context-Free Grammars (PCFGs) I The CKY Algorithm for parsing with PCFGs A Probabilistic Context-Free Grammar
More informationUndecidable Problems. Z. Sawa (TU Ostrava) Introd. to Theoretical Computer Science May 12, / 65
Undecidable Problems Z. Sawa (TU Ostrava) Introd. to Theoretical Computer Science May 12, 2018 1/ 65 Algorithmically Solvable Problems Let us assume we have a problem P. If there is an algorithm solving
More informationJuly 18, Approximation Algorithms (Travelling Salesman Problem)
Approximation Algorithms (Travelling Salesman Problem) July 18, 2014 The travelling-salesman problem Problem: given complete, undirected graph G = (V, E) with non-negative integer cost c(u, v) for each
More informationTransition-based dependency parsing
Transition-based dependency parsing Daniël de Kok Overview Dependency graphs and treebanks. Transition-based dependency parsing. Making parse choices using perceptrons. Today Recap Transition systems Parsing
More informationStructured Prediction Models via the Matrix-Tree Theorem
Structured Prediction Models via the Matrix-Tree Theorem Terry Koo Amir Globerson Xavier Carreras Michael Collins maestro@csail.mit.edu gamir@csail.mit.edu carreras@csail.mit.edu mcollins@csail.mit.edu
More informationAlgorithms Design & Analysis. Approximation Algorithm
Algorithms Design & Analysis Approximation Algorithm Recap External memory model Merge sort Distribution sort 2 Today s Topics Hard problem Approximation algorithms Metric traveling salesman problem A
More informationNP-Completeness. NP-Completeness 1
NP-Completeness Reference: Computers and Intractability: A Guide to the Theory of NP-Completeness by Garey and Johnson, W.H. Freeman and Company, 1979. NP-Completeness 1 General Problems, Input Size and
More informationLecture 7: Introduction to syntax-based MT
Lecture 7: Introduction to syntax-based MT Andreas Maletti Statistical Machine Translation Stuttgart December 16, 2011 SMT VII A. Maletti 1 Lecture 7 Goals Overview Tree substitution grammars (tree automata)
More informationAdvanced topic: Space complexity
Advanced topic: Space complexity CSCI 3130 Formal Languages and Automata Theory Siu On CHAN Chinese University of Hong Kong Fall 2016 1/28 Review: time complexity We have looked at how long it takes to
More informationCS Lecture 29 P, NP, and NP-Completeness. k ) for all k. Fall The class P. The class NP
CS 301 - Lecture 29 P, NP, and NP-Completeness Fall 2008 Review Languages and Grammars Alphabets, strings, languages Regular Languages Deterministic Finite and Nondeterministic Automata Equivalence of
More informationAn Introduction to Matroids & Greedy in Approximation Algorithms
An Introduction to Matroids & Greedy in Approximation Algorithms (Juliàn Mestre, ESA 2006) CoReLab Monday seminar presentation: Evangelos Bampas 1/21 Subset systems CoReLab Monday seminar presentation:
More informationComputational Intractability 2010/4/15. Lecture 2
Computational Intractability 2010/4/15 Professor: David Avis Lecture 2 Scribe:Naoki Hatta 1 P and NP 1.1 Definition of P and NP Decision problem it requires yes/no answer. Example: X is a set of strings.
More informationExam: Synchronous Grammars
Exam: ynchronous Grammars Duration: 3 hours Written documents are allowed. The numbers in front of questions are indicative of hardness or duration. ynchronous grammars consist of pairs of grammars whose
More informationAdvances in Abstract Categorial Grammars
Advances in Abstract Categorial Grammars Language Theory and Linguistic Modeling Lecture 3 Reduction of second-order ACGs to to Datalog Extension to almost linear second-order ACGs CFG recognition/parsing
More informationDynamic Programming on Trees. Example: Independent Set on T = (V, E) rooted at r V.
Dynamic Programming on Trees Example: Independent Set on T = (V, E) rooted at r V. For v V let T v denote the subtree rooted at v. Let f + (v) be the size of a maximum independent set for T v that contains
More informationStrong ETH Breaks With Merlin and Arthur. Or: Short Non-Interactive Proofs of Batch Evaluation
Strong ETH Breaks With Merlin and Arthur Or: Short Non-Interactive Proofs of Batch Evaluation Ryan Williams Stanford Two Stories Story #1: The ircuit and the Adversarial loud. Given: a 1,, a K F n Want:
More information4/20/11. NP-complete problems. A variety of NP-complete problems. Hamiltonian Cycle. Hamiltonian Cycle. Directed Hamiltonian Cycle
A variety of NP-complete problems NP-complete problems asic genres. Packing problems: SE-PACKING, INDEPENDEN SE. Covering problems: SE-COVER, VEREX-COVER. Constraint satisfaction problems: SA, 3-SA. Sequencing
More informationClass 5. Review; questions. Data-flow Analysis Review. Slicing overview Problem Set 2: due 9/3/09 Problem Set 3: due 9/8/09
Class 5 Review; questions Assign (see Schedule for links) Slicing overview Problem Set 2: due 9/3/09 Problem Set 3: due 9/8/09 1 Data-flow Analysis Review Start at slide 21 of Basic Analysis 3 1 Static
More informationNP-Completeness. ch34 Hewett. Problem. Tractable Intractable Non-computable computationally infeasible super poly-time alg. sol. E.g.
NP-Completeness ch34 Hewett Problem Tractable Intractable Non-computable computationally infeasible super poly-time alg. sol. E.g., O(2 n ) computationally feasible poly-time alg. sol. E.g., O(n k ) No
More informationCorrectness of Dijkstra s algorithm
Correctness of Dijkstra s algorithm Invariant: When vertex u is deleted from the priority queue, d[u] is the correct length of the shortest path from the source s to vertex u. Additionally, the value d[u]
More informationLecture 4: NP and computational intractability
Chapter 4 Lecture 4: NP and computational intractability Listen to: Find the longest path, Daniel Barret What do we do today: polynomial time reduction NP, co-np and NP complete problems some examples
More informationParsing Linear Context-Free Rewriting Systems with Fast Matrix Multiplication
Parsing Linear Context-Free Rewriting Systems with Fast Matrix Multiplication Shay B. Cohen University of Edinburgh Daniel Gildea University of Rochester We describe a recognition algorithm for a subset
More informationNP-Completeness. Andreas Klappenecker. [based on slides by Prof. Welch]
NP-Completeness Andreas Klappenecker [based on slides by Prof. Welch] 1 Prelude: Informal Discussion (Incidentally, we will never get very formal in this course) 2 Polynomial Time Algorithms Most of the
More informationTest Review: Geometry I Period 3,5,7. ASSESSMENT DATE: Wednesday 3/25 (FOR ALL CLASSES) Things it would be a good idea to know:
Test Review: Geometry I Period 3,5,7 ASSESSMENT DATE: Wednesday 3/25 (FOR ALL CLASSES) Things it would be a good idea to know: 1) How to create proportions from a. a word problem b. a pair of similar triangles
More informationEfficient Divide-and-Conquer Parsing of Practical Context-Free Languages
Efficient Divide-and-onquer Parsing of Practical ontext-free Languages Jean-Philippe ernardy Koen laessen LASP Seminar, Nov 14, 2016 FP workhorse: lists : 1 : 2 : 3 : 4 [] FP workhorse: lists : 1 : 2 :
More information2.4 Log-Arithm-etic. A Practice Understanding Task
2.4 Log-Arithm-etic A Practice Understanding Task Abe and Mary are feeling good about their log rules and bragging about their mathematical prowess to all of their friends when this exchange occurs: CC
More informationSAT, Coloring, Hamiltonian Cycle, TSP
1 SAT, Coloring, Hamiltonian Cycle, TSP Slides by Carl Kingsford Apr. 28, 2014 Sects. 8.2, 8.7, 8.5 2 Boolean Formulas Boolean Formulas: Variables: x 1, x 2, x 3 (can be either true or false) Terms: t
More informationNP Completeness and Approximation Algorithms
Winter School on Optimization Techniques December 15-20, 2016 Organized by ACMU, ISI and IEEE CEDA NP Completeness and Approximation Algorithms Susmita Sur-Kolay Advanced Computing and Microelectronic
More information6.2: Isosceles Triangles
6.2: Isosceles Triangles Dec 5 4:34 PM 1 Define an Isosceles Triangle. A triangle that has (at least) two sides of equal length. Dec 5 4:34 PM 2 Draw an Isosceles Triangle. Label all parts and mark the
More informationCSSTP. Given CSSTP. Statements Reasons. Given CSSTP. Mult. Prop. = Div. Prop. = Sym. Prop. = or 1 Mult. Prop. = Div. Prop. =
: If the triangles are similar (~), then all of the sides must be congruent proportional (create equal scale fractions). Example: A~ F Before you start your proof, it is important to plan! Setup the three
More informationBringing machine learning & compositional semantics together: central concepts
Bringing machine learning & compositional semantics together: central concepts https://githubcom/cgpotts/annualreview-complearning Chris Potts Stanford Linguistics CS 244U: Natural language understanding
More informationQuasi-Second-Order Parsing for 1-Endpoint-Crossing, Pagenumber-2 Graphs
Quasi-Second-Order Parsing for 1-Endpoint-Crossing, Pagenumber-2 Graphs Junjie Cao, Sheng Huang, Weiwei Sun, Xiaojun Wan Institute of Computer Science and Technology Peking University September 5, 2017
More informationECE 5775 (Fall 17) High-Level Digital Design Automation. Scheduling: Exact Methods
ECE 5775 (Fall 17) High-Level Digital Design Automation Scheduling: Exact Methods Announcements Sign up for the first student-led discussions today One slot remaining Presenters for the 1st session will
More informationLecture 17: May 29, 2002
EE596 Pat. Recog. II: Introduction to Graphical Models University of Washington Spring 2000 Dept. of Electrical Engineering Lecture 17: May 29, 2002 Lecturer: Jeff ilmes Scribe: Kurt Partridge, Salvador
More informationQuasi-Synchronous Phrase Dependency Grammars for Machine Translation. lti
Quasi-Synchronous Phrase Dependency Grammars for Machine Translation Kevin Gimpel Noah A. Smith 1 Introduction MT using dependency grammars on phrases Phrases capture local reordering and idiomatic translations
More informationSummer School on Introduction to Algorithms and Optimization Techniques July 4-12, 2017 Organized by ACMU, ISI and IEEE CEDA.
Summer School on Introduction to Algorithms and Optimization Techniques July 4-12, 2017 Organized by ACMU, ISI and IEEE CEDA NP Completeness Susmita Sur-Kolay Advanced Computing and Microelectronics Unit
More information13A. Computational Linguistics. 13A. Log-Likelihood Dependency Parsing. CSC 2501 / 485 Fall 2017
Computational Linguistics CSC 2501 / 485 Fall 2017 13A 13A. Log-Likelihood Dependency Parsing Gerald Penn Department of Computer Science, University of Toronto Based on slides by Yuji Matsumoto, Dragomir
More informationStatistical Machine Translation of Natural Languages
1/26 Statistical Machine Translation of Natural Languages Heiko Vogler Technische Universität Dresden Germany Graduiertenkolleg Quantitative Logics and Automata Dresden, November, 2012 1/26 Weighted Tree
More informationCS 583: Algorithms. NP Completeness Ch 34. Intractability
CS 583: Algorithms NP Completeness Ch 34 Intractability Some problems are intractable: as they grow large, we are unable to solve them in reasonable time What constitutes reasonable time? Standard working
More informationComplexity, Parsing, and Factorization of Tree-Local Multi-Component Tree-Adjoining Grammar
Complexity, Parsing, and Factorization of Tree-Local Multi-Component Tree-Adjoining Grammar Rebecca Nesson School of Engineering and Applied Sciences Harvard University Giorgio Satta Department of Information
More informationCSI 4105 MIDTERM SOLUTION
University of Ottawa CSI 4105 MIDTERM SOLUTION Instructor: Lucia Moura Feb 6, 2010 10:00 am Duration: 1:50 hs Closed book Last name: First name: Student number: There are 4 questions and 100 marks total.
More informationExperimental location Land type Soil type ph. K (meq/100) Jute Agriculture Experimental Station (JAES), Manikgonj, BJRI
Soil characteristics Nutrient status Experimental location AEZ Land type Soil type ph % OM % N P (ppm) K (meq/100) Jute Agriculture Experimental Station (JAES), Manikgonj, BJRI Active Brahmaputra and Jamuna
More informationLecture 18: More NP-Complete Problems
6.045 Lecture 18: More NP-Complete Problems 1 The Clique Problem a d f c b e g Given a graph G and positive k, does G contain a complete subgraph on k nodes? CLIQUE = { (G,k) G is an undirected graph with
More informationGeometry L2 Test Review Packet Similarity Test Date Friday March 18 Review Date Thursday March 17. Things it would be a good idea to know
Geometry L2 Test Review Packet Similarity Test Date Friday March 18 Review Date Thursday March 17 Things it would be a good idea to know 1. How to create a proportion from a. a word problem b. a pair of
More informationHonors Geometry Qtr 2 Practice from Chapters 5-8
Block: Seat: Honors Geometry Qtr 2 Practice from Chapters 5-8 Short Answer 1. Use DEF, where J, K, and L are midpoints of the sides. If DE = 8x + 12 and KL = 10x 9, what is DE? 2. Use DEF, where J, K,
More informationAlgorithm Design Strategies V
Algorithm Design Strategies V Joaquim Madeira Version 0.0 October 2016 U. Aveiro, October 2016 1 Overview The 0-1 Knapsack Problem Revisited The Fractional Knapsack Problem Greedy Algorithms Example Coin
More informationFlicked. ,y) (y,x ) 0 YC 2,4 ) tyx ) p=(2, egg. # p '= (-1/2) Station #1 - Rigid Transformations Station
Station #1 Rigid Transformations Station 1) Which graph correctly shows the reflection of rectangle PQRS over the line y x? (a) (b) (X (c) y) (yx ) 0 (d) p(2 p ' (1/2) 1) 2) What is the angle of rotation
More informationIntroduction to Solving Combinatorial Problems with SAT
Introduction to Solving Combinatorial Problems with SAT Javier Larrosa December 19, 2014 Overview of the session Review of Propositional Logic The Conjunctive Normal Form (CNF) Modeling and solving combinatorial
More informationCS 301: Complexity of Algorithms (Term I 2008) Alex Tiskin Harald Räcke. Hamiltonian Cycle. 8.5 Sequencing Problems. Directed Hamiltonian Cycle
8.5 Sequencing Problems Basic genres. Packing problems: SET-PACKING, INDEPENDENT SET. Covering problems: SET-COVER, VERTEX-COVER. Constraint satisfaction problems: SAT, 3-SAT. Sequencing problems: HAMILTONIAN-CYCLE,
More informationStructure and Complexity of Grammar-Based Machine Translation
Structure and of Grammar-Based Machine Translation University of Padua, Italy New York, June 9th, 2006 1 2 Synchronous context-free grammars Definitions Computational problems 3 problem SCFG projection
More informationTest 2 Review Math 1111 College Algebra
Test 2 Review Math 1111 College Algebra 1. Begin by graphing the standard quadratic function f(x) = x 2. Then use transformations of this graph to graph the given function. g(x) = x 2 + 2 *a. b. c. d.
More informationA Polynomial Time Algorithm for Parsing with the Bounded Order Lambek Calculus
A Polynomial Time Algorithm for Parsing with the Bounded Order Lambek Calculus Timothy A. D. Fowler Department of Computer Science University of Toronto 10 King s College Rd., Toronto, ON, M5S 3G4, Canada
More informationNP and Computational Intractability
NP and Computational Intractability 1 Polynomial-Time Reduction Desiderata'. Suppose we could solve X in polynomial-time. What else could we solve in polynomial time? don't confuse with reduces from Reduction.
More information1a. Introduction COMP6741: Parameterized and Exact Computation
1a. Introduction COMP6741: Parameterized and Exact Computation Serge Gaspers 12 1 School of Computer Science and Engineering, UNSW Sydney, Asutralia 2 Decision Sciences Group, Data61, CSIRO, Australia
More information2.4 Log-Arithm-etic. A Practice Understanding Task
2.4 Log-Arithm-etic A Practice Understanding Task Abe and Mary are feeling good about their log rules and bragging about their mathematical prowess to all of their friends when this exchange occurs: CC
More informationAlgorithm Design and Analysis
Algorithm Design and Analysis LECTURE 26 Computational Intractability Polynomial Time Reductions Sofya Raskhodnikova S. Raskhodnikova; based on slides by A. Smith and K. Wayne L26.1 What algorithms are
More informationChapter 4: Computation tree logic
INFOF412 Formal verification of computer systems Chapter 4: Computation tree logic Mickael Randour Formal Methods and Verification group Computer Science Department, ULB March 2017 1 CTL: a specification
More informationSpace is a computation resource. Unlike time it can be reused. Computational Complexity, by Fu Yuxi Space Complexity 1 / 44
Space Complexity Space is a computation resource. Unlike time it can be reused. Computational Complexity, by Fu Yuxi Space Complexity 1 / 44 Synopsis 1. Space Bounded Computation 2. Logspace Reduction
More information6.891: Lecture 24 (December 8th, 2003) Kernel Methods
6.891: Lecture 24 (December 8th, 2003) Kernel Methods Overview ffl Recap: global linear models ffl New representations from old representations ffl computational trick ffl Kernels for NLP structures ffl
More informationChordal structure in computer algebra: Permanents
Chordal structure in computer algebra: Permanents Diego Cifuentes Laboratory for Information and Decision Systems Electrical Engineering and Computer Science Massachusetts Institute of Technology Joint
More informationCircuits. Lecture 11 Uniform Circuit Complexity
Circuits Lecture 11 Uniform Circuit Complexity 1 Recall 2 Recall Non-uniform complexity 2 Recall Non-uniform complexity P/1 Decidable 2 Recall Non-uniform complexity P/1 Decidable NP P/log NP = P 2 Recall
More informationGraph. Supply Vertices and Demand Vertices. Supply Vertices. Demand Vertices
Partitioning Graphs of Supply and Demand Generalization of Knapsack Problem Takao Nishizeki Tohoku University Graph Supply Vertices and Demand Vertices Supply Vertices Demand Vertices Graph Each Supply
More informationCSC 373: Algorithm Design and Analysis Lecture 15
CSC 373: Algorithm Design and Analysis Lecture 15 Allan Borodin February 13, 2013 Some materials are from Stephen Cook s IIT talk and Keven Wayne s slides. 1 / 21 Announcements and Outline Announcements
More informationApproximation Preserving Reductions
Approximation Preserving Reductions - Memo Summary - AP-reducibility - L-reduction technique - Complete problems - Examples: MAXIMUM CLIQUE, MAXIMUM INDEPENDENT SET, MAXIMUM 2-SAT, MAXIMUM NAE 3-SAT, MAXIMUM
More informationIntroduction to Complexity Theory
Introduction to Complexity Theory Read K & S Chapter 6. Most computational problems you will face your life are solvable (decidable). We have yet to address whether a problem is easy or hard. Complexity
More information1 Deterministic Turing Machines
Time and Space Classes Exposition by William Gasarch 1 Deterministic Turing Machines Turing machines are a model of computation. It is believed that anything that can be computed can be computed by a Turing
More informationAdvanced Algorithms (XIII) Yijia Chen Fudan University
Advanced Algorithms (XIII) Yijia Chen Fudan University The PCP Theorem Theorem NP = PCP(log n, 1). Motivation Approximate solutions Definition (Approximation of MAX-3SAT) For every 3CNF formula ϕ, the
More informationABHELSINKI UNIVERSITY OF TECHNOLOGY
Approximation Algorithms Seminar 1 Set Cover, Steiner Tree and TSP Siert Wieringa siert.wieringa@tkk.fi Approximation Algorithms Seminar 1 1/27 Contents Approximation algorithms for: Set Cover Steiner
More informationPolynomial-Time Reductions
Reductions 1 Polynomial-Time Reductions Classify Problems According to Computational Requirements Q. Which problems will we be able to solve in practice? A working definition. [von Neumann 1953, Godel
More informationNP-Complete Reductions 2
x 1 x 1 x 2 x 2 x 3 x 3 x 4 x 4 12 22 32 CS 447 11 13 21 23 31 33 Algorithms NP-Complete Reductions 2 Prof. Gregory Provan Department of Computer Science University College Cork 1 Lecture Outline NP-Complete
More informationCS Lecture 28 P, NP, and NP-Completeness. Fall 2008
CS 301 - Lecture 28 P, NP, and NP-Completeness Fall 2008 Review Languages and Grammars Alphabets, strings, languages Regular Languages Deterministic Finite and Nondeterministic Automata Equivalence of
More informationSection 1.4. Meaning of Slope for Equations, Graphs, and Tables
Section 1.4 Meaning of Slope for Equations, Graphs, and Tables Finding Slope from a Linear Equation Finding Slope from a Linear Equation Example Find the slope of the line Solution Create a table using
More informationIntro to Theory of Computation
Intro to Theory of Computation LECTURE 25 Last time Class NP Today Polynomial-time reductions Adam Smith; Sofya Raskhodnikova 4/18/2016 L25.1 The classes P and NP P is the class of languages decidable
More informationTree-width. September 14, 2015
Tree-width Zdeněk Dvořák September 14, 2015 A tree decomposition of a graph G is a pair (T, β), where β : V (T ) 2 V (G) assigns a bag β(n) to each vertex of T, such that for every v V (G), there exists
More information8.5 Sequencing Problems. Chapter 8. NP and Computational Intractability. Hamiltonian Cycle. Hamiltonian Cycle
Chapter 8 NP and Computational Intractability 8.5 Sequencing Problems Basic genres. Packing problems: SET-PACKING, INDEPENDENT SET. Covering problems: SET-COVER, VERTEX-COVER. Constraint satisfaction problems:
More informationMock Final Exam Name. Solve and check the linear equation. 1) (-8x + 8) + 1 = -7(x + 3) A) {- 30} B) {- 6} C) {30} D) {- 28}
Mock Final Exam Name Solve and check the linear equation. 1) (-8x + 8) + 1 = -7(x + 3) 1) A) {- 30} B) {- 6} C) {30} D) {- 28} First, write the value(s) that make the denominator(s) zero. Then solve the
More informationCSL 356: Analysis and Design of Algorithms. Ragesh Jaiswal CSE, IIT Delhi
CSL 356: Analysis and Design of Algorithms Ragesh Jaiswal CSE, IIT Delhi Computational Intractability NP and NP-completeness Computational Intractability: NP & NP-complete NP: A problem X is in NP if and
More informationApproximation Algorithms and Hardness of Approximation. IPM, Jan Mohammad R. Salavatipour Department of Computing Science University of Alberta
Approximation Algorithms and Hardness of Approximation IPM, Jan 2006 Mohammad R. Salavatipour Department of Computing Science University of Alberta 1 Introduction For NP-hard optimization problems, we
More informationStacking Dependency Parsers
Stacking Dependency Parsers André F. T. Martins Dipanjan Das Noah A. Smith Eric P. Xing School of Computer Science, Carnegie Mellon University, Pittsburgh, PA 15213, USA Instituto de Telecomunicações,
More informationCS311 Computational Structures. NP-completeness. Lecture 18. Andrew P. Black Andrew Tolmach. Thursday, 2 December 2010
CS311 Computational Structures NP-completeness Lecture 18 Andrew P. Black Andrew Tolmach 1 Some complexity classes P = Decidable in polynomial time on deterministic TM ( tractable ) NP = Decidable in polynomial
More informationChapter 8. NP and Computational Intractability
Chapter 8 NP and Computational Intractability Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved. Acknowledgement: This lecture slide is revised and authorized from Prof.
More information5-1 Perpendicular and Angle Bisectors
5-1 Perpendicular and Angle Bisectors Warm Up Lesson Presentation Lesson Quiz Geometry Warm Up Construct each of the following. 1. A perpendicular bisector. 2. An angle bisector. 3. Find the midpoint and
More informationCS256 Applied Theory of Computation
CS256 Applied Theory of Computation Compleity Classes III John E Savage Overview Last lecture on time-bounded compleity classes Today we eamine space-bounded compleity classes We prove Savitch s Theorem,
More informationPCPs and Inapproximability Gap-producing and Gap-Preserving Reductions. My T. Thai
PCPs and Inapproximability Gap-producing and Gap-Preserving Reductions My T. Thai 1 1 Hardness of Approximation Consider a maximization problem Π such as MAX-E3SAT. To show that it is NP-hard to approximation
More informationThe SUBTLE NL Parsing Pipeline: A Complete Parser for English Mitch Marcus University of Pennsylvania
The SUBTLE NL Parsing Pipeline: A Complete Parser for English Mitch Marcus University of Pennsylvania 1 PICTURE OF ANALYSIS PIPELINE Tokenize Maximum Entropy POS tagger MXPOST Ratnaparkhi Core Parser Collins
More informationChapter 8. NP and Computational Intractability. Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved.
Chapter 8 NP and Computational Intractability Slides by Kevin Wayne. Copyright 2005 Pearson-Addison Wesley. All rights reserved. 1 8.5 Sequencing Problems Basic genres.! Packing problems: SET-PACKING,
More informationApplications of Tree Automata Theory Lecture VI: Back to Machine Translation
Applications of Tree Automata Theory Lecture VI: Back to Machine Translation Andreas Maletti Institute of Computer Science Universität Leipzig, Germany on leave from: Institute for Natural Language Processing
More information