## Figures

## Abstract

Traditional approaches to cognitive modelling generally portray cognitive events in terms of ‘discrete’ states (point attractor dynamics) rather than in terms of processes, thereby neglecting the time structure of cognition. In contrast, more recent approaches explicitly address this temporal dimension, but typically provide no entry points into cognitive categorization of events and experiences. With the aim to incorporate both these aspects, we propose a framework for functional architectures. Our approach is grounded in the notion that arbitrary complex (human) behaviour is decomposable into functional modes (elementary units), which we conceptualize as low-dimensional dynamical objects (structured flows on manifolds). The ensemble of modes at an agent’s disposal constitutes his/her functional repertoire. The modes may be subjected to additional dynamics (termed operational signals), in particular, instantaneous inputs, and a mechanism that sequentially selects a mode so that it temporarily dominates the functional dynamics. The inputs and selection mechanisms act on faster and slower time scales then that inherent to the modes, respectively. The dynamics across the three time scales are coupled via feedback, rendering the entire architecture autonomous. We illustrate the functional architecture in the context of serial behaviour, namely cursive handwriting. Subsequently, we investigate the possibility of recovering the contributions of functional modes and operational signals from the output, which appears to be possible only when examining the output phase flow (i.e., not from trajectories in phase space or time).

## Author Summary

In most established approaches to cognitive modelling, cognitive events are treated as ‘discrete’ states, thus passing by the continuous nature of cognitive processes. In contrast, some novel approaches explicitly acknowledge cognition’s temporal structure but provides no entry points into cognitive categorization of events and experiences. We attempt to incorporate both aspects in a new framework, which departs from the established idea that complex (human) behaviour is made up of elementary functional ‘building blocks’, referred to as modes. We model these as mathematical objects that are inherently dynamic (i.e., account for change over time). A mechanism sequentially selects the modes required and binds them together to compose complex behaviours. These modes may be subjected to brief inputs. The ensemble of these three ingredients, which influence one another and operate on different time scales, constitutes a functional architecture. We illustrate the architecture via cursive handwriting simulations, and investigate the possibility of recovering the contributions of the architecture from the written word. This appears possible only when focussing on the dynamic modes.

**Citation: **Perdikis D, Huys R, Jirsa VK (2011) Time Scale Hierarchies in the Functional Organization of Complex Behaviors. PLoS Comput Biol 7(9):
e1002198.
https://doi.org/10.1371/journal.pcbi.1002198

**Editor: **Danielle S. Bassett, University of California Santa Barbara, United States of America

**Received: **April 10, 2011; **Accepted: **August 2, 2011; **Published: ** September 29, 2011

**Copyright: ** © 2011 Perdikis et al. This is an open-access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are credited.

**Funding: **The research leading to these results has received funding in part from the European Union Seventh Framework Program (FP7/2007–2013) under grant agreement no. 269921 (BrainScaleS) and the Brain NRG Phase II, James S McDonnell Foundation. The funders had no role in study design, data collection and analysis, decision to publish, or preparation of the manuscript.

**Competing interests: ** The authors have declared that no competing interests exist.

## Introduction

### The organization of human function

Human (and animal) function is thought to emerge from the embedded dynamics of the organism in its natural and social environment [1], [2]. Its phenomenology thus includes overt behavior (for instance motor behavior) as well as processes internal to the organism. By implication, human function comprises multiple interdependent (i.e., coupled) dynamics operating on a diversity of time scales. The ensemble of dynamics and interactions amongst them constitutes a functional architecture. A common theme in biology and the life sciences is that (‘complex’) function is decomposable into elementary functional units (or building blocks) that can thus be considered as the basic components of functional architectures. Functional units should preserve some of their properties invariant among different utilizations (which identifies them as units). As building blocks, they are brought into meaningful relationships (such as concatenation in time) resulting in longer sequences. Consequently, the resulting complex processes exhibit a meaningful hierarchical structure spanning distinct time scales. For instance, movement (or motor) primitives [3]–[6] and motor programs [7], [8] have been proposed as building blocks of complex and sequential movements. In birdsong notes and syllables (groups of notes) are thought to compose hierarchical sets with a crucial role in their production [9] and perception [10]. ‘Temporal primitives’ have been linked with related lexical items in speech perception [11] and are identified elsewhere [12] as “articulatory gestures that constitute the phonemic elements of both speech generation and perception” and thus “the primitives underlying linguistic communication” (p. 188). Cognitive linguistics [13], [14] supposes that language and cognition are based on so-called conceptual schemas and cognitive mechanisms (as e.g., metaphors and blends [15], [16]) to compose conceptual structures as complex as mathematics [16]. In all these instances, ongoing cognitive (in its broadest sense) function results as elementary units are somehow put into a meaningful relationship.

Two approaches, symbolic computation and connectionism, have dominated cognitive modeling over the last decades. Both define static information representations and focus on operations (‘computation’) for the generation of complex function. Symbolic computation explicitly represents information in terms of organized symbols that are combined via syntactic rules [17]. In connectionist models, parallel computation occurs via patterns of activation distributed across the network's nodes [18]–[20]. Hybrid cognitive architectures combine symbolic representations with connectionist learning algorithms [21]. Common to these approaches is that they define functional units as static patterns or ‘states’ onto which cognitive architectures converge in the process of information processing (in this context; the generation of complex function) [22]. Even when dynamics beyond point attractors is included (as in recurrent neural networks [23]–[25]), it is usually broken down into a succession of discrete states (encoding past context) or transients inside a basin of attraction [25] and treated as such. Identifying functional units as static patterns or states, however, is clearly at odds with one of the cornerstones of biology, namely the process. The notion of a process signifies change; basic functional units should thus contain temporal evolution.

In the approach below we explicitly focus on the dynamical phenomenology of human function instead of on computation. Accordingly, we first propose a general framework in which functional modes—dynamical building blocks into which processes are grounded [26]—capture the geometry of elementary processes' dynamics. Functional modes are brought together into meaningful organizations unfolding in time via a ‘selection’ mechanism that ‘turns processes on and off’. Some functional modes operate autonomously, while others require that quasi-instantaneous ‘kicks’ initiate their functioning. Crucially, so-defined functional architectures embed dynamics that operate on the time scale of the basic functions (adhering to the functional modes) as well as a dynamics whose corresponding time scale is defined over the entire eschewing process (adhering to the selection mechanism). A third characteristic times scale pertains to the (typical) involvement of the brief ‘kicks’. In other words, the architecture comprises a time scale hierarchy. Next, we construct an autonomous functional architecture providing proof of concept and illustrating the approach in the context of handwriting. In this specific realization we implement the time scale hierarchy of the functional architecture through a Winner-Take-All (WTA) competition dynamics [27]–[29] on one level of organization, and a dynamical sequencing mechanism on another. We want to stress, however, that while the outline of the functional architecture is general, the implementation is but one realization of numerous possible ones.

### Functional architectures

The cornerstones of our functional architecture are (i) their constitution as low-dimensional phase-flow governed spatiotemporal patterns (functional modes) describing processes; and (ii) a hierarchical multi time-scale organization allowing for pattern competition of the functional modes. Due to a competition of processes one functional mode dominates during a particular time window.

The notion that human function emerges in terms of low-dimensional spatiotemporal dynamic patterns is key to coordination dynamics [30], [31] and, more generally, synergetics [32]. The latter, a physical theory of self-organized pattern formation, postulates that in the proximity of (pattern) instabilities (brought about by critical values of control parameters) the dynamics is separated into fast and slow variables. The fast variables can be adiabatically eliminated by expressing their dynamics as a function of their slow counterparts, in which case the former are ‘enslaved’ by the latter (the ‘slaving principle’). That is, reduced system descriptions for the collective dynamics (order parameters) can be derived. Low-dimensional order parameters thus provide functional representations of high-dimensional system. Synergetics has been successfully applied to the perception of ambivalent patterns [33], [34] as well as to behavioral coordination [35]. Coordination dynamics models the dynamical phenomenology of the emerging patterns in experimental paradigms of bimanual [36], [37], sensorimotor [38], and social coordination [39], and learning [40] as low-dimensional, nonlinear dynamical systems via a few (usually one or two) order parameters (see [30] for an overview).

Consistent therewith, we adopt the notion that human function is constituted by meaningfully structured low-dimensional patterns, the ‘Structured Flows on Manifolds’ (SFMs; see Figure 1) [41], [42]. Accordingly, during the engagement in a specific function, the functional dynamics adiabatically collapses from an inherently high-dimensional space onto a functionally relevant subset of the phase (state) space, the manifold. On the manifold, a phase flow is prescribed and a trajectory evolves for the duration of the functional process. SFMs aim at linking the dynamics of large-scale brain networks interacting with bodily and environmental dynamics (high-dimensional systems) to low-dimensional phenomenological descriptions of functional (or behavioral) dynamics. Hence, functional processes are ‘encoded’ in terms of structured phase flows, mathematical (structured) entities that unambiguously and quantitatively describe the evolution of autonomous, deterministic, and time-continuous systems in their phase (state) space (see [43] for an introduction). Phase flows not only encode a system's past and future states (given any initial condition and in the absence of stochastic influences) but also its stability and response to perturbations. The vector field describing a flow establishes causal relationships among the system' states by assigning at each state a vector determining the next state. Furthermore, the phase flow topology uniquely determines a system's qualitative behaviour, i.e., it encodes the invariant features of a dynamical process relative to quantitative variation, thus identifying all functional possibilities within a class in a model-independent manner. Indeed, structured phase flows (on low-dimensional manifolds) satisfy the requirement that the dynamics be meaningfully structured, referred to elsewhere as dynamical constituency [44]. In planar systems (systems of two dimensions), common phase flow topologies include point attractors and limit cycles (commonly used to model discrete and rhythmic functions, respectively) and separatrices, that is, structures that locally divide the phase flow into opposing directions, endowing the system with threshold properties and (potentially) multistability [45]. Such 2-dimensional flows have led to (confirmed) counter-intuitive predictions on false starts [46], the discovery of a discontinuity in Fitts' law [47], and the establishment of a taxonomy of discrete and rhythmic movements [48]. For systems of higher (still relatively low) dimensionality, the dynamic repertoire may contain a large variety of functional modes that are in principle adequate to account for elementary processes.

Panel A: The slow operational signals {*ξ _{j}*} converge through a fast transient to a specific

*ξ*node resulting (here) in the emergence of a cylindrical manifold. Panel B: The functional dynamics {

_{j}*u*} collapses fast (also) onto the manifold where it executes a slow spiral flow. The

_{i}*ξ*node's stability is sustained for the duration of the flow execution. Subsequently, the

_{j}*ξ*node destabilizes, followed by the related manifold and the dynamics moves away, again through fast transients. The density of data point is inversely proportional to the time scale of the dynamics.

_{j}In summary, phase flows can be viewed as functional units that incorporate the properties of low-dimensionality, class-defining invariance together with within-class variation, executive stability (i.e., performance maintenance in the presence of perturbations), meaningful structure (dynamical constituency), and compositionality (i.e., they can be embedded into a larger functional organization. We will use the term *functional modes* to refer to phase flows incorporating this set of properties, and refer to the ensemble of modes that an actor has to his/her proposal as the dynamical repertoire.

The second feature of the functional architecture, i.e., its multi-time scale character, is founded on the fact that complex processes arise in an organism-environment context that inherently covers multiple scales, as the above mentioned examples suggest. Indeed, multiscale architectures have proven a promising choice to describe behavioral, cognitive, or brain dynamics [49]–[53]. Armed with functional modes as essential building blocks, we propose additional dynamics (called *operational signals*) on time scales slower and faster than that of the modes. The slower process effectively binds functional modes together into sequences. More precisely, a given functional mode emerges via a competition process [27]–[29] to temporally dominate the functional dynamics, after which it destabilizes and gives way to another mode. The transient dynamics between modes can be triggered either by ‘internal’ events (as in pre-constructed sequences) or by ‘external’ ones (such as perceptual events). The modes' temporal attractivity guarantees functional robustness, whereas transitions between modes flexibility for meaningful changes. Further variability in the functional dynamics may potentially arise via additional dynamics operating on times scales faster than (or similar to) that of the modes. Accordingly, human function is organized in multilevel dynamical hierarchies.

In sum, functional architectures combine invariant features (phase flows) with those that vary across distinct instances of a functional mode's appearance in an agent's behavior (via multiscale operational signals involved; e.g., due to different contexts). For instance, syllables are (largely) invariant units but their embedding in words and phrases depends on context. See [26] for a classification of operational signals based on time scale hierarchy, computational evidence for the ‘efficiency’ of composing complex behaviors out of simpler ones, and functional architectures in particular.

### Functional architectures for serial behavior

We formulate a functional architecture for serial processes (see [54] for a classic study and [55] for a review), and exemplify it in a specific implementation for cursive handwriting. Handwriting is a typical human behavior involving parallel functions that are related to processing across multiple levels: the linguistic, semantic or word, graphemic, allographic or letter, and stroke level [56], [57]. Observations of a principal periodicity in normal cursive handwriting of ∼5 Hz [58] and a slower one ∼1 Hz (3–4 characters) [59] supports the presence of multiple time scales in cursive handwriting.

As pointed out above, the architecture sequentially ‘selects’ functional modes via a competition process among the slow operational signals. In our handwriting example, the modes code for specific characters (or parts thereof). For a word to arise (functionality), specific modes (characters) have to dominate the functional dynamics at an appropriate serial order. We model the serial order behavior using a variation of Competitive Queuing models (CQ) [60]–[63], a class of state of the art models for serial behavior (for a recent review including behavioral and brain data, see [55]). CQ is based on parallel representations of learned sequences; at each stage of a given sequence, the participating elements compete for their activation following an order of priority. We opted for a CQ variation as these models allows for competition dynamics, which has been successfully used in the context of handwriting and related kinematical phenomena [64]. The CQ is not a defining ingredient of our architecture, however.

The architecture models the interaction of processes acting on different time scales. A dynamical repertoire accounts for the generation of cursively written characters and a slower competitive dynamics (operating on the word-generation scale) activates the corresponding modes at appropriate times. These mechanisms are feedback coupled from the output trajectories to the slow competition. An additional instantaneous operational signal, which is (sometimes) used for movement initiation by providing a meaningful perturbation, is coupled to the modes' and competition dynamics. Word generation thus emerges autonomously from the multi-time scale, high-dimensional system, which is constructed out of simpler constituent ones.

Below, we present the mathematical formulation of the general functional architecture (Methods), after which we provide proof of concept via simulations of a specific architecture generating a desired cursively written word (Results). Subsequently, we show how our framework can be used to identify functional units (i.e., how to decompose human function into its generating components). As will become evident, the latter is not trivial due to the multi-scale hierarchy generating observable trajectories. By implication, the slow dynamics is an envelope of the functional modes' dynamics, rendering the resulting process non-stationary [65], [66]. The difficulty of the functional decomposition is reflected in attempts to identify programming units in serial behavior [54], cursive handwriting, in particular. Based on word presentation – movement initiation reaction times, movement time scaling relative to the number of hypothesized units (strokes, letters, graphemes, or syllables) and their individual movement times, interletter times, and errors or measures of disfluency, syllables [67]–[69], complex graphemes [70] such as digraphs [71], letters [72], [73], and single or pairs of up and/or down strokes [74] have all been ascribed this role. As we will show, however, the decomposition into functional units based on the system' functional output is likely compromised due to the generating system' multi-scale character.

## Methods

### Functional modes

We first briefly review the formulation of Structured Flows on Manifolds (SFM) [41], [42], [75], [76] which reads(1)where the so-called ‘smallness’ parameter *µ* is constrained as 0<*µ*<<1, *g*(.) defines the manifold, *f*(.) describes the subsequent flow on it, and *h*(.) represents the fast dynamics that rapidly collapses onto the manifold; here and below *τ* is the time constant of the fast contraction onto the manifold. Due to *µ* being small, the dynamics collapsing on the manifold is much faster than that pertaining to the phase flow. The flow is constrained on the manifold for an appropriate attractive function *g*(.). Unlike the center manifold theory [77], which is a local theory valid around instabilities only, systems of the form of equation (1) need to contain an inertial manifold [78], a global structure used in the reduction of infinite dimensional dynamical systems to finite dimensional spaces. Systems exhibiting inertial manifolds have to be dealt with on a case-by-case basis. SFM can be generated by distributed multi-component systems such as networks of firing-rate neural populations if multiplicative couplings and small connectivity asymmetries are present [41]. The former provide the necessary non-linearities whereas the latter allow for the emergence of the flow on the manifold. Ongoing work [75], [76] attempts to encode SFM into networks of spiking neural populations.

Here, we consider SFM as the macroscopic functional dynamics that emerges from interactions in a high-dimensional system (an agent) under environmental constraints and perturbations. After adiabatically eliminating the fast variables *s _{j}* (by solving for

*s*), the dynamics of a functional mode is described as: (2)Thus, we consider a functional mode

_{j}*F*({

*u*}) as a (transiently emerging)

_{i}*N*-dimensional functional dynamics in {

*u*} space originating from a ({

_{i}*u*},{

_{i}*s*})-space of much higher dimensionality

_{i}*M*.

### Multi-scale functional architectures

In its most general formulation, we can describe a functional architecture through its flow *F*(.) in phase space potentially subjected to additional operations (for a detailed treatment see [26]):(3)where {*u _{i}*} are the system's state variables and

*σ*(

*t*) is a time-dependent operational signal that, if constant in time (), renders the process autonomous. In that case,

*F*({

*u*}) is identified as the SFM of a particular functional mode. The dynamical repertoire is the set of functional modes available to an agent; it represents the ensemble of elementary functions that appear in relatively invariant manner across different instances of the agent's behavior. In contrast, the operational signals are task-specific dynamics that operate upon the modes in a context-dependent fashion.

_{i}Operational signals may evolve on various time scales relative to the functional modes and can in principle span a continuum of scales. Let *τ _{f}* =

*τ/µ*and

*τ*denote the time scales corresponding to a particular functional mode and operational signal

_{σ}*σ*(

*t*), respectively. Following [26], we distinguish four different instantiations of time scale separations. In cases in which

*σ*(

*t*) acts much faster than the functional mode (i.e.,

*τ*<<

_{σ}*τ*),

_{f}*σ*(

*t*) operates (quasi-instantaneously) upon the mode and we denote it as

*δ*(

*t*). In cases where

*σ*(

*t*) acts on a time scale similar to that of the functional mode (i.e.,

*τ*≈

_{σ}*τ*),

_{f}*σ*(

*t*) may be said to operate the functional mode, and we write it as

*η*(

*t*). In cases in which

*σ*(

*t*) acts much slower than the functional mode (

*τ*>>

_{σ}*τ*), we write it as

_{f}*ξ*(

*t*). Finally, in cases in which

*σ*(

*t*) can be considered as time-independent (i.e.,

*σ*(

*t*)≈constant during the process; i.e.,

*τ*→∞), the mode is autonomous.

_{σ}Functional modes (*F*({*u _{i}*})) and operational signals (

*ξ*(

*t*),

*δ*(

*t*)) compose functional architectures in the spirit of physics of pattern formation [28], [32], where spatiotemporal patterns are expressed as a linear combination of a few dominating modes. The critical and novel concept we introduce here is that the modes correspond to elementary processes (expressed as SFM) rather than static spatial patterns. Thus, at each moment in time, the expressed phase flow is given as a linear combination of all functional modes available in an agent's dynamical repertoire:(4)

where {*u _{i}*} are the state variables and

*F*(.) is the

_{j}*j*-th mode.

*ξ*acts as a weighting coefficient for the

_{j}*j*-th mode, is constrained to positive values, and operates on a slower time scale than that of the functional modes (even though transitions between modes involving fast contraction on the respective manifold are fast). That is, {

*ξ*} ‘select’ a particular mode

_{j}*F*during its activation phase (when

_{j}*ξ*= 1 and all other {

_{j}*ξ*} = 0, for

_{k}*k≠j*). Figure 1 sketches the resulting multi-scale dynamics as the transient emergence of a spirally structured flow on a cylindrical manifold for the time that the {

*ξ*} dynamics stays in the neighborhood of a particular node.

_{j}Recall, next to the slow dynamics that changes the (expressed) flow topology, the architecture provides for the optional involvement of the instantaneous operational signal {*δ _{i}*(

*t*)} that does not affect the flow and that acts as a functionally meaningful (context-specific) perturbation. For example, the {

*δ*(

_{i}*t*)} can move the system beyond a threshold (separatrix) and initiate a significant change in the trajectory's evolution. To reiterate, the ensemble of subsystems (

*F*({

_{j}*u*}),

_{i}*ξ*{

_{j},*δ*(

_{i}*t*)}) operating on distinct time scales (

*τ*<<

_{δ}*τ*<<

_{f}*τ*) constitutes the functional architecture as summarized in Figure 2. In the following sections we provide an illustration of how the {

_{ξ}*ξ*} dynamics can be designed to organize functional modes so that more complex functions emerge, in particularly serial order behavior.

_{j}Interactions among functional modes *F _{j}*({

*u*}) result in one of them dominating the output of the functional architecture for a period of time followed by the domination of another one via a fast transient. Three modes (associated with different colors) of the available dynamic repertoire are shown. They all correspond to 2-dimensional phase flows on an ellipsoid manifold. Blue represents a monostable phase flow, magenta a limit cycle flow, and green a bistable flow. Their vector field and a set of characteristic trajectories starting from different initial conditions (small asterisks) are shown. The modes' mutual interactions are depicted as bidirectional couplings (arrows) among their associated weighting coefficients {ξ

_{i}_{j}(t)} (with which they have a multiplicative relationship). The resulting expressed phase flow F({u

_{i}},t) (shown as a trajectory in the phase space and time) results from their linear combination at each time moment, while {u

_{i}(t)} is the respective time series. {ξ

_{j}(t)} play the role of a slow operating signal (with respect to the inherent time scale of the functional modes, i.e., τ

_{ξ}>>τ

_{f}). Finally, an instantaneous (τ

_{δ}<<τ

_{f}) operational signal {

*δ*(

_{i}*t*)} (in red) may have an additive contribution to

*F*({

*u*},

_{i}*t*), acting like a meaningful perturbation.

### Functional mode competition

We require that the modes' activations do not overlap and implement a ‘Winner-Take-All competition’ (WTA) for the {*ξ _{j}*} dynamics: (5)where

*τ*is a time constant ensuring that the competition evolves fast, The competition evolves among modes with

_{c}*L*>0, and its outcome is determined by parameters {

_{j}*C*} and {

_{j}*L*}: the ‘winning’

_{j}*ξ*is the one with . The competition dynamics has one unstable node at the origin, one point attractor (the ‘winner’) at , all other equilibrium points being saddles nodes (constraining the dynamics for {

_{j}*ξ*}>0). (For a linear stability analysis of all equilibrium points of this system, see Text S1; for the phase space of a 2-dimensional WTA competition, see Figure S1 Supporting Information.) Thus, functional modes are organized via mutual competitive interactions. Such a functional mode decomposition based on a competition scheme follows previous work on the Synergetic Computer [28], and is well established in the literature of biological competition [27]. An alternative to the WTA competition could be the winner-less competition based on transient heteroclinic sequences [52], [53], as also used in [75].

_{j}### Serial order dynamics

In order to model serial order, suitable dynamics has to be designed so as to activate the appropriate functional modes sequentially with the correct timing. Our here chosen implementation is inspired by Competitive Queuing models of serial behavior [60]–[63] that combine parallel representations of alternative ‘action plans’ with a competition process that selects the action to be executed next. The competition is due to lateral inhibition among the candidate actions; the order of activation depends on a so-called primacy gradient (i.e., a gradient of excitation across the sequence's elements). Every executed action is via inhibitory feedback excluded from the competition for the remaining of the sequence. Accordingly, in our implementation, at each stage of the sequence, the functional modes compete (via the {*ξ _{i}*}), one of them wins, dominates the output dynamics for the duration of its activation and is subsequently inhibited, after which the competition continues among the remaining available modes. Equation (5) implements the competition among modes by means of mutual inhibition. The order of activation depends on the {

*C*} parameters (the primacy gradient in this case);

_{j}*L*>0 is the condition for mode

_{j}*j*to take part at a specific competition round. Thus, parallel representations of the sequence (encoded in the arrays of {

*C*} parameters) are combined with serial processes of WTA competition. The timely inhibition of an active mode is achieved through a ‘bottom-up’ coupling (feedback) from the output {

_{j}*u*} to the slow operational signal: .

_{i}Here we describe this bottom-up feedback in detail. We introduce the index , indicating the specific order of the sequence, starting with mode *j* = 1 and terminating at *j* = *K′*, while running among the *K′* modes (out of a repertoire of *K* modes in total) that participate in a sequence **J**. The feedback is mediated by a 2-dimensional differential equation per functional mode of **J** (variables {*ν _{j}*} and {

*λ*}, respectively; see below). First, {

_{j}*u*(

_{i}*t*)} is slowly integrated, ‘informing’ the competition dynamics about the course of execution of a particular mode

*j*via the linear differential equation:(6)where

*τ*is the time constant and

_{ν}*k*and

_{j}^{exc}*k*are time scale parameters.

_{j}^{inh}*F*(.) and

_{inh}*F*(.) are feedback functions, inhibitory and excitatory, respectively.

_{exc}*F*(.) results in the slow increment of the ‘feedback integrating’ variable

_{inh}*ν*while mode

_{j}*j*is being executed, whereas

*F*(.) resets

_{exc}*ν*to 0 when the sequence is completed (or equivalently, when the last mode

_{j}*K′*has been executed). Second, the slow integration above triggers fast transitions of the ‘switching

*’*variables {

*λ*}:(7)where

_{j}*τ*is the time constant,

_{λ}*S*(

*ν*) is a sigmoidal function ‘sharpening’ the effect of

_{j}*ν*and limiting it to the interval [0,1], and

_{j}*sign*(.) returns the sign of its argument.

*λ*transits fast to a point attractor at

_{j}*λ*= 0 when

_{j}*S*(

*ν*) →1 and, inversely to a point attractor with |

_{j}*λ*| = 1 when

_{j}*S*(

*ν*) →0. For intermediate values of

_{j}*S*(

*ν*) (far from 0 and 1) the system is bistable; the above transitions are thus characterized by hysteresis. (For more details on the dependence of the phase space structure of equation (7) on parameter

_{j}*S*(

*ν*) as well as the functional forms of the feedback functions

_{j}*F*(.),

_{inh}*F*(.) ,and the sigmoidal

_{exc}*S*(.), see Text S1 as well as Figure S2 of the Supporting Information) Finally, {

*λ*} are inserted into the competition equation (5) determining, as mentioned above, the availability of a functional mode to participate in the competition (or inversely its inhibition) via parameters {

_{j}*L*} as well as the outcome of the competition via parameters {

_{j}*C*}. The

_{j}*L*s transit fast between values 0 and 1 following:(8)Thus, a functional mode

*j*participates in the competition (

*L*= 1) when neither

_{j}*j*nor any of the subsequent modes in the sequence are inhibited. The modes that do not form part of sequence

**J**still take part in the competition () but fail short due to their low {

*C*} activations. The {

_{j}*C*} transit fast to

_{j}*C*(and vice versa) from a value greater than

_{0}*C*according to:(9)Since

_{0}*L*= 1 for all modes participating in the competition, the winner

_{j}*j*at each time moment is the one with .

In sum, the transitions of {*λ _{j}*}, {

*L*} and {

_{j}*C*}, occurring due to feedback from the output, affect (the outcome of) the {

_{j}*ξ*} competition, which in turn selects a different functional mode to dominate the architecture's dynamics at each stage of the sequence. In fact, as the different ingredients of the functional architecture are intricately coupled in various ways, the {

_{j}*ξ*} competition is effectively influenced by all the relevant variables constituting the architecture. As for the characteristic time scales of each one of these variables and parameters, {

_{j}*ν*} integrate the output at a time scale much slower than the one of functional modes (

_{j}*τ*>>

_{v}*τ*), whereas the transitions of {

_{f}*λ*}, {

_{j}*L*} and {

_{j}*C*}, as well as the evolution of ‘individual competition rounds' are fast (

_{j}*τ*<<

_{λ},τ_{c}*τ*). The transition times notwithstanding, during the execution of a particular functional mode the corresponding variables and parameters remain relatively constant. Indeed, the resulting trajectory of the {

_{f}*ξ*} dynamics, which passes sequentially from the neighborhood of each mode of the sequence (where it dwells for a long time during a mode' activation), exhibits a time structure that is defined across the entire sequence. As such, the effective time scale that determines the serial dynamics (referred to as

_{j}*τ*above) is slow, following approximately the time scale (

_{ξ}*τ*) of the integration in equation (6) (

_{ν}*τ*≈

_{ξ}*τ*>>

_{v}*τ*). A glossary of all variables and parameters, as well as the time constants (as used in the simulations) rendering the architecture time scale hierarchical can be found in Table 1.

_{f}### Implementation of cursive handwriting

As proof of concept we demonstrate the application of the functional architecture via a typical example of serial motor behavior, namely cursive handwriting. Here, the state variables are (*x,y,z*), whereas a repertoire of *K* = 37 functional modes is used implementing characters (or parts thereof) modeled as 3-dimensional SFMs. Please note that in choosing *K* = 37, the dynamical repertoire is much larger than the number of modes required to establish the task required (see below), as is typically the case. The manifold, the surface of a cylinder with an ellipsoid basis where dynamics unfolds along the *x*-axis, is chosen to be common for all characters (for implementation reasons but without loss of generality). Thus, the form of the functional dynamics (exemplifying equations (2) and (4)) is: (10)

where *r _{i}* is the radius and

*c*the center of the manifold.

_{i}*y*and

*z*obey

*Excitator*-like dynamics [45] (except for two auxiliary linear point attractor phase flows) that has been proposed as a unifying framework for rhythmic and discrete movements. Depending on whether , , or , the system exhibits a limit cycle (rhythmic behavior), a point attractor with a separatrix (monostable system with threshold properties), or two point attractors with a separatrix between them (bistable system), respectively. The smallness parameter

*µ*provides the time scale separation responsible for the fast contraction on the manifold, while a second parameter

*µ*, guarantees the time scale separation that is necessary for the threshold properties of

_{e}^{lc/mn/bi}*Excitator*phase flows. The form of

*f*(.) yields the desired letter shapes. The modeling strategy consists in modulating the velocity on the

_{x}^{j}*x*-axis relative to the one on the

*y*-axis, according to the direction of velocity and the position of

*y*, by means of sigmoidal functions (see Supporting Information Text S1 for detail; Table S1 for parameter values). Finally, the functional mode dynamics (properly scaled and positioned via

*r*and

_{j}*c*, respectively) drives the dynamics on the handwriting workspace (i.e., the

_{j}*xy*-plane

*)*.

The dynamics of *δ _{y,z}* is a function of (

*y*,

*z*), (

*F*,

_{y}*F*) as well as of{

_{z}*ξ*}. Its implementation is based on firing a

_{j}*δ*-‘kick’ when the system approaches a point attractor (see Supporting Information Text S1 for the generation mechanism). Together with

*f*({

_{ξ}*u*}), they render the functional architecture autonomous (Figure 3 illustrates the couplings among the components of the architecture). The joined contributions of dynamics faster (the {

_{i}*δ*

_{i}(

*t*)} ‘kicks’ and {

*ξ*} transitions) and slower (overall {

_{j}*ξ*(

_{i}*t*)} dynamics) than the functional modes constitute a time scale hierarchy (see Table 1).

The functional dynamics *F*({*u _{i}*},{

*ξ*},{

_{j}*δ*}) is fed back to the slow serial dynamics by means of inhibitory feedback,

_{i}*F*({

_{inh}*u*},

_{i}*ξ*,{

_{j}*λ*}), and is integrated by the

_{j}*feedback integrating*variable

*v*.

_{j}*v*causes timely fast transitions to the ‘

_{j}*switching*’ variable

*λ*to which it is coupled via the sigmoidal function

_{j}*S*(

*v*) and excitatory feedback

_{j}*F*(

_{exc}*λ*).

_{K’}*λ*s regulate the WTA competition of the {

*ξ*} (via

_{j}*L*({

_{j}*λ*}) and

_{j}*C*({

_{j}*λ*})) that determine which functional mode will dominate the expressed phase flow

_{j}*F*({

*u*},{

_{i}*ξ*},{

_{j}*δ*}) at each time moment. The instantaneous operational signal {

_{i}*δ*({

_{i}*u*},{

_{i}*ξ*})} also receives feedback from output {

_{j}*u*} and is also coupled to the {

_{i}*ξ*}. Thus, the whole functional architecture becomes an autonomous system. (The index runs among the

_{j}*K′*modes that participate in a sequence

**J**out of a repertoire of

*K*modes, and also indicates the specific order of the sequence, i.e., the sequence starts with mode with

*j*= 1 and terminates with

*j*=

*K′*. The index

*i*runs among the dimensions of the state variables).

### Simulations and calculation of phase flow variability among trials

The functional architecture is simulated using the Euler-Maruyama method with a fixed time step [79] and normally distributed noise with zero mean and standard deviation *s*. The code is implemented using GNU Scientific Library (GSL) [80] C-code integrated with MATLAB. Noise has an additive contribution to the deterministic dynamics and ensures the robustness of the output by facilitating transitions upon destabilization of a previously stable mode to the next one. Although the effect of noise was not studied systematically, we would like to emphasize that the timing of the transitions depends on feedback rather than on random fluctuations for intermediate amounts of noise, and is thus adequately robust. The parameters were not systematically regulated so as to optimize the output dynamics (a short trial-and-error process was carried out based on visual inspection of the output). The parameters to simulate the word ‘*flow’* presented in the Results were set as follows: noise standard deviation *s* = 0.001, *k _{j}^{inh}* = [6,12,5,5,2.67,6], and

*k*= [12], [11], [10], [9], [8], [7] for each mode in the sequence, respectively The initial conditions for the functional mode dynamics were

_{j}^{exc}*x*= 0,

_{0}*y*= 0.1, and

_{0}*z*= −0.1, while those of {

_{0}*ν*}, {

_{j}*λ*}, and {

_{j}*ξ*} where chosen randomly from a uniform distribution in the interval [0,1] for {

_{j}*ν*} and {

_{j}*λ*}, and [0,1/

_{j}*K*] for {

*ξ*}.

_{j}With regards to the analysis of simulated data, the word ‘*view’* was generated in 100 trials with either the same initial conditions or with initial conditions drawn from a small neighborhood of the phase space with a uniform distribution. All trials where integrated for the same time duration and sampled with the same frequency resulting into data sets with an equal number of data points.

For the analysis, the mean and standard deviation of *y*(*t*), *z*(*t*), *dy*(*t*)/*/dt*, *dz*(*t*)/*/dt* {*ξ _{j}*(

*t*)},

*δ*(

_{y}*t*) and

*δ*(

_{z}*t*) were calculated for all trials across each time point, referred to as mean and standard deviation time series, and denoted as

*w*(

^{µ}*t*) and

*w*(

^{s}*t*) respectively (where ‘

*w’*may be

*y*,

*z*,

*dy/dt*,

*dz/dt ξ*,

_{j}*δ*or

_{y}*δ*). (

_{z}*x*was excluded from this analysis because it does not provide any relevant information about the functional modes phase space geometry since is not a function of

*x*). The mean time series was used as a guide in order to estimate the phase space trajectories as well as the flow as follows: For each trial and each time point of the mean time series

*y*(

^{µ}*t*) and

*z*(

^{µ}*t*) (excluding short segments at the beginning and end of the data sets), we searched for the nearest neighbor of (the mean of)

*y*and

*z*in phase space (i.e., the one with the minimum Euclidian distance) in a time window of

*T*= 300 time points (smaller than half a movement cycle) centered around that time point. Thus, the trials' data sets were rearranged such that their corresponding data points were as close as possible in the

_{w}*y*-

*z*phase plane. Next, the remaining variables of the data sets (

*dy/dt*,

*dz/dt,*{

*ξ*},

_{j}*δ*and

_{y}*δ*) were rearranged accordingly so as to correspond to the related (

_{z}*y*,

*z*) point. We then calculated the mean and standard deviation of the rearranged

*y*,

*z*,

*dy/dt*,

*dz/dt*, {

*ξ*},

_{j}*δ*and

_{y}*δ*datasets across all trials at each data point, denoted as

_{z}*w*and

^{µ}*w*respectively (again, ‘

^{s}*w’*may be

*y*,

*z*,

*dy/dt*,

*dz/dt ξ*,

_{j}*δ*or

_{y}*δ*). Notice that

_{z}*dy/dt*and

*dz/dt*, calculated at intermediate steps of the integration algorithm, can only approximate the deterministic phase flow as they contain the additive stochastic contribution of noise to the dynamics, and that the approximation of the integration algorithm is better for choices of smaller time steps

*dt*.

## Results

### Simulation of the functional architecture

In the following we provide proof of concept that complex functions can be composed of elementary processes organized in an autonomous hierarchy. In the corresponding cursive handwriting illustration, a word is generated via functional modes, each of which ”writes” a character. In other words, functional modes do not code for the individual characters, but rather for the processes involved in generating them. This subtle but fundamental differentiation characterizes our approach towards the emergence of functional dynamics. To be concrete, Figure 4 presents the simulation of the word ‘*flow*’; it shows the output dynamics and operational signals involved (panel A), and the feedback from the output dynamics to the slow sequential {*ξ _{j}*} (panel B). Four principal functional modes were used, one for each character: ‘

*f’*, ’

*l’*and ‘

*o’*are implemented using monostable phase flows requiring one

*δ-‘*kick’ for the initiation of each movement cycle [45], whereas ‘

*w’*is implemented as a limit cycle phase flow (no external timing is required). Two auxiliary (linear fixed point) phase flows are used at the beginning and end of the sequence setting appropriate initial and final conditions. The word is robustly generated repeatedly thrice after a short initial transient due to the random initial conditions.

Panel A shows the generation of the word ‘*flow*’ and the operational signals involved. The word is repetitively generated after a short transient (black solid line). Four principle functional modes are used, one for each character (associated with solid blue, green, magenta and cyan lines, respectively), plus two auxiliary ones at the sequence's beginning and end (dotted dark and light brown lines, respectively). From top to bottom: three repetitions of the word in the handwriting workspace (the plane *x*-*y*), the output trajectory in the 3-dimensional functional phase space spanned by state variables *x*, *y* and *z*, followed by their time series, and the time series of the slow (WTA competition coefficients {|*ξ _{j}*|}) and the instantaneous (

*δ*‘kicks’, light and dark red, respectively) operational signals. The {

_{y,z}*ξ*} of the modes that do not participate in the word always have a value close to zero (red line). Panel B shows the feedback loop from the output dynamics to the slow sequential one. From top to bottom: time series of the inhibitory feedback functions

_{j}*F*, the slow feedback integrating variables

^{j}_{inh}*v*, the absolute values of the (fast) ‘

_{j}*switching*’ variables

*λ*, and the WTA competition parameters

_{j}*C*and

_{j}*L*. These quantities vary on the time scale of a whole word (except for

_{j}*F*that varies at the time scale of a movement cycle), even if they also contain fast changes during their evolution. The parameter values for this simulation were as follows: noise standard deviation was

^{j}_{inh}*s*= 0.001, while

*k*= [6,12,5,5,2.67,6] and

_{j}^{inh}*k*= [12], [11], [10], [9], [8], [7] for each mode in the sequence, respectively (only these parameters that have to be manually set prior to a simulation). The initial conditions for the functional mode dynamics were

_{j}^{exc}*x*= 0,

_{0}*y*= 0.1, and

_{0}*z*= −0.1, while those of {

_{0}*ν*}, {

_{j}*λ*} and {

_{j}*ξ*} where chosen randomly from a uniform distribution in the interval [0,1] for {ν

_{j}_{j}} and {λ

_{j}}, and [0,1/

*K*] for {

*ξ*}.

_{j}Notice in particular how Figure 4 illustrates the distinct time scales of the interacting processes: As can be seen in Panel A, the main time scale of the output dynamics pertains to a movement cycle even though a longer (slower) time structure (at the word scale) is present also. This slow time scale dominates the {*ξ _{j}*} dynamics. In contrast,

*δ*

_{y}_{,z}is much faster than the output. (See Figure S3, Supporting Information for the generation of

*δ*

_{y}_{,z}). In Panel B, the inhibitory feedback

*F*can be seen to evolve at the (main) time scale of the output, whereas the feedback integrating variables

_{inh}^{j}*v*, the absolute values of the ‘

_{j}*switching’*variables {

*λ*} as well as the WTA competition parameters {

_{j}*C*} and {

_{j}*L*} are slower (except for fast transitions).

_{j}### Class invariance and quantitative variations of functional modes

As mentioned in the Introduction, phase flow topologies provide the means to classify functional modes, and allow for quantitative variation under qualitative invariance. In order to demonstrate this feature, here exemplified by scaling a functional mode’s phase flow with respect to the radius of the manifold (or movement amplitude), we doubled the manifold’s radius of character ‘*w*’ is (default *r* = 1) to *r* = 2, and halved it to *r* = 0.5. All dynamical properties of the output, captured by the shape of its time series, remain invariant (see Figure 5). This scaling of movement velocity with movement amplitude illustrates the so-called isochrony principle [81], which is a well-documented phenomenon in motor behavior and handwriting, in particular.

The figure shows the architecture's output generating the character ‘*w*’ with a different movement amplitude at each column: from left to right, the radius of the cylindrical manifold is the default one (*r* = 1), two times larger (*r* = 2) and its half (*r* = 0.5). From top to bottom: the architecture's output in the handwriting workspace (the plane *x*-*y*), and the state variables' time series (*x*, *y*, and *z*). The duration as well as the profile of each stroke's time series is almost identical for all values of the movement amplitude (the isochrony principle).

### Identifying functional modes and operational signals

We next investigate if and how complex processes arising in functional architectures can be decomposed into their dynamical components. Recall, the presence of multiple time scales [65], [66] and nonlinearities render this problem far from trivial. As outlined in the Introduction, this difficulty is evident in the quest for programming units of handwriting, and reflected in the numerous different proposals thereto [67]–[74]. Under the assumption that complex processes are composed of invariant functional modes (except for transitions) and context-specific operational signals, one would expect locally increased variability among trials’ observable trajectories (i.e., pertaining to the functional modes) where operational signals become effective. Moreover, if these operational signals induce transitions between modes and/or introduce meaningful perturbations, these segments of increased variability should generally be of a shorter duration than the characteristic time scale of functional modes. We tested if these two predictions can be used to separate the effects of operational signals on the architecture’s output from the functional mode dynamics, in order to isolate and identify the latter.

Thereto, 100 trials of the word ‘*view*’ were generated. Its dynamics is composed of functional modes based on a monostable phase flow with the point attractor at the position (*y ^{*}*,

*z*) = (2,0) (character ‘

^{*}*v*’), a bistable phase flow with point attractors at positions (

*y*,

^{*}*z*) = (0,0) and (

^{*}*y*,

^{*}*z*) = (2,0) (character ‘

^{*}*i*’), another monostable flow with the point attractor at position (

*y*,

^{*}*z*) = (0,0) (character ‘

^{*}*e*’), and a limit cycle phase flow (character ‘

*w*’) [45]. Regarding transitions in the corresponding phase space structure, it should be noted that no topological changes (locally around the point attractor) are present in the first and second transition (only quantitative variation occurs), while, in contrast, in the third transition a point attractor destabilizes via a Hopf bifurcation [43] giving rise to a limit cycle. Here, we focus on segments of increased variability (among trials) of the operational signals (corresponding to segments of {

*ξ*} transitions or of application of

_{j}*δ*-‘kicks’) and examine their effects on the output variability.

Figure 6 shows the means and standard deviation time series of all architecture components. It appears that the *δ*-‘kicks’ markedly effect the mean and standard deviation of *dy*(*t*)/*dt* and *dz*(*t*)/*dt* as brief additive contributions. On the contrary, {*ξ _{j}*} variability, although affecting the

*dy*(

*t*)/

*dt*and

*dz*(

*t*)/

*dt*standard deviation, this is hardly distinguishable from the standard deviation's variability that is due to the (slightly) different initial conditions and/or stochastic influences.

From top to bottom: means and standard deviations of *y*(*t*) (denoted as *y ^{µ}*(

*t*) and

*y*(

^{s}*t*)) of

*dy*(

*t*)/

*dt*((

*dy*/

*dt*)

*(*

^{µ}*t*), and (

*dy*/

*dt*)

*(*

^{s}*t*)), of

*δ*(

_{y}*t*) (

*δ*(

_{y}^{µ}*t*) and

*δ*(

_{y}^{s}*t*)), of

*z*(

*t*) (

*z*(

^{µ}*t*) and

*z*(

^{ s}*t*)) of

*dz*(

*t*)/

*dt*((

*dz*/

*dt*)

*(*

^{µ}*t*), and (

*dz*/

*dt*)

*(*

^{s}*t*)), of

*δ*(

_{z}*t*) (

*δ*(

_{z}^{µ}*t*) and

*δ*(

_{z}^{s}*t*)), and of {

*ξ*(

_{j}*t*)} (

*ξ*(

_{j}^{µ}*t*) and

*ξ*(

_{j}^{ s}*t*)). Means are plotted in blue and standard deviations in green except for the graph of {

*ξ*(

_{j}*t*)} where colors correspond to different modes and where means and standard deviations are plotted with a continuous and dashed line, respectively. Grey and pink shadings focus on the segments of increased {

*ξ*(

_{j}*t*)} and

*δ*

_{y}_{,z}(

*t*) variability, respectively. Notice the strong effect of

*δ*-‘kicks’ on the means and standard deviations of the state variables' rates of change ((

*dy*/

*dt*)

*(*

^{µ}*t*),

*dz*/

*dt*)

*(*

^{µ}*t*) and (

*dy*/

*dt*)

*(*

^{s}*t*), (

*dz*/

*dt*)

*(*

^{s}*t*)). Instead, the variability of {

*ξ*(

_{j}*t*)} (

*ξ*(

_{j}^{s}*t*)) has a much weaker effect on (

*dy*/

*dt*)

*(*

^{s}*t*) and (

*dz*/

*dt*)

*(*

^{s}*t*), and cannot be unambiguously distinguished from the rest of the (

*dy*/

*dt*)

*(*

^{s}*t*) and (

*dz*/

*dt*)

*(*

^{s}*t*) variability.

Crucially, when performing the same analysis to data sets that have been rearranged so that the corresponding data points refer to neighboring points in phase space within a small time window (see above), the effect of the {*ξ _{j}*} becomes evident as well. In addition to the phenomena observable in Figure 6, Figure 7 reveals that an increased {

*ξ*} variability (occurring at the moments of transitions between modes) goes hand in hand with an increase in the standard deviation of

_{j}*dy*/

*dt*and

*dz*/

*dt*. These latter variables (i.e.,

*dy*/

*dt*and

*dz*/

*dt*) provide an approximation of the phase flow. This phenomenon is caused by the variable changes of the flow due to the {

*ξ*} variability ({

_{j}*ξ*} do not transit identically among trials because of noise) rather than a topological flow change (see Figure S4 of Supporting Information). Note also that the effect of mode transitions cannot be identified unambiguously in the variability of the phase space trajectory (

_{j}*y*and

^{s}*z*). (The analysis was performed for noise with standard deviation ten times larger (

^{s}*s = 0.01*) as well, delivering results that are in general agreement with the above presented ones, as illustrated in Figures S5-7 of the Supporting Information).

From top to bottom: means and standard deviations of *y* (denoted as *y ^{µ}* and

*y*), of

^{s}*dy*/

*dt*((

*dy*/

*dt*)

*and (*

^{µ}*dy*/

*dt*)

*), of*

^{s}*δ*(

_{y}*δ*and

_{y}^{µ}*δ*), of

_{y}^{s}*z*(

*z*and

^{µ}*z*), of

^{ s}*dz*/

*dt*((

*dz*/

*dt*)

*and (*

^{µ}*dz*/

*dt*)

*), of*

^{s}*δ*(

_{z}*δ*and

_{z}^{µ}*δ*), and of {

_{z}^{s}*ξ*} (

_{j}*ξ*and

_{j}^{µ}*ξ*). Colors, shadings and line styles are similar as in Figure 6. The effect of

_{j}^{ s}*δ*-‘kicks’ on the architecture's output is as evident as in Figure 6 (notice also that (

*dy*/

*dt*)

*and (*

^{s}*dz*/

*dt*)

*are almost identical to*

^{s}*δ*and

_{y}^{s}*δ*, respectively, in the segments with a

_{z}^{s}*δ*-‘kick’). The variability of {

*ξ*} (

_{j}*ξ*) that signals mode transitions, now has a significant effect on standard deviations of

_{j}^{s}*dy*/

*dt*and

*dz*/

*dt*that approximate the phase flow. This effect cannot be identified unambiguously in the variability of the trajectory in the phase space (

*y*and

^{s}*z*). At the first transition, the

^{s}*δ*-‘kick’ variability follows that of the {

*ξ*}, and their effects are easily separable. Instead, at the second transition, the mean of the {

_{j}*ξ*} modulates the standard deviation of

_{j}*δ*and thereby the one of

_{z}*dz*/

*dt*as well (because of their overlapping in the data set). At the third transition no

*δ*-‘kick’ is involved; however, there is still a significant increase in (

*dy*/

*dt*)

*and (*

^{s}*dz*/

*dt*)

*due to the increase in*

^{s}*ξ*.

_{j}^{ s}In sum, the effects of {*ξ _{j}*} transitions or

*δ*-‘kicks’ perturbations can be located by focusing on the variability of the output phase flow (approximated here by

*dy*/

*dt*and

*dz*/

*dt*) among trials. Both phenomena are short lived due to their intrinsic time scales (fast transients and instantaneous ‘kicks’, respectively) but can be distinguished because the instant

*δ*-perturbations are evident in the mean of

*dy*/

*dt*and

*dz*/

*dt*, which is not the case for the {

*ξ*} transitions. Thus, when mode transitions are identified, a sequence can be segmented into periods where different functional modes dominate the dynamics. Subsequently, evident perturbations can be disregarded as external influences on the functional modes. Finally, the remaining dynamics within a time segment can be considered as an approximately stationary process generated by a particular functional mode. The latter can be recovered by techniques of phase flow reconstruction such as the ones based on Fokker-Planck formalisms [48], [82], [83].

_{j}## Discussion

### Functional architectures modeling the phenomenology of human function

We presented a functional architecture comprising multiple subsystems operating on distinct time scales: a dynamical repertoire of functional modes modeled as SFMs, slower operational signals organizing the modes via a Winner-Take-All competition as well as faster ones acting on the modes as meaningful events or perturbations. Crucial to our approach is the idea that functional modes characterize prototypical processes. As proof of concept, we illustrated our approach by generating a cursively written word, a typical instance of serial behavior. Our framework represents a theoretical perspective on process execution and the organization of complex (human) function via a hierarchy of interacting time scales. The approach we adopt, based on modeling motor, perceptual as well as complex cognitive functions in a deterministic, dynamical way, enhances explanatory powers in the context of a specific scientific methodology: abstract dynamics modeling the essentials of biological phenomenology constrain mechanistic models of finer biological detail and suggest possible classes of generating mechanisms; they then feed back to the experimenter with further implications and intuitions based on nonlinear dynamical systems' theory. The presented functional architectures operates on low-dimensional dynamical patterns (functional modes) that explicitly model the specific dynamical structure of an elementary human function (quantitatively as well as qualitatively), and satisfy the requirement for dynamical constituency [44] (viewed here as meaningful structure in the phase (or state) space). By modeling functional modes as dynamical processes instead of states, it may be possible to naturalize (human) function while minimizing complexity reductions typifying traditional approaches [17], [18], [21]. Moreover, the hierarchy of time scales, as a principle of organization, conciliates continuous dynamics with the ‘discrete’ nature of a repertoire of distinct functional modes.

Our approach presents similarities and differences with related ones pushing forward heteroclinic sequences or chaotic attractors to account for brain and cognitive dynamics. For instance, over the last few years, Rabinovich and colleagues developed an approach centering on (cognitive) change via the introduction of heteroclinic cycles [52], [53], which is similar in spirit to ours in several ways, importantly so in focusing on the time structure of cognitive processes. In a nutshell, in their approach the system (cognitive agent) sequentially transits from one unstable equilibrium point (a saddle) to another. Due to the nature of the equilibrium points, the transitions are typically fast and short lived relative to the time spent in their neighborhood (i.e., time-scale separation). A drawback of sequences built on equilibrium points, however, is that their corresponding processes are functionally rather constrained. True, while dynamical objects more complex than (unstable) equilibrium points, such as limit cycles or even chaotic attractors, can be placed at the nodes of a heteroclinic sequence [84], [85], this potential has to our best knowledge not yet been applied to behavioral and cognitive modeling. The limitation to transitions among equilibrium points limits the explicit formulation of the ‘shape’ of given dynamical processes and provides no obvious entry points to their classification. In contrast, our hypothesized range of possible (low-dimensional) dynamical objects (SFM) provides a natural entry point to the classification of cognitive events [84], [85]. Moreover, heteroclinic cycles become slower and slower as a trajectory approaches a saddle point (or subspace), and, importantly, the timing of transitions or the effect of a week perturbation scale with the amount of noise so that robust timing is difficult to achieve. In contrast, in the present implementation, feedback ensures the robust timing of transitions albeit at the expense of an increase in the architecture's dimensionality. The issue of robustness pertains to chaotic attractors (as generated by recurrent neural networks [86], [87]) too: Although they may exhibit dynamics of arbitrary complexity, they are sensitive to initial conditions and thus fail to account for the robustness of human functioning.

Our theoretical framework is complementary to the Bayesian theory proposed in [49]. In a series of papers, hierarchies of transient dynamics were developed in order to account for brain [88], perceptual [50], [51] and behavioral [89] phenomena. In those studies generative models, based on non-linear dynamics, and hierarchical organizations thereof were proposed that can be considered as equivalent to functional modes and architectures respectively. In perception the high levels of the hierarchy encoded slow contextual changes in the environment as the underlying causes of the faster sensory dynamics, the temporal structure of which was captured by the lowest level [50], [51]. In motor behavior slow high-level dynamics were proposed as prior expectations about proprioception, which enslaved the peripheral (faster and low-level) motor system [89] to fulfill them. This Bayesian approach, however, focuses rather on the statistical computation that this dynamics implements in order to ‘tune’ the human and animal brain to the causality structure underlying human–environment interactions (as described by generative models and hierarchies thereof) as well as on the basic principle governing this computation (minimization of uncertainty quantified as free energy [90]). Instead, our work focuses on the actual dynamical objects (and their interactions) that can provide us with dynamical descriptions of human function' phenomenology; in other words, on what we can learn from the proposed generative models. The two approaches, being complementary, could be combined in fruitful ways in future work.

We illustrated our approach by generating an instance of serial behavior, cursive handwriting, as proof of concept. Our model shares common elements with a previously proposed CQ-model for handwriting [64] that reproduced several phenomena observed in the kinematics of human handwriting such as the 2/3 power law as well as the isochrony principle [81]. Attributing different functional roles to the sequence and character generators (serial and functional mode dynamics, respectively) resembles the dual (motor and cognitive) processors model for sequence production [91], [92]). In the latter model, the prime role of the cognitive processor shifts (with practicing) from executing to initiating sequences as the gradual development of motor chunks allows a motor processor to execute them. However, there is no explicit reference to the characteristic time scales of each one of these processes.

The architecture' dynamics (and particularly the functional modes of the handwritten characters) were not constructed with the particular aim to implement biologically realistic kinematics, but to demonstrate the general principles of functional architectures and focus on the interactions between their distinct time scales. However, although biologically realistic dynamics for the modes or a more sophisticated serial dynamics can in principle be constructed based on experimental data, it would not change the nature of our theoretical framework. Moreover, phenomena of dynamics connecting subsequent characters [93], in other words, character variability due to the context of neighboring characters, were not addressed. Doing so either requires a bigger (and more biologically realistic) repertoire of phase flows or the design of a mixed parallel-serial [57], [94] architecture with additional operational signals operating on a time scale similar to the one of the functional modes (*τ _{η}*≈

*τ*) that would contribute to ‘sewing’ characters into words. However, the inclusion of phase flow modifications at that time scale is the most costly in terms of operational signal complexity [26].

_{f}The output {*u _{i}*(

*t*)} of the architecture represents the observable behavioral trajectory, in our specific implementation, the endpoint trajectory (

*x*(

*t*),

*y*(

*t*),

*z*(

*t*)) of handwriting, whereas the operational signals {

*ξ*(

_{j}*t*)} and {

*δ*(

_{i}*t*)} correspond to internal variables. Only {

*u*(

_{i}*t*)} allows for a direct mapping to behavioral observables, observations of perceptual and other internal contributions must be inferred. The implemented feedback loop that informs the competition process about the evolution of an active functional mode's trajectory likely incorporates both sensory and internal (or ‘planned’) effects; their relative contribution may well depend on the extent to which the movement is automatized. In principle, however, sensory feedback can be explicitly introduced at different levels of the architecture. For instance, it can contribute to the competition between modes, or trigger a fast perturbation to initiate a movement at the correct timing. Sensory feedback can also parameterize the dynamics of a functional mode at time scales similar to the one of functional modes, for instance when a high degree of precision is required.

We further investigated the possibility to identify the functional modes underlying the sequence generation, an endeavor that an experimentalist might find herself faced with. Our results suggest that the various sources contributing to the variance in and across instantiations of a process cannot be unambiguously delineated when focusing on a process' evolution as it unfolds in time. Rather, they urge the experimenter to focus on phase space analysis in order to identify the functional components of serial processes and their interactions. Moreover, our results indicate that unlike phase transitions that occur as the relevant state variable (e.g., relative phase) transits from one stationary value to another, and that are observed in behavioral and sensorimotor coordination [30] and revealed by increased (phase space) trajectory variability, identifying transitions between (possibly non-stationary) processes requires analysis of the variability of the phase flow. To that aim, more elaborate methods of phase flow reconstruction could be considered, such as the one employed in [48], [82], [83] based on Fokker-Planck formulations. However, important modifications or extensions have to be made for those methods to be able to handle non-stationary processes as well [82], [83] and our results may contribute to this end by probing to the importance of time scale separations.

### Neural correlates of functional modes and architectures

The cornerstone of our approach is the SFM concept, according to which the dynamics of a high-dimensional system (such as the embodied brain) temporarily collapses onto a low-dimensional manifold containing a structured functional flow. This vision is in line with reports of network dynamics, dynamical models as well as biological data indicating that the ensemble dynamics of populations of neurons may effectively reduce to a structured flow in phase space (i.e., a functional mode). For instance, recent as well as ongoing work in our lab progresses in designing large scale neural networks of firing rate populations or spiking neurons coding for SFMs and functional architectures [41], [75], [76]. Other (computational) examples in which a network dynamics generates low-dimensional topological objects in phase space are provided in [95]. Real biological networks of spiking neurons have been reported to generate heteroclinic sequences [96]. Also, central pattern generators, i.e., relatively small autonomous neural networks, are typically constrained to produce limit cycle dynamics. An explicit example of the generation of a 3-dimensional closed orbit in phase space generated in a central pattern generator of the lobster stomatogastric ganglion can be found in [96], [97].

Evidence favoring biological realism for the operational signals (slow and fast) can be found in the literature too. In that regard, the time scale hierarchies of the organization of sensorimotor interactions are proposed to be reflected in the hierarchical organization of the nervous system, in particular the cortex [49], [88]. Structurally, the hierarchy is formed via convergence and divergence of forward and backward connections, while their differential functionality introduces a temporal (and spatial) separation of scales of operation. Presumably, (local) processes in the primary areas occur faster than the modulating influences thereon from the higher levels. For instance, oscillation in the human *β* and *γ* band (corresponding roughly to 13–30 Hz and 30–100+ Hz, respectively) are thought to be associated with feature integration (i.e., content related) while the slower *θ* and *α* band (corresponding roughly to 4–8 Hz and 8–13 Hz, respectively) are presumably involved in top-down regulations adjusting the faster processes in a context-dependent fashion [98]. The instantaneous signals *δ*(*t*) have been associated with timing (‘or clock’) mechanisms [48], [99]. In fact, the notion of brief pulses initiating timed movements is well established in the psychological literature [100], [101], and is accompanied by a plentitude of neuro-imaging studies aiming to identify the corresponding anatomical substrate (for a review, see [102]) for which the cerebellum [103]–[105] and basal ganglia [102] have been put forward as candidate structures.

According to the ‘Good Regulator’ theorem (a central theorem in Cybernetics due to Ashby and Conant [106]), any regulator that is maximally successful and simple must be isomorphic with the system being regulated. Whether this applies to the relationship between the neural system (the ‘regulator’ in our case) and human behavior as the SFM framework implies remains an open question. However, initial results of ongoing experimental work on EEG imaging in a behavioral paradigm of rhythmic versus discrete movements [107] and existing literature [37], [38], [108]–[110] are open for interpretation along these lines: In those studies, low-dimensional behavioral patterns and transitions among them (here {*u _{i}*} and {

*ξ*} dynamics, respectively) were associated with corresponding low-dimensional spatiotemporal modes in EEG and MEG dynamics and their transitions. In particular, preliminary results in [107] reveal that low-dimensional EEG patterns (at the low frequency range) appear to be isomorphic to the behavioral (movement) patterns. How these patterns relate to the oscillations (and synchrony across them) in the

_{j}*α*,

*β*, and

*γ*-ranges is still an open question. In any case, the potential isomorphy of dynamics (more specifically phase flows) between brain and behavioral signals offers an intriguing entry point towards the understanding of representation in the human brain.

### Implications for cognitive modeling, learning and engineering

Our framework is compatible with embodied intelligence approaches, since functional modes may be isomorphic to patterns of closed sensorimotor loops or human-environment interactions. The property of dynamical isomorphy or topological equivalence of sensorimotor interactions offers a novel perspective to phenomena such as motor equivalence [8], [111] and sensory substitution [112], [113]. Motor equivalence refers to the fact that humans can accomplish a given goal via different ‘motor means’ as in using different effectors' systems (writing with one's foot), or, in the present context, via different hierarchical organizations [26]. Sensory substitution is the phenomenon that sensorimotor interactions utilizing a given sensory modality can be effectively substituted by other interactions using another modality. According to our approach, what remains invariant among such different behavioral or sensorimotor patterns would be the ‘shape’ of their dynamics, that is, their meaningful structure in the phase space. The argument holds even if one considers the so-called ‘cognitive’ topology [15], [114] to be different than the mathematical one [44], [115].

We demonstrated how the appropriate choice of the functional ‘circuitry’ (i.e., serial dynamics) within the available dynamical repertoire can lead to the emergence of more complex functions such as serial order behavior. The latter is an example of how such ‘circuitries’ among functional modes can prescribe different causal relationships between them, forming a network of elementary processes. Thus, a variety of functional architectures can emerge, even conditional ones, mimicking the IF-THEN rules found in traditional Artificial Intelligence or architectures with coexistence of cooperative and competitive interactions among functional modes. Moreover, although the proposed architecture is presented in a closed form and executes a prescribed serial behavior, internal (e.g., goals, affective inputs) or external (i.e., perceptual) cues could bias the WTA competition via parameters {*L _{j}*}, {

*C*}, thus (co-)determining the flow within such a network of processes. In that manner, arbitrary decision-making or behavioral sequences (including perception-action coupling) can be modeled, such as stereotypical interactive behaviors (e.g., browsing in the internet or cooking). Additionally, a hierarchy of multiple levels of such functional architectures could be designed in order to account for a repertoire of even more complex functions necessary to model more rich mental/cognitive constructions.

_{j}In any case both functional modes and their organizational interactions would result out of a process of pattern formation in structurally coupled agent-environment systems in an autonomous self-organized manner reflecting the agents’ urge to survive or, in other words, conserve its autonomous organization (referred to as autopoiesis [1], [2]). The proposed framework suggests that different processes of adaptation or learning are required for such complex function to emerge. The acquisition of an initial repertoire of elementary functions would precede processes constructing functional architectures allowing for a multitude of complex behaviors. At the same time, the initial repertoire could be extended with new functional modes by composition of existing ones that would either (or not) qualitatively change the constituent modes (see [26]). The latter mechanism could provide us with the means to model phenomena found in cognitive linguistics literature such as conceptual metaphors and blends [14]–[16], [114]. Those are cognitive mechanisms responsible for transferring the causality structure of a conceptual schema (constructed out of generalization over a class of sensorimotor interactions) to another that is defined in a different conceptual space or domain, as well as for the merging of such domains. In this process, the so-called ‘cognitive’ topology is preserved in order to allow for inference in the target domain based on relationships in the source domain. Another interesting question would be whether the learning dynamics themselves could be described by trajectories generated by distinct phase flows in a relevant phase space, corresponding to qualitatively different learning strategies [116].

Functional architectures, besides dealing with some of the most interesting questions in modern science, the ones concerning human function, can also lead to interesting engineering applications in motor or sensory rehabilitation based on motor equivalence and sensory substitution, as well as in Artificial Intelligence and robotics where multi-time scale functional architectures are already being implemented [117],[118]. Combined with their neural network implementations, a novel paradigm of analog biologically inspired computation with possible materializations in integrated circuits, such as Very-Large-Scale Integration (VLSI) [119] ones, may emerge.

## Supporting Information

### Figure S1.

**Phase space of the WTA system.** Panels A-C show the phase space of a 2-dimensional WTA competition system (*ξ*_{1,2}>0) for different values of the ratios *r*_{1,2} = *L*_{1,2}/*C*_{1,2} (*L*_{1,2} = 1 always). Red and green curves denote the and nullclines respectively. On their intersections there is always some equilibrium point. Empty circles denote unstable nodes (this is always the point (0,0)), filled circles point attractors and black rhombs filled with red denote saddle nodes. Arrows describe the vector field whereas blue curves are characteristic trajectories of the evolution of the system (a small asterisk denotes the initial condition). Panel A: *C*_{1} = 1 and *C*_{2} = 2, thus *C*_{1}<*C*_{2} and *ξ*_{1} wins the competition. There is a point attractor at the position (,0) = (1,0) (all trajectories converge to it even the ones starting near the *ξ*_{2} node), and a saddle node at (0, ) = (0,). Panel B: *C*_{1,2} = 2. There is no definite winning *ξ _{i}*. There is a circle of point attractors because the two circular nullclines are identical. The system can be in any of the states constrained on this circle. A small deviation from this situation will result in the system flowing slowly towards a winning

*ξ*. Panel C:

_{i}*C*

_{1}= 2 and

*C*

_{2}= 1, thus

*C*

_{1}>

*C*

_{2}and

*ξ*

_{2}wins the competition. There is a point attractor at the position (0,) = (0,1) (all trajectories converge to it even the ones starting near the

*ξ*

_{1}node), and a saddle node at (,0) = (,0).

https://doi.org/10.1371/journal.pcbi.1002198.s001

(TIFF)

### Figure S2.

*λ _{j}*

**phase space dependence on parameter**

*S***(**

*ν*_{j}**).**Panels from left to right sketch the derivative (red line) of

*λ*against itself for values of

_{j}*S*(

*ν*) 0.09, 0.5 and 0.85 respectively. The phase space is 1-dimensional: the

_{j}*λ*axis. Arrows on this axis describe the vector field. Equilibrium points exist where the derivative curve touches the

_{j}*dλ*= 0 line. Mutually facing arrows indicate the existence of a point attractor. In the opposite case, there is an unstable equilibrium point. For intermediate values of

_{j}/dt*S*(

*ν*) like

_{j}*S*(

*ν*) = 0.5, there are five equilibrium points: three point attractors at points

_{j}*λ*= +/−1 and

_{j}*λ*= 0, and two unstable points separating them. When

_{j}*S*(

*ν*) approaches 0, such as for

_{j}*S*(

*ν*) = 0.09, the previously unstable points disappear and

_{j}*λ*= 0 destabilizes. Thus, if the system is at that point, it will leave to go to a point where |

_{j}*λ*| = 1. On the contrary, when

_{j}*S*(

*ν*) approaches 1, such as for

_{j}*S*(

*ν*) = 0.85, it is the

_{j}*λ*= +/−1 points that destabilize while

_{j}*λ*= 0 becomes a point attractor (the separating unstable points again disappear). Thus, in this case the system, being in a position where |

_{j}*λ*| = 1, transits to

_{j}*λ*= 0. Given that these two

_{j}*λ*transitions happen for different values of the parameter

_{j}*S*(

*ν*) (due to the bistability for

_{j}*S*(

*ν*) values far from 0 or 1), the system exhibits hysteresis.

_{j}https://doi.org/10.1371/journal.pcbi.1002198.s002

(TIFF)

### Figure S3.

**Generation of the instantaneous operational signal ***δ _{y}*

_{,z}

**.**From top to bottom panels show

*δ*

_{1},

*δ*

_{2}and

*δ*(see equations (C.1,2) of Text S1 of Supporting Information) time series from the simulation of the word ‘

_{cr}*flow’*presented in the main text. Four

*δ*-“kicks” are fired for each one of the repetitions of the word. It is

*δ*(that receives input from the other components of the architecture according to (C.2)) the one that triggers pulses for the

_{cr}*δ*

_{1,2}excitable system which follows (C.1).

https://doi.org/10.1371/journal.pcbi.1002198.s003

(TIFF)

### Figure S4.

**Phase space analysis for a non-autonomous slow operational signal and for ***s*** = 0.001.** The figure has the same lay out, notation, and color coding as Figure 7 of the main text. {*ξ _{j}*(

*t*)} are non-autonomous and identical among trials where the mean {

*ξ*(

_{j}*t*)} (

*ξ*) of the autonomous architecture were used The effects of the

_{j}^{µ}*δ*-‘kicks’ on the output dynamics are still present. However, since the non-autonomous and identical slow operational signal does not contribute any variability, the effect that had on the variability of the phase flow is attenuated significantly. This is the case even for the third transition, which occurs via a Hopf bifurcation.

https://doi.org/10.1371/journal.pcbi.1002198.s004

(TIFF)

### Figure S5.

**Time series analysis for ***s*** = 0.01**. Figure notation and layout is identical to the ones of Figure 6 of the main text. One can observe the strong effect of *δ*-‘kicks’ to the means and standard deviations of the state variables' rates of change ((*dy*/*dt*)* ^{µ}*(

*t*),

*dz*/

*dt*)

*(*

^{µ}*t*) and (

*dy*/

*dt*)

*(*

^{s}*t*), (

*dz*/

*dt*)

*(*

^{s}*t*)). Instead the variability of {

*ξ*(

_{j}*t*)} (

*ξ*(

_{j}^{s}*t*)) has a much weaker effect on (

*dy*/

*dt*)

*(*

^{s}*t*) and (

*dz*/

*dt*)

*(*

^{s}*t*) only, which cannot be unambiguously distinguished from the rest of the (

*dy*/

*dt*)

*(*

^{s}*t*) and (

*dz*/

*dt*)

*(*

^{s}*t*) variation. Results agree with the ones shown in Figure 5 of the main text.

https://doi.org/10.1371/journal.pcbi.1002198.s005

(TIFF)

### Figure S6.

**Phase space analysis for ***s*** = 0.01**. Figure notation and layout is identical to the ones of Figure 7 of the main text. The effect of *δ*-‘kicks’ on the output of the architecture is as evident as in the simulation of Figure S5 (notice also that (*dy*/*dt*)* ^{s}* and (

*dz*/

*dt*)

*are almost identical to*

^{s}*δ*and

_{y}^{s}*δ*respectively at the segments where there is a

_{z}^{s}*δ*-‘kick’). Moreover, the variability of {

*ξ*} (

_{j}*ξ*) that signals mode transitions, has now a significant effect to standard deviations of

_{j}^{s}*dy*/

*dt*and

*dz*/

*dt*that approximate the phase flow. This effect cannot be identified unambiguously in the variability of the trajectory in the phase space (

*y*and

^{s}*z*). At the first transition, the

^{s}*δ*-‘kick’ variability follows, the {

*ξ*} one, and their effects are easily separable. Instead, at the second transition, judging from the shape of the time series, the mean of {

_{j}*ξ*} modulates the standard deviation of

_{j}*δ*and through it, the one of

_{z}*dz*/

*dt*as well, because of their overlapping in the data set. Finally, at the third transition, there is no

*δ*-‘kick’ involved, however, there is still a significant increase in (

*dy*/

*dt*)

*and (*

^{s}*dz*/

*dt*)

*due to the increase in*

^{s}*ξ*. Results agree with the ones shown in Figure 7 of the main text.

_{j}^{s}https://doi.org/10.1371/journal.pcbi.1002198.s006

(TIFF)

### Figure S7.

**Phase space analysis for a non-autonomous slow operational signal and for ***s*** = 0.01.** Figure notation and layout is identical to the ones of Figure S4. The effects of the *δ*-‘kicks' on the output dynamics are still present. However, using non autonomous *ξ*s, identical among trials, makes the effect of their variability attenuate significantly (although this attenuation is weaker than the one for *s* = 0.001 shown in Figure S4). This is true even for the third transition where a Hopf bifurcation happens.

https://doi.org/10.1371/journal.pcbi.1002198.s007

(TIFF)

### Table S1.

**Parameters of functional modes' phase flows.** Table S1 shows the values of the parameters of equations (10) and (D.1,2) of the main text and the Supporting Information Text S1 respectively, which make up the specific phase flows implementing characters' functional modes. Some of the characters require two phase flows in order to be modeled, due to the fact that the dimensionality of the phase flows was constraint to three dimensions, for visualization reasons. Functional modes 36 and 37 just set the system to the position where *z* is 0 and *y* is 0 or 2 respectively (see equations (D.3) of Text S1 of Supporting Information).

https://doi.org/10.1371/journal.pcbi.1002198.s008

(DOC)

### Text S1.

**Linear stability analysis of the Winner-Take-All competition system and mathematical details for the generation of the sequential dynamics, the **
**
δ
**

**operational signal and the characters' shapes.**

https://doi.org/10.1371/journal.pcbi.1002198.s009

(DOC)

## Author Contributions

Conceived and designed the experiments: DP VKJ RH. Performed the experiments: DP. Analyzed the data: DP. Wrote the paper: DP RH VKJ. Developed theoretical framework: VKJ RH DP.

## References

- 1.
Maturana HR, Varela FJ (1980) Autopoiesis and Cognition: The Realization of the Living (Boston Studies in the Philosophy of Science, Vol. 42). D. Reidel Publishing Company.
- 2.
Maturana HR, Varela FJ (1998) The tree of knowledge: the biological roots of human understanding. Boston & London: Shambhala.
- 3. Mussa-Ivaldi FA, Giszter SF, Bizzi E (1994) Linear combinations of primitives in vertebrate motor control. Proc Natl Acad Sci U S A 91: 7534–7538.
- 4. Mussa-Ivaldi FA, Bizzi E (2000) Motor learning through the combination of primitives. Philos Trans R Soc B 355: 1755–1769. Available: http://www.ncbi.nlm.nih.gov/pubmed/11205339.
- 5.
Flash T, Hochner B (2005) Motor primitives in vertebrates and invertebrates. Curr Opin Neurobiol. 15. : 600–666. Available: http://www.ncbi.nlm.nih.gov/pubmed/16275056.
- 6. Bizzi E, Cheung VCK, d’Avella A, Saltiel P, Tresch M (2008) Combining modules for movement. Brain Res Rev 57: 125–133.
- 7. Schmidt RA (1975) A schema theory of discrete motor skill learning. Psychol Rev 82: 225–260.
- 8. Schmidt RA, Lee TD (2005) Motor control and learning: A behavioral emphasis. Human Kinetics Champaign IL:
- 9. Yu AC, Margoliash D (1996) Temporal hierarchical control of singing in birds. Science 273: 1871–1875.
- 10. Friston K, Kiebel S (2009) Predictive coding under the free-energy principle. Philos Trans R Soc B 364: 1211–21. Available: http://rstb.royalsocietypublishing.org/cgi/content/abstract/364/1521/1211.
- 11. Poeppel D, Idsardi WJ, van WassenhoveV (2008) Speech perception at the interface of neurobiology and linguistics. Philos Trans R Soc B 363: 1071–86. Available: http://rstb.royalsocietypublishing.org/cgi/content/abstract/363/1493/1071.
- 12. Liberman AM, Whalen DH (2000) On the relation of speech to language Trends Cogn Sci 4: 187–196. Available: http://dx.doi.org/10.1016/S1364-6613(00)01471-6.
- 13.
Jackendoff R (2003) Foundations of language: brain, meaning, grammar, evolution. Oxford University Press.
- 14.
Feldman JA (2006) From molecule to metaphor: a neural theory of language. MIT Press.
- 15.
Lakoff G (1993) The contemporary theory of metaphor. Metaphor and thought.
- 16.
Lakoff G, Nuñez R (2001) Where Mathematics Comes From: How the Embodied Mind Brings Mathematics into Being. Basic Books.
- 17.
Newel A (1990) Unified theories of cognition. Cambridge: Harvard University Press.
- 18.
Rumelhart DE, McClelland JL, Group the PR (1987) Parallel Distributed Processing, Vol. 1 Foundations. The MIT Press.
- 19.
Bechtel W, Abrahamsen A (2002) Connectionism and the Mind: Parallel Processing, Dynamics, and Evolution in Networks. Wiley-Blackwell.
- 20.
Kremer SC (2006) Spatiotemporal Connectionist Networks: A Taxonomy and Review. 13. : 249–306. Available: http://www.mitpressjournals.org/doi/abs/10.1162/089976601300014538.
- 21.
Sun R, Alexandre F, editors. (1997) Connectionist-Symbolic Integration: From Unified to Hybrid Approaches. Psychology Press.
- 22.
Carpenter GA, Grossberg S (2003) Adaptive resonance theory. In: Arbib M, editor. The handbook of brain theory and neural networks. Cambridge: The MIT Press. pp. 87–90.
- 23. Kremer SC (1995) On the computational power of Elman-style recurrent networks. IEEE T Neural Networ 6: 1000–4.
- 24.
Kolen JF, Kremer SC, editors. (2001) A Field Guide to Dynamical Recurrent Networks. Wiley-IEEE Press.
- 25. Maass W, Natschlager T, Markram H (2002) Real-time computing without stable states: A new framework for neural computation based on perturbations. Neural Comput 14: 2531–2560. Available: http://www.mitpressjournals.org/doi/abs/10.1162/089976602760407955.
- 26. Perdikis D, Huys R, Jirsa V (2011) Complex Processes from Dynamical Architectures with Time-Scale Hierarchy. PLoS ONE 6: Available: http://dx.plos.org/10.1371/journal.pone.0016589.
- 27. Grossberg S (1980) Biological Competition: Decision Rules, Pattern Formation, and Oscillations. Proc Natl Acad Sci U S A 77: 2338–2342. Available: http://www.pnas.org/cgi/content/abstract/77/4/2338.
- 28.
Haken H (2004) Synergetic computers and cognition: A top-down approach to neural nets. Springer Verlag.
- 29. Song J-H, Nakayama K (2009) Hidden cognitive states revealed in choice reaching tasks. Trends Cogn Sci 13: 360–366.
- 30.
Kelso JAS (1995) Dynamic Patterns: The Self-Organization of Brain and Behavior. The MIT Press.
- 31.
Kelso JAS, Jirsa VK, editors. (2004) Coordination dynamics: issues and trends. Berlin, Heidelberg: Springer-Verlag.
- 32.
Haken H (1983) Synergetics. An Introduction:Nonequilibrium Phase Transitions and Self Organization in Physics, Chemistry and Biology. Springer.
- 33.
Ditzinger T, Haken H (1989) Oscillations in the perception of ambiguous patterns a model based on synergetics. Biological Cybernetics. 61. Available: http://www.springerlink.com/content/nk2276642u7u8086/.
- 34. Ditzinger T, Haken H (1990) The impact of fluctuations on the recognition of ambiguous patterns. Biol Cybern 63: 453–456. Available: http://www.springerlink.com/content/w461231618728272/.
- 35. Haken H, Kelso JAS, Bunz H (1985) A theoretical model of phase transitions in human hand movements. Biol Cybern 51: 347–356. Available: http://www.springerlink.com/index/P41423752378G6G5.pdf.
- 36. Kelso J (1984) Phase transitions and critical behavior in human bimanual coordination. Am J Physiol 246: R1000–R1004.
- 37. Jirsa VK, Fuchs A, Kelso JAS (1998) Connecting cortical and behavioral dynamics: bimanual coordination. Neural Comput 10: Available: http://www.mitpressjournals.org/doi/abs/10.1162/089976698300016954.
- 38. Wallenstein G, Kelso J, Bressler SL (1995) Phase transitions in spatiotemporal patterns of brain activity and behavior Physica D 84: 626–634. Available: http://dx.doi.org/10.1016/0167-2789(95)00056-A.
- 39. Tognoli E, Lagarde J, DeGuzman GC, Kelso JAS (2007) The phi complex as a neuromarker of human social coordination. Proc Natl Acad Sci U S A 104: 8190–5. Available: http://www.pnas.org/cgi/content/abstract/104/19/8190.
- 40.
Zanone P-G, Kelso JAS (1994) The coordination dynamics of learning: Theoretical structure and experimental agenda. In: Swinnen S, Heuer H, Massion J, Casaer P, editors. Interlimb Coordination: Neural Dynamical and Cognitive Constraints. San Diego: Academic Press. pp. 461–490.
- 41.
Pillai AS (2008) Structured flows on manifolds: Distributed functional architectures Boca Raton. FL: Florida Atlantic University.
- 42. Jirsa V, Mersmann J (2009) Neuronal network structure and method to operate a neuronal network structure. International Patent Application: WO 2009/037526 A1.
- 43.
Strogatz SH (2001) Nonlinear Dynamics And Chaos: With Applications To Physics, Biology, Chemistry, And Engineering (Studies in Nonlinearity). Westview Press.
- 44.
Petitot J (1995) Morphodynamics and attractor syntax: constituency in visual perception and cognitive grammar. In: Port RF, van TGelde, editors. Mind as motion: explorations in the dynamics of cognition. The MIT Press. pp. 227–281.
- 45. Jirsa VK, Kelso JAS (2005) The excitator as a minimal model for the coordination dynamics of discrete and rhythmic movement generation. J Motor Behav 37: 35–51.
- 46. Fink PW, Kelso JAS, Jirsa VK (2009) Perturbation-induced false starts as a test of the Jirsa-Kelso Excitator model. J Motor Behav 41: 147–157.
- 47. Huys R, Fernandez L, Bootsma RJ, Jirsa VK (2010) Fitts' law is not continuous in reciprocal aiming. Proc R Soc B 277: 1179–1184.
- 48. Huys R, Studenka BE, Rheaume NL, Zelaznik HN, Jirsa VK (2008) Distinct timing mechanisms produce discrete and continuous movements. PloS Comput Biol 4: e1000061. doi:ARTN e1000061: DOI 10.1371/journal.pcbi.1000061.
- 49. Kiebel SJ, Daunizeau J, Friston KJ (2008) A hierarchy of time-scales and the brain. PLoS Comput Bioldoi 4: e1000209.
- 50. Kiebel SJ, Daunizeau J, Friston KJ (2009) Perception and hierarchical dynamics. FNINF 3: Available: http://www.ncbi.nlm.nih.gov/pmc/articles/PMC2718783/.
- 51. Kiebel SJ, von KriegsteinK, Daunizeau J, Friston KJ (2009) Recognizing sequences of sequences. PLoS Comput Biol 5: e1000464. Available: http://dx.plos.org/10.1371/journal.pcbi.1000464.
- 52. Rabinovich MI, Huerta R (2008) Transient cognitive dynamics, metastability, and decision making. PLoS Comput Biol 4: Available: http://dx.plos.org/10.1371/journal.pcbi.1000072.
- 53. Rabinovich MI, Muezzinoglu MK, Strigo I, Bystritsky A (2010) Dynamical principles of emotion-cognition interaction: mathematical images of mental disorders. PLoS ONE 5: Available: http://dx.plos.org/10.1371/journal.pone.0012547.
- 54. Sternberg S, Monsell S, Knoll RL, Wright CE (1978) The latency and duration of rapid movement sequences: Comparisons of speech and typewriting. Information processing in motor control and learning 117–152. Available: http://www.psych.upenn.edu/~saul/lat.dur.pdf.
- 55. Rhodes BJ, Bullock D, Verwey WB, Averbeck BB, Page M (2004) Learning and production of movement sequences: behavioral, neurophysiological, and modeling perspectives. Hum Movement Sci 23: 699–746.
- 56.
Van Galen GP, Meulenbroek R, Hylkema H (1986) On the simultaneous processing of words, letters and strokes in handwriting: evidence for a mixed linear and parallel model. Graphonomics: Contemporary research in handwriting. pp. 5–20.
- 57. van GalenG (1991) Handwriting: Issues for a psychomotor theory. Hum Movement Sci 10: 165–191. vailable: http://dx.doi.org/10.1016/0167-9457(91)90003-G.
- 58.
Teulings H-L, Thomassen AJWM, J MF (1989) A description of handwriting in terms of main axes. In: Plamondon R, Suen CY, L SM, editors. Computer recognition and human production of handwriting. Singapore: World Scientific Publishing. pp. 193–211.
- 59. Thomassen AJWM, Meulenbroek RGJ (1998) Low-frequency periodicity in the coordination of progressive handwriting. Acta Psychol 100: 133–144. Available: http://dx.doi.org/10.1016/S0001-6918(98)00030-4.
- 60. Grossberg S (1978) A theory of human memory: Self-organization and performance of sensory-motor codes, maps, and plans. Prog T Biol 5: 233–374.
- 61.
Houghton G (1990) The problem of serial order: A neural network model of sequence learning and recall. Current research in natural language generation. Academic Press Professional, Inc. pp. 287–319.
- 62. Page MPA, Norris D (1998) The primacy model: A new model of immediate serial recall. Psychol Rev 105: 761–781.
- 63.
Bullock D, Rhodes BJ (2003) Competitive queuing for planning and serial performance. In: Arbib M, editor. Handbook of brain theory and neural networks. Cambridge, MA: The MIT Press. pp. 241–244.
- 64. Bullock D, Grossberg S, Mannes C (1993) A neural-network model for cursive script production. 70: 15–28.
- 65. Wolpert DM, Ghahramani Z, Flanagan JR (2001) Perspectives and problems in motor learning Trends Cogn Sci 5: 487–494. Available: http://www.ncbi.nlm.nih.gov/pubmed/11684481.
- 66. Wolpert DM, Doya K, Kawato M (2003) A unifying computational framework for motor control and social interaction. Philos Trans R Soc B 358: 593–602.
- 67. Kandel S, Alvarez CJ, Vallée N (2006) Syllables as processing units in handwriting production. J Exp Psychol Human 32: 18–31. Available: http://dx.doi.org/10.1037/0096-1523.32.1.18.
- 68. Kandel S, Hérault L, Grosjacques G, Lambert E, Fayol MOrthographic vs. phonologic syllables in handwriting production. Cognition 110: 440–4. Available: http://dx.doi.org/10.1016/j.cognition.2008.12.001.
- 69. Lambert E, Kandel S, Fayol M, Espéret E (2007) The effect of the number of syllables on handwriting production. Read Writ 21: 859–883. Available: http://www.springerlink.com/content/07k207945717x833/.
- 70. Kandel S, Soler O, Valdois S, Gros C (2006) Graphemes as Motor Units in the Acquisition of Writing Skills. Read Wri 19: 313–337. Available: http://www.springerlink.com/content/e59x204xp14u4842/.
- 71. Tainturier M, Rapp B (2004) Complex graphemes as functional spelling units: Evidence from acquired dysgraphia. Neurocase 10: 122–131.
- 72. Teulings H-L, Thomassen AJWM, Galen GP van (1983) Preparation of partly precued handwriting movements: The size of movement units in handwriting. Acta Psychol 54: 165–177. Available: http://dx.doi.org/10.1016/0001-6918(83)90031-8.
- 73. Hulstijn W, van GalenGP (1983) Programming in handwriting: Reaction time and movement time as a function of sequence length. Acta Psychol 54: 23–49. Available: http://dx.doi.org/10.1016/0001-6918(83)90021-5.
- 74.
Teulings H, Mullins P, Stelmach G (1986) The elementary units of programming in handwriting. Graphonomics: contemporary research in handwriting. Elsevier Science Ltd. pp. 21–32.
- 75. Woodman M, Perdikis D, Pillai AS, Dodel S, Huys R, et al. (2011) Building neurocognitive networks with a distributed functional architecture. Adv Exp Med Biol 718: 101–9. Available: http://www.springerlink.com/content/m1070j7t70221331/.
- 76.
Jirsa VK, Huys AS, Pillai R, Perdikis D, Woodman M Connectivity and dynamics of neural information processing. In: Rabinovich MI, editor.
- 77.
Guckenheimer J, Holmes P (2002) Nonlinear oscillations, dynamical systems, and bifurcations of vector fields. New York, NY: Springer-Verlag.
- 78.
Constantin P, Foias C, Nicolaenko B, Teman R (1989) Intergral manifolds and inertial manifolds for dissipative partial differential equations. New York, NY: Springer-Verlag.
- 79.
Hairer E, Nørsett S, Wanner G (1993) Solving Ordinary Differential Equations I: Nonstiff problems.2nd ed. Berlin: Springer-Verlag.
- 80.
GNU Scientific Library (n.d.). Available: http://www.gnu.org/software/gsl/.
- 81. Viviani P, Schneider R (1991) A developmental study of the relationship between geometry and kinematics in drawing movements. J Exp Psychol 17: 198–218.
- 82. van MourikAM, Daffertshofer A, Beek PJ (2006) Estimating Kramers–Moyal coefficients in short and non-stationary data sets. Phys Lett A 351: 13–17. Available: http://dx.doi.org/10.1016/j.physleta.2005.10.066.
- 83.
Daffertshofer A (2010) Benefits and Pitfalls in Analyzing Noise in Dynamical Systems – On Stochastic Differential Equations and System Identification. In: Huys R, Jirsa VK, editors. Nonlinear Dynamics in Human Behavior. Berlin Heidelberg: Springer-Verlag. pp. 35–68.
- 84. Ashwin P, Field M, Rucklidge AM, Sturman R (2003) Phase resetting effects for robust cycles between chaotic sets. Chaos 13: 973–81. Available: http://www.ncbi.nlm.nih.gov/pubmed/12946190.
- 85. Ashwin P, Orosz G, Wordsworth J, Townley S (2007) Dynamics on Networks of Cluster States for Globally Coupled Phase Oscillators. SIAM J Appl Dyn Syst 6: 728. Available: http://link.aip.org/link/SJADAY/v6/i4/p728/s1&Agg=doi.
- 86.
Freeman WJ (2001) How Brains Make Up Their Minds. Columbia University Press.
- 87. Kozma R, Freeman WJ (2009) The KIV model of intentional dynamics and decision making. Neural Networks 22: 277–285.
- 88. Friston K (2008) Hierarchical models in the brain. PLoS Comput Biol 4: Available: http://dx.plos.org/10.1371/journal.pcbi.1000211.
- 89. Friston KJ, Daunizeau J, Kilner J, Kiebel SJ (2010) Action and behavior: a free-energy formulation. Biol Cybern 102: 227–60. Available: http://www.ncbi.nlm.nih.gov/pubmed/20148260.
- 90. Friston KThe free-energy principle: a unified brain theory? Nat Rev Neurosci 11: 127–38. Available: http://dx.doi.org/10.1038/nrn2787.
- 91. Verwey W (2001) Concatenating familiar movement sequences: the versatile cognitive processor. Acta Psychol 106: 69–95. Available: http://dx.doi.org/10.1016/S0001-6918(00)00027-5.
- 92. Verwey WB, Abrahamse EL, de KleineE (2010) Cognitive processing in new and practiced discrete keying sequences. FPSYG 2: Available: http://www.frontiersin.org/Journal/Abstract.aspx?f=69&name=psychology&ART_DOI=10.3389/fpsyg.2010.00032.
- 93.
Thomassen AJWM, Schomaker LRB (1986) Between-letter Context Effects in Handwriting Trajectories. In: Kao HSR, van GalenGP, Hoosain R, editors. Graphonomics: Contemporary research in handwriting. Amsterdam: North Holland. pp. 253–272.
- 94.
Rhodes BJ, Bullock D (2010) Neural dynamics of learning and performance of fixed sequences: Latency pattern reorganizations and the N-STREAMS model. Boston, MA.
- 95. Huerta R, Rabinovich MI (2004) Reproducible sequence generation in random neural ensembles. Phys Rev Lett 93: 238104–4.
- 96. Rabinovich MI, Varona P, Selverston AI, Abarbanel HDI (2006) Dynamical principles in neuroscience. Rev Mod Phys 78: 1213–1265.
- 97.
Ijspeert AJ (2008) Central pattern generators for locomotion control in animals and robots: a review. Neural Netw. 21. : 642–53. Available: http://dx.doi.org/10.1016/j.neunet.2008.03.014.
- 98. Palva JM, Palva S, Kaila K (2005) Phase synchrony among neuronal oscillations in the human cortex. J Neurosci 25: 3962–3972.
- 99. Huys R, Studenka BE, Zelaznik HN, Jirsa VK (2010) Distinct timing mechanisms are implicated in distinct circle drawing tasks. Neurosci Lett 472: 24–28.
- 100. Wing AM, Kristofferson AB (1973) The timing of interresponse intervals. Percept Psycho 13: 455–460.
- 101. Wing AM, Kristofferson AB (1973) Response delays and the timing of discrete motor responses. Percept Psycho 14: 5–12.
- 102. Coull JT, Nobre AC (2008) Dissociating explicit timing from temporal expectation with fMRI. Curr Opin Neurobiol 18: 137–144.
- 103. Ivry RB, Spencer RMC, Zelaznik HN, Diedrichsen J (2002) The cerebellum and event timing. Annals NY Acad Sci 978: 302–317.
- 104. Spencer RMC, Zelaznik HN, Diedrichsen J, Ivry RB (2003) Disrupted timing of discontinuous but not continuous movements by cerebellar lesions. Science 300: 1437–1439.
- 105. Ivry RB, Spencer RMC (2004) The neural representation of time. Curr Opin Neurobiol 14: 225–232.
- 106. Ashby R, Conant R (1970) Every good regulator of a system must be a model of that system. Int J Syst Sci 1: 89–97.
- 107.
Huys R, L S, M B, VK J (2010) Movement and brain dynamics: a dynamic isomorphism? 11th European Workshop on Ecological Psychology.
- 108. Jirsa VK, Friedrich R, Haken H, Kelso JAS (1994) A theoretical model of phase transitions in the human brain. Biol Cybern 71: 27–35. Available: http://www.springerlink.com/content/t145816076445217/.
- 109. Fuchs A, Jirsa VK, Kelso JAS (2000) Theory of the relation between human brain activity (MEG) and hand movements. Neuroimage 11: 359–69. Available: http://dx.doi.org/10.1006/nimg.1999.0532.
- 110. Bressler SL, Kelso JAS (2011) Cortical coordination dynamics and cognition. Trends Cogn Sci 5: 26–36. Available: http://dx.doi.org/10.1016/S1364-6613(00)01564-3.
- 111. Kelso JAS, Fuchs A, Lancaster R, Cheyne D, Weinberg H (1998) Dynamic cortical activity in the human brain reveals motor equivalence. Nature 392: 814–818.
- 112. Bach-y-Rita P, Kercel SW (2003) Sensory substitution and the human–machine interface. Trends Cogn Sci 7: 541–546. Available: http://dx.doi.org/10.1016/j.tics.2003.10.013.
- 113. Amedi A, Stern WM, Camprodon JA, Bermpohl F, Merabet L, et al. (2007) Shape conveyed by visual-to-auditory sensory substitution activates the lateral occipital complex. Nat Neurosci 10: 687–9. Available: http://dx.doi.org/10.1038/nn1912.
- 114.
Lakoff G (1987) Women, fire, and dangerous things: What categories reveal about the mind. Chicago, IL: University of Chicago Press.
- 115.
Thom R (1994) Structural Stability And Morphogenesis (Advanced Books Classics). Westview Press.
- 116. Jacobs D, Silva P, Calvo J (2009) An Empirical Illustration and Formalization of the Theory of Direct Learning: The Muscle-Based Perception of Kinetic Properties. Ecol Psychol 21: 245–289.
- 117. Paine RW, Tani J (2005) How Hierarchical Control Self-organizes in Artificial Adaptive Systems. Adapt Behav 13: 211–225. Available: http://adb.sagepub.com/cgi/content/abstract/13/3/211.
- 118.
Yamashita Y, Tani J (2008) Emergence of functional hierarchy in a multiple timescale neural network model: a humanoid robot experiment. PLoS Comput Biol. 4. e1000220 p. Available: http://dx.plos.org/10.1371/journal.pcbi.1000220.
- 119.
Sarpeshkar R (2010) Ultra Low Power Bioelectronics: Fundamentals, Biomedical Applications, and Bio-Inspired Systems. Cambridge University Press.