Skip to content

How to stabilize h_estimate plz? Got very very large est_norm. #2

@CaptainCandy

Description

@CaptainCandy

I'm using a dataset contains airplanes and cars (910 train+390 test) from ImageNet, and trained several fine-tuned models including vgg16_bn, mobilenetv2, alexnet, resnet50. I tried to use this code to diagnose models by influence functions, but I found that it's really hard to make h_estimate stabilize or converge, which makes the influences output of a same test point different every time and makes top N influential train points varies every time.
The picture following is the results of h_estimate when I tried to calculate influence on a test point with resnet50. The original paper suggested that we make r*depth = len(trainset), and I have tried different combinations of r and depth. When the depth is big, like 500 (less than len(trainset)), the est_norm goes larger and larger and finally ends up with inf. So I keep depth small like 50 or 100, and make r large like 10 or 20. However, the est_norm still doesn't seem to converge. I would like to ask that is there any tricks to stabilize h_estimate? I'm really stuck here...
微信截图_20201118131839
Thank you very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions