SlideShare una empresa de Scribd logo
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

Fornis, C. - El mito de Esparta [2019].pdf
Fornis, C. - El mito de Esparta [2019].pdfFornis, C. - El mito de Esparta [2019].pdf
Fornis, C. - El mito de Esparta [2019].pdf
frank0071
 
explorando los sistemas mixtos o de transicion
explorando los sistemas mixtos o de transicionexplorando los sistemas mixtos o de transicion
explorando los sistemas mixtos o de transicion
eyusxqmcgrlzirabeh
 
CEFALEAS CLASIFICACIÓN, TRATAMIENTO Y PREVENCION
CEFALEAS CLASIFICACIÓN, TRATAMIENTO Y PREVENCIONCEFALEAS CLASIFICACIÓN, TRATAMIENTO Y PREVENCION
CEFALEAS CLASIFICACIÓN, TRATAMIENTO Y PREVENCION
do4alexwell
 
5 RECETA MEDICA. TIPOS DE RECETAS FARMACIA
5  RECETA MEDICA. TIPOS DE RECETAS FARMACIA5  RECETA MEDICA. TIPOS DE RECETAS FARMACIA
5 RECETA MEDICA. TIPOS DE RECETAS FARMACIA
solizines27
 
Algebra trigonometria y geometri analitica 3ra Edicio Dennis G. Zill.pdf
Algebra trigonometria y geometri analitica 3ra Edicio Dennis G. Zill.pdfAlgebra trigonometria y geometri analitica 3ra Edicio Dennis G. Zill.pdf
Algebra trigonometria y geometri analitica 3ra Edicio Dennis G. Zill.pdf
alejandro esteban concha leiva
 
Embarazo postermino - UptDate actualizado
Embarazo postermino - UptDate actualizadoEmbarazo postermino - UptDate actualizado
Embarazo postermino - UptDate actualizado
ANtony MV
 
Nodulo tiroideo presentacion de power point
Nodulo tiroideo presentacion de power pointNodulo tiroideo presentacion de power point
Nodulo tiroideo presentacion de power point
iansam1319
 
Ejercicios formulación 3ºESO nomenclatura y formulación compuestos binarios
Ejercicios formulación 3ºESO nomenclatura y formulación compuestos binariosEjercicios formulación 3ºESO nomenclatura y formulación compuestos binarios
Ejercicios formulación 3ºESO nomenclatura y formulación compuestos binarios
penfistiella
 
Sistemas-de-Produccion-Porcina dispositi
Sistemas-de-Produccion-Porcina dispositiSistemas-de-Produccion-Porcina dispositi
Sistemas-de-Produccion-Porcina dispositi
dubaicams1
 
Tipos-de-Fracciones-Algebraicas1234.pptx
Tipos-de-Fracciones-Algebraicas1234.pptxTipos-de-Fracciones-Algebraicas1234.pptx
Tipos-de-Fracciones-Algebraicas1234.pptx
JonathanMorales422812
 
Pinker, Steven. - La tabla rasa. La negacion moderna de la naturaleza humana ...
Pinker, Steven. - La tabla rasa. La negacion moderna de la naturaleza humana ...Pinker, Steven. - La tabla rasa. La negacion moderna de la naturaleza humana ...
Pinker, Steven. - La tabla rasa. La negacion moderna de la naturaleza humana ...
frank0071
 
Hayek, Friedrich A. - Camino de servidumbre [ocr] [2000].pdf
Hayek, Friedrich A. - Camino de servidumbre [ocr] [2000].pdfHayek, Friedrich A. - Camino de servidumbre [ocr] [2000].pdf
Hayek, Friedrich A. - Camino de servidumbre [ocr] [2000].pdf
frank0071
 
CAMBIOS INSTITUCIONALES Y NORMATIVOS. CIENCIAS SOCIALES
CAMBIOS INSTITUCIONALES Y NORMATIVOS. CIENCIAS SOCIALESCAMBIOS INSTITUCIONALES Y NORMATIVOS. CIENCIAS SOCIALES
CAMBIOS INSTITUCIONALES Y NORMATIVOS. CIENCIAS SOCIALES
dianamichelleolivier
 
VIRUS COXSACKIE, CASOS CLÍNICOS, ANÁLISIS, MORFOLOGÍA ENTRE OTROS
VIRUS COXSACKIE, CASOS CLÍNICOS, ANÁLISIS, MORFOLOGÍA ENTRE OTROSVIRUS COXSACKIE, CASOS CLÍNICOS, ANÁLISIS, MORFOLOGÍA ENTRE OTROS
VIRUS COXSACKIE, CASOS CLÍNICOS, ANÁLISIS, MORFOLOGÍA ENTRE OTROS
alexacruz1502
 
8VO - ESTUDIOS SOCIALES - 1ER - TRIMESTRE.docx
8VO - ESTUDIOS SOCIALES - 1ER - TRIMESTRE.docx8VO - ESTUDIOS SOCIALES - 1ER - TRIMESTRE.docx
8VO - ESTUDIOS SOCIALES - 1ER - TRIMESTRE.docx
YULI557869
 
01 CBT - CONCEPTOS BASICOS CORREAS TRANSPORTADORAS ver1.pptx
01 CBT - CONCEPTOS BASICOS CORREAS TRANSPORTADORAS ver1.pptx01 CBT - CONCEPTOS BASICOS CORREAS TRANSPORTADORAS ver1.pptx
01 CBT - CONCEPTOS BASICOS CORREAS TRANSPORTADORAS ver1.pptx
JohnMedina81
 
Neflogia un recuento anatomico, fisiologico y embriologico
Neflogia un recuento anatomico, fisiologico y embriologicoNeflogia un recuento anatomico, fisiologico y embriologico
Neflogia un recuento anatomico, fisiologico y embriologico
GladysGuevara6
 
Presentación Proyecto de biología Ciencia Ilustrativo Verde Rosa_20240529_053...
Presentación Proyecto de biología Ciencia Ilustrativo Verde Rosa_20240529_053...Presentación Proyecto de biología Ciencia Ilustrativo Verde Rosa_20240529_053...
Presentación Proyecto de biología Ciencia Ilustrativo Verde Rosa_20240529_053...
HANYACANO1
 
Historia Electromagnetismo .... Física M
Historia Electromagnetismo .... Física MHistoria Electromagnetismo .... Física M
Historia Electromagnetismo .... Física M
RichardVasquez80
 
Presentación Diapositivas Historia Scrapbook Marrón y Beige_20240519_193233_0...
Presentación Diapositivas Historia Scrapbook Marrón y Beige_20240519_193233_0...Presentación Diapositivas Historia Scrapbook Marrón y Beige_20240519_193233_0...
Presentación Diapositivas Historia Scrapbook Marrón y Beige_20240519_193233_0...
jessenriquesotorosar
 

Último (20)

Fornis, C. - El mito de Esparta [2019].pdf
Fornis, C. - El mito de Esparta [2019].pdfFornis, C. - El mito de Esparta [2019].pdf
Fornis, C. - El mito de Esparta [2019].pdf
 
explorando los sistemas mixtos o de transicion
explorando los sistemas mixtos o de transicionexplorando los sistemas mixtos o de transicion
explorando los sistemas mixtos o de transicion
 
CEFALEAS CLASIFICACIÓN, TRATAMIENTO Y PREVENCION
CEFALEAS CLASIFICACIÓN, TRATAMIENTO Y PREVENCIONCEFALEAS CLASIFICACIÓN, TRATAMIENTO Y PREVENCION
CEFALEAS CLASIFICACIÓN, TRATAMIENTO Y PREVENCION
 
5 RECETA MEDICA. TIPOS DE RECETAS FARMACIA
5  RECETA MEDICA. TIPOS DE RECETAS FARMACIA5  RECETA MEDICA. TIPOS DE RECETAS FARMACIA
5 RECETA MEDICA. TIPOS DE RECETAS FARMACIA
 
Algebra trigonometria y geometri analitica 3ra Edicio Dennis G. Zill.pdf
Algebra trigonometria y geometri analitica 3ra Edicio Dennis G. Zill.pdfAlgebra trigonometria y geometri analitica 3ra Edicio Dennis G. Zill.pdf
Algebra trigonometria y geometri analitica 3ra Edicio Dennis G. Zill.pdf
 
Embarazo postermino - UptDate actualizado
Embarazo postermino - UptDate actualizadoEmbarazo postermino - UptDate actualizado
Embarazo postermino - UptDate actualizado
 
Nodulo tiroideo presentacion de power point
Nodulo tiroideo presentacion de power pointNodulo tiroideo presentacion de power point
Nodulo tiroideo presentacion de power point
 
Ejercicios formulación 3ºESO nomenclatura y formulación compuestos binarios
Ejercicios formulación 3ºESO nomenclatura y formulación compuestos binariosEjercicios formulación 3ºESO nomenclatura y formulación compuestos binarios
Ejercicios formulación 3ºESO nomenclatura y formulación compuestos binarios
 
Sistemas-de-Produccion-Porcina dispositi
Sistemas-de-Produccion-Porcina dispositiSistemas-de-Produccion-Porcina dispositi
Sistemas-de-Produccion-Porcina dispositi
 
Tipos-de-Fracciones-Algebraicas1234.pptx
Tipos-de-Fracciones-Algebraicas1234.pptxTipos-de-Fracciones-Algebraicas1234.pptx
Tipos-de-Fracciones-Algebraicas1234.pptx
 
Pinker, Steven. - La tabla rasa. La negacion moderna de la naturaleza humana ...
Pinker, Steven. - La tabla rasa. La negacion moderna de la naturaleza humana ...Pinker, Steven. - La tabla rasa. La negacion moderna de la naturaleza humana ...
Pinker, Steven. - La tabla rasa. La negacion moderna de la naturaleza humana ...
 
Hayek, Friedrich A. - Camino de servidumbre [ocr] [2000].pdf
Hayek, Friedrich A. - Camino de servidumbre [ocr] [2000].pdfHayek, Friedrich A. - Camino de servidumbre [ocr] [2000].pdf
Hayek, Friedrich A. - Camino de servidumbre [ocr] [2000].pdf
 
CAMBIOS INSTITUCIONALES Y NORMATIVOS. CIENCIAS SOCIALES
CAMBIOS INSTITUCIONALES Y NORMATIVOS. CIENCIAS SOCIALESCAMBIOS INSTITUCIONALES Y NORMATIVOS. CIENCIAS SOCIALES
CAMBIOS INSTITUCIONALES Y NORMATIVOS. CIENCIAS SOCIALES
 
VIRUS COXSACKIE, CASOS CLÍNICOS, ANÁLISIS, MORFOLOGÍA ENTRE OTROS
VIRUS COXSACKIE, CASOS CLÍNICOS, ANÁLISIS, MORFOLOGÍA ENTRE OTROSVIRUS COXSACKIE, CASOS CLÍNICOS, ANÁLISIS, MORFOLOGÍA ENTRE OTROS
VIRUS COXSACKIE, CASOS CLÍNICOS, ANÁLISIS, MORFOLOGÍA ENTRE OTROS
 
8VO - ESTUDIOS SOCIALES - 1ER - TRIMESTRE.docx
8VO - ESTUDIOS SOCIALES - 1ER - TRIMESTRE.docx8VO - ESTUDIOS SOCIALES - 1ER - TRIMESTRE.docx
8VO - ESTUDIOS SOCIALES - 1ER - TRIMESTRE.docx
 
01 CBT - CONCEPTOS BASICOS CORREAS TRANSPORTADORAS ver1.pptx
01 CBT - CONCEPTOS BASICOS CORREAS TRANSPORTADORAS ver1.pptx01 CBT - CONCEPTOS BASICOS CORREAS TRANSPORTADORAS ver1.pptx
01 CBT - CONCEPTOS BASICOS CORREAS TRANSPORTADORAS ver1.pptx
 
Neflogia un recuento anatomico, fisiologico y embriologico
Neflogia un recuento anatomico, fisiologico y embriologicoNeflogia un recuento anatomico, fisiologico y embriologico
Neflogia un recuento anatomico, fisiologico y embriologico
 
Presentación Proyecto de biología Ciencia Ilustrativo Verde Rosa_20240529_053...
Presentación Proyecto de biología Ciencia Ilustrativo Verde Rosa_20240529_053...Presentación Proyecto de biología Ciencia Ilustrativo Verde Rosa_20240529_053...
Presentación Proyecto de biología Ciencia Ilustrativo Verde Rosa_20240529_053...
 
Historia Electromagnetismo .... Física M
Historia Electromagnetismo .... Física MHistoria Electromagnetismo .... Física M
Historia Electromagnetismo .... Física M
 
Presentación Diapositivas Historia Scrapbook Marrón y Beige_20240519_193233_0...
Presentación Diapositivas Historia Scrapbook Marrón y Beige_20240519_193233_0...Presentación Diapositivas Historia Scrapbook Marrón y Beige_20240519_193233_0...
Presentación Diapositivas Historia Scrapbook Marrón y Beige_20240519_193233_0...
 

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 Hubspot
Marius 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 ChatGPT
Expeed 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 Engineerings
Pixeldarts
 
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
ThinkNow
 
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
marketingartwork
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
Skeleton Technologies
 
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
Neil 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 2024
Albert 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 Insights
Kurio // 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 2024
Search 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 summary
SpeakerHub
 
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 Intent
Lily Ray
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Christy Abraham Joy
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit 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 management
MindGenius
 
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