Repository navigation
Introduce NeRD and its tradeoffs in the neural dynamics how-to - #9224
Conversation
Name the acronym in the page title and the how-to index entry, and define it on first use. Add when a model is a good fit, the tradeoffs to expect, and which part of the simulation a model replaces under each of the two physics presets.
There was a problem hiding this comment.
Isaac Lab Review Bot
Needs attention: Style consistency (3). Other reviewed categories look good.
- PR description: Title and body match the two-file documentation scope; qualify “fixed cost” or supply baseline/candidate revisions, workload, hardware, backend, runtime environment, environment counts, warmup, and inference-latency measurements.
- Design and architecture: Architecture looks good.
- Scope and over-engineering: No over-engineering issues.
- API: API changes look good.
- Compatibility and deprecation: No breaking changes identified.
- Implementation: Implementation looks good.
- Style consistency: The blanket solver-replacement statement contradicts the hybrid-mode explanation; qualify the introduction so it covers both full replacement and free-motion prediction.
- Test quality: Test quality looks good.
Minor fixes needed. Posted 3 inline findings.
Automated review; human maintainers own approval decisions.
| :doc:`Training on neural robot dynamics (NeRD) </source/how-to/neural_robot_dynamics>` | ||
|
|
||
| Record robot trajectories from a task, train a neural dynamics model, and train RL policies on it. | ||
| Record robot trajectories from a task, train a neural robot dynamics (NeRD) model, and train RL policies on it. |
There was a problem hiding this comment.
🟡 Warning · Style Consistency — Avoid repeating the acronym expansion
The entry title directly above already expands NeRD. Repeating the expansion in the summary adds no information; call it a “NeRD model” there.
| The optional ``newton-neural`` integration records robot dynamics, fits a model and runs policies | ||
| through Newton's existing lifecycle. Install it with ``uv sync --extra newton-neural``. | ||
| A neural robot dynamics (NeRD) model is a neural network that predicts how one robot moves. It is | ||
| trained on trajectories recorded from a physics solver and then steps that robot in the solver's place. |
There was a problem hiding this comment.
🟡 Warning · Style Consistency — Qualify solver replacement
The hybrid mode below still uses MuJoCo Warp to solve contacts, so the model does not step the robot wholly in the solver’s place. Describe both modes without implying full replacement.
|
|
||
| Reinforcement learning needs a large number of simulation steps, and the physics step is often what | ||
| limits it: resolving contact accurately takes small substeps and iterative constraint solves in every | ||
| environment. A NeRD model advances the robot in all environments with one forward pass of fixed cost. |
There was a problem hiding this comment.
🟡 Warning · Style Consistency — Remove fixed-cost inference claim
“One forward pass of fixed cost” implies total cost stays fixed as environment count grows; the hybrid mode also retains contact solving. Describe batched inference without promising fixed total cost.
[Low impact] This documentation-only PR appears safe to merge. SummaryThis documentation-only change introduces neural robot dynamics (NeRD) before the configuration details.
Reviews (1) · Last reviewed commit: "Introduce NeRD and its tradeoffs in the ..." · Reviewed by Greptile |
|
we might need to update the docs in your PR about evaluation with whatever solution we end up there. |
|
run-ci |
|
Backported to |
# Description The neural robot dynamics how-to used the NeRD acronym (`NeRDCfg`, `NeRDTrainingCfg`) without ever naming it, and went from one sentence straight into configuration details. This change: - Names the acronym in the page title and in the how-to index entry, and defines it on first use. - Adds "When to train on a model": what a model speeds up, when it is a good fit, and the tradeoffs to expect. - Adds "What the model replaces": a model replaces the dynamics solve of one robot, not the renderer or the rest of the simulation, and how that differs between `physics=newton_nerd` and `physics=newton_mjwarp_nerd`. Documentation only; no behavior changes. ## Type of change - Documentation update ## Release backport - [x] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `main` ## Checklist Docker and GPU tests run on demand. Push the commits you want tested, then comment `run-ci` on the pull request, or `run-ci ovstage` to include kitless OVStage rendering tests for that run. Subsequent pushes and plain `run-ci` comments do not run OVStage tests unless you comment `run-ci ovstage` again. - [x] I have read and understood the [contribution guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html) - [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with `uv run isaaclab --format` - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have validated the changed behavior with focused coverage and applied the [test-audit criteria](https://github.com/isaac-sim/IsaacLab/blob/HEAD/skills/developer/test-audit/SKILL.md) to any test changes (not applicable: no behavior or test changes) - [ ] I have added a changelog fragment under `source/<pkg>/changelog.d/` for every touched package (not applicable: no source package is touched) - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there (cherry picked from commit 3dbc052)
Description
The neural robot dynamics how-to used the NeRD acronym (
NeRDCfg,NeRDTrainingCfg) without ever naming it, and went from one sentence straight into configuration details.This change:
physics=newton_nerdandphysics=newton_mjwarp_nerd.Documentation only; no behavior changes.
Type of change
Release backport
mainChecklist
Docker and GPU tests run on demand. Push the commits you want tested, then
comment
run-cion the pull request, orrun-ci ovstageto include kitless OVStage rendering tests for that run.Subsequent pushes and plain
run-cicomments do not run OVStage tests unless you commentrun-ci ovstageagain.pre-commitchecks withuv run isaaclab --formatsource/<pkg>/changelog.d/for every touched package (not applicable: no source package is touched)CONTRIBUTORS.mdor my name already exists there