선정목록으로
Supervised Learning in Physical Networks: From Machine Learning to Learning Machines
간접 관련 엔지니어링 플라스틱 · (23) 컴파운드 (10) 아라미드(17) 스펀본드 부직포
기본 정보
- 저자
- DOI
- 10.1103/physrevx.11.021045
- 저널
- Physical Review X
- 발행년도
- 2021
- 발행기관
- American Physical Society
- 피인용수
- 45
- 라이선스
- cc-by
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1103/physrevx.11.021045
- 토픽
- Fuel Cells and Related Materials
- OpenAlex ID
- W3105568359
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 엔지니어링 플라스틱 · (23) 컴파운드
- 부 분야
- (10) 아라미드, (17) 스펀본드 부직포
- R&D 측면
- 분석·모델링
- 확신도
- 0.70
- 근거 용어
- mechanical metamaterials, elastic networks, flow networks, smart metamaterials, local learning rules
- 판단 근거
- 물리적 네트워크(탄성 및 유체 흐름)가 외부 자극에 따라 스스로 기능을 최적화하는 '스마트 메타물질' 설계 원리를 다루고 있습니다.
- R&D 활용 포인트
- 고강도 섬유나 복합소재(컴파운드) 설계 시, 미세 구조의 국부적 변화를 통해 전체 시스템의 물성(강성, 탄성 등)을 제어하는 최적화 모델링 기법으로 응용 가능합니다.
- 평가 입력
- 본문 108,282자 중 30,032자 발췌
초록
Materials and machines are often designed with particular goals in mind, so that they exhibit desired responses to given forces or constraints. Here we explore an alternative approach, namely physical coupled learning. In this paradigm, the system is not initially designed to accomplish a task, but physically adapts to applied forces to develop the ability to perform the task. Crucially, we require coupled learning to be facilitated by physically plausible learning rules, meaning that learning requires only local responses and no explicit information about the desired functionality. We show that such local learning rules can be derived for any physical network, whether in equilibrium or in steady state, with specific focus on two particular systems, namely disordered flow networks and elastic networks. By applying and adapting advances of statistical learning theory to the physical world, we demonstrate the plausibility of new classes of smart metamaterials capable of adapting to users’ needs in situ.
본문 108,282자
본문 펼치기
Supervised Learning in Physical Networks:
From Machine Learning to Learning Machines
Menachem Stern <sup>1</sup>, Daniel Hexner <sup>2</sup>, Jason W. Rocks <sup>3</sup> and Andrea J. Liu <sup>1</sup>
1 _Department_ _of_ _Physics_ _and_ _Astronomy,_ _University_ _of_ _Pennsylvania,_ _Philadelphia,_ _PA_ _19104_
2 _Department_ _of_ _Mechanical_ _Engineering,_ _Technion,_ _Haifa,_ _32000,_ _Israel_ _and_
3 _Department_ _of_ _Physics,_ _Boston_ _University,_ _Boston,_ _MA_ _02139_
(Dated: September 7, 2021)
Materials and machines are often designed with particular goals in mind, so that they exhibit
desired responses to given forces or constraints. Here we explore an alternative approach, namely
physical _coupled learning_ . In this paradigm, the system is not initially designed to accomplish a task,
but physically adapts to applied forces to develop the ability to perform the task. Crucially, we
require coupled learning to be facilitated by physically plausible learning rules, meaning that learning
requires only local responses and no explicit information about the desired functionality. We show
that such local learning rules can be derived for any physical network, whether in equilibrium or
in steady state, with specific focus on two particular systems, namely disordered flow networks and
elastic networks. By applying and adapting advances of statistical learning theory to the physical
world, we demonstrate the plausibility of new classes of smart metamaterials capable of adapting
to users’ needs _in-situ._
I. INTRODUCTION
Engineered materials are typically designed to have
particular sets of properties or functions [1]. The design process often involves numerous trial and error iterations, during which the system is repeatedly tested for
the desired functionality [2], modified and tested again.
Alternatively, rational design processes start from detailed knowledge of material components and typically
use computation to predict the consequences of tweaking
the system to sift through many possibilities.
A second class of strategies is based on _learning_, where
systems can adjust or be adjusted at the microscopic
scale, in response to training examples, to develop the
desired functionality. Until recently, learning strategies
were primarily restricted to nonphysical networks such as
neural networks on a computer. One class of methods,
which we will refer to as “global supervised learning,” is
ubiquitous for problems such as data classification [3, 4].
These methods are based on the optimization of an objective, cost of loss function that is “global” in that it
depends on all of the microscopic details of the system.
In the context of neural networks, for example, global supervised learning optimizes the network by modifying a
set of learning degrees of freedom ( _e.g._ weights) controlling the signal propagation between the input and output
sections of the network.
Global supervised learning was recently used to design flow and elastic networks–actual physical systems–
with particular desired functions, e.g. allostery [5, 6]. In
this physical context, such learning methods were dubbed
_tuning_, since modifying the learning degrees of freedom
(e.g. pipe conductances or spring constants in flow or
mechanical networks, respectively) requires external intervention at the microscopic level.
In contrast, natural systems such as the brain evolve
to obtain desired functions using a fundamentally different framework of learning, which we will refer to as
“local learning.” Crucially, this evolution is entirely autonomous, requiring no external designer for evaluation
of the current state of the system and its subsequent modification. In local learning, parts of the network can only
adapt due to the local information available in their immediate vicinity (e.g. a synapse adapts in response to
the activities only of the neurons directly connected to
it [7]). It is particularly useful to apply this learning approach in physical networks such as flow or mechanical
networks because the microscopic elements of such networks cannot perform computations and do not encode
information about the desired functionality _a_ _priori_ .
Training physical networks for desired function, using
either global or local supervised learning, involves two
different sets of degrees of freedom. First, networks respond to source constraints by minimizing a scalar function with respect to their _physical degrees of freedom_ . For
example, central-force spring networks minimize the elastic energy by adjusting the positions of their nodes to
achieve force balance on every node, while flow networks
minimize the power dissipation by adjusting the currents
on edges to obey Kirchhoff’s law at every node. Second, networks can learn specific desired target responses
to sources by adjusting their _learning_ _degrees_ _of_ _freedom_ .
These degrees of freedom could correspond to the stiffnesses or equilibrium lengths of springs in a mechanical
network or the conductances of edges in a flow network.
In global supervised learning, these degrees of freedom
are adjusted to optimize the cost function.
We will consider the case where the desired outcome
of the learning process is to achieve tailored responses of
“target” edges or nodes to external constraints applied at
“source” edges or nodes. For example, an allosteric response in a mechanical network corresponds to a desired
strain at a set of target edges in response to a strain applied at source edges. Similarly, for the simplest “flow
allosteric” response, a pressure drop across a source edge
in a flow network leads to a desired pressure drop across
a target edge elsewhere in the network [8].
Recently it was shown that a local supervised learning process of “directed aging,” in which the time evolution of a disordered system is driven by applied stresses,
can be used to create mechanical metamaterials with
desired properties or functions [9–11]. For example,
Refs. [10, 11] consider a form of directed aging for a mechanical spring network in which the learning degrees of
freedom are the equilibrium lengths of the springs comprising the network edges. The equilibrium length of
each spring lengthens/shortens if the spring is placed under extension/compression–this is a local response to local extension/compression. Isotropic compression [9, 10]
or repeated cycles of isotropic compression and expansion can drive the Poisson’s ratio of such a network
from positive to negative values, while cycles of compression/stretching oscillations of source and target edges can
lead to allosteric response [11].
Similarly, local rules in growing vascular networks [12]
and folding sheets [13, 14] allow those systems to learn
properties or functions autonomously. The great advantage of local supervised learning such as directed aging over global supervised learning is that the process
is scalable–it can be applied to train large systems without having to manually modify their parts [9]. In addition, directed aging does not require detailed knowledge
of microscopic interactions or the ability to manipulate
(microscopic) learning degrees of freedom [9].
While directed aging methods are successful in training certain physical networks for desired functions, they
fail in others, particularly in highly over-constrained networks such as flow networks and high-coordination mechanical networks. Failure occurs because directed aging
minimizes the physical cost function of a desired state of
the network, rather than the cost function whose minimization corresponds directly to the desired function in
global supervised learning.
Here we propose a general framework, which we call
“coupled local supervised learning,” for physical networks such as flow or mechanical networks. The rules
are designed to adjust learning degrees of freedom in response to local conditions such as the tension on a spring
in a mechanical network or the current through a pipe of
a flow network. The framework provides a way of deriving rules that lead to modifications of learning degrees
of freedom that are extremely similar to those obtained
by minimizing the cost function. As a result, they are
as likely to succeed in obtaining the desired response as
global supervised learning would be.
The coupled learning framework is inspired by advances in neuroscience and computer science [15–19]
known as “contrastive Hebbian learning.” As in contrastive Hebbian learning, one considers the response
in two steady states of the system, one in which only
source constraints are applied ( _free_ _state_ ), the other
where source and target constraints are applied simultaneously ( _clamped_ _state_ ). The particular rules we introduce, which we call _coupled_ _learning_ rules, are also in
spired by the strategy of “equilibrium propagation” [18],
which promotes infinitesimal nudging and hence close
proximity between the free and clamped states. In part
II, we first show in detail how coupled learning works
for flow networks (Sec. A). We successfully train such
networks to obtain complex functionalities. We then discuss the general framework of coupled learning in generic
physical networks (Sec. B) and and apply these ideas to
non-linear elastic networks (Sec. C). We demonstrate our
learning framework on a standard classification problem,
distinguishing handwritten digits (Sec. D).
It is important to note that implementation of coupled
learning should be possible in real systems. In part III
we therefore consider complications that may arise in realistic learning scenarios. We first derive an approximate
version of the local learning rule that may be more easily
implemented experimentally in a flow network (Sec. A).
While inferior to the full learning rule, approximate coupled learning still gives rise to desired functionality. We
then discuss limitations due to noisy measurements of
the physical degrees of freedom, that limit the usefulness
of small nudging, and the implications of drifting in the
learning degrees of freedom (Sec. B). Finally, we address
the effect of networks size on the physical relaxation time
and the coupled learning rules (Sec. C).
Following the introduction of the coupled learning
rules, in part IV we compare coupled learning to standard
global supervised learning frameworks that minimize of
a cost function [5, 6, 20, 21], discussing the experimental realizability of coupled learning in contrast with such
methods. We hope this work will stimulate further interest in physically inspired learning, opening possibilities
for new classes of metamaterials and machines, able to
autonomously evolve and adapt in desired ways due to
external influences.
II. COUPLED LEARNING FRAMEWORK
A. Coupled learning in flow networks
We first discuss coupled learning in the context of flow
networks. Previously, such networks were trained to exhibit the particular function of flow allostery [5, 6] using
global supervised learning by minimizing a global cost
function. Specifically, the networks were trained to have
a desired pressure drop across a target edge (or many target edges) in response to a pressure drop applied across
a source edge elsewhere in the network. Here we show
how a strictly local learning rule can similarly train flow
networks.
A flow network is defined by a set of _N_ nodes labeled _µ_,
each carrying a pressure value _pµ_ ; these pressures are the
_physical degrees of freedom_ of the network. The nodes are
connected by pipes _j_ characterized by their conductances
_kj_ ; these conductances are the _learning degrees of freedom_
because modifying the pipe conductances will enable the
network to develop the desired function. Assuming each
FIG. 1. Coupled learning in flow networks. a) In the free phase, node pressures are constrained such that source nodes (red)
have specific pressure values _p_ _S_ . The target node pressures _p_ _T_ and the dissipated power at all pipes _Pj_ attain their steady
state values due to the natural flow processes in the network. b) In the clamped phase, a supervisor constrains the target node
pressures so that they are slightly closer to their desired values compared to the free state. c) A strictly local learning rule, i.e.
the modification of pipe conductance according to its response, is proportional to the difference in dissipated power between
the free and clamped states. The learning rule thus couples the pressures at the source and target nodes.
pipe is directed from one node _µ_ 1 to the other _µ_ 2, the
flow current in the pipe is given by _Ij_ = _kj_ ( _pµ_ 1 _−_ _pµ_ 2) _≡_
_kj_ ∆ _pj_ . If boundary conditions are applied to the network
(e.g. fixed pressure values at some nodes) the network
finds a flow steady state, in which the total dissipated
power
_P_ = <sup><u>1</u></sup>
2
_j_
_kj_ ∆ _p_ <sup>2</sup> _j_ (1)
their values _PS_, allowing _pT, pH_ to obtain their steady
state ( _i. e._ to reach values that minimize the physical
cost function, the dissipated power _P_ ( _pµ_ ; _kj_ )) (Fig. 1a).
The _clamped_ state _p_ <sup>_C_</sup> _µ_ <sup>is</sup> <sup>the</sup> <sup>state</sup> <sup>where</sup> <sup>both</sup> <sup>the</sup> <sup>source</sup>
and target node pressures _pS, pT_ are constrained to _PS_
and _p_ <sup>_C_</sup> _T_ <sup>, respectively, so that only the remaining (hidden)</sup>
nodes _pH_ are allowed to change to minimize the dissipated power. The values of the dissipated power in the
resulting steady states are denoted _P_ <sup>_F_</sup> ( _PS, p_ <sup>_F_</sup> _T_ <sup>_, p_</sup> _H_ <sup>_F_</sup> <sup>;</sup> <sup>_kj_</sup> <sup>)</sup>
and _P_ <sup>_C_</sup> ( _PS, p_ <sup>_C_</sup> _T_ <sup>_, p_</sup> _H_ <sup>_C_</sup> <sup>;</sup> <sup>_kj_</sup> <sup>)</sup> <sup>for</sup> <sup>the</sup> <sup>free</sup> <sup>and</sup> <sup>clamped</sup> <sup>states,</sup>
respectively. In the following we simplify notation by
suppressing the variables in the parentheses.
A disordered flow network constrained only at its
sources (free state) will generally find a steady state in
which the target pressures _{p_ <sup>_F_</sup> _T_ <sup>_}_</sup> <sup>differ</sup> <sup>significantly</sup> <sup>from</sup>
the desired responses _{PT }_ . To concretely define the
clamped state, we introduce a trainer (supervisor) that
reads the free state target node pressures and nudges
them slightly away from their free state _p_ <sup>_F_</sup> _T_ <sup>values</sup> <sup>by</sup>
clamping them at
<sup>_F_</sup> _T_ <sup>_, p_</sup> _H_ <sup>_F_</sup>
is minimized by varying the pressures at unconstrained
nodes.
We now define a task for the network to learn as follows. We subdivide the physical degrees of freedom (node
pressures) _{pµ}_ into three types, corresponding to source
nodes _pS_, target nodes _pT_, and the remaining “hidden”
nodes _pH_ . The desired task is defined such that the target node pressure values reach a set of desired values
_{PT }_ when the source node pressures are constrained to
the values _{PS}_ . A generic disordered flow network does
not possess this function, so design strategies are needed
to identify appropriate values for the pipe conductance
values _{kj}_ that achieve the desired task.
For the network to learn, or adapt autonomously to
source pressure constraints, we allow the learning degrees
of freedom _{kj}_ (pipe conductances) to vary depending
on the physical state of the network _{pµ}_ . A _learning_
_rule_ is an equation of motion for the learning degrees of
freedom, taking the form
_k_ ˙ _j_ = _f_ ( _pµ_ ; _kj_ ) _._ (2)
We will focus on local learning rules, where the learning
degree of freedom _kj_ in each pipe _j_ can only change in
response to the physical variables (pressure values) _{pµ}_
on the two nodes associated with pipe _j_, _pµ_ ( _j_ ).
We now introduce the framework of _coupled_ _learning_ .
Let us define two sets of constraints on the pressure values of the network. The _free_ state _p_ <sup>_F_</sup> _µ_ <sup>is</sup> <sup>defined</sup> <sup>as</sup> <sup>the</sup>
state where only the source nodes _pS_ are constrained to
<sup>_C_</sup> _T_ <sup>_, p_</sup> _H_ <sup>_C_</sup>
<sup>_C_</sup> _T_ <sup>=</sup> <sup>_p_</sup> _T_ <sup>_F_</sup>
_p_ <sup>_C_</sup> _T_
_T_ <sup>_F_</sup> <sup>+</sup> <sup>_η_</sup> <sup>[</sup> <sup>_PT_</sup> <sup>_−_</sup> <sup>_p_</sup> _T_ <sup>_F_</sup>
_T_ <sup>_F_</sup> <sup>]</sup> (3)
where _η_ _≪_ 1 (Fig. 1b). The supervisor imposes pressures
on the target nodes that are a small step closer to the
desired response _PT_ . We then propose a learning rule for
the pipe conductance values (Fig. 1c):
_k_ ˙ _j_ = _αη_ <sup>_−_</sup> <sup>1</sup> <sup>_<u>∂</u>_</sup>
_∂kj_
(4)
_{P_ <sup>_F_</sup> _−P_ <sup>_C_</sup> _}_ =
= <sup><u>1</u></sup>
2
<sup>_C_</sup> _j_ <sup>]2</sup> <sup>_},_</sup>
<sup><u>1</u></sup> 2 <sup>_αη−_</sup> <sup>1</sup> <sup>_{_</sup> <sup>[∆</sup> <sup>_p_</sup> _j_ <sup>_F_</sup> <sup>]2</sup> <sup>_−_</sup> <sup>[∆</sup> <sup>_pC_</sup> _j_ <sup>]</sup>
where _α_ is a scalar learning rate. Note that the derivative
of the physically minimized function (power dissipation
_P_ ) is taken only directly with respect to the _learning_
degrees of freedom _{kj}_ (pipe conductances), excluding
derivatives of the physical variables with respect to them
(e.g. _∂k∂pji_ <sup>).</sup> In the limit of small nudges _η_ _→_ 0 such
derivatives cancel out when the difference between the
free and clamped terms is taken [18].
We note that the learning rule of Eq. 4 is similar to the
one derived for analog resistor networks by Kendall et.
al. [22]. While their equation has the same form, their
definition of the clamped state is different, as they draw
currents into the output nodes rather than fixing the output pressures. Their nudging is thus akin to applying a
force on the output nodes. The simplest implementation of the learning rule is to iteratively apply Eq. 4 for
some period of time between each nudge of the clamped
boundary condition in Eq. 3. Here we focus on learning in
the quasistatic limit where we completely relax the node
pressure values to their steady state at each iteration to
reach the minimum of the power dissipation _P_ .
The learning rule of Eq. 4 is manifestly local, as the
conductance of a pipe _kj_ changes only due to the flow
through that pipe. Such local learning rules may conceivably be implemented in physical pipes for which the
conductance (radius) of the pipe is controlled by the current in it. Note that the network is not required to encode information about the desired state function _a_ _pri-_
_ori_ . That information is fed into the network by the
actions of the external supervisor, which slightly nudges
the target node pressures towards the desired state at
every iteration. We later show how these properties of
coupled learning stand in contrast to tuning algorithms
based on optimization of global cost functions.
The intuition underlying coupled learning is straightforward. We wish to obtain a network with the desired target pressures _{PT }_ when source pressures _{PS}_
are applied. We divide the training process into small
steps, each of which depends on free and clamped states.
At every iteration of Eq. 3, the clamped state is initially slightly “better” than the free state, in that the
node pressures at the targets, _{pT }_, are slightly closer
to the desired pressures _{PT }_ due to the applied nudge.
The learning rule changes the pipe conductances _{kj}_
by adding the gradient at the free state (raising the free
state power dissipation) and subtracting the gradient at
the clamped state (lowering the clamped state power dissipation). By adjusting the pipe conductances, the network response adapts to more closely reflect the clamped
state. After many iterations of the learning rule in Eq. 4,
_{k_ <sup>˙</sup> _j}_ approach zero and the free state approaches the desired target pressures _PT_ . By iterating in this fashion, the
network carves out a valley in the landscape of the dissipated power _P_ with respect to the target node pressures
_{pT }_ that deepens as one approaches the desired target
pressures–much as directed aging does when it is successful [11]. This intuition implies that the nudge magnitude
value should be small _η_ _≪_ 1, as was proposed for equilibrium propagation [18] (see Appendix A). Such choice
allows the gradual modification of the power landscape
_P_ so that it becomes minimal along a valley at the desired state. The approach of using small nudges has been
shown to achieve excellent results on hard computational
learning problems such as CIFAR-10 [23].
We test the coupled learning rule, Eq. 4, on
disordered flow networks of various sizes ( _N_ =
FIG. 2. Training flow networks with coupled learning. a) An
untrained disordered flow network with uniform conductance
at all pipes _ki_ = 1, as indicated by uniform thicknesses of the
green edges. The ten red and blue nodes correspond to the
source and target nodes with dot sizes indicating the magnitudes of the source pressures _{PS}_ and _desired_ target pressures _{PT }_ . b) In each step, conductance values are modified
using Eq. 4, according to the difference in flow between the
free and clamped states. This process is applied iteratively. c)
After training, the network conductance values, indicated by
the thicknesses of the green edges, are considerably changed
compared to the initial network shown in (a). d) During training of a network ( _N_ = 512 nodes), the pressure values of the
target nodes approach the desired values, as indicated by the
exponentially shrinking error (black solid line). The desired
target values _{PT }_ are reached when the error is small; the
modification of the conductance in each time step, ∆ _k_ (blue
dashed line), vanishes exponentially as well. e) We train multiple networks of different sizes _N_ = 64 _−_ 2048, and find that
all can be trained successfully with coupled learning. Error
bars indicate the variation with initial network and choice of
sources and targets. In all cases, errors decay exponentially,
yet larger networks converge slower. f) Picking a certain time
_t_ = 10 <sup>3</sup>, we find that the error scales up with system size as
a soft power between 1 and 2.
64 _,_ 128 _,_ 256 _,_ 512 _,_ 1024 _,_ 2048). Each of these networks is
initialized with pipes of uniform conductance _kj_ = 1 in
Fig. 2(a). In each instance, we pick _MS_ = 10 nodes randomly to be the source nodes and apply the source pres
sures _PS_, indicated by the sizes of the red dots. These
source pressures are themselves chosen randomly from a
Gaussian distribution _N_ (0 _,_ 1). We also randomly choose
_MT_ = 10 different target nodes, and desired pressures
at target nodes, _{PT }_, randomly from a Gaussian distribution scaled by the source pressures, _N_ (0 _,_ 0 _._ 2 <sup>�</sup> _PS_ );
their values are indicated by the sizes of the blue dots
in Fig. 2(a). The free state pressures _p_ <sup>_F_</sup>, given applied
source pressures _PS_, are first computed by minimizing
the dissipated power. To compare the output _p_ <sup>_F_</sup> _T_ <sup>of</sup> <sup>the</sup>
network to the desired response _PT_, we use the standard
error function _C_ = <sup><u>1</u></sup> 2 - _T_ <sup>[</sup> <sup>_p_</sup> _T_ <sup>_F_</sup> <sup>_−_</sup> <sup>_PT_</sup> <sup>]2.</sup> <sup>Untrained networks</sup>
error function _C_ = <sup><u>1</u></sup> 2 - _T_ <sup>[</sup> <sup>_p_</sup> _T_ <sup>_F_</sup> <sup>_−_</sup> <sup>_PT_</sup> <sup>]2.</sup> <sup>Untrained networks</sup>
have a large error, and training should gradually decrease
it. The network achieves the function perfectly when the
error vanishes.
We now consider the clamped state by nudging the
target nodes towards their desired values, setting their
pressures to _{p_ <sup>_C_</sup> _T_ <sup>=</sup> <sup>_pF_</sup> _T_ <sup>+</sup> <sup>_η_</sup> <sup>[</sup> <sup>_PT_</sup> <sup>_−_</sup> <sup>_pF_</sup> _T_ <sup>]</sup> <sup>_}_</sup> <sup>,</sup> <sup>with</sup> <sup>_η_</sup> <sup>=</sup> <sup>10</sup> <sup>_−_</sup> <sup>3.</sup>
_T_ <sup>[</sup> <sup>_p_</sup> _T_ <sup>_F_</sup>
<sup><u>1</u></sup> 2
pressures to _{p_ <sup>_C_</sup> _T_ <sup>=</sup> <sup>_pF_</sup> _T_ <sup>+</sup> <sup>_η_</sup> <sup>[</sup> <sup>_PT_</sup> <sup>_−_</sup> <sup>_pF_</sup> _T_ <sup>]</sup> <sup>_}_</sup> <sup>,</sup> <sup>with</sup> <sup>_η_</sup> <sup>=</sup> <sup>10</sup> <sup>_−_</sup> <sup>3.</sup>
We minimize power dissipation with respect to the hidden nodes, _pH_, and then update the conductance values
(learning degrees of freedom) according to Eq. 4 with a
learning rate of _α_ = 5 _·_ 10 <sup>_−_</sup> <sup>4</sup> . Fig. 2(b) shows the change
of conductance of each edge at the first iteration of learning, with blue (red) signifying positive (negative) conductance changes. This process constitutes one step of the
training process; at the end of each step, we compute the
error function _C_ (Fig. 2(d). The difference between the
obtained targets and the desired ones decreases exponentially by many orders of magnitude during the training
process, reaching machine precision. This result demonstrates the success of the coupled learning approach. We
see that the magnitude <u>of</u> <u>the</u> change in the conductance
��
vector, _|_ ∆ _k|_ = _j_ <sup>∆</sup> <sup>_k_</sup> _j_ <sup>2,</sup> <sup>calculated</sup> <sup>for</sup> <sup>each</sup> <sup>step</sup> <sup>of</sup>
the training process, also decreases exponentially during
training (blue dashed line in Fig. 2(d)). This result shows
that the learning process is adaptive–it slows down as it
approaches good solutions. The final trained network
is displayed in Fig. 2(c), with edge thicknesses indicating conductance. The pipes of the trained network have
changed considerably compared to the initial one shown
in Fig. 2(a), with some pipes effectively removed (with
conductances near zero).
The results of applying the training protocol to networks of different sizes, for different initial networks and
choices of the source and target nodes and their pressure
values, are shown in Fig. 2(ef), where errors are rescaled
by the initial error for each network. Our learning algorithm is generally able to train the networks to exhibit
the desired responses, successfully decreasing the initial
error by orders of magnitude. We find that networks of
different size converge at on good solutions at different
rates, with the error at a particular chosen time _t_ = 10 <sup>3</sup>
scales roughly as a power law _C_ ( _N, t_ ) _∼_ _N_ <sup>_q_</sup> (with power
_q_ in the range 1 _−_ 2). We note that networks of different sizes may not be equivalent, as training may depend
on idiosyncratic details, such as particular distances between sources and targets, or other geometrical features.
We leave detailed exploration of the effects of network
<sup>_C_</sup> _T_ <sup>=</sup> <sup>_pF_</sup> _T_
<sup>_F_</sup> _T_ <sup>+</sup> <sup>_η_</sup> <sup>[</sup> <sup>_PT_</sup> <sup>_−_</sup> <sup>_pF_</sup> _T_
��
_j_ <sup>∆</sup> <sup>_k_</sup> _j_ <sup>2</sup>
The results of applying the training protocol to networks of different sizes, for different initial networks and
choices of the source and target nodes and their pressure
values, are shown in Fig. 2(ef), where errors are rescaled
by the initial error for each network. Our learning algorithm is generally able to train the networks to exhibit
the desired responses, successfully decreasing the initial
error by orders of magnitude. We find that networks of
different size converge at on good solutions at different
rates, with the error at a particular chosen time _t_ = 10 <sup>3</sup>
size and source-target geometry to future study.
It is noteworthy that flow networks are linear, so that
the mapping between the sources to targets are always
linear _pT_ = _A_ ( _k_ ) _PS_ ( _A_ is a _MS_ _×MT_ matrix that depends
on the conductance values). Networks with contain hundreds of edges have many more conductance values than
components of _A_ so that there are far more degrees of
freedom than constraints. While this argument suggests
our flow networks are over-parameterized and should always succeed in learning, we stress that not all linear
transformations are possible; pressure values everywhere
in the network are weighted averages of their neighbors
(due to Kirchhoff’s law). More importantly, the linear
transformation is limited because all conductance values
must be non-negative (see appendix D). As a result, low
networks cannot implement any desired linear mapping
between the inputs and outputs, and non-zero errors are
expected for certain tasks after training. It was previously shown that the likelihood of flow networks to successfully learn a set of tasks depends on network size [6],
even when trained with gradient descent. Therefore, we
expect that the training larger networks for a given task
is more likely to succeed due to over-parameterization,
at the expense of slower convergence rates.
Furthermore, while computational neural networks are
often initialized with random (e.g. Gaussian distributed)
weights to compensate for their symmetries [24, 25], we
find that our disordered networks can be trained successfully with uniform _kj_ = 1 initialization. Indeed, our
tests with initial weights of the form _kj_ = _N_ (1 _, σ_ <sup>2</sup> ), with
0 _<_ _σ_ _≤_ 0 _._ 5, have yielded qualitatively similar results
to those shown in Fig. 2b, with respect to both training
time and accuracy.
Recently, a similar set of ideas [22, 23] based on equilibrium propagation was independently proposed to train
electric resistor networks. This approach is very similar
to our framework. The difference is that Refs. [22, 23]
used a nudged state defined by injecting currents to target nodes, instead of by clamping voltages as in our approach. Their method converges to gradient descent in
the limit _η_ _→_ 0. While our method does not, we find that
coupled learning and gradient descent give very similar
results in our trained networks (See Section IV). Our focus in this paper is also somewhat different from theirs;
we showcase coupled learning in general physical networks in which the system naturally tends to minimize
a physical cost function with respect to the physical degrees of freedom, and emphasize considerations regarding
the implementation of coupled learning in experimental
physical networks.
B. Coupled Learning in general physical networks
We now formulate coupled learning more generally so
that it can be applied to general physical networks. Consider a physical network with nodes indexed by _µ_ and
edges indexed by _j_ . As in the special case described
earlier, _{xµ}_ are _physical_ _degrees_ _of_ _freedom_ (e.g. node
pressure for a flow network). Network interactions depend on the learning degrees of freedom on the network
edges, _{wj}_ (e.g. pipe conductance in flow networks).
We restrict ourselves to the athermal case where, given
some initial condition _xµ_ ( _t_ = 0), the physical degrees of
freedom evolve to minimize a physical cost function _E_
(e.g. the power dissipation for a flow network) to reach
a local or global minimum _E_ ( _xµ_ ; _wj_ ) at _xµ_, where both
_E_ and _{xµ}_ depend on _{wj}_ .
We define the _free_ state _x_ <sup>_F_</sup> _µ_ <sup>where</sup> <sup>the</sup> <sup>source</sup> <sup>vari-</sup>
ables _xµ_ alone are constrained to their values, and _xT, xH_
equilibrate ( _i. e._ minimize _E_ ( _xµ_ ; _wj_ )). At the _clamped_
state _x_ <sup>_C_</sup> _µ_ <sup>both source and target variables</sup> <sup>_xS, xT_</sup> <sup>are con-</sup>
strained, so only the hidden variables are equilibrated.
An external trainer (supervisor) nudges the target nodes
by a small amount _η_ towards the desired values _XT_,
FIG. 3. Training spring networks by modifying (a) spring constants or (b) rest lengths. The error in the target edge lengths
is shown as a function of the number of training iterations for
_N_ = 512 (black circles) and _N_ = 1024 (blue squares) networks. Training by coupled learning is successful for either
the stiffness and rest length degrees of freedom.
_x_ <sup>_C_</sup> _T_
<sup>_C_</sup> _T_ <sup>=</sup> <sup>_xF_</sup> _T_
<sup>_F_</sup> _T_ <sup>+</sup> <sup>_η_</sup> <sup>[</sup> <sup>_XT_</sup> <sup>_−_</sup> <sup>_xF_</sup> _T_
<sup>_F_</sup> _T_ <sup>]</sup> (5)
nodes embedded in _d_ -dimensional space, located at positions _{xµ}_ . The nodes are connected to their neighbors
in the network by linear springs, each having a spring
constant _kj_ and equilibrium length _ℓj_ . The energy of a
spring, labeled _j_, depends on the strain of that spring
_Ej_ = <sup><u>1</u></sup> 2 <sup>_kj_</sup> <sup>(</sup> <sup>_rj_</sup> <sup>_−_</sup> <sup>_ℓj_</sup> <sup>)2,</sup> <sup>where</sup> <sup>_rj_</sup> <sup>is</sup> <sup>the</sup> <sup>Euclidean</sup> <sup>distance</sup>
with _η_ _≪_ 1. The general form of coupled learning is then:
_w_ ˙ = _αη_ <sup>_−_</sup> <sup>1</sup> _∂_ _w_ _{E_ <sup>_F_</sup> ( _xS, x_ <sup>_F_</sup> _T_
_T_ <sup>_C_</sup> <sup>)</sup> <sup>_},_</sup> (6)
<sup>_F_</sup> _T_ <sup>)</sup> <sup>_−_</sup> <sup>_EC_</sup> <sup>(</sup> <sup>_xS, x_</sup> _T_ <sup>_C_</sup>
_Ej_ = <sup><u>1</u></sup> 2 <sup>_kj_</sup> <sup>(</sup> <sup>_rj_</sup> <sup>_−_</sup> <sup>_ℓj_</sup> <sup>)2,</sup> <sup>where</sup> <sup>_rj_</sup> <sup>is</sup> <sup>the</sup> <sup>Euclidean</sup> <sup>distance</sup>
between the two nodes connected by the spring. The
physical cost function in this case is the total elastic energy of the network, given by _E_ = <sup>�</sup> _j∈springs_ <sup>_Ej_</sup> <sup>.</sup> <sup>We</sup>
ergy of the network, given by _E_ = <sup>�</sup> _j∈springs_ <sup>_Ej_</sup> <sup>.</sup> <sup>We</sup>
choose source and target springs, whose lengths are _rS_
and _rT_, and train the network so that an application of
source edge strains _{RS}_ gives rise to desired target edge
strains _{RT }_ .
In contrast to flow networks, spring networks are nonlinear in the physical variables _{xµ}_, due to the nonlinearity in the Euclidean distance function. Moreover,
while the spring constants _{kj}_ are formally equivalent
to conductances in flow networks, the equilibrium lengths
_{ℓj}_ have no direct analog in flow networks. These extra
variables are additional learning degrees of freedom that
we can adjust in addition to the spring constants.
The free and clamped states of the spring network are
applied similarly to the previous example, with the exception that we define the source and target boundary
conditions on the edges of the network rather than the
nodes, demonstrating that the coupled learning framework can be applied in either case. Next, we apply the
coupled learning rule 6 to obtain two separate update
rules, one for the spring constants _kj_, the other for the
rest lengths _ℓj_ :
where _α_ is again the learning rate. We thus find a general
learning rule similar to equilibrium propagation [18], with
the understanding that only the direct derivatives ( _∂_ _w_ _E_ )
are performed, excluding the physical state derivatives
_∂_ _w_ _x_ <sup>_F_</sup> _, ∂_ _w_ _x_ <sup>_C_</sup> which cancel out. Given any physical network with a known physical cost function _E_ ( _xµ_ ; _wj_ ), one
can derive the relevant coupled learning rule directly from
Eq. 6. Coupled learning is performed iteratively until the
desired function is achieved. Note that in physical networks, _E_ can generically be partitioned as a sum over
edges _E_ = <sup>�</sup> _j_ <sup>_Ej_</sup> <sup>(</sup> <sup>_xµ_</sup> <sup>(</sup> <sup>_j_</sup> <sup>);</sup> <sup>_wj_</sup> <sup>).</sup> Each term _Ej_ for edge
_j_ depends only on the physical degrees of freedom attached to the two nodes _µ_ ( _j_ ) that connect to edge _j_ .
The learning rule of Eq. 6 is thus guaranteed to be local,
in contrast to many design schemes relying on the optimization of a global cost function. Moreover, the network
is not required to encode any information about the desired response. This information is fed to the network by
the trainer, which nudges the target physical degrees of
freedom closer to the desired state at every iteration of
the learning process. Note that while our discussion so
far and Fig. 1 are restricted to a physical network with
binary edges (i.e. binary physical interactions), coupled
learning does not assume binary interactions and is valid
for arbitrary _n_ -body potentials. For more information on
the general coupled learning rule, see Appendix B.
C. Elastic networks
To demonstrate the generality of our coupled learning framework, we apply it to another physical system,
central-force spring networks. Here we have a set of _N_
Learning in elastic networks can be accomplished
through modification of the spring constants, rest
_k_ ˙ _j_ = <sup>_<u>α</u>_</sup>
_η_
_<u>∂</u>_
_∂kj_
_{E_ <sup>_F_</sup> _−_ _E_ <sup>_C_</sup> _}_ =
= <sup>_<u>α</u>_</sup>
2
_j_ <sup>_C_</sup> <sup>_−_</sup> <sup>_ℓj_</sup> <sup>]2</sup> <sup>_},_</sup>
2 <sup>_<u>α</u>_</sup> _η_ <sup>_{_</sup> <sup>[</sup> <sup>_r_</sup> _j_ <sup>_F_</sup> <sup>_−_</sup> <sup>_ℓj_</sup> <sup>]2</sup> <sup>_−_</sup> <sup>[</sup> <sup>_r_</sup> _j_ <sup>_C_</sup>
(7)
_ℓ_ ˙ _j_ = <sup>_<u>α</u>_</sup>
_η_
_<u>∂</u>_
_∂ℓj_
_{E_ <sup>_F_</sup> _−_ _E_ <sup>_C_</sup> _}_
= <sup>_<u>α</u>_</sup>
_η_
_j_ <sup>_F_</sup> <sup>_−_</sup> <sup>_ℓj_</sup> <sup>]</sup> <sup>_−_</sup> <sup>[</sup> <sup>_r_</sup> _j_ <sup>_C_</sup>
_j_ <sup>_C_</sup> <sup>_−_</sup> <sup>_ℓj_</sup> <sup>]</sup> <sup>_}._</sup>
<sup>_<u>α</u>_</sup> _η_ <sup>_kj{_</sup> <sup>[</sup> <sup>_r_</sup> _j_ <sup>_F_</sup>
lengths, or a combination of both. As before, Eq. 7 gives
local learning rules, where each spring only changes due
to the strain on that particular spring. To test these
learning rules, we train elastic networks with _N_ = 512
and _N_ = 1024 nodes with multiple choices of 10 random source strains and 3 random target strains. Elastic network calculations were performed using a specialized bench-marked set of computational tools, used
earlier for research on tuned networks [5, 26]. The
success of the training is again assessed using the error _C_ = <u>12</u> - _T_ <sup>[</sup> <sup>_r_</sup> _T_ <sup>_F_</sup> <sup>_−_</sup> <sup>_RT_</sup> <sup>]2,</sup> <sup>measuring</sup> <sup>deviation</sup> <sup>from</sup>
ror _C_ = <u>12</u> - _T_ <sup>[</sup> <sup>_r_</sup> _T_ <sup>_F_</sup> <sup>_−_</sup> <sup>_RT_</sup> <sup>]2,</sup> <sup>measuring</sup> <sup>deviation</sup> <sup>from</sup>
the desired target lengths. We find that regardless of
whether the network learns by modifying its spring constants (Fig. 3(a)) or rest lengths (Fig. 3(b)), the networks
are consistently successful in achieving the desired target strain, reducing the error _C_ by orders of magnitude.
Larger networks take slightly longer to learn, but achieve
similar success. We find that the rest-length based learning rule gives somewhat more consistent learning results
for different networks and source-target choices, as evidenced by smaller error bars in Fig. 3b. Recently, a rule
similar to that of Eq. 7 was used to prune edges in elastic networks to obtain desired allosteric responses [27].
It is notable that [27] uses a ‘symmetrized’ version of
the learning rule, where the free state is replaced with a
negative clamped state, where the output nodes are held
farther away from their respective desired value.
_T_ <sup>[</sup> <sup>_r_</sup> _T_ <sup>_F_</sup>
D. Supervised classification
In Secs. II.A and C we trained networks to exhibit
functions inspired by allostery in biology, obtaining a desired map between one set of sources (inputs) and one
set of targets (outputs). Here we train flow networks to
display a function inspired by computer science, namely
the ability to classify images. In classification, a network is trained to map between multiple sets of inputs
and outputs. In order to use our coupled learning protocol for simultaneous encoding of multiple input-output
maps, we slightly modify the training process in the spirit
of stochastic gradient descent [28]. Each training image
provides an input and the correct answer for that image
is the desired output. Training examples are sampled
uniformly at random, and the coupled learning rule of
Eq. 4 is applied accordingly.
A simple example of a classification problem, often
used to benchmark supervised machine learning algorithms, is to distinguish between labeled images of handwritten digits (MNIST [29]). Each image corresponds
to a particular input vector (e.g. pixel intensity values),
while the desired output is an indicator of the digit displayed. Typically an algorithm is trained on a set of
example images (training set), while the goal is to optimize the classification performance on unseen images
(test set).
Here, we train flow networks to distinguish between
images of two digits (0 and 1). We pick 50 images of
FIG. 4. Classification of MNIST digits (0’s & 1’s). a) The
classification error (value of cost function) (Eq. 11 for the digits 0 (blue) and 1 (black) vs. the number epochs, where each
epoch consists of 100 iterations of the learning rule with a
different randomly selected training image presented at each
iteration. Training error is indicated by solid lines and test
error by dashed lines. b) Prediction accuracy on test images
(fraction of correct predictions made by the network for digits
0 and 1) vs. number of epochs. Total test accuracy shown in
red. (c-d) Response of the network when presented with the
image at the top-left. The power dissipated at each edge is
indicated by the intensity of the edge color. while the pressures of target nodes are labeled with blue (0) and black (1)
circles. When a 0 image is shown, the 0 target node has high
pressure (blue circle) and the 1 target node has low pressure;
when a 1 image is shown, the 1 target node has high pressure
(black circle) and the 0 target node has low pressure.
each digit (class) from the MNIST database to serve as
a training set, and an additional 50 images of each digit
as a test set. Instead of using the images themselves, we
first carry out a Principal Component Analysis (PCA)
of all MNIST images, and train the network using the
top 25 principal components of the training set images.
The inputs (source pressures) are given by these principal components of the training images for a randomly
selected set of 25 source nodes. We additionally pick 2
random output (target) nodes, one for each digit. The
desired output for a training example corresponding to a
‘0’ is for the first output node, the ‘0’ target node to have
high pressure ( _p_ ‘0 _′_ = 1), and for the second output node,
the ‘1’ node, to have no pressure ( _p_ ‘1 _′_ = 0). The target
pressures are reversed when an example corresponding to
the digit ‘1’ is chosen so that the ‘1’ node has _p_ ‘1 _′_ = 1 and
the ‘0’ node has _p_ ‘0 _′_ = 0. At each iteration of the learning
rule, the network is presented with a single training image, sampled uniformly at random from the training set,
and is nudged towards the desired output for that image.
A training epoch is defined as the time required for the
network to be presented with 100 training examples.
The error between the desired and observed behavior is
shown in Fig. 4(a) for each of the digits. The solid lines
represent errors for the training set, while the dashed
lines show errors for the test set. We see that the network not only reduces the training error, but also successfully generalizes, reducing the test errors as well. While
the pressure at the output nodes is continuous, we want
the network to make a discrete choice about the label
of the shown image. We say that the predicted label is
given by the target node with the larger pressure. With
this definition, we see that the classification accuracy of
the network starts at about 50% and improves dramatically during training (Fig. 4b). After training, the overall
training accuracy reaches 98%, while the test accuracy is
95%. This learning performance is almost as good as that
of simple machine learning algorithms such as logistic regression, which for the same data yields a training accuracy of 100% and a test accuracy of 98%. Note that we
did not tune hyper parameters to achieve the listed accuracies; such tuning might well improve the performance
of our algorithm. In Fig. 4(c-d), the network response to
two select input images is shown. When the source nodes
are constrained with pressure values corresponding to an
image of a ‘0’, the ‘0’ target node has high pressure (blue)
while the ‘1’ target node has very low pressure. The opposite response occurs when an image of a ‘1’ is applied
as input.
As discussed above, we used a training approach in the
spirit of stochastic gradient descent, training the network
with one training example at a time. We note that it
may be experimentally possible to train the network using batch gradients, presenting many training examples
in quick succession, so that the learning rule averages the
conductance update over these examples. A similar effect can be achieved by maintaining the rate of example
presentation, yet slowing down the learning rate _α_ .
III. EXPERIMENTAL CONSIDERATIONS
In the previous section we introduced the coupled
learning rules that respect the physical requirements of
locality and the fact that the desired response cannot
be encoded in the network _a_ _priori_ . We have demonstrated computationally that flow and mechanical networks successfully learn desired behaviors using such
learning rules. For networks to learn autonomously in a
physical setting, the network must be able to implement
the coupled learning rules as the physical dynamics of
their learning degrees of freedom. Furthermore, an external supervisor needs to be able to clamp the target nodes
as needed. For fluid flow networks, coupled learning requires the coupling of pipe conductance values to the flow
inside the pipe. For example, constriction of pipes can
be achieved by entrainment of sediment in the flow, and
its deposition inside the pipes [30, 31]. These dynamics
could support a one-sided learning rule as described in
Sec III.A. In elastic networks, either the stiffnesses or rest
lengths of bonds need to change for learning to be possi
ble. Several classes of materials are known to adapt their
stiffness in response to applied strain, e.g. ethylene vinyl
acetate (EVA) [32] and thermoplastic polyurethane [33].
The former has been used to train materials for auxetic
behavior using directed aging [9].
In the following we describe some potential experimental difficulties in implementing coupled learning in physical networks networks and how they may be overcome.
We first discuss an approximation to the coupled learning rules, allowing for a simpler implementation in flow
networks (Sec. III.A). Then, we describe the effects of
plausible experimental issues, such as noise (Sec. III.B),
drifting learning degrees of freedom (Sec. III.C) and the
effect of network size on the physical relaxation assumed
in coupled learning (Sec. III.D).
A. Approximate learning rules
Consider the flow networks described earlier. To implement the learning rule of Eq. 4, one requires pipes whose
conductance can vary in response to the dissipated flow
power through them. There are two major issues in implementing this learning rule in a physical flow network.
First, the learning rule of Eq. 4 for the conductance on
edge _j_ depends not simply on the power through edge _j_
but on the difference between the power when the free
boundary condition and the power when the clamped
boundary condition are applied. This is difficult to handle experimentally because it is impossible to apply both
sets of boundary conditions simultaneously to extract the
difference. One could try to get around this by alternating between the free and clamped boundary conditions
during the process, but then one runs into the difficulty
that the sign of conductance change is opposite for the
two types of boundary conditions. In other words, the
same power through edge _j_ in the free and clamped states
would need to induce the opposite change in conductance.
Alternating the sign of the change in conductance along
with the boundary conditions poses considerable experimental difficulty. The second hurdle is that Eq. 4 requires
that pipes must be able to either increase or decrease
their conductance. Pipes whose conductance can change
in only one direction (e.g. decreasing _k_ by constriction)
are presumably to implement experimentally.
To circumvent these difficulties, we seek an appropriate
approximation of Eq. 4 (see Appendix C for more details)
that is still effective as a learning rule. We first define
a new hybrid state of the system, named the _δ_ -state, in
which the power dissipation is minimized with respect
to the hidden node pressures _pH_ with the constraints
_pS_ = 0, _pT_ = _−η_ ( _PT_ _−_ _p_ <sup>_F_</sup> _T_ <sup>).</sup>
Note that this state corresponds to constraining the
source and target nodes to the desired pressure differences between the free and clamped states according to
the original approach. Now, we may expand the clamped
state power in series around the free state, to obtain a
new expression for the learning rule in terms of the _δ_
FIG. 5. Training a flow network (512 nodes, 10 random
sources and 3 random targets) with an approximate, experimentally viable learning rule. a) The full coupled learning
rule (Eq. 4) and the approximate learning rule (Eq. 8) are
compared to the gradient of the cost function for different
values of _η_ (see Fig. 7a). While the full learning rule is superior, there is still a significant correlation between optimal
tuning and the approximate rule. b) The network may be
trained using both the full and approximate rule, at similar
time scales. The approximate learning rule, being much more
restricted, often saturates at a higher error level compared to
the full rule (averaged over 17 random source-target sets).
state and free state:
is applied iteratively, the learning process is successful,
yielding a decrease of the error _C_ of at least an order of
magnitude (Fig. 5(b)). While the approximate training
typically plateaus at a higher error level compared to the
full coupled learning rule, the approximate learning rule
can successfully train flow networks to exhibit random
source-target responses.
B. Noise in physical or learning degrees of freedom
So far, we have assumed that coupled learning modifies
the learning degrees of freedom given precise knowledge
of the free and clamped states (e.g. _P_ <sup>_F_</sup> _, P_ <sup>_C_</sup> in Eq. 4).
However, in any physical implementation of a network
there will be errors in the measurements of these states.
Suppose that measurement of the dissipated power at
every edge is subject to additive white noise of magnitude
_ϵ_, noted _ej_ _∼N_ (0 _, ϵ_ <sup>2</sup> ). The learning rule would then
contain an extra term due to the noise
_k_ ˙ _j_ _≈_ <sup><u>1</u></sup>
2
(9)
_j_ <sup>_C_</sup> <sup>]2 +</sup> <sup>_ej}._</sup>
_k_ ˙ _j_ _≈_ 2 _αη_ <sup>_−_</sup> <sup>1</sup> ∆ _p_ <sup>_F_</sup> _j_
_j_ <sup>_δ._</sup>
<sup>_F_</sup> _j_ <sup>∆</sup> <sup>_p_</sup> _j_ <sup>_δ_</sup>
<sup><u>1</u></sup> 2 <sup>_αη−_</sup> <sup>1</sup> <sup>_{_</sup> <sup>[∆</sup> <sup>_p_</sup> _j_ <sup>_F_</sup> <sup>]2</sup> <sup>_−_</sup> <sup>[∆</sup> <sup>_p_</sup> _j_ <sup>_C_</sup>
Ideally only the _δ_ state would be involved in the learning rule and not the free state. Let us simplify this rule
by only accounting for the sign of the free pressure drop
sgn(∆ _p_ <sup>_F_</sup> _j_ <sup>),</sup> <sup>returning</sup> <sup>_±_</sup> <sup>1</sup> <sup>depending</sup> <sup>on</sup> <sup>the</sup> <sup>sign</sup> <sup>of</sup> <sup>flow</sup> <sup>in</sup>
the free state _k_ <sup>˙</sup> _j_ _≈_ 2 _αη_ <sup>_−_</sup> <sup>1</sup> sgn(∆ _p_ <sup>_F_</sup> _j_ <sup>)∆</sup> <sup>_p_</sup> _j_ <sup>_δ_</sup> <sup>.</sup>
<sup>_F_</sup> _j_ <sup>)∆</sup> <sup>_p_</sup> _j_ <sup>_δ_</sup>
the free state _k_ <sup>˙</sup> _j_ _≈_ 2 _αη_ <sup>_−_</sup> <sup>1</sup> sgn(∆ _p_ <sup>_F_</sup> _j_ <sup>)∆</sup> <sup>_p_</sup> _j_ <sup>_δ_</sup> <sup>.</sup>
The resulting learning rule, while only depending on
the pressures at the _δ_ -state, can still induce either positive or negative changes in _k_ . To avoid this, we may
impose a step function, that only allows changes in one
direction (e.g. only decreasing _k_ ):
_k_ ˙ _j_ = _−_ 2 _αη_ <sup>_−_</sup> <sup>1</sup> Θ( _−_ ∆ _p_ <sup>_F_</sup> _j_
_j_ <sup>_δ_</sup> <sup>)</sup> <sup>_|_</sup> <sup>∆</sup> <sup>_p_</sup> _j_ <sup>_δ_</sup>
_j_ <sup>_δ|._</sup> (8)
<sup>_F_</sup> _j_ <sup>∆</sup> <sup>_p_</sup> _j_ <sup>_δ_</sup>
It is clear from Eq. 9 that if the error magnitude _ϵ_ is
larger than the typical difference between the free and
clamped terms, the update to the conductance values
would be random and learning will fail. As we show in
Appendix B, the difference between the free and clamped
term scales with the nudge amplitude [∆ _p_ <sup>_F_</sup> ] <sup>2</sup> _−_ [∆ _p_ <sup>_C_</sup> ] <sup>2</sup> _∼_
_η_ <sup>2</sup> . Put differently, when the nudge is small ( _η_ _→_ 0),
the free and clamped states are nearly identical, so that
their difference is dominated by noise. This raises the
possibility that increasing the nudge amplitude _η_ used,
i.e. nudging the clamped state closer to the desired state,
will increase the relative importance of the learning signal compared to the noise, allowing the network to learn
despite the noise.
To test this idea, we train a flow network of _N_ = 512
nodes on a random task with 10 source and 10 target
nodes (the same training problem shown in Fig. 2a-d).
While training, we inject white noise of given magnitude _ϵ_ according to Eq. 9. As suggested, we find that
these ‘measurement’ errors primarily spoil learning at low
nudges values, so that increasing _η_ might have a beneficial effect on learning (Fig. 6a). We conclude that experimental settings with finite measurement errors induce
a trade-off in the nudge parameter _η_ . Nudges should
be small so that learning rule gives a good estimate of
the desired gradients, yet they can’t be too small, or the
learning will be dominated by noise.
Another source of error in an experimental realization
of learning networks may be unwanted fluctuations or
drift in the learning parameters. For example, it is known
that natural neural network undergo synaptic fluctuations, even in adults and in the absence of synaptic activity [34–36]. In synthetic contexts, engineering materials
The intuition behind this learning rule is relatively simple: if for a particular pipe sgn(∆ _p_ <sup>_F_</sup> _j_ <sup>)∆</sup> <sup>_pδ_</sup> _j_ <sup>_<_</sup> <sup>0,</sup> <sup>then</sup> <sup>too</sup>
much flow is going through the pipe in the free state.
Thus, one could improve the functional result by decreasing the conductance of that pipe.
This learning rule may be simpler to implement physically, but is it a sufficiently close approximation of the
original rule? In Fig. 5 we train a network (512 nodes,
with 10 random sources and 3 random targets) using the
learning rules of Eqs. 4 and 8. In Fig. 5a, the learning
rules are compared to the tuning algorithm (Eq. 13) by
taking the dot product of these modification (similar to
Fig. 7a). While the approximate learning rule has a lower
dot product with the optimal local tuning for all values
of _η_ compared to the full learning rule, the correlations
are still very significant. We thus expect the approximate learning rule to train the network successfully. Indeed, we find that when the approximate learning rule
FIG. 6. Learning with noisy measurements and diffusing
learning degrees of freedom. a) When noise is present in the
free or clamped state measurements, small nudges impede
learning. Training results can be improved with larger _η_ _<_ 1
nudges. b) Drifting in the learning degrees of freedom impedes learning, but its effects can be mitigated by increasing
the learning rate _α_ .
with controllable parameters in a wide range, e.g. variable stiffness in shape memory alloys [37], can lead to an
increased volatility in these controlled parameters [38].
Drifting in the learning degrees of freedom during the
training process is expected to impede learning. To study
its effects, we assume that the learning degrees of freedom
fluctuate with some magnitude _δ_ for all edges. This gives
rise to additive white noise _dj_ _∼N_ (0 _, δ_ <sup>2</sup> ) in the update
rule
_k_ ˙ _j_ _≈_ <sup><u>1</u></sup>
2
_j_ <sup>_C_</sup> <sup>]2</sup> <sup>_}_</sup> <sup>+</sup> <sup>_dj._</sup> (10)
<sup><u>1</u></sup> 2 <sup>_αη−_</sup> <sup>1</sup> <sup>_{_</sup> <sup>[∆</sup> <sup>_p_</sup> _j_ <sup>_F_</sup> <sup>]2</sup> <sup>_−_</sup> <sup>[∆</sup> <sup>_p_</sup> _j_ <sup>_C_</sup>
not scale with the amplitude of perturbation _η_ (in the
linear response regime). Therefore, using small nudges
in general does not help with accelerating the physical
relaxation of the network towards its equilibrium states.
Moreover, the nudging between the free and clamped
states induces a local perturbation, whose information
content must propagate to the entire network before it
can equilibrate. In both flow networks and elastic spring
networks, the time for this information propagation is
set by the speed of sound. In flow networks, the speed
of sound depends on the compressibility of the fluid.
Similarly, elastic spring networks have a finite speed of
sound depending on their node masses, edge spring constants and network structure. This information propagation time implies a linear lower bound on the scaling of
the relaxation time with system size. Depending on the
physics of the network and its architecture, relaxation
time might scale more slowly with size. For example,
in large branched dissipative flow networks the response
time to a perturbation scales quadratically [40].
Consider a flow or elastic network of linear dimension
_L_, trained by waiting time _τ_ for relaxation before updating the learning degrees of freedom in Eq. 6. Due
to the aforementioned considerations, training a larger
network of linear dimension _L_ <sup>_′_</sup> would require waiting
_τ_ <sup>_′_</sup> _≈_ _τf_ ( _L_ <sup>_′_</sup> _/L_ ) (with _f_ a faster than linear function)
for similar relaxation, so that the overall training time
should scales with the physical length of the network.
Note that this physical time scaling is different from the
scaling of learning convergence with system size discussed
earlier. At the limit of small enough learning rates _α_,
when the learning dynamics effectively approximate gradient descent on the cost function, we argue that rescaling the learning rate in Eq. 6 by _α_ <sup>_′_</sup> = _αf_ ( _L_ <sup>_′_</sup> _/L_ ) would
counteract this increase in training time. However, the
learning rate cannot increase without bound for two reasons. First, at high learning rates, learning may not converge as the gradient step may overshoot the minimum
of the cost function, as is often the case in optimization
problems [4]. Furthermore, increasing the learning rate
compared to the physical relaxation rate would eventually break the quasi-static assumption in Eq. 6. We leave
the effects of breaking the assumption of quasi-staticity
to future study.
IV. COMPARISON OF COUPLED LEARNING
TO OTHER LEARNING APPROACHES
To emphasize the advantages of our local supervised
learning approach, we compare it to global supervised
learning, where we adjust the learning degrees of freedom
to minimize a learning cost function (or error function).
Such a rational tuning strategy was previously demonstrated to be highly successful [6] and is fundamental
to supervised machine learning [4]. Here we compare
coupled learning and tuning in the contexts of flow and
elastic networks.
In contrast to the noise in the physical degrees of freedom discussed earlier, such diffusion cannot be controlled
by increasing the nudge amplitude. However, one can increase the learning rate _α_ to hasten the learning dynamics
compared to diffusion (keeping in mind that to maintain
convergence, learning cannot be made too fast [4]).
Once more, we train a flow network ( _N_ = 512 nodes)
on a task with 10 random sources and 10 random targets (same task as in Fig. 2a-d). The network is trained
with different diffusion magnitudes _δ_ and two different
learning rates _α_ = 0 _._ 2 _,_ 0 _._ 4. We find that given constant
diffusion rates, training is more successful at a higher
learning rate, as expected (Fig. 6b). These results show
that unavoidable experimental issues such as noise in the
physical and learning degrees of freedom can be mitigated by controlling learning hyper-parameters such as
the nudge amplitude _η_ and the learning rate _α_ .
C. Physical relaxation
In this work, we have taken the quasi-static limit of
coupled learning, so that before computing either the
free or the clamped state, the network first reaches its
stable equilibrium (or steady state). In other words, we
explored the limit where learning is much slower than
the physical dynamics [39]. Physical networks however
take finite time to relax to their equilibrium, which does
One usually defines the learning cost function as the
distance between the desired response _PT_ and the actual
target response _p_ <sup>_F_</sup> _T_ <sup>.</sup> <sup>A</sup> <sup>commonly</sup> <sup>chosen</sup> <sup>function</sup> <sup>is</sup> <sup>the</sup>
_L_ 2 norm (Euclidean distance)
_C_ _≡_ 2 <sup><u>1</u></sup> <sup>[</sup> <sup>_p_</sup> _T_ <sup>_F_</sup> <sup>_−_</sup> <sup>_PT_</sup> <sup>]2</sup> <sup>_._</sup> (11)
A straightforward way to minimize this function with
respect to the learning degrees of freedom (pipe conductance values _{kj}_ ) is to perform gradient descent. In each
step of the process, the source pressures _{PS}_ are applied,
the physical cost function (total dissipated power) is minimized to obtain the pressures _{p_ <sup>_F_</sup> _T_ <sup>_}_</sup> <sup>,</sup> <sup>the</sup> <sup>gradient</sup> <sup>of</sup> <sup>the</sup>
learning cost function is computed, and the conductances
_{kj}_ are changed according to
_∂_ _k_ _C_ = [ _p_ <sup>_F_</sup> _T_
<sup>_F_</sup> _T_ <sup>_−_</sup> <sup>_PT_</sup> <sup>]</sup> <sup>_· ∂_</sup> <sup>_k_</sup> <sup>_p_</sup> _T_ <sup>_F_</sup>
(12)
_T_
_k_ ˙ _G_ = _−α∂_ _k_ _C_
pipe conductance values _{kj}_ themselves do not require
knowledge of _{PT }_ once the boundary conditions are applied. The trainer needs to know the desired network
behavior, but the network itself does not. In the tuning
process, by contrast, the pipe conductance values evolve
according to an equation of motion that depends explicitly on _{PT }_ . Thus, tuning a physical network requires
external computation of _∂kC_ and the subsequent modification of the learning degrees of freedom by an external
agent.
The difference between local and global supervised
learning has fueled longstanding debates on how biological networks learn, and their relation to computational tuning approaches such as machine learning algorithms [41]. While natural neural systems are complicated and can perform certain computations, simple
physical networks such as the ones studied here definitely cannot. In order for these networks to adapt autonomously to external inputs and learn desired functions
from them without performing computations, we need a
physically plausible learning paradigm such as the coupled learning framework presented here.
We now directly compare results of the two learning
methods in flow and elastic networks. First, we use both
methods to train flow networks of size _N_ = 512 nodes
on the tasks described in section IIa (Fig. 7a). We find
that on average, coupled learning is as efficient as tuning
(gradient descent) for training these networks. Indeed,
for the problem shown shown in Fig. 2d, coupled learning
actually converges faster than tuning.
To explore the comparison further, we denote the conductance modification prescribed by coupled learning as
_k_ ˙ _CL_ (Eq. 4) and the conductance modification dictated
by global supervised learning, or tuning, as _k_ <sup>˙</sup> _G_ (Eqs. 1112). We argue theoretically in Appendix B that coupled
learning leads to modifications to the learning degrees
of freedom _kj_ that are similar to those obtained by tuning using gradient descent (Eq. 12). Therefore, we compare the two modification vectors directly by taking a
dot product between them (after normalization):
where _k_ <sup>˙</sup> _G_ denotes the change in the pipe conductance predicted by the tuning (global supervised learning) strategy. Note that such a process cannot drive autonomous adaptation in a physical network– Eq. 12 cannot be a physical learning rule–for two fundamental reasons. First, the update rule is not local. Generally, the
target pressure _p_ <sup>_F_</sup> _T_ <sup>depends</sup> <sup>on</sup> <sup>the</sup> <sup>conductance</sup> <sup>of</sup> <sup>every</sup>
pipe in the network, so each component of _∂_ _k_ _C_ contains
contributions from the entire network. The modification of each pipe conductance depends explicitly on the
currents through all of the other pipes, no matter how
distant they are. Second, the tuning cost function _C_ depends explicitly on the desired response _PT_ . Thus, if the
network computes the gradient, it must encode information about the desired response. A random disordered
network is not expected to encode such information _a_
_priori_ . Together, these two properties of the tuning process imply that this approach requires both computation
and the modification of pipe conductance values by an
external designer - it cannot qualify as a physical, autonomous learning process.
The second point above, that the tuning cost function
depends explicitly on the desired behavior _PT_, deserves
further discussion. In coupled learning, the desired target values _PT_ do not appear explicitly in the learning
rule of Eq. 4, but do appear explicitly in the definition
of the clamped state (Eq. 3). This is a subtle but crucial distinction between coupled learning and tuning. In
coupled learning, a trainer (supervisor) imposes boundary conditions only on the target nodes. The physics of
the network then propagates the effect of these boundary conditions to every edge in the network. Then, each
edge independently adjusts its learning degrees of freedom taking into account only its own response to the applied boundary conditions. In other words, the boundary
conditions, imposed by the trainer, depend on the desired response _{PT }_ but the equations of motion of the
_k_ ˙ _CL_ _∼_ _∂_ _k_ _{P_ <sup>_F_</sup> _−P_ <sup>_C_</sup> _}_
_k_ ˙ _G_ _∼−∂_ _k_ _C._
(13)
These two modification vectors are compared in
Fig. 7(b-d) for flow networks with _N_ = 512 nodes,
trained with 10 random sources and varying numbers of
random targets. Most notably, we observe that the two
vectors are indeed nearly identical (the dot product of
the normalized vectors is close to unity) for sufficiently
small nudges _η_ (Fig. 7c). This is remarkable as the vectors reside in the very high ( _∼_ 1000) dimensional space of
conductance values _k_ of the network. Thus Fig. 7 shows
that the local process of coupled learning follows a trajectory in conductance space that is very similar to the trajectory followed during rational tuning, which is a global
supervised learning process (although we do note fluctuations in the dot product, see the zoomed scale in Fig. 7b
<u>Linear flow networks</u>
(a) (b)
(c) (d)
Nonlinear spring networks
FIG. 7. Coupled learning (local supervised learning) compared to tuning (global supervised learning) in linear flow and
nonlinear elastic networks. (a) Direct comparison between
training traces in flow networks shows that coupled learning
is as successful as gradient descent. (b) The dot product of
the modification vector ∆ _k_ for coupled learning and tuning
(gradient descent) during training undergoes fluctuations, yet
remains high. (c) At the beginning of training, we compute
the dot product of the modification vector ∆ _k_ for coupled
learning and tuning as a function of the nudge variable _η_
for systems with 1 (red triangles), 3 (blue diamonds) and 10
(black crosses) target nodes. The two methods predict very
similar results for _η_ _≪_ 1. (d) For _η_ = 10 <sup>_−_</sup> <sup>3</sup>, coupled learning
yields similar results to tuning for networks with _N_ = 512
(black circles) and _N_ = 1024 (blue squares), as a function
of the number of target nodes. (e-f) Dot product between
the normalized predictions of coupled learning and gradient
descent in nonlinear elastic networks. We find that coupled
learning and gradient descent are largely aligned during the
training of elastic networks using the stiffness and rest lengths
degrees of freedom ( _N_ = 512 _,_ 1024, _MS_ = 10 _, MT_ = 3).
and appendix D). For small nudges _η_ ≲ 0 _._ 1, we observe
a plateau in this dot product, so the precise choice of _η_
is not important (choosing small _η_ _→_ 0 leads to a welldefined limit of the coupled learning rule of Eq. 13; see
Appendix B). On the other hand, choosing large _η_ _∼_ 1
(as in Hebbian contrastive learning) leads to significant
differences between the two processes. We also note that
for more complicated functions (more targets to satisfy),
the dot product slightly decreases. This effect is exhibited in Fig. 7(d) for networks of two sizes. However, even
with extra functional complexity, coupled learning yields
results that are remarkably similar to tuning.
Unlike flow networks, elastic spring networks are fundamentally nonlinear, so it is interesting to explore
whether coupled learning produces similar modifications
to the learning degrees of freedom as tuning (gradient descent). In Fig. 7(e-f), we show the alignment between the
coupled learning and tuning. We find that the alignment
between these modification vectors is still very significant, especially for training with the stiffness degrees of
freedom _kj_ . We further find that the alignment is reduced
during training as the network approaches low-error solutions, in particular for training the rest lengths _ℓj_ . While
this result is interesting and suggests that coupled learning may differ significantly from tuning in certain nonlinear networks, we note that training the network is successful regardless of the deviation between the methods.
We leave more detailed exploration of the alignment between possible local learning rules to future study.
A physical learning process called “directed aging” has
recently been introduced to create mechanical metamaterials from mechanical networks [9–11] and self-folding
sheets [13]. The strategy exploits the idea that stressed
bonds in elastic networks tend to weaken (age) over time.
During training, the network is nudged in a similar fashion to the coupled learning process. Refs. [9, 10] consider two different classes of learning degrees of freedom
in central-force spring networks. In one case, the “kmodel,” the stiffnesses _kj_ of the springs are modified,
while in the “ _ℓ_ -model” rest lengths _ℓ_ 0 _,j_ are modified. The
clamped state can either correspond to Eq. 5 with _η_ = 1
or to a periodically varying amplitude _η_ = sin Ω _t_ . In the
latter case, the oscillation is performed quasistatically in
the sense that the physical degrees of freedom are relaxed
completely at each time step.
In elastic networks, the directed aging _k_ -model and _ℓ_ model learning rules are:
_k_ ˙ _j_ = _−_ <sup>_<u>α</u>_</sup> 2 <sup>[</sup> <sup>_r_</sup> _j_ <sup>_C_</sup> <sup>_−_</sup> <sup>_ℓj_</sup> <sup>]2</sup>
_ℓ_ ˙ _j_ = _−_ _αkj_ [ _rj_ <sup>_C_</sup> <sup>_−_</sup> <sup>_ℓj_</sup> <sup>]</sup> <sup>_._</sup>
(14)
where the learning degrees of freedom (stiffness or rest
length) evolve in response to the clamped boundary conditions. Such dynamics have the effect of lowering the
elastic energy of the desired state, and thus the response
of the network to the specified inputs is expected to improve. Indeed, directed aging was shown to be successful
in training elastic networks with nearly marginal coordination, so that they lie just above the minimum number
of edges per node ( _Zc_ = 2 _d_ ) required for mechanical stability in _d_ dimensions. Note that because the clamped
physical cost function _E_ <sup>_C_</sup> can be written as a sum over
individual costs of edges _j_, the directed aging rule is local as it is for coupled learning. Directed aging therefore corresponds to a physical learning rule, as has been
demonstrated experimentally [9].
However, directed aging fails to to achieve the desired
target response in many instances. In particular, it is
observed that either flow networks or highly coordinated
elastic networks cannot be trained by directed aging to
perform allosteric functions. Comparing directed aging
(Eq. 14) with coupled learning (Eq. 7), we see that the
clamped terms are the same, but the directed aging rule
is missing the free term. As a special case of coupled
learning, directed aging is expected to perform well in
systems whose energy in the free state (or its derivative)
can be neglected. Appendix B shows that in general both
the free and clamped terms are necessary to train networks for desired functions. Therefore coupled learning
can be viewed as a generalization of the directed aging
framework that is successful for a more general class of
physical networks.
V. DISCUSSION
In this work we have introduced coupled learning, a
class of learning rules born of contrastive Hebbian learning and equilibrium propagation [15, 18], and applied it
to two types of physical systems, namely flow networks
and mechanical spring networks. The advantage of such
supervised learning rules, compared to more traditional
techniques such as optimization of a cost function, is that
they are physically plausible; at least in principle, coupled learning can be implemented in realistic materials
and networks, allowing them to learn autonomously from
external signals.
Such learning machines are not only interesting in
themselves, but may have important advantages compared to physical systems designed by optimizing a
cost function. First, because the process involves local responses to local stresses, the approach is scalable–
training steps in networks of different sizes (different
numbers of nodes) would take approximately the same
amount of time. In contrast, the time required to compute gradients of a collective cost function increases
rapidly with system size.
Second, the ability to train the system _in-situ_ means
that it is not necessary to know the network geometry or
topology, or even any information about the physical or
learning degrees of freedom. This is particularly valuable
for experimental systems, which do not have to be characterized in full microscopic detail in order to be trained,
as long as the proper learning rules can be implemented,
at least in an approximate form.
Third, as long as the learning rules can be implemented, one does not need to manipulate individual
edges to have the desired values of the learning degree
of freedom (e.g. the edge conductance for a flow network). Thus, the role of the supervisor can be filled by
an end user, training the network for their desired tasks,
rather than an expert designer.
An experimental realization of a learning flow network
seems quite plausible, as has also been suggested for analog resistor networks [22]. The required ingredients are
pipes whose conductances can be modified in response to
the current carried by the pipe. It is possible that this
condition is similar to that used by the brain vasculature,
where vessels can be expanded or constricted [42, 43].
We have focused primarily on training physical networks for one particular function (i.e. one particular
source-target map, namely allostery). However, coupled
learning rules may be used as a stochastic gradient descent step, training the network for a different function in
each training iteration. This idea allowed us to train the
flow network to distinguish MNIST digits. The dynamics of learning multiple functions using coupled learning
is quite involved, and the training performance may depend strongly on the order and frequency of shown training examples. We will address these issues in subsequent
work.
One might ask whether physical networks could compete as learning machines with computational neural networks. Our aim is not to outperform neural networks.
Rather, the goal is to design physical systems capable of
adapting autonomously to tasks and able to generalize to
diverse inputs without a computer. Nevertheless, physical networks do supply at least one potential advantage
compared to computational neural networks. In contrast
to feed-forward neural networks often used in machine
learning, the input-output relations in our physical (recurrent) networks are necessarily symmetric in the linear
response regime (the regime in which the target response
is proportional to the source). As a result, training target responses for given sources may yield a _generative_
_model_ [44, 45]. Such generative models could produce examples of a class given its label by imposing target values
distributed around the trained responses, and reading out
the free source values. We leave the prospects of physical
learning of generative models to future study.
Acknowledgments
We thank Nidhi Pashine, Sidney Nagel, Ben Lansdell,
Konrad Kording, Vijay Balasubramanian, Eleni Katifori,
Douglas Durian and Sam Dillavou for insightful discussions. This research was supported by the U.S. Department of Energy, Office of Basic Energy Sciences, Division of Materials Sciences and Engineering under Awards
DE- FG02-05ER46199 and DE-SC0020963 (MS), and the
Simons Foundation for the collaboration “Cracking the
Glass Problem” award #454945 to AJL, as well as Investigator award #327939 (AJL). DH wished to thank the
Israel Science Foundation (grant 2385/20).
Appendix A: Nudge amplitude _η_
In the main text we used local learning rules based
on the difference between the free state and a slightly
nudged clamped state ( _η_ _≪_ 1). We showed how choosing
_η_ _≪_ 1 in flow networks allows the learning rule to mimic
the optimization of a global cost function (Fig. 7a), and
discuss that further in Appendix B.
Here we argue that choosing large nudge amplitudes
_η_ _∼_ 1, as suggested by contrastive Hebbian learning [15],
can adversely affect learning in physical networks, particularly in non-linear networks (e.g. mechanical networks).
The choice _η_ _≪_ 1 implies that the clamped state is
almost identical to the free state. Inspecting Eq. 4 or
Eq. 7, we see that the learning rule essentially becomes
a derivative of the energy function with respect to the
physical variables, in the direction towards the desired
state. Thus, the learning rule is in fact a derivative of
the energy in both spaces, those of the physical (e.g. pressure values) and learning degrees of freedom (e.g. pipe
conductances). The choice _η_ _≪_ 1 implies a _local_ modification of the system not only in the spatial sense (so that
only nearby elements communicate), but also in the generalized energy landscape of the combined configuration
space of physical and learning parameters.
Conversely, choosing a large nudge amplitude _η_ _∼_ 1
means the free and clamped states can be far away from
each other, so that the learning rule does not approximate the derivative very well. This may be particularly
important in non-linear networks whose energy landscape
is non-convex. In such cases, if the free and clamped
states are far apart, they may belong to different attractor basins in the landscape, possibly impeding the learning process, since it is not guaranteed that the learning
rule can eliminate energy barriers between the two states.
This problem has been long recognized as a limitation of
contrastive Hebbian learning [15], and has been solved
by using a small nudging factor [18].
We thus argue for the benefit of choosing small nudges
_η_ _≪_ 1. To test this proposal, we observe the learning
process in flow networks and mechanical networks with
different choices of _η_ (Fig. 8). We trained flow networks
(with 512 nodes, 10 sources and 3 targets) with varying
values of the nudge parameter _η_ (Fig. 8ab). It is generally found that choosing small nudge values _η_ _≪_ 1 leads
to better learning performance. The learning process is
faster for lower _η_, so that after a fixed training time,
the accuracy of networks trained with small _η_ is better.
When _η_ is raised gradually, we find that the learning
process is gradually and continuously slowed down.
Changing the nudge amplitude for non-linear networks,
such as a mechanical spring network (Fig. 8cd) can lead
to qualitatively different results. In one network of 512
nodes (trained with the _ℓ_ -learning rule of Eq. 7, 10 random sources and 3 random targets), we find a discontinuous behavior at _η_ _≈_ 0 _._ 6. At lower values we observe
similar behavior to a linear flow network, but at higher _η_
learning is abruptly slowed down by orders of magnitude.
As discussed above, this effect likely stems from the issue that for this learning problem, the initial free state
and the desired states belong to different attractor basins
in the network energy landscape. Thus, when _η_ is large
enough, the free and clamped states belong to different
basins, significantly slowing down the learning process.
FIG. 8. Effects of nudge amplitude _η_ on learning. a) 512 node
flow networks trained with 10 random source nodes and 3 target nodes. As the nudge amplitude _η_ is increased, training
gradually and continuously becomes slower. b) Trained flow
networks (after 2 _·_ 10 <sup>3</sup> time steps) perform better if trained
with small nudges. c) When learning is attempted in nonlinear mechanical networks using the _ℓ_ -rule, a similar picture emerges _on_ _average_, where learning degrades at higher
eta. Moreover, at particular realizations, we observe noncontinuous degradation of the learning process at particular
values of _η_ (inset). d) On average, learning performance is
largely maintained until _η_ _∼_ 1. In one 512 node network,
trained with 10 random sources and 3 random targets, training is relatively stable until _η_ _≈_ 0 _._ 6, and then goes thorough
a discontinuous jump (inset). Averaged data results from 17
realization of learning problems.
That being said, these nonlinear networks can still learn
with large nudges _η_ _∼_ 1, reaching low error values.
We conclude that choosing small nudge values _η_ _≪_ 1
yields superior results when training our networks. Such
choice leads to consistent and continuous learning in both
linear and non-linear networks, as the learning rule best
approximates the gradient descent on the desired cost
function (see Appendix B). When choosing large nudges
_η_ _∼_ 1, learning efficiency usually deteriorates, and we
observe interesting dynamical effects such as intermittent
unlearning events. We will address the dynamics of large
nudges in future work.
Appendix B: Effective cost function
In the main text we established that the coupled learning rule trains networks to present desired source-target
relations. Surprisingly, the local learning rule predicted
by our framework is very similar to the global modification resulting from minimizing a cost function. This
result is very encouraging, as it shows that physically
plausible, local learning rules can give rise to comparable training as non-local gradient descent, which is the
ultimate greedy training strategy. In this section we ex
plain this surprising similarity by deriving an effective
cost function from our learning rule.
As discussed in the main text, the network autonomously modifies its edge parameters _w_ by subtracting the energies of free and clamped states and taking a
derivative:
_C_ _∼_ _ϵ_ <sup>_T_</sup> _T_ <sup>_IϵT_</sup>
_C_ eff _∼_ (0 _, ϵT,_ ∆ _xH_ ) <sup>_T_</sup> _H_ <sup>_F_</sup> (0 _, ϵT,_ ∆ _xH_ ) _._
(B6)
_w_ ˙ _∼_ _∂_ _w_ _{E_ <sup>_F_</sup> ( _xS, x_ <sup>_F_</sup> _T_
_H_ <sup>_F_</sup> <sup>)</sup>
<sup>_F_</sup> _T_ <sup>_, x_</sup> _H_ <sup>_F_</sup>
_−E_ <sup>_C_</sup> ( _xS, x_ <sup>_F_</sup> _T_
<sup>_F_</sup> _T_ <sup>+</sup> <sup>_η_</sup> <sup>[</sup> <sup>_XT_</sup> <sup>_−_</sup> <sup>_xF_</sup> _T_
<sup>_F_</sup> _T_ <sup>]</sup> <sup>_, x_</sup> _H_ <sup>_C_</sup>
_H_ <sup>_C_</sup> <sup>)</sup> <sup>_}._</sup>
(B1)
Here, we expanded the notation of the main text to include the free and clamped states of all the hidden nodes
_xH_ . Given a small nudge parameter _η_ _≪_ 1, the clamped
state is very similar to the free state, and we can approximate the clamped state using a Taylor expansion around
the free state. In particular, let us write the clamped
state of the hidden nodes as _x_ <sup>_C_</sup> _H_ <sup>_≡_</sup> <sup>_x_</sup> _H_ <sup>_F_</sup> <sup>+ ∆</sup> <sup>_xH_</sup> <sup>,</sup> <sup>with</sup> <sup>the</sup>
shift is ∆ _xH_ a vector of magnitude _∼_ _η_ . Further, we define the signed error in the target signal _ϵT_ _≡_ _XT_ _−_ _x_ <sup>_F_</sup> _T_ <sup>.</sup>
<sup>_C_</sup> _H_ <sup>_≡_</sup> <sup>_x_</sup> _H_ <sup>_F_</sup>
fine the signed error in the target signal _ϵT_ _≡_ _XT_ _−_ _x_ <sup>_F_</sup> _T_ <sup>.</sup>
Concatenating the source, target and hidden nodes together, the difference between the free and clamped state
can be written as
_H_ <sup>_C_</sup> <sup>_−_</sup> <sup>_x_</sup> _H_ <sup>_F_</sup>
_T_ <sup>_F_</sup> <sup>_, x_</sup> _H_ <sup>_C_</sup>
<sup>_C_</sup> _S_ <sup>_−_</sup> <sup>_x_</sup> _S_ <sup>_F_</sup>
_T_ <sup>_C_</sup> <sup>_−_</sup> <sup>_x_</sup> _T_ <sup>_F_</sup>
∆ _x ≡_ ( _x_ <sup>_C_</sup> _S_
_S_ <sup>_F_</sup> <sup>_, x_</sup> _T_ <sup>_C_</sup>
_H_ <sup>_F_</sup> <sup>) =</sup> <sup>_η_</sup> <sup>(0</sup> <sup>_, ϵT_</sup> <sup>_,_</sup> <sup>∆</sup> <sup>_xH_</sup> <sup>)</sup> <sup>_._</sup>
Now, we can approximate the energy of the clamped state
_E_ <sup>_C_</sup> as
_E_ <sup>_C_</sup> _≈E_ <sup>_F_</sup> + _η_ (0 _, ϵT,_ ∆ _xH_ ) _∇xE_ <sup>_F_</sup> +
While the effective cost function we derived is not identical to the standard cost function, they share important
properties. Firstly, both functions are convex (square
forms) in the difference between the desired and the obtained result _ϵT_ . Both functions are bounded from below
by 0, as the Hessian of the stable free state is positive
semi-definite. The two cost functions vanish if and only
if the obtained targets are equal to the desired targets
_x_ <sup>_F_</sup> _T_ <sup>=</sup> <sup>_XT_</sup> <sup>.</sup> <sup>Note</sup> <sup>that</sup> <sup>this</sup> <sup>is</sup> <sup>true</sup> <sup>since</sup> <sup>at</sup> <sup>_ϵT_</sup> <sup>=</sup> <sup>0,</sup> <sup>∆</sup> <sup>_xH_</sup>
vanishes as well. Overall, we know that a global minimum of _C_ eff must be a global minimum of _C_ . The effect
of the Hessian matrix close to that minimum is mostly
to stretch and rotate the paraboloid cup implied by the
square form. When comparing the two cost functions,
we also find that their gradients are aligned to significant extents as shown in Fig. 7. While this is alignment
is not guaranteed and affected by many factors (e.g. network physics and architecture, number of targets, error
values, etc.), the fact that both cost functions share the
same minima means that coupled learning will tend to
find solutions that minimize the original cost function
too. We conclude that minimizing _C_ eff should mimic the
minimization of _C_, at least close enough to a minimum
of _C_, as is in fact observed.
Recently, it was shown [22, 23] that using a nudged
state that applies a ‘force’ on the output nodes, rather
than clamping their values as done here, implies that
the effective cost function approaches the original cost
function _C_ for small nudge amplitudes _η_ _→_ 0.
Appendix C: Experimentally feasible learning rule
for flow networks
As discussed in the main text, implementing the full
coupled learning rule of Eq. 4 in an experimental setting may prove difficult. One would need to implement
pipes that can adapt in opposite ways to the same flows,
depending if the system is set in the free or clamped
state. To simplify this learning rule for better experimental feasibility, we start by considering the full rule
for conductance adaptation
<sup><u>1</u></sup> 2 <sup>_η_</sup> <sup>2(0</sup> <sup>_, ϵT,_</sup> <sup>∆</sup> <sup>_xH_</sup> <sup>)</sup> <sup>_T_</sup> <sup>_<u>∂</u>_</sup> _∂x∂x_ <sup>2</sup> <sup>_<u>EF</u>_</sup>
(B2)
+ <sup><u>1</u></sup> 2
<sup>_<u>∂</u>_</sup> _∂x∂x_ <sup>2</sup> <sup>_<u>EF</u>_</sup> <sup>(0</sup> <sup>_, ϵT,_</sup> <sup>∆</sup> <sup>_xH_</sup> <sup>)</sup>
By definition of the free state, it is a stable equilibrium
state of the physical network, so that the first order term
vanishes _∇xE_ <sup>_F_</sup> = 0. The second derivative in the second
order term is the Hessian at the free state _H_ <sup>_F_</sup> . Thus the
Taylor expansion simplifies to
_E_ <sup>_C_</sup> _≈_ _E_ <sup>_F_</sup> + <sup>_<u>η</u>_</sup> <sup>2</sup> (B3)
2 <sup>(0</sup> <sup>_, ϵT,_</sup> <sup>∆</sup> <sup>_xH_</sup> <sup>)</sup> <sup>_T H_</sup> <sup>_F_</sup> <sup>(0</sup> <sup>_, ϵT,_</sup> <sup>∆</sup> <sup>_xH_</sup> <sup>)</sup> <sup>_._</sup>
This result can be plugged back into the learning rule
of Eq. B1 to obtain
_w_ ˙ _∼−_ <sup>_<u>η</u>_</sup> <sup>2</sup> (B4)
2 <sup>_∂_</sup> <sup>_w_</sup> <sup>(0</sup> <sup>_, ϵT,_</sup> <sup>∆</sup> <sup>_xH_</sup> <sup>)</sup> <sup>_T H_</sup> <sup>_F_</sup> <sup>(0</sup> <sup>_, ϵT,_</sup> <sup>∆</sup> <sup>_xH_</sup> <sup>)</sup> <sup>_._</sup>
As discussed in the main text, a typical tuning algorithm starts by defining a cost function _C_ _≡_ _ϵ_ <sup>2</sup> _T_ <sup>=</sup> <sup>_ϵT_</sup> _T_ <sup>_IϵT_</sup> <sup>,</sup>
with _I_ the identity matrix. This cost function is minimized via gradient descent
_w_ ˙ _G_ _∼−∂_ _w_ _C._ (B5)
Comparing equations B4 and B5, we may identify an
effective cost function minimized by our learning rule
_k_ ˙ _∼{_ [ ∆ _p_ <sup>_F_</sup> ( _pS, p_ <sup>_F_</sup> _T_ <sup>)]2</sup>
_−_ [ ∆ _p_ <sup>_C_</sup> ( _pS, p_ <sup>_F_</sup> _T_
<sup>_F_</sup> _T_ <sup>+</sup> <sup>_η_</sup> <sup>[</sup> <sup>_PT_</sup> <sup>_−_</sup> <sup>_pF_</sup> _T_
<sup>_F_</sup> _T_ <sup>])]2</sup> <sup>_}._</sup>
(C1)
Recall that ∆ _p_ is a vector of pressure differences across
all pipes. It may be replaced by the difference of pressures
in the two nodes connected by the pipe ∆ _p_ _≡_ _p_ 2 _−_ _p_ 1.
We can use this form in Eq. C1 to obtain:
_k_ ˙ _∼{_ [ _p_ <sup>_F_</sup> 2 <sup>_−_</sup> <sup>_p_</sup> <sup>_F_</sup> 1 <sup>]2</sup> <sup>_−_</sup> <sup>[</sup> <sup>_p_</sup> <sup>_C_</sup> 2 <sup>_−_</sup> <sup>_p_</sup> <sup>_C_</sup> 1 <sup>]2</sup> <sup>_}_</sup> <sup>=</sup>
= ( _p_ <sup>_F_</sup> 1 <sup>_−_</sup> <sup>_p_</sup> <sup>_C_</sup> 1 <sup>)(</sup> <sup>_p_</sup> <sup>_F_</sup> 1 <sup>+</sup> <sup>_p_</sup> <sup>_C_</sup> 1 <sup>) + 2</sup> <sup>_p_</sup> <sup>_C_</sup> 1 <sup>_p_</sup> <sup>_C_</sup> 2 <sup>+</sup>
+ ( _p_ <sup>_F_</sup> 2 <sup>_−_</sup> <sup>_p_</sup> <sup>_C_</sup> 2 <sup>)(</sup> <sup>_p_</sup> <sup>_F_</sup> 2 <sup>+</sup> <sup>_p_</sup> <sup>_C_</sup> 2 <sup>)</sup> <sup>_−_</sup> <sup>2</sup> <sup>_p_</sup> <sup>_F_</sup> 1 <sup>_p_</sup> 2 <sup>_F_</sup>
(C2)
Now, we define the difference between the free and
clamped states as _δpµ_ _≡_ _p_ <sup>_F_</sup> _µ_ <sup>_−_</sup> <sup>_p_</sup> _µ_ <sup>_C_</sup> <sup>,</sup> <sup>with</sup> <sup>_µ_</sup> <sup>the</sup> <sup>node</sup>
<sup>_F_</sup> _µ_ <sup>_−_</sup> <sup>_p_</sup> _µ_ <sup>_C_</sup>
clamped states as _δpµ_ _≡_ _p_ <sup>_F_</sup> _µ_ <sup>_−_</sup> <sup>_p_</sup> _µ_ <sup>_C_</sup> <sup>,</sup> <sup>with</sup> <sup>_µ_</sup> <sup>the</sup> <sup>node</sup>
index. If we choose a small nudge parameter _η_ _≪_ 1, the
free and clamped states are almost identical, such that
_p_ <sup>_F_</sup> _µ_ <sup>_≈_</sup> <sup>_pC_</sup> _µ_ <sup>_→|_</sup> <sup>_δpµ_</sup> <sup>_|_</sup> <sup>_≪|_</sup> <sup>_p_</sup> _µ_ <sup>_F_</sup> <sup>_|_</sup> <sup>.</sup> <sup>Using</sup> <sup>the</sup> <sup>proximity</sup> <sup>of</sup> <sup>the</sup>
free and clamped states, we can approximate Eq. C2
<sup>_F_</sup> _µ_ <sup>_≈_</sup> <sup>_pC_</sup> _µ_
<sup>_C_</sup> _µ_ <sup>_→|_</sup> <sup>_δpµ_</sup> <sup>_|_</sup> <sup>_≪|_</sup> <sup>_p_</sup> _µ_ <sup>_F_</sup>
_k_ ˙ _∼_ 2[ _δp_ 1 _p_ <sup>_F_</sup> 1 <sup>+</sup> <sup>_δp_</sup> <sup>2</sup> <sup>_pF_</sup> 2 <sup>_−_</sup>
_−_ _p_ <sup>_F_</sup> 1 <sup>_pF_</sup> 2 <sup>+ (</sup> <sup>_pF_</sup> 1 <sup>_−_</sup> <sup>_δp_</sup> <sup>1</sup> <sup>)(</sup> <sup>_pF_</sup> 2 <sup>_−_</sup> <sup>_δp_</sup> <sup>2</sup> <sup>)]</sup> <sup>_≈_</sup>
(C3)
<u>Coupled learning (N=512)</u> <u>Gradient descent (N=64)</u>
FIG. 9. Effects of non-negative learning degrees of freedom.
a) Training a flow network ( _N_ = 512 _, MS_ = 10 _, MT_ = 10)
on a ‘hard’ task where learning only reduces the error by a
small factor. We find that when coupled learning fails to train
a flow network, gradient descent (tuning) fails as well, suggesting the issue lies with the network and not the learning
rule. Inset shows that a few percent of edges (conductances)
reach their minimal value during training. b) Averaging over
10 training tasks, we find that harder training problems with
more simultaneous targets induce a larger fraction of edges to
reach their minimal value. c) Median normalized error during training with coupled learning for networks with different
number of vanishing edges, showing that the non-negative
constraint slows learning ( _N_ = 512 _, MS_ = 10 _, MT_ = 5). d)
A similar slow-down arises when the network is trained with
standard gradient descent ( _N_ = 64 _, MS_ = 10 _, MT_ = 5).
while linear flow networks will always give rise to a linear mapping between the pressures at the sources and
targets, the non-negativity limitation excludes many conceivable linear mappings, depending on the geometry of
the network and source pressures. Therefore, we expect
that a linear flow network would generally be less successful than a general linear model (i.e. linear regression) in
learning certain desired tasks.
While several possible approaches for circumventing
this issue have been proposed [47, 48], here we discuss
the effect of such non-negativity limitation on the learning process in our physical networks. To avoid negative
values in the learning degrees of freedom, we simply cutoff their values at a small number (e.g. _k_ _≥_ 10 <sup>_−_</sup> <sup>6</sup> in
flow networks). We find that training the networks often
causes a fraction of the learning parameters to reach these
small cut-off values. This may significant affect learning
for two reasons. First, the magnitude of modification to
the learning parameters is reduced, so that learning may
fail or slow down. Second, the modification of the learning parameters becomes less aligned with the gradient of
the cost function.
In Fig. 9, we again directly compare coupled learning
and tuning (gradient descent) for training of flow networks, as shown in Fig. 7. However, in this example
_≈_ 2( _δp_ 1 _−_ _δp_ 2 )( _p_ <sup>_F_</sup> 1 <sup>_−_</sup> <sup>_pF_</sup> 2 <sup>)</sup> <sup>_._</sup>
Going back to the notation of pressure drops across
pipes, we can write ∆ _p_ <sup>_δ_</sup> _≡_ _δp_ 1 _−_ _δp_ 2, supporting the
definition of the _δ_ -state as described in the main text.
The approximated learning rule can thus be rewritten as
_k_ ˙ _≈_ 2 _αη_ <sup>_−_</sup> <sup>1</sup> ∆ _p_ <sup>_F_</sup> ∆ _p_ <sup>_δ_</sup> _._ (C4)
As long as we pick _η_ _≪_ 1, this approximation is very
accurate. To make this learning rule more experimentally
feasible, we further approximate it so that only the sign
of ∆ _p_ <sup>_F_</sup> is accounted for, and the conductances change in
only one direction, yielding Eq. 8. Finally, we note that
while this approximation is derived specifically for linear
flow networks, the derivation may be similar for diverse
physical networks, as long as the energy of an edge is
(to first approximation) proportional to the difference in
‘activation’ between the connected nodes. For example,
similar approximation could be derived for both the _k_
and _ℓ_ learning rules in elastic networks (Eq. 7).
Appendix D: Non-negative learning parameters
In this work we introduced coupled learning, a supervised learning framework for physical networks. Using
coupled learning, one can derive the relevant learning
rules (i.e. the proper dynamics for modifying the learning degrees of freedom). The systems demonstrated in
this work, flow and elastic networks, are special examples. However, the learning degrees of freedom in both
examples have a shared physical limitation: The conductance of pipes in a flow network, as well as the stiffness
and rest lengths of springs in an elastic networks, are all
defined as non-negative quantities. This is a similar issue
to the non-negativity of synaptic connection strengths in
natural neural networks [46].
Due to this physical limitation of the networks we considered, their capacity to learn arbitrary mappings between the sources and targets is limited. For example,
( _N_ = 512 _, MS_ = 10 _, MT_ = 10), learning ‘fails’, so that
the initial error is only reduced by a factor of 3. It is important to note that the failure is shared by both coupled
learning and gradient descent, hinting that the problem
is not in the learning rule, but rather in the network
physics or architecture. Indeed, Fig. 9a inset shows that
as training proceeds, a few percent of the edges vanish,
with their conductance values reaching the minimal cutoff. In Fig. 9b, we average the fraction of vanishing edges
over 10 training examples to show that harder training
problems (with more simultaneous targets) often lead to
a larger fraction of vanishing conductance values. One
[1] Don Norman. _The_ _design_ _of_ _everyday_ _things:_ _Revised_
_and_ _expanded_ _edition_ . Basic books, 2013.
[2] Stefan H Thomke. Managing experimentation in the de
sign of new products. _Management_ _Science_, 44(6):743–
762, 1998.
[3] Sotiris B Kotsiantis, I Zaharakis, and P Pintelas. Super
vised machine learning: A review of classification techniques. _Emerging_ _artificial_ _intelligence_ _applications_ _in_
_computer_ _engineering_, 160(1):3–24, 2007.
[4] Pankaj Mehta, Marin Bukov, Ching-Hao Wang, Alexan
dre GR Day, Clint Richardson, Charles K Fisher, and
David J Schwab. A high-bias, low-variance introduction
to machine learning for physicists. _Physics_ _reports_, 2019.
[5] Jason W Rocks, Nidhi Pashine, Irmgard Bischofberger,
Carl P Goodrich, Andrea J Liu, and Sidney R Nagel.
Designing allostery-inspired response in mechanical networks. _Proceedings_ _of_ _the_ _National_ _Academy_ _of_ _Sciences_,
114(10):2520–2525, 2017.
[6] Jason W Rocks, Henrik Ronellenfitsch, Andrea J Liu,
Sidney R Nagel, and Eleni Katifori. Limits of multifunctionality in tunable networks. _Proceedings of the National_
_Academy_ _of_ _Sciences_, 116(7):2506–2511, 2019.
[7] Blake A Richards and Timothy P Lillicrap. Dendritic so
lutions to the credit assignment problem. _Current_ _opin-_
_ion_ _in_ _neurobiology_, 54:28–36, 2019.
[8] Jason W Rocks, Andrea J Liu, and Eleni Katifori.
Revealing structure-function relationships in functional
flow networks via persistent homology. _arXiv_ _preprint_
_arXiv:1901.00822_, 2019.
[9] Nidhi Pashine, Daniel Hexner, Andrea J Liu, and Sid
ney R Nagel. Directed aging, memory, and nature’s
greed. _Science_ _Advances_, 5(12):eaax4215, 2019.
[10] Daniel Hexner, Nidhi Pashine, Andrea J Liu, and Sid
ney R Nagel. Effect of directed aging on nonlinear elasticity and memory formation in a material. _Physical_ _Review_
_Research_, 2(4):043231, 2020.
[11] Daniel Hexner, Andrea J Liu, and Sidney R Nagel.
Periodic training of creeping solids. _arXiv_ _preprint_
_arXiv:1909.03528_, 2019.
[12] Henrik Ronellenfitsch and Eleni Katifori. Global optimization, local adaptation, and the role of growth
in distribution networks. _Physical_ _review_ _letters_,
117(13):138301, 2016.
[13] Menachem Stern, Chukwunonso Arinze, Leron Perez,
Stephanie E. Palmer, and Arvind Murugan. Supervised
learning through physical changes in a mechanical sys
may ask whether this vanishing of edges causes problems for training. In Fig. 9cd, we find that learning
slows down considerably with an increasing number of
removed edges for tasks with the same number of targets
( _MT_ = 5), regardless if training is performed using our
coupled learning approach or tuning (gradient descent).
Note that the gradient descent case trains faster only because we consider a much smaller _N_ = 64 network (see
Fig. 2ef). Together with Fig. 9b, these results suggest
that it is the physical constraint of non-negative learning degrees of freedom that slows down learning, not the
coupled learning protocol itself.
tem. _Proceedings_ _of_ _the_ _National_ _Academy_ _of_ _Sciences_,
117(26):14843–14850, 2020.
[14] Menachem Stern, Viraaj Jayaram, and Arvind Murugan.
Shaping the topology of folding pathways in mechanical
systems. _Nature_ _communications_, 9(1):1–8, 2018.
[15] Javier R Movellan. Contrastive hebbian learning in the
continuous hopfield model. In _Connectionist_ _models_,
pages 10–17. Elsevier, 1991.
[16] Pierre Baldi and Peter Sadowski. A theory of local learn
ing, the learning channel, and the optimality of backpropagation. _Neural_ _Networks_, 83:51–74, 2016.
[17] Yoshua Bengio and Asja Fischer. Early inference
in energy-based models approximates back-propagation.
_arXiv_ _preprint_ _arXiv:1510.02777_, 2015.
[18] Benjamin Scellier and Yoshua Bengio. Equilibrium prop
agation: Bridging the gap between energy-based models
and backpropagation. _Frontiers_ _in_ _computational_ _neuro-_
_science_, 11:24, 2017.
[19] Sergey Bartunov, Adam Santoro, Blake Richards, Luke
Marris, Geoffrey E Hinton, and Timothy Lillicrap. Assessing the scalability of biologically-motivated deep
learning algorithms and architectures. In _Advances_ _in_
_Neural_ _Information_ _Processing_ _Systems_, pages 9368–
9378, 2018.
[20] Jason Z Kim, Zhixin Lu, Steven H Strogatz, and
Danielle S Bassett. Conformational control of mechanical
networks. _Nature_ _Physics_, page 1, 2019.
[21] Miguel Ruiz-Garc´ıa, Andrea J Liu, and Eleni Katifori.
Tuning and jamming reduced to their minima. _Physical_
_Review_ _E_, 100(5):052608, 2019.
[22] Jack Kendall, Ross Pantone, Kalpana Manickavasagam,
Yoshua Bengio, and Benjamin Scellier. Training end-toend analog neural networks with equilibrium propagation. _arXiv_ _preprint_ _arXiv:2006.01981_, 2020.
[23] Axel Laborieux, Maxence Ernoult, Benjamin Scellier,
Yoshua Bengio, Julie Grollier, and Damien Querlioz.
Scaling equilibrium propagation to deep convnets by
drastically reducing its gradient estimator bias. _arXiv_
_preprint_ _arXiv:2006.03824_, 2020.
[24] Georg Thimm and Emile Fiesler. High-order and mul
tilayer perceptron initialization. _IEEE_ _Transactions_ _on_
_Neural_ _Networks_, 8(2):349–359, 1997.
[25] Jim YF Yam and Tommy WS Chow. A weight initializa
tion method for improving training speed in feedforward
neural network. _Neurocomputing_, 30(1-4):219–232, 2000.
[26] Carl P Goodrich, Andrea J Liu, and Sidney R Nagel. The
principle of independent bond-level response: Tuning by
pruning to exploit disorder for global behavior. _Physical_
_review_ _letters_, 114(22):225501, 2015.
[27] Nidhi Pashine. Local rules for fabricating allosteric net
works. _arXiv_ _preprint_ _arXiv:2101.06793_, 2021.
[28] L´eon Bottou. Stochastic learning. In _Summer_ _School_ _on_
_Machine_ _Learning_, pages 146–168. Springer, 2003.
[29] Yann LeCun, Corinna Cortes, and CJ Burges. Mnist
handwritten digit database. _AT&T_ _Labs_ _[Online]._ _Avail-_
_able:_ _http://yann._ _lecun._ _com/exdb/mnist_, 2, 2010.
[30] SL Soo and SK Tung. Deposition and entrainment in pipe
flow of a suspension. _Powder_ _Technology_, 6(5):283–294,
1972.
[31] WSJ Uijttewaal and RVA Oliemans. Particle dispersion
and deposition in direct numerical and large eddy simulations of vertical pipe flows. _Physics of Fluids_, 8(10):2590–
2604, 1996.
[32] Jing Jin, Shuangjun Chen, and Jun Zhang. Uv aging be
haviour of ethylene-vinyl acetate copolymers (eva) with
different vinyl acetate contents. _Polymer degradation and_
_stability_, 95(5):725–732, 2010.
[33] A Boubakri, Nader Haddar, K Elleuch, and Yves Bien
venu. Impact of aging conditions on mechanical properties of thermoplastic polyurethane. _Materials_ _&_ _Design_,
31(9):4194–4201, 2010.
[34] Anthony Holtmaat and Karel Svoboda. Experiencedependent structural synaptic plasticity in the mammalian brain. _Nature_ _Reviews_ _Neuroscience_, 10(9):647–
658, 2009.
[35] Nobuaki Yasumatsu, Masanori Matsuzaki, Takashi
Miyazaki, Jun Noguchi, and Haruo Kasai. Principles of
long-term dynamics of dendritic spines. _Journal_ _of_ _Neu-_
_roscience_, 28(50):13592–13608, 2008.
[36] Dan D Stettler, Homare Yamahachi, Wu Li, Winfried
Denk, and Charles D Gilbert. Axons and synaptic boutons are highly dynamic in adult visual cortex. _Neuron_,
49(6):877–887, 2006.
[37] Debdatta Ratna and J Karger-Kocsis. Recent advances
in shape memory polymers and composites: a review.
_Journal_ _of_ _Materials_ _Science_, 43(1):254–269, 2008.
[38] Izabela K Kuder, Andres F Arrieta, Wolfram E Raither,
and Paolo Ermanni. Variable stiffness material and structural concepts for morphing applications. _Progress_ _in_
_Aerospace_ _Sciences_, 63:33–55, 2013.
[39] Maxence Ernoult, Julie Grollier, Damien Querlioz,
Yoshua Bengio, and Benjamin Scellier. Updates of equilibrium prop match gradients of backprop through time
in an rnn with static input. _Advances_ _in_ _Neural_ _Infor-_
_mation_ _Processing_ _Systems_, 32:7081–7091, 2019.
[40] Sean Fancher and Eleni Katifori. Tradeoffs between en
ergy efficiency and mechanical response in fluid flow networks. _arXiv_ _preprint_ _arXiv:2102.13197_, 2021.
[41] Blake A Richards, Timothy P Lillicrap, Philippe Beau
doin, Yoshua Bengio, Rafal Bogacz, Amelia Christensen,
Claudia Clopath, Rui Ponte Costa, Archy de Berker,
Surya Ganguli, et al. A deep learning framework for neuroscience. _Nature_ _neuroscience_, 22(11):1761–1770, 2019.
[42] Marilyn J Cipolla. The cerebral circulation. _Integrated_
_systems_ _physiology:_ _From_ _molecule_ _to_ _function_, 1(1):1–
59, 2009.
[43] Yu-Rong Gao, Stephanie E Greene, and Patrick J Drew.
Mechanical restriction of intracortical vessel dilation by
brain tissue sculpts the hemodynamic response. _Neu-_
_roimage_, 115:162–176, 2015.
[44] Andrew Y Ng and Michael I Jordan. On discriminative
vs. generative classifiers: A comparison of logistic regression and naive bayes. In _Advances_ _in_ _neural_ _information_
_processing_ _systems_, pages 841–848, 2002.
[45] Tony Jebara. _Machine_ _learning:_ _discriminative_ _and_ _gen-_
_erative_, volume 755. Springer Science & Business Media,
2012.
[46] Christopher Parisien, Charles H Anderson, and Chris
Eliasmith. Solving the problem of negative synaptic weights in cortical models. _Neural_ _computation_,
20(6):1473–1494, 2008.
[47] Miao Hu, John Paul Strachan, Zhiyong Li, Emmanuelle M Grafals, Noraica Davila, Catherine Graves,
Sity Lam, Ning Ge, Jianhua Joshua Yang, and R Stanley
Williams. Dot-product engine for neuromorphic computing: Programming 1t1m crossbar to accelerate matrixvector multiplication. In _2016_ _53nd_ _ACM/EDAC/IEEE_
_Design Automation Conference (DAC)_, pages 1–6. IEEE,
2016.
[48] Zhongrui Wang, Can Li, Wenhao Song, Mingyi Rao,
Daniel Belkin, Yunning Li, Peng Yan, Hao Jiang, Peng
Lin, Miao Hu, et al. Reinforcement learning with analogue memristor arrays. _Nature electronics_, 2(3):115–124,
2019.
섹션 본문
섹션 본문이 없습니다.
참고문헌 32건
- Managing Experimentation in the Design of New Products Management Science · Institute for Operations Research and the Management Sciences · 1998 10.1287/mnsc.44.6.743
- A high-bias, low-variance introduction to Machine Learning for physicists Physics Reports · Elsevier BV · 2019 10.1016/j.physrep.2019.03.001
- Designing allostery-inspired response in mechanical networks Proceedings of the National Academy of Sciences · National Academy of Sciences · 2017 10.1073/pnas.1612139114
- Limits of multifunctionality in tunable networks Proceedings of the National Academy of Sciences · National Academy of Sciences · 2019 10.1073/pnas.1806790116
- Dendritic solutions to the credit assignment problem Current Opinion in Neurobiology · Elsevier BV · 2018 10.1016/j.conb.2018.08.003
- Revealing structure-function relationships in functional flow networks via persistent homology Physical Review Research · American Physical Society · 2020 10.1103/physrevresearch.2.033234
- Directed aging, memory, and nature’s greed Science Advances · American Association for the Advancement of Science · 2019 10.1126/sciadv.aax4215
- Effect of directed aging on nonlinear elasticity and memory formation in a material Physical Review Research · American Physical Society · 2020 10.1103/physrevresearch.2.043231
- Periodic training of creeping solids Proceedings of the National Academy of Sciences · National Academy of Sciences · 2020 10.1073/pnas.1922847117
- Global Optimization, Local Adaptation, and the Role of Growth in Distribution Networks Physical Review Letters · American Physical Society · 2016 10.1103/physrevlett.117.138301
- Supervised learning through physical changes in a mechanical system Proceedings of the National Academy of Sciences · National Academy of Sciences · 2020 10.1073/pnas.2000807117
- Shaping the topology of folding pathways in mechanical systems Nature Communications · Nature Portfolio · 2018 10.1038/s41467-018-06720-1
- A theory of local learning, the learning channel, and the optimality of backpropagation Neural Networks · Elsevier BV · 2016 10.1016/j.neunet.2016.07.006
- Equilibrium Propagation: Bridging the Gap between Energy-Based Models and Backpropagation Frontiers in Computational Neuroscience · Frontiers Media · 2017 10.3389/fncom.2017.00024
- Conformational control of mechanical networks Nature Physics · Nature Portfolio · 2019 10.1038/s41567-019-0475-y
- Tuning and jamming reduced to their minima Physical review. E · American Physical Society · 2019 10.1103/physreve.100.052608
- High-order and multilayer perceptron initialization IEEE Transactions on Neural Networks · Institute of Electrical and Electronics Engineers · 1997 10.1109/72.557673
- A weight initialization method for improving training speed in feedforward neural network Neurocomputing · Elsevier BV · 2000 10.1016/s0925-2312(99)00127-7
- The Principle of Independent Bond-Level Response: Tuning by Pruning to Exploit Disorder for Global Behavior Physical Review Letters · American Physical Society · 2015 10.1103/physrevlett.114.225501
- Deposition and entrainment in pipe flow of a suspension Powder Technology · Elsevier BV · 1972 10.1016/0032-5910(72)83024-9
- Particle dispersion and deposition in direct numerical and large eddy simulations of vertical pipe flows Physics of Fluids · American Institute of Physics · 1996 10.1063/1.869046
- UV aging behaviour of ethylene-vinyl acetate copolymers (EVA) with different vinyl acetate contents Polymer Degradation and Stability · Elsevier BV · 2010 10.1016/j.polymdegradstab.2010.02.020
- Impact of aging conditions on mechanical properties of thermoplastic polyurethane Materials & Design (1980-2015) · Elsevier BV · 2010 10.1016/j.matdes.2010.04.023
- Experience-dependent structural synaptic plasticity in the mammalian brain Nature reviews. Neuroscience · Nature Portfolio · 2009 10.1038/nrn2699
- Principles of Long-Term Dynamics of Dendritic Spines Journal of Neuroscience · Society for Neuroscience · 2008 10.1523/jneurosci.0603-08.2008
- Axons and Synaptic Boutons Are Highly Dynamic in Adult Visual Cortex Neuron · Cell Press · 2006 10.1016/j.neuron.2006.02.018
- Recent advances in shape memory polymers and composites: a review Journal of Materials Science · Springer Science+Business Media · 2007 10.1007/s10853-007-2176-7
- Variable stiffness material and structural concepts for morphing applications Progress in Aerospace Sciences · Elsevier BV · 2013 10.1016/j.paerosci.2013.07.001
- A deep learning framework for neuroscience Nature Neuroscience · Nature Portfolio · 2019 10.1038/s41593-019-0520-2
- Mechanical restriction of intracortical vessel dilation by brain tissue sculpts the hemodynamic response NeuroImage · Elsevier BV · 2015 10.1016/j.neuroimage.2015.04.054
- Solving the Problem of Negative Synaptic Weights in Cortical Models Neural Computation · The MIT Press · 2008 10.1162/neco.2008.07-06-295
- Reinforcement learning with analogue memristor arrays Nature Electronics · Nature Portfolio · 2019 10.1038/s41928-019-0221-6