I have an l1 activity_regularizer=l1 in the final layer of my generative neural network:
outputs = Dense(200, activation='softmax', activity_regularizer=l1(1e-5))(x)
It makes my results better but I don't understand why it would change anything for a softmax activation. The sum of outputs = 1 , with all positive values always so the regularizer should give exactly the same loss no matter what.
What is the activity_regularizer=l1(1e-5) doing in my training ?