Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stabilizing Training with Small Batch Sizes using Exponential Moving Average (EMA) #217

Open
Franklalalala opened this issue Nov 7, 2024 · 0 comments

Comments

@Franklalalala
Copy link
Collaborator

Background

Small batch sizes are commonly used in Hamiltonian AI training, as seen in the universal DeepH. However, this approach can lead to violent updates of model parameters.

Specific Observation (DeepTB on QH9 Dataset with Batch Size=1):
Image

Describe the solution you'd like

Address the existing TODO regarding EMA implementation to ensure consistent training behavior across related projects.

Additional Context

This approach is already integrated into QHNet as a default setting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant