2
$\begingroup$

I am performing a regression task on sparse images. The images are a result of a physical process with meaningful parameters (actually, they are a superposition of cone-like shapes), and I am trying to train a regressor for these parameters.

Here, sparse images mean that the data, and thus the expected output, is made of 2D square tensors, with only one channel, and that it is expectd that roughly 90% of the image is equal to zero. However, in my system, the data is represented as dense tensors.

I built a neural network with an encoder mapping the image on an output for which I have chosen activation and shape such that it corresponds with those meaningful parameters.

I then use custom layers to build an image from these parameters in a way that matches closely the physical process, and train the network by using the L2 distance between the input image and the output image.

However, for a large set of parameters, the output image will be equal to zero, since these are sparse images. This is the case in general for the initial network.

Is it possible that, through training, the neural network will learn its way out of this all-zero parameterization ?

My intuition is that, in the beginning, the loss will be equal to the L2 norm of the input image, and the gradient will be uniformly zero, hence, no learning.

Can anyone confirm ?

$\endgroup$
4
  • $\begingroup$ Hi Alex and welcome to AI SE! Can you clarify what you mean by "sparse images"? $\endgroup$ – nbro Apr 14 '20 at 12:44
  • $\begingroup$ Just edited the question. Thank you by the way :-) $\endgroup$ – Alex Apr 14 '20 at 12:58
  • $\begingroup$ So, are you using some kind of autoencoder? $\endgroup$ – nbro Apr 14 '20 at 16:59
  • $\begingroup$ Yes, except for the fact that the decoder is deterministic. $\endgroup$ – Alex Apr 14 '20 at 17:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.