Learnable beta for Softplus inverse link #217
Replies: 4 comments 3 replies
-
Hi! This is in general dangerous territory because having a non-linearity that is parameterized that way would make the learning objective non-convex in general, with interactions between the coefficients and the parameterization that could lead to identifiability issues. So, in general, it is non-trivial to the point that such a parametric model should not be considered a GLM anymore. If I were to implement it I would probably have a dedicated model class. For your case, I was trying to see if there were identifiability issues due to the multiplicative interaction of the soft plus parameter with the weights. I ended up with an objective only in the weights but I am not sure it is still convex. I'll post here my calculations, to have some records of it in case I'll end up implementing this model. For With Now, because you can absorb If you calculate the partial derivative of So, if you plug that in the previous equation, you get a likelihood purely in Any pair of Let me know if this makes sense to you! Cheers, |
Beta Was this translation helpful? Give feedback.
-
Within the framework, you can still define a grid of inverse link functions, one for each beta parameter you want to test, and use cross validation to select the non linearity! |
Beta Was this translation helpful? Give feedback.
-
Hi Edoardo, yes all makes sense! A grid of inverse link functions is indeed a very usable option to do this, which I'll most likely try. Having a learnt beta parameter has helped in larger deep learning models, where many neurons are fitted simultaneously. |
Beta Was this translation helpful? Give feedback.
-
Thanks!
Il giorno mar 24 set 2024 alle ore 12:01 Wolf De Wulf <
***@***.***> ha scritto:
… and here is the codebase for the winner, the learnable softplus is
explained there:
https://github.com/lRomul/sensorium
—
Reply to this email directly, view it on GitHub
<#217 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AG2MOS7Y54KMYQCDDLZ5LPTZYGEGXAVCNFSM6AAAAABNQ3HE6GVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANZUGEZTCMA>
.
You are receiving this because you commented.Message ID:
***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
-
This might be a pretty niche functionality request, but perhaps some other people want it as well.
There's already functionality for having a Softplus inverse link function.
I wonder if it would be hard to make the beta parameter learnt, just like the GLM weights.
It would change the parameter structure though...
Beta Was this translation helpful? Give feedback.
All reactions