Skip to content

mia-katrin/Modbots

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Centralized and Decentralized Control in Modular Robots and Their Effect on Morphology

Abstract: In Evolutionary Robotics, evolutionary algorithms are used to co-optimize morphology and control. However, co-optimizing leads to different challenges: How do you optimize a controller for a body that often changes its number of inputs and outputs? Researchers must then make some choice between centralized or decentralized control. In this article, we study the effects of centralized and decentralized controllers on modular robot performance and morphologies. This is done by implementing one centralized and two decentralized continuous time recurrent neural network controllers, as well as a sine wave controller for a baseline. We found that a decentralized approach that was more independent of morphology size performed significantly better than the other approaches. It also worked well in a larger variety of morphology sizes. In addition, we highlighted the difficulties of implementing centralized control for a changing morphology, and saw that our centralized controller struggled more with early convergence than the other approaches. Our findings indicate that duplicated decentralized networks are beneficial when evolving both the morphology and control of modular robots. Overall, if these findings translate to other robot systems, our results and issues encountered can help future researchers make a choice of control method when co-optimizing morphology and control.

Horse Spider

Crane Round




















The article can be found at:

https://direct.mit.edu/isal/proceedings/isal/34/49/112308

Cite as:

Mia-Katrin Kvalsund, Kyrre Glette, Frank Veenstra; July 18–22, 2022. "Centralized and Decentralized Control in Modular Robots and Their Effect on Morphology." Proceedings of the ALIFE 2022: The 2022 Conference on Artificial Life. ALIFE 2022: The 2022 Conference on Artificial Life. Online. (pp. 49). ASME. https://doi.org/10.1162/isal_a_00533
@proceedings{10.1162/isal_a_00533,
    author = {Kvalsund, Mia-Katrin and Glette, Kyrre and Veenstra, Frank},
    title = "{Centralized and Decentralized Control in Modular Robots and Their Effect on Morphology}",
    volume = {ALIFE 2022: The 2022 Conference on Artificial Life},
    series = {ALIFE 2022: The 2022 Conference on Artificial Life},
    year = {2022},
    month = {07},
    abstract = "{In Evolutionary Robotics, evolutionary algorithms are used to co-optimize morphology and control. However, co-optimizing leads to different challenges: How do you optimize a controller for a body that often changes its number of inputs and outputs? Researchers must then make some choice between centralized or decentralized control. In this article, we study the effects of centralized and decentralized controllers on modular robot performance and morphologies. This is done by implementing one centralized and two decentralized continuous time recurrent neural network controllers, as well as a sine wave controller for a baseline. We found that a decentralized approach that was more independent of morphology size performed significantly better than the other approaches. It also worked well in a larger variety of morphology sizes. In addition, we highlighted the difficulties of implementing centralized control for a changing morphology, and saw that our centralized controller struggled more with early convergence than the other approaches. Our findings indicate that duplicated decentralized networks are beneficial when evolving both the morphology and control of modular robots. Overall, if these findings translate to other robot systems, our results and issues encountered can help future researchers make a choice of control method when co-optimizing morphology and control.}",
    doi = {10.1162/isal_a_00533},
    url = {https://doi.org/10.1162/isal\_a\_00533},
    note = {49},
    eprint = {https://direct.mit.edu/isal/proceedings-pdf/isal/34/49/2035449/isal\_a\_00533.pdf},
}

The source code is found in the folder /Modbots_top. The code for the controllers is found in /Modbots_top/modbots/modbots/controllers.

Contributors

Authors: Mia-Katrin Kvalsund, Kyrre Glette, Frank Veenstra

This work was performed on the Fox resource, owned by the University of Oslo Center for Information Technology. This work was partially supported by the Research Council of Norway through its Centres of Excellence scheme, project number 262762.

Gene mutation rates

All probabilities are scaled by the current mutation rate (f.ex global_mut_rate/nr_modules). They were found through trial and error and are, for the CTRNN, close to the values that came from examples in the neat-python package.

CTRNNs:

Mutation Prob. Options/limits
Connection add 0.2
Connection delete 0.2
Connection enable 0.01 True False
Node add 0.2
Node delete 0.2
Bias 0.8 [-1.0, 1.0]
Activation 0.2 sin tanh sigmoid
Aggregation 0.1 sum min max mean median product maxabs
Weight 0.8 [-1.0, 1.0]
Response 0.2 [-1.5, 1.5]
Bias replace 0.1
Response replace 0.1
Weight replace 0.1

Sine wave generator:

Mutation Prob. Options/limits
Amplitude 1.0 [0, 3]
Frequency 0.0 2.0
Phase 1.0 [-inf, inf]
Offset 1.0 [-1, 1]

A fixed frequency was used to enable better synchronization. This was chosen after several initial experiments with this controller showed that it was prone to local optima solutions.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published