Skip to content

Removing layer privileging in the importance loss #8

Description

@danbraunai

Migrated from: goodfire-ai/spd-gf#56
Original author: @leesharkey


Removing layer privileging in the importance loss using the learned linear transformation proposed by Lucius

Currently, SPD and APD both privilege layers. We think this has been okay for the small models that we've trained things on, but in general some networks might not privilege layers strongly enough for this to be a valid thing to do. We can't, for instance, rule out the possibility that we struggle to get things working on resid-mlp with more than 3 layers is due to this issue.

Lucius proposed some scheme to avoid this involving learning a linear transformation that would take as input the causal importances and transform them in some way such that the final causal importance loss does not privilege layers but where we still get to penalize causal importances of the subcomponents. I assume this transformation needs to be constrained to have certain properties (otherwise it can just learn to be a matrix of all zeros, which would minimize the causal importance loss).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority: InUImportant & not Urgentexp/investigationA research investigation or experimentfeatureNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions