Adding a simple yet powerful and universal approach of unlearning that is compatible with all kinds of model #12
Replies: 1 comment 3 replies
-
this code is just low level design of the whole process. it can be used as the reference and nothing more than that.
this lld also needs work arounds, consider various edge cases, the case about the datasets being of different types and also its not clear how the model is being passed, it might seem ok when looked at first, but there are underlying conditions to do so, work on those cases too, we can make use of this to generally unlearn the models, but you have to do more work on this, first lets discuss with everyone if at all its ok if we go with this, and i dont know if you have realised yet, that it is a framework, sure this can also be a part given that we provide all that is required to make it work. and let me tell you again, what you are giving is just an lld as i can see, its so brief, it seems simple but it is not complete and not even close and we should not assume the results of this being powerful. dont assume anything in softwares and mostly dont assume how the framework is going to be used by the user, work more on it. but also keep the track of what is currently going on with the project. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
``class ModelUpdater:
def init(self, model):
self.model = model
``
The code takes the model that's been trained.
The code unlearns the data by deleting the data and retraining it.
Why this?
It achieves perfect unlearning that doesn't compromise security (membership inference attacks).
The model used to train is also the model used to untrain, this way it is compatible with all kinds of model be it:
Model agnostic.
Model intrinsic.
Data intrinsic.
Since most of the implementation is done in learning part it makes this approach more powerful by simply inheriting most of it.
Beta Was this translation helpful? Give feedback.
All reactions