Add mixture-of-experts latent dynamics and stronger dynamics experiment bundle - #1
Open
abelobsenz wants to merge 1 commit into
Open
Add mixture-of-experts latent dynamics and stronger dynamics experiment bundle#1abelobsenz wants to merge 1 commit into
abelobsenz wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
Description
IVDynamicsTorchModelby addingModelConfig.dynamics_n_expertsand emitting a dynamics head of sizelatent_dim * n_expertswhenn_experts > 1.forward_dynamics, keeping behavior identical whenn_experts == 1.dynamics_n_expertsthrough the training plumbing viaTrainingConfigand the CLI (--dynamics-n-experts), and persisteddynamics_n_expertsin the training summary metadata.dynamics_bundleexperiment recipe in the plan to push longer-horizon learning by settingdynamics_n_experts=4, multi-step rollouts (rollout_steps=3),rollout_random_horizon=True, scheduled sampling (rollout_teacher_forcing_start/end), and largerrollout_surface_lambda.Testing
python -m compileall ivdynsuccessfully to ensure the modified modules compile without syntax errors.python -m ivdyn train --help | rg -n "dynamics-n-experts|rollout-teacher-forcing"andpython -m ivdyn experiment-plan --help | rg -n "dynamics-n-experts", which confirmed the new flags and bundle settings are present.python -m ivdyn --helpto ensure the package CLI remained functional.dataset.npzwere not executed because no local dataset file was available in the environment, so empirical improvement vs the tree baseline should be validated by running the updateddynamics_bundleon a representative dataset (recommended: runpython -m ivdyn experiment-plan --executeorpython -m ivdyn train ... --dynamics-n-experts 4with your dataset).Codex Task