Skip to main content

A Robotic Chinese Stroke Generation Model Based on Competitive Swarm Optimizer

  • Conference paper
  • First Online:

Part of the book series: Advances in Intelligent Systems and Computing ((AISC,volume 1043))

Abstract

The process of neural network based robotic calligraphy involves a trajectory generation process and a robotic manipulator writing process. The writing process of robotic writing cannot be expressed by mathematical expression; therefore, the conventional gradient back-propagation method cannot be directly used to optimize trajectory generation system. This paper alternatively explores the possibility of using competitive swarm optimizer (CSO) algorithm to optimize the neural network used in the robotic calligraphy system. In this paper, a variational auto-encoder network (VAE) including an encoder and a decoder is used to establish the trajectory generation model. The training of the VAE is divided into two steps. In Step 1, the decoder part of VAE network is trained by using the gradient descent method to extract the features of the input strokes. In the second step, the first encoder is used to obtain the image features directly as the input of the decoder, and the writing sequence of stroke trajectory points is obtained directly by the decoder. CSO is applied to train the decoder of VAE. Then the writing sequence is sent to the robot manipulator for writing. Experiments show that the strokes generated by this method can achieve similar but slightly different strokes from the training samples, so that the stroke writing diversity can be retained by VAE. The results also indicate the potential in autonomous action-state space exploration for other real-world applications.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   129.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   169.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

References

  1. Chao, F., Huang, Y., Zhang, X., Shang, C., Yang, L., Zhou, C., Hu, H., Lin, C.: A robot calligraphy system: from simple to complex writing by human gestures. Eng. Appl. Artif. Intell. 59, 1–14 (2017). https://doi.org/10.1016/j.engappai.2016.12.006

    Article  Google Scholar 

  2. Chao, F., Lv, J., Zhou, D., Yang, L., Lin, C.M., Shang, C., Zhou, C.: Generative adversarial nets in robotic Chinese calligraphy. In: 2018 IEEE International Conference on Robotics and Automation, pp. 1104–1110 (2018)

    Google Scholar 

  3. Cheng, R., Jin, Y.: A competitive swarm optimizer for large scale optimization. IEEE Trans. Cybern. 45(2), 191–204 (2015)

    Article  Google Scholar 

  4. Gao, X., Zhou, C., Chao, F., Yang, L., Lin, C.M., Xu, T., Shang, C., Shen, Q.: A data-driven robotic Chinese calligraphy system using convolutional auto-encoder and differential evolution. Knowl.-Based Syst. (2019)

    Google Scholar 

  5. Heusel, M., Ramsauer, H., Unterthiner, T., Nessler, B., Hochreiter, S.: GANs trained by a two time-scale update rule converge to a local nash equilibrium, pp. 6626–6637 (2017). http://papers.nips.cc/paper/7240-gans-trained-by-a-two-time-scale-update-rule-converge-to-a-local-nash-equilibrium.pdf

  6. Mueller, S., Huebel, N., Waibel, M., Dandrea, R.: Robotic calligraphy - learning how to write single strokes of Chinese and Japanese characters. In: IEEE/RSJ International Conference on Intelligent Robots and Systems, pp. 1734–1739 (2013). https://doi.org/10.1109/IROS.2013.6696583

  7. Pu, Y., Zhe, G., Henao, R., Xin, Y., Li, C., Stevens, A., Carin, L.: Variational autoencoder for deep learning of images, labels and captions (2016)

    Google Scholar 

  8. Wei, L., Song, Y., Zhou, C.: Computationally evaluating and synthesizing Chinese calligraphy. Neurocomputing 135(C), 299–305 (2014)

    Google Scholar 

  9. Yao, F., Shao, G., Yi, J.: Extracting the trajectory of writing brush in Chinese character calligraphy. Eng. Appl. Artif. Intell. 17(6), 631–644 (2004). https://doi.org/10.1016/j.engappai.2004.08.008

    Article  Google Scholar 

  10. Yao, F., Shao, G., Yi, J.: Trajectory generation of the writing brush for a robot arm to inherit block style Chinese character calligraphy techniques. Adv. Robot. 18(3), 331–356 (2004). https://doi.org/10.1163/156855304322972477

    Article  Google Scholar 

  11. Zeng, H., Huang, Y., Chao, F., Zhou, C.: Survey of robotic calligraphy research. CAAI Trans. Intell. Syst. 11(1), 15–26 (2016)

    Google Scholar 

  12. Zhe, M., Su, J.: Aesthetics evaluation for robotic Chinese calligraphy. IEEE Trans. Cogn. Dev. Syst. 9(1), 80–90 (2017)

    Article  MathSciNet  Google Scholar 

Download references

Acknowledgment

This work was supported by the National Natural Science Foundation of China (No. 61673322, 61673326, and 91746103), the Fundamental Research Funds for the Central Universities (No. 20720190142), Natural Science Foundation of Fujian Province of China (No. 2017J01128 and 2017J01129), and the European Union’s Horizon 2020 research and innovation programme under the Marie Sklodowska-Curie grant agreement (No. 663830).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Chao Fei .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Li, Q. et al. (2020). A Robotic Chinese Stroke Generation Model Based on Competitive Swarm Optimizer. In: Ju, Z., Yang, L., Yang, C., Gegov, A., Zhou, D. (eds) Advances in Computational Intelligence Systems. UKCI 2019. Advances in Intelligent Systems and Computing, vol 1043. Springer, Cham. https://doi.org/10.1007/978-3-030-29933-0_8

Download citation

Publish with us

Policies and ethics