Result · SOFT-ASSIGNMENT-GRADIENT

Soft assignments have an exact gradient

Proved herepublication: internal

Read the proof and evidence →

Meaning

An exact gradient supports optimization of the randomized-assignment information objective.

Statement

For differentiable F with G=∇F(I_soft), ∂F/∂r_ib=w_i(2 s_i^T G μ_b-μ_b^T G μ_b), equivalent up to a bin-independent term to negative squared G-distance.

Relationships

Rests on

Open next door

Local graph
Local map of Exact soft-assignment gradient1 prerequisites to the left, 0 results it enables or questions it raises to the right, 0 boundary cases below.Soft assignments are an actual randomized quantizerSoft assignments are…Exact soft-assignment gradientExact soft-assignment…
Prerequisites to the left, what it enables or raises to the right, boundary cases below. Open in the map.

Proof

S2. Exact soft-assignment gradient

For differentiable FF, G=∇F(Isoft)G=\nabla F(I_{\rm soft}),

∂F∂rib=wi(2si⊤Gμb−μb⊤Gμb).\boxed{ \frac{\partial F}{\partial r_{ib}} =w_i(2s_i^\top G\mu_b-\mu_b^\top G\mu_b). }

Up to a bin-independent term this is negative squared GG-distance to the centroid.

From Randomized and soft quantizers · chapter contents