Showing posts with label superhuman. Show all posts
Showing posts with label superhuman. Show all posts

Wednesday, April 28, 2021

HOW SMART IS GOOGLE ASSISTANT?

I've pretty much given up trying to keep track of all the areas where artificial intelligence--AI--has surpassed human capabilities. AI systems now routinely beat even the most expert humans in many once-strictly human skills, from complex games such as chess and Go to more serious capabilities such as reading x-rays. 

Experts keep reassuring us that although AI can beat us at more and more specific tasks or skills, it will be a while, maybe a long while, before an AI system achieves fully human or super-human general intelligence--Artificial General Intelligence or AGI. We'll see.


Hal, what's this piece of music?

Credit: Mixcloud

 

Recently, however, I stumbled on an AI ability that amazes me.

I like classical music and have been listening to it most of my life. Over the years I've made a game of challenging myself to identify whatever piece I happen to hear. I can usually get a piece that I've heard many times, for example one of Beethoven's symphonies or Rachmaninoff's piano concertos. Even if I don't recognize the specific piece, I can usually identify the composer, for example Scarlatti or Stravinsky. And if I can't ID the composer, I can usually glean something about a piece, for example that it's from the Baroque. the Romantic period or the 20th Century.

I'm sure there are many people who can do much better. I remember that my brother's piano teacher claimed he could recognize almost any classical piece from the first few notes. But I doubt that he or any other mere human can do what Google Assistant now does thousands or millions of times per day:

If you hear a classical piece being played, and if you have an Android smartphone, ask your Google Assistant, "What piece of music is this?" Usually within a few seconds, he/she/it/they will tell you the specific piece, the composer, AND THE GROUP, ORCHESTRA OR PERFORMER PLAYING IT.

So not just Vivaldi's Violin Concerto in B-flat, but that it's being played by the Venice Baroque Orchestra, and that the soloist is Giuliano Carmignola.

In order to be able to do this, this system must have "listened to" and "memorized" just about every recording of every piece of classical music (and other musical genres as well), and be able to home in on the specific piece and the specific recording from a few-second-long snippet from anywhere in the piece, all within a few seconds.* As the Google team who developed this system write, ". . . we didn't want people to wait 10+ seconds for a result."

You can read about how Google Assistant pulls off this superhuman feat at this Google Blog post. The gist is that it maps the few seconds of music that it samples through your smartphone  into a series of overlapping 128-dimensional "fingerprints," which are then matched through a two-step process with the most similar fingerprints in the Assistant's constantly updated database of tens of millions of pieces. 

Smart as it is, the system isn't perfect. I ran an experiment asking it to identify 100 classical pieces played on the radio. It correctly identified 97 of them, but it "only" got the group or soloist right on 74 of those. When the Assistant gets something wrong, you can ask it to try again. That brought its piece recognition up to 98 percent, and its ID of the group, orchestra or soloist up to 78 percent. Interestingly, most of its mistakes on orchestras, groups or soloists were on extremely well known pieces, popular workhorses that have been recorded dozens or hundreds of times. 

As is true throughout the AI world, the Google music recognition team is constantly working to make their system even smarter. "We still think there's room for improvement though," they blog, "we don't always match when music is very quiet or in very noisy environments, and we believe we can make the system even faster."

Right now I'm listening to a very familiar piece, The Sorcerer's Apprentice by Paul Dukas. I recognized it right away, and of course so did Google Assistant. But it really pisses me off that the Assistant didn't just identify the piece, but could tell that it was the version recorded by the Montreal Symphony Orchestra led by Kent Nagano. Damned showoff.

-----

*To be fair, it appears that the Shazam app, now owned by Apple, has pretty much the same capabilities, although it seems a tad slower to me.



Thursday, February 22, 2018

Advanced Artificial Intelligence--Friend or Foe

When I learned last December that AlphaZero, an artificial intelligence developed by Google subsidiary DeepMind, had soared from a completely "blank slate" to superhuman play in Chess, Go, and Shogi (a Japanese variant of chess) in a matter of hours, just by playing against itself, I realized that artificial intelligence is advancing far faster than most of us realize, and to superhuman, and potentially dangerous levels of capability.

You can read my description of AlphaZero's explosive mastery of Chess, Shogi and Go on OpEdNews or from an earlier post on zerospinzone.

AlphaZero's prowess led me do a lot of reading and research about the pace of AI progress, especially in the rapidly advancing areas of deep learning by deep neural networks.

 Image from the mind of Google's Deep Dream Generator
Credit: Robert Adler and DeepDreamGenerator

What I found out is that it's much worse than I thought.

Multiple groups worldwide are researching and developing increasingly powerful AI agents. These artificial intelligences have already surged past humans in many specific areas--not just games, but face and pattern recognition, medical diagnostics, reading comprehension, drug discovery and many other areas. Looming just ahead are AIs that will be smarter--possibly many times smarter--than any human in every important area. Not to mention super-intelligent AIs that can design and create other AIs that are even smarter, leading to an "intelligence explosion" whose impacts and risks are impossible to predict.

As several of the experts who have looked into this most deeply have pointed out, less intelligent species--think chimpanzees, gorillas or our close cousins the Neanderthals--typically don't fare well once a more intelligent species emerges.

A few farsighted individuals and groups have started to look into "the control problem"--how we might be able to create superhuman-but-friendly AIs, agents that will keep our best interests at heart even as they grow smarter and smarter. This turns out to be an extremely challenging problem. Meanwhile, hundreds of much better funded research groups--including many developing AI for military use-- are rushing ahead without giving the risks from the AIs they are developing much if any thought.

If you would like to look into this potential existential risk a bit further, here are some resources:

Center for the Study of Existential Risk (Cambridge, UK): cser.ac.uk

Deep dreaming: deepdreamgenerator.com (site where you can create your own “deep dreams.”

DeepMind: deepmind.com

DeepMind Ethics and Society research group: deepmind.com/applied/deepmind-ethics-society/

Eliezer S. Yudkowsky: yudkowsky.net

     “Artificial Intelligence as a Positive and Negative Factor in Global Risk”             (2008)
      Can be downloaded at: intelligence.org/files/AIPosNegFactor.pdf

Future of Humanity Institute (Oxford): fhi.ox.ac.uk

Future of Life Institute (Boston/Cambridge): futureoflife.org

The 23 Asilomar AI Principles: futureoflife.org/ai-principles/

James Barrat: Our Final Invention: Artificial Intelligence and the End of the Human Era (2015)--excellent introduction to these issues

Machine Intelligence Research Institute, MIRI (Berkeley): intelligence.org

Nick Bostrom: www.nickbostrom.com

     Superintelligence: Paths, Dangers, Strategies (2016)--a challenging factual, analytic, and philosophical work examining these developments in depth

OpenAI: openai.com

Pedro Domingos: The Master Algorithm: How the Quest for the Ultimate Learning Machine Will Remake Our World (2018)

I'd suggest starting with James Barrat's extremely well-researched book, Our Final Invention: Artificial Intelligence and the End of the Human Era.

And for a super-deep dive into the issue, Oxford philosopher Nick Bostrom's Superintelligence: Paths, Dangers, Strategies. 

----

If you enjoyed this post, please sign up to follow or receive email alerts from zerospinzone.blogspot.com.