Skip to content

Self-supervised TICA #193

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

Kai-Zhu-2001
Copy link

Description

While DeepTICA attempts to directly optimize the entire TICA objective, this often results in unstable training dynamics. Alternatively, a self-supervised learning framework that first learns a representation (i.e., model output) and subsequently applies TICA to be more stable and can produce more reliable and physically meaningful collective variables.

The CV implementation can be found in mlcolvar/cvs/timelagged/selftica.py. The training procedure is quite similar to that of DeepTICA; however, the TICA computation is not performed during the forward pass of training—it is only applied during inference. The corresponding loss functions are located in mlcolvar/core/loss/regspectral_loss.py.

Todos

  • Check everything
  • Write documentation and a tutorial

Questions

  • Since self-supervised learning only provides a representation, the forward pass does not include the actual TICA step—so the output cannot be directly used as a CV. In my code, I registered a buffer to store the TICA eigenvectors during training and then use them during inference. Could you check if there is a better implementation?
  • Is it reasonable to name the method SelfTICA?
  • Because the master branch of mlcolvar has not yet implemented GNN, I did not upload the GNN codes.

Status

  • Ready to go

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

Successfully merging this pull request may close these issues.

1 participant