SlideShare a Scribd company logo
1 of 25
Download to read offline
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

More Related Content

Recently uploaded

Evangelismo los pasos para logar la sancion
Evangelismo los pasos para logar la sancionEvangelismo los pasos para logar la sancion
Evangelismo los pasos para logar la sancionniro13
 
PARTES y Anatomía de la ESCÁPULA.descrpcion, fncinalidad
PARTES y Anatomía de la ESCÁPULA.descrpcion, fncinalidadPARTES y Anatomía de la ESCÁPULA.descrpcion, fncinalidad
PARTES y Anatomía de la ESCÁPULA.descrpcion, fncinalidadeumartinezvete
 
CLASE 2- INFECCIONES nosocomialescesalud.pptx
CLASE 2- INFECCIONES nosocomialescesalud.pptxCLASE 2- INFECCIONES nosocomialescesalud.pptx
CLASE 2- INFECCIONES nosocomialescesalud.pptxLuisaPerdomo16
 
FISIOPATOLOGIA DEL ASMA TRATAMIENTO CONCEPTOS
FISIOPATOLOGIA DEL ASMA TRATAMIENTO CONCEPTOSFISIOPATOLOGIA DEL ASMA TRATAMIENTO CONCEPTOS
FISIOPATOLOGIA DEL ASMA TRATAMIENTO CONCEPTOSMariadeJessLpezArias
 
CEREBRO Y CONDUCTA ESPECIALIDAD GM_091358.pptx
CEREBRO Y CONDUCTA ESPECIALIDAD GM_091358.pptxCEREBRO Y CONDUCTA ESPECIALIDAD GM_091358.pptx
CEREBRO Y CONDUCTA ESPECIALIDAD GM_091358.pptxfranciscofernandez106395
 
Urgencias y emergencias cardiovasculares.pptx
Urgencias y emergencias cardiovasculares.pptxUrgencias y emergencias cardiovasculares.pptx
Urgencias y emergencias cardiovasculares.pptxCarlosEncarnacin3
 
Miología del bovino veterinaria métodos rápidos
Miología del bovino veterinaria métodos rápidosMiología del bovino veterinaria métodos rápidos
Miología del bovino veterinaria métodos rápidosmarielbispurocoleo5
 
ANALISIS DIMENSIONAL Y MAGNITUDES CONCEPTO
ANALISIS DIMENSIONAL Y MAGNITUDES CONCEPTOANALISIS DIMENSIONAL Y MAGNITUDES CONCEPTO
ANALISIS DIMENSIONAL Y MAGNITUDES CONCEPTOClaudiaSantosVsquez
 
propiedades y clasificacion de los materiales metalicos
propiedades y clasificacion de los materiales metalicospropiedades y clasificacion de los materiales metalicos
propiedades y clasificacion de los materiales metalicosOmarazahiSalinasLpez
 
calculo aplicado a la fisica 3 .pdf
calculo  aplicado  a  la  fisica  3 .pdfcalculo  aplicado  a  la  fisica  3 .pdf
calculo aplicado a la fisica 3 .pdfRolandPisfilLLuenGor
 
La independencia de México único resistencia y consumación
La independencia de México único resistencia y consumaciónLa independencia de México único resistencia y consumación
La independencia de México único resistencia y consumaciónMoralesSantizBrendaL
 
INTRODUCCIÓN A LAS DISPENSACIONES abril 2024.pdf
INTRODUCCIÓN A LAS DISPENSACIONES abril 2024.pdfINTRODUCCIÓN A LAS DISPENSACIONES abril 2024.pdf
INTRODUCCIÓN A LAS DISPENSACIONES abril 2024.pdfGuillermoCamino4
 
anestesicos_locales_rafagggggggggggggggggggg terminadas.pptx
anestesicos_locales_rafagggggggggggggggggggg terminadas.pptxanestesicos_locales_rafagggggggggggggggggggg terminadas.pptx
anestesicos_locales_rafagggggggggggggggggggg terminadas.pptxMagdielaCristancho
 
Virus del dengue perú 2024 diagnostico,manejo,
Virus del dengue perú 2024 diagnostico,manejo,Virus del dengue perú 2024 diagnostico,manejo,
Virus del dengue perú 2024 diagnostico,manejo,KiaraIbaezParedes
 
CULTURA TIWANAKU Historia de Milenaria culrura
CULTURA TIWANAKU Historia de Milenaria culruraCULTURA TIWANAKU Historia de Milenaria culrura
CULTURA TIWANAKU Historia de Milenaria culruraJhanethRojas3
 
Testimonio-de-segunda-revolucion-industrial.pdf
Testimonio-de-segunda-revolucion-industrial.pdfTestimonio-de-segunda-revolucion-industrial.pdf
Testimonio-de-segunda-revolucion-industrial.pdfd71229811u
 
Hugo Ruiz - Principios de la Agricultura Sintropica.pptx
Hugo Ruiz - Principios de la Agricultura Sintropica.pptxHugo Ruiz - Principios de la Agricultura Sintropica.pptx
Hugo Ruiz - Principios de la Agricultura Sintropica.pptxhugoenriqueruizchaco1
 
Jabón de vainilla: beneficios, usos y propiedades
Jabón de vainilla: beneficios, usos y propiedadesJabón de vainilla: beneficios, usos y propiedades
Jabón de vainilla: beneficios, usos y propiedadesweb jabon
 
Aprendamos el proceso de regeneración.pptx
Aprendamos el proceso de regeneración.pptxAprendamos el proceso de regeneración.pptx
Aprendamos el proceso de regeneración.pptxJuanaMLpez
 
¿QUÉ ES UN Eclipse solar? Y TODO LO QUE DEBE DE SABER
¿QUÉ ES UN Eclipse solar? Y TODO LO QUE DEBE DE SABER¿QUÉ ES UN Eclipse solar? Y TODO LO QUE DEBE DE SABER
¿QUÉ ES UN Eclipse solar? Y TODO LO QUE DEBE DE SABERGloriaLucreciaPascac
 

Recently uploaded (20)

Evangelismo los pasos para logar la sancion
Evangelismo los pasos para logar la sancionEvangelismo los pasos para logar la sancion
Evangelismo los pasos para logar la sancion
 
PARTES y Anatomía de la ESCÁPULA.descrpcion, fncinalidad
PARTES y Anatomía de la ESCÁPULA.descrpcion, fncinalidadPARTES y Anatomía de la ESCÁPULA.descrpcion, fncinalidad
PARTES y Anatomía de la ESCÁPULA.descrpcion, fncinalidad
 
CLASE 2- INFECCIONES nosocomialescesalud.pptx
CLASE 2- INFECCIONES nosocomialescesalud.pptxCLASE 2- INFECCIONES nosocomialescesalud.pptx
CLASE 2- INFECCIONES nosocomialescesalud.pptx
 
FISIOPATOLOGIA DEL ASMA TRATAMIENTO CONCEPTOS
FISIOPATOLOGIA DEL ASMA TRATAMIENTO CONCEPTOSFISIOPATOLOGIA DEL ASMA TRATAMIENTO CONCEPTOS
FISIOPATOLOGIA DEL ASMA TRATAMIENTO CONCEPTOS
 
CEREBRO Y CONDUCTA ESPECIALIDAD GM_091358.pptx
CEREBRO Y CONDUCTA ESPECIALIDAD GM_091358.pptxCEREBRO Y CONDUCTA ESPECIALIDAD GM_091358.pptx
CEREBRO Y CONDUCTA ESPECIALIDAD GM_091358.pptx
 
Urgencias y emergencias cardiovasculares.pptx
Urgencias y emergencias cardiovasculares.pptxUrgencias y emergencias cardiovasculares.pptx
Urgencias y emergencias cardiovasculares.pptx
 
Miología del bovino veterinaria métodos rápidos
Miología del bovino veterinaria métodos rápidosMiología del bovino veterinaria métodos rápidos
Miología del bovino veterinaria métodos rápidos
 
ANALISIS DIMENSIONAL Y MAGNITUDES CONCEPTO
ANALISIS DIMENSIONAL Y MAGNITUDES CONCEPTOANALISIS DIMENSIONAL Y MAGNITUDES CONCEPTO
ANALISIS DIMENSIONAL Y MAGNITUDES CONCEPTO
 
propiedades y clasificacion de los materiales metalicos
propiedades y clasificacion de los materiales metalicospropiedades y clasificacion de los materiales metalicos
propiedades y clasificacion de los materiales metalicos
 
calculo aplicado a la fisica 3 .pdf
calculo  aplicado  a  la  fisica  3 .pdfcalculo  aplicado  a  la  fisica  3 .pdf
calculo aplicado a la fisica 3 .pdf
 
La independencia de México único resistencia y consumación
La independencia de México único resistencia y consumaciónLa independencia de México único resistencia y consumación
La independencia de México único resistencia y consumación
 
INTRODUCCIÓN A LAS DISPENSACIONES abril 2024.pdf
INTRODUCCIÓN A LAS DISPENSACIONES abril 2024.pdfINTRODUCCIÓN A LAS DISPENSACIONES abril 2024.pdf
INTRODUCCIÓN A LAS DISPENSACIONES abril 2024.pdf
 
anestesicos_locales_rafagggggggggggggggggggg terminadas.pptx
anestesicos_locales_rafagggggggggggggggggggg terminadas.pptxanestesicos_locales_rafagggggggggggggggggggg terminadas.pptx
anestesicos_locales_rafagggggggggggggggggggg terminadas.pptx
 
Virus del dengue perú 2024 diagnostico,manejo,
Virus del dengue perú 2024 diagnostico,manejo,Virus del dengue perú 2024 diagnostico,manejo,
Virus del dengue perú 2024 diagnostico,manejo,
 
CULTURA TIWANAKU Historia de Milenaria culrura
CULTURA TIWANAKU Historia de Milenaria culruraCULTURA TIWANAKU Historia de Milenaria culrura
CULTURA TIWANAKU Historia de Milenaria culrura
 
Testimonio-de-segunda-revolucion-industrial.pdf
Testimonio-de-segunda-revolucion-industrial.pdfTestimonio-de-segunda-revolucion-industrial.pdf
Testimonio-de-segunda-revolucion-industrial.pdf
 
Hugo Ruiz - Principios de la Agricultura Sintropica.pptx
Hugo Ruiz - Principios de la Agricultura Sintropica.pptxHugo Ruiz - Principios de la Agricultura Sintropica.pptx
Hugo Ruiz - Principios de la Agricultura Sintropica.pptx
 
Jabón de vainilla: beneficios, usos y propiedades
Jabón de vainilla: beneficios, usos y propiedadesJabón de vainilla: beneficios, usos y propiedades
Jabón de vainilla: beneficios, usos y propiedades
 
Aprendamos el proceso de regeneración.pptx
Aprendamos el proceso de regeneración.pptxAprendamos el proceso de regeneración.pptx
Aprendamos el proceso de regeneración.pptx
 
¿QUÉ ES UN Eclipse solar? Y TODO LO QUE DEBE DE SABER
¿QUÉ ES UN Eclipse solar? Y TODO LO QUE DEBE DE SABER¿QUÉ ES UN Eclipse solar? Y TODO LO QUE DEBE DE SABER
¿QUÉ ES UN Eclipse solar? Y TODO LO QUE DEBE DE SABER
 

Featured

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
 

Featured (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