r/science • • Jun 26 '12

Google programmers deploy machine learning algorithm on YouTube. Computer teaches itself to recognize images of cats.

https://www.nytimes.com/2012/06/26/technology/in-a-big-network-of-computers-evidence-of-machine-learning.html
2.3k Upvotes

559 comments sorted by

View all comments

Show parent comment

-5

u/jp007 Jun 26 '12 edited Jun 26 '12

Any technique is not specific to cats. Labeling it as such makes me think you don't know what you're talking about.

It's any image broken down into it's base parts cross referenced with comment text, anchor text, anything that they can get their hands on that has some kind of reference to it. They build image-to-word associations, and then can analyze an image, see if it matches a feature set that is precalculated to be associated to the word 'cat' and then bada-boom. Magic to the NY Times.

3

u/SpockLivesOn Jun 26 '12

Semantics. What he was saying is that the technique had never been done before in which a computer could recognize an image and define it by our standards.

1

u/[deleted] Jun 26 '12

What kind of rebuttal to a softball of an argument is that? You conceded that something was "semantics" when the paper clearly indicates that no metadata could even possibly be used as part of the training algorithm.

-4

u/jp007 Jun 26 '12

There are dozens of papers that describe various techniques that do this in one way or another, or a combination thereof. Ignorance of the literature isn't an excuse.

2

u/spoolio Jun 26 '12

You'd better be willing to cite some of that literature while you're making big claims and being a dick about it.

Computer vision has, thus far, been unable to distinguish many classes of living things that humans can easily distinguish, with any reasonable level of accuracy. A classic problem is telling cats from dogs (Razavi et al., 2007). This is the basis of Microsoft's ASIRRA captcha (Elson et al., 2007).

The CAPTCHA has been weakened by machine learning, sure. Golle (2008) can tell a cat from a dog with 83% accuracy. That still only breaks ASIRRA 10% of the time and is considerably below the level of a mentally impaired human.

Are you talking about Golle when you say I'm ignorant of the literature? It doesn't sound like it. You're pretty much saying the problem doesn't exist at all.

6

u/whosdamike Jun 26 '12

We train this network using model parallelism and asynchronous SGD on a clus- ter with 1,000 machines (16,000 cores) for three days. Contrary to what appears to be a widely-held intuition, our experimental results reveal that it is possible to train a face detector without having to label images as containing a face or not ... We also find that the same network is sensitive to other high-level concepts such as cat faces and human bodies.

Source

-6

u/jp007 Jun 26 '12

Right. You don't label the images explicitly, you infer it from contexts across thousands, perhaps millions of examples.

Have you ever been published in this field?

2

u/whosdamike Jun 26 '12 edited Jun 26 '12

Hey, I never claimed I was an expert. I'm an enthusiastic layman who quoted a source. If you find that I misinterpreted, I would be very happy to look at your citations in return. Here's the paper in full for you to peruse.

To me, it looks like they trained the algorithm on a dataset known to contain faces. Then they set it loose on a random other dataset, hoping it would identify faces in the brand new set. And they achieved some success!

THEN they took the same algorithm and looked for cats. And they found them, with a great degree of success!

That's a big difference than reading the word "cat" in a YouTube comment and guessing there's a cat there, I would say.

In the absence of knowing each other personally, I think it's valuable to try to treat each other with respect. Since we also don't know the other's professional credentials, perhaps it would be best to limit the conversation to verifiable citations. :)

Anyway, this is /r/science, and discussion should be openly welcomed! I look forward to reading your reply and expanding my knowledge on the subject. You seem to have some expertise, so I'd love to hear an informed opinion on the paper.

0

u/jp007 Jun 26 '12 edited Jun 26 '12

Sorry, I certainly didn't mean to be antagonistic but the late night wine seems to have drawn it out. Sincere apologies. I'm just less than impressed with the NY Time's, "OH Wow, CATS!" level of writing when it comes to topics of science, particularly this one. I certainly can appreciate your enthusiasm though!

To me, it looks like they trained the algorithm on a dataset known to contain faces. Then they set it loose on a random other dataset, hoping it would identify faces in the brand new set.

This is pretty much the basic regimen of almost all machine learning algorithms (at least as far as my training goes). It's the standard approach to train based on a known set of inputs and outputs, and then unleash it on a different dataset. Really it's all a matter of determining a novel feature set to extract from the given data, and then creating an appropriate, or custom, similarity measure algorithm (euclidean distance, for example, being the most basic), which matches a new input data set, to a known data profile--one which was created by analysis of the training data. Just cause it's cats and youtube doesn't really make much difference. It could be anything and anything else, depending on the features you want to extract and how you want to compare sets of them.

1

u/whosdamike Jun 26 '12

Well, the paper is linked when you're feeling a little more like delving into the details. It looks very interesting to me, I'd love to hear what you think!

1

u/gemini86 Jun 26 '12

grabs popcorn

Hold on guys, almost ready.

1

u/USBibble Jun 26 '12

Correct me if I'm wrong, but is this not how humans learn as well?

In the beginning we have no idea what we are looking at, then through context (or experience with some 'thing') we learn to discern the characteristics that define the 'thing' as such, or we recognize portions of some 'thing' and infer what the 'thing' might be...

0

u/dakeyraskhan Jun 26 '12

is it a problem ? I mean ok, it's not a ground breaking advance in machine learning, but it's still a pretty cool way to use google's huge database...

2

u/pohatu Jun 26 '12

It didn't use textual context. It was an unsupervised training on a sparse stacked autoencoder. They didn't say these are cats, these are not cats. They said here's a bunch of stuff, figure out what it is and it figured out, among other things, that a bunch of them are cats - meaning it learned what a cat face is. its actually more interesting than that because each layer figures out different levels if stuff. I don't even know what I'm talking about, but i know that this is much more interesting than you think it is.

The nyt probably does a poor job of explaining it. Read the discussion on /r/programming, or other websites to learn more.