Views
No views yet
| Dataset | Backbone | Forget benchmark | Original | Retrained | EC modules | Final EC model |
|---|---|---|---|---|---|---|
| ImageNet-1K | ResNet-50 | Random-100 | imagenet1k/resnet50/original.pth.tar | imagenet1k/resnet50/retrained_random100.pth.tar | imagenet1k/resnet50/ec_modules.tar | imagenet1k/resnet50/ec_unlearned_random100.tar |
| ImageNet-1K | ResNet-50 | Top-100/CUB | imagenet1k/resnet50/original.pth.tar | imagenet1k/resnet50/retrained_top100_cub.pth.tar | imagenet1k/resnet50/ec_modules.tar | imagenet1k/resnet50/ec_unlearned_top100_cub.tar |
| CIFAR-100 | ResNet-50 | Random-10 | cifar100/resnet50/original_cifar100.tar | cifar100/resnet50/retrained_cifar100_random10.tar | cifar100/resnet50/ec_modules_cifar100.tar | cifar100/resnet50/ec_unlearned_random10.tar |
| ImageNet-1K | Swin-Tiny | Random-100 | imagenet1k/swin/original_swin.tar | imagenet1k/swin/retrained_swin_random100.tar | imagenet1k/swin/ec_modules_swin.tar | imagenet1k/swin/ec_unlearned_swin_random100.tar |
1python -m pip install -U huggingface_hub
2hf auth login # only for private or gated access1export HF_REPO_ID="Jeckmu/Erase-at-the-Core"
2hf download "$HF_REPO_ID" --local-dir ./checkpoints1hf download "$HF_REPO_ID" \
2 imagenet1k/resnet50/original.pth.tar \
3 imagenet1k/resnet50/retrained_random100.pth.tar \
4 imagenet1k/resnet50/ec_unlearned_random100.tar \
5 --local-dir ./checkpoints--revision <commit-or-tag> for a version-pinned download and --dry-run
to inspect the transfer before downloading..env.example to .env, set
CHECKPOINT_ROOT=./checkpoints, and source it:1cp .env.example .env
2set -a
3source .env
4set +a.env.example.1bash scripts/pretrain.sh ec-resnet
2bash scripts/pretrain.sh ec-cifar
3bash scripts/pretrain.sh ec-swinec_modules*.tar file, then run one of:1bash scripts/run_unlearning.sh imagenet-random100-resnet50
2bash scripts/run_unlearning.sh imagenet-top100-resnet50
3bash scripts/run_unlearning.sh cifar100-random10-resnet50
4bash scripts/run_unlearning.sh imagenet-random100-swin-tiny1bash scripts/evaluate.sh table \
2 imagenet-random100-resnet50 \
3 "$RANDOM100_EC_UNLEARNED_CKPT"table, idi, layerwise-cka, and
tsne evaluation modes.state_dict; some also contain the epoch, optimizer/scheduler state, best
metric, or stored evaluation results. The .tar suffix is a historical
checkpoint filename and does not mean that the file should be extracted.1import torch
2
3payload = torch.load(
4 "checkpoints/imagenet1k/resnet50/ec_modules.tar",
5 map_location="cpu",
6)
7state_dict = payload["state_dict"]
8state_dict = {
9 key.removeprefix("module."): value
10 for key, value in state_dict.items()
11}DataParallel
prefixes. The checkpoints are not packaged for transformers.AutoModel or the
hosted Inference API.Swin_contrastive_auxheadfc.py with no
layer-wise cross-entropy on intermediate EC heads:1cu_head_weights = 0.2,0.4,0.8,1.0
2ce_head_weights = 0,0,0,1SHA256SUMS contains hashes for all 14 model files, and
checkpoint_manifest.json records their roles, byte sizes, and checkpoint
metadata. Verify a downloaded bundle with:1cd checkpoints
2sha256sum -c SHA256SUMS1@article{lee2026erase,
2 title = {Erase at the Core: Representation Unlearning for Machine Unlearning},
3 author = {Lee, Jaewon and Kim, Yongwoo and Kim, Donghyun},
4 journal = {arXiv preprint arXiv:2602.05375},
5 year = {2026},
6 doi = {10.48550/arXiv.2602.05375},
7 url = {https://arxiv.org/abs/2602.05375}
8}