136 points · by kebinappies · 10y ago · 111 comments
And it just so happens that I live two towns from Fremont, NH, where they're from.
"A Singular Christmas" was composed and rendered in 2004. It is the automatic statistical distillation of hundreds of Christmas songs; the 16-song answer to the question asked of a bank of computers: "What is Christmas Music, really?"
https://soundcloud.com/bwhitman/sets/a-singular-christmasWhat's interesting is that the former model sounds so much, "better." I wonder if anyone could chime in about how our ears and auditory nerves or perhaps auditory cognition works, and whether they are more, "principal component analysis-y" somehow than "error minimization-y" or something relating to the actual math, which may explain why this new neural network christmas song sounds like absolute crap to us, whereas the older version sounds pretty amazing. Also, whether my understanding of the underlying math is correct or not.
That said, assuming training data comes from music with progressions that could be broadly classified as 'popular music,' you would expect to find some regression to the mean with more production and deeper training data. (to abuse a phrase)
One other issue that I think will come up is how insular and unevolving artificial creativity will be if it's based on present music for training data. What has historically moved creative trends is disruption; sometimes it's a slow burn and sometimes it's a few catalysts, but experimentation in artificial creativity will be hard to come by early on but quickly needed if it's to supplant human creativity.
It's like feeding a net with the complete works of Shakespeare and expecting it to produce a genius-level original play. It's simply not going to happen.
These things are going to grow up very, very soon! We know that. It's scary.
You're watching a two-year old. It's interesting to think about what it will be like when it's ten, sure.
But what will really blow your mind is what it'll be like when it's 23. This is happening right now, before our eyes.
I cannot overemphasize that any large server farm at Google or Amazon is doing more, and much faster, processing than a human brain's neural net. Human brain is 86 billion neurons with an average of 7,000 synaptic connections each. That is a huge number. But they are firing at 15-300 herz (because they're at biological speed, instead of lightspeed like our CPU's) - which is 7 orders of magnitude slower than our silocon. Our brain is about 3 pounds (1,300-1,400 g) and uses some 20 watts.
It's not a question of "if" a server farm will have as powerful neural nets. It's a question of "when".
(Also although we won't be using it, the entire source code for the human brain has to be strictly less than 700 MB, because the fully sequenced human genome which obviously encodes the full human mind is less than 700 MB uncompressed.)
Guys, we are at an incredible pivot point in human history. We are coming up with computerized brains with in some ways comparable architecture to humans, and they are doing human activities.
Today, in 2016, there are thousands, perhaps tens of thousands, of server rooms all over the world that have more than enough computational power to do in real-time what a human adult brain does in real time - but we lack the software.
when we see advances like this in artificial intelligence, this is scary.
We're all but looking at the intellectual output of a two year-old in the field of music.
every single day AI results are astounding. this is it.
Actually those 700MB are compressed, in a way so sophisticated that we don't really know how to uncompress it yet - or whether it's even possible without the external resources our planet provides. And keep in mind that those 700MB only describe how to prepare the basic concept of the brain, whose memory is then packed with information we get from the culture.
The human genome is somewhat redundant and can be further compressed. That is just the string of "ones and zeros" (ACGT) could be run through whatever compression algorithm you wanted.
But don't take my word for it:
>"When the 4 bases are packed into one byte ( .2bit format) the size is 770M (hg18.2bit) , but you'll need an extra tool to decypher the data." [1]
2.
You raise an important point:
>And keep in mind that those 700MB only describe how to prepare the basic concept of the brain, whose memory is then packed with information we get from the culture.
Yes, absolutely. I simply called it an upper bound on how complex a brain's architecture could be. DNA obviously encodes the brain's architecture, since humans all have human brains. Beyond that, there is a very large variation in people's mental capabilities and brains, and the largest variation of all comes from culture.
But culture could be given to a virtualized brain (called training).
Bear in mind that when human brains receive culture, it takes them years of all-day training before they're even able to speak. So full 1x human brains take a long time to train.
When you see results out of neural nets that are similar to what very young toddlers can do, you should be awed. We have the computational power in server farms to do what full brains do -- if not now, then soon.
This isn't some sci-fi pipe dream. Go ahead and look at the facts.
In a sense, that's expected, and it's a (perhaps weak) indication that we're moving in the right direction.
> You're watching a two-year old. It's interesting to think about what it will be like when it's ten, sure. But what will really blow your mind is what it'll be like when it's 23.
Or 23000. Because, you know, it's a machine.
> the entire source code for the human brain has to be strictly less than 700 MB, because the fully sequenced human genome which obviously encodes the full human mind is less than 700 MB uncompressed
I have this half-baked argument sloshing around in my mind for a while now, that the total source code is greater than that, because it also includes constants, rules, and facts built into the fabric of the Universe itself. In other words, that 700 MB is code for "build a carbon-based intelligence in the context of such-and-such universe" - where "such-and-such" may turn out to be a surprisingly long and intricate description, effectively extending the code by a large amount. Kind of like a fixed ROM added to the variable NVRAM of all humans.
In a different universe the same code will produce a very different creature - and that's at best. In most other universes, the process would terminate early with a critical error, or would not even start. Or would not even make sense at all.
> we are at an incredible pivot point in human history
I think we are at the cusp of an explosive change without precedent in the history of the Earth - and not just due to AI. There's a long list of things that are about to hit tipping points in the next years / few decades. It will be... "interesting". Buckle up.
[1] http://www.bbc.co.uk/cult/hitchhikers/guide/deepthought.shtm...
it takes years to train a human neural net to even been able to speak (toddlers.) But regarding the architecture, there's good reason to think that the wiring for it is not infinitely complex, taking trillions of terabytes etc - or anywhere close to that.
I think that on some level it is fair to say that the wiring that makes people's brains human is in some sense encoded in DNA.
However, I will grant that this might not be helpful. After all, if we posit or assume as axiomatic that the whole universe is deterministic and here, these 100 megabytes of source code can model it and if you did that with 10^100 bytes and FLOPS, you'd after a few days of running it you'd find humans inside - well, then, sure, in some sense 100 megabytes "describes" the entropy inside human brains, but in another sense that is not useful in any way.
so perhaps DNA is the same and the "knowledge" that 700 MB or so can produce a human if you run it in biological substrate after carrying it out in a womb, and then raise it with human culture for 72 months it will speak just fine, is not necessarily an indication of what kind of information we would need to give a neural net and how much coding it would take to take on the same behavior. So while to me personally it remains an indication, I agree I went too far.
I'll believe it when I see it.
Your post has just a bit too much futurologist science fantasy wishful thinking in it.
The kids all said "That'll never happen." as if technology is stuck where we are today. They were astounded when I told them that ten years ago, I never saw a phone in a classroom. So from my perspective we went from no phones, to big phones, to little dumb phones, to little connected computers... it's no stretch to think that soon they will be glasses mounted or project some sort of holograph into the eyeball. Version 2 of Microsoft HoloLens will be cool, v3 will be tiny, v4 will be mounted inside glasses for sure.
The same with AI. A few years ago I couldn't talk to my computer. Today I do it all the time. Last week I had to remember passwords, today my computer recognises me and logs me in.
AI is here and it's getting better and from my point of view it is getting better much faster.
However, although my post may have wishful thinking in it, I think if you investigate the reality of the cells that contribute to human thinking, you will come to the conclusion that it is impossible that this or some similar system should not be modelled in computers within the next hundred years. You can look at the processing involved yourself. Just remember that the whole is the sum of the parts, and the parts are doing slow, biological things - it's not silicon etchings that work at practically the speed of light. Neural signals propagate at something like 100 meters per second at the fastest[1] - light propagates at 299 792 458 meters per second and if you look at our 4 Ghz CPU's you will see that in a clock cycle light just goes about 10 cm.[2] Light goes fast enough to make a million trips across a server room in the time it takes neurons to fire. While staggeringly complex, the fact is, our server rooms are doing more.
This is like heavier-than-air flight. Let's say the fuels and engines are there - but we don't know how to assemble them.
When we see neural nets produce results that are similar to what young children produce, this is amazing. I cannot overemphasize that at any moment we can have a breakthrough. We have so much more computational power than required: 3 pounds! 20 watts! 86 billion neurons with 7000 connections! And at speeds of 300 herz.
The training time for a human brain to get to intelligence even close to adulthood is, let's say, 12 to 14 years even in the most precocious.
We're looking at the output of neural nets that receive perhaps months of training.
This stuff is happening right now. It's absolutely astounding and there is no limit to what can be unlocked overnight. Any server farm at Amazon or Google has the hardware today to go through 10 years of human brain training in about 10 months, and then end up with a network that thinks ten times the speed of human thought. It's there, today. Three pounds. Twenty watts. Three pounds. Twenty watts. Three pounds. Twenty watts.
It's not miraculous. It's happening.
[1] http://biology.stackexchange.com/questions/21790/how-long-do...
There's also the training set consisting of all sensory and chemical inputs from conception on. I think it's fair to say that the former inputs are only sensible to an organism with the same sensory organs, and the latter inputs are only sensible to an organism with the same physical structure & organs as we have.
I don't think a silicon neural net with the neurons of a human being would be the same thing after two dozen years of training as a human being after 24.
You're also assuming that there's nothing more to a mind than its neurons.
Daniel Lemire has an observation here: our brains don't use all the connections, all the time (when it does it's called epilepsy); it would be interesting if we built some computers that also worked like that - with only small parts being active at a certain time, but switching quickly from one to another. That would help with the heating problem and it might allow processors a lot more complex than we have now.
The output would probably be more compelling if A.I. were adopted more as an instrument by individual artists/composers to automate some of their more tedious tasks by learning their own particular styles rather than a magical music box that churns out top hits.
This algorithm is throwing down some wisdom
Our original focus was writing a research paper on hierarchical music generation. Composing a song from an image is just one of the "fun applications" that we spent a little time on, to promote the interestingness of our method. I started Saturday afternoon, and was basically done by Sunday night.
Thumbs up for the cool project.
Oh my god, I'm in stitches. What a fun project, thanks for sharing!
The other thing I find really amazing about it, coming from IBM, is that IBM has invested a ton of money in IBM Watson but they sold off their foundry business (could have made massively parallel AI machines) and their systems business is a fraction of what it was.
Looking at what can be done when you're leading versus when you are following is really sobering to me.
"Cave here. It's Christmas time, and you know what that means: Christmas bonuses have been suspended until further notice. We've gotta pay the judgement on that pesky class-action with something. But don't let that get you out of the Christmas spirit. The lab boys have come up with a way to stay festive by hooking up the Christmas Core to the lab's PA system. So enjoy free, continuous, computer-generated Christmas music from now until January 5!"
"Cave again. Apparently the Christmas music has been causing some employees severe emotional and psychological distress. We've had reports of people sticking their heads into active particle accelerators and drinking Repulsion Gel to get away from the sound. So until a full investigation has been conducted and the Christmas Core thoroughly debugged, we are discontinuing the Christmas music. We do not need another class-action on our hands, folks."
The huge gap between our cultures' actual music and these synthetic projects can to an extent be described through "receptivity" or the phenomenology of music, in other words, how it's experienced. The following fun, short talk does a great job of introducing the concept of through its analysis of "vaporwave."
Your explanation also explains why computer performed music is so off. It still has that uncanny valley effect. So when Sony had a computer generate a "Beatles-esque pop song", they still had a human perform and produce it. But at the point there's so much creativity and human-added value on top of it that I don't think its fair to call it computer generated imho.
One of my models of music is an external model of a regulated system that parallels and trains our own habits and responses. E.g. a song demonstrates tension and release similar to our own lives. The level of tension in a song before release occurs can inform us how much tension which should accept before performing some release activity.
Music's rhythms also inform the pace of our work. E.g. verse-chorus-verse represents switching between two different activities. Even the pitch of a single note acts as a reference for the amount of intensity of a sensation we should use in our own lives. E.g. thrash metal listeners enjoy sudden shifts into massive intensity and hold it there. Dub step listeners are training themselves for unusual, but rather intense aesthetics leading up to disproportionate release. Classical music tends to be for "long-chain thinkers" tumbling ideas over from various perspectives, e.g. writers and politicans, doctors, not factory workers.
With that as a background, consider that a live instrument is also a physical system with a human controlling it interactively. The live system is a bit different every time. Here's the critical part: the human must listen and provide instantaneous feedback to a varying system in order to present the piece of music as a proper response model of a regulated system. If the player fails to do this, the model communicated by the performance is different.
In open-loop systems, such as a sequencer, there is no (or limited) interaction between the player and the sound, so an incidental model emerges. That incidental model represents an unintended and therefore most likely irrelevant model of how to interact with reality. e.g. it relieves tension where no relief was needed. It lingers too long on an idea, long after a human novelty-seeking circuit has starved.
Some people, e.g. in discussions of unstable filters like the TB-303, chalk up the variations as being different at every performance because the instrument is random... However, they're missing the closed loop portion of the performance, in which the performer reacts to the unpredictability of the instrument in order to maintain the model. In other words, the score and notes are not the music, but the performer's response to the environment the score sets up is the music.
To revivify your uncanny valley observation, the "unstable filter creates variations" crowd has a parallel in Perlin noise used to subtly animate human models to make them not look so dead. However, it's incomplete because they don't use (short-term) feedback to determine when the movement suffices to be convincing. That feedback is the essence of performance.
In theory, computer scientists could implement these feedback models in performance to make the sounds more realistic. They could be used in synthesis, but the playback would still require observation of the listener! Which is possible. Personally, I just prefer playing electronic instruments live over using sequencers. It's only the sounds of electronic music I like, the zaps, peowms, zizzes, pews, and poonshes, etc. I don't care for electronics/computers to perform for me.
If you like this hypothesis, you can find more references on my wiki at: http://www.diydsp.com/index.php?title=Computer_Music_Isolati...
http://arstechnica.com/the-multiverse/2016/06/an-ai-wrote-th...
The only thing (kind of) working well is feature/topic detection in the image (tree, christmas etc.), but that isn't really cutting edge.
The core part, learning and creating music, only produced melody and lyrics that seem not much different from accumulating random sentence and chordal fragments.
I'm making a note here:
Huge success!
While it is easy to crawl many songs from the internet, it is a little harder to gather the same amount but with proper genre/style/etc labels, although it is not impossible.
For now there's only one genre, which we call it "the genre of whatever is on the internet". So whatever music files on there, many of them quite "crappy", were used to train the model. Also there are many other problems on how to better structure and flavor the composition.
This is just a very early-stage attempt, as a CS student's fun side project. We are working with people with real musical talent now and hoping to make better songs in the next version.
Edit: Found it in the article.
Not sure how to hardcode this.