{"id":201078,"date":"2024-12-09T18:08:50","date_gmt":"2024-12-10T00:08:50","guid":{"rendered":"https:\/\/lifeboat.com\/blog\/2024\/12\/training-all-mechanical-neural-networks-for-task-learning-through-in-situ-backpropagation"},"modified":"2024-12-09T18:08:50","modified_gmt":"2024-12-10T00:08:50","slug":"training-all-mechanical-neural-networks-for-task-learning-through-in-situ-backpropagation","status":"publish","type":"post","link":"https:\/\/lifeboat.com\/blog\/2024\/12\/training-all-mechanical-neural-networks-for-task-learning-through-in-situ-backpropagation","title":{"rendered":"Training all-mechanical neural networks for task learning through in situ backpropagation"},"content":{"rendered":"<p><a class=\"aligncenter blog-photo\" href=\"https:\/\/lifeboat.com\/blog.images\/training-all-mechanical-neural-networks-for-task-learning-through-in-situ-backpropagation.jpg\"><\/a><\/p>\n<p>Another well-known method for physical learning is Equilibrium Propagation (EP), sharing similar procedure with coupled learning and being able to define the arbitrary differentiable loss function<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 32\" title=\"Scellier, B. & Bengio, Y. Equilibrium propagation: Bridging the gap between energy-based models and backpropagation. Front. Comput. Neurosci. 11, 24 (2017).\" href=\"https:\/\/www.nature.com\/articles\/s41467-024-54849-z#ref-CR32\" id=\"ref-link-section-d9692283e449\">32<\/a><\/sup>. This method has been demonstrated in various physical systems, numerically in nonlinear resistor networks<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 33\" title=\"Kendall, J., Pantone, R., Manickavasagam, K., Bengio, Y., Scellier, B. Training End-to-End Analog Neural Networks with Equilibrium Propagation (2020). https:\/\/arxiv.org\/abs\/2006.01981 \" href=\"https:\/\/www.nature.com\/articles\/s41467-024-54849-z#ref-CR33\" id=\"ref-link-section-d9692283e453\">33<\/a><\/sup> and coupled phase oscillators<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 34\" title=\"Wang, Q., Wanjura, C.C., Marquardt, F. Training Coupled Phase Oscillators as a Neuromorphic Platform using Equilibrium Propagation (2024). https:\/\/arxiv.org\/abs\/2402.08579 \" href=\"https:\/\/www.nature.com\/articles\/s41467-024-54849-z#ref-CR34\" id=\"ref-link-section-d9692283e457\">34<\/a><\/sup>, experimentally on Ising machines<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 35\" title=\"Laydevant, J., Markovi\u0107, D. & Grollier, J. Training an ising machine with equilibrium propagation. Nat. Commun. 15, 3671 (2024).\" href=\"https:\/\/www.nature.com\/articles\/s41467-024-54849-z#ref-CR35\" id=\"ref-link-section-d9692283e461\">35<\/a><\/sup>.<\/p>\n<p>So far, the MNNs based on the physical learning have been developed using the platform of origami structures<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 28\" title=\"Stern, M., Arinze, C., Perez, L., Palmer, S. E. & Murugan, A. Supervised learning through physical changes in a mechanical system. Proc. Natl Acad. Sci. 117, 14843&ndash;14850 (2020).\" href=\"https:\/\/www.nature.com\/articles\/s41467-024-54849-z#ref-CR28\" id=\"ref-link-section-d9692283e468\">28<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 36\" title=\"Arinze, C., Stern, M., Nagel, S. R. & Murugan, A. Learning to self-fold at a bifurcation. Phys. Rev. E 107, 025001 (2023).\" href=\"https:\/\/www.nature.com\/articles\/s41467-024-54849-z#ref-CR36\" id=\"ref-link-section-d9692283e471\">36<\/a><\/sup> and disordered networks<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 29\" title=\"Stern, M., Hexner, D., Rocks, J. W. & Liu, A. J. Supervised learning in physical networks: From machine learning to learning machines. Phys. Rev. X 11, 021045 (2021).\" href=\"https:\/\/www.nature.com\/articles\/s41467-024-54849-z#ref-CR29\" id=\"ref-link-section-d9692283e475\">29<\/a>,<a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 37\" title=\"Stern, M., Liu, A. J. & Balasubramanian, V. Physical effects of learning. Phys. Rev. E 109, 024311 (2024).\" href=\"https:\/\/www.nature.com\/articles\/s41467-024-54849-z#ref-CR37\" id=\"ref-link-section-d9692283e478\">37<\/a><\/sup> to demonstrate machine learning through simulations. The experimental proposals involve using directed springs with variable stiffness<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 38\" title=\"Patil, V.P., Ho, I., Prakash, M. Self-learning mechanical circuits (2023). https:\/\/arxiv.org\/abs\/2304.08711 \" href=\"https:\/\/www.nature.com\/articles\/s41467-024-54849-z#ref-CR38\" id=\"ref-link-section-d9692283e482\">38<\/a><\/sup> and manually adjusting the rest length of springs<sup><a data-track=\"click\" data-track-action=\"reference anchor\" data-track-label=\"link\" data-test=\"citation-ref\" aria-label=\"Reference 31\" title=\"Altman, L. E., Stern, M., Liu, A. J. & Durian, D. J. Experimental demonstration of coupled learning in elastic networks. Phys. Rev. Appl. 22, 024053 (2024).\" href=\"https:\/\/www.nature.com\/articles\/s41467-024-54849-z#ref-CR31\" id=\"ref-link-section-d9692283e486\">31<\/a><\/sup>.<\/p>\n<p>Here, we present a highly-efficient training protocol for MNNs through mechanical analogue of in situ backpropagation, derived from the adjoint variable method, in which theoretically the exact gradient can be obtained from only the local information. By using 3D-printed MNNs, we demonstrate the feasibility of obtaining the gradient of the loss function experimentally solely from the bond elongation of MNNs in only two steps, using local rules, with high accuracy. Besides, leveraging the obtained gradient, we showcase the successful training in simulations of a mechanical network for behaviors learning and various machine learning tasks, achieving high accuracy in both regression and Iris flower classification tasks. The trained MNNs are then validated both numerically and experimentally. In addition, we illustrate the retrainability of MNNs after switching tasks and damage, a feature that may inspire further inquiry into more robust and resilient design of MNNs.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Another well-known method for physical learning is Equilibrium Propagation (EP), sharing similar procedure with coupled learning and being able to define the arbitrary differentiable loss function32. This method has been demonstrated in various physical systems, numerically in nonlinear resistor networks33 and coupled phase oscillators34, experimentally on Ising machines35. So far, the MNNs based on the [\u2026]<\/p>\n","protected":false},"author":661,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-201078","post","type-post","status-publish","format-standard","hentry","category-robotics-ai"],"_links":{"self":[{"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/posts\/201078","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/users\/661"}],"replies":[{"embeddable":true,"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/comments?post=201078"}],"version-history":[{"count":0,"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/posts\/201078\/revisions"}],"wp:attachment":[{"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/media?parent=201078"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/categories?post=201078"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lifeboat.com\/blog\/wp-json\/wp\/v2\/tags?post=201078"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}