5
$\begingroup$

I've uploaded a picture to Wolfram's ImageIdentify of graffiti on the wall, but it recognized it as 'monocle'. Secondary guesses were 'primate', 'hominid', and 'person', so not even close to 'graffiti' or 'painting'.

Is it by design, or there are some methods to teach a convolutional neural network (CNN) to reason and be aware of a bigger picture context (like mentioned graffiti)? Currently it seems as if it's detecting literally what is depicted in the image, not what the image actually is.

Wolfram's Image Identify: monocle/graffiti

This could be the same problem as mentioned here, that DNN are:

Learning to detect jaguars by matching the unique spots on their fur while ignoring the fact that they have four legs.2015

If it's by design, maybe there is some better version of CNN that can perform better?

$\endgroup$
4
  • 2
    $\begingroup$ i.sstatic.net/qu8K3.png $\endgroup$
    – Mithical
    Commented Aug 18, 2016 at 17:50
  • $\begingroup$ So obviously it still needs some work. $\endgroup$
    – Mithical
    Commented Aug 18, 2016 at 18:05
  • $\begingroup$ Any ANN (or for that matter any ML model) learns only from the training data that was used to train it. If the training data doesn't have examples of "graffiti" then there is no way the model can learn that. $\endgroup$
    – Ankur
    Commented Aug 19, 2016 at 5:15
  • $\begingroup$ Related: ai.stackexchange.com/questions/1689/… $\endgroup$
    – Mithical
    Commented Aug 23, 2016 at 20:28

3 Answers 3

2
$\begingroup$

Wolfram's image id system is specifically meant to figure out what the image is depicting, not the medium.

To get what you want you'd simply have to create your own system where the training data is labeled by the medium rather than the content, and probably fiddle with it to pay more attention to texture and things as such as that. The neural net doesn't care which we want - it has no inherent bias. It just knows what it's been trained for.

That's really all there is to it. It's all to do with the training labels and the focus of the system (e.g. a system that looks for edge patterns that form shapes, compared to a system that checks if the lines in the image are perfectly computer-generated straight and clean vs imperfect brush strokes vs spraypaint).

Now, if you want me to tell you how to build that system, I'm not the right person to ask haha

$\endgroup$
3
$\begingroup$

You seem to be wanting some description of the 'style' of an image.

To make that work in general, I'd guess that would actually require quite a lot of pre-processing to present 'texture elements' (rather than pixels) as the basic features.

This is quite speculative, but one approach might be to use Iterated Function Systems as a means of extracting these.

Whether 'spatial adjacency' (and hence CNN) is then the best approach to make higher-level decisions about these elements is (AFAIK) a matter for experiment.

$\endgroup$
0
$\begingroup$

If I look at the image, I can kind of see a monocle as part of the image. So one part of this is that the classifier is ignoring much of the image. This could be called a lack of "completeness", in the sense used here (a computer vision paper on image summarization).

One way to discover these sorts of failure modes is adversarial images, which are optimized to fool a given image classifier. Building on this, the idea of adversarial training is to simultaneously train competing "machines", one trying to synthesize data, the other trying to find weaknesses in the first one.

Also check this page: A path to unsupervised learning through adversarial networks, for further information about adversarial training.

$\endgroup$
0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .