You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
power_t: does it make sense for this parameter to have negative values #22178
I feel like this a case where documenting -inf will lead to more people trying out. If this is not mathematically meaningful, then we could be promoting a bad practice?
My $0.02 is that this should be restricted to (0, inf). I have only heard of people wanting to increase the learning rate when doing something like cosine annealing, a linear warmup and decay or a cyclic learning rate for much more complicated deep neural networks. In the context of a linear classifier, I think you want the whole method to be pretty well-behaved, and the algorithm will not converge if the learning rate increases.
So, I'm happy to change this and submit a pull request if other people are agreeable.
Activity
urbanophile commentedon Mar 30, 2024
My $0.02 is that this should be restricted to (0, inf). I have only heard of people wanting to increase the learning rate when doing something like cosine annealing, a linear warmup and decay or a cyclic learning rate for much more complicated deep neural networks. In the context of a linear classifier, I think you want the whole method to be pretty well-behaved, and the algorithm will not converge if the learning rate increases.
So, I'm happy to change this and submit a pull request if other people are agreeable.
lorentzenchr commentedon Jan 24, 2025
Yes, we should limit
power_tto [0, infinity).ritvi-alagusankar commentedon Jun 3, 2025
@lorentzenchr I've opened #31474 to address this issue. This is my first contribution, so please let me know if any changes are needed.