8000 The meaning of the "rank" of feature maps. · Issue #13 · lmbxmu/HRank · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000
The meaning of the "rank" of feature maps. #13
Open
@PlumedSerpent

Description

@PlumedSerpent

Thanks for your excellent work! When I try to reproduce HRank in other networks, I found an interesting result:

  1. When I applied torch.matrix_rank to a network with leaky_relu, it turns out that all channels almost have the same rank and the rank is always full. At first, I thought the reason is the network I used is not redundant.
  2. Then, I applied torch.matrix_rank to the resnet56-cifar10 network in your repository, and I found it works fine. However, if I move the torch.matrix_rank function to the BN layer (i.e. before ReLU Layer), the ranks also become the same full rank!
  3. Hence, I put an extra ReLU Layer after the origin 4D47 al Leaky_ReLU in my own network, and the ranks behave normally, i.e. some channels have high ranks and other channels have low ranks.
    So I'm curious about two things:
  4. What is the meaning of low rank or even zero rank? It seems not to be related to the amount of information, and only represents the mean activation distribution.
  5. Is it reasonable if I calculate rank by adding an extra ReLU layer?

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

      0