Fuzzy Logic Programming for Tuning Neural Networks

  • Ginés MorenoEmail author
  • Jesús Pérez
  • José A. Riaza
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 11784)


Wide datasets are usually used for training and validating neural networks, which can be later tuned in order to correct their final behaviors according to a few number of test cases proposed by users. In this paper we show how the FLOPER system developed in our research group is able to perform this last task after coding a neural network with a fuzzy logic language where program rules extend the classical notion of clause by including on their bodies both fuzzy connectives (useful for modeling activation functions of neurons) and truth degrees (associated with weights and biases in neural networks). We present an online tool which helps to select such operators and values in an automatic way, accomplishing with our recent technique for tuning this kind of fuzzy programs. Moreover, our experimental results reveal that our tool generates the choices that better fit user’s preferences in a very efficient way and producing relevant improvements on tuned neural networks.


Neural networks Fuzzy logic programming Tuning 


  1. 1.
    Baldwin, J.F., Martin, T.P., Pilsworth, B.W.: Fril-Fuzzy and Evidential Reasoning in Artificial Intelligence. Wiley, Hoboken (1995)Google Scholar
  2. 2.
    Chollet, F., et al.: Keras: deep learning library for Theano and TensorFlow. 7(8), T1 (2015).
  3. 3.
    Ishizuka, M., Kanai, N.: Prolog-elf incorporating fuzzy logic. New Gener. Comput. 3(4), 479 (1985)CrossRefGoogle Scholar
  4. 4.
    Julián-Iranzo, P., Moreno, G., Penabad, J.: Thresholded semantic framework for a fully integrated fuzzy logic language. J. Log. Algebraic Methods Program. 93, 42–67 (2017)MathSciNetCrossRefGoogle Scholar
  5. 5.
    Lee, R.C.T.: Fuzzy logic and the resolution principle. In: Readings in Fuzzy Sets for Intelligent systems, pp. 442–452. Elsevier (1993)Google Scholar
  6. 6.
    Van Der Malsburg, C.: Frank Rosenblatt: principles of neurodynamics: perceptrons and the theory of brain mechanisms. In: Palm, G., Aertsen, A. (eds.) Brain Theory, pp. 245–248. Springer, Berlin Heidelberg (1986). Scholar
  7. 7.
    Medina, J., Ojeda-Aciego, M., Vojtáš, P.: Similarity-based Unification: a multi-adjoint approach. Fuzzy Sets Syst. 146, 43–62 (2004)MathSciNetCrossRefGoogle Scholar
  8. 8.
    Moreno, G., Penabad, J., Riaza, J.A., Vidal, G.: Symbolic execution and thresholding for efficiently tuning fuzzy logic programs. In: Hermenegildo, M.V., Lopez-Garcia, P. (eds.) LOPSTR 2016. LNCS, vol. 10184, pp. 131–147. Springer, Cham (2017). Scholar
  9. 9.
    Moreno, G., Riaza, J.A.: An online tool for tuning fuzzy logic programs. In: Costantini, S., Franconi, E., Van Woensel, W., Kontchakov, R., Sadri, F., Roman, D. (eds.) RuleML+RR 2017. LNCS, vol. 10364, pp. 184–198. Springer, Cham (2017). Scholar

Copyright information

© Springer Nature Switzerland AG 2019

Authors and Affiliations

  1. 1.Department of Computing SystemU. Castilla-La ManchaAlbaceteSpain

Personalised recommendations