208 points · by sweezyjeezy · 10y ago · 80 comments
Because current NNs only simulate, like, less than 1 mm^3 of brain matter. Someone writing lyrics for a song has millions of such tiny networks working concurrently in their brain - and then there are higher-level networks supervising and aggregating the smaller nets, and so on.
Current AI NN architectures are flat and have no high-level structure. There's no hierarchy. There's no plurisemantic context spanning large time intervals and logic trees. No workable memory organized short-, mid- and long-term. Etc, etc, etc.
We're not even scratching the surface yet.
It's why my money is on the humans for the upcoming Starcraft challenge. Like poker, bluffing is integral to the process. AI's have been having a really hard time with that in poker except for constrained games. Starcraft provides enough open-ended opportunities that the AI will get smashed by clever human. Hip hop similarly combines tons of references to pop culture, psychology of what goes with what, coordination of presentation, and established musical tricks. At least half of them ANN's suck at by design.
1. The game does not really depend on a larger context. What you see is what you get. The "muscle memory" of a relatively simple ANI could therefore be enough. This is partially in contradiction with what you said above about bluffing, but I feel the contradiction is less than 50%.
2. Simple "muscle memory" strategies should not be enough to win the game, but the ANI's lightning speed reactions and its ability to see the whole game at once are enough to outperform more sophisticated-thinking humans who are slower and have tunnel vision w.r.t. the game. Basically the brute-force approach.
I'm not placing bets, and I'm as curious as everyone else as to the result of the contest. I'm just saying - if the AI does win, these are the ways it could do that.
I'm using the expression "muscle memory", which is inadequate, because I have no better way to express how current NNs operate. They are dumb at the higher semantic levels. They only become powerful through colossal repetition and reinforcement.
Watching current NNs being trained never fails to give me flashbacks from my college days when I was practicing karate. We would go to the dojo, pick a technique, and then repeat it an enormous number of times, to let the sequence sink into muscle memory. I'm sure I still have some (natural) NNs in my brain that still have got that thing down pat - I don't have to think about doing the techniques, they just "execute" on their own. But there's no semantic level here, it's just dumb (but blazing fast) automation.
Harassing also is straight forward and high-level bluffs are relatively hard to pull off in Starcraft (you need to aim at mineral line for example), so out-of-ordinary experience are rare.
It's very hard to produce _great_ content this way, simply because there are a lot more variables and dimensions to writing good music and lyrics.
> The samples from all of the examples are nonsense. What's interesting is that they, mostly, follow the form of the original.
These examples appear much less nonsensical than those, but that is (I'd hypothesize) because rap is so much more grammatically and rhetorically liberal. It does make me wonder how we would distinguish "true" semantics from (trained) formal imitations, when the latter are growing in sophistication.
Still, it's a danger in this kind of article that, to quote again from that thread,
> it's a usual tendency of NNs to produce output that looks meaningful to non-experts, yet is complete gibberish to experts.
> The answer is simply that our brains are more than neural networks.
At the risk of wasting time arguing against mysticism, there is no evidence for either of these statements. (Well, the latter is technically true, but not in the way I think you mean. There's no particular reason an NN couldn't do anything a brain does.) The only thing we can say with confidence is that the OP's model focuses more on rhyme than content, which is true for a lot of popular rappers as well.
Brains (read: humans) can learn from very few examples and in very little time. Despite that, we learn a rich context that is flexible enough to constantly incorporate new knowledge and general enough to transfer learning across diverse domains.
Those are all things that ANNs have proven quite incapable of doing, as has any other technology you might want to think of.
You don't need to reach for a mystical explanation, either. Our technology is far, far less advanced than the current hype cycle will have you believe. Thinking that we can reproduce the function of the human brain with computers is what is the real mystical belief.
> Thinking that we can reproduce the function of the human brain with computers is what is the real mystical belief.
No, not really. Most physicists believe that physics is either computable or approximable to below the noise floor. Thinking otherwise requires some sort of mystical religious belief about non-physical behavior.
Brains leave the womb pre-trained.
On a technical level that's not true. Illmatic was full of 3 and 4 syllable rhymes, while the D-Prime example rhymes are almost all 1 syllable.
Also Nas is very smooth and fluent. The lyrical themes may be closer to Nas, but in terms of flow D-Prime is more like early hip hop - Sugar Hill Gang, Kurtis Blow, Grandmaster Flash etc.
This is the precursor to the work that brought on "Daddy's Car"[1], though the techniques appear to have changed a bit reading their recent publications. I find their paper on recent approaches for music synthesis with style matching or other constraints [2] quite readable, and really good! I am hoping to build out a version of what is described by the paper. There is also a very nice talk by F. Pachet on this subject here [3], and his older videos are good too (they should be in the recommendations of YouTube).
Still reading about DeepRhyme, but it seems great. Also a fantastic writeup!
[0] https://www.csl.sony.fr/downloads/papers/2012/barbieri-12a.p...
[1] https://www.youtube.com/watch?v=LSHZ_b05W7o
Yo yo yo
I'm Deep Rhyme and I'm hear to say
I figured out how to rap in a whole new way!
My name's D Prime and I'm an A-I
Maybe some day I'll calculate all of Pi!
Deep Rhyme in the house, yo!
(mike drop)
https://www.youtube.com/watch?v=ooOL4T-BAg0
Really drives home both how much more sophisticated hip hop has become and the incredible degree of difficulty in trying to simulate such sophisticated language structures.
It's been 15 years but I used to analyze the patterns. Brings back memories.
[1] Malmi et al.: DopeLearning: A Computational Approach to Rap Lyrics Generation http://www.kdd.org/kdd2016/papers/files/adf0399-malmiA.pdf
I am writing a followup post where I'm going to talk about previous work, I hope no one takes any disrespect.
The referenced paper doesn't give many examples of output, but the authors have made the system available online on the url given above.
I have been working on exactly this for the past few weeks. I went ahead and produced a song and a lyric video from mine (I call it Lil' Markov). It started out because I noticed patterns in Lil Wayne song where he'd say some idiom and then rhyme it. It seemed so predictable I figured I could make a bot that automated Lil Wayne's process...
From what I can tell our methods are very similar. I have a thing that allows you to input a concept and it will try to rap around that concept and a `whiteGuilt()` function (that's whats up with all the ninjas), but other than that our process is 90% similar.
We should collaborate on something! Message me.
Version 0: https://soundcloud.com/cason-clagg/aesopxcasonxmarkov
Version 1: https://www.youtube.com/watch?v=fmcrjH6BKag
Version 2: (No music yet, bit here's some sample lyrics based on the concept "beef")
FIND MYSELF WITH MILLIONS THE PIGGIES THAT'LL SHARE HOPPIN' AROUND SATURN'S RING I'M JUICED OFF DOG DARE
A DESCRIPTIVE LYRICIST LOUNGING IN LOVE LIKE YOU AIN'T EAGER TO KILL EACH ONE OF THE DOVES
HE RAN FOR A BEAST HE'S A PARAGON OF YORE DIDN'T THINK OF HIS BLOOD ON THE FACTORY FLOOR
But your naming game is tight, that's without a question
You mentioned that you used the lyrics from 50,000 rap songs. Did you have any filters for quality or certain sub-genres? What era were the rap songs from? Maybe the 'quality' would be higher if the data set was narrowed to what you consider quality hip hop lyrics.
Also from your post: "You can see that D-Prime does internally rhyme to a small extent, but making the model better in this regard seemed like it was going to be tough, and I didn’t pursue it." What were your main challenges to improving/pursing better internal rhyme schemes?
Internal rhyming / assonance and other stuff could be done by rewarding the model for using it during the beam search. I suspect it's going to be hard to tune how to set the reward so it still makes sense, it only just makes sense already. I also think at this point you would really need to sit down and figure out what rhymes and what doesn't. I did the quickest, hackiest thing I could think of, which was good enough for generating end rhymes, but if you want to have internal rhymes and not massively constrain the model, I think you need to work it out purely from analysing the syllables.
Also consider the slang in different eras has changed over time, too.
The example I often use is the phrase "word is bond" in the 90s which was replaced by "on God" in the 00s.
I wonder if you can get D-Prime trained off separate datasets.
Any chance you'd open source it?
Then I figured out it's got some rules that help it along.
Phew. That'd have been scary.
MC MacB comin for yo, Dun-king.
When Siri can spit
Some dope rhymes
Whoever thought that one up deserves free lunch in perpetuity