Skip to main content

Advertisement

Log in

Function approximation with LWPR and XCSF: a comparative study

  • Special Issue
  • Published:
Evolutionary Intelligence Aims and scope Submit manuscript

Abstract

Function approximation, also called regression, is an important tool in numerical mathematics and engineering. The most challenging approximation problems arise, when the function class is unknown and the surface has to be approximated online from incoming samples. One way to achieve good approximations of complex non-linear functions is to cluster the input space into small patches, apply linear models in each niche, and recombine these models via a weighted sum. While it is rather simple to optimally fit a linear model to given data, it is fairly complex to find a reasonable structuring of the input space in order to exploit linearities in the underlying function. We compare two non-parametric regression algorithms that are able to approximate multi-dimensional, non-linear functions online. The XCSF Learning Classifier System is a modified version of XCS, which is a genetics-based machine learning algorithm. Locally Weighted Projection Regression is a statistics-based machine learning technique that is mainly used for function approximation tasks in robotics. For both algorithms the relevant, conflicting performance criteria are accuracy and population size, that is, the number of local models. We explore the trade-off between those criteria on three benchmark problems by means of intense grid search for Pareto optimal solutions. Detailed learning behavior is investigated using selected Pareto optimal parameters. The illustration of final input space clusterings sheds light on the structuring capabilities. A discussion of advantages and drawbacks completes this comparative study.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8

Similar content being viewed by others

Notes

  1. Simple least squares methods suffice if the data is linear.

  2. \({\tt w}\_{\tt gen} = 0.2, {\tt w}\_{\tt prune = 1.0},\,{\tt init}\_{\tt S2} = 10^{-10}, {\tt add}\_{\tt threshold} = 0.5,\,{\tt init\_lambda} = 0.999,\,{\tt final\_lambda} = 0.99999,\,{\tt tau\_lambda} = 0.9999\)

  3. As in [2], XCSF’s parameters are set to β = 0.1, δ = 0.1, α = 1, θGA = 50, θdel = θsub = 20, χ = 1,  μ = 0.2. Receptive field’s initial radii are taken uniformly random from [0.005,1]. GA subsumption is applied.

  4. An ill-conditioned matrix D has a zero eigenvalue and, thus, does not represent an ellipsoid.

  5. The required number of ellipsoidal RFs with a linear predictor is exponential, when all input dimensions are independent and have a non-linear influence on the output.

References

  1. Butz MV, Lanzi PL, Wilson SW (2008) Function approximation with XCS: hyperellipsoidal conditions, recursive least squares, and compaction. IEEE Trans Evol Comput 12:355–376

    Article  Google Scholar 

  2. D’Souza A, Vijayakumar S, Schaal S (2001) Learning inverse kinematics. In: Proceedings of the IEEE/RSJ international conference on intelligent robots and systems (IROS), vol 1. pp 298–303. doi:10.1109/IROS.2001.973374

  3. Frank IE, Friedman JH (1993) A statistical view of some chemometrics regression tools. Technometrics 35(2):109–135

    MATH  Google Scholar 

  4. Klanke S, Vijayakumar S (2007) A library for locally weighted projection regression—supplementary documentation

  5. Lanzi PL, Loiacono D, Wilson SW, Goldberg DE (2006) Prediction update algorithms for XCSF: RLS, kalman filter, and gain adaptation. In: GECCO ’06: proceedings of the 8th annual conference on Genetic and evolutionary computation. ACM, Seattle, pp 1505–1512. ISBN: 1-59593-186-4

  6. LWPR implementation in C (v. 1.2.3) (2010) http://www.ipab.informatics.ed.ac.uk/slmc/software/lwpr/lwpr-1.2.3.tar.gz

  7. Schaal S, Atkeson CG (1998) Constructive incremental learning from only local information. Neural Comput 10(8):2047–2084

    Article  Google Scholar 

  8. Schaal S, Atkeson CG, Vijayakumar S (2002) Scalable techniques from nonparametric statistics for real time robot learning. Appl Intell 17(1):49–60

    Article  MATH  Google Scholar 

  9. Stalph PO, Butz MV (2009) Documentation of JavaXCSF. Tech. Rep. Y2009N001, COBOSLAB, Department of Psychology III, University of Würzburg, Röntgenring 11, 97070 Würzburg, Germany. http://www.uni-wuerzburg.de/fileadmin/ext00209/user_upload/Publications/2009/Stalph09JavaXCSF.pdf

  10. Stalph PO, Llorà X, Goldberg DE, Butz MV (2010) Resource management and scalability of the XCSF learning classifier system. Theor Comput Sci DOI http://dx.doi.org/10.1016/j.tcs.2010.07.00

  11. Vijayakumar S, D’Souza A, Schaal S (2005) Incremental online learning in high dimensions. Neural Comput 17(12):2602–2634

    Article  MathSciNet  Google Scholar 

  12. Vijayakumar S, Schaal S (2000) Locally weighted projection regression: An O(n) algorithm for incremental real time learning in high dimensional space. In: ICML ’00: Proceedings of the Seventeenth International Conference on Machine Learning, pp 1079–1086

  13. Wilson SW (1995) Classifier fitness based on accuracy. Evol Comput 3(2):149–175

    Article  Google Scholar 

  14. Wilson SW (1998) Generalization in the XCS classifier system. In: Koza JR, Banzhaf W, Chellapilla K, Deb K, Dorigo M, Fogel DB, Grazon MH, Goldberg DE, Iba H, Riolo RL (eds) Genetic programming 1998: proceedings of the third annual conference. Morgan Kaufmann, pp 665–674

  15. Wilson SW (2002) Classifiers that approximate functions. Natural Comput 1:211–234

    Article  MathSciNet  MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Martin V. Butz.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Stalph, P.O., Rubinsztajn, J., Sigaud, O. et al. Function approximation with LWPR and XCSF: a comparative study. Evol. Intel. 5, 103–116 (2012). https://doi.org/10.1007/s12065-012-0082-7

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s12065-012-0082-7

Keywords

Navigation