Skip to main content

An Error-Based Addressing Architecture for Dynamic Model Learning

  • Conference paper
  • First Online:
Machine Learning, Optimization, and Data Science (LOD 2020)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 12566))

  • 1292 Accesses

Abstract

We present a distributed supervised learning architecture, which can generate trajectory data conditioned by control commands and learned from demonstrations. The architecture consists of an ensemble of neural networks (NNs) which learns the dynamic model and a separate addressing NN that decides from which NN to draw a prediction. We introduce an error-based method for automatic assignment of data subsets to the ensemble NNs for training using the loss profile of the ensemble. Our code is publicly available (Code: https://github.com/NicoBach/distributed-dynamics-model).

N. Bach and A. Melnik—Equal contribution.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 99.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 129.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Van Dijk, T.A., Kintsch, W., et al.: Strategies of Discourse Comprehension. Academic Press, New York (1983)

    Google Scholar 

  2. Holden, D., Komura, T., Saito, J.: Phase-functioned neural networks for character control. ACM Trans. Graph. (TOG) 36(4), 42 (2017)

    Article  Google Scholar 

  3. Fort, S., Hu, H., Lakshminarayanan, B.: Deep ensembles: a loss landscape perspective (2019). arXiv preprint arXiv:1912.02757

  4. Pavllo, D., Grangier, D., Auli, M.: Quaternet: a quaternion-based recurrent model for human motion (2018). arXiv preprint arXiv:1805.06485

  5. Peng, X.B., Abbeel, P., Levine, S., van de Panne. , M.: Deepmimic: example-guided deep reinforcement learning of physics-based character skills. ACM Trans. Graph. (TOG), 37(4), 1–14 (2018)

    Google Scholar 

  6. Kidziński, Ł., et al.: Learning to run challenge solutions: adapting reinforcement learning methods for neuromusculoskeletal environments. In: The NIPS’17 Competition: Building Intelligent Systems, pp. 121–153. Springer (2018)

    Google Scholar 

  7. Schilling, M., Melnik, A.: An approach to hierarchical deep reinforcement learning for a decentralized walking control architecture. In: Samsonovich, A.V. (ed.) BICA 2018. AISC, vol. 848, pp. 272–282. Springer, Cham (2019). https://doi.org/10.1007/978-3-319-99316-4_36

    Chapter  Google Scholar 

  8. Melnik, A., Fleer, S., Schilling, M., Ritter, H.: Modularization of end-to-end learning: case study in arcade games (2019). arXiv preprint arXiv:1901.09895

  9. Haruno, M., Wolpert, D.M., Kawato, M.: Mosaic model for sensorimotor learning and control. Neural Comput. 13(10), 2201–2220 (2001)

    Google Scholar 

  10. Konen, K., Korthals, T., Melnik, A., Schilling, M.: Biologically-inspired deep reinforcement learning of modular control for a six-legged robot. In: 2019 IEEE International Conference on Robotics and Automation Workshop on Learning Legged Locomotion Workshop, (ICRA) 2019, 20–25 May 2019, Montreal, CA (2019)

    Google Scholar 

  11. Moore, A.W.: Efficient memory-based learning for robot control (1990)

    Google Scholar 

  12. Kingma, D.P., Ba, J.: Adam: a method for stochastic optimization (2014). arXiv preprint arXiv:1412.6980

  13. Sutton, R.S.: Generalization in reinforcement learning: successful examples using sparse coarse coding. In: Advances in Neural Information Processing Systems, pp. 1038–1044 (1996)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Nicolas Bach .

Editor information

Editors and Affiliations

A Appendix - Performance of the Architecture in the Acrobot Environment

A Appendix - Performance of the Architecture in the Acrobot Environment

The prediction generated by the addressing NN and the losses computed between the output of the ensemble models and the target outputs correlated as designed, resulting in a \(77.5\%\) overlap between addressing NN prediction and minimal loss. Figure 8 shows this correlation. The distribution of about 200,000 data points is approximately uniform, excluding \(model\ 3\) and \(model\ 7\). In theory, each model should perform on 25,000 data points, which is mostly the case. The addressing network performs slightly worse in terms of uniformity, having also \(model\ 1\) as an additional outlier. The reasons for that are hypothesized in the discussion.

Fig. 8.
figure 8

data points per model in terms of distribution by minimal loss and by prediction.

Fig. 9.
figure 9

Mean losses of all data points per ensemble model (right column) and of the distributed data points per ensemble model (left column). Additionally, mean losses for three fully connected neural networks. (right: focus on the distributed losses)

Fig. 10.
figure 10

Losses of the distributed data points.

In Fig. 11, we can observe the prediction of the addressing NN when distributing data points over models. On the x-axis the predicted values are divided into intervals of [0, ..., 0.1], [0.1, ..., 0.2] and so forth. The shown x-value represents the upper bound of the interval. The accumulated number of points in the corresponding interval is shown on the y-axis. Most of the data points get distributed between a value of 0.9 to 1.0 in all models.

Additionally, Fig. 10 shows the losses of the distributed data points. After the data points get distributed in clusters by the addressing NN, the chosen models perform a forward step on these data points and the L1-loss is computed. They again get subdivided into ten equally sized intervals, ranging from lowest to highest loss per model. As we can see, most data points fall into the first interval with the lowest upper bound.

Fig. 11.
figure 11

Prediction values of the addressing neural network for data points for distributing them over the 8 models.

Next, we calculate the mean loss over the training data, as well as the mean loss over the clusters of training data provided by the sorting process for each ensemble network. For comparing the performance of the architecture to traditionally used feed-forward NNs, we also trained three fully connected models with three hidden layers of different sizes per model on the same training data. The training duration and optimizer settings were the same as for the architecture, but the activation function was changed to ReLu. Then the mean loss was computed for each of the three models over the whole training data. In Fig. 9, this can be observed. The performance of each ensemble model over the whole training data is worse than the fully connected models, although they exhibit a lower mean loss on each of the sorted training clusters. Furthermore, a low loss on the specific training cluster corresponds to a high loss on all training data.

In Fig. 9 we show, that the architecture is able to outperform basic NNs, which are trained on all training data points. Specialized models had a bigger mean loss over the complete training set. However, the mean loss over the clusters of training data provided by the sorting process for each subnetwork could be shown to be lower (see Fig. 9). The training process of the NN architecture could, therefore, be interpreted as more sample efficient as the commonly used training procedure because the subnetworks were trained on a lower number of data points due to the sorting mechanism. The here developed technique could also dynamically subdivide training data into coherent clusters, such that the subnetworks learned specific parts of the dynamics, which an environment can provide.

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Bach, N., Melnik, A., Rosetto, F., Ritter, H. (2020). An Error-Based Addressing Architecture for Dynamic Model Learning. In: Nicosia, G., et al. Machine Learning, Optimization, and Data Science. LOD 2020. Lecture Notes in Computer Science(), vol 12566. Springer, Cham. https://doi.org/10.1007/978-3-030-64580-9_51

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-64580-9_51

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-64579-3

  • Online ISBN: 978-3-030-64580-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics