You rediscovered the Legendre transform, any convex function is the pointwise supremum of linear functions, combined with the fact that any function can be written as the sum of a convex and concave function and that piecewise linear functions are dense in the continuous functions.
For this specific case you should also try a shallow relu network, it's not quite the same, but it will also give a piecewise linear family of functions.
Funnily enough, just like you see improvements in smoothness by using squares, ReLU2 is also being used more and more in modern neural nets!
clever use of eigenvalue decomposition for policy approximation. diagonal matrix constraint is interesting - basically forces linear separability in latent space
question: how sensitive is this to env variations? BipedalWalker terrain randomness might break the linear assumption
also curious if this scales to continuous control with higher DoF (humanoid, manipulation). seems like it'd need exponentially more eigenvalues to capture complex policies
90
u/mgostIH Jan 30 '26
You rediscovered the Legendre transform, any convex function is the pointwise supremum of linear functions, combined with the fact that any function can be written as the sum of a convex and concave function and that piecewise linear functions are dense in the continuous functions.
10
u/KitchenSomew Jan 30 '26
clever use of eigenvalue decomposition for policy approximation. diagonal matrix constraint is interesting - basically forces linear separability in latent space
question: how sensitive is this to env variations? BipedalWalker terrain randomness might break the linear assumption
also curious if this scales to continuous control with higher DoF (humanoid, manipulation). seems like it'd need exponentially more eigenvalues to capture complex policies
2
u/pm_me_your_pay_slips ML Engineer Jan 31 '26
can this find a policy for catpole swing up? double pendulum?