Letting neural networks be weird

  • About Me
  • Contact me
  • FAQ
  • Merchandise
  • Random
  • Archive
  • RSS

Metal Band or My Little Pony?

Neural networks are algorithms that learn by example, rather than by following a programmer’s set of rules. Although on this blog I’ve mostly been using them to generate new examples of things (like paint colors, halloween costumes, or craft beers), neural networks can do a lot more.

One thing neural networks can do is classify things. Give them a bunch of examples of one kind of thing, and a bunch of examples of another kind of thing, and it will (hopefully) learn to tell the two apart. This is really useful - for identifying obstacles for self-driving cars, for telling diseased tissue from healthy tissue, and even (with mixed success) for identifying spam or troll comments. I wanted to test this kind of algorithm out, so I devised the simplest task I could think of: telling metal bands from My Little Ponies.

I’ve previously trained text-generating algorithms to generate metal bands and My Little Ponies, so I had datasets ready to go. IBM Watson has a very easy-to-use tool for training classifiers (there’s a classroom-friendly version at machinelearningforkids.co.uk). I loaded in all 1,300 of the My Little Pony names I had, and filled the rest of the tool’s memory with metal bands (about 18,700). 

Then I entered some new pony names - neural network-generated pony names so they weren’t in the original dataset - to see how it would classify them. The result:

image

The neural network labeled *everything* as metal. People who have worked with neural network classifiers before will have seen this coming: with a dataset that was 94% metal class and only 6% pony class, I had set myself up with a classic case of something called class imbalance. The neural network found it could achieve 94% accuracy on my training dataset by calling everything metal. Princess Pie? Metal band with 81% confidence. Sweetie Loo? 85% likely to be metal. Sparkle Cheer? 84% sure that’s a metal band. Flutter Buns? So, so metal. 97%. The only names it didn’t label as metal bands were ponies that were the original dataset. So, Twilight Sparkle? 100% pony. Twilight Sprinkle, though? 83% metal.

The fix was easy: I trained the classifier again, this time with equal numbers of ponies and metal bands. This time the results were a lot more believable. And, the classifier network mostly agreed with the generator neural network names. There were some surprises, though.

Generated metal bands:

Dragonred of Blood - 100% metal, 0% pony
Deathhouse - 97% metal, 3% pony
Vermit - 97% metal, 3% pony
Sespessstion Sanicilevus - 97% metal, 3% pony
Stormgarden - 97% metal, 3% pony
Vomberdean - 96% metal, 4% pony
Swiil - 96% metal, 4% pony
Dragorhast - 96% metal, 4% pony
Sun Damage Omen - 96% metal, 4% pony
Squeen - 96% metal, 4% pony
Inhuman Sand - 88% metal, 12% pony
Snapersten - 3% metal, 97% pony
Staggabash - 3% metal, 97% pony

Generated ponies:

Cherry Curls - 0% metal, 100% pony
Starly Star - 1% metal, 99% pony
Cheese Breeze - 0% metal, 100% pony
Agar Swirl - 1% metal, 99% pony
Sob Dancer - 1% metal, 99% pony
Derdy Star - 1% metal, 99% pony
Princess Sweat - 1% metal, 99% pony
Raspberry Turd - 1% metal, 99% pony
Arple Robbler - 3% metal, 97% pony
Pocky Mire - 6% metal, 94% pony
Cold Sting - 10% metal, 90% pony
Pearlicket - 48% metal, 52% pony
Blue Cuss - 79% metal, 21% pony
Sunsrot - 84% metal, 16% pony
Rade Slime - 84% metal, 16% pony
Flustershovel Aoetel Pakeecuand - 96% metal, 4% pony

image

When I fed the classifier names that were generated by a neural network trained on BOTH metal bands and ponies, it was not as confused as I had expected. Instead, it classified them with high confidence as one or the other.

Pinky Doom - 99% metal, 1% pony
Strike Berry - 0% metal, 100% pony
Cryptic Mane - 1% metal, 99% pony
Bloody Star - 4% metal, 96% pony
Killy Power - 96% metal, 4% pony
Spectral Apple - 1% metal, 99% pony

Of course, this classifier will also work on any text I give it.

Benedict Cumberbatch - 96% metal, 4% pony
Jane Austen - 17% metal, 83% pony
Dora the Explorer - 55% metal, 45% pony
Aluminum - 17% metal, 83% pony
Aluminium - 96% metal, 4% pony
The Earth’s Core - 99% metal, 1% pony
Lobsters - 18% metal, 82% pony
Opossums - 97% metal, 3% pony
Yogurt - 17% metal, 83% pony
Kumquats - 96% metal, 4% pony

According to this neural network, we may need to rethink Star Wars canon.
Leia Organa - 96% metal, 4% pony
Luke Skywalker - 31% metal, 69% pony
Darth Vader - 19% metal, 81% pony
Kylo Ren - 18% metal, 82% pony

I had some fun with the metal/pony mashup algorithm and generated more names than will fit here. If you’d like them, enter your email here and I’ll send them to you.

Pony pictures created using General Zoi’s Pony Creator

    • #neural networks
    • #textgenrnn
    • #natural language classifier
    • #My Little Pony
    • #metal band names
    • #classifier
  • 1 month ago
  • 1280
  • Permalink
Share

Short URL

TwitterFacebookPinterestGoogle+

1280 Notes/ Hide

  1. weirwoodforest liked this
  2. listenanahearmywords liked this
  3. quicksilver-ink liked this
  4. superiorjello reblogged this from downtroddendeity
  5. jodie-whittaker liked this
  6. keltena liked this
  7. downtroddendeity reblogged this from jumpingjacktrash
  8. nneeoonnaa liked this
  9. 100percent-unimpressed reblogged this from zz9pzza
  10. paper-pen-and-pizza liked this
  11. sharbaum liked this
  12. lderovuatpipoupancbroknor liked this
  13. auspicixus liked this
  14. the-space-dorito liked this
  15. grrrro reblogged this from anauthorandherservicedog
  16. grrrro liked this
  17. aroguexenolith liked this
  18. tripledogbrain liked this
  19. luninosity liked this
  20. ladysilvrene reblogged this from anauthorandherservicedog
  21. ladysilvrene liked this
  22. anauthorandherservicedog reblogged this from dominatrixeditrix and added:
    Leia Organa - 96% metal, 4% pony 100% accurate.
  23. kryptaria liked this
  24. dominatrixeditrix reblogged this from greywash
  25. fantabulisticity reblogged this from lewisandquark
  26. fantabulisticity liked this
  27. ne-torsho liked this
  28. kefilear liked this
  29. differently-normal reblogged this from ceescedasticity
  30. zz9pzza reblogged this from greywash
  31. zz9pzza liked this
  32. reginasrandomthoughts liked this
  33. mrsbeef liked this
  34. sarahthecoat liked this
  35. flyingvicebox reblogged this from greywash
  36. phoenixsol reblogged this from greywash
  37. anarfea liked this
  38. steel-toe-roses reblogged this from greywash
  39. faeyke liked this
  40. thursdayj liked this
  41. dominatrixeditrix liked this
  42. sassbandit3000 reblogged this from greywash
  43. greywash reblogged this from lewisandquark
  44. secondaryideas liked this
  45. zekedms liked this
  46. literal-kitchen-utensil liked this
  47. drmgreen reblogged this from lewisandquark
  48. halfpastrandom reblogged this from thingsstingshouldsing
  49. round-of-applause-forthe-ne-doms liked this
  50. thingsstingshouldsing reblogged this from falindrith
  51. Show more notesLoading...
← Previous • Next →

Portrait/Logo

About

I train neural networks, a type of machine learning algorithm, to write unintentional humor as they struggle to imitate human datasets. Well, I intend the humor. The neural networks are just doing their best to understand what's going on. Currently located on the occupied land of the Arapahoe Nation.
https://wandering.shop/@janellecshane

Twitter

loading tweets…

  • RSS
  • Random
  • Archive
  • Mobile
Effector Theme — Tumblr themes by Pixel Union