arxiv:2001.08502v1 [physics.flu-dyn] 23 jan 2020 · a karman vortex in which two rows of vortices...

17
Computing with vortices: Bridging fluid dynamics and its information-processing capability Ken Goto, 1 Kohei Nakajima, 2, * and Hirofumi Notsu 3, 4 1 Division of Mathematical and Physical Sciences, Kanazawa University, Kakuma, Kanazawa 920-1192, Japan. 2 Graduate School of Information Science and Technology, The University of Tokyo, Bunkyo-ku, 113-8656 Tokyo, Japan. 3 Faculty of Mathematics and Physics, Kanazawa University, Kakuma, Kanazawa 920-1192, Japan. 4 PRESTO, Japan Science and Technology Agency, Kawaguchi, Saitama 332-0012, Japan. Herein, the Karman vortex system is considered to be a large recurrent neural network, and the computational capability is numerically evaluated by emulating nonlinear dynamical systems and the memory capacity. Therefore, the Reynolds number dependence of the Karman vortex system computational performance is revealed and the optimal computational performance is achieved near the critical Reynolds number at the onset of Karman vortex shedding, which is associated with a Hopf bifurcation. Our finding advances the understanding of the relationship between the physical properties of fluid dynamics and its computational capability as well as provides an alternative to the widely believed viewpoint that the information processing capability becomes optimal at the edge of chaos. INTRODUCTION Fluids can be universally observed in nature and ex- hibit rich and diverse dynamics as well as instabilities that form a source of inspiration for several mathemati- cians, physicists, engineers, and biologists in the field of nonlinear science. In this study, we focus on the diverse nature of fluid dynamics and make a novel attempt to elucidate its information processing capability where the meaning of information processing is the approximation of a function such as that found in neural networks. The Karman vortex is a renowned phenomenon in fluid dynamics and can be referred to an asymmetric vortex street that collides with an obstacle in the direction of fluid travel and is generated in the wake of an object (Fig. 1), where a typical example considered to be the flow past a circular cylinder can be referred to as the Karman vortex system. This mechanism has attracted the attention of many researchers(1–4). In general, the flow at a low Reynolds number is laminar and changes to a turbulent flow as the Reynolds number increases. More- over, this is true for the Karman vortex system, where the flow is steady and symmetric at low Reynolds num- bers, and a pair of vortices, known as the twin vortex, are generated behind the object at large Reynolds numbers. The twin vortex grows in proportion with the Reynolds number; however, when the Reynolds number exceeds a certain value, vibration occurs downstream, resulting in a Karman vortex in which two rows of vortices are alter- nately arranged (cf. Fig. 2A and supplementary videos). In this study, the Karman vortex system is used as a test bed for clarifying the computational performance of fluid dynamics. * Corresponding author. k [email protected] Several attempts have been made to implement com- putations that focus on fluids. The construction of logic circuits using the fluidity of a droplet and its ap- plication to soft robots are typical examples(5–7). In this study, we propose another paradigm of informa- tion processing based on fluids. Here, we manage a machine learning framework called reservoir computing (RC)(8–10), which is a framework of recurrent neural network learning and an information processing tech- nique that exploits the input-driven transient behav- iors of high-dimensional dynamic systems called a reser- voir. This method can be implemented by adjusting lin- ear and static readout weights from a reservoir. More- over, an arbitrary time series can be accurately gener- ated when the reservoir exhibits sufficient nonlinearity and memory(11). A recent development in RC is using the dynamics of a physical system as a reservoir, which can be referred to as physical reservoir computing (PRC). Examples of this implementation have been reported, in- cluding studies that have used the dynamics of water sur- face waves for pattern recognition(12), the usage of op- tical media(13, 14), the behavior of a soft robot(15–18), spintronics devices(19–21), and the dynamics of quan- tum many-body systems(22, 23), where each platform exhibits a particular computational property intrinsic to its respective spatio-temporal scales. In this study, we exploit the dynamics of the Karman vortex system as a reservoir to solve temporal machine learning tasks using numerical experiments and predict the expected outputs, that is, the fluid computational capability is analyzed by numerical simulation. First, we investigate the bifurcation of our Karman vortex system using input settings to understand the dynamic property of our reservoir. Second, we analyze the echo state prop- erty (ESP), which provides a prerequisite for dynamics to function as a successful reservoir and demonstrate the relation between the ESP and the stability of the solu- tion with respect to the Karman vortex system. Third, arXiv:2001.08502v1 [physics.flu-dyn] 23 Jan 2020

Upload: others

Post on 05-Aug-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: arXiv:2001.08502v1 [physics.flu-dyn] 23 Jan 2020 · a Karman vortex in which two rows of vortices are alter-nately arranged (cf. Fig. 2A and supplementary videos). In this study,

Computing with vortices:Bridging fluid dynamics and its information-processing capability

Ken Goto,1 Kohei Nakajima,2, ∗ and Hirofumi Notsu3, 4

1Division of Mathematical and Physical Sciences,Kanazawa University, Kakuma, Kanazawa 920-1192, Japan.

2Graduate School of Information Science and Technology,The University of Tokyo, Bunkyo-ku, 113-8656 Tokyo, Japan.

3Faculty of Mathematics and Physics, Kanazawa University, Kakuma, Kanazawa 920-1192, Japan.4PRESTO, Japan Science and Technology Agency, Kawaguchi, Saitama 332-0012, Japan.

Herein, the Karman vortex system is considered to be a large recurrent neural network, and thecomputational capability is numerically evaluated by emulating nonlinear dynamical systems andthe memory capacity. Therefore, the Reynolds number dependence of the Karman vortex systemcomputational performance is revealed and the optimal computational performance is achieved nearthe critical Reynolds number at the onset of Karman vortex shedding, which is associated with aHopf bifurcation. Our finding advances the understanding of the relationship between the physicalproperties of fluid dynamics and its computational capability as well as provides an alternative tothe widely believed viewpoint that the information processing capability becomes optimal at theedge of chaos.

INTRODUCTION

Fluids can be universally observed in nature and ex-hibit rich and diverse dynamics as well as instabilitiesthat form a source of inspiration for several mathemati-cians, physicists, engineers, and biologists in the field ofnonlinear science. In this study, we focus on the diversenature of fluid dynamics and make a novel attempt toelucidate its information processing capability where themeaning of information processing is the approximationof a function such as that found in neural networks.

The Karman vortex is a renowned phenomenon in fluiddynamics and can be referred to an asymmetric vortexstreet that collides with an obstacle in the direction offluid travel and is generated in the wake of an object(Fig. 1), where a typical example considered to be theflow past a circular cylinder can be referred to as theKarman vortex system. This mechanism has attractedthe attention of many researchers(1–4). In general, theflow at a low Reynolds number is laminar and changes toa turbulent flow as the Reynolds number increases. More-over, this is true for the Karman vortex system, wherethe flow is steady and symmetric at low Reynolds num-bers, and a pair of vortices, known as the twin vortex, aregenerated behind the object at large Reynolds numbers.The twin vortex grows in proportion with the Reynoldsnumber; however, when the Reynolds number exceeds acertain value, vibration occurs downstream, resulting ina Karman vortex in which two rows of vortices are alter-nately arranged (cf. Fig. 2A and supplementary videos).In this study, the Karman vortex system is used as a testbed for clarifying the computational performance of fluiddynamics.

∗ Corresponding author.k [email protected]

Several attempts have been made to implement com-putations that focus on fluids. The construction oflogic circuits using the fluidity of a droplet and its ap-plication to soft robots are typical examples(5–7). Inthis study, we propose another paradigm of informa-tion processing based on fluids. Here, we manage amachine learning framework called reservoir computing(RC)(8–10), which is a framework of recurrent neuralnetwork learning and an information processing tech-nique that exploits the input-driven transient behav-iors of high-dimensional dynamic systems called a reser-voir. This method can be implemented by adjusting lin-ear and static readout weights from a reservoir. More-over, an arbitrary time series can be accurately gener-ated when the reservoir exhibits sufficient nonlinearityand memory(11). A recent development in RC is usingthe dynamics of a physical system as a reservoir, whichcan be referred to as physical reservoir computing (PRC).Examples of this implementation have been reported, in-cluding studies that have used the dynamics of water sur-face waves for pattern recognition(12), the usage of op-tical media(13, 14), the behavior of a soft robot(15–18),spintronics devices(19–21), and the dynamics of quan-tum many-body systems(22, 23), where each platformexhibits a particular computational property intrinsic toits respective spatio-temporal scales.

In this study, we exploit the dynamics of the Karmanvortex system as a reservoir to solve temporal machinelearning tasks using numerical experiments and predictthe expected outputs, that is, the fluid computationalcapability is analyzed by numerical simulation. First, weinvestigate the bifurcation of our Karman vortex systemusing input settings to understand the dynamic propertyof our reservoir. Second, we analyze the echo state prop-erty (ESP), which provides a prerequisite for dynamicsto function as a successful reservoir and demonstrate therelation between the ESP and the stability of the solu-tion with respect to the Karman vortex system. Third,

arX

iv:2

001.

0850

2v1

[ph

ysic

s.fl

u-dy

n] 2

3 Ja

n 20

20

Page 2: arXiv:2001.08502v1 [physics.flu-dyn] 23 Jan 2020 · a Karman vortex in which two rows of vortices are alter-nately arranged (cf. Fig. 2A and supplementary videos). In this study,

2

u1 u2 ptime

u 1, u

2, p

(nor

mal

ized

) ΩR

object

preparing reservoir dynamics

flow

Dirichlet B.C.(Input Injection)

Karman vortex system (Re=50)

input

1.01

0.99

inpu

t

0

0.5

1

2060 2070 2080 2090 2100

Fig. 1. Behavior of a typical Karman vortex, and thenode preparation of reservoir for a given input se-quence. The grid behind the cylinder represents the nodesused for the reservoir; let the set of nodes be ΩR. The timeseries plots are described to be the normalized results (ve-locity: u and pressure: p) of the fluid simulation and theinput. However, rather than using all such time series in thereservoir, the time data immediately before the switching tothe next input are extracted and used. The number of out-put/observation nodes is (10 + 1) × (6 + 1) × 3 = 231. Allthese diagrams are drawn under the conditions of Re = 50and z1(t) ∈ [0.99, 1.01].

we investigate the long-diameter of twin vortices becausewe observe the long-diameter oscillation by the input ef-fects to the system and analyze the behavior of the vor-tices satisfying the ESP. Next, we implement two typicalbenchmark tasks by applying our Karman vortex sys-tem as a reservoir to demonstrate the characteristics, therange of computational capability, the Reynolds numbercomputational performance dependence, and its limita-tions. Finally, as an illustration of the application sce-nario of our scheme, we implement the prediction of fluidvariables by using PRC and demonstrate its performance.

This was only possible by using partial differentialequations (PDE), the Navier–Stokes equations, which iscrucial for our analyses to reveal vortices’ detailed struc-ture and its relation to inputs. These analyses are diffi-cult to conduct only by using abstract spatially extendedmodels (e.g., cell automata) in principle.

RESULTS

In this section, our results are discussed in some sub-sections. First, we analyze the bifurcation of our sys-tem. Next, we study ESP, which is a prerequisite tobe a successful reservoir, from the perspective of a dy-

namical system. In the third subsection, we focus onthe twin vortices in the region where their synchroniza-tion does not collapse according to the increase of theReynolds number and investigate their long-diameter andthe input-sensitivity inside the vortices. In the forth andfifth subsections, the computational performances of oursystem for two tasks, the evaluation of the memory ca-pacity and the nonlinear autoregressive moving average(NARMA) task, are discussed, respectively. In thesetasks, we discuss the results obtained through the LRmodel yk = w1

LRzk + w0LR and by a similar reservoir

of flow simulation without an object (called no-object)for comparison; in this study, we refer to the results ofthe analysis using Navier–Stokes problem as “system”or “system output”. Finally, the results of the time se-ries predictions for the Navier–Stokes flow, which canbe applied to the interpolations of the missing variables,are denoted. This task shows whether the time series ofa missing variable can be predicted by the time seriesof other variables without constructing their predictivemodels.

The Hopf bifurcation of the Karman vortex system

In this subsection, we investigate the bifurcation ofour system and the periodicity of the solution, whereour setup is based on the non-stationary solution withinputs. The bifurcation structure of the cylinder wakewithout input was first studied theoretically and numer-ically by Dusek and Le Gal(24) who revealed it to bea Hopf bifurcation. To date, however, the bifurcationstructure of the system with input has not been clarified.Fig. 2A shows the typical behavior of vortices accordingto each Reynolds number in our system. The twin vortex(Re = 10 and Re = 40) and the Karman vortex (Re = 50and Re = 100) are observed. Figs. 2B and C show thebehavior of the circular cylinder flow using the max/min-velocity diagram and the phase portrait, respectively. Wethen find that the velocity is the periodic type solution atRe = 50 and 100, i.e., our system has non-chaotic be-havior, and the Hopf bifurcation occurs near the criticalReynolds number (around Re = 45). This result is simi-lar to the Karman vortex system without inputs.

Common-signal-induced synchronization and echostate property

When a signal-driven dynamical system is used as asuccessful reservoir, the dynamical system must satisfycommon-signal-induced synchronization(9, 25, 26) (orESP(27, 28)). Then, we analyze two numbers, Em andλ, for each Reynolds number, where Em represents an in-dicator of synchronization and asymptotically convergesto 1 if synchronization occurs, and λ is the amplificationfactor of perturbation and means the stability/instabilityof the flow field, cf. the section of MATERIALS AND

Page 3: arXiv:2001.08502v1 [physics.flu-dyn] 23 Jan 2020 · a Karman vortex in which two rows of vortices are alter-nately arranged (cf. Fig. 2A and supplementary videos). In this study,

3

0.5

1

1.5

2

2.5

3

3.5

10 20 30 40-0.05

-0.04

-0.03

-0.02

-0.01

0

0.01

10 20 30 40 50 60 70 80 90 100

Stability

systemno input

0

0.004

0.008

0.012

0.016

system

λ|1

-Em|

Deviation from synchronization

Re=10 Re=40

Re=50 Re=100

-1

-0.5

0

0.5

1

20 40 60 80 100

A B C

max-velocitymin-velocity

ReD E

Re

long

-dia

met

er

d

F

Re

velo

city

Cor

(d)

-0.4 -0.2 0 0.2 0.4

0.4

0.2

0

-0.2

-0.4-0.4 -0.2 0 0.2 0.4

-0.4

-0.2

0

0.2

0.4

-0.4 -0.2 0 0.2 0.4-0.4

-0.2

0

0.2

0.4

-0.3 0 0.3-0.6 0.6

0

-0.5

0.5

1

-1

Re=10 Re=40

Re=50 Re=100

−0.2

0

0.2

0.4

0.6

0.8

1

Cor

(d)

long-diameter range

12

long-diameter

(0,0)

−1−0.8−0.6−0.4−0.2

0 0.2 0.4 0.6 0.8

0 20 40 60 80 100

Re=10Re=20Re=30

Re=40Re=45Re=50

Re=60Re=75

Re=100

Re=10Re=20Re=30

Re=40Re=45Re=50

Re=60Re=75

Re=100

max/min-velocity diagram

Fig. 2. Behaviors of fluid and the analysis of the bifurcation, and ESP, and the twin vortices’ long-diameters,and their input-sensitivity, according to the Reynolds number. (A) The vortex types denote fluid behavior ac-cording to the Reynolds number. (B) Denoting the Hopf bifurcation using the velocity ur

2. The mean and deviation formaxP∈ΩR,k∈[0,Tr−1] u

r2(P, k) and minP∈ΩR,k∈[0,Tr−1] u

r2(P, k) are plotted according to the Reynolds number. (C) The phase

portrait (u2, ∂u2/∂t), which is constructed at (x1, x2) = (5.5, 0.0) and Re = 10, 40, 50, and 100. (D) The mean and deviationfor |1 − Em| and λ are plotted according to the Reynolds number. (E) The overview of the twin vortices’ long-diameterand the long-diameter range according to the Reynolds number. The red line represents the averaged long-diameter and thegray fill indicates the max/min long-diameter at Re = 10, 20, 30, 40, and 45. (F) The mean and deviation cross-correlationsCori(d), i = 1, 2, which between the flow function at the two fixed points (x1, x2) ≈ (0.52,−0.2), (3.3,−0.32), and the inputsare plotted according to the delay d by the Reynolds number.

METHODS for the definitions of Em and λ. Fig. 2Dshows the outcome of the averaged |1−Em| and λ in eachReynolds number. Both |1−Em| and λ tend to increasedepending on the Reynolds number, suggesting a criti-cal point (∈ [40, 50]) where synchronization breaks downduring the transition from the twin vortex to the Karmanvortex. The synchronization phenomenon is unlikely tooccur under the condition of Re ≥ 50; i.e., the Karmanvortex is generated. However, in the region where thesynchronization is collapsed (Re ∈ (45, 100]), no chaoticbehavior occurs but it is a periodic behavior (Fig. 2B andFig. 2C). Furthermore, the onset of the flow instabilitynear the critical Reynolds number has been known to bea manifestation of Hopf bifurcation and a chaotic behav-ior appears at a larger Re (cf., e.g.,(24, 29)). Therefore,note that the critical point of the synchronization differs

from that of chaos of flow field. In our setup, z1 usesan input with a small swing, such as [0.99, 1.01]; thus, λis almost the same for systems without input (Fig. 2D).Interestingly, the behaviors of |1−Em| and λ correspondto the task results presented in Fig. 3, which will be ex-plained in detail in a later section.

Twin vortex behavior

The twin vortices are known to grow large accordingto the Reynolds number. In this subsection, we calculatethe twin vortices’ long-diameter using the flow function.The behavior of this long-diameter becomes the brief in-dicator of the input effects because the long-diameter isobserved to be oscillating in response to the input stream

Page 4: arXiv:2001.08502v1 [physics.flu-dyn] 23 Jan 2020 · a Karman vortex in which two rows of vortices are alter-nately arranged (cf. Fig. 2A and supplementary videos). In this study,

4

(the supplementary videos). To clarify the vortex inter-nal structures of our system, we focus on the twin vor-tices, i.e., Re ∈ [10, 45] and analyze the input-sensitivityof the twin vortices here. Primarily, the twin vorticesare described, but as a comparison, the Karman vortexcases are described too. Let us introduce the twin vor-tices’ long-diameter:

γ(t) := maxx∈Ωx1;ψ(t) > 0, x2 < 0,

γ(t) := maxx∈Ωx1;ψ(t) < 0, x2 > 0,

where ψ is the flow function satisfied u1 = ∂ψ/∂x2, u2 =−∂ψ/∂x1. In Fig. 2E, the averaged (γ + γ)/2 andmax/min γ or γ for time are plotted according to theReynolds number. We observe the oscillation of thelong-diameter by the numerical simulation, and then thelong-diameter is calculated. Subsequently, we determinethe expanded long-diameter range with the input ef-fects (Fig. 2E). Next, we calculate the cross-correlationbetween the inputs zn = z1(n∆t) and the flow func-tion ψn

1 = ψ(xmin, n∆t), ψn2 = ψ(xmax, n∆t) where

xmin ≈ (0.52,−0.2),xmax ≈ (3.3,−0.32). These coor-dinates represent the coordinate near the cylinder wherethe vortices are generated and the coordinate taking ap-proximately the long-diameter at Re = 45, respectively.In Fig. 2F, we use the indicator Cori(d), i = 1, 2 as fol-lows:

Cori(d) :=cov(ψk+d

i , zk)

s(ψk+di )s(zk)

, i = 1, 2,

where cov(ψk+di , zk) and s(ψk+d

i ) represent the covari-

ance between ψk+di and zk and the standard deviation of

ψk+di , respectively, and the delay d = 0, . . . , 100. In the

beginning, there is no large difference between the input-sensitivity at xmin according to the Reynolds numberRe ∈ [10, 45] but the higher Reynolds number, the slowerconvergence of Cori(d). Moreover, the input-sensitivityat xmax is more significantly different according to theReynolds number Re ∈ [10, 45]. This indicates that thesystem has wider effective vortices with respect to theinput-sensitivity in proportion with the Reynolds num-ber Re ∈ [10, 45], which this forms an essential propertyof the vortices reservoir. In the case of the Karman vortexRe ∈ [50, 100], the input-sensitivity is exceedingly low atboth points, suggesting that the ESP has collapsed.

Evaluation of the memory capacity

Here, we evaluate the memory capacity of the systemby investigating whether the system can reproduce previ-ous inputs and nonlinearly process them using its currentstates. In this study, we apply the Legendre polynomials

for each time step expressed as yk = Pn(zk−d), and drepresents the delay gives a value, d = 0, 1, . . . , 50:

Pn(l) =1

2nn!

dn

dln[(l2 − 1)n]. (1)

The finite products of the Legendre polynomials for eachtime step were used in (11); however, for simplicity, thenonlinear degree of the Legendre polynomials for eachdelay is changed and treated as a target, e.g., if n = 3,P3 = 1

2 (5z3k−d− 3zk−d). In this task, we use the memory

function and memory capacity as follows:

MF (d) :=cov2(yk, yk)

σ2(yk)σ2(yk), (2)

MC :=

∞∑

d=1

MF (d), (3)

where σ2(yk) represents the variance of yk. The objectiveof this task is to quantify whether the system can regener-ate previous inputs and whether the system can emulatethe nonlinear functions of the previous inputs. The quan-tified values are referred to as the linear memory capacityand nonlinear memory capacity, respectively. The mem-ory capacity shows a high value if the system outputssuccessfully emulate the target outputs for each targetdelay. Fig. 3A shows the results of MC in the evaluationphase. The most striking feature is that MC increasesas the system approaches the critical Reynolds numberand suddenly decreases if the Reynolds number exceedsthe critical value. In other words, MC increases as thestate of the dynamics approaches from the twin vortex tothe Karman vortex and significantly decreases after thetransition. At Re = 40, immediately before the bifur-cation point, the system has the highest memory, withMCRe=40 ≈ 9.579 as the actual value of linear mem-ory. Moreover, the extensive twin vortices have higherinput-sensitivity (cf. Fig. 2F) and we infer that imple-mentation of the higher computational capability occursvia higher input-sensitivity. We confirm that the highestMC in the system shows a similar value to the results ofESN10 for linear memory, while the system performanceis comparable to ESN100 in case of nonlinear memory.Furthermore, our system can represent both odd func-tions and even functions, whereas some reservoirs, suchas ESN, can only demonstrate either of the functions be-cause of the constraint of the setting of the activationfunctions(11).

NARMA task

The NARMA model was developed by Atiya andParlos(30), and the objective of this task is to model thestate of a system depending on an input and its history ina dynamic system with strong nonlinearity; i.e., an em-ulation of the nonlinear dynamic system. The essentialpoint of the NARMA task is to include the long-term de-pendencies of the system with n-th time lag. We initially

Page 5: arXiv:2001.08502v1 [physics.flu-dyn] 23 Jan 2020 · a Karman vortex in which two rows of vortices are alter-nately arranged (cf. Fig. 2A and supplementary videos). In this study,

5

10-7

10-6

10-5

10-4

10-5

10-4

10-3

10-2

NM

SE

system LRno-object

nonlinear degree 2nonlinear degree 3 nonlinear degree 5A

B

NARMA2 NARMA3 NARMA4 NARMA6

ESN600

0

2

4

6

8

10

MC

Re

ESN10

linear memory

ESN5

20 40 60 80 100

Re 20 40 60 80 100

ESN50

ESN100

NARMA task

Memory capacity task

ESN10

Re 20 40 60 80 100

Re 20 40 60 80 100

Re 20 40 60 80 100

ESN10

Re 20 40 60 80 100

Re 20 40 60 80 100

Re 20 40 60 80 100

ESN10

ESN600ESN600

ESN10 ESN10

ESN600

10-5

10-4

10-3

10-2

10-5

10-4

10-3

10-2

0

1

2

3

4

5

0

2

1

3

0

0.5

1

1.5

ESN10

ESN100

Fig. 3. Results for evaluations of the memory capacity and NARMA tasks. (A) Results for linear and nonlinearmemory capacity are plotted at each Reynolds number. (B) Results for the NARMA tasks in terms of NMSE are plotted atthe Reynolds number of Re = 10, 20, 30, 40, 45, 50, 60, 75, and 100. In both A. and B., the plots and its error bar show the meanand its standard deviation, respectively. ESN5, ESN10, ESN50, ESN100, and ESN600 mean NESN = 5, 10, 50, 100, and 600,respectively. We clarify the involvement of the vortex in the computational capability by comparing LR, no-object and ESNwith those of the system. We determine that the peak of the computational performance is approximately Re = 40, immediatelybefore the bifurcation point. The background color shading indicates whether the flow is stable (yellow) or unstable (purple).

introduce the NARMA model of a second-order nonlineardynamical system as follows:

yk+1 = 0.4yk + 0.4ykyk−1 + 0.6z3k + 0.1. (4)

In this study, we call this system NARMA2 and theNARMA system such that the n-th order nonlinear dy-namical system can be written as follows:

yk+1 = 0.3yk + 0.05yk

(n−1∑

j=0

yk−j

)

+1.5zk−n+1zk + 0.1. (5)

Similarly, these tasks are called NARMA3, NARMA4,NARMA5, and so forth.

Fig. 3B shows the error evaluation in the evalua-tion phase and indicates the averaged normalized meansquared error (NMSE) in each NARMA task separatelybased on each Reynolds number; NMSE is calculated asNMSE :=

∑k(yk − yk)2/

∑k y

2k. Here, the system, no-

object, ESN, which is the standard recurrent neural net-

work, and LR are compared in terms of NMSE and plot-ted for each Reynolds number to demonstrate the char-acteristics of the computational performance of a system(details for the setting of ESN are provided in SM). Wecompare the system with no-object and observe that vor-tices work effectively depending on the task difficulty andthe Reynolds number, and compare the system based onESN or LR and observe that the fluid dynamics workeffectively. In the results, we observe that the Reynoldsnumber at the optimal performance coincides with thecritical Reynolds number of the Karman vortex system(Fig. 3B). In NARMA2, NARMA3, and NARMA4, sys-tem performance at Re = 40 is much better than theresult of ESN with 600 nodes. For example, the sys-tem performances at Re = 10 and 100 are inferior tothe performance at Re = 40 (Fig. 3 and the supple-mentary videos). The plots in Fig. 4 are the represen-tative examples of the actual performances of NARMA2,NARMA3, NARMA4, and NARMA5 at Re = 40 anddemonstrate that the system can clearly trace the tar-get model when compared with the LR system (the sup-

Page 6: arXiv:2001.08502v1 [physics.flu-dyn] 23 Jan 2020 · a Karman vortex in which two rows of vortices are alter-nately arranged (cf. Fig. 2A and supplementary videos). In this study,

6

0.99

1

1.01in

put

0.192

0.194

0.196

0.198

y

NARMA2

0.16

0.18

0.2

y

NARMA3

0.16

0.18

0.2

y

NARMA4

0.16

0.18

0.2

1960 1980 2000 2020 2040timestep

target outputsystem output

no objectLR

y

NARMA5

Fig. 4. A typical performance of the NARMA tasksin the evaluation phase at Re = 40. In each plot, the per-formance of the LR system, system, and no-object are com-pared with the target. We confirm that the system can traceaccurately through the involvement of a vortex.

plementary videos). We confirm that tracking accuracyis improved by the involvement of a vortex in compar-ison with that observed in the no-object case. We caninfer that the nonlinear processing capability is low atRe = 10 because the input-sensitivity of vortices is loweven though the synchronization occurred and that thecomputational capability is low at Re = 100 because thesynchronization is broken.

Time series predictions

RC enables highly accurate predictions of time seriesdata and can estimate the Lyapunov exponents of highdimensional spatio-temporal chaotic systems(31, 32).

The behavior of fluid variables is predicted using RC(33).This section aims to implement the prediction of fluidvariables (velocity and pressure) using the system’s owndynamics based on the framework of PRC. The dynamicsother than the variable to be predicted are used as thereservoir to predict the unknown variable. Thus, if thetarget output is u1, such as, yk = u1(P`, kτ), the reser-voir xik ∈ R; i = 1, . . . , Nrr, k = 1, . . . , Tr is definedby

x2(`−1)+1k := u2(P`, (k − 1)τ + ∆t),

x2(`−1)+2k := p(P`, (k − 1)τ + ∆t),

for ` = 1, . . . , S, Nrr := 2S = 154.Fig. 5 depicts a typical example of an error, with the

target output and actual performance for each target.The color map in Fig. 5 shows that the errors increase asthe Reynolds number increases; however, the actual per-formance successfully overlaps the target (Fig. 5A,B,C).As we observe the results in Fig. 5D for each target, al-though u2 is moderate, the error increases according tothe Reynolds number; when the Reynolds number ex-ceeds a critical Reynolds number; moreover, the errorsof u1 and p remarkably increase. This observation in-dicates that the prediction under a condition in whichthe Karman vortex is generated is relatively more diffi-cult than that under which the twin vortex is generated.In Fig. 5D, the time series prediction of twin vortex iseasy for any case. Furthermore, the time series predic-tion of the Karman vortex is difficult in LR and ESN butis comparatively possible using the PRC system. TheESP of the system is collapsed in the region Re ≥ 50. Ifthe reservoir does not satisfy ESP, its dynamics cannotbe uniquely determined by the input signal. Therefore,when we reconnect the test data with the optimal weightsin the evaluation phase, the error increases. We can in-fer that the prediction performance is degraded in thisReynolds number region because of flow instability as theperformance of the externally connected ESN model issignificantly degraded. Moreover, in the aforementionedMemory capacity and NARMA tasks, the computationalperformance may decrease in this Reynolds number re-gion, and we can consider that the prediction perfor-mance using PRC decreases. In this region Re ≥ 50, theESN does not work, and there is less prediction capabil-ity using other variables; however, the system has higherprediction capability than that observed using the ESNthat constructs an input-only function because the tar-get variable is both a function of inputs and a function ofother variables, which contain some of the target variablecomponents, including its history.

DISCUSSION

In this study, we first investigate the bifurcation of oursystem and demonstrate that the Hopf bifurcation occursin the Karman vortex system with inputs, followed by

Page 7: arXiv:2001.08502v1 [physics.flu-dyn] 23 Jan 2020 · a Karman vortex in which two rows of vortices are alter-nately arranged (cf. Fig. 2A and supplementary videos). In this study,

7

1.5 4.5 7.5 10.5

Re

u1

1.5 4.5 7.5 10.5

1.5 4.5 7.5 10.5

1.5 4.5 7.5 10.5 1.5 4.5 7.5 10.5

1.5 4.5 7.5 10.5

1.5 4.5 7.5 10.5 1.5 4.5 7.5 10.5

1.5 4.5 7.5 10.5

5.0

4.0

3.0

2.0

1.0

0.5

Re=40x10-4

5.0

4.0

3.0

2.0

1.00.5

5.0

4.0

3.0

2.0

1.00.5

x10-4

x10-3

x10-3

x10-3

x10-3

x10-3

x10-3

1.61.4

1.2

1.0

0.8

0.60.40.2

1.61.4

1.2

1.0

0.8

0.60.40.2

1.61.4

1.2

1.0

0.8

0.60.40.2

1.00.90.80.7

0.40.30.20.1

0.60.5

1.00.90.80.7

0.40.30.20.1

0.60.5

1.00.90.80.7

0.40.30.20.1

0.60.5

Re=50

Re=100

0.815

0.810

0.805

0.800

1960 1980 2000 2020 2040

0.0036

0.0035

0.0034

0.0033

0.0032

0.0031

-0.0130

-0.0135

-0.0140

-0.0145

1.0

0.9

0.8

0.7

0.10

0.05

0.00

-0.05

-0.10

0.02

0.01

0.00

-0.01

-0.02

-0.03

1.1

1.0

0.9

0.8

0.4

0.2

0.0

-0.2

-0.4

0.030.02

0.01

0.00

-0.01

-0.02

-0.03

1960 1980 2000 2020 2040

1960 1980 2000 2020 2040

1960 1980 2000 2020 2040

1960 1980 2000 2020 2040

1960 1980 2000 2020 2040

1960 1980 2000 2020 2040

1960 1980 2000 2020 2040

1960 1980 2000 2020 2040

timestep

y u1

y u2

y p

y u1

y u2

y p

y u1

y u2

y p

NM

SE

10-10

10-8

10-6

10-4

10-2

LRESN5

PRCESN200

10-4

10-3

10-2

10-1

Target :

20 40 60 80 100

u2Target :

pTarget :

NM

SE

NM

SE

NM

SE

x

x

x10-4

x

x

x

x

NM

SE

NM

SE

NM

SE

NM

SE

NM

SE

x

x

x

x

x

x

prediction actual prediction actual

prediction actual

NM

SE

NM

SE

NM

SE

x

x

x

x

x

x

timestep

timestep

timestep

timestep

timestep

timestep

timestep

timestep

-3.0

3.0

-2.0

-1.0

2.0

1.0

-3.0

3.0

-2.0

-1.0

2.0

1.0

-3.0

3.0

-2.0

-1.0

2.0

1.0

-3.0

3.0

-2.0

-1.0

2.0

1.0

-3.0

3.0

-2.0

-1.0

2.0

1.0

-3.0

3.0

-2.0

-1.0

2.0

1.0

-3.0

3.0

-2.0

-1.0

2.0

1.0

-3.0

3.0

-2.0

-1.0

2.0

1.0

-3.0

3.0

-2.0

-1.0

2.0

1.0

1

2

1

1

1

1

1

2

2

2

2

2

2

2

2

1

1

1

10-7

10-5

10-3

10-1

10-9

A B

C D

u1

u2

p

u1

u2

p

u1

u2

p

Fig. 5. Results for the time series prediction task. The color map shows NMSE at each the target, namely, u1, u2, andp in the area [1.5, 10.5]× [−3, 3], and the diagram next to each color map plots the actual performance at typical coordinatesby target. We describe yu1 if yk = u1(P`, kτ), yu2 if yk = u2(P`, kτ), and yp if yk = p(P`, kτ). The actual performances of u1,u2, and p are plotted by (x1, x2) = (2.5, 0.0), (4.5, 0.0), and (10.5,−2.0), respectively. The Reynolds numbers of (A), (B), and(C) are Re = 40, 50, and 100, respectively. (D) shows the mean plotted for NMSE vs. Re for each variable by target. All thenodes in the reservoir region are predicted and the `2 norm of the error is calculated. We also conduct a comparison with theLR system and ESN.

the synchronization phenomenon in the Karman vortexsystem, in which the details for the input-sensitivity areinvestigated. Then, we implement the PRC framework

numerically by using the dynamics of the Karman vortexsystem. Furthermore, the prediction of a fluid variable isperformed by the approach using the dynamics of other

Page 8: arXiv:2001.08502v1 [physics.flu-dyn] 23 Jan 2020 · a Karman vortex in which two rows of vortices are alter-nately arranged (cf. Fig. 2A and supplementary videos). In this study,

8

variables as the reservoir.We investigate ESP in terms of direct calculation using

reservoir dynamics and stability analysis and determinethat the synchronization phenomenon gradually collapsesas the phase shift from a twin vortex to a Karman vortex.However, we note that this correspondence between thestability analysis and the Reynolds number holds trueonly when the input intensity is low and does not nec-essarily hold true when we use the high input intensity(cf. SM). The input-sensitivity of the vortices is investi-gated and the details for vortices’ internal structure sat-isfying ESP are clarified. Furthermore, we suggest thatthe input-sensitivity of dynamics is useful for estimatingof the computational capability. Moreover, we demon-strate that the physical dynamics of the Karman vortexsystem can be used as a resource for temporal machinelearning tasks and that the computational performanceis maximized in the phase just before the synchroniza-tion failure. Note that the critical Reynolds numberfrom the twin vortex to the Karman vortex is knownto exist in the fluid field just before this synchronizationcollapses, and we clarify that the system possesses theessential parts such as a computational performance ina range of Re ∈ [40, 50]. Furthermore, we clarify thatESP is essential for estimating the computational per-formance because ESP collapses despite the non-chaoticbehavior in our setup. Moreover, we demonstrate thatin the Reynolds number band where ESP is collapsed,that is, the onset of the Karman vortex generation, if wetry to predict a behavior of a missing variable within asystem. Thus, using the rest of the variables within thesame system is more effective to make predictions thanconstructing external prediction models from scratch.

Finally, although the computational cost of PDEs wasmuch larger than that of ordinary differential equations,it was inevitable for our analyses and to reveal detailedstructures of the vortices. Our approach suggests thepossibility of determining an optimal set of parametersthat give high computational capability for the targetPRC using a numerical simulation of PDE if the targetphysical system is modeled well by PDE.

MATERIALS AND METHODS

The setup of our reservoir

We outline a typical RC that consists of input, reser-voir, and output layers(8, 9, 34). The reservoir is typ-ically expressed as a high-dimensional dynamic systemdriven by a low-dimensional input stream, which acts asa type of temporal and finite kernel facilitating the sepa-ration of input states. As a mathematical foundation forRC, any filter (time-invariant operator that maps inputsequence to output sequence) having fading memory(35)can be approximated with any desired degree of preci-sion by combining a filterbank with a pointwise separa-tion property and a readout function with a universal

approximation property(36, 37). Here, if we outsourcethe nonlinearity of the readout function to a filterbank,then the system turns out to be a typical RC with a lin-ear and static readout. Our aim in this study is to revealhow the Karman vortex system acts as a reservoir in thisrespect and to analyze its property systematically.

We briefly review the framework of RC. Assume thata reservoir map F : RM × Rm → Rm,m,M ∈ N, anda readout map h : RM → R , an infinite discrete inputz = (. . . , z−1, z0, z1, . . . ) ∈ (Rm)Zand an output signaly ∈ RZ, then a reservoir state vector xk ∈ RM and anoutput signal are determined by xk = F (xk−1, zk) andyk = h(xk), respectively. To exploit a reservoir map asa filter, it is preferable to have its state be a function ofthe previous input sequence, xk−1 = E(zk−1, zk−2, . . . ),which is related to the concept of ESP explained in detaillater. These expressions are a generalization of defini-tions of reservoir computer, and the readout map h is alinear map. First, we prepare the reservoir correspondingto the function F in our system.

We consider flows past a circular cylinder governedby the two-dimensional Navier–Stokes equations with in-puts, and numerically solve it by using the stabilizedLagrange–Galerkin (LG) method(38, 39). The detailsfor this problem, this method and the setting of inputsare provided in the supplementary materials (SM).

We also provide the definition of our reservoir using thenumerical solution (un

h, pnh), where un

h and pnh representthe velocity and the pressure, respectively. Note that(un

h, pnh) approximates (u(·, n∆t), p(·, n∆t)), and we use

two parameters, ∆t and τ , for time in the flow simulation.∆t is a time step size in the simulation, as mentioned inthe previous paragraph, and τ is a transient time for thereservoir that determines the timescale of the reservoir.The setup of our reservoir is described here. Let Ω ⊂ R2

be a bounded domain, and

ΩR := x ∈ Ω; x1 = i+ 0.5, i = 0, 1, . . . , 10,

x2 = −3,−2, . . . , 2, 3

be a set of points, which is, for simplicity, rewritten asΩR = PiSi=1 for S := #ΩR = 77 (cf. Fig. 1). Let τ > 0be a transient time in the flow simulation, Tr := bTf/τcbe the total time in our reservoir, and Nr := 3S = 231 bethe total number of computational nodes in our reservoir.We introduce a notation nk := kτ/∆t (k ∈ N ∪ 0)with the relation tnk = kτ . Let (ur(Pi, k), pr(Pi, k)) ∈R2 ×R; i = 1, . . . , S, k = 0, . . . , Tr − 1 be a part of thenumerical solution defined by

(ur(Pi, k), pr(Pi, k)) := (unk+1

h (Pi), pnk+1

h (Pi)),

which corresponds to the k-th input,

zk := znk1 = z1(kτ),

and is imposed as the Dirichlet boundary condition inthe system. Note that, the three values of (un

h, pnh)(Pi)

are uniquely determined because unh1, unh2, and pnh are

Page 9: arXiv:2001.08502v1 [physics.flu-dyn] 23 Jan 2020 · a Karman vortex in which two rows of vortices are alter-nately arranged (cf. Fig. 2A and supplementary videos). In this study,

9

continuous functions defined in Ω (cf. SM). Using(ur(Pi, k), pr(Pi, k)), we define our reservoir xik ∈R; i = 1, . . . , Nr, k = 0, . . . , Tr − 1 by

x3(`−1)+1k := ur1(P`, k),

x3(`−1)+2k := ur2(P`, k),

x3(`−1)+3k := pr(P`, k),

for ` = 1, . . . , S.Then, the output yk is computed by

yk =

Nr∑

i=0

wioutx

ik,

where x0k = 1 is a bias and wi

out is the readout weight ofthe i-th computational node xik. As usual in the frame-work of RC, the target function, yk = f(zk, zk−1, . . .)for a given function f is learned by adjusting the lin-ear readout weights. The ridge regression, known as L2

regularization (cf.(40)) is employed to obtain the opti-mal weights. The performance of the system output isevaluated by comparing yk with the target output yk.

Descriptions of an indicator of synchronization andthe amplification factor

The common-signal-induced synchronization is suchthat the states of two different initial condition reservoirsdriven by the same input sequence approach the samevalue over time. Intuitively, it indicates that the reser-voir asymptotically washes away the information relatedto the initial conditions, i.e., this condition indicates thatif a certain input sequence is injected at any time, it willreturn a same certain response, which expresses the min-imum characteristics necessary for the reservoir to im-plement a reproducible input-output relation and calcu-lation.

A similar concept to common-signal-induced synchro-nization is ESP in which the current network state r(t) isexpressed as a function of only the previous input seriesz(t), independent of the initial value r(0); i.e., there existsE such that r(t) = E(..., z(t−1), z(t))(41). In this study,we directly investigate the degree of synchronization us-ing two reservoir states corresponding to two identicalinput sequences with different initial values and usingthe amplification factor of perturbation(3), where, to getdifferent initial values, different initial input sequencesare used. Let xk and xk(∈ RNr ) be two reservoir statescorresponding to two identical input sequences with dif-ferent initial values; furthermore, we calculate Em:

Em :=‖xk+1 − xk‖`2(ΩR)

‖xk+1 − xk‖`2(ΩR)(6)

for the norm ‖xk‖`2(ΩR) := ∑Nr

i=1(xik)21/2. Em asymp-totically converges to 1 if xk and xk systems are synchro-nized with each other.

Then, the stability analysis of the fluid solution us-ing perturbation investigates whether the perturbationgiven as an initial value increases or decreases with time.The amplification factor of the perturbation is obtainedby numerically solving the perturbation equation de-scribed in the SM and we obtain the following λ (let

uh = uhNTn=0 be the perturbation for the velocity ob-

tained by solving the perturbation equation in SM)

λ :=1

nlog‖un

h‖L2(Ω)

‖u0h‖L2(Ω)

, (7)

which is the amplification factor of the perturbation uh.If λ > 0, the perturbation increases exponentially, andthe solution is unstable in Ω in this sense. Because thisstability analysis is usually performed for steady solu-tions, we analyze our setup and the steady solution forcomparison, i.e., we conduct analysis at z1 ≡ 1 (calledno-input). Notably, the amplification factor of the per-turbation, obtained by stability analysis of the fluid solu-tion and the Lyapunov exponent (an indicator to quan-titatively evaluate initial value sensitivity containing afeature of chaos) differ in derivation.

Computational fluid dynamics

Let Ω ⊂ R2 be a bounded domain, ∂Ω the boundary ofΩ, and Tf a positive constant. We suppose that ∂Ω com-prises four parts, Γi(⊂ ∂Ω), i = 1, . . . , 4. Our problem isto find (u, p) : Ω× (0, Tf )→ R2 × R such that

∂u

∂t+ (u · ∇)u−∇ · σ(u, p) = 0 in Ω× (0, Tf ), (8a)

∇ · u = 0 in Ω× (0, Tf ), (8b)

u = z on Γ1 × (0, Tf ), (8c)

[σ(u, p)n] · n⊥ = 0, u · n = 0 on Γ2 × (0, Tf ), (8d)

σ(u, p)n = 0 on Γ3 × (0, Tf ), (8e)

u = 0 on Γ4 × (0, Tf ), (8f)

u = u0 in Ω, at t = 0, (8g)

where u = (u1, u2)T is the velocity, p is the pressure,σ(u, p) := (2/Re)D(u)− pI is the stress tensor, D(u) :=(1/2)[∇u + (∇u)T ] ∈ R2×2 is the strain-rate tensor, I ∈R2×2 is the identity tensor, n : ∂Ω → R2 is the outwardunit normal vector, n⊥ : ∂Ω→ R2 is the unit tangentialvector, z : Γ1×(0, Tf )→ R2 is a given boundary velocity,and u0 : Ω→ R2 is a given initial velocity.

In our system we set, for L := 7.5,

Ω := x ∈ R2; x1 ∈ (−L, 3L), x2 ∈ (−L,L), |x| > 0.5,Γ1 := x ∈ ∂Ω; x1 = −L, x2 ∈ [−L,L],Γ2 := x ∈ ∂Ω; x1 ∈ (−L, 3L), x2 ∈ −L,L,Γ3 := x ∈ ∂Ω; x1 = 3L, x2 ∈ [−L,L],Γ4 := x ∈ ∂Ω; |x| = 0.5,

i.e., Ω is the computational domain, Γ1 is an inflowboundary on the left side, Γ2 is a slip boundary on the

Page 10: arXiv:2001.08502v1 [physics.flu-dyn] 23 Jan 2020 · a Karman vortex in which two rows of vortices are alter-nately arranged (cf. Fig. 2A and supplementary videos). In this study,

10

top and bottom side, Γ3 is a stress-free boundary on theright, and Γ4 is the no-slip boundary on the circle. Wealso set z = (z1, 0)T for an input function z1 = z1(t) ∈ R,where the input z1 takes a random value at each fixedtime interval, cf. the subsection of platform setting fordetails. The range of z1 is set as [0.99, 1.01], and experi-ments with the other ranges are studied in the SM.

We solve problem (8) numerically using the stabilizedLG method(38, 39), a stabilized finite element methodcombined with the idea of the method of characteristics.Moreover, the material derivative is discretized along thetrajectory of a fluid particle as

[∂u∂t

+ (u · ∇)u](x, tn)

≈ un(x)− un−1(x− un−1(x)∆t)

∆t,

where ∆t is a time increment for the flow computation,and NT := bTf/∆tc, tn := n∆t, and un := u(·, tn), pn :=p(·, tn) for n ∈ 0, . . . , NT . Let h > 0 be a representativemesh size. The numerical solution to be obtained bythe LG method is a series of piecewise linear continuousfunctions defined in Ω, (un

h, pnh) : Ω → R2 × R; n =

1, . . . , NT . Note that, (unh, p

nh) approximates (un, pn).

For the fully discretized scheme, please refer to schemein SM of LG method section.

[1] Oertel Jr, H., Wakes behind blunt bodies. Annual Reviewof Fluid Mechanics, 22, 539-562 (1990).

[2] Huerre, P., Monkewitz, P. A., Local and global instabili-ties in spatially developing flows. Annual Review of FluidMechanics, 22, 473-537 (1990).

[3] Takemoto, Y., Mizushima, J., Mechanism of sustainedoscillations in a fluid flowing past a circular cylinder ob-stacle. Physical Review E, 82, 056316 (2010).

[4] Chomaz, J. M., Global instabilities in spatially develop-ing flows: Non-normality and nonlinearity. Annual Re-view of Fluid Mechanics, 37, 357-392 (2005).

[5] Prakash, M., Gershenfeld, N., Microfluidic bubble logic.Science, 315, 832-835 (2007).

[6] Katsikis, G., Cybulski, J. S., Prakash, M., Synchronousuniversal droplet logic and control. Nature Physics, 11,588-596 (2015).

[7] Wehner, M., Truby, L. R., Fitzgeraid, J. D., Mosadegh,B., Whitesides, S. G., Lewis, A. J., Wood, J. R., An in-tegrated design and fabrication strategy for entirely soft,autonomous robots.Nature, 536, 451-455 (2016).

[8] Jaeger, H., Haas, H., Harnessing nonlinearity: Predictingchaotic systems and saving energy in wireless communi-cation. Science, 304, 78-80 (2004).

[9] Maass, W., Natschlager, T., Markram, H., Real-timecomputing without stable states: A new framework forneural computation based on perturbations. Neural com-putation, 14, 2531-2560 (2002).

[10] Verstraeten, D., Schrauwen, B., D’Haene, M.,Stroobandt, D., An experimental unification of reservoircomputing methods. Neural networks, 20, 391-403(2007).

[11] Dambre, J., Verstraeten, D., Schrauwen, B., Massar, S.,Information processing capacity of dynamical systems.Scientific Reports, 2, 514 (2012).

[12] Fernando, C., Sojakka, S., Pattern Recognition ina Bucket. Advances in Artificial Life; Springer:Berlin/Heidelberg, Germany, 588-597 (2003).

[13] Larger, L., Soriano, C. M., Brunner, D., Appeltant, L.,Gutierrez, M. J., Pesquera, L., Mirasso, R. C., Fischer, I.,Photonic information processing beyond Turing: an op-toelectronic implementation of reservoir computing. Op-tics express, 20, 3241-3249 (2012).

[14] Brunner, D., Soriano, M. C., Mirasso, C. R., Fischer, I.,Parallel photonic information processing at gigabyte persecond data rates using transient states. Nature Commu-nications, 4, 1364 (2013).

[15] Nakajima, K., Hauser, H., Li, T., Pfeifer, R., Exploitingthe dynamics of soft materials for machine learning. SoftRobotics, 5, 339-347 (2018).

[16] Nakajima, K., Li, T., Hauser, H., Pfeifer, R., Exploitingshort-term memory in soft body dynamics as a computa-tional resource. Journal of The Royal Society Interface,11, 20140437 (2014).

[17] Nakajima, K., Hauser, H., Kang, R., Guglielmino, E.,Caldwell, G. D., Pfeifer, R, A soft body as a reservoir:case studies in a dynamic model of octopus-inspired softrobotic arm. Frontiers in Computational Neuroscience,7, 91 (2013).

[18] Nakajima, K., Hauser, H., Li, T., Pfeifer, R., Informationprocessing via physical soft body. Scientific Reports, 5,10487 (2015).

[19] Torrejon, J., Riou, M., Araujo, A. F., Tsunegi, S.,Khalsa, G., Querlioz, D., Bortolotti, P., Cros, V.,Yakushiji, K., Fukushima, A., Kubota, H., Yuasa, S.,Stiles, D. M., Grollier, J., Neuromorphic computing withnanoscale spintronic oscillators. Nature, 547, 428-431(2017).

[20] Furuta, T., Fujii, K., Nakajima, K., Tsunegi, S., Kubota,H., Suzuki, Y., Miwa, S., Macromagnetic simulation forreservoir computing utilizing spin dynamics in magnetictunnel junctions. Physical Review Applied, 10, 034063(2018).

[21] Tsunegi, S., Taniguchi, T., Nakajima, K., Miwa, S.,Yakushiji, K., Fukushima, A., Yuasa, S., Kubota, H.,Physical reservoir computing based on spin torque oscil-lator with forced synchronization. Applied Physics Let-ters, 114, 164101 (2019).

[22] Fujii, K., Nakajima, K., Harnessing disordered-ensemblequantum dynamics for machine learning. Physical ReviewApplied, 8, 024030 (2017).

[23] Nakajima, K., Fujii, K., Negoro, M., Mitarai, K., Kita-gawa, M., Boosting computational power through spatialmultiplexing in quantum reservoir computing. PhysicalReview Applied 11, 034021 (2019).

Page 11: arXiv:2001.08502v1 [physics.flu-dyn] 23 Jan 2020 · a Karman vortex in which two rows of vortices are alter-nately arranged (cf. Fig. 2A and supplementary videos). In this study,

11

[24] Dusek, J., Le Gal, P., Fraunie, P., A numerical and the-oretical study of the first Hopf bifurcation in a cylinderwake. Journal of Fluid Mechanics, 264, 59-80 (1994).

[25] Toral, R., Mirasso, C. R., Hernandez-Garcia, E., Piro,O., Analytical and numerical studies of noise-inducedsynchronization of chaotic systems. Chaos, 11, 665-673(2001).

[26] Lu, Z., Hunt, B. R., Ott, E., Attractor reconstruction bymachine learning. Chaos, 28, 061104 (2018).

[27] Yildiz, I. B., Jaeger, H., Kiebel, S. J., Re-visiting theecho state property. Neural Networks, 35, 1-9 (2012).

[28] Manjunath, G., Jaeger, H., Echo state property linkedto an input: Exploring a fundamental characteristic ofrecurrent neural networks. Neural Computation, 25, 671-696 (2013).

[29] Williamson, C.H.K., Vortex Dynamics in the CylinderWake. Annual Review of Fluid Mechanics, 28, 477-539(1996).

[30] Atiya, A. F., Parlos, A. G., New results on recurrentnetwork training: Unifying the algorithms and accelerat-ing convergence. IEEE Transactions on Neural Networks,11, 697-709 (2000).

[31] Pathak, J., Lu Z., Hunt, R. B., Girvan, M., Ott, E., Usingmachine learning to replicate chaotic attractors and cal-culate Lyapunov exponents from data. Chaos, 27, 121102(2017).

[32] Lu, Z., Pathak, J., Hunt, B., Girvan, M., Brockett, R.,Ott, E., Reservoir observers: Model-free inference of un-measured variables in chaotic systems. Chaos, 27, 041102(2017).

[33] Nakai, K., Saiki, Y., Machine-learning inference of fluidvariables from data using reservoir computing. PhysicalReview E, 98, 023111 (2018).

[34] Lukosevicius, M., Jaeger, H., Reservoir Computing Ap-proaches to Recurrent Neural Network Training. Com-

puter Science Review 3, 127-149 (2009).[35] Boyd, S., Chua, L., Fading memory and the problem

of approximating nonlinear operators with Volterra se-ries. IEEE Transactions on circuits and systems, —bf32, 1150-1161 (1985).

[36] Maass, W., Markram, H., On the computational powerof circuits of spiking neurons. Journal of computer andsystem sciences, 69, 593-616 (2004).

[37] Maass, W., Liquid state machines: motivation, theory,and applications. Computability in context: computationand logic in the real world, 275-296 (2011).

[38] Suli, E., Convergence and nonlinear stability of theLagrange–Galerkin method for the Navier–Stokes equa-tions. Numerische Mathematik, 53, 459-483 (1988).

[39] Notsu, H., Tabata, M., Error estimates of a stabilizedLagrange–Galerkin scheme for the Navier-Stokes equa-tions. ESAIM: Mathematical Modelling and NumericalAnalysis, 50, 361-380 (2016).

[40] Hastie, T., Tibshirani, R., Friedman, J., The elements ofstatistical learning: data mining, inference, and predic-tion. Springer Series in Statistics, Second Edition (2009).

[41] Jaeger, H, The echo state approach to analysing andtraining recurrent neural networks. GMD Report: Ger-man National Research Center for Information Technol-ogy, 148, (2010).

Acknowledgments: This work is supported by JSTPRESTO Grant Number JPMJPR16EA, and JSPSKAKENHI Grant Number JP18H01135. This work ispartially based on results obtained from a project com-missioned by the New Energy and Industrial TechnologyDevelopment Organization (NEDO).

Page 12: arXiv:2001.08502v1 [physics.flu-dyn] 23 Jan 2020 · a Karman vortex in which two rows of vortices are alter-nately arranged (cf. Fig. 2A and supplementary videos). In this study,

SUPPLEMENTARY MATERIALS:Computing with vortices: Bridging fluid dynamics and its information-processing

capability

Ken Goto,1 Kohei Nakajima,2, ∗ and Hirofumi Notsu3, 4

1Division of Mathematical and Physical Sciences,Kanazawa University, Kakuma, Kanazawa 920-1192, Japan.2Graduate School of Information Science and Technology,

The University of Tokyo, Bunkyo-ku, 113-8656 Tokyo, Japan.3Faculty of Mathematics and Physics, Kanazawa University, Kakuma, Kanazawa 920-1192, Japan.

4PRESTO, Japan Science and Technology Agency, Kawaguchi, Saitama 332-0012, Japan.

PLATFORM SETTING AND OTHER ANALYSESUNDER SOME CONDITIONS

We numerically solve our Navier–Stokes problem withinput z1 to use the system of the Karman vortex as thereservoir. We provide the complete definition of the se-ries zn1 NT

n=1 ⊂ R, which is provided by using randomnumbers.

Let ∆t be a time increment, and τ a transient time foreach input. Let k∗ := bTf/τc ∈ N, nk := kτ/∆t (k =0, . . . , k∗) with the relation tnk = kτ , and

sgn(a) :=

a

|a| (a 6= 0),

0 (a = 0).

Let a series of input rkk∗k=0 ⊂ [r, r] be given, wherer := 1 − ρ, r := 1 + ρ ∈ R for an intensity ρ ≥ 0, [r, r]is the range of random numbers, for example, [r, r] =[0.99, 1.01] (ρ = 0.01), [0.5, 1.5] (ρ = 0.5), and the expec-

tation value (probability average) of rkk∗k=0 is 1. Fort ∈ (tnk , tnk+1 ] = (kτ, (k + 1)τ ], we introduce a nota-tion rk+1(t) defined by

rk+1(t) := rk + sgn(rk+1 − rk)α (t− tnk),

where α ≥ 0 is a tilt parameter, and rk+1 shows a valuein progress of the transition from rk to rk+1. Now, wegive the definition of the function z1 : (0, Tf ) → R usedin our Navier–Stokes problem as, for t ∈ (tnk , tnk+1 ] andk ∈ 0, . . . , k∗ − 1,

z1(t) :=

rk+1(t)

(tnk < t < tnk + |rk+1−rk|

α

),

rk+1

(tnk + |rk+1−rk|

α ≤ t ≤ tnk+1),

which provides zn1 NTn=1 explicitly.

The parameter values used in the computation aresummarized in Table 1. We numerically solve ourNavier–Stokes problem for a time period (0, Tf ) with

∗ Corresponding author.k [email protected]

Tf = (Tii + Ti)τ = 10500, which implies that the to-tal number of time steps NT for the fluid computation isNT = (Tii + Ti)τ/∆t = 52500, where Ti is a number ofinputs to be used for the reservoir, and Tii is a numberof initial inputs not to be used for it.

First, we must know the behavior of flow past a circu-lar cylinder with input, because, according to our reviewof the literature, no researchers had investigated the flowpast a circular cylinder with a (time-dependent) inputcorresponding to our computation; however, we did ob-serve a substantial amount of literature on the flow with-out input, that is, zn1 = 1 for all n ∈ N (n ≤ NT ). Inthe following, we call the flow with zn1 = 1 the no-inputsystem.

Based on numerical experiments, the critical Reynoldsnumber Rec of the onset of (wake) instability of flowin the no-input system is in a range Rec ∈ [40, 50] (cf.e.g.,(1) and the references therein). In the case of oursystem, however, the flow behavior depends on the rangeof un∗1. Notably, in the case [r, r] = [0, 2] (ρ = 1), oursystem generates vortices even for Re = 30.

We observe the flows in our system with Re ∈ [10, 100]and four cases of the range of u∗1, [r, r] = [0, 2] (ρ =1), [0.5, 1.5] (ρ = 0.5), [0.9, 1.1] (ρ = 0.1), and 1 (ρ = 0,the no-input system), by computing the lift coefficient CLdefined by

CnL = CL(tn) := −2

Γ4

[σ(unh, pnh)n]2 ds.

The graphs of CL(t) with respect to t for Re ∈[Rec, 100] are smooth and periodic curves, which impliesthat the flows are non-symmetric with respect to the x1-axis. We employ the discrete Fourier power spectrum forthe analysis of CnL as follows:

CnL ≈N∑

k=0

[a(k) cos

2πkn

N+ jb(k) sin

2πkn

N

],

where j is the imaginary unit, N = 215 (≤ NT ) is thenumber of data used for the analysis, and a(k) and b(k)are the so-called Fourier coefficients.

Fig. 1 shows the color map of the discrete Fourierpower spectrum, that is, a power spectrum with re-spect to frequency and Reynolds number by the discrete

arX

iv:2

001.

0850

2v1

[ph

ysic

s.fl

u-dy

n] 2

3 Ja

n 20

20

Page 13: arXiv:2001.08502v1 [physics.flu-dyn] 23 Jan 2020 · a Karman vortex in which two rows of vortices are alter-nately arranged (cf. Fig. 2A and supplementary videos). In this study,

2

A B

C D

Fig. 1. Power spectrum with respect to frequencyand Reynolds number by the discrete Fourier trans-form of lift coefficient Cn

L. (A), (B), (C), and (D) corre-spond to the results with [r, r] = [0, 2] (ρ = 1), [0.5, 1.5] (ρ =0.5), [0.9, 1.1] (ρ = 0.1), and 1 (ρ = 0, the no-input sys-tem), respectively, where the computation is performed forRe = 10, 20, 30, 40, 50, 75,and 100. The spectrum values be-tween two Reynolds numbers are interpolated.

Fourier transform of CnL. Typical results of the no-inputsystem are obtained in D ([r, r] = 1, ρ = 0), anda similar trend to D is shown in C ([r, r] = [0.9, 1.1],ρ = 0.1). Furthermore, in the case that the range of u∗1is [r, r] = [0.99, 1.01] (ρ = 0.01) used in the main text,we obtain that the spectrum values are similar to valuesof D, the no-input system.

In A ([r, r] = [0, 2], ρ = 1) and B ([r, r] = [0.5, 1.5], ρ =0.5), however, we can observe results different from C andD. When the range of un∗1 is wide, that is, a high inten-sity case, the spectrum values are high at low Reynoldsnumbers, Re = 30, 40. In other words, the typical spec-trum values of the no-input system can be observed, forexample, at Re = 30 if the intensity is high.

Second, we confirm the mesh dependency of the re-sults presented in the main text. We have employed amesh with #nodes, Np = 2734, and #elements, Ne =5278 (Mesh 1) in the main text. Using a finer meshwith Np = 6061 and Ne = 11387 (Mesh 2), we addition-ally compute some of the same problems int the NARMAtask and Memory capacity, where #nodes and #elementsof Mesh 2 are more than twice #nodes and #elementsof Mesh 1. The results are shown in Fig. 2A,B, and wedescribe system11 ([r, r] = [0.99, 1.01], Mesh 1) and sys-tem12 ([r, r] = [0.99, 1.01], Mesh 2), and we can observesimilar results in both A (NARMA task) and B (Mem-ory capacity). The range [r, r] = [0, 2] is also employedin the computation. Although both performances ob-

tained by using Meshes 1 and 2 for [r, r] = [0, 2] arenot high, they are similar, and we describe system21([r, r] = [0, 2], Mesh 1) and system22 ([r, r] = [0, 2],Mesh 2). From these results, we conclude that the de-pendency on the mesh is not strong. In addition, thetransient time parameter τ , which is fixed in the main-text, is changed to τ = 1, 10 (Fig. 2C,D). Third, we addthe information of results obtained by using a differentrange [r, r] = [0, 2] (ρ = 1). Hereafter, our system withthe range [r, r] = [0, 2] is called our system with highintensity. We have computed λ, and, as a result, our sys-tem with high intensity has the dynamics synchronization(λ < 0) for all Reynolds numbers less than 100 (Fig. 3B),that is, Re = 10, 20, 30, 40, 45, 50, 75, and 100, althoughthe task performance is relatively not good (Fig. 2A,B).Notably, our system with high intensity generates Kar-man vortex at Re = 30.

Our system with high intensity has dynamics synchro-nization and generates vortices, whereas the no-input sys-tem does not have dynamics synchronization and gen-erates vortices, for example, at Re = 100. The re-sults imply that the high intensity stabilizes the sys-tem. To understand this phenomenon, we consider twocases of problems and solve them numerically. We mod-ify our Navier–Stokes problem by putting an externalforce f : Ω × (0, T ) → R2 into the right hand side ofour Navier–Stokes equation, that is, the first equationbecomes

∂u

∂t+ (u · ∇)u−∇ · σ(u, p) = f in Ω× (0, Tf ). (1)

Our Navier–Stokes problem with equation (1) instead ofour Navier–Stokes equation is simply called problem (1).The first case, Case 1, is to solve problem (1) with f1(t) =c[1 + sin(π5 t)], f2 = 0, z∗1 = 1, and Re = 100, wherec ∈ R is a parameter. The second case, Case 2, is to solveproblem (1) with f = 0, z∗1(t) = 1 + sin(π5 t), and Re =10, 20, 30, 40, 45, 50, 75, and 100. Case 1 has an externalforce and no-input, and Case 2 has no external force andan input whose range is [0, 2]. We compute Cases 1 and2, where five values of c, that is, c = 0.01, 0.5, 1.0, 1.5, and2.0, are employed for Case 1. The results are shown inFig. 3, A shows that the high value of c, that is, the largeexternal force, stabilizes the solution at Re = 100, whichimplies instability in the no-input system. As shown inB, the solutions to both system21 and our system with asimilar input z∗1(t) = 1 + sin(π5 t) are stable even for thecases Re ≥ 50, which generate vortices in the no-inputsystem. From these results shown in Figs. 2 and 3, weobserve that a high input intensity (or a large externalforce) generates vortices, stabilizes the system, and leadsto dynamics synchronization. The system, however, hasthe low computational performance. Further analysis onthe input intensity is planned for further research.

LAGRANGE–GALERKIN METHOD

In this subsection, the LG method employed in thispaper is explained.

Page 14: arXiv:2001.08502v1 [physics.flu-dyn] 23 Jan 2020 · a Karman vortex in which two rows of vortices are alter-nately arranged (cf. Fig. 2A and supplementary videos). In this study,

3

τ=1

τ=5

τ=10

τ=1τ=5τ=10

10-8

10-7

10-6

10-5

10-5

10-4

10-3

10-2

NM

SE

nonlinear degree 2 nonlinear degree 3

D

C

NARMA2 NARMA3 NARMA4

0

5

10

15

20

25

MC

Re

linear memory 20 40 60 80 100

Re 20 40 60 80 100

NARMA task

Memory capacity task

Re 20 40 60 80 100

Re 20 40 60 80 100

Re 20 40 60 80 100

Re 20 40 60 80 100

0

2

4

8

6

10

B

A

10-7

10-6

10-5

10-4

10-5

10-4

10-3

10-2

NARMA2 NARMA3 NARMA4

linear memory

nonlinear degree 2 nonlinear degree 3

MC

NM

SE

10

8

6

4

2

0Re

20 40 60 80 100

system21 system22system11 system12

Memory capacity task

NARMA task

Re 20 40 60 80 100

Re 20 40 60 80 100

Re 20 40 60 80 100

Re 20 40 60 80 100

Re 20 40 60 80 100

Fig. 2. The task results by two mesh, or by transient time parameters. (A) and (B) are the mean and deviation ofresults from the NARMA task and the evaluation of memory capacity, respectively, where system11 is obtained by using range[r, r] = [0.99, 1.01] and Mesh 1; system12 is obtained by using range [r, r] = [0.99, 1.01] and Mesh 2; system21 is obtained byusing range [r, r] = [0, 2] and Mesh 1; and system22 is obtained by using range [r, r] = [0, 2] and Mesh 2. The results implythat the mesh dependency is not strong. (C) and (D) are the mean and deviation of results from the two tasks, where theresults are obtained by a transient time parameter τ = 1, 5, 10 on system11.

−0.002

0

0.002

0.004

0.006

0.01 0.5 1.0 1.5 2.0

λ

c

Stability Case.1A

B

−0.05

−0.04

−0.03

−0.02

−0.01

0 0.01

100

λ

Re

Stability

system21Case.2

no input 90 80 70 60 50 40 30 20 10

Fig. 3. Results of λ for some cases. (A) shows the resultsof λ for Case 1 with respect to the constant parameter c, wherethe Reynolds number is fixed at Re = 100. (B) shows graphsof λ vs. Re for system21, Case 2, and no-input system.

Let Th := K`Ne

`=1 be a triangulation of the domain Ω,where K` is a (closed) triangular element, Ne is a totalnumber of elements, h is a representative mesh size, and

Ωh := int(⋃Ne

`=1K`) is an approximate domain of Ω. Al-though Ωh 6= Ω holds in our system setting due to thepresence of curved boundary, we do not use the nota-tion Ωh in the following and do not introduce new no-tations for discrete boundaries in order to avoid unnec-essary confusion. For a function g : Γ1 → R2 let Mh,Vh(g), Vh, and Qh be function spaces defined by

Mh := qh ∈ C(Ω); qh|K ∈P1(K),∀K ∈ Th,Vh(g) := vh ∈M2

h ; vh|Γ1= g, (vh · n)|Γ2

= 0,

vh|Γ4= 0,

Vh := Vh(0), Qh := Mh,

where P1(K) is the space of linear functions on K ∈ Th.

We now introduce notations to be used in the paper.We denote by (·, ·) the L2(Ω)-inner product, that is,

(f, g) :=

Ω

f(x)g(x) dx, (f, g ∈ L2(Ω)),

and use the same notation as the inner products inL2(Ω)2 and L2(Ω)2×2, the vector- and matrix-valuedL2(Ω) function spaces. Let a, b and Ch be bilinear forms

Page 15: arXiv:2001.08502v1 [physics.flu-dyn] 23 Jan 2020 · a Karman vortex in which two rows of vortices are alter-nately arranged (cf. Fig. 2A and supplementary videos). In this study,

4

Symbol Parameter ValueNp #nodes in flow Sim. 2,734Ne #elements in flow Sim. 5,278Nr #nodes of output/observation 231∆t Time increment in flow Sim. 0.2δ0 Stabilization parameter 0.1τ Transient time in flow Sim. 5α Tilt parameter 0.5Ti #inputs 2,000Tii #initial inputs 100Tw Washout time in reservoir 100Tt Training time in reservoir 1,200Te Evaluation time in reservoir 700Tr Total time in reservoir Ti + Tii

Tf Total time in flow Sim. 10,500

TABLE I. Values of parameters

defined by

a(u,v) :=2

Re

(D(u), D(v)

),

b(v, q) := −(∇ · v, q),

Ch(p, q) := δ0∑

K∈Th

h2K

K

∇p · ∇q dx,

where Ch(p, q) is Brezzi–Pitkaranta’s pressure-stabilization term(2), δ0 > 0 is a stabilization parameter,and hK := diam(K) is the diameter of K ∈ Th.

We have employed the stabilized LG method(3); find(unh, pnh) ∈ Vh(un∗ ) × Qh; n = 1, . . . , NT such that forn = 1, . . . , NT ,

(un

h−un−1h X1(un−1

h ,∆t)

∆t ,vh

)

+a(unh,vh) + b(vh, pnh) = 0, ∀vh ∈ Vh, (2a)

b(unh, qh)− Ch(pnh, qh) = 0, ∀qh ∈ Qh, (2b)

where X1(wh,∆t) : Ω→ R2 is a mapping defined by

X1(wh,∆t)(x) := x−wh(x)∆t

for a velocity wh : Ω→ R2, which is the so-called upwindpoint of x with respect to wh(x), and the symbol is thecomposition of functions, that is,

v X1(w,∆t)(x) := v(X1(w,∆t)(x))

for velocities v and w. The parameters used in the sim-ulation are listed in Table I. Notably, the convergenceproperty with error estimates of the scheme in an idealsetting have been proved in (3), and the scheme has beenemployed to understand tornado-type flows with vorticesgoverned by the three-dimensional Navier–Stokes equa-tions (4).

AMPLIFICATION FACTOR OF THEPERTURBATION

We have defined λ in the main text as an indicator ofstability of the solution to Navier–Stokes problem. In this

section, we introduce the complete procedure to obtainthe value of λ.

Let (u†, p†) : Ω × [0, Tf ] → R2 × R be the solutionto Navier–Stokes problem. Considering the linearizationof the Navier–Stokes equations near (u†, p†), we derive aproblem to find the perturbation (u, p) : Ω × (0, Tf ) →R2 × R such that

∂u

∂t+ (u† · ∇)u + (u · ∇)u†

−∇ · σ(u, p) = 0 in Ω× (0, Tf ),

∇ · u = 0 in Ω× (0, Tf ),

[σ(u, p)n]× n⊥ = 0, u · n = 0 on Γ2 × (0, Tf ),

σ(u, p)n = 0 on Γ3 × (0, Tf ),

u = 0 on (Γ1 ∪ Γ4)× (0, Tf ),

u = u0 in Ω, at t = 0,

where u0 is a given initial perturbation approximated byu0h ∈ Vh and defined by

u0h(P ) :=

0 (P 6= P∗),

(0, 0.01)T (P = P∗),(3)

for nodes P and P∗ := (−7.5, 0)Let (unh†, pnh†) ∈ Vh(un∗ ) ×Qh;n = 1, . . . , NT be the

solution to scheme (2). To obtain an approximate valueof λ, we use a numerical scheme; find (unh, pnh) ∈ Vh ×Qh; n = 1, ..., NT such that, for n = 1, . . . , NT ,

(un

h−un−1h X1(un

h†,∆t)∆t ,vh

)+((un−1h · ∇)unh†,vh

)

+a(unh,vh) + b(vh, pnh) = 0, ∀vh ∈ Vh, (4a)

b(unh, qh)− Ch(pnh, qh) = 0, ∀qh ∈ Qh, (4b)

with the initial perturbation u0h defined by definition (3).

Notably, scheme (4) has convergence property with errorestimates proved in (5).

From numerical experiments, the critical Reynoldsnumber Rec of the onset of (wake) instability of flowwith the time-independent function z∗ = (1, 0)T in ourNavier–Stokes problem is in a range Rec ∈ [40, 50](cf.e.g.,(1) and the references therein).

RIDGE REGRESSION

We use ridge regression(6) following L2 regularizationin the process of learning. The detailed steps are as fol-lows. Ridge regression is used to minimize the resid-ual sum of squares between system and target outputsby penalizing the size of the weights in the trainingphase. When the training phase is defined as time do-main 200 ≤ k ≤ 1399 and the optimal weights are wiout ,

the problem to be solved is βi = argminw∑1399

k=200(yk −yk)2 + λR

∑Nr

i=0(wiout)

2, where λR ∈ R≥0 is the ridgeparameter. By collecting a training data set of 1200timesteps, we obtain a 1200×Nr matrix X, where Nr isthe number of nodes in the reservoir. Furthermore, the

Page 16: arXiv:2001.08502v1 [physics.flu-dyn] 23 Jan 2020 · a Karman vortex in which two rows of vortices are alter-nately arranged (cf. Fig. 2A and supplementary videos). In this study,

5

target output corresponding to 1200 timesteps is deter-mined by y = [y200, ..., y1399]T . Then we can obtain the

optimal weights, Wout = [w0out, ..., w

Nr−1out ]T , by:

Wout = (XTX + λRI)−1XTy,

We must determine the appropriate λR, for which thedegrees of freedom (df) is crucial. The value of df isdetermined by

df =

Nr∑

i=1

λiλi + λR

,

where λi are the eigenvalues of XTX. Because df isa one-to-one correspondence with λR and its maximumvalue is Nr, we can obtain unique λR by increasing dffrom 1 to Nr by one, and corresponding the Wout canalso be obtained. The residual sum of squares RSS =∑1399k=200(yk − yk)2 can be calculated by using Wout, and

we can obtain Akaike’s Information Criterion(AIC) asfollows:

AIC := M log(RSS) + 2df,

where M is a training size of 1200 in our research. Bycalculating AIC according to each df , the optimal λRand Wout that minimize AIC can be obtained.

COMPARISONS WITH ESN

In the main text, to characterize the computational ca-pability of our reservoir, we compared its performance inthe NARMA tasks and its memory capacities with thoseof a conventional ESN(7–9). We explain the settings ofthe ESN used for the comparisons in detail.

The ESN is a recurrent neural network comprising in-ternal computational nodes (containing NESN nodes), in-put nodes, and output nodes. The activation of the i-th internal node at timestep k is expressed as xik. Theweights wij for the internal network connect the i-th nodeto the j-th node and are randomly determined from therange [−1.0, 1.0], and the spectral radius of the weightsis adjusted and fixed to 0.9 throughout the experiments.The input weights wiin connect the input node to the i-th internal node and are randomly determined from therange [−σ, σ], where σ is a scaling parameter controlledfor each task, which we explain in this section later. Theinternal nodes with one bias are connected to the outputunit through readout weights wiout, where x0

k = 1 andw0out are assigned as the bias term. Taking the activation

function as f(x) = tanh(x), the time evolution of theESN is expressed as follows:

xik = f(

NESN∑

j=1

wijxjk−1 + wiinzk), (5)

yk =

NESN∑

i=0

wioutxik. (6)

Learning is performed by adjusting the linear readoutweights wiout based on the same procedure using theridge regression explained in the above section. To con-duct a fair comparison of the task performance, the In-put/Output (I/O) settings and the evaluation procedureswere also kept the same. Because we used a larger num-ber of computational nodes for ESN than our Karmanvortex reservoir in some conditions, the lengths of thewashout, training, and evaluation phases were set ac-cordingly longer to avoid over-fitting and to conduct safecomparisons. The detailed experimental conditions foreach task are as follows.

For the NARMA task, we first prepared 20 differentESNs for each setting of NESN (Here, we performed theexperiments with NESN = 10, and 600. Only the per-formance of the relevant conditions of NESN are shownfor comparisons in Fig. 3). The lengths of the washout,training, and evaluation phases are set as 2000, 5000,and 5000 timesteps, respectively. The scaling parameterof the input weights σ is fixed to 0.01. For each ESN,we ran ten different trials starting from different initialstates and tested the emulation tasks of all the NARMAsystems using a multitasking scheme for each trial. Afterperforming all the trials of the NARMA tasks for eachESN having the computational node NESN, we calculatedthe averaged NMSE for each NARMA task using the tendifferent trials, and then the NMSE value is further av-eraged using 20 different ESNs for each setting of NESN.These averaged NMSEs were used for comparison.

Similar to the NARMA task, to evaluate the mem-ory capacities, 20 different ESNs (for each condition withNESN = 5, 10, 50, and 200) were prepared. The lengthsof the washout, training, and evaluation phases are setas 2000, 5000, and 5000 timesteps, respectively. The av-eraged nonlinear memory capacities are calculated in asimilar manner explained for the NARMA task. In (10),it is reported that ESN can only demonstrate nonlinearmemory capacities with odd degrees because the hyper-bolic tangent is an odd function and, according to theincrease of the input scaling, the ESN becomes increas-ingly nonlinear. Thus, the nonlinear memory capacitiesfor even degrees could not be obtained in the analysis andpresented in Fig. 3. Based on the insight, we varied thescaling parameter of the input weights by σ = 0.01, 1.0,and 5.0 and used conditions that demonstrate the highestcapacities among them on the basis of the same numberof NESN for each comparison in Fig. 3. We also observedthat according to the increase in the scaling parameterof the input weights, the higher nonlinear memory ca-pacities were obtained on the basis of the same numberof NESN. Namely, for the linear memory capacity (non-linear degree 1), the results for the σ = 0.01 were thehighest and used for the comparisons. Subsequently, forthe nonlinear memory capacity of degree three and five,the results for the σ = 1.0 and 5.0 showed the highest,respectively, and used for comparisons in Fig. 3.

For the prediction task for the fluid variables, similarto the aforementioned tasks, 20 different ESNs (for each

Page 17: arXiv:2001.08502v1 [physics.flu-dyn] 23 Jan 2020 · a Karman vortex in which two rows of vortices are alter-nately arranged (cf. Fig. 2A and supplementary videos). In this study,

6

condition with NESN = 5, and 200) were prepared andthe same I/O target data set with our vortex-reservoirsystem are used for the analysis (containing eight differ-ent trials). The experiments are conducted for each vari-able and for each Reynolds number by following the same

procedure as our experiments conducted on the vortex-reservoir system and the averaged NMSEs are obtainedin a manner similar to that explained for the NARMAtask for each condition.

[1] Takemoto, Y., Mizushima, J., Mechanism of sustainedoscillations in a fluid flowing past a circular cylinder ob-stacle. Physical Review E, 82, 056316 (2010).

[2] Brezzi, F., Pitkaranta, J., On the stabilization of finiteelement approximations of the Stokes equations. In W.Hackbusch editor, Efficient solutions of Elliptic Systems,Vieweg, Wiesbaden, 10, 11-19 (1984).

[3] Notsu, H., Tabata, M., Error estimates of a stabilizedLagrange–Galerkin scheme for the Navier-Stokes equa-tions. ESAIM: Mathematical Modelling and NumericalAnalysis, 50, 361-380 (2016).

[4] Hsu, P.-Y., Notsu, H., Yoneda, T., A local analysis of theaxisymmetric Navier–Stokes flow near a saddle point andno-slip flat boundary. Journal of Fluid Mechanics, 794,444-459 (2016).

[5] Notsu, H., Tabata, M., Error estimates of a pressure-stabilized characteristics finite element scheme for theOseen equations. Journal of Scientific Computing, 65,940-955 (2015).

[6] Hastie, T., Tibshirani, R., Friedman, J., The elements ofstatistical learning: data mining, inference, and predic-tion. Springer Series in Statistics, Second Edition (2009).

[7] Jaeger, H., Haas, H., Harnessing nonlinearity: Predictingchaotic systems and saving energy in wireless communi-cation. Science, 304, 78-80 (2004).

[8] Jaeger, H, The echo state approach to analysing andtraining recurrent neural networks. GMD Report: Ger-man National Research Center for Information Technol-ogy, 148, (2010).

[9] Jaeger, H., Adaptive nonlinear system identification withecho state networks. Advances in Neural InformationProcessing Systems, (MIT Press, Cambridge, MA, 2003),15, pp. 593-600.

[10] Dambre, J., Verstraeten, D., Schrauwen, B., Massar, S.,Information processing capacity of dynamical systems.Scientific Reports, 2, 514 (2012).