2
$\begingroup$

Typically, the subgradient is defined for convex functions. And convex functions are continuous.

However, DeepMind's VQ-VAE paper defines a model with a discontinuous vector quantization (VQ) layer, resulting in a discontinuous objective function. Still, the authors remark:

One could also use the subgradient through the quantisation operation, but this simple estimator worked well for the initial experiments in this paper.

Is there a more general definition of the subgradient that would make sense here?

$\endgroup$
3
  • 1
    $\begingroup$ please ping if someone answers, I'm interested too, no clue which subgradient would make sense $\endgroup$ Commented Mar 4, 2024 at 22:20
  • $\begingroup$ @Alberto You can just "follow" questions. $\endgroup$ Commented Mar 5, 2024 at 13:59
  • $\begingroup$ lol didn't know about that button $\endgroup$ Commented Mar 5, 2024 at 14:55

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.