Skip to content

Question about weight_decay interaction with fraction #120

Description

Hello,

Thanks for making this wonderful work available.

I have a question regarding the interaction between weight_decay and ortho_fraction in Dion3. weight_decay is applied to the whole weight matrix whereas scatter_add_ is applied on the top_k. configs/dion3_160m.yaml and configs/normuon_160m.yaml kept weight_decay constant, but I want to understand whether there's a need to scale weight_decay for consistency between Dion3 with ortho_fraction<1 and NorMuon. Would the weight_decay need to be smaller when using a small ortho_fraction since rows are decayed more often than they are selected?

I intended to do hyperparameter tuning, but the recommendation is to use a larger ortho_fraction for smaller model, and a larger one for large models. Would the optimal hyperparameters shift with the change in ortho_fraction and what is your recommendation?

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions