Differentiable Entropy Regularization: A Complexity-Aware Approach for Neural Optimization