Next Article in Journal
Topological Properties and Entropy Calculations of Aluminophosphates
Next Article in Special Issue
Robust Evaluation and Comparison of EEG Source Localization Algorithms for Accurate Reconstruction of Deep Cortical Activity
Previous Article in Journal
An Outer Approximation Method for Scheduling Elective Surgeries with Sequence Dependent Setup Times to Multiple Operating Rooms
Previous Article in Special Issue
Synchronization Analysis of Linearly Coupled Systems with Signal-Dependent Noises
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Connectome-Based Digital Twin Caenorhabditis elegans Capable of Intelligent Sensorimotor Behavior

1
School of Computer Science, Fudan University, Shanghai 200438, China
2
Shanghai Artificial Intelligence Laboratory, Shanghai 200232, China
3
Research Institute of Intelligent and Complex Systems, Fudan University, Shanghai 200433, China
4
State Key Laboratory of Medical Neurobiology, Fudan University, Shanghai 200433, China
5
MOE Frontiers Center for Brain Science, Fudan University, Shanghai 200433, China
*
Author to whom correspondence should be addressed.
Mathematics 2023, 11(11), 2442; https://doi.org/10.3390/math11112442
Submission received: 23 April 2023 / Revised: 19 May 2023 / Accepted: 23 May 2023 / Published: 25 May 2023
(This article belongs to the Special Issue Mathematical and Computational Neuroscience)

Abstract

:
Despite possessing a simple nervous system, the Caenorhabditis elegans exhibits remarkably intelligent behavior. However, the underlying mechanisms involved in sensory processing and decision making, which contribute to locomotion behaviors, remain unclear. In order to investigate the coordinated function of neurons in achieving chemotaxis behavior, we have developed a digital twin of the C. elegans that combines a connectome-based neural network model with a realistic digital worm body. Through training the digital worm using offline chemotaxis behavioral data generated with a PID controller, we have successfully replicated faithful sinusoidal crawling and intelligent chemotaxis behavior, similar to real worms. By ablating individual neurons, we have examined their roles in modulating or contributing to the regulation of behavior. Our findings highlight the critical involvement of 119 neurons in sinusoidal crawling, including B-type, A-type, D-type, and PDB motor neurons, as well as AVB and AVA interneurons, which was experimentally demonstrated. We have also predicted the involvement of DD04 and DD05 neurons and the lack of relevance of DD02 and DD03 neurons in crawling, which have been confirmed through experimentation. Additionally, head motor neurons, sublateral motor neurons, layer 1 interneurons, and layer 1 and layer 5 sensory neurons are expected to play a role in crawling. In summary, we present a novel methodological framework that enables the establishment of an animal model capable of closed-loop control, faithfully replicating realistic animal behavior. This framework holds potential for examining the neural mechanisms of behaviors in other species.
MSC:
37M05; 70Q05; 92B20

1. Introduction

The Caenorhabditis elegans (C. elegans) nematode is an excellent model organism for studying neural mechanisms due to its compact nervous system and diverse range of behavior. Despite having only 302 neurons, the C. elegans can adapt to different environmental stimuli for survival and reproduction [1], exhibiting behaviors such as chemotaxis [2], thermotaxis [3], escape responses [4], mating [5], and learning [6,7]. Its stereotyped behavior and fully mapped connectome [8,9] make it ideal for investigating the neural mechanisms of perception, decision making, and intelligent behavioral control using both experimental and computational approaches.
Previous computational studies have focused on modeling the circuit network of the C. elegans to simulate certain behaviors, particularly motion behavior in the OpenWorm project [10,11] and other studies [12,13]. Some of these studies have explored certain sensory–motion mechanisms, such as gait adaptation [14] and the touch response circuit with corresponding tap withdrawal behavior [15]. However, these studies have mainly focused on basic sensory and locomotion behavior and less on the sensory–decision–motor closed-loop control of body behavior in response to environmental stimuli, such as chemotaxis [16], thermotaxis [3], and phototaxis [17].
In particular, the C. elegans exhibits chemotaxis behavior in response to various volatile and water-soluble cues, such as NaCl, as it seeks attractants and avoids repellents in its surrounding environment [2], which demonstrates its sensorimotor intelligence. The chemotaxis behavior of the worm involves two mechanisms known as pirouette and weathervane mechanisms [16,18]. During its crawling motion, the worm undergoes long runs interspersed with occasional pirouettes. The weathervane mechanism predominates during the long runs, gradually guiding the worm towards regions with higher concentrations [18]. However, when encountering a steep decrease in concentration, the worm increases the frequency of pirouettes, leading to significant changes in its movement direction [16]. Despite extensive research on the chemotaxis behavior and chemosensory circuitry of the C. elegans [19,20,21], previous studies have primarily focused on modeling the worm’s chemosensory circuit and the processing of chemical signals [22,23,24,25] with limited emphasis on behavioral experiments and analysis.
Furthermore, although previous studies have simulated locomotion behavior, they typically employ virtual C. elegans body and physics dynamics using open-loop control [13,14,25]. This approach does not accurately represent the neural network’s adaptation in response to proprioceptive feedback and external stimuli. Furthermore, while the OpenWorm project [10] has released a highly detailed biophysical model of the C. elegans [26] based on the Sibernetic physics engine [27], its slow rendering and limited adaptability make it difficult to use for simulating other behavioral tasks. Developing a biophysical model of the C. elegans body and its surrounding environment remains a challenge, as it necessitates both biological realism to accurately replicate C. elegans behavior and high computational efficiency for rapid interaction with the neural controller.
To address these challenges, we draw inspiration from the OpenWorm project [10,28] and Zador et al. [29] to build an in silico model of the C. elegans for closed-loop chemotaxis behavioral simulation. Our goal is to examine the role of C. elegans neurons in behavioral modulation and the underlying neural mechanisms. The proposed model integrates a connectome-based C. elegans neural network and a realistic virtual worm body, creating an autonomous digital twin C. elegans that allows for grounded study of its embodied intelligence. Modeling digital twin organisms successfully can bridge the fields of neuroscience and artificial intelligence, leading to brain-inspired artificial agents with higher capabilities and greater robustness.

2. Materials and Methods

2.1. Digital C. elegans Body

We developed a digital model of the C. elegans in MuJoCo [30], which is illustrated in Figure 1. The digital worm closely resembles the shape and muscle arrangement of a real worm, as shown in Figure A1. It is vermiform and bilaterally symmetrical, with a length of 1 mm and a radius of 0.04 mm. It is composed of 25 segments connected via 24 joints, and its posture and behavior are determined by the rotation of its joints. Therefore, the angles q ( t ) of its 24 joints define its posture and are provided by the physics engine, as depicted in Figure 1b. Furthermore, these joint angles serve as proprioceptive information for the worm.
The digital worm body is actuated by 95 body wall muscles, which are arranged in four quadrants: dorsal left (DL), dorsal right (DR), ventral left (VL), and ventral right (VR), as shown in Figure 1c. Each of the 24 joints is controlled by 4 corresponding muscles, 1 in each quadrant, except for the last joint, which is actuated by 3 muscles due to the absence of its VL muscle [8,31]. Thus, there are 24 muscles in the DL, DR, and VR quadrants but only 23 in the VL quadrant. The worm’s motion is limited to the dorsal–ventral plane and is updated every 0.04 s.
MuJoCo offers cutting-edge physics simulation capabilities [30], allowing us to recreate the interactive dynamics between the C.elegans and its realistic crawling environment in a laboratory setting by adjusting the environmental parameters. By using appropriate control signals, the digital C. elegans body can replicate the nematode’s natural locomotion behavior, such as forward movement, shallow turns, gradual turns, and omega turns, in real-time [32].

2.2. Virtual Chemotaxis Environment and the Chemotaxis Task

Radial gradients of attractant sodium chloride (NaCl) are commonly used in biological experiments to study the chemotaxis behavior of the C. elegans [16,33]. The concentration of the attractant follows the solution of the diffusion equation [34,35], resulting in a radial Gaussian distribution. In our virtual environment for studying chemotaxis behavior of the digital C. elegans, we also use a radial Gaussian distribution of attractant NaCl, as depicted in Figure 2. The concentration distribution in the environment is given by the following:
C ( r ) = exp ( r 2 2 σ 2 )
where r (mm) is the distance from the center ( 0 , 0 ) and σ = 2 . The concentration is constant over time and has a range from the highest at the center ( C ( r = 0 ) = 1 ) to the lowest at the edge ( C ( r = ) = 0 ).
The digital worm’s goal in the chemotaxis task is to navigate towards the center and remain in a region with a high concentration, based on the chemical gradient information detected at its front tip. The performance of the digital worm’s chemotaxis behavior can be quantified using the chemotaxis index [16,36], which is defined as follows:
I C = 1 T t = 1 T C ( r ( t ) ) C ( r = 0 )
where T (steps) is the duration of the simulation, and r ( t ) (mm) is the distance from the center ( 0 , 0 ) at time t. It ranges from 0 to 1, with a higher value indicating better chemotaxis performance. Thus, the objective of the digital worm in the chemotaxis task is to achieve the highest possible chemotaxis index within a given time frame.

2.3. C. elegans Neural Network Model

Figure 3 shows the structure of the C. elegans neural network (CENN) model, which is based on the adult hermaphrodite connectome of C. elegans [8]. The model consists of 469 nodes, including 329 neurons, 95 body wall muscles, 21 end organs, and 24 sex-specific motor neurons and muscles. It also includes 4869 chemical connections and 1433 electrical connections.

2.3.1. Nodes

To simplify the modeling process, all nodes in the model are assumed to be homologous, and a single-compartment membrane equation is used to model the membrane potential V i of node i [37], which is given by the following:
C i d V i ( t ) d t = G i ( V i ( t ) V i l e a k ) + I i s y n ( t ) + I i g a p ( t ) + I i p r o p ( t ) + I i c h e m ( t ) , i = 1 , 2 , , N
where τ i is the time constant, V i l e a k is the leakage potential, I i ( t ) is input current, and N = 469 is the number of nodes.
The ordinary differential equation (ODE) of V i ( t ) shown in Equation (3) can adopt an explicit form using the Euler method [38] as follows:
V i ( t + Δ t ) = ( 1 Δ t τ i ) V i ( t ) + Δ t τ i [ V i l e a k + 1 G i ( I i s y n ( t ) + I i g a p ( t ) + I i p r o p ( t ) + I i c h e m ( t ) ) ]
After updating V i ( t ) at each time step with Equation (4), it is further limited to a range using a version of the sigmoid function S ( x ) , given by the following:
S ( V i ( t ) ) = ( b a ) 1 1 + exp ( V i ( t ) ( a + b ) / 2 b a ) + a
where a = 80 mV and b = 35 mV. As a result, its value is further constrained within a reasonable range of S ( V i ( t ) ) ( 80 , 35 ) mV.
Since the majority of the neurons in the C. elegans do not exhibit spiking behavior [1,31], the activation y i ( t ) of node i is determined by a sigmoid function [37,39,40] as follows:
y i ( t ) = 1 1 + exp ( β ( V i ( t ) V t h ) )
where β = 0.375 mV 1 and V t h = 24 mV as Kunert et al. [39] suggests. In addition, the activations of the 95 muscle nodes are used as action signals for actuating the digital worm body.

2.3.2. Chemical Connections and Electrical Connections

As stated in Equation (3), the input currents to node i at time t include the chemical connection input I i s y n and electrical connection input I i g a p ( t ) , given, respectively, by the following:
I i s y n ( t ) = j = 1 N ( E i j V i ( t ) ) w i j y j ( t ) / N i s y n
I i g a p ( t ) = j = 1 N ( V j ( t ) V i ( t ) ) g i j / N i g a p
where w i j and E i j are the weight and reversal potential of the chemical connection from nodes j to i, respectively, g i j is the weight of the electrical connection between nodes i and j, N i s y n is the indegree of chemical connections, and N i g a p is the degree of electrical connections.
The connection matrices of chemical and electrical connections are defined based on the connectome of the adult hermaphrodite C. elegans [8]. If there is no chemical connection from nodes j to i, w i j = 0 . Similarly, if there is no electrical connection between nodes i and j, g i j = 0 . The weight matrix of electrical connection is symmetric; therefore, g i j = g j i .
Furthermore, the polarity of a chemical connection is determined by the type of neurotransmitter released by the presynaptic neuron and the type of receptor expressed by the postsynaptic neuron [41]. The polarity of some of the chemical connections in the C. elegans has already been elucidated [42]. Out of the 4869 chemical connections, 1141 are excitatory and 404 are inhibitory [42]. The reversal potentials of the excitatory and inhibitory chemical connections are set as E i j + = 5 mV and E i j = 50 mV, respectively.

2.3.3. Proprioceptive Feedback

Proprioceptive feedback is essential for closed-loop control in behavioral simulation, as it allows the neural network to continuously modulate its behavior. Previous studies have shown that B-type and A-type motor neurons are responsible for transducing proprioceptive feedback during undulatory locomotion [43,44,45]. Specifically, the bending of a body region during forward locomotion requires the anterior ∼0.2 mm region to bend and directly activates B-type motor neurons [43]. However, these motor neurons only control the muscles in the body region (DL08-24, DR08-24, VL08-23, VR08-24), leaving the mechanism of proprioceptive feedback for the muscles in the head region (DL01-07, DR01-07, VL01-07, VR01-07) largely unknown. As a result, previous studies simulating sinusoidal locomotion often exclude the head muscles and their related motor neurons [11,12]. In order to achieve closed-loop behavioral simulation using all body wall muscles, proprioceptive feedback must be applied to the motor neurons controlling the head muscles as well. Therefore, we propose that the head motor neurons (HMNs) and sublateral motor neurons (SMNs), which are the upstream motor neurons of the head muscles, also receive proprioceptive feedback.
The CENN model incorporates proprioceptive feedback into B-type (DB01-07, VB01-11) and A-type (DA01-09, VA01-12) motor neurons from their anterior and posterior regions, respectively, extending over 5 joints, as shown in Figure 4a. Furthermore, head motor neurons and sublateral motor neurons receive proprioceptive feedback from all regions. The connection matrix of proprioceptive feedback is presented in Figure 4b.
In addition to chemical connection input and electrical connection input, specific motor neurons also receive proprioceptive feedback I i p r o p ( t ) , which is given by the following:
I i p r o p ( t ) = k = 1 Q w i k p r o p q k ( t ) / N i p r o p
The weight of the proprioceptive feedback from joint k to node i is given by w i k p r o p . The angle q k ( t ) of joint k serves as the corresponding proprioceptive feedback. The number of proprioceptive feedback connections to node i is denoted by N i p r o p .

2.3.4. Chemosensory Stimuli

The model includes ASEL and ASER chemosensory neurons that detect NaCl, and they receive chemosensory stimuli I i c h e m ( t ) as in the C. elegans. The chemical stimuli to ASEL and ASER are modeled based on their response to NaCl concentration steps and the ON–OFF functional asymmetry between them [46]. Specifically, they are given by the following:
I A S E L c h e m ( t ) = w A S E L + g ( t ) if g ( t ) > 0 0 otherwise
I A S E R c h e m ( t ) = w A S E R + g ( t ) if g ( t ) > 0 w A S E R g ( t ) otherwise
where g ( t ) = Δ C ( t ) / Δ t is the chemical gradient detected at the head and w A S E L + , w A S E R + , and w A S E R are the positive scales of the incoming chemical stimuli.

2.4. Closed-Loop Simulation of Chemotaxis Behavior with the PID Controller

We propose a closed-loop controller for the digital worm body to realize chemotaxis behavior that is similar to a real worm. To enable the digital worm body to exhibit chemotaxis behavior, the controller must consistently generate suitable action signals for muscle actuation, minimizing the disparity between the digital worm body’s posture and the desired posture. Initially, we establish the desired posture for chemotaxis behavior. Subsequently, we utilize the controller to govern the movements of the digital worm body, facilitating the manifestation of chemotaxis behavior.
Through closed-loop simulation of chemotaxis behavior with the digital worm body, we can establish a baseline of chemotaxis simulation with the digital C. elegans body. Furthermore, by collecting behavior data in chemotaxis simulation, we can build an offline behavior dataset for optimizing the C. elegans neural network model, leading to the realization of a digital twin C. elegans.

2.4.1. Posture of Chemotaxis Behavior

The behavior of the digital C. elegans is determined by the angles of its 24 joints, as depicted in Figure 1b. During crawling locomotion, the desired angle of each joint q ^ i ( t ) can be approximated by a sinusoidal function, as suggested by Soh et al. [25]:
q ^ i ( t ) = q m a x sin ( ω t 2 π ψ ( i 1 ) π ) + κ ( t ) , i = 1 , 2 , , Q
where q m a x is the maximum joint angle, ω is the angular velocity of bending, ψ is determined by the body wavelength, and Q = 24 is the number of joints.
Furthermore, although both mechanisms contribute to chemotaxis navigation, the weathervane mechanism alone is sufficient in producing chemotaxis behavior [18]. For simplicity, this study focuses solely on the weathervane mechanism. Through this mechanism, the worm gradually curves towards higher concentrations by using gradual turns in response to the spatial gradient of the attractant. Therefore, the bias angle κ ( t ) is determined by the weathervane mechanism, which can be described as follows:
κ ( t ) = k w g w ( t )
where g w ( t ) is the chemical gradient perpendicular to the traveling direction at the digital C. elegans’ center of mass and k w = 1 .
Based on the midline skeleton extracted from recordings of a freely moving C. elegans [47,48], we set q m a x = 0.6 , ω = 1.6 π , and ψ = 0.07 to produce sinusoidal movement that closely resembles the movement of C. elegans.

2.4.2. Closed-Loop Control with the PID Controller

To achieve closed-loop control of the digital worm’s behavior, we employ a proportional–integral–derivative (PID) controller to continuously generate the required action signals of muscles y ( t ) , so that the angles of its joints q ( t ) can reach the desired values q ^ ( t ) and form the corresponding posture, as shown in Figure 5. The PID controller minimizes the error of posture e i ( t ) = q ^ i ( t ) q i ( t ) with the control variable u i ( t ) . The equation governing the control variable is:
u i ( t ) = K P , i e i ( t ) + K I τ = 1 t e i ( τ ) Δ τ + K D Δ e i ( t ) Δ t , i = 1 , 2 , , Q
where the coefficients for the proportional, integral, and derivative terms are K P , i = 3.3 0.2 | 12.5 i | , K I = 0 , and K D = 0.15 , respectively. Additionally, the error’s rate of change is defined as Δ e i ( t ) = e i ( t ) e i ( t 1 ) .
However, since the digital C. elegans is actuated by its body wall muscles instead of joint rotors, u i ( t ) cannot be used for actuation directly. Therefore, the action signals of muscles y ( t ) need to be generated by converting u i ( t ) using the following equations:
y D L , i ( t ) = y D R , i ( t ) = min ( 0 , u i ( t ) ) i = 1 , 2 , , Q y V L , i ( t ) = max ( 0 , u i ( t ) ) i = 1 , 2 , , Q 1 y V R , i ( t ) = max ( 0 , u i ( t ) ) i = 1 , 2 , , Q
Thus, y ( t ) can be applied for the actuation of its 95 muscles.
At each time step, the PID controller generates the appropriate action signal y ( t ) based on the current error of posture e i ( t ) . Under the control of the controller, the errors of the digital worm body’s posture are continuously minimized. Therefore, the digital worm body can produce the desired chemotaxis behavior defined by Equation (12). As a result, the closed-loop control of chemotaxis behavior can be achieved with this PID controller.
Furthermore, an offline dataset of behavioral control sequences can be built during the simulation of chemotaxis behavior. This dataset includes proprioceptive feedback q ( t ) , the chemical gradient g ( t ) = Δ C ( t ) / Δ t , and the corresponding action signals of muscles y ( t ) at each time step. The collected dataset can be processed and utilized to optimize the connectome-based C. elegans neural network model, which can then acquire the ability to control chemotaxis behavior.

2.5. Chemotaxis Behavioral Training of the C. elegans Neural Network Model

The CENN model can be trained using machine learning methods on an offline behavioral dataset to enable closed-loop control of chemotaxis behavior. The model is expected to generate appropriate muscle actions y ( t ) based on proprioceptive feedback q ( t ) and the chemical gradient g ( t ) and perform chemotaxis navigation.
By simulating chemotaxis behavior with the PID controller, 6000 sequences of chemotaxis behavioral data are collected, each lasting 136 steps (5.44 s). The digital worm starts at a random position within a radius of 6 mm from the center with a random initial direction in each sequence. Each sequence is divided into 10 overlapping sets of equally sized chunks, each lasting 64 steps (2.56 s) with a stride of 8 steps, which are then used for behavioral training. A detailed explanation of the training and testing procedure for the model is provided in Appendix B.
The model has a set of trainable parameters listed in Table 1, which include neuron parameters, connection parameters, and weights of sensory stimuli. These parameters can be optimized using backpropagation through time (BPTT), a supervised learning method [49]. Since the end-to-end chemotaxis navigation can be viewed as a regression task, the mean square error (MSE) function is adopted as the training and evaluation loss function [12], which is given by the following:
E = 1 T 1 M t = 1 T m = 1 M 1 2 ( y m ( t ) y ^ m ( t ) ) 2
where T is the length of the sequence, y m ( t ) is the activation of the muscles, y ^ m ( t ) is the target action signals, and M = 95 is the number of muscles.

3. Results

3.1. Chemotaxis Simulation with the Digital Twin C. elegans

After undergoing chemotaxis behavioral training, the CENN model is capable of achieving closed-loop chemotaxis behavioral control. Combining the CENN model with the digital C. elegans body allows for the simulation of an autonomous digital twin C. elegans, as explained in Appendix B.2.
The simulation results validate the effectiveness of the training process, as the digital twin of C. elegans autonomously exhibits chemotaxis behavior by crawling towards the target (represented by the green cylinder positioned at the center). This behavior is visually depicted in Figure 6 and can be observed in Video S1, closely resembling the chemotaxis behavior observed in experimental studies of live worms [16,18]. In this trial of chemotaxis simulation, the worm crawls towards the target and travels 9.20 mm in 100 s (Figure 6a). During chemotaxis navigation, the angles of the worm’s 24 joints exhibit a sinusoidal pattern, indicating that the worm crawls with a sinusoidal posture with a cycle of ∼0.64 s, as shown in Figure 6b. These joint angles serve as proprioceptive feedback to the digital C. elegans. The activation of the model’s 95 muscles is used as the action signals for the digital body’s muscle actuators. Each muscle activates periodically every ∼1.28 s, each time lasting ∼0.64 s, followed by ∼0.64 s of resting (Figure 6c). The dorsal and ventral muscles activate in turns to generate dorsal–ventral sinusoidal movement and propel itself forward (Figure 6d). In general, the sinusoidal crawling of the digital C. elegans is in line with the behavior of a natural worm.
The digital C. elegans starts the chemotaxis simulation at ( 4 , 0 ) mm, with an initial concentration of 0.14. The worm gradually steers towards the center by sinusoidal crawling, as shown in Figure 6d. As a result, the concentration along its track gradually increases (Figure 6e), reaching a final chemotaxis index of 0.74, which is similar to the chemotaxis performance of a real worm [16,18]. During chemotaxis navigation, the ASEL neuron activates when the concentration increases, while the ASER neuron activates when the concentration decreases, as shown in Figure 6e–g. This ON–OFF functional asymmetry of ASE neurons is consistent with experiment findings [46].
Furthermore, the results demonstrate that the CENN model can achieve comparable chemotaxis behavior to the PID controller (Figure A2). This indicates that the CENN model is able to effectively learn chemotaxis behavior through optimization with offline behavioral data generated by the PID controller. Additionally, the comparison further validates the feasibility of our proposed method for digital twin C. elegans simulation. More details regarding the results of the chemotaxis simulation with the PID controller can be found in Appendix D.1.

3.2. Behavioral Analysis of the Digital Twin C. elegans

To further validate the chemotaxis performance of the digital twin C. elegans, we conducted behavioral analysis on multiple trials of chemotaxis simulation with random initialization. This analysis aims to verify the robustness and generalization ability of the CENN model in chemotaxis behavior control. The details of the multiple-trial chemotaxis simulation are explained in Appendix C.

3.2.1. Behavioral Performance

To comprehensively evaluate the chemotaxis performance of the digital twin C. elegans in radial gradients, chemotaxis simulation was conducted under several initial position settings, including random initialization and three fixed positions at different distances from the center. The chemotaxis performance of the PID controller was also tested for comparison.
Table 2 presents the average crawling distance and chemotaxis performance of the digital twin C. elegans and the PID controller in different initial position settings. The results quantitatively confirm the ability of the digital C. elegans to perform sinusoidal crawling and chemotaxis navigation. For instance, when the worm starts at ( 4 , 0 ) mm, it travels an average distance of 9.19 mm and achieves an average chemotaxis index of 0.65, which is in line with the crawling speed of a natural worm [1] and its chemotaxis performance [16,18]. Additionally, the performance of the CENN model is comparable to that of the PID controller, further demonstrating the effectiveness of the CENN model in behavioral learning.
Furthermore, Figure 7 displays the two-dimensional density plot of the digital C. elegans’ tracks under different scenarios. In the virtual chemotaxis environment, the worm’s tracks start at random positions and converge at the center (Figure 7a) with an average chemotaxis index of 0.72 ± 0.34 (Table 2). In contrast, the tracks are much less concentrated at the center in an environment without chemical gradients (Figure 7b). In another setting where the worm starts at ( 6 , 0 ) mm in an environment with chemical gradients, the tracks disperse from the starting point and eventually converge at the center (Figure 7c) with an average chemotaxis index of 0.26 ± 0.37 (Table 2). However, the tracks do not converge without chemical gradients (Figure 7d). In summary, the convergence of tracks aligns with the distribution of real worms’ tracks on an assay plate with a similar concentration distribution [16], which further demonstrates the chemotaxis ability of the digital twin C. elegans. Additionally, the density plot of the tracks is similar to the results obtained with the PID controller (Figure A3), verifying that the CENN model has mastered the ability of chemotaxis navigation.

3.2.2. Behavioral Statistics

To conduct a more detailed analysis of the digital C. elegans’ chemotaxis behavior, we define the following variables, following Iino and Yoshida [18]. The curving rate (degree/mm) refers to the change in direction per unit distance of crawling, while the bearing (degree) is the difference between the direction of the center and the direction of the worm’s locomotion. By analyzing these variables based on the worm’s tracks, we can further verify its chemotaxis performance.
In the virtual chemotaxis environment, the statistical analysis of the digital C. elegans’ tracks reveals that the worm makes the largest gradual turn when moving perpendicular to the direction of the center, as illustrated in Figure 8a. However, in an environment without chemical gradients there is no significant correlation between the curving rate and bearing (Figure 8b). Furthermore, Figure 8c demonstrates the positive correlation between the curving rate and chemical gradient in the normal direction, indicating that the gradual turns are biased towards areas with higher concentrations. These results confirm that the digital twin C. elegans exhibits statistical patterns similar to natural worms [18], demonstrating the high biological realism of the chemotaxis simulation.
Overall, the results demonstrate that the CENN model is capable of achieving closed-loop chemotaxis behavioral control. The statistical analysis shows that the CENN model performs comparably to the PID controller and exhibits chemotaxis behavior that closely resembles that of the real C. elegans in both environments with and without chemical gradients, as reported in previous studies [18].

4. Discussion

In this study, we establish a biologically constrained model of a digital twin C. elegans, capable of generating realistic sinusoidal crawling and chemotaxis navigation behavior with its neuronal circuit’s intrinsic sensory–decision–motion closed-loop control mechanism. By performing ablation experiments on each individual neuron of the circuit, the level of behavioral impairment can be measured step-by-step, which allow us to step deeper into the role of each node in behavioral control.

4.1. Behavioral Mechanism of the Digital Twin C. elegans

Building on the success of cell ablation experiments in investigating neuronal function, such as those performed by Schafer [50], similar experiments can be performed in silico on the digital twin C. elegans to study the effect of individual neuron ablation on its behavior. This involves removing all chemical and electrical connections connected to a specific node [39,40]. In other words, if node i is to be ablated, the connectivity of the CENN model is altered as follows:
w i j = w j i = g i j = g j i = 0 , j = 1 , 2 , , N
After performing node ablation, multiple trials of chemotaxis simulation were conducted using the altered model, and the crawling distance and chemotaxis index were measured to assess the impact on the digital C. elegans’ behavior. A larger decrease in crawling distance and chemotaxis index indicates more severe impairments of crawling locomotion and chemotaxis navigation, respectively.
During multiple trials of simulation, the worm started at ( 4 , 0 ) mm with a random initial direction. In this scenario, the average crawling distance ( 9.19 ± 0.73 mm), chemotaxis index ( 0.65 ± 0.35 ), and initial concentration (0.14) were measured as control values (Table 2). These values are used as a baseline for comparison with the results obtained after individual neuron ablation.

4.1.1. Behavioral Mechanism of Sinusoidal Crawling

By conducting ablation experiments on individual nodes of the model, the corresponding average crawling distances were measured. If the average crawling distance is below the overall average (5.81 mm), the node is considered significant for behavioral modulation of sinusoidal crawling. Figure 9 presents the resulting average crawling distances grouped by cell types after ablation.
Firstly, the ablation experiments reveal that, among ventral cord motor neurons, B-type (DB, VB), A-type (DA, VA), and D-type (DD, VD) motor neurons are vital for sinusoidal crawling, as shown in Figure 9b. This finding is consistent with previous experimental studies [43,44,51] and simulation results [11,52]. Notably, although D-type motor neurons (DD, VD) do not receive direct proprioceptive feedback like B-type and A-type motor neurons, they are found to play an important role in modulating the worm’s sinusoidal crawling. Moreover, the ventral cord motor neuron PDB (2.23 mm) is predicted to be essential for crawling, which is supported by experiment findings [52]. Additionally, among the DD motor neurons, DD04 (1.01 mm) and DD05 (1.51 mm) are identified as pivotal for sinusoidal crawling, while DD02 (9.34 mm) and DD03 (8.84 mm) are found to be irrelevant, which is consistent with experiment results [52].
Secondly, the simulation results show that ablating AVBL (0.64 mm), AVBR (0.99 mm), AVAL (1.75 mm), and AVAR (0.95 mm) interneurons all lead to severe impairment of crawling, and they are experimentally proven to be involved in crawling behavior [44,51,53].
Thirdly, the simulation results indicate that head motor neurons (HMNs), sublateral motor neurons (SMNs), and ventral cord motor neurons (VCMNs) all exhibit a significant impact on sinusoidal crawling, with their average results dipping below the overall average (5.81 mm), as shown in Figure 9a. Additionally, layer 1 interneurons (IN1s), layer 1 sensory neurons (SN1s), and layer 5 sensory neurons (SN5s) are also pivotal for crawling, indicating their possible role in processing proprioceptive feedback.
Furthermore, we can identify the subcircuit responsible for sinusoidal crawling by selecting nodes with ablation results lower than the overall average (5.81 mm), as depicted in Figure 9c. This subcircuit comprises 119 neurons, including 69 motor neurons, 22 interneurons, and 28 sensory neurons. Table A2 provides a comprehensive list of these neurons and their respective cell types.

4.1.2. Behavioral Mechanism of Chemotaxis Navigation

Similarly, the chemotaxis index resulting from the ablation of each node is used to assess its significance in chemotaxis navigation. However, if the ablation of a node leads to severe crawling impairment, it indirectly affects its chemotaxis index, making it unreliable for accurately assessing its impact on chemotaxis navigation. Therefore, nodes identified as responsible for sinusoidal crawling are excluded from further analysis.
Nodes with an average chemotaxis index after ablation lower than the overall average (0.43) are pivotal for chemotaxis navigation, as shown in Figure 10 and listed in Table A3. The list includes 40 nodes: 10 sensory neurons, 15 interneurons, and 11 motor neurons. ASEL (0.23) and ASER (0.26) neurons directly receive chemical stimuli, and their ablation significantly affects chemotaxis navigation, as experimentally proven [46]. Among the eight sensory neurons predicted to be significant in chemotaxis navigation, AFD, AWB, IL1, and IL2 are associated with ASE in the amphid [2], suggesting their involvement in ASE sensory processing.

4.2. Limitations

However, certain assumptions and simplifications are made in modeling the digital C. elegans, due to the lack of corresponding experiment findings, which may weaken the result’s validity. Firstly, as the mechanism of proprioceptive feedback in the head region is still unknown, the involvement of head motor neurons and sublateral motor neurons in receiving proprioceptive feedback is assumed. Secondly, all nodes in the C. elegans neural network model are considered homologous and generate graded responses, despite some neurons being found to fire spikes in experiments [54,55,56]. Thirdly, we employ the sinusoidal function (Equation (12)) to simulate crawling locomotion for simplicity, which does not accurately capture the complex dynamics of a real worm. Furthermore, there is a notable difference between simulation result and biological experiment result in Figure 8c, showing the relationship between the curving rate and chemical gradient in the normal direction. This discrepancy is likely due to the oversimplification of the bias angle κ ( t ) (Equation (13)), which lacks biological realism. Therefore, further experiment discoveries are necessary to refine the model and construct a more biologically plausible digital C. elegans to validate the simulation results.
Furthermore, the digital twin C. elegans is optimized with offline behavioral data, which means that certain neurons and their connections that do not participate in sinusoidal crawling and chemotaxis navigation in real worms are not biologically constrained in behavioral training. Consequently, the neurons identified to be essential in behavioral control in this study may include a few neurons that are irrelevant. For instance, even though sex motor neurons are not involved in chemotaxis navigation, the ablation of HSN (0.52) and VC (0.54) still leads to a moderate decrease in the chemotaxis index, as listed in Table A3. To create a more biologically constrained digital twin C. elegans and obtain more conclusive results of node ablation experiments, neuronal calcium imaging data [5,57] can be incorporated into the optimization of the CENN model.

5. Conclusions

This study presents a novel model of the digital twin C. elegans, designed to investigate its neural mechanisms of behavioral modulation. The model seamlessly integrates a connectome-based C. elegans neural network model and a realistic virtual worm body with realistic physics dynamics, allowing for closed-loop behavioral simulation. This integration enables a more comprehensive study of the organism’s behavior and neural mechanisms. The digital twin C. elegans is trained using backpropagation through time on extensive offline data of chemotaxis behavior generated with a PID controller. The simulation results demonstrate the efficacy of this approach, as the model successfully achieves realistic closed-loop control of sinusoidal crawling and chemotaxis behavior.
By conducting node ablation experiments on the digital twin C. elegans, this study identifies 119 pivotal neurons for sinusoidal crawling, including B-type, A-type, D-type, and PDB motor neurons and AVB and AVA interneurons, which have been experimentally proven to be involved. The results correctly predicted the involvement of DD04 and DD05, as well as the irrelevance of DD02 and DD03, in line with experiment findings. Additionally, head motor neurons (HMNs), sublateral motor neurons (SMNs), layer 1 interneurons (LN1s), layer 1 sensory neurons (SN1s), and layer 5 sensory neurons (SN5s) also exhibit significant impact on sinusoidal crawling. Furthermore, 40 nodes are found to be essential for chemotaxis navigation, including 10 sensory neurons, 15 interneurons, and 11 motor neurons, which may be associated with ASE sensory processing and turning behavior. Our findings shed light on the role of neurons in the behavioral modulation of sinusoidal crawling and chemotaxis navigation, which are consistent with experimental results.
This study represents a significant advancement in the field of C. elegans modeling and simulation, providing a promising approach for investigating the neural mechanisms underlying the complex behavior of the C. elegans. The proposed model has the potential to facilitate further research and advance our understanding of this fascinating organism.

Supplementary Materials

The following supporting information can be downloaded at: https://www.mdpi.com/article/10.3390/math11112442/s1, Video S1: The digital twin C. elegans autonomously crawls towards the target (green cylinder).

Author Contributions

Conceptualization, Z.C., Y.Y. and X.X.; methodology, Z.C., Y.Y. and X.X.; software, Z.C.; validation, Z.C., Y.Y. and X.X.; formal analysis, Z.C.; investigation, Z.C.; resources, Y.Y. and X.X.; data curation, Z.C.; writing—original draft preparation, Z.C.; writing—review and editing, Z.C., Y.Y. and X.X.; visualization, Z.C.; supervision, Y.Y. and X.X.; project administration, Y.Y. and X.X.; funding acquisition, Y.Y. and X.X. All authors have read and agreed to the published version of the manuscript.

Funding

This research was funded by the Science and Technology Commission of Shanghai Municipality (22511105000), Science and Technology Innovation 2030—Brain Science and Brain-Inspired Intelligence Project (2021ZD0201301), National Natural Science Foundation of China (U20A20221), Shanghai Municipal Science and Technology Major Project (2018SHZDZX01 and 2021SHZDZX0103), ZJLab, and Shanghai Municipal Science and Technology Committee of Shanghai outstanding academic leaders plan (21XD1400400).

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

The data and code that support the findings of this study are openly available on GitHub at https://github.com/zhongyuchen/digital-twin-c-elegans, accessed on 22 April 2023.

Acknowledgments

We thank Jiangfeng Feng, Zhiyong Shao, and Quan Wen for comments.

Conflicts of Interest

The authors declare no conflict of interest.

Abbreviations

The following abbreviations are used in this manuscript:
DLdorsal left
DRdorsal right
VLventral left
VRventral right
PIDproportional–integral–derivative
CENNC. elegans neural network
BPTTbackpropagation through time
MSEmean square error
SNsensory neuron
INinterneuron
MNmotor neuron
HMNhead motor neuron
SMNsublateral motor neuron
VCMNventral cord motor neuron

Appendix A. Schematic Drawing of C. elegans

The dimensions of the digital C. elegans are in line with that of a real worm, as shown in Figure A1a. Furthermore, its 95 muscles are arranged in 4 quadrants, similar to the arrangement of a real worm’s body wall muscles (Figure A1b,c).
Figure A1. Schematic drawing of C. elegans. (a) The worm is 1 mm in length and 0.08 mm in diameter [1]. (b) The 95 body wall muscles are arranged in four quadrants: DL, DR, VL, and VR [58]. (c) The arrangement of body wall muscles [58]. There are 24 muscles in DL, DR, and VR quadrants and 23 in VL quadrant.
Figure A1. Schematic drawing of C. elegans. (a) The worm is 1 mm in length and 0.08 mm in diameter [1]. (b) The 95 body wall muscles are arranged in four quadrants: DL, DR, VL, and VR [58]. (c) The arrangement of body wall muscles [58]. There are 24 muscles in DL, DR, and VR quadrants and 23 in VL quadrant.
Mathematics 11 02442 g0a1

Appendix B. Training and Testing Procedure of the C. elegans Neural Network Model

Appendix B.1. Training Procedure

After processing the behavioral sequences, we obtained 60,000 chunks of data with the proprioceptive feedback q ( t ) and chemical gradient g ( t ) as input and muscle action y ( t ) as labels. Each chunk lasts for 64 steps (2.56 s). They were split into a training set and a validation set with a ratio of 5:1. The model was trained with the training set and validated with the validation set after each training epoch. The training process stopped when it exceeded the maximum training epochs or when the evaluation threshold was reached. The model with the lowest evaluation loss was selected, and its performance in the chemotaxis task was subsequently tested with the digital C. elegans body. We used Adam [59] as the optimization algorithm. The proposed C. elegans neural network model and algorithm were implemented using PyTorch [60], and the experiments were conducted on four NVIDIA GeForce RTX 3090 GPUs. The detailed hyperparameters of the training are listed in Table A1.
Table A1. Hyperparameters for training the model.
Table A1. Hyperparameters for training the model.
ParameterValueComment
( β 1 , β 2 ) (0.9, 0.999)Adam’s coefficients
λ 0Adam’s weight decay
μ 0.05learning rate
B288batch size
L64 steps (2.56 s)length of training sequence
E500maximum training epochs
e t h 0.0015threshold of evaluation loss

Appendix B.2. Online Testing Procedure

The CENN model we propose can be integrated with the digital C. elegans body to simulate closed-loop behavioral control in the virtual chemotaxis environment. At each step t, the model generates muscle actions y ( t ) based on the proprioceptive feedback q ( t ) received from the physics engine and the chemical gradient g ( t ) from the virtual environment. Therefore, multiple trials of chemotaxis simulations can be conducted to verify the trained model’s ability of sinusoidal crawling and chemotaxis navigation. The details of the embodied chemotaxis simulation are further explained in Appendix C.

Appendix C. Details of Chemotaxis Simulation with the Digital C. elegans Body

To properly validate the chemotaxis performance of the digital C. elegans, it is important to conduct multiple trials of chemotaxis simulations with random initialization. The virtual environment for the chemotaxis task is shown in Figure 2. In each trial, the digital worm started at a random position within a radius of 6 mm from the center, or at a given position, facing a random direction. Each trial lasted 2500 steps, equivalent to 100 s. Behavioral analysis was conducted on 100 trials of chemotaxis simulation. Multiple trials of embodied chemotaxis simulation were necessary for validating the ability of chemotaxis navigation of both the PID controller and the CENN model.
Figure A2. An example trial of chemotaxis simulation with the PID controller lasting 100 s: (a) The worm starts at ( 4 , 0 ) mm and crawls towards the center; (b) The joint angles exhibit sinusoidal pattern with a cycle of ∼1.28 s; (c) The action signals generated by the PID controller for muscle actuation change overtime with a cycle of ∼1.28 s. The dorsal (DL, DR) and ventral (VL, VR) muscles activate in turns with ∼0.64 s of activation and ∼0.64 s of resting to generate dorsal–ventral sinusoidal movement; (d) The evolution of the worm’s posture during a turn, corresponding to the red section of the track; (e) The concentration detected at the worm’ head gradually increases along its track; (f) The chemical gradient detected at the worm’s head and the chemical gradient perpendicular to the traveling direction (normal gradient) detected at the worm’s center of mass along its track.
Figure A2. An example trial of chemotaxis simulation with the PID controller lasting 100 s: (a) The worm starts at ( 4 , 0 ) mm and crawls towards the center; (b) The joint angles exhibit sinusoidal pattern with a cycle of ∼1.28 s; (c) The action signals generated by the PID controller for muscle actuation change overtime with a cycle of ∼1.28 s. The dorsal (DL, DR) and ventral (VL, VR) muscles activate in turns with ∼0.64 s of activation and ∼0.64 s of resting to generate dorsal–ventral sinusoidal movement; (d) The evolution of the worm’s posture during a turn, corresponding to the red section of the track; (e) The concentration detected at the worm’ head gradually increases along its track; (f) The chemical gradient detected at the worm’s head and the chemical gradient perpendicular to the traveling direction (normal gradient) detected at the worm’s center of mass along its track.
Mathematics 11 02442 g0a2

Appendix D. Results of Chemotaxis Simulation with the PID Controller

Appendix D.1. Chemotaxis Simulation

An example trial of chemotaxis simulation with the PID controller is illustrated in Figure A2. In the virtual chemotaxis environment, the worm started at ( 4 , 0 ) mm with a concentration of 0.14. Under the control of the PID controller, it travelled 9.80 mm and gradually curved towards the center with a final chemotaxis index of 0.68, as shown in Figure A2a. The worm successfully produced a sinusoidal crawling posture with appropriate muscle actions (Figure A2b,c). The simulation results also demonstrate that the worm can bias its direction based on the chemical gradient in its normal direction and execute turning actions (Figure A2d–f).

Appendix D.2. Behavioral Analysis of Chemotaxis Simulation

The tracks of the worms controlled by the PID controller are observed to converge at the center from random starting positions (Figure A3a,b). When placed at ( 6 , 0 ) mm, they disperse from the starting point and successfully converge at the center (Figure A3c,d), providing further evidence for the chemotaxis ability of the PID controller.
Figure A3. Two-dimensional density plot of the tracks of the digital worm controlled by the PID controller over 100 trials (each 100 s) in different scenarios: (a) The worm starts at a random position in an environment with chemical gradients, resulting in convergence at the center. The average chemotaxis index is 0.65 ± 0.33 with an average initial concentration of 0.38 ± 0.33 ; (b) The worm starts at a random position in an environment without chemical gradients; (c) The worm starts at ( 6 , 0 ) mm in an environment with chemical gradients, resulting in convergence at the center. The average chemotaxis index is 0.24 ± 0.34 with an initial concentration of 0.01; (d) The worm starts at ( 6 , 0 ) mm in an environment without chemical gradients.
Figure A3. Two-dimensional density plot of the tracks of the digital worm controlled by the PID controller over 100 trials (each 100 s) in different scenarios: (a) The worm starts at a random position in an environment with chemical gradients, resulting in convergence at the center. The average chemotaxis index is 0.65 ± 0.33 with an average initial concentration of 0.38 ± 0.33 ; (b) The worm starts at a random position in an environment without chemical gradients; (c) The worm starts at ( 6 , 0 ) mm in an environment with chemical gradients, resulting in convergence at the center. The average chemotaxis index is 0.24 ± 0.34 with an initial concentration of 0.01; (d) The worm starts at ( 6 , 0 ) mm in an environment without chemical gradients.
Mathematics 11 02442 g0a3

Appendix E. Results of Node Ablation with the Digital Twin C. elegans

The neurons shown in Figure 9c are listed in Table A2. Ablating any of these neurons results in an average crawling distance that falls below the overall average of 5.81 mm. Similarly, the neurons shown in Figure 10b are listed in Table A3. Ablating any of these neurons leads to an average chemotaxis index below the overall average of 0.43.
Table A2. Detailed list of 119 neurons whose ablation results in an average crawling distance that falls below the overall average (5.81 mm).
Table A2. Detailed list of 119 neurons whose ablation results in an average crawling distance that falls below the overall average (5.81 mm).
TypeNot Yet Experimentally ProvenExperimentally Proven
SN6ADFR, ASGR, AWBR
SN5ADLR, ASHR
SN4ALNL, ALNR, PLNL, SDQL
SN3ADEL, ALML, DVA
SN1CEPDL, CEPVL, CEPVR, IL1DR, IL1R, IL1VL, IL1VR, IL2DR, OLLL, OLLR, OLQDL, OLQVR, URYDL, URYDR, URYVL, URYVR
IN3AIAR, AIZR, AVFL, AVHL, AVHR, PVQR, PVR
IN2AVJR, AVKR, RICR, RMGL, SAAVL, SAAVR
IN1AVEL, AVER, RIAR, RIPRAVAL, AVAR, AVBL, AVBR, PVCL
HMNRIVL, RIVR, RMDDL, RMDDR, RMDL, RMDR, RMDVR, RMED, RMEL, RMER, RMEV, RMHR, URADR, URAVL, URAVR
SMNSABD, SABVR, SIAVL, SIBDL, SIBVL, SMBDL, SMBDR, SMBVR, SMDDL, SMDDR, SMDVL, SMDVR
VCMNAS03, AS11DA (DA01, DA02, DA03, DA04, DA07, DA08, DA09), DB (DB01, DB02, DB03, DB05, DB06, DB07), DD (DD01, DD04, DD05, DD06), PDB, VA (VA01, VA02, VA03, VA04, VA05, VA08, VA09, VA11, VA12), VB (VB01, VB02, VB03, VB09, VB10, VB11), VD (VD03, VD07, VD09, VD10, VD11, VD12, VD13)
Table A3. Detailed list of 40 neurons whose ablation results in an average chemotaxis index that falls below the overall average (0.43).
Table A3. Detailed list of 40 neurons whose ablation results in an average chemotaxis index that falls below the overall average (0.43).
TypeNot Yet Experimentally ProvenExperimentally Proven
PharynxI1R
SN6AFDR, AWBLASEL, ASER
SN4SDQR
SN3AVM
SN1IL1L, IL2DL, IL2L, IL2R
IN4AIML, AINL, RIH, RIR
IN3ADAR, AIAL, AUAL, PVPL, RIS
IN2AVJL, DVC, PVT, RIGL, RMGR
IN1RIAL
HMNRMDVL
SMNSIAVR, SIBDR, SIBVR
VCMNAS02, VA06, VA07, VB04, VB07, VD02, VD06
Sex Motor NeuronsHSNR, VC01, VC06

References

  1. Corsi, A.K.; Wightman, B.; Chalfie, M. A transparent window into biology: A primer on Caenorhabditis elegans. Genetics 2015, 200, 387–407. [Google Scholar] [CrossRef] [PubMed]
  2. Bargmann, C.I. Chemosensation in C. elegans. WormBook 2006, 1–29. [Google Scholar] [CrossRef] [PubMed]
  3. Luo, L.; Cook, N.; Venkatachalam, V.; Martinez-Velazquez, L.A.; Zhang, X.; Calvo, A.C.; Hawk, J.; MacInnis, B.L.; Frank, M.; Ng, J.H.R.; et al. Bidirectional thermotaxis in Caenorhabditis elegans is mediated by distinct sensorimotor strategies driven by the AFD thermosensory neurons. Proc. Natl. Acad. Sci. USA 2014, 111, 2776–2781. [Google Scholar] [CrossRef] [PubMed]
  4. Wang, Y.; Zhang, X.; Xin, Q.; Hung, W.; Florman, J.; Huo, J.; Xu, T.; Xie, Y.; Alkema, M.J.; Zhen, M.; et al. Flexible motor sequence generation during stereotyped escape responses. eLife 2020, 9, e56942. [Google Scholar] [CrossRef]
  5. Susoy, V.; Hung, W.; Witvliet, D.; Whitener, J.E.; Wu, M.; Park, C.F.; Graham, B.J.; Zhen, M.; Venkatachalam, V.; Samuel, A.D. Natural sensory context drives diverse brain-wide activity during C. elegans mating. Cell 2021, 184, 5122–5137. [Google Scholar] [CrossRef]
  6. Kunitomo, H.; Sato, H.; Iwata, R.; Satoh, Y.; Ohno, H.; Yamada, K.; Iino, Y. Concentration memory-dependent synaptic plasticity of a taste circuit regulates salt concentration chemotaxis in Caenorhabditis elegans. Nat. Commun. 2013, 4, 2210. [Google Scholar] [CrossRef]
  7. Ha, H.I.; Hendricks, M.; Shen, Y.; Gabel, C.V.; Fang-Yen, C.; Qin, Y.; Colon-Ramos, D.; Shen, K.; Samuel, A.D.; Zhang, Y. Functional organization of a neural network for aversive olfactory learning in Caenorhabditis elegans. Neuron 2010, 68, 1173–1186. [Google Scholar] [CrossRef]
  8. Cook, S.J.; Jarrell, T.A.; Brittin, C.A.; Wang, Y.; Bloniarz, A.E.; Yakovlev, M.A.; Nguyen, K.C.; Tang, L.T.H.; Bayer, E.A.; Duerr, J.S.; et al. Whole-animal connectomes of both Caenorhabditis elegans sexes. Nature 2019, 571, 63–71. [Google Scholar] [CrossRef]
  9. Witvliet, D.; Mulcahy, B.; Mitchell, J.K.; Meirovitch, Y.; Berger, D.R.; Wu, Y.; Liu, Y.; Koh, W.X.; Parvathala, R.; Holmyard, D.; et al. Connectomes across development reveal principles of brain maturation. Nature 2021, 596, 257–261. [Google Scholar] [CrossRef]
  10. Sarma, G.P.; Lee, C.W.; Portegys, T.; Ghayoomie, V.; Jacobs, T.; Alicea, B.; Cantarelli, M.; Currie, M.; Gerkin, R.C.; Gingell, S.; et al. OpenWorm: Overview and recent advances in integrative biological simulation of Caenorhabditis elegans. Philos. Trans. R. Soc. B 2018, 373, 20170382. [Google Scholar] [CrossRef]
  11. Gleeson, P.; Lung, D.; Grosu, R.; Hasani, R.; Larson, S.D. c302: A multiscale framework for modelling the nervous system of Caenorhabditis elegans. Philos. Trans. R. Soc. B Biol. Sci. 2018, 373, 20170379. [Google Scholar] [CrossRef] [PubMed]
  12. Sakamoto, K.; Soh, Z.; Suzuki, M.; Iino, Y.; Tsuji, T. Forward and backward locomotion patterns in C. elegans generated by a connectome-based model simulation. Sci. Rep. 2021, 11, 13737. [Google Scholar] [CrossRef] [PubMed]
  13. Suzuki, M.; Tsuji, T.; Ohtake, H. A model of motor control of the nematode C. elegans with neuronal circuits. Artif. Intell. Med. 2005, 35, 75–86. [Google Scholar] [CrossRef] [PubMed]
  14. Boyle, J.H.; Berri, S.; Cohen, N. Gait modulation in C. elegans: An integrated neuromechanical model. Front. Comput. Neurosci. 2012, 6, 10. [Google Scholar] [CrossRef]
  15. Lechner, M.; Grosu, R.; Hasani, R.M. Worm-level control through search-based reinforcement learning. arXiv 2017, arXiv:1711.03467. [Google Scholar]
  16. Pierce-Shimomura, J.T.; Morse, T.M.; Lockery, S.R. The fundamental role of pirouettes in Caenorhabditis elegans chemotaxis. J. Neurosci. 1999, 19, 9557–9569. [Google Scholar] [CrossRef]
  17. Ward, A.; Liu, J.; Feng, Z.; Xu, X.S. Light-sensitive neurons and channels mediate phototaxis in C. elegans. Nat. Neurosci. 2008, 11, 916–922. [Google Scholar] [CrossRef]
  18. Iino, Y.; Yoshida, K. Parallel use of two behavioral mechanisms for chemotaxis in Caenorhabditis elegans. J. Neurosci. 2009, 29, 5370–5380. [Google Scholar] [CrossRef]
  19. Chalasani, S.H.; Chronis, N.; Tsunozaki, M.; Gray, J.M.; Ramot, D.; Goodman, M.B.; Bargmann, C.I. Dissecting a circuit for olfactory behaviour in Caenorhabditis elegans. Nature 2007, 450, 63–70. [Google Scholar] [CrossRef]
  20. Luo, L.; Wen, Q.; Ren, J.; Hendricks, M.; Gershow, M.; Qin, Y.; Greenwood, J.; Soucy, E.R.; Klein, M.; Smith-Parker, H.K.; et al. Dynamic encoding of perception, memory, and movement in a C. elegans chemotaxis circuit. Neuron 2014, 82, 1115–1128. [Google Scholar] [CrossRef]
  21. Itskovits, E.; Ruach, R.; Kazakov, A.; Zaslaver, A. Concerted pulsatile and graded neural dynamics enables efficient chemotaxis in C. elegans. Nat. Commun. 2018, 9, 2866. [Google Scholar] [CrossRef] [PubMed]
  22. Pierce-Shimomura, J.T.; Dores, M.; Lockery, S.R. Analysis of the effects of turning bias on chemotaxis in C. elegans. J. Exp. Biol. 2005, 208, 4727–4733. [Google Scholar] [CrossRef] [PubMed]
  23. Appleby, P.A. A model of chemotaxis and associative learning in C. elegans. Biol. Cybern. 2012, 106, 373–387. [Google Scholar] [CrossRef]
  24. Sakamoto, K.; Soh, Z.; Suzuki, M.; Kurita, Y.; Tsuji, T. A neural network model of Caenorhabditis elegans and simulation of chemotaxis-related information processing in the neural network. In Proceedings of the 2015 SAI Intelligent Systems Conference (IntelliSys), London, UK, 10–11 November 2015; pp. 668–673. [Google Scholar]
  25. Soh, Z.; Sakamoto, K.; Suzuki, M.; Iino, Y.; Tsuji, T. A computational model of internal representations of chemical gradients in environments for chemotaxis of Caenorhabditis elegans. Sci. Rep. 2018, 8, 17190. [Google Scholar] [CrossRef] [PubMed]
  26. Palyanov, A.; Khayrulin, S.; Larson, S.D. Three-dimensional simulation of the Caenorhabditis elegans body and muscle cells in liquid and gel environments for behavioural analysis. Philos. Trans. R. Soc. B Biol. Sci. 2018, 373, 20170376. [Google Scholar] [CrossRef] [PubMed]
  27. Palyanov, A.Y.; Khayrulin, S. Sibernetic: A software complex based on the PCI SPH algorithm aimed at simulation problems in biomechanics. Russ. J. Genet. Appl. Res. 2015, 5, 635–641. [Google Scholar] [CrossRef]
  28. Szigeti, B.; Gleeson, P.; Vella, M.; Khayrulin, S.; Palyanov, A.; Hokanson, J.; Currie, M.; Cantarelli, M.; Idili, G.; Larson, S. OpenWorm: An open-science approach to modeling Caenorhabditis elegans. Front. Comput. Neurosci. 2014, 8, 137. [Google Scholar] [CrossRef]
  29. Zador, A.; Escola, S.; Richards, B.; Ölveczky, B.; Bengio, Y.; Boahen, K.; Botvinick, M.; Chklovskii, D.; Churchland, A.; Clopath, C.; et al. Catalyzing next-generation Artificial Intelligence through NeuroAI. Nat. Commun. 2023, 14, 1597. [Google Scholar] [CrossRef]
  30. Todorov, E.; Erez, T.; Tassa, Y. Mujoco: A physics engine for model-based control. In Proceedings of the 2012 IEEE/RSJ International Conference on Intelligent Robots and Systems, Vilamoura-Algarve, Portugal, 7–12 October 2012; pp. 5026–5033. [Google Scholar]
  31. Girard, L.R.; Fiedler, T.J.; Harris, T.W.; Carvalho, F.; Antoshechkin, I.; Han, M.; Sternberg, P.W.; Stein, L.D.; Chalfie, M. WormBook: The online review of Caenorhabditis elegans biology. Nucleic Acids Res. 2007, 35, D472–D475. [Google Scholar] [CrossRef]
  32. Dong, X.; Kheiri, S.; Lu, Y.; Xu, Z.; Zhen, M.; Liu, X. Toward a living soft microrobot through optogenetic locomotion control of Caenorhabditis elegans. Sci. Robot. 2021, 6, eabe3950. [Google Scholar] [CrossRef]
  33. Ward, S. Chemotaxis by the nematode Caenorhabditis elegans: Identification of attractants and analysis of the response by use of mutants. Proc. Natl. Acad. Sci. USA 1973, 70, 817–821. [Google Scholar] [CrossRef] [PubMed]
  34. Fick, A.V. On liquid diffusion. Lond. Edinb. Dublin Philos. Mag. J. Sci. 1855, 10, 30–39. [Google Scholar] [CrossRef]
  35. Crank, J. The Mathematics of Diffusion; Oxford University Press: Oxford, UK, 1979. [Google Scholar]
  36. Ferree, T.C.; Lockery, S.R. Computational rules for chemotaxis in the nematode C. elegans. J. Comput. Neurosci. 1999, 6, 263–277. [Google Scholar] [CrossRef] [PubMed]
  37. Wicks, S.R.; Roehrig, C.J.; Rankin, C.H. A dynamic network simulation of the nematode tap withdrawal circuit: Predictions concerning synaptic function using behavioral criteria. J. Neurosci. 1996, 16, 4017–4031. [Google Scholar] [CrossRef]
  38. Lechner, M.; Hasani, R.; Amini, A.; Henzinger, T.A.; Rus, D.; Grosu, R. Neural circuit policies enabling auditable autonomy. Nat. Mach. Intell. 2020, 2, 642–652. [Google Scholar] [CrossRef]
  39. Kunert, J.; Shlizerman, E.; Kutz, J.N. Low-dimensional functionality of complex network dynamics: Neurosensory integration in the Caenorhabditis elegans connectome. Phys. Rev. E 2014, 89, 052805. [Google Scholar] [CrossRef]
  40. Kunert, J.M.; Proctor, J.L.; Brunton, S.L.; Kutz, J.N. Spatiotemporal feedback and network structure drive and encode Caenorhabditis elegans locomotion. PLoS Comput. Biol. 2017, 13, e1005303. [Google Scholar] [CrossRef]
  41. Harris, M.R.; Wytock, T.P.; Kovács, I.A. Computational Inference of Synaptic Polarities in Neuronal Networks. Adv. Sci. 2022, 9, 2104906. [Google Scholar] [CrossRef]
  42. Fenyves, B.G.; Szilágyi, G.S.; Vassy, Z.; Sőti, C.; Csermely, P. Synaptic polarity and sign-balance prediction using gene expression data in the Caenorhabditis elegans chemical synapse neuronal connectome network. PLoS Comput. Biol. 2020, 16, e1007974. [Google Scholar] [CrossRef]
  43. Wen, Q.; Po, M.D.; Hulme, E.; Chen, S.; Liu, X.; Kwok, S.W.; Gershow, M.; Leifer, A.M.; Butler, V.; Fang-Yen, C.; et al. Proprioceptive coupling within motor neurons drives C. elegans forward locomotion. Neuron 2012, 76, 750–761. [Google Scholar] [CrossRef]
  44. Wen, Q.; Gao, S.; Zhen, M. Caenorhabditis elegans excitatory ventral cord motor neurons derive rhythm for body undulation. Philos. Trans. R. Soc. B Biol. Sci. 2018, 373, 20170370. [Google Scholar] [CrossRef] [PubMed]
  45. Zhen, M.; Samuel, A.D. C. elegans locomotion: Small circuits, complex functions. Curr. Opin. Neurobiol. 2015, 33, 117–126. [Google Scholar] [CrossRef] [PubMed]
  46. Suzuki, H.; Thiele, T.R.; Faumont, S.; Ezcurra, M.; Lockery, S.R.; Schafer, W.R. Functional asymmetry in Caenorhabditis elegans taste neurons and its computational role in chemotaxis. Nature 2008, 454, 114–117. [Google Scholar] [CrossRef] [PubMed]
  47. Nguyen, J.P.; Linder, A.N.; Plummer, G.S.; Shaevitz, J.W.; Leifer, A.M. Automatically tracking neurons in a moving and deforming brain. PLoS Comput. Biol. 2017, 13, e1005517. [Google Scholar] [CrossRef]
  48. Soh, Z.; Suzuki, M.; Tsuji, T. An Estimation Method for Environmental Friction Based on Body Dynamic Model of Caenorhabditis elegans. J. Robot. Netw. Artif. Life 2017, 4, 32–40. [Google Scholar] [CrossRef]
  49. Doya, K. Recurrent networks: Learning algorithms. In The Handbook of Brain Theory and Neural Networks; MIT Press: Cambridge, MA, USA, 2003; pp. 955–960. [Google Scholar]
  50. Schafer, W.R. Deciphering the neural and molecular mechanisms of C. elegans behavior. Curr. Biol. 2005, 15, R723–R729. [Google Scholar] [CrossRef]
  51. Xu, T.; Huo, J.; Shao, S.; Po, M.; Kawano, T.; Lu, Y.; Wu, M.; Zhen, M.; Wen, Q. Descending pathway facilitates undulatory wave propagation in Caenorhabditis elegans through gap junctions. Proc. Natl. Acad. Sci. USA 2018, 115, E4493–E4502. [Google Scholar] [CrossRef]
  52. Yan, G.; Vértes, P.E.; Towlson, E.K.; Chew, Y.L.; Walker, D.S.; Schafer, W.R.; Barabási, A.L. Network control principles predict neuron function in the Caenorhabditis elegans connectome. Nature 2017, 550, 519–523. [Google Scholar] [CrossRef]
  53. Liu, P.; Chen, B.; Wang, Z.W. GABAergic motor neurons bias locomotor decision-making in C. elegans. Nat. Commun. 2020, 11, 5076. [Google Scholar] [CrossRef]
  54. Liu, Q.; Kidd, P.B.; Dobosiewicz, M.; Bargmann, C.I. C. elegans AWA olfactory neurons fire calcium-mediated all-or-none action potentials. Cell 2018, 175, 57–70. [Google Scholar] [CrossRef]
  55. Jiang, J.; Su, Y.; Zhang, R.; Li, H.; Tao, L.; Liu, Q. C. elegans enteric motor neurons fire synchronized action potentials underlying the defecation motor program. Nat. Commun. 2022, 13, 2783. [Google Scholar] [CrossRef] [PubMed]
  56. Lockery, S.R.; Goodman, M.B. The quest for action potentials in C. elegans neurons hits a plateau. Nat. Neurosci. 2009, 12, 377–378. [Google Scholar] [CrossRef] [PubMed]
  57. Yemini, E.; Lin, A.; Nejatbakhsh, A.; Varol, E.; Sun, R.; Mena, G.E.; Samuel, A.D.; Paninski, L.; Venkatachalam, V.; Hobert, O. NeuroPAL: A multicolor atlas for whole-brain neuronal identification in C. elegans. Cell 2021, 184, 272–288. [Google Scholar] [CrossRef] [PubMed]
  58. Altun, Z.; Hall, D. Muscle System, Somatic Muscle. WormAtlas. 2009. Available online: https://www.wormatlas.org/hermaphrodite/musclesomatic/MusSomaticframeset.html (accessed on 22 April 2023).
  59. Kingma, D.P.; Ba, J. Adam: A method for stochastic optimization. arXiv 2014, arXiv:1412.6980. [Google Scholar]
  60. Paszke, A.; Gross, S.; Massa, F.; Lerer, A.; Bradbury, J.; Chanan, G.; Killeen, T.; Lin, Z.; Gimelshein, N.; Antiga, L.; et al. Pytorch: An imperative style, high-performance deep learning library. Adv. Neural Inf. Process. Syst. 2019, 32, 1–12. [Google Scholar]
Figure 1. The digital C. elegans body. (a) The digital C. elegans body is vermiform and positioned in a sinusoidal posture. It consists of 25 articulated body segments with the red tip indicating its head. (b) The body posture is determined by the angles q ( t ) of its joints between body segments, which are provided by the physics engine at each time step. (c) The digital C. elegans is actuated by 95 body wall muscles arranged in 4 (DL, DR, VL, and VR) quadrants. Each joint is actuated by 4 corresponding muscles, one in each quadrant, except for the last joint with only 3 muscles. The gray spheres are anchors for muscles, and the red rods connecting the anchors are muscle actuators.
Figure 1. The digital C. elegans body. (a) The digital C. elegans body is vermiform and positioned in a sinusoidal posture. It consists of 25 articulated body segments with the red tip indicating its head. (b) The body posture is determined by the angles q ( t ) of its joints between body segments, which are provided by the physics engine at each time step. (c) The digital C. elegans is actuated by 95 body wall muscles arranged in 4 (DL, DR, VL, and VR) quadrants. Each joint is actuated by 4 corresponding muscles, one in each quadrant, except for the last joint with only 3 muscles. The gray spheres are anchors for muscles, and the red rods connecting the anchors are muscle actuators.
Mathematics 11 02442 g001
Figure 2. The virtual chemotaxis environment with radial gradients of chemical attractant. (a) The rendered virtual chemotaxis environment, with the highest concentration of attractant indicated by the green cylinder at the center of the distribution. (b) The concentration of attractant in the virtual environment follows a radial Gaussian distribution ranging from 0 to 1.
Figure 2. The virtual chemotaxis environment with radial gradients of chemical attractant. (a) The rendered virtual chemotaxis environment, with the highest concentration of attractant indicated by the green cylinder at the center of the distribution. (b) The concentration of attractant in the virtual environment follows a radial Gaussian distribution ranging from 0 to 1.
Mathematics 11 02442 g002
Figure 3. The structure of the C. elegans neural network model with 469 nodes, 4869 chemical connections, and 1433 electrical connections. The model consists of 57 pharynx cells, 83 sensory neurons, 81 interneurons, 108 motor neurons, 21 end organs, and 24 sex-specific cells. The distribution of nodes reflects the biological positions of cells in the worm. The 95 body wall muscles, which are also part of the model, are not depicted in this graph.
Figure 3. The structure of the C. elegans neural network model with 469 nodes, 4869 chemical connections, and 1433 electrical connections. The model consists of 57 pharynx cells, 83 sensory neurons, 81 interneurons, 108 motor neurons, 21 end organs, and 24 sex-specific cells. The distribution of nodes reflects the biological positions of cells in the worm. The 95 body wall muscles, which are also part of the model, are not depicted in this graph.
Mathematics 11 02442 g003
Figure 4. The structure of proprioceptive feedback connections. (a) Each B-type and A-type motor neuron receives proprioceptive feedback from its anterior and posterior region, respectively, extending over 5 joints. (b) The connection matrix of proprioceptive feedback from joints to motor neurons, with 1 indicating a connection and 0 indicating no connection. Head motor neurons (HMNs) and sublateral motor neuron (SMNs) receive all proprioceptive feedback. B-type (DB, VB) and A-type (DA, VA) motor neurons receive feedback from their respective anterior and posterior regions.
Figure 4. The structure of proprioceptive feedback connections. (a) Each B-type and A-type motor neuron receives proprioceptive feedback from its anterior and posterior region, respectively, extending over 5 joints. (b) The connection matrix of proprioceptive feedback from joints to motor neurons, with 1 indicating a connection and 0 indicating no connection. Head motor neurons (HMNs) and sublateral motor neuron (SMNs) receive all proprioceptive feedback. B-type (DB, VB) and A-type (DA, VA) motor neurons receive feedback from their respective anterior and posterior regions.
Mathematics 11 02442 g004
Figure 5. The PID controller is used for closed-loop control of the digital C. elegans’ behavior. It continuously generates action signals of muscles y ( t ) to minimize the error of posture e i ( t ) = q ^ i ( t ) q i ( t ) and reproduce the desired behavior. The controller comprises three terms: proportional (P), integral (I), and derivative (D), represented by the blocks P, I, and D, respectively.
Figure 5. The PID controller is used for closed-loop control of the digital C. elegans’ behavior. It continuously generates action signals of muscles y ( t ) to minimize the error of posture e i ( t ) = q ^ i ( t ) q i ( t ) and reproduce the desired behavior. The controller comprises three terms: proportional (P), integral (I), and derivative (D), represented by the blocks P, I, and D, respectively.
Mathematics 11 02442 g005
Figure 6. An example trial of chemotaxis simulation with the digital twin C. elegans lasting 100 s: (a) The worm starts at ( 4 , 0 ) mm and autonomously crawls towards the center; (b) The heatmap shows the joint angles exhibiting sinusoidal pattern with a cycle of ∼1.28 s; (c) The heatmap shows how the activation of 95 muscles changes overtime with a cycle of ∼1.28 s. The dorsal (DL, DR) and ventral (VL, VR) muscles activate in turns with ∼0.64 s of activation and ∼0.64 s of resting to generate dorsal–ventral sinusoidal movement; (d) The evolution of the worm’s posture during a turn, corresponding to the red section of the track; (e) The concentration detected at the worm’ head gradually increases along its track; (f) The chemical gradient detected at the worm’s head and the chemical gradient perpendicular to the traveling direction (normal gradient) detected at the worm’s center of mass along its track; (g) The activation of ASE neurons during chemotaxis.
Figure 6. An example trial of chemotaxis simulation with the digital twin C. elegans lasting 100 s: (a) The worm starts at ( 4 , 0 ) mm and autonomously crawls towards the center; (b) The heatmap shows the joint angles exhibiting sinusoidal pattern with a cycle of ∼1.28 s; (c) The heatmap shows how the activation of 95 muscles changes overtime with a cycle of ∼1.28 s. The dorsal (DL, DR) and ventral (VL, VR) muscles activate in turns with ∼0.64 s of activation and ∼0.64 s of resting to generate dorsal–ventral sinusoidal movement; (d) The evolution of the worm’s posture during a turn, corresponding to the red section of the track; (e) The concentration detected at the worm’ head gradually increases along its track; (f) The chemical gradient detected at the worm’s head and the chemical gradient perpendicular to the traveling direction (normal gradient) detected at the worm’s center of mass along its track; (g) The activation of ASE neurons during chemotaxis.
Mathematics 11 02442 g006
Figure 7. Two-dimensional density plot of the digital C. elegans’ tracks over 100 trials (each 100 s) in different scenarios: (a) The worm starts at a random position in an environment with chemical gradients, resulting in convergence at the center. The average chemotaxis index is 0.72 ± 0.34 with an average initial concentration of 0.44 ± 0.36 ; (b) The worm starts at a random position in an environment without chemical gradients; (c) The worm starts at ( 6 , 0 ) mm in an environment with chemical gradients, resulting in convergence at the center. The average chemotaxis index is 0.26 ± 0.37 with an initial concentration of 0.01; (d) The worm starts at ( 6 , 0 ) mm in an environment without chemical gradients.
Figure 7. Two-dimensional density plot of the digital C. elegans’ tracks over 100 trials (each 100 s) in different scenarios: (a) The worm starts at a random position in an environment with chemical gradients, resulting in convergence at the center. The average chemotaxis index is 0.72 ± 0.34 with an average initial concentration of 0.44 ± 0.36 ; (b) The worm starts at a random position in an environment without chemical gradients; (c) The worm starts at ( 6 , 0 ) mm in an environment with chemical gradients, resulting in convergence at the center. The average chemotaxis index is 0.26 ± 0.37 with an initial concentration of 0.01; (d) The worm starts at ( 6 , 0 ) mm in an environment without chemical gradients.
Mathematics 11 02442 g007
Figure 8. Statistical results of chemotaxis simulation over 100 trials (each 100 s) with the C. elegans neural network model and the PID controller in environments with and without chemical gradients, as well as the results from biological experiments. The curving rate (degree/mm) and chemical gradient generated in the simulation are scaled to the same range as the results from biological experiments. (a,b) Relationship between curving rate and bearing in environments with and without chemical gradients. (c,d) Relationship between curving rate and chemical gradient in the normal direction in environments with and without chemical gradients.
Figure 8. Statistical results of chemotaxis simulation over 100 trials (each 100 s) with the C. elegans neural network model and the PID controller in environments with and without chemical gradients, as well as the results from biological experiments. The curving rate (degree/mm) and chemical gradient generated in the simulation are scaled to the same range as the results from biological experiments. (a,b) Relationship between curving rate and bearing in environments with and without chemical gradients. (c,d) Relationship between curving rate and chemical gradient in the normal direction in environments with and without chemical gradients.
Mathematics 11 02442 g008
Figure 9. The average crawling distance results of node ablation experiments: (a) The average crawling distance of all nodes grouped by node types. The control value is the average crawling distance without ablation (9.19 mm). The average result of individual node ablation for all nodes is 5.81 mm. Node types with result lower than the overall average (5.81 mm) are predicted to be significant for the behavioral modulation of sinusoidal crawling and are colored blue. Node types that are experimentally proven to be involved in sinusoidal crawling are marked with asterisks; (b) The average crawling distance of different types of ventral cord motor neurons, including B-type, A-type, D-type, and AS motor neurons; (c) The subcircuit responsible for sinusoidal crawling consists of 119 neurons with ablation result lower than the overall average (5.81 mm), including 69 motor neurons, 22 interneurons, and 28 sensory neurons. The distribution of nodes reflects the biological positions of cells in the worm.
Figure 9. The average crawling distance results of node ablation experiments: (a) The average crawling distance of all nodes grouped by node types. The control value is the average crawling distance without ablation (9.19 mm). The average result of individual node ablation for all nodes is 5.81 mm. Node types with result lower than the overall average (5.81 mm) are predicted to be significant for the behavioral modulation of sinusoidal crawling and are colored blue. Node types that are experimentally proven to be involved in sinusoidal crawling are marked with asterisks; (b) The average crawling distance of different types of ventral cord motor neurons, including B-type, A-type, D-type, and AS motor neurons; (c) The subcircuit responsible for sinusoidal crawling consists of 119 neurons with ablation result lower than the overall average (5.81 mm), including 69 motor neurons, 22 interneurons, and 28 sensory neurons. The distribution of nodes reflects the biological positions of cells in the worm.
Mathematics 11 02442 g009
Figure 10. The average chemotaxis index results of node ablation experiments: (a) Nodes with average chemotaxis index after ablation lower than the overall average (0.43). The control value is the average chemotaxis index without ablation (0.65). The concentration of the worm’s initial position is 0.14. Nodes previously identified as responsible for sinusoidal crawling are excluded; (b) The subcircuit responsible for chemotaxis navigation consists of 40 neurons with ablation results lower than the overall average (0.43), including 10 sensory neurons, 15 interneurons, and 11 motor neurons. The distribution of nodes reflects the biological positions of cells in the worm.
Figure 10. The average chemotaxis index results of node ablation experiments: (a) Nodes with average chemotaxis index after ablation lower than the overall average (0.43). The control value is the average chemotaxis index without ablation (0.65). The concentration of the worm’s initial position is 0.14. Nodes previously identified as responsible for sinusoidal crawling are excluded; (b) The subcircuit responsible for chemotaxis navigation consists of 40 neurons with ablation results lower than the overall average (0.43), including 10 sensory neurons, 15 interneurons, and 11 motor neurons. The distribution of nodes reflects the biological positions of cells in the worm.
Mathematics 11 02442 g010
Table 1. Trainable parameters of the C. elegans neural network model.
Table 1. Trainable parameters of the C. elegans neural network model.
ParameterUnitInitializationConstraintNumber
τ i second (s) U ( 0.01 , 0.2 ) ( 0.01 , 0.2 )  1469
V i l e a k millivolt (mV) N ( 35 , 1 ) -469
E i j millivolt (mV) N ( 24 , 1 ) ( 50 , 5 )  13324 2
w i j - U ( 0 , 1 ) [ 0 , + )  34869
g i j - U ( 0 , 1 ) [ 0 , + )  31433
w i k p r o p - U ( 1 , 1 ) -1223
w A S E  4-1 [ 0 , + )  33
1 Constraint of the parameter is realized with sigmoid function S ( x ) as shown in Equation (5). 2 Reversal potentials of the chemical connections with known polarities are fixed and thus not included here. 3 Only the absolute value of the parameter is trained. 4 The parameter w A S E includes w A S E L + , w A S E R + , and w A S E R .
Table 2. Behavioral performance comparison between the C. elegans neural network model and the PID controller over 100 trials (each 100 s) with different initial positions. The crawling distance and chemotaxis index represent the performance of sinusoidal crawling and chemotaxis navigation, respectively. Results are presented as mean ± standard deviation (s.d.).
Table 2. Behavioral performance comparison between the C. elegans neural network model and the PID controller over 100 trials (each 100 s) with different initial positions. The crawling distance and chemotaxis index represent the performance of sinusoidal crawling and chemotaxis navigation, respectively. Results are presented as mean ± standard deviation (s.d.).
ControllerPID ControllerC. elegans Neural Network
Initial Position (mm)Crawling Distance (mm)Chemotaxis IndexInitial ConcentrationCrawling Distance (mm)Chemotaxis IndexInitial Concentration
Random 9.74 ± 0.15 0.65 ± 0.33 0.38 ± 0.33 9.09 ± 0.86 0.72 ± 0.34 0.44 ± 0.36
( 2 , 0 ) 9.63 ± 0.11 0.80 ± 0.17 0.61 8.95 ± 0.81 0.89 ± 0.11 0.61
( 4 , 0 ) 9.80 ± 0.06 0.63 ± 0.31 0.14 9.19 ± 0.73 0.65 ± 0.35 0.14
( 6 , 0 ) 9.95 ± 0.08 0.24 ± 0.34 0.01 9.36 ± 0.88 0.26 ± 0.37 0.01
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Chen, Z.; Yu, Y.; Xue, X. A Connectome-Based Digital Twin Caenorhabditis elegans Capable of Intelligent Sensorimotor Behavior. Mathematics 2023, 11, 2442. https://doi.org/10.3390/math11112442

AMA Style

Chen Z, Yu Y, Xue X. A Connectome-Based Digital Twin Caenorhabditis elegans Capable of Intelligent Sensorimotor Behavior. Mathematics. 2023; 11(11):2442. https://doi.org/10.3390/math11112442

Chicago/Turabian Style

Chen, Zhongyu, Yuguo Yu, and Xiangyang Xue. 2023. "A Connectome-Based Digital Twin Caenorhabditis elegans Capable of Intelligent Sensorimotor Behavior" Mathematics 11, no. 11: 2442. https://doi.org/10.3390/math11112442

APA Style

Chen, Z., Yu, Y., & Xue, X. (2023). A Connectome-Based Digital Twin Caenorhabditis elegans Capable of Intelligent Sensorimotor Behavior. Mathematics, 11(11), 2442. https://doi.org/10.3390/math11112442

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop