Melody Characterization by a Fuzzy Rule System Pedro J. Ponce de León, David Rizo, José M. Iñesta (DLSI, Univ. Alicante) Rafael Ramírez (MTG, Univ. Pompeu.

Slides:



Advertisements
Similar presentations
Chapter 3 Properties of Random Variables
Advertisements

Data Mining Classification: Alternative Techniques
Fuzzy Inference Systems. Review Fuzzy Models If then.
Fast Algorithms For Hierarchical Range Histogram Constructions
Fuzzy Inference and Defuzzification
Final Exam: May 10 Thursday. If event E occurs, then the probability that event H will occur is p ( H | E ) IF E ( evidence ) is true THEN H ( hypothesis.
Fuzzy Logic E. Fuzzy Inference Engine. “antecedent” “consequent”
Genetic fuzzy controllers for uncertain systems Yonggon Lee and Stanislaw H. Żak Supported by National Science Foundation under grant ECS
Describing Quantitative Data with Numbers Part 2
Content Based Image Clustering and Image Retrieval Using Multiple Instance Learning Using Multiple Instance Learning Xin Chen Advisor: Chengcui Zhang Department.
Non-Linear Problems General approach. Non-linear Optimization Many objective functions, tend to be non-linear. Design problems for which the objective.
Tree structured representation of music for polyphonic music information retrieval David Rizo Departament of Software and Computing Systems University.
Fuzzy Expert System.
Data classification based on tolerant rough set reporter: yanan yean.
Fuzzy Logic E. Fuzzy Inference Engine. “antecedent” “consequent”
Learning to Align Polyphonic Music. Slide 1 Learning to Align Polyphonic Music Shai Shalev-Shwartz Hebrew University, Jerusalem Joint work with Yoram.
11 Inverted Pendulum Emily Hamilton ECE Department, University of Minnesota Duluth December 21, 2009 ECE Fall 2009.
Slides by JOHN LOUCKS St. Edward’s University.
Selecting Informative Genes with Parallel Genetic Algorithms Deodatta Bhoite Prashant Jain.
Ming-Feng Yeh General Fuzzy Systems A fuzzy system is a static nonlinear mapping between its inputs and outputs (i.e., it is not a dynamic system).
Statistics 800: Quantitative Business Analysis for Decision Making Measures of Locations and Variability.
16 November, 2005 Statistics in HEP, Manchester 1.
On the Application of Artificial Intelligence Techniques to the Quality Improvement of Industrial Processes P. Georgilakis N. Hatziargyriou Schneider ElectricNational.
ROUGH SET THEORY AND FUZZY LOGIC BASED WAREHOUSING OF HETEROGENEOUS CLINICAL DATABASES Yiwen Fan.
THE MODEL OF ASIS FOR PROCESS CONTROL APPLICATIONS P.Andreeva, T.Atanasova, J.Zaprianov Institute of Control and System Researches Topic Area: 12. Intelligent.
CHURN PREDICTION MODEL IN RETAIL BANKING USING FUZZY C- MEANS CLUSTERING Džulijana Popović Consumer Finance, Zagrebačka banka d.d. Consumer Finance, Zagrebačka.
Learning Table Extraction from Examples Ashwin Tengli, Yiming Yang and Nian Li Ma School of Computer Science Carnegie Mellon University Coling 04.
STRUCTURED PERCEPTRON Alice Lai and Shi Zhi. Presentation Outline Introduction to Structured Perceptron ILP-CRF Model Averaged Perceptron Latent Variable.
A hybrid method for gene selection in microarray datasets Yungho Leu, Chien-Pan Lee and Ai-Chen Chang National Taiwan University of Science and Technology.
Attention Deficit Hyperactivity Disorder (ADHD) Student Classification Using Genetic Algorithm and Artificial Neural Network S. Yenaeng 1, S. Saelee 2.
Chapter 3: Central Tendency. Central Tendency In general terms, central tendency is a statistical measure that determines a single value that accurately.
Slides are based on Negnevitsky, Pearson Education, Lecture 12 Hybrid intelligent systems: Evolutionary neural networks and fuzzy evolutionary systems.
Fuzzy Rules 1965 paper: “Fuzzy Sets” (Lotfi Zadeh) Apply natural language terms to a formal system of mathematical logic
Hierarchical Distributed Genetic Algorithm for Image Segmentation Hanchuan Peng, Fuhui Long*, Zheru Chi, and Wanshi Siu {fhlong, phc,
Describing Behavior Chapter 4. Data Analysis Two basic types  Descriptive Summarizes and describes the nature and properties of the data  Inferential.
1 PUAF 610 TA Session 2. 2 Today Class Review- summary statistics STATA Introduction Reminder: HW this week.
Feature Selection: Why?
1 Design GA-Fuzzy Controller for Magnetic Levitation Using FPGA Prepared by Hosam.M Abu Elreesh Advisor Dr. Basil Hamed.
Rhythmic Transcription of MIDI Signals Carmine Casciato MUMT 611 Thursday, February 10, 2005.
Fuzzy Inference (Expert) System
1 Computing in High Energy and Nuclear Physics, February 2006, Mumbai, India.
Neural-Network-Based Fuzzy Logical Control and Decision System 主講人 虞台文.
Fuzzy Systems Michael J. Watts
Fuzzy Inference Systems. Fuzzy inference (reasoning) is the actual process of mapping from a given input to an output using fuzzy logic. The process involves.
Protein motif extraction with neuro-fuzzy optimization Bill C. H. Chang and Author : Bill C. H. Chang and Saman K. Halgamuge Saman K. Halgamuge Adviser.
Chapter 4: Fuzzy Inference Systems Introduction (4.1) Mamdani Fuzzy models (4.2) Sugeno Fuzzy Models (4.3) Tsukamoto Fuzzy models (4.4) Other Considerations.
Universal fuzzy system representation with XML Authors : Chris Tseng, Wafa Khamisy, Toan Vu Source : Computer Standards & Interfaces, Volume 28, Issue.
Descriptive Statistics for one Variable. Variables and measurements A variable is a characteristic of an individual or object in which the researcher.
Virtual Examples for Text Classification with Support Vector Machines Manabu Sassano Proceedings of the 2003 Conference on Emprical Methods in Natural.
1 Hidden Markov Model: Overview and Applications in MIR MUMT 611, March 2005 Paul Kolesnik MUMT 611, March 2005 Paul Kolesnik.
Application of the GA-PSO with the Fuzzy controller to the robot soccer Department of Electrical Engineering, Southern Taiwan University, Tainan, R.O.C.
BASS TRACK SELECTION IN MIDI FILES AND MULTIMODAL IMPLICATIONS TO MELODY gPRAI Pattern Recognition and Artificial Intelligence Group Computer Music Laboratory.
Metamidi: a tool for automatic metadata extraction from MIDI files Tomás Pérez-García, Jose M. Iñesta, and David Rizo Computer Music Laboratory University.
Type-2 Fuzzy Sets and Systems. Outline Introduction Type-2 fuzzy sets. Interval type-2 fuzzy sets Type-2 fuzzy systems.
Learning to analyse tonal music Pl á cido Rom á n Illescas David Rizo Jos é Manuel I ñ esta Pattern recognition and Artificial Intelligence group University.
Melody Recognition with Learned Edit Distances Amaury Habrard Laboratoire d’Informatique Fondamentale CNRS Université Aix-Marseille José Manuel Iñesta,
Stochastic Text Models for Music Categorization Carlos Pérez-Sancho, José M. Iñesta, David Rizo Pattern Recognition and Artificial Intelligence group Department.
VIDYA PRATISHTHAN’S COLLEGE OF ENGINEERING, BARAMATI.
A shallow description framework for musical style recognition Pedro J. Ponce de León, Carlos Pérez-Sancho and José Manuel Iñesta Departamento de Lenguajes.
State.of.the.art June 2008 Pedro J. Ponce de León.
Melody track identification in music symbolic files David Rizo Pedro J. Ponce de León Antonio Pertusa Carlos Pérez-Sancho José M. Iñesta The 19th International.
Artificial Intelligence CIS 342
Fuzzy Systems Michael J. Watts
FUZZY NEURAL NETWORKS TECHNIQUES AND THEIR APPLICATIONS
Artificial Intelligence
Introduction to Fuzzy Logic
Dr. Unnikrishnan P.C. Professor, EEE
MBA 510 Lecture 2 Spring 2013 Dr. Tonya Balan 4/20/2019.
Fuzzy Inference Systems
Fuzzy Logic KH Wong Fuzzy Logic v.9a.
Presentation transcript:

Melody Characterization by a Fuzzy Rule System Pedro J. Ponce de León, David Rizo, José M. Iñesta (DLSI, Univ. Alicante) Rafael Ramírez (MTG, Univ. Pompeu Fabra, Barcelona) Spain

Introduction

What’s a melody? Melody is a somewhat elusive musical term that often refers to a central part of a music piece that catches most of the listener’s attention, and which the rest of music parts are subordinated to.

Motivation Objective of this work: To describe with readable linguistic labels what a melody is And learn it automatically from a dataset

Related previous works Some authors give descriptions of what a melody is for other given objective: Polyphonic to monophonic reduction Extraction of melody from a polyphonic audio source From a MIDI file, select a track as the melody track Ponce de León et. al. [ISMIR’07]: melody characterization by automatically induced rules AvgPitch>=65 and TrackOccupationRate>=0.51 and …. Rules induced by a Random Forest classifier Rules expressed in numerical terms difficult to read Crisp decisions: what happens if AvgPitch = 64?

Methodology

Metholodogy overview 1st. | Extract statistical descriptors 2nd. | Induce set of crisp rules set to describe the term “melody” 3rd. | Transform the numerical based rules in linguistic label based rules that avoid crisp logic By means of fuzzy logic and genetic algorithms (Genetic Fuzzy System - GFS)

1st step: track description Set of statistics on properties of note streams: CategoryDescriptors Track info Normalized duration, Number of notes, Occupation rate, Polyphony rate Pitch Highest, Lowest, Mean, Standard deviation Pitch intervals Number of distinct intervals, Largest, Smallest, Mean, Mode, Standard deviation Note durations Longest, Shortest, Mean, Standard deviation Syncopation Number of syncopated notes Class Melody, accompaniment

2nd step: crisp rule induction Ripper algorithm (Cohen, 1995): Sequential covering: generate rules one at a time until all positive examples are covered Conditions are added to a rule: to maximize an information gain measure. until it covers no negative example.

3rd step: from crisp rules to fuzzy rules Data representation (descriptors) Crisp descriptor (e.g. avgPitch)  fuzzy variable Fuzzy variable membership function parameters are optimized using a Genetic Fuzzy System Fuzzy Inference System (FIS) + Genetic Algorithm (GA) Rules Fuzzify antecedents: (x > a)  (x IS term 1 ) OR (x IS term 2 ) …

3.1 Descriptor fuzzification Transform descriptors  fuzzy variables + linguistic terms X    X  { low, average, high } Each linguistic term (low, high,…) has its own membership function (fuzzy set) for each fuzzy variable Indicates to what extent ‘x’ IS ‘term’ Fuzzy set definition Select a shape (trapezoidal, triangular, gaussian,…) Adjust shape parameters

3.1 Descriptor fuzzification Most frequently used fuzzy variables: 5 terms E.g. TrackPolyphonyRate  { none, low, average, high, all } Other: 3 terms E.g. DistincIntervals  { few, average, alot } Fuzzy set shape: trapezoidal (degenerate to triangular) Fuzzy set parameters Adjusted by a Genetic Fuzzy System

3.2 Fuzzy set parameter optimization: encoding r1r1 r2r2 r3r3 r4r4 r5r5 r6r6 rnrn xyz p0p0 Gene = {p 0,r 1,r 2,r 3,…r n } Only fuzzy set support points considered for optimization the relative values of the vertices are encoded into genes

3.2 Fuzzy set parameter optimization: encoding Fuzzy variables Chromosome

3.2 GA fitness function Chromosome Build fuzzy sets from chromosome Fitness measure: test quality of fuzzy rules system with training corpus: Two possible quality measurements: a) Number of hits: num. of tracks correctly classified by the FIS b) F-measure for class ‘IsMelody=true’

3.3 Crisp Rule fuzzification Fuzzify antecedents: keep the sets whose support holds the inequality CrispFuzzy A B CDA B CD A BCD (x < v)  (x IS C) OR (x IS B) OR (x IS A) (x > v)  (x IS C) OR (x IS D) v x

Experiments and results

Corpora Manually tagged Class: {melody | accompaniment} DatasetTracksSongsMelody tracks SMALL LARGE AJP RWC-G

Experimental setup TRAINInduce CRISP Rules with SMALL Dataset Fuzzify rules Optimize fuzzy sets with SMALL Dataset (GFS) TEST Use the fuzzy rules based on the optimized fuzzy sets Tested Corpora: LARGE, RWC-G, AJP System output = fuzzy system parameters

FIS optimization parameters Experiment parameterValues GA population size100,500,1000 GA no. of generations100,500,1000 GA mutation rationone, 0.05, 0.1 GA selection strategyBest one, Best 10%, Best 20% GA fitness metricHit count, F-measure Defuzzification threshold0.5,0.6, 0.7

Results DatasetPrecisionRecallFError rate LARGE (crisp) LARGE (fuzzy) RWC-G (crisp) RWC-G (fuzzy) AJP (crisp) AJP (fuzzy) System parameters learnt with SMALL dataset

Melody description example (I) Air In F, Watermusic, Handel (Baroque) Melody (AvgPitch IS NOT veryLow) AND (AvgAbsInterval IS NOT high) AND (AvgAbsInterval IS NOT third) AND (AvgAbsInterval IS NOT fourth) AND (TrackSyncopation IS alot) AND (TrackOccupationRate IS NOT low) AND (LowestNormalizedPitch IS NOT low) AND (DistinctIntervals IS alot) AND (TrackNormalizedDuration IS largest) Most fired rule:

Melody description example (II) There Is No Greater Love, I. Jones (pre-Bop Jazz) Melody (AvgPitch IS NOT veryLow) AND (AvgAbsInterval IS NOT high) AND (AvgAbsInterval IS NOT third) AND (AvgAbsInterval IS NOT fourth) AND (TrackSyncopation IS alot) AND (TrackOccupationRate IS NOT low) AND (LowestNormalizedPitch IS NOT low) AND (DistinctIntervals IS alot) AND (TrackNormalizedDuration IS largest) Most fired rule:

Conclusions

A melody fuzzy description system that is automatically induced from examples has been built The accuracy of this system is lower than that of the crisp rule system The readability of the rules have been improved We plan to improve the fuzzy rule system by: modifying the way it is optimized exploring different alternatives for rule fuzzification