Rhythm Tree Rewriting

Size: px
Start display at page:

Download "Rhythm Tree Rewriting"

Transcription

1 Rhythm Tree Rewriting Jean Bresson (Ircam) Pierre Donat-Bouillud (ENS Cachan/Rennes) Florent Jacquemard (INRIA, Ircam) IFIP WG1.6 July 13, 014

2 general perspective music symbolic representations in particular traditional western music notation processing of tree structured representations! general long term goal: symbolic MIR problems querying bases of music scores transformations, melodic similarity detection, genre classification, recommendation, detection of repetitions, automatic segmentation, musicological analysis! one particular target application: rhythm transcription

3 target application rhythm transcription: automatic generation of notation plan of the talk context: computer assisted (Music) composition problem: rhythm transcription data structure: rhythm trees term rewriting approach weighted tree automata

4 1 Assisted Composition hardware and software tools for authoring music, production of music scores

5 music notation editors score printing import/export MIDI and MusicXML Finale (MakeMusic) Sibelius (Avid)

6 algorithmic composition environments solving musical problems visual programming languages based on Lisp PWGL (Sibelius Academy) OpenMusic (Ircam)

7 Automatic Music Transcription

8 automatic music transcription: goal acoustical recording (audio file) (71,0.0)(74,1.18)(46,1.73)(5,.09)(5 symbolic timed trace (MIDI file, piano roll) notation (MusicXML )

9 automatic music transcription: tasks pitch tracking acoustical recording (audio file) audio MIR onset detection beat tracking symbolic timed trace (MIDI file, piano roll) symbolic MIR tempo/metric extraction structural segmentation notation (MusicXML )

10 automatic music transcription: applications recorded performance acoustical recording (audio file) MIDI keyboard (score edition) model of performance = score + deviations symbolic timed trace (MIDI file) algorithmic composition (OpenMusic ) agnostic notation (MusicXML ) this work, with focus on rhythm quantization

11 rhythm quantization (symbolic) 1. segmentation of the input timed trace each segment with constant tempo or known acceleration. identification of tempo / beat positions 3. local quantization on each segment (on-the-beat quantization) input: one segment = timed trace: sequence s of pairs (onset,duration) in R (ms) output: sequence t of pairs (onset, kind), with onsets in D, small discrete set (admissible subdivisions of beat) kind = note or silence number of notes = s

12 rhythm quantization : measures of quality timed trace transcription 1: high precision, high complexity transcription : lower precision, low complexity

13 alignment to grid Longuet-Higgins Mental Processes: Studies in Cognitive Science, 1987 Desain, Honing, de Rijk Quantization of musical time Music and Connectionnism, MIT Press depth 3 0 1/ 1 c grid of depth 3 and subdivision schema (3,, )

14 choice of the grid according to depth, number of divisions with user parameters or heuristics which grid for this? 3 4 which grid for that?

15 heuristics for grid selection Pressing, Lawrence Transcribe: A comprehensive autotranscription program ICMC 1993 Agon, Assayag, Fineberg, Rueda Kant: A critique of pure quantization ICMC 1994 Meudic OMquantify PhD Ircam, 005 given a predefined set T of template grids (user parameters) align the input segment s to grids of T select the best grid g T according to distance to s return alignement of s to g (converted to a score)

16 local quantization workflow OMquantify generation of several grids select best grid g (according to 3 distances) align input seq. s to g convert the alignement into OpenMusic Rhythm Tree return as score!! RT based approaches convert input seq. s into RT computations on RT(s)! return RT result as score

17 3 Rhythm Trees

18 rhythms and durations rhythmic values (fractions of the period) = symbolic notation tempo (frequency) durations (ms)

19 rhythm trees (RT) in traditional western music notation: durations are defined by recursive subdivisions of units

20 Lee The rhythmic interpretation of simple musical sequences Musical Structure and Cognition, 1985 rhythm CF grammars 4 3! < ! ˇ > ! ˇ (? S! < ! < ! ˇ > ! ˇ (?

21 OM rhythm trees (OMRT) trees are the standard data structure for OpenMusic Laurson Patchwork: A Visual Programming Language Helsinki: Sibelius Academy, 1996 Agon, Haddad, Assayag Representation et rendu de structures rythmiques JIM, labels in N = durations children = equal subdivisions of parent notes = leaves for numerical computations (not symbolic) list (4 (3 (1 ( 1)) 1 (1 (1 1 1))))

22 symbolic RT all sibling represent equal durations for symbolic computations (unary notation) terms over the following signature: inner nodes: labelled with arity = prime numbers -13 leaves: n : note r : rest s : slur. Sum with previous leaf in dfs ordering 1+ : add to next sibling G ˇ ˇ ˇ ˇ n n n n

23 symbolic RT (example ) G 44 ˇ` fl 3 fl ˇ ˇ ˇ ˇ fl 3 fl ˇ ˇ ˇ n 3 1+ n n 3 1+ n n n n n

24 symbolic RT (example 3) G 44 fl 3 fl ˇ ˇ ˇ. 1+ n 1+ 3 n n n

25 advantage of RT representation over string representation close to traditional music notation! keep the integrity constraint sum of durations = 1! groups of correlated events reflected in the tree structure = sequences of siblings preserved in local transformations

26 4 Local Quantization by RT Rewriting

27 principle 1. generate an initial tree t0 from input s with maximum precision, maximum complexity t0 complete closest to s given maximum depth, signature alignment to a complete grid!. simplify t0 into t using a set of rewrite rules of kinds: conservative rules (preserve durations) simplifying rules (do not preserve durations)! 3. return score corresponding to t

28 conservative rules merge-ns p(n, s,...,s)! n ˇ 8 ˇ! ˇ merge-r p(r,...,r)! r?! > merge-s p(s,...,s)! s 8 ˇ 8 ˇ! r 8 ˇ replace-s p(x 1,...,x m,t,1+,...,1+, n,y {z } 1,...,y n )! p(x 1,...,x m,t,n, s,...,s,y {z } 1,...,y n ) t = n or t = r or t = s, t = p(z 1,...,z p ) k k

29 ˇ ˇ ˇ conservative rules () 3 3/ 3(n, (s, n), s)! (n, n) ˇ 8 ˇ ˇ 8 ˇ! ˇ ˇ 5 5/ 5(n, s, (s, n), s, s)! (n, n) ˇ = ˇ ˇ ˇ = ˇ! ˇ ˇ 7/, 11/, 4/3 (n, 3(s, n, s)), (3(s, s, n), s)! 3(n, n, n) ˇ ˇ ˇ > ˇ ˇ ˇ 8 ˇ! ˇ ˇ ˇ 5/3 5(n, 3(s, s, n), s, 3(s, n, s), s)! 3(n, n, n) ˇ;ˇˇ ˇ = ˇ ˇ ˇ ; ˇ! ˇ ˇ ˇ

30 conservative rules (application) equational theory of rhythm notation the set of conservative rules is confluent and terminating! it can be used as a tool for simplifying rhythm notations identify equivalent rhythm notations

31 simplifying rules reduce inflate p(s, n,x 1,...,x m )! p(n, s,x 1,...,x m ) p(s, r,x 1,...,x m )! p(r, r,x 1,...,x m ) p(s,...,s, r)! p(s,...,s) {z } {z } m m+1 p 1 p(s,...,s, n),p {z } 0 (s,x 1...,x k )! p 1 p(s,...,s),p {z } 0 (n,x 1...,x k ) m m+1 p p p 1 p 0 (s,x 1,...,x`)! p 1 p 0 (n,x 1,...,x`) x p(s,...,s, n) {z } m x p(s,...,s) {z } m+1

32 TRS with regexp constraints there is an exponential number of simplifying rules currently implemented as LISP functions (1 function represents a family of rules) studying other compact rule-based representation, with tree, context and function variables regular constraints (variable in regular tree language)!!! Kutsia, Marin Matching with Regular Constraints, 005! problems: matching rewriting strategies (bottom-up) characterization of set of descendants

33 example initial tree (complete) 5 n s s s s s s s s r r r r r r r r r r r

34 example normalize (conservative) reduce (non-conservative) normalize (conservative) n s r r n s r r n s r r r r r s r r r

35 example () other initial tree (complete) n s s s s s s s s r r r r r r r r r r r

36 example normalize (conservative) inflate (non-conservative) normalize (conservative) r r n r n s s s s s s s s r n s s s s s s s s s

37 summary and questions 1. generate an initial tree t0 from input s several possibilities of t0. simplify t0 into t simplifying rules diverge (symbolic) exploration of space of reachable t choice of best t according to complexity and distance to s 3. return score corresponding to t" conversion of RT into notation (through OMRT)

38 5 Weighted Tree Automata

39 the set of initial trees, given an input sequence s! is a regular tree language Ls, recognized by a tree automaton As. exploration: the closure of Ls under rewriting is characterized by a tree automaton As *! constructed incrementally from As " and the rewrite rules (tree automata completion) choice of the best t: minimizing complexity and distance to s both computed by weighted tree automata

40 space exploration, selection best choice Bayesian approach to quantization Cemgil, Desain, Kappen Rhythm Quantization for Transcription Computer Music Journal 4(), 000. Cemgil Bayesian Music Transcription PhD Radboud University of Nijmegen, 004 p(t s) = p(s t ). p(t ) dist(s, t) square of a weighted Euclidian distance! 1 score complexity (length of Shannon code in bits) ad hoc performance model s = t / v + ε v = tempo (constant) ε = expressive timing deviation

41 space exploration, selection of best choice weighted tree automaton (WTA) A: finite bottom-up tree automaton with a weight for each transition. associates a weight A(t) to each term t. choice of t for s minimizing dist(s, t ). cpty(t ) where = Aws * (t ). Ac(t ) Aws * (t ) = dist(s, t ) if t recognized by As * = otherwise (ongoing) construction follows the construction of As * from As" Ac is a weighted tree automaton characterizing the user preferred notations (independently of s). It is learned online by quantization of previous segments.

42 construction of Ac (user s style) for each segment s 1. enumerate the k first t candidates according to Aws * (t ).Ac(t ) (k is a user parameter). print these t in traditional music notation 3. the user chooses his preferences, Ac is updated accordingly using extension of RPNI algorithm to WTA (Adrien Maire)

43 example proposition 1: ˇ (? d = 0.05, low complexity 5 proposition : ˇ 7 ˇ??? d = 0.05, higher complexity if the user chooses proposition 1 for this segment then A is left unchanged if the user prefers proposition then A is updated: 5-uplets will get higher weights for next segments

44 enumeration there exists a WTA A s.t. for all t, A(t) = Aws * (t ).Ac(t )! apply k-best algorithm to the weighted hypergraph presentation of A Huang, Chiang Better k-best parsing Parsing 005 improves Knuth extension to hyper graphs of Dijkstra s shortest path algorithm

45 conclusion approach for local rhythm quantization based on RT, involving 1. term rewriting. weighted tree automata! perspectives joined tempo inference and local quantization application of rhythm trees techniques (automata, transformations) to other symbolic MIR problems

46 trees representations in music Lerdahl and Jackendoff A Generative theory of tonal music MIT Press, 1983 Gilbert, Conklin A probabilistic context- free grammar for melodic reduction Artificial Intelligence and Music, IJCAI, 007 structuration of a piece in a time-span tree Johanna Högberg Generating music by means of tree transducers CIAA, 005

CS229 Project: Musical Alignment Discovery

CS229 Project: Musical Alignment Discovery S A A V S N N R R S CS229 Project: Musical Alignment iscovery Woodley Packard ecember 16, 2005 Introduction Logical representations of musical data are widely available in varying forms (for instance,

More information

Bayesian Modelling of Temporal Structure in Musical Audio

Bayesian Modelling of Temporal Structure in Musical Audio Bayesian Modelling of Temporal Structure in Musical Audio Nic Whiteley, A.Taylan Cemgil and Simon Godsill Signal Processing Group, University of Cambridge Department of Engineering, Trumpington Street,

More information

Bayesian Music Transcription

Bayesian Music Transcription Bayesian Music Transcription Een wetenschappelijke proeve op het gebied van de Natuurwetenschappen, Wiskunde en Informatica Proefschrift ter verkrijging van de graad van doctor aan de Radboud Universiteit

More information

Music as a Formal Language

Music as a Formal Language Music as a Formal Language Finite-State Automata and Pd Bryan Jurish moocow@ling.uni-potsdam.de Universität Potsdam, Institut für Linguistik, Potsdam, Germany pd convention 2004 / Jurish / Music as a formal

More information

A* Search. 1 Dijkstra Shortest Path

A* Search. 1 Dijkstra Shortest Path A* Search Consider the eight puzzle. There are eight tiles numbered 1 through 8 on a 3 by three grid with nine locations so that one location is left empty. We can move by sliding a tile adjacent to the

More information

Probabilistic Graphical Models and Bayesian Networks. Artificial Intelligence Bert Huang Virginia Tech

Probabilistic Graphical Models and Bayesian Networks. Artificial Intelligence Bert Huang Virginia Tech Probabilistic Graphical Models and Bayesian Networks Artificial Intelligence Bert Huang Virginia Tech Concept Map for Segment Probabilistic Graphical Models Probabilistic Time Series Models Particle Filters

More information

Decoding and Inference with Syntactic Translation Models

Decoding and Inference with Syntactic Translation Models Decoding and Inference with Syntactic Translation Models March 5, 2013 CFGs S NP VP VP NP V V NP NP CFGs S NP VP S VP NP V V NP NP CFGs S NP VP S VP NP V NP VP V NP NP CFGs S NP VP S VP NP V NP VP V NP

More information

Aspects of Tree-Based Statistical Machine Translation

Aspects of Tree-Based Statistical Machine Translation Aspects of Tree-Based Statistical Machine Translation Marcello Federico Human Language Technology FBK 2014 Outline Tree-based translation models: Synchronous context free grammars Hierarchical phrase-based

More information

Realtime Tempo Tracking using Kalman Filtering

Realtime Tempo Tracking using Kalman Filtering Realtime Tempo Tracking using Kalman Filtering Tim van Kasteren Supervisors: Dr. A. Taylan Cemgil Dr. ir. B.J.A. Kröse March 2006 University of Amsterdam Tim van Kasteren Realtime Tempo Tracking using

More information

On the Sizes of Decision Diagrams Representing the Set of All Parse Trees of a Context-free Grammar

On the Sizes of Decision Diagrams Representing the Set of All Parse Trees of a Context-free Grammar Proceedings of Machine Learning Research vol 73:153-164, 2017 AMBN 2017 On the Sizes of Decision Diagrams Representing the Set of All Parse Trees of a Context-free Grammar Kei Amii Kyoto University Kyoto

More information

T Y H G E D I. Music Informatics. Alan Smaill. Jan Alan Smaill Music Informatics Jan /1

T Y H G E D I. Music Informatics. Alan Smaill. Jan Alan Smaill Music Informatics Jan /1 O Music nformatics Alan maill Jan 23 2017 Alan maill Music nformatics Jan 23 2017 1/1 oday More on Midi vs wav representation. hythmic and metrical analysis. Alan maill Music nformatics Jan 23 2017 2/1

More information

07 Equational Logic and Algebraic Reasoning

07 Equational Logic and Algebraic Reasoning CAS 701 Fall 2004 07 Equational Logic and Algebraic Reasoning Instructor: W. M. Farmer Revised: 17 November 2004 1 What is Equational Logic? Equational logic is first-order logic restricted to languages

More information

McGill University > Schulich School of Music > MUMT 611 > Presentation III. Neural Networks. artificial. jason a. hockman

McGill University > Schulich School of Music > MUMT 611 > Presentation III. Neural Networks. artificial. jason a. hockman jason a. hockman Overvie hat is a neural netork? basics and architecture learning applications in music History 1940s: William McCulloch defines neuron 1960s: Perceptron 1970s: limitations presented (Minsky)

More information

SUPERVISED AND UNSUPERVISED SEQUENCE MODELLING FOR DRUM TRANSCRIPTION

SUPERVISED AND UNSUPERVISED SEQUENCE MODELLING FOR DRUM TRANSCRIPTION SUPERVISED AND UNSUPERVISED SEQUENCE MODELLING FOR DRUM TRANSCRIPTION Olivier Gillet, Gaël Richard GET / Télécom Paris (ENST) CNRS LTCI 37 rue Dareau, 75014 Paris, France ABSTRACT We discuss in this paper

More information

Object Detection Grammars

Object Detection Grammars Object Detection Grammars Pedro F. Felzenszwalb and David McAllester February 11, 2010 1 Introduction We formulate a general grammar model motivated by the problem of object detection in computer vision.

More information

Intelligent Systems:

Intelligent Systems: Intelligent Systems: Undirected Graphical models (Factor Graphs) (2 lectures) Carsten Rother 15/01/2015 Intelligent Systems: Probabilistic Inference in DGM and UGM Roadmap for next two lectures Definition

More information

Tree Adjoining Grammars

Tree Adjoining Grammars Tree Adjoining Grammars TAG: Parsing and formal properties Laura Kallmeyer & Benjamin Burkhardt HHU Düsseldorf WS 2017/2018 1 / 36 Outline 1 Parsing as deduction 2 CYK for TAG 3 Closure properties of TALs

More information

Syntactical analysis. Syntactical analysis. Syntactical analysis. Syntactical analysis

Syntactical analysis. Syntactical analysis. Syntactical analysis. Syntactical analysis Context-free grammars Derivations Parse Trees Left-recursive grammars Top-down parsing non-recursive predictive parsers construction of parse tables Bottom-up parsing shift/reduce parsers LR parsers GLR

More information

Learning cover context-free grammars from structural data

Learning cover context-free grammars from structural data Learning cover context-free grammars from structural data Mircea Marin Gabriel Istrate West University of Timişoara, Romania 11th International Colloquium on Theoretical Aspects of Computing ICTAC 2014

More information

Finite Universes. L is a fixed-length language if it has length n for some

Finite Universes. L is a fixed-length language if it has length n for some Finite Universes Finite Universes When the universe is finite (e.g., the interval 0, 2 1 ), all objects can be encoded by words of the same length. A language L has length n 0 if L =, or every word of

More information

GENERATING MUSICAL ACCOMPANIMENT USING FINITE STATE TRANSDUCERS

GENERATING MUSICAL ACCOMPANIMENT USING FINITE STATE TRANSDUCERS GENERATING MUSICAL ACCOMPANIMENT USING FINITE STATE TRANSDUCERS Jonathan P. Forsyth, Juan P. Bello Music and Audio Research Lab (MARL) New York University New York, NY USA {jpf211,jpbello}@nyu.edu ABSTRACT

More information

PDF hosted at the Radboud Repository of the Radboud University Nijmegen

PDF hosted at the Radboud Repository of the Radboud University Nijmegen PDF hosted at the Radboud Repository of the Radboud University Nijmegen The following full text is a publisher's version. For additional information about this publication clic this lin. http://hdl.handle.net/2066/112672

More information

Introduction: Computer Science is a cluster of related scientific and engineering disciplines concerned with the study and application of computations. These disciplines range from the pure and basic scientific

More information

1. (12 points) Give a table-driven parse table for the following grammar: 1) X ax 2) X P 3) P DT 4) T P 5) T ε 7) D 1

1. (12 points) Give a table-driven parse table for the following grammar: 1) X ax 2) X P 3) P DT 4) T P 5) T ε 7) D 1 1. (12 points) Give a table-driven parse table for the following grammar: 1) X ax 2) X P 3) P DT 4) T P 5) T ε 6) D 0 7) D 1 4. Recall that our class database has the following schemas: SNAP(StudentID,

More information

Natural Language Processing : Probabilistic Context Free Grammars. Updated 5/09

Natural Language Processing : Probabilistic Context Free Grammars. Updated 5/09 Natural Language Processing : Probabilistic Context Free Grammars Updated 5/09 Motivation N-gram models and HMM Tagging only allowed us to process sentences linearly. However, even simple sentences require

More information

Context-Free Languages

Context-Free Languages CS:4330 Theory of Computation Spring 2018 Context-Free Languages Non-Context-Free Languages Haniel Barbosa Readings for this lecture Chapter 2 of [Sipser 1996], 3rd edition. Section 2.3. Proving context-freeness

More information

Movement-Generalized Minimalist Grammars

Movement-Generalized Minimalist Grammars Movet-Generalized Minimalist Grammars Thomas Graf tgraf@ucla.edu tgraf.bol.ucla.edu University of California, Los Angeles LACL 2012 July 2, 2012 Outline 1 Monadic Second-Order Logic (MSO) Talking About

More information

CSE 105 THEORY OF COMPUTATION

CSE 105 THEORY OF COMPUTATION CSE 105 THEORY OF COMPUTATION Spring 2017 http://cseweb.ucsd.edu/classes/sp17/cse105-ab/ Review of CFG, CFL, ambiguity What is the language generated by the CFG below: G 1 = ({S,T 1,T 2 }, {0,1,2}, { S

More information

Lifted Inference: Exact Search Based Algorithms

Lifted Inference: Exact Search Based Algorithms Lifted Inference: Exact Search Based Algorithms Vibhav Gogate The University of Texas at Dallas Overview Background and Notation Probabilistic Knowledge Bases Exact Inference in Propositional Models First-order

More information

University of Colorado at Boulder ECEN 4/5532. Lab 2 Lab report due on February 16, 2015

University of Colorado at Boulder ECEN 4/5532. Lab 2 Lab report due on February 16, 2015 University of Colorado at Boulder ECEN 4/5532 Lab 2 Lab report due on February 16, 2015 This is a MATLAB only lab, and therefore each student needs to turn in her/his own lab report and own programs. 1

More information

COMPARISON OF FEATURES FOR DP-MATCHING BASED QUERY-BY-HUMMING SYSTEM

COMPARISON OF FEATURES FOR DP-MATCHING BASED QUERY-BY-HUMMING SYSTEM COMPARISON OF FEATURES FOR DP-MATCHING BASED QUERY-BY-HUMMING SYSTEM Akinori Ito Sung-Phil Heo Motoyuki Suzuki Shozo Makino Graduate School of Engineering Tohoku University Aoba 05, Aramaki, Sendai, 980-8579

More information

PDF hosted at the Radboud Repository of the Radboud University Nijmegen

PDF hosted at the Radboud Repository of the Radboud University Nijmegen PDF hosted at the Radboud Repository of the Radboud University Nijmegen The following full text is a publisher's version. For additional information about this publication click this link. http://hdl.handle.net/2066/112727

More information

Topics in Natural Language Processing

Topics in Natural Language Processing Topics in Natural Language Processing Shay Cohen Institute for Language, Cognition and Computation University of Edinburgh Lecture 5 Solving an NLP Problem When modelling a new problem in NLP, need to

More information

Lecture 17: Language Recognition

Lecture 17: Language Recognition Lecture 17: Language Recognition Finite State Automata Deterministic and Non-Deterministic Finite Automata Regular Expressions Push-Down Automata Turing Machines Modeling Computation When attempting to

More information

Statistical Methods for NLP

Statistical Methods for NLP Statistical Methods for NLP Stochastic Grammars Joakim Nivre Uppsala University Department of Linguistics and Philology joakim.nivre@lingfil.uu.se Statistical Methods for NLP 1(22) Structured Classification

More information

An Automatic Test Framework for Interactive Music Systems

An Automatic Test Framework for Interactive Music Systems An Automatic Test Framework for Interactive Music Systems Florent Jacquemard, Clément Poncelet To cite this version: Florent Jacquemard, Clément Poncelet. An Automatic Test Framework for Interactive Music

More information

On tempo tracking: Tempogram Representation and Kalman filtering

On tempo tracking: Tempogram Representation and Kalman filtering On tempo tracking: Tempogram Representation and Kalman filtering Ali Taylan Cemgil ½ ; Bert Kappen ½ ; Peter Desain ¾ ; Henkjan Honing ¾ ½ SNN, Dept. of Medical Physics and Biophysics, ¾ Music, Mind and

More information

Improved TBL algorithm for learning context-free grammar

Improved TBL algorithm for learning context-free grammar Proceedings of the International Multiconference on ISSN 1896-7094 Computer Science and Information Technology, pp. 267 274 2007 PIPS Improved TBL algorithm for learning context-free grammar Marcin Jaworski

More information

Einführung in die Computerlinguistik

Einführung in die Computerlinguistik Einführung in die Computerlinguistik Context-Free Grammars (CFG) Laura Kallmeyer Heinrich-Heine-Universität Düsseldorf Summer 2016 1 / 22 CFG (1) Example: Grammar G telescope : Productions: S NP VP NP

More information

TRACKING RESTS AND TEMPO CHANGES: IMPROVED SCORE FOLLOWING WITH PARTICLE FILTERS

TRACKING RESTS AND TEMPO CHANGES: IMPROVED SCORE FOLLOWING WITH PARTICLE FILTERS TRACKING RESTS AND TEMPO CHANGES: IMPROVED SCORE FOLLOWING WITH PARTICLE FILTERS Filip Korzeniowski, Florian Krebs, Andreas Arzt, Gerhard Widmer Johannes Kepler University Linz, Department of Computational

More information

Pattern Recognition Approaches to Solving Combinatorial Problems in Free Groups

Pattern Recognition Approaches to Solving Combinatorial Problems in Free Groups Contemporary Mathematics Pattern Recognition Approaches to Solving Combinatorial Problems in Free Groups Robert M. Haralick, Alex D. Miasnikov, and Alexei G. Myasnikov Abstract. We review some basic methodologies

More information

CSE 105 THEORY OF COMPUTATION

CSE 105 THEORY OF COMPUTATION CSE 105 THEORY OF COMPUTATION Spring 2016 http://cseweb.ucsd.edu/classes/sp16/cse105-ab/ Today's learning goals Sipser Ch 2 Define push down automata Trace the computation of a push down automaton Design

More information

The efficiency of identifying timed automata and the power of clocks

The efficiency of identifying timed automata and the power of clocks The efficiency of identifying timed automata and the power of clocks Sicco Verwer a,b,1,, Mathijs de Weerdt b, Cees Witteveen b a Eindhoven University of Technology, Department of Mathematics and Computer

More information

RNNLIB: Connectionist Temporal Classification and Transcription Layer

RNNLIB: Connectionist Temporal Classification and Transcription Layer RNNLIB: Connectionist Temporal Classification and Transcription Layer Wantee Wang 2015-02-08 16:56:40 +0800 Contents 1 The Name 2 2 The Theory 2 2.1 List of Symbols............................ 2 2.2 Training

More information

Final Exam December 12, 2017

Final Exam December 12, 2017 Introduction to Artificial Intelligence CSE 473, Autumn 2017 Dieter Fox Final Exam December 12, 2017 Directions This exam has 7 problems with 111 points shown in the table below, and you have 110 minutes

More information

A Dichotomy. in in Probabilistic Databases. Joint work with Robert Fink. for Non-Repeating Queries with Negation Queries with Negation

A Dichotomy. in in Probabilistic Databases. Joint work with Robert Fink. for Non-Repeating Queries with Negation Queries with Negation Dichotomy for Non-Repeating Queries with Negation Queries with Negation in in Probabilistic Databases Robert Dan Olteanu Fink and Dan Olteanu Joint work with Robert Fink Uncertainty in Computation Simons

More information

Doctoral Course in Speech Recognition. May 2007 Kjell Elenius

Doctoral Course in Speech Recognition. May 2007 Kjell Elenius Doctoral Course in Speech Recognition May 2007 Kjell Elenius CHAPTER 12 BASIC SEARCH ALGORITHMS State-based search paradigm Triplet S, O, G S, set of initial states O, set of operators applied on a state

More information

Java II Finite Automata I

Java II Finite Automata I Java II Finite Automata I Bernd Kiefer Bernd.Kiefer@dfki.de Deutsches Forschungszentrum für künstliche Intelligenz November, 23 Processing Regular Expressions We already learned about Java s regular expression

More information

Plan for 2 nd half. Just when you thought it was safe. Just when you thought it was safe. Theory Hall of Fame. Chomsky Normal Form

Plan for 2 nd half. Just when you thought it was safe. Just when you thought it was safe. Theory Hall of Fame. Chomsky Normal Form Plan for 2 nd half Pumping Lemma for CFLs The Return of the Pumping Lemma Just when you thought it was safe Return of the Pumping Lemma Recall: With Regular Languages The Pumping Lemma showed that if a

More information

Reconstruction. Reading for this lecture: Lecture Notes.

Reconstruction. Reading for this lecture: Lecture Notes. ɛm Reconstruction Reading for this lecture: Lecture Notes. The Learning Channel... ɛ -Machine of a Process: Intrinsic representation! Predictive (or causal) equivalence relation: s s Pr( S S= s ) = Pr(

More information

Kolmogorov complexity ; induction, prediction and compression

Kolmogorov complexity ; induction, prediction and compression Kolmogorov complexity ; induction, prediction and compression Contents 1 Motivation for Kolmogorov complexity 1 2 Formal Definition 2 3 Trying to compute Kolmogorov complexity 3 4 Standard upper bounds

More information

Evolutionary Tree Analysis. Overview

Evolutionary Tree Analysis. Overview CSI/BINF 5330 Evolutionary Tree Analysis Young-Rae Cho Associate Professor Department of Computer Science Baylor University Overview Backgrounds Distance-Based Evolutionary Tree Reconstruction Character-Based

More information

The State Explosion Problem

The State Explosion Problem The State Explosion Problem Martin Kot August 16, 2003 1 Introduction One from main approaches to checking correctness of a concurrent system are state space methods. They are suitable for automatic analysis

More information

Foreword. Grammatical inference. Examples of sequences. Sources. Example of problems expressed by sequences Switching the light

Foreword. Grammatical inference. Examples of sequences. Sources. Example of problems expressed by sequences Switching the light Foreword Vincent Claveau IRISA - CNRS Rennes, France In the course of the course supervised symbolic machine learning technique concept learning (i.e. 2 classes) INSA 4 Sources s of sequences Slides and

More information

Clustering with k-means and Gaussian mixture distributions

Clustering with k-means and Gaussian mixture distributions Clustering with k-means and Gaussian mixture distributions Machine Learning and Category Representation 2012-2013 Jakob Verbeek, ovember 23, 2012 Course website: http://lear.inrialpes.fr/~verbeek/mlcr.12.13

More information

Parsing. Context-Free Grammars (CFG) Laura Kallmeyer. Winter 2017/18. Heinrich-Heine-Universität Düsseldorf 1 / 26

Parsing. Context-Free Grammars (CFG) Laura Kallmeyer. Winter 2017/18. Heinrich-Heine-Universität Düsseldorf 1 / 26 Parsing Context-Free Grammars (CFG) Laura Kallmeyer Heinrich-Heine-Universität Düsseldorf Winter 2017/18 1 / 26 Table of contents 1 Context-Free Grammars 2 Simplifying CFGs Removing useless symbols Eliminating

More information

Parsing. Probabilistic CFG (PCFG) Laura Kallmeyer. Winter 2017/18. Heinrich-Heine-Universität Düsseldorf 1 / 22

Parsing. Probabilistic CFG (PCFG) Laura Kallmeyer. Winter 2017/18. Heinrich-Heine-Universität Düsseldorf 1 / 22 Parsing Probabilistic CFG (PCFG) Laura Kallmeyer Heinrich-Heine-Universität Düsseldorf Winter 2017/18 1 / 22 Table of contents 1 Introduction 2 PCFG 3 Inside and outside probability 4 Parsing Jurafsky

More information

Notes on Inductive Sets and Induction

Notes on Inductive Sets and Induction Notes on Inductive Sets and Induction Finite Automata Theory and Formal Languages TMV027/DIT21 Ana Bove, March 15th 2018 Contents 1 Induction over the Natural Numbers 2 1.1 Mathematical (Simple) Induction........................

More information

Analysis of polyphonic audio using source-filter model and non-negative matrix factorization

Analysis of polyphonic audio using source-filter model and non-negative matrix factorization Analysis of polyphonic audio using source-filter model and non-negative matrix factorization Tuomas Virtanen and Anssi Klapuri Tampere University of Technology, Institute of Signal Processing Korkeakoulunkatu

More information

10/17/04. Today s Main Points

10/17/04. Today s Main Points Part-of-speech Tagging & Hidden Markov Model Intro Lecture #10 Introduction to Natural Language Processing CMPSCI 585, Fall 2004 University of Massachusetts Amherst Andrew McCallum Today s Main Points

More information

k-protected VERTICES IN BINARY SEARCH TREES

k-protected VERTICES IN BINARY SEARCH TREES k-protected VERTICES IN BINARY SEARCH TREES MIKLÓS BÓNA Abstract. We show that for every k, the probability that a randomly selected vertex of a random binary search tree on n nodes is at distance k from

More information

Clustering with k-means and Gaussian mixture distributions

Clustering with k-means and Gaussian mixture distributions Clustering with k-means and Gaussian mixture distributions Machine Learning and Object Recognition 2017-2018 Jakob Verbeek Clustering Finding a group structure in the data Data in one cluster similar to

More information

University of Genova - DITEN. Smart Patrolling. video and SIgnal Processing for Telecommunications ISIP40

University of Genova - DITEN. Smart Patrolling. video and SIgnal Processing for Telecommunications ISIP40 University of Genova - DITEN Smart Patrolling 1 Smart Patrolling Detection of the intruder Tracking of the intruder A cognitive node will active an operator, describing on his mobile terminal the characteristic

More information

First-Order Theorem Proving and Vampire. Laura Kovács (Chalmers University of Technology) Andrei Voronkov (The University of Manchester)

First-Order Theorem Proving and Vampire. Laura Kovács (Chalmers University of Technology) Andrei Voronkov (The University of Manchester) First-Order Theorem Proving and Vampire Laura Kovács (Chalmers University of Technology) Andrei Voronkov (The University of Manchester) Outline Introduction First-Order Logic and TPTP Inference Systems

More information

This kind of reordering is beyond the power of finite transducers, but a synchronous CFG can do this.

This kind of reordering is beyond the power of finite transducers, but a synchronous CFG can do this. Chapter 12 Synchronous CFGs Synchronous context-free grammars are a generalization of CFGs that generate pairs of related strings instead of single strings. They are useful in many situations where one

More information

Algorithms for Syntax-Aware Statistical Machine Translation

Algorithms for Syntax-Aware Statistical Machine Translation Algorithms for Syntax-Aware Statistical Machine Translation I. Dan Melamed, Wei Wang and Ben Wellington ew York University Syntax-Aware Statistical MT Statistical involves machine learning (ML) seems crucial

More information

Yoshiharu Kojima 1,2

Yoshiharu Kojima 1,2 Reachability Problems for Controlled Rewriting Systems Yoshiharu Kojima 1,2 joint work with Masahiko Sakai 1 and Florent Jacquemard 3 1 Nagoya University 2 Research Fellow of JSPS 3 INRIA Sacray, LSV AJSW2010,

More information

Automata & languages. A primer on the Theory of Computation. Laurent Vanbever. ETH Zürich (D-ITET) October,

Automata & languages. A primer on the Theory of Computation. Laurent Vanbever.   ETH Zürich (D-ITET) October, Automata & languages A primer on the Theory of Computation Laurent Vanbever www.vanbever.eu ETH Zürich (D-ITET) October, 5 2017 Part 3 out of 5 Last week, we learned about closure and equivalence of regular

More information

Part 3 out of 5. Automata & languages. A primer on the Theory of Computation. Last week, we learned about closure and equivalence of regular languages

Part 3 out of 5. Automata & languages. A primer on the Theory of Computation. Last week, we learned about closure and equivalence of regular languages Automata & languages A primer on the Theory of Computation Laurent Vanbever www.vanbever.eu Part 3 out of 5 ETH Zürich (D-ITET) October, 5 2017 Last week, we learned about closure and equivalence of regular

More information

Artificial Intelligence (AI) Common AI Methods. Training. Signals to Perceptrons. Artificial Neural Networks (ANN) Artificial Intelligence

Artificial Intelligence (AI) Common AI Methods. Training. Signals to Perceptrons. Artificial Neural Networks (ANN) Artificial Intelligence Artificial Intelligence (AI) Artificial Intelligence AI is an attempt to reproduce intelligent reasoning using machines * * H. M. Cartwright, Applications of Artificial Intelligence in Chemistry, 1993,

More information

Expectation Maximization (EM)

Expectation Maximization (EM) Expectation Maximization (EM) The EM algorithm is used to train models involving latent variables using training data in which the latent variables are not observed (unlabeled data). This is to be contrasted

More information

Learning k-edge Deterministic Finite Automata in the Framework of Active Learning

Learning k-edge Deterministic Finite Automata in the Framework of Active Learning Learning k-edge Deterministic Finite Automata in the Framework of Active Learning Anuchit Jitpattanakul* Department of Mathematics, Faculty of Applied Science, King Mong s University of Technology North

More information

Chapter 4: Computation tree logic

Chapter 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 information

Attendee information. Seven Lectures on Statistical Parsing. Phrase structure grammars = context-free grammars. Assessment.

Attendee information. Seven Lectures on Statistical Parsing. Phrase structure grammars = context-free grammars. Assessment. even Lectures on tatistical Parsing Christopher Manning LA Linguistic Institute 7 LA Lecture Attendee information Please put on a piece of paper: ame: Affiliation: tatus (undergrad, grad, industry, prof,

More information

Bayesian Networks. Axioms of Probability Theory. Conditional Probability. Inference by Enumeration. Inference by Enumeration CSE 473

Bayesian Networks. Axioms of Probability Theory. Conditional Probability. Inference by Enumeration. Inference by Enumeration CSE 473 ayesian Networks CSE 473 Last Time asic notions tomic events Probabilities Joint distribution Inference by enumeration Independence & conditional independence ayes rule ayesian networks Statistical learning

More information

PDF hosted at the Radboud Repository of the Radboud University Nijmegen

PDF hosted at the Radboud Repository of the Radboud University Nijmegen PDF hosted at the Radboud Repository of the Radboud University Nijmegen The following full text is a publisher's version. For additional information about this publication click this link. http://hdl.handle.net/2066/74817

More information

Chapter 2: Finite Automata

Chapter 2: Finite Automata Chapter 2: Finite Automata 2.1 States, State Diagrams, and Transitions Finite automaton is the simplest acceptor or recognizer for language specification. It is also the simplest model of a computer. A

More information

Discrete Structures, Final Exam

Discrete Structures, Final Exam Discrete Structures, Final Exam Monday, May 11, 2009 SOLUTIONS 1. (40 pts) Short answer. Put your answer in the box. No partial credit. [ ] 0 1 (a) If A = and B = 1 0 [ ] 0 0 1. 0 1 1 [ 0 1 1 0 0 1 ],

More information

Automata-Theoretic LTL Model-Checking

Automata-Theoretic LTL Model-Checking Automata-Theoretic LTL Model-Checking Arie Gurfinkel arie@cmu.edu SEI/CMU Automata-Theoretic LTL Model-Checking p.1 LTL - Linear Time Logic (Pn 77) Determines Patterns on Infinite Traces Atomic Propositions

More information

Information Theory and Statistics Lecture 2: Source coding

Information Theory and Statistics Lecture 2: Source coding Information Theory and Statistics Lecture 2: Source coding Łukasz Dębowski ldebowsk@ipipan.waw.pl Ph. D. Programme 2013/2014 Injections and codes Definition (injection) Function f is called an injection

More information

The Quantizing functions

The Quantizing functions The Quantizing functions What is quantizing? Quantizing in its fundamental form is a function that automatically moves recorded notes, positioning them on exact note values: For example, if you record

More information

CS 188: Artificial Intelligence. Bayes Nets

CS 188: Artificial Intelligence. Bayes Nets CS 188: Artificial Intelligence Probabilistic Inference: Enumeration, Variable Elimination, Sampling Pieter Abbeel UC Berkeley Many slides over this course adapted from Dan Klein, Stuart Russell, Andrew

More information

CSE182-L7. Protein Sequence Analysis Patterns (regular expressions) Profiles HMM Gene Finding CSE182

CSE182-L7. Protein Sequence Analysis Patterns (regular expressions) Profiles HMM Gene Finding CSE182 CSE182-L7 Protein Sequence Analysis Patterns (regular expressions) Profiles HMM Gene Finding 10-07 CSE182 Bell Labs Honors Pattern matching 10-07 CSE182 Just the Facts Consider the set of all substrings

More information

CTL satisfability via tableau A C++ implementation

CTL satisfability via tableau A C++ implementation CTL satisfability via tableau A C++ implementation Nicola Prezza April 30, 2015 Outline 1 Introduction 2 Parsing 3 Data structures 4 Initial sets of labels and edges 5 Cull 6 Examples and benchmarks The

More information

Tiling the Musical Canon with Augmentations of the Ashanti Rhythmic Pattern

Tiling the Musical Canon with Augmentations of the Ashanti Rhythmic Pattern Bridges 2009: Mathematics, Music, Art, Architecture, Culture Tiling the Musical Canon with Augmentations of the Ashanti Rhythmic Pattern Carl Bracken 1, Gary Fitzpatrick 2, Nadya Markin 3 1 Department

More information

Statistical Machine Translation of Natural Languages

Statistical 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 information

Recovering the Graph Structure of Restricted Structural Equation Models

Recovering the Graph Structure of Restricted Structural Equation Models Recovering the Graph Structure of Restricted Structural Equation Models Workshop on Statistics for Complex Networks, Eindhoven Jonas Peters 1 J. Mooij 3, D. Janzing 2, B. Schölkopf 2, P. Bühlmann 1 1 Seminar

More information

Factorized Relational Databases Olteanu and Závodný, University of Oxford

Factorized Relational Databases   Olteanu and Závodný, University of Oxford November 8, 2013 Database Seminar, U Washington Factorized Relational Databases http://www.cs.ox.ac.uk/projects/fd/ Olteanu and Závodný, University of Oxford Factorized Representations of Relations Cust

More information

Peter Wood. Department of Computer Science and Information Systems Birkbeck, University of London Automata and Formal Languages

Peter Wood. Department of Computer Science and Information Systems Birkbeck, University of London Automata and Formal Languages and and Department of Computer Science and Information Systems Birkbeck, University of London ptw@dcs.bbk.ac.uk Outline and Doing and analysing problems/languages computability/solvability/decidability

More information

CPS 220 Theory of Computation Pushdown Automata (PDA)

CPS 220 Theory of Computation Pushdown Automata (PDA) CPS 220 Theory of Computation Pushdown Automata (PDA) Nondeterministic Finite Automaton with some extra memory Memory is called the stack, accessed in a very restricted way: in a First-In First-Out fashion

More information

Probabilistic Context-Free Grammar

Probabilistic Context-Free Grammar Probabilistic Context-Free Grammar Petr Horáček, Eva Zámečníková and Ivana Burgetová Department of Information Systems Faculty of Information Technology Brno University of Technology Božetěchova 2, 612

More information

Overview. Discrete Event Systems Verification of Finite Automata. What can finite automata be used for? What can finite automata be used for?

Overview. Discrete Event Systems Verification of Finite Automata. What can finite automata be used for? What can finite automata be used for? Computer Engineering and Networks Overview Discrete Event Systems Verification of Finite Automata Lothar Thiele Introduction Binary Decision Diagrams Representation of Boolean Functions Comparing two circuits

More information

Proofs, Strings, and Finite Automata. CS154 Chris Pollett Feb 5, 2007.

Proofs, Strings, and Finite Automata. CS154 Chris Pollett Feb 5, 2007. Proofs, Strings, and Finite Automata CS154 Chris Pollett Feb 5, 2007. Outline Proofs and Proof Strategies Strings Finding proofs Example: For every graph G, the sum of the degrees of all the nodes in G

More information

Parameterized Regular Expressions and Their Languages

Parameterized Regular Expressions and Their Languages Parameterized Regular Expressions and Their Languages Pablo Barceló a, Juan Reutter b, Leonid Libkin b a Department of Computer Science, University of Chile b School of Informatics, University of Edinburgh

More information

A Generative Model for Music Transcription

A Generative Model for Music Transcription 1 A Generative Model for Music Transcription Ali Taylan Cemgil, Student Member, IEEE, Bert Kappen, Senior Member, IEEE, and David Barber Abstract In this paper we present a graphical model for polyphonic

More information

Complexity: Some examples

Complexity: Some examples Algorithms and Architectures III: Distributed Systems H-P Schwefel, Jens M. Pedersen Mm6 Distributed storage and access (jmp) Mm7 Introduction to security aspects (hps) Mm8 Parallel complexity (hps) Mm9

More information

Lecturecise 22 Weak monadic second-order theory of one successor (WS1S)

Lecturecise 22 Weak monadic second-order theory of one successor (WS1S) Lecturecise 22 Weak monadic second-order theory of one successor (WS1S) 2013 Reachability in the Heap Many programs manipulate linked data structures (lists, trees). To express many important properties

More information

Source Coding. Master Universitario en Ingeniería de Telecomunicación. I. Santamaría Universidad de Cantabria

Source Coding. Master Universitario en Ingeniería de Telecomunicación. I. Santamaría Universidad de Cantabria Source Coding Master Universitario en Ingeniería de Telecomunicación I. Santamaría Universidad de Cantabria Contents Introduction Asymptotic Equipartition Property Optimal Codes (Huffman Coding) Universal

More information

Logic. proof and truth syntacs and semantics. Peter Antal

Logic. proof and truth syntacs and semantics. Peter Antal Logic proof and truth syntacs and semantics Peter Antal antal@mit.bme.hu 10/9/2015 1 Knowledge-based agents Wumpus world Logic in general Syntacs transformational grammars Semantics Truth, meaning, models

More information

Introduction to Theoretical Computer Science. Motivation. Automata = abstract computing devices

Introduction to Theoretical Computer Science. Motivation. Automata = abstract computing devices Introduction to Theoretical Computer Science Motivation Automata = abstract computing devices Turing studied Turing Machines (= computers) before there were any real computers We will also look at simpler

More information