Question on implementing a new sampling method #699
vineetbansal
started this conversation in
General
Replies: 1 comment 2 replies
-
Hi @vineetbansal Your general approach sounds correct. From scanning the paper, I see a Vendi force in the atomic equation of motion of eq. 12. This looks like it should be a derivative wrt. atomic positions. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
Sorry if this is not the correct place for this question, but I'm working on implementing Vendi Sampling on LAMMPS (and hopefully GROMACS too), from a prototype Python implementation.
The basic idea is that in a multi-replica simulation, the atomic positions in the replicas are inspected, evaluated for "diversity" (w.r.t centered/rotated reference positions), and go through an algorithm that gives us a scalar value called the "Vendi Score", the collective potential energy of the ensemble.
I'm trying to understand how to approach this from a development perspective. My understanding so far on reading on LAMMPS and the Colvars module is, that a suitable plan for development might be:
vendi_sampling
), a class that is a child ofcolvarbias
, much along the lines ofmetadynamics
, with file-based communication between replicas, and something that outputs energy in itscalc_energy
method. (calc_forces
cannot, and need not return anything meaningful since we do not have derivatives of energy w.r.t. the atomic positions).The resulting colvar configuration might look something like this:
fix_modify
command to run the simulation. The documentation onfix_modify
states:So this might look something like:
I'm a software engineer with no background in MD before this, so I'm wondering if someone can review this general plan and see if makes sense? Or perhaps there's a simpler way?
Beta Was this translation helpful? Give feedback.
All reactions