Skip to content

Confusion about Gradient-based Relevance Computation #4

Description

@712Zch

Could you please explain the formula for Gradient-based Relevance Computation in more detail, I notice you have explained in your blog.
Part code:

z = self.layer.forward(a) + self.eps
        s = (r / z).data
        (z * s).sum().backward()
        c = a.grad
        r = (a * c).data

Part formula:
image

There are some questions:

  1. Why wij can represent by
    image, and the i' represents what.
    2.sj is also an equation about a, sj is treated as a constant is not correct.
    3.What is the relationship between zj(a; w) and image.

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