Gradient Detection

Gradient Detection methods localize influential internal objects by scoring them with the sensitivity of a scalar target $F(x)$ (e.g., a logit, margin, or loss) with respect to an object $o_j$: $s_j(x) = \phi(\nabla_{o_j} F(x), o_j)$, where common instantiations include the gradient norm $s_j = \|\nabla_{o_j} F(x)\|$ and the gradient-input score $s_j = \nabla_{o_j} F(x)^\top o_j$. These scores serve as fast, first-order proxies for intervention effects.

zjunlp b3c9676 2 files · 4.4 KB Updated

File contents

zjunlp/mechanist/tree/main/skills/mechanism-skills/gradient-detection commit b3c967630d

Frequently asked questions

npx skillmds@latest add zjunlp/gradient-detection