akankshakshurai/cuda-error-resolution-analysis huggingface dataset:
Statistics to monitor the behavior of hidden states (GRU, LSTM)

leckofunny: <p>Hello everybody!</p>
<p>I’m experimenting with different hidden state initializations (learnable, sampled, zero, one, …) and RNN architectures in the context of reinforcement learning. Now, I’d like to watch the effects of each experiment, like how is the hidden state affected? Right now, I can only monitor the actual performance of the entire system (mean reward, accuracy, losses, …), but I’d like to monitor some measures that solely focus on the hidden state. Does anybody have some tips or recommendations?</p>
<p>These are the things that came into my mind, but I’m not sure if these are suitable:</p>
<ul>
<li>Monitor gradient scale for each layer</li>
<li>KL Divergence</li>
<li>Sparsity/density of the activations inside the recurrent cell</li>
<li>Magnitude of hidden states</li>
</ul>