Back

ANNet: A first-principles neural network for forward and inverse dynamics

Bahdasariants, S.; Parola, L.; Kacker, K.; Feldman, A. K.; Zdobinski, Z.; Kang, I.; Weber, D. J.

2026-06-08 neuroscience
10.64898/2026.06.03.729998 bioRxiv
Show abstract

Biological and robotic systems must solve two related computations to move: inverse dynamics, which determines the forces or torques needed to produce a desired movement, and forward dynamics, which maps applied forces to motion. Although these computations are coupled by the same equations of motion, they are usually estimated or implemented as distinct inverse and forward mappings, in both model-based and data-driven formulations. This separation can obscure the shared structure that constrains both problems. Here, we present ANNet, a physics-informed neural network that places both computations on a common learned representation by learning a single scalar quantity from classical mechanics--Appell acceleration energy. The network maps kinematic state and candidate accelerations to this scalar function, and inverse dynamics is obtained by differentiating the learned energy function with respect to acceleration to recover joint torques. Forward dynamics is then calculated without retraining by embedding the same learned energy landscape in an optimization objective whose unconstrained minimum satisfies the Gibbs- Appell equation. The resulting accelerations are integrated forward in time. We evaluate ANNet on a double pendulum paradigm. In trials unseen by the network during training, inverse and optimization-based forward simulations are real-time accurate. Our results provide a first-principles route for using a single learned representation to support both prediction and control. SignificanceRobots and animals must solve two problems to move: computing the forces or torques needed for a desired motion (inverse dynamics) and determining the motion produced by applied forces (forward dynamics), which are usually modeled separately. We show that both problems can be expressed using a single scalar function from classical mechanics, Appell acceleration energy. A neural network trained so that the derivative of this learned function matches reference joint torques performs inverse dynamics. The same network then computes forward dynamics by minimizing an objective built from the learned energy landscape, without retraining. This framework provides a unified representation for prediction and control in both neuroscience and robotics.

Matching journals

The top 6 journals account for 50% of the predicted probability mass.

1
PLOS Computational Biology
1863 papers in training set
Top 1%
18.3%
2
Frontiers in Computational Neuroscience
60 papers in training set
Top 0.1%
7.8%
3
eLife
5828 papers in training set
Top 13%
7.8%
4
Nature Communications
5641 papers in training set
Top 25%
6.2%
5
Journal of Neurophysiology
302 papers in training set
Top 0.7%
5.4%
6
Scientific Reports
3612 papers in training set
Top 21%
4.8%
50% of probability mass above
7
Biological Cybernetics
15 papers in training set
Top 0.1%
4.3%
8
eneuro
439 papers in training set
Top 2%
3.5%
9
Proceedings of the National Academy of Sciences
2444 papers in training set
Top 17%
3.2%
10
Neural Computation
39 papers in training set
Top 0.3%
3.1%
11
Neuron
337 papers in training set
Top 3%
2.4%
12
The Journal of Neuroscience
1025 papers in training set
Top 6%
2.4%
13
The Journal of Experimental Biology
17 papers in training set
Top 0.1%
2.4%
14
PLOS ONE
5266 papers in training set
Top 45%
2.1%
15
Journal of The Royal Society Interface
235 papers in training set
Top 2%
1.7%
16
Neural Networks
35 papers in training set
Top 0.3%
1.7%
17
Nature Neuroscience
252 papers in training set
Top 4%
1.3%
18
Journal of Neural Engineering
221 papers in training set
Top 2%
1.1%
19
Nature
645 papers in training set
Top 9%
1.0%
20
iScience
1154 papers in training set
Top 35%
0.8%
21
Frontiers in Artificial Intelligence
20 papers in training set
Top 0.8%
0.8%
22
Science Advances
1243 papers in training set
Top 31%
0.8%
23
Journal of Vision
110 papers in training set
Top 0.7%
0.8%
24
Frontiers in Neural Circuits
43 papers in training set
Top 0.8%
0.8%
25
Nature Methods
385 papers in training set
Top 6%
0.8%
26
Cell
431 papers in training set
Top 11%
0.6%
27
PRX Life
42 papers in training set
Top 1%
0.6%
28
Cell Reports
1498 papers in training set
Top 29%
0.6%
29
Proceedings of the Royal Society B: Biological Sciences
393 papers in training set
Top 7%
0.6%
30
Nature Machine Intelligence
70 papers in training set
Top 3%
0.6%