Skip to content

[UNLEARNING+EVALS] Run continuous unlearning for a longer time to see what's gonna happen compared to batch & seq. #75

Description

@TheRootOf3

So far, we've run continuous unlearning for up to 1200 steps (eq. 2400 samples), while sequential and batch ran for longer, leading to more optimiser steps. A corresponding ablation study should be performed, where continuous unlearning runs for more optimiser steps.

Now, the following are worth noting:

  • Sequential (a | b | c | d) x n
    • the number of steps is invariant of the number of splits into which the entire unlearn set is divided. Hence, if divided into more splits, then each split will be unlearnt for less steps.
    • Unlearning smaller dataset -> less steps (scaled linearly with the dataset size) (as expected)
    • E.g.
      • ds 1024, split 64, batch size 4, epoch 20 -> 1024/4*20 = 5120 -> each split unlearned 1024/4/64 = 4 time
      • ds 1024, split 16, batch size 4, epoch 20 -> 1024/4*20 = 5120 -> each split unlearned 1024/4/16 = 16 times
      • ds 512, split 64, batch size 4, epoch 20 -> 512/4*20 = 2560 -> each split unlearned 512/4/64 = 2 times
  • Batch (abcd) x n
    • Similarly to sequential, number of steps scales linearly with the dataset size (as expected).
    • The number of batch steps is the same as sequential steps for the same dataset size!
    • E.g.
      • ds 1024, batch size 4, epoch 20 -> 20*256 = 5120
      • ds 512, batch size 4, epoch 20 -> 20*128 = 2560
  • Continuous (abcdef…)
    • Ran up to 1200 steps (batch size 2, hence equivalent 2400 samples).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions