SlideShare una empresa de Scribd logo
1 de 25
Descargar para leer sin conexión
ARTIFICIAL CREATIVITY:
Generación musical con redes neuronales en
Magenta
1
About Me
Gonzalo Estrán Buyo, student and AI researcher at UPM
@sigmoider
➔ CS + Math student at Universidad
Politécnica de Madrid.
➔ Deep Learning and Computational
Linguistics research.
➔ I studied piano at the Professional
Conservatory for ten years.
➔ Experience in music composition
and free play.
2
gonesbuyo
turingnianos.
github.io
Índice
1
2
3
4
Música
Tecnología
Enfoques
Magenta
3
“Si un árbol cae en un bosque y nadie
está cerca para oírlo, ¿hace algún
sonido?”
George Berkeley
4
Música
“La música es sonido organizado”
Varèse
1
5
Conceptos básicos
● Tono: sonido musical diferenciado, se escribe como una nota.
Las notas se agrupan en compases.
● Ritmo: duración de una serie de notas. El tempo es el global.
● Timbre: la diferencia entre un instrumento y otros cuando
tocan la misma nota. Es como un “color tonal”.
6
Conceptos básicos
● Tonalidad: orden de importancia entre los tonos de una pieza.
● Melodía: tema principal de la pieza, lo que siempre se pega.
● Armonía: fondo musical en el que se apoya la melodía.
Do
M
Re
M
Do
m
7
Tecnología
“You can't really imagine music without technology”
Brian Eno
2
8
Música y Tecnología
● Los instrumentos musicales son tecnología: medios, no fines
● La base del arte es la creatividad
● La creatividad no se basa en el azar:
CONOCIMIENTO + INTENCIÓN + INTUICIÓN
Información Contexto
Predicción y
Experiencia
9
Enfoques
“You don't understand anything until you learn
it more than one way.”
Marvin Minsky
3
10
Sistemas de generación
Sistemas basados en
reglas
Sistemas estocásticos
Sistemas de aprendizaje
automático
11
1
2
3
Aplicando condiciones a diferentes aspectos
(ritmo, tono, duración, intensidad).
Tratando las transiciones mediante estados con
una probabilidad y cierta aleatoriedad.
Haciendo uso de algoritmos que aprenden en
base a una información para realizar inferencias.
Los inicios: Hiller
12
Lejaren Hiller
Illiac Suite (1957)
Sistemas basados en reglas
Cadenas de Markov
(sistemas estocásticos)
Los inicios: Xenakis
13
Iannis Xenakis
Formalized Music (1963)
Metastasis (1955)
Sistemas estocásticos
Analogique A (1958)
Cadenas de Markov
David Cope: EMI
14
David Cope
EMI: Experiments in Musical
Intelligence (1963)
Redes de Transición
(Sistema basado en reglas)
Gramáticas generativas
15
Noam Chomsky
Aspects of the Theory of
Syntax (1965):
Gramáticas Generativas
(Sistema mediante reglas)
A Generative Theory of Tonal Music
(1983)
Fred Lerdahl
Ray Jackendoff
Algoritmos genéticos y autómatas celulares
Andrew Horner
Genetic Algorithms and
Computer-Assisted Music
Composition (1991)
David E. Goldberg
Algoritmos Genéticos
(Aprendizaje automático)
Peter Beyls
The Musical Universe of
Cellular Automata (1989)
Autómatas Celulares
(Sistema basado en reglas)
16
Redes Neuronales
Peter Todd
Music and Connectionism (1991),
Todd et al.
Primeros usos de RNNs
Douglas Eck
A First Look at Music Composition using LSTM
Recurrent Neural Networks (2002)
Primera aplicación de LSTM a música.
Jürgen Schmidhuber
17
Estado del arte
18
CNNs (convolucionales: filtros sobre conjuntos)RNNs (recurrentes, sólo con corto plazo)
LSTMs (RNNs con largo y corto plazo) seq2seq (autoencoder: traduce secuencias)
Magenta
“In science, one learns the most by studying what
seems to be the least.”
Marvin Minsky
4
19
¿Qué es Magenta?
20
Google Brain
Team
TensorFlow GitHub
Dimensiones
OBJETIVO
REPRESENTACIÓN
ARQUITECTURA
21
1
2
3
Tipo de contenido musical (melodía, polifonía,
acompañamiento, melodía con acordes, ...).
Naturaleza de los datos que emplea el modelo
(señal, señal transformada, piano roll, MIDI, texto, …)
Modelo neuronal empleado
(DNN, CNN, RNN, LSTM, VAE, seq2seq, GAN, …)
ESTRATEGIA4
Modo de emplear el modelo para la generación (directa,
reforzada, condicionada, muestreo, adversaria, ...)
Modelos (I)
NOMBRE OBJETIVO REPRESENTACIÓN ARQUITECTURA ESTRATEGIA
Melody RNN Basic Melodía MIDI LSTM Directa
Melody RNN Lookback Melodía MIDI LSTM + Lookback Condicionada
Melody RNN Attention Melodía MIDI LSTM + Attention Directa
Improv RNN Basic Melodía MusicXML
LSTM + Chord
Embedding
Condicionada
Improv RNN Attention Melodía MusicXML
LSTM + Attention +
Chord Embedding
Condicionada
Improv RNN Chord
Pitches
Melodía MusicXML
LSTM + 3 Chord
Embeddings
Condicionada
22
Modelos (II)
NOMBRE OBJETIVO REPRESENTACIÓN ARQUITECTURA ESTRATEGIA
Polyphony RNN Polifonía MIDI / MusicXML LSTM Directa
RL Tuner Melodía MIDI LSTM + DQN Reforzada
NSynth Síntesis Señal
WaveNet
autoencoder
Generativa
MusicVAE Melodía MIDI VAE (LSTMs) Muestreo
Coconet Polifonía MIDI → Piano roll CNN + Gibbs Muestreo
Pianoroll RNN-NADE Polifonía MIDI → Piano roll LSTM + NADE Muestreo
23
24
Demo time
¡Muchas gracias!
25
@sigmoider
gonesbuyo
turingnianos.
github.io

Más contenido relacionado

Último

Matemáticas Aplicadas usando Python
Matemáticas Aplicadas   usando    PythonMatemáticas Aplicadas   usando    Python
Matemáticas Aplicadas usando PythonErnesto Crespo
 
PARES CRANEALES. ORIGEN REAL Y APARENTE, TRAYECTO E INERVACIÓN. CLASIFICACIÓN...
PARES CRANEALES. ORIGEN REAL Y APARENTE, TRAYECTO E INERVACIÓN. CLASIFICACIÓN...PARES CRANEALES. ORIGEN REAL Y APARENTE, TRAYECTO E INERVACIÓN. CLASIFICACIÓN...
PARES CRANEALES. ORIGEN REAL Y APARENTE, TRAYECTO E INERVACIÓN. CLASIFICACIÓN...ocanajuanpablo0
 
TEMA: ULTRASONOGRAFIA EN NUTRICION
TEMA:         ULTRASONOGRAFIA EN NUTRICIONTEMA:         ULTRASONOGRAFIA EN NUTRICION
TEMA: ULTRASONOGRAFIA EN NUTRICIONClaudiaIsabel36
 
Holland, Tom - Milenio. El fin del mundo y el origen del cristianismo [2010].pdf
Holland, Tom - Milenio. El fin del mundo y el origen del cristianismo [2010].pdfHolland, Tom - Milenio. El fin del mundo y el origen del cristianismo [2010].pdf
Holland, Tom - Milenio. El fin del mundo y el origen del cristianismo [2010].pdffrank0071
 
el amor en los tiempos del colera (resumen).pptx
el amor en los tiempos del colera (resumen).pptxel amor en los tiempos del colera (resumen).pptx
el amor en los tiempos del colera (resumen).pptxhectoralvarado79
 
SEGUNDAS VANGUARDIAS ARTÍSTICAS DEL SIGLO XX.pdf
SEGUNDAS VANGUARDIAS ARTÍSTICAS DEL SIGLO XX.pdfSEGUNDAS VANGUARDIAS ARTÍSTICAS DEL SIGLO XX.pdf
SEGUNDAS VANGUARDIAS ARTÍSTICAS DEL SIGLO XX.pdfPC0121
 
Codigo rojo manejo y tratamient 2022.pptx
Codigo rojo manejo y tratamient 2022.pptxCodigo rojo manejo y tratamient 2022.pptx
Codigo rojo manejo y tratamient 2022.pptxSergioSanto4
 
Características emociones y sentimientos
Características emociones y sentimientosCaracterísticas emociones y sentimientos
Características emociones y sentimientosFiorelaMondragon
 
Diálisis peritoneal en los pacientes delicados de salud
Diálisis peritoneal en los pacientes delicados de saludDiálisis peritoneal en los pacientes delicados de salud
Diálisis peritoneal en los pacientes delicados de saludFernandoACamachoCher
 
Informe Aemet Tornados Sabado Santo Marchena Paradas
Informe Aemet Tornados Sabado Santo Marchena ParadasInforme Aemet Tornados Sabado Santo Marchena Paradas
Informe Aemet Tornados Sabado Santo Marchena ParadasRevista Saber Mas
 
AA.VV. - Reinvención de la metrópoli: 1920-1940 [2024].pdf
AA.VV. - Reinvención de la metrópoli: 1920-1940 [2024].pdfAA.VV. - Reinvención de la metrópoli: 1920-1940 [2024].pdf
AA.VV. - Reinvención de la metrópoli: 1920-1940 [2024].pdffrank0071
 
Ensayo ENRICH (sesión clínica, Servicio de Neurología HUCA)
Ensayo ENRICH (sesión clínica, Servicio de Neurología HUCA)Ensayo ENRICH (sesión clínica, Servicio de Neurología HUCA)
Ensayo ENRICH (sesión clínica, Servicio de Neurología HUCA)s.calleja
 
Woods, Thomas E. - Cómo la Iglesia construyó la Civilización Occidental [ocr]...
Woods, Thomas E. - Cómo la Iglesia construyó la Civilización Occidental [ocr]...Woods, Thomas E. - Cómo la Iglesia construyó la Civilización Occidental [ocr]...
Woods, Thomas E. - Cómo la Iglesia construyó la Civilización Occidental [ocr]...frank0071
 
Mata, S. - Kriegsmarine. La flota de Hitler [2017].pdf
Mata, S. - Kriegsmarine. La flota de Hitler [2017].pdfMata, S. - Kriegsmarine. La flota de Hitler [2017].pdf
Mata, S. - Kriegsmarine. La flota de Hitler [2017].pdffrank0071
 
Plokhi, Serhii. - El último imperio. Los días finales de la Unión Soviética [...
Plokhi, Serhii. - El último imperio. Los días finales de la Unión Soviética [...Plokhi, Serhii. - El último imperio. Los días finales de la Unión Soviética [...
Plokhi, Serhii. - El último imperio. Los días finales de la Unión Soviética [...frank0071
 
Tema 1. Generalidades de Microbiologia Universidad de Oriente
Tema 1. Generalidades de Microbiologia Universidad de OrienteTema 1. Generalidades de Microbiologia Universidad de Oriente
Tema 1. Generalidades de Microbiologia Universidad de OrienteUnaLuzParaLasNacione
 
inspeccion del pescado.pdfMedicinaveteri
inspeccion del pescado.pdfMedicinaveteriinspeccion del pescado.pdfMedicinaveteri
inspeccion del pescado.pdfMedicinaveteriManrriquezLujanYasbe
 
Harvey, David. - Paris capital de la modernidad [2008].pdf
Harvey, David. - Paris capital de la modernidad [2008].pdfHarvey, David. - Paris capital de la modernidad [2008].pdf
Harvey, David. - Paris capital de la modernidad [2008].pdffrank0071
 
5.2 DERIVADAS PARCIALES (64RG45G45G45G).pptx
5.2 DERIVADAS PARCIALES (64RG45G45G45G).pptx5.2 DERIVADAS PARCIALES (64RG45G45G45G).pptx
5.2 DERIVADAS PARCIALES (64RG45G45G45G).pptxllacza2004
 
Perfiles NEUROPSI Atención y Memoria 6 a 85 Años (AyM).pdf
Perfiles NEUROPSI Atención y Memoria 6 a 85 Años (AyM).pdfPerfiles NEUROPSI Atención y Memoria 6 a 85 Años (AyM).pdf
Perfiles NEUROPSI Atención y Memoria 6 a 85 Años (AyM).pdfPieroalex1
 

Último (20)

Matemáticas Aplicadas usando Python
Matemáticas Aplicadas   usando    PythonMatemáticas Aplicadas   usando    Python
Matemáticas Aplicadas usando Python
 
PARES CRANEALES. ORIGEN REAL Y APARENTE, TRAYECTO E INERVACIÓN. CLASIFICACIÓN...
PARES CRANEALES. ORIGEN REAL Y APARENTE, TRAYECTO E INERVACIÓN. CLASIFICACIÓN...PARES CRANEALES. ORIGEN REAL Y APARENTE, TRAYECTO E INERVACIÓN. CLASIFICACIÓN...
PARES CRANEALES. ORIGEN REAL Y APARENTE, TRAYECTO E INERVACIÓN. CLASIFICACIÓN...
 
TEMA: ULTRASONOGRAFIA EN NUTRICION
TEMA:         ULTRASONOGRAFIA EN NUTRICIONTEMA:         ULTRASONOGRAFIA EN NUTRICION
TEMA: ULTRASONOGRAFIA EN NUTRICION
 
Holland, Tom - Milenio. El fin del mundo y el origen del cristianismo [2010].pdf
Holland, Tom - Milenio. El fin del mundo y el origen del cristianismo [2010].pdfHolland, Tom - Milenio. El fin del mundo y el origen del cristianismo [2010].pdf
Holland, Tom - Milenio. El fin del mundo y el origen del cristianismo [2010].pdf
 
el amor en los tiempos del colera (resumen).pptx
el amor en los tiempos del colera (resumen).pptxel amor en los tiempos del colera (resumen).pptx
el amor en los tiempos del colera (resumen).pptx
 
SEGUNDAS VANGUARDIAS ARTÍSTICAS DEL SIGLO XX.pdf
SEGUNDAS VANGUARDIAS ARTÍSTICAS DEL SIGLO XX.pdfSEGUNDAS VANGUARDIAS ARTÍSTICAS DEL SIGLO XX.pdf
SEGUNDAS VANGUARDIAS ARTÍSTICAS DEL SIGLO XX.pdf
 
Codigo rojo manejo y tratamient 2022.pptx
Codigo rojo manejo y tratamient 2022.pptxCodigo rojo manejo y tratamient 2022.pptx
Codigo rojo manejo y tratamient 2022.pptx
 
Características emociones y sentimientos
Características emociones y sentimientosCaracterísticas emociones y sentimientos
Características emociones y sentimientos
 
Diálisis peritoneal en los pacientes delicados de salud
Diálisis peritoneal en los pacientes delicados de saludDiálisis peritoneal en los pacientes delicados de salud
Diálisis peritoneal en los pacientes delicados de salud
 
Informe Aemet Tornados Sabado Santo Marchena Paradas
Informe Aemet Tornados Sabado Santo Marchena ParadasInforme Aemet Tornados Sabado Santo Marchena Paradas
Informe Aemet Tornados Sabado Santo Marchena Paradas
 
AA.VV. - Reinvención de la metrópoli: 1920-1940 [2024].pdf
AA.VV. - Reinvención de la metrópoli: 1920-1940 [2024].pdfAA.VV. - Reinvención de la metrópoli: 1920-1940 [2024].pdf
AA.VV. - Reinvención de la metrópoli: 1920-1940 [2024].pdf
 
Ensayo ENRICH (sesión clínica, Servicio de Neurología HUCA)
Ensayo ENRICH (sesión clínica, Servicio de Neurología HUCA)Ensayo ENRICH (sesión clínica, Servicio de Neurología HUCA)
Ensayo ENRICH (sesión clínica, Servicio de Neurología HUCA)
 
Woods, Thomas E. - Cómo la Iglesia construyó la Civilización Occidental [ocr]...
Woods, Thomas E. - Cómo la Iglesia construyó la Civilización Occidental [ocr]...Woods, Thomas E. - Cómo la Iglesia construyó la Civilización Occidental [ocr]...
Woods, Thomas E. - Cómo la Iglesia construyó la Civilización Occidental [ocr]...
 
Mata, S. - Kriegsmarine. La flota de Hitler [2017].pdf
Mata, S. - Kriegsmarine. La flota de Hitler [2017].pdfMata, S. - Kriegsmarine. La flota de Hitler [2017].pdf
Mata, S. - Kriegsmarine. La flota de Hitler [2017].pdf
 
Plokhi, Serhii. - El último imperio. Los días finales de la Unión Soviética [...
Plokhi, Serhii. - El último imperio. Los días finales de la Unión Soviética [...Plokhi, Serhii. - El último imperio. Los días finales de la Unión Soviética [...
Plokhi, Serhii. - El último imperio. Los días finales de la Unión Soviética [...
 
Tema 1. Generalidades de Microbiologia Universidad de Oriente
Tema 1. Generalidades de Microbiologia Universidad de OrienteTema 1. Generalidades de Microbiologia Universidad de Oriente
Tema 1. Generalidades de Microbiologia Universidad de Oriente
 
inspeccion del pescado.pdfMedicinaveteri
inspeccion del pescado.pdfMedicinaveteriinspeccion del pescado.pdfMedicinaveteri
inspeccion del pescado.pdfMedicinaveteri
 
Harvey, David. - Paris capital de la modernidad [2008].pdf
Harvey, David. - Paris capital de la modernidad [2008].pdfHarvey, David. - Paris capital de la modernidad [2008].pdf
Harvey, David. - Paris capital de la modernidad [2008].pdf
 
5.2 DERIVADAS PARCIALES (64RG45G45G45G).pptx
5.2 DERIVADAS PARCIALES (64RG45G45G45G).pptx5.2 DERIVADAS PARCIALES (64RG45G45G45G).pptx
5.2 DERIVADAS PARCIALES (64RG45G45G45G).pptx
 
Perfiles NEUROPSI Atención y Memoria 6 a 85 Años (AyM).pdf
Perfiles NEUROPSI Atención y Memoria 6 a 85 Años (AyM).pdfPerfiles NEUROPSI Atención y Memoria 6 a 85 Años (AyM).pdf
Perfiles NEUROPSI Atención y Memoria 6 a 85 Años (AyM).pdf
 

Destacado

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Destacado (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Artificial creativity

  • 1. ARTIFICIAL CREATIVITY: Generación musical con redes neuronales en Magenta 1
  • 2. About Me Gonzalo Estrán Buyo, student and AI researcher at UPM @sigmoider ➔ CS + Math student at Universidad Politécnica de Madrid. ➔ Deep Learning and Computational Linguistics research. ➔ I studied piano at the Professional Conservatory for ten years. ➔ Experience in music composition and free play. 2 gonesbuyo turingnianos. github.io
  • 4. “Si un árbol cae en un bosque y nadie está cerca para oírlo, ¿hace algún sonido?” George Berkeley 4
  • 5. Música “La música es sonido organizado” Varèse 1 5
  • 6. Conceptos básicos ● Tono: sonido musical diferenciado, se escribe como una nota. Las notas se agrupan en compases. ● Ritmo: duración de una serie de notas. El tempo es el global. ● Timbre: la diferencia entre un instrumento y otros cuando tocan la misma nota. Es como un “color tonal”. 6
  • 7. Conceptos básicos ● Tonalidad: orden de importancia entre los tonos de una pieza. ● Melodía: tema principal de la pieza, lo que siempre se pega. ● Armonía: fondo musical en el que se apoya la melodía. Do M Re M Do m 7
  • 8. Tecnología “You can't really imagine music without technology” Brian Eno 2 8
  • 9. Música y Tecnología ● Los instrumentos musicales son tecnología: medios, no fines ● La base del arte es la creatividad ● La creatividad no se basa en el azar: CONOCIMIENTO + INTENCIÓN + INTUICIÓN Información Contexto Predicción y Experiencia 9
  • 10. Enfoques “You don't understand anything until you learn it more than one way.” Marvin Minsky 3 10
  • 11. Sistemas de generación Sistemas basados en reglas Sistemas estocásticos Sistemas de aprendizaje automático 11 1 2 3 Aplicando condiciones a diferentes aspectos (ritmo, tono, duración, intensidad). Tratando las transiciones mediante estados con una probabilidad y cierta aleatoriedad. Haciendo uso de algoritmos que aprenden en base a una información para realizar inferencias.
  • 12. Los inicios: Hiller 12 Lejaren Hiller Illiac Suite (1957) Sistemas basados en reglas Cadenas de Markov (sistemas estocásticos)
  • 13. Los inicios: Xenakis 13 Iannis Xenakis Formalized Music (1963) Metastasis (1955) Sistemas estocásticos Analogique A (1958) Cadenas de Markov
  • 14. David Cope: EMI 14 David Cope EMI: Experiments in Musical Intelligence (1963) Redes de Transición (Sistema basado en reglas)
  • 15. Gramáticas generativas 15 Noam Chomsky Aspects of the Theory of Syntax (1965): Gramáticas Generativas (Sistema mediante reglas) A Generative Theory of Tonal Music (1983) Fred Lerdahl Ray Jackendoff
  • 16. Algoritmos genéticos y autómatas celulares Andrew Horner Genetic Algorithms and Computer-Assisted Music Composition (1991) David E. Goldberg Algoritmos Genéticos (Aprendizaje automático) Peter Beyls The Musical Universe of Cellular Automata (1989) Autómatas Celulares (Sistema basado en reglas) 16
  • 17. Redes Neuronales Peter Todd Music and Connectionism (1991), Todd et al. Primeros usos de RNNs Douglas Eck A First Look at Music Composition using LSTM Recurrent Neural Networks (2002) Primera aplicación de LSTM a música. Jürgen Schmidhuber 17
  • 18. Estado del arte 18 CNNs (convolucionales: filtros sobre conjuntos)RNNs (recurrentes, sólo con corto plazo) LSTMs (RNNs con largo y corto plazo) seq2seq (autoencoder: traduce secuencias)
  • 19. Magenta “In science, one learns the most by studying what seems to be the least.” Marvin Minsky 4 19
  • 20. ¿Qué es Magenta? 20 Google Brain Team TensorFlow GitHub
  • 21. Dimensiones OBJETIVO REPRESENTACIÓN ARQUITECTURA 21 1 2 3 Tipo de contenido musical (melodía, polifonía, acompañamiento, melodía con acordes, ...). Naturaleza de los datos que emplea el modelo (señal, señal transformada, piano roll, MIDI, texto, …) Modelo neuronal empleado (DNN, CNN, RNN, LSTM, VAE, seq2seq, GAN, …) ESTRATEGIA4 Modo de emplear el modelo para la generación (directa, reforzada, condicionada, muestreo, adversaria, ...)
  • 22. Modelos (I) NOMBRE OBJETIVO REPRESENTACIÓN ARQUITECTURA ESTRATEGIA Melody RNN Basic Melodía MIDI LSTM Directa Melody RNN Lookback Melodía MIDI LSTM + Lookback Condicionada Melody RNN Attention Melodía MIDI LSTM + Attention Directa Improv RNN Basic Melodía MusicXML LSTM + Chord Embedding Condicionada Improv RNN Attention Melodía MusicXML LSTM + Attention + Chord Embedding Condicionada Improv RNN Chord Pitches Melodía MusicXML LSTM + 3 Chord Embeddings Condicionada 22
  • 23. Modelos (II) NOMBRE OBJETIVO REPRESENTACIÓN ARQUITECTURA ESTRATEGIA Polyphony RNN Polifonía MIDI / MusicXML LSTM Directa RL Tuner Melodía MIDI LSTM + DQN Reforzada NSynth Síntesis Señal WaveNet autoencoder Generativa MusicVAE Melodía MIDI VAE (LSTMs) Muestreo Coconet Polifonía MIDI → Piano roll CNN + Gibbs Muestreo Pianoroll RNN-NADE Polifonía MIDI → Piano roll LSTM + NADE Muestreo 23