joint bottom-up/top-down machine learning structures...and/or midi orchestration cognitive and...

18
Jonas Braasch Director of Operations, Cognitive and Immersive Systems Laboratory Professor, School of Architecture Rensselaer Polytechnic Institute, Troy, NY Joint bottom-up/top-down machine learning structures to simulate human audition and musical creativity

Upload: others

Post on 11-Mar-2020

12 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Joint bottom-up/top-down machine learning structures...and/or MIDI orchestration Cognitive and Immersive Systems Laboratory • Combination of 1. signal processing 2. statistical models

Cognitive and Immersive Systems Laboratory

Jonas Braasch

Director of Operations, Cognitive and Immersive Systems Laboratory

Professor, School of Architecture

Rensselaer Polytechnic Institute, Troy, NY

Joint bottom-up/top-down

machine learning structures to simulate human audition and musical creativity

Page 2: Joint bottom-up/top-down machine learning structures...and/or MIDI orchestration Cognitive and Immersive Systems Laboratory • Combination of 1. signal processing 2. statistical models

Cognitive and Immersive Systems Laboratory

Intuitive Thinking

Rational Thinking

Bottom upTop down

Sensation

Cognition

deductive

inductive

goal driven

process driven

Pauline Oliveros Selmer Bringsjord

CAIRATHE CREATIVE ARTIFICIALLY INTUITIVE AND REASONING AGENT

Page 3: Joint bottom-up/top-down machine learning structures...and/or MIDI orchestration Cognitive and Immersive Systems Laboratory • Combination of 1. signal processing 2. statistical models

Cognitive and Immersive Systems Laboratory

CAIRA (started 2008)THE CREATIVE ARTIFICIALLY INTUITIVE AND REASONING AGENT

Braasch, Bringsjord, Oliveros, Van Nort

Agent uses

•Auditory Scene

Analysis algorithms to

extract low-level acoustic

features

•HMM-based machine

listening tools for texture

analysis

•Genetic Algorithms for

the creation of new

material

•Logic-Based

Reasoning to make

cognitive decisions

Dummy

head

J. Braasch, S. Bringsjord

P. Oliveros, D. Van Nort

Page 4: Joint bottom-up/top-down machine learning structures...and/or MIDI orchestration Cognitive and Immersive Systems Laboratory • Combination of 1. signal processing 2. statistical models

Cognitive and Immersive Systems Laboratory

Page 5: Joint bottom-up/top-down machine learning structures...and/or MIDI orchestration Cognitive and Immersive Systems Laboratory • Combination of 1. signal processing 2. statistical models

Cognitive and Immersive Systems Laboratory

Low Level

High Level

Bottom up

Top down

Sensation

Cognition

Mid Level

Auditory Sensing

Auditory Signal Processing

HMM, EMD

Neural Networks

1st and higher order logic

Deep Neural Network

Page 6: Joint bottom-up/top-down machine learning structures...and/or MIDI orchestration Cognitive and Immersive Systems Laboratory • Combination of 1. signal processing 2. statistical models

Cognitive and Immersive Systems Laboratory

Low Level

High Level

Bottom up

Top down

Sensation

Cognition

Mid Level

Auditory Sensing

Auditory Signal Processing

HMM, EMD

Neural Networks

1st and higher order logic

Deep Neural Network

Page 7: Joint bottom-up/top-down machine learning structures...and/or MIDI orchestration Cognitive and Immersive Systems Laboratory • Combination of 1. signal processing 2. statistical models

Cognitive and Immersive Systems Laboratory

BP

filter

BP

filter

BP

filter

BP

filter

BP

filter

BP

filter

BP

filter

BP

filter

au

toco

r-

rela

tio

n

fre

qu

en

cy

Pitch

Analysis

Model

+: strong pitch cue/within band

x: strong pitch cue/outside band

o: weak pitch cue/within band

*: weak pitch cue/outside band

Duplex Pitch Perception Model

from Zigmond et al., 1999

au

toco

r-

rela

tio

n

au

toco

r-

rela

tio

n

au

toco

r-

rela

tio

n

au

toco

r-

rela

tio

n

au

toco

r-

rela

tio

n

au

toco

r-

rela

tio

n

au

toco

r-

rela

tio

n

Major chord with 1/f

tone complexes

(+880 Hz tone)

J. Braasch, D. Dahlbom

Braasch et al. Springer 2017

Page 8: Joint bottom-up/top-down machine learning structures...and/or MIDI orchestration Cognitive and Immersive Systems Laboratory • Combination of 1. signal processing 2. statistical models

Cognitive and Immersive Systems Laboratory

Binaurally Integrated Cross-correlation/Auto-correlation Mechanism (BICAM)

Bandpass

filter bank

Right Ear SignalLeft Ear Signal

Bandpass

filter bank

ACL CCLR CCRL ACR

2nd-Layer Cross-correlation

Binaural Activity Pattern

No ITD

Time

Time

Time

R

R

R

L

L

L

ITDD

Step 1: Calculate 2

Autocorrelation functions

Step 2: Calculate Cross-

Correlation function

Step 3: Cross-Correlate both

functions (window) move by kd

kd

Step 4: Replace CC function

with AC function

R

L

Rxx(m)

Ryy(m)

Rxx(m)˄

Rxy(m)˄

Rxx(m)˄

Rxy(m)˄

Rxx(m)

Ryy(m)Time

ITDR1 ITDR2kd

A) B)Architecture

Motivation

Patent:

US10068586B2

JASA 2016

Page 9: Joint bottom-up/top-down machine learning structures...and/or MIDI orchestration Cognitive and Immersive Systems Laboratory • Combination of 1. signal processing 2. statistical models

Cognitive and Immersive Systems Laboratory

BICAM Localization Resultsusing Deep Neural Networks

Task Training

Set

Validation Testing

Set

Dir Lat (only) 98.2% 98.98% 98.6%

Dir Lat (w/

refl)

94.0% 92.9% 92.4%

Time Delay 98.6% 98.4% 98.0%

Ref Lat 85.9% 85.9% 84.6%

N. Deshpande

J. Braasch

Binaural Activity Pattern Binaural Activity Map

Methods

Data Set: Reverberated Speech

BICAM output

Apple TuriCreate API

5 Lateral positions, 4 Delay conditions

Page 10: Joint bottom-up/top-down machine learning structures...and/or MIDI orchestration Cognitive and Immersive Systems Laboratory • Combination of 1. signal processing 2. statistical models

Cognitive and Immersive Systems Laboratory

Low Level

High Level

Bottom up

Top down

Sensation

Cognition

Mid Level

Auditory Sensing

Auditory Signal Processing

HMM, EMD

Neural Networks

1st and higher order logic

Deep Neural Network

Page 11: Joint bottom-up/top-down machine learning structures...and/or MIDI orchestration Cognitive and Immersive Systems Laboratory • Combination of 1. signal processing 2. statistical models

Cognitive and Immersive Systems Laboratory

Sonic Gesture Recognizer FILTER System Overview for audio including feature

extraction, recognition and mapping to GA process.

D. Van Nort, J. Braasch, P. Oliveros (2009), SMC

Sampling of State Sequences by HMM Recognizer:

all eight features are combined to form one state.

Page 12: Joint bottom-up/top-down machine learning structures...and/or MIDI orchestration Cognitive and Immersive Systems Laboratory • Combination of 1. signal processing 2. statistical models

Cognitive and Immersive Systems Laboratory

Low Level

High Level

Bottom up

Top down

Sensation

Cognition

Mid Level

Auditory Sensing

Auditory Signal Processing

HMM, EMD

Neural Networks

1st and higher order logic

Deep Neural Network

Page 13: Joint bottom-up/top-down machine learning structures...and/or MIDI orchestration Cognitive and Immersive Systems Laboratory • Combination of 1. signal processing 2. statistical models

Cognitive and Immersive Systems Laboratory

Computation of a tension arc

Task:

• Agent will determine the solo/tutti

Constellation in a Free-Music

Ensemble

•Focuses on Tension data, which

correlates strongly with Loudness

Loudness (0.906 correlation)

Loudness & Roughness

(0.915 correlation)

Musician B CAIRA

Musician A

T=L+0.5· ((1−b)·R+b·I+O))

with I the information rate, and O the onset rate. Note that all parameters, L, R, I, O,

are normalized between 0 and 1 and the exponential relationships between the

input parameters and T are also factored into these variables.

J. Braasch, S. Bringsjord

P. Oliveros, D. Van Nort

Patent: US10032443B2

Braasch et al., Springer 2017

Page 14: Joint bottom-up/top-down machine learning structures...and/or MIDI orchestration Cognitive and Immersive Systems Laboratory • Combination of 1. signal processing 2. statistical models

Cognitive and Immersive Systems Laboratory

CAIRA’s First-order Logic

The agent needs to know about

dynamic levels

We need at least two musicians

to form an ensemble

At a given time slot, we have

either a solo or an ensemble

part

If we have only one musician,

he/she must play a solo

J. Braasch, S. Bringsjord

P. Oliveros, D. Van Nort

Page 15: Joint bottom-up/top-down machine learning structures...and/or MIDI orchestration Cognitive and Immersive Systems Laboratory • Combination of 1. signal processing 2. statistical models

Cognitive and Immersive Systems Laboratory

Piano Roll:

Green: in scale notes

Red: out of scale notes

pitch

Mid-level Learning Function

Auditory Periphery and Mid-Brain

Bottom-up driven statistical learning approaches

Bayesian NetworksDeep Learning NetworksHidden Markov Models (HMM)

Acoustic SensingBinaural manikin, Nearfield microphone

Cognitive Functions Top-down logic-reasoning using rule-based internal world representation

First-order logical reasoning based on Music TheoryManual and semi-automated ontology creation

Pitch extractionOn/offset detectionTimbre analysis

Beat analysisLoudness estimationPolyphonic analysis

Model AnalysisInput Output (knowledge acquisition and creation)

Swing Bebop Cool Hardbop Fusion Avantgarde Future JazzRagtimeBlues1900 1950 20001925 1975

Understanding development of Theory and Performance Practice over time - Past Analysis Future Projection

Recording analysis from database

Analysis of theoretical works

Analysis of leadsheets and transcription – from MIDI file database

Analysis of interpretation of selected jazz standard over time

Donna Lee

Stella by Starlight

Back Home Again in Indiana

Summertime

Extension of theoretical corpus

New forms ofcompositionsand performance practice

New musicgeneration

First NN

results

MIKA Agent (RPI/IBM AIRC project) C. Bahn, J. Braasch, M. Goodheart,

M. Simoni, N. Keil, J. Stewart, J. Yang

time 12-bar blues

Page 16: Joint bottom-up/top-down machine learning structures...and/or MIDI orchestration Cognitive and Immersive Systems Laboratory • Combination of 1. signal processing 2. statistical models

Cognitive and Immersive Systems Laboratory

Environment

MonitoringM. Morgan, J. Braasch

American crow calls

Red-winged blackbird calls

airplane

siren

NN:

• Multilayer Perceptron

(MLP)

CNN:

• Convolutional Neural

Networks (CNN)

• TensorFlow

• Inception-v3

pretrained ImageNet

• 4000 training steps

Page 17: Joint bottom-up/top-down machine learning structures...and/or MIDI orchestration Cognitive and Immersive Systems Laboratory • Combination of 1. signal processing 2. statistical models

Cognitive and Immersive Systems Laboratory

J. Braasch, B. Chang, J. Goebel, R. Radke, Q. Ji

CISL project Team

Training Data Collection

Mallory Morgan, RPI

Vincent W Moriarty, IBM

Jonas Braasch, RPI

CISL and JP teams

24/7 Spatial AV/ Recordings

AV recording at Lake George

Jefferson Project

CISL infrastructure

J. Braasch

N. Keil

AIRCC project Team

Interactive User Tracking

In virtual Reality

@ CRAIVE-Lab

Synthetic Data Generation using

Synthetic Sound Fields

and/or MIDI orchestration

Page 18: Joint bottom-up/top-down machine learning structures...and/or MIDI orchestration Cognitive and Immersive Systems Laboratory • Combination of 1. signal processing 2. statistical models

Cognitive and Immersive Systems Laboratory

• Combination of

1. signal processing

2. statistical models

3. neural networks & logic

• Automatic creation of ontologies

• Automatic creation of acoustic scene databases

• Rule discovery in systems where rule violations are (i)

allowed, (ii) strategically used, and (iii) changed over time.

• Multi-modal analysis

Next Directions