encyclopegia.org

Automatic basis function construction

In machine learning, automatic basis function construction, also known as basis discovery, is a technique that finds a set of general-purpose (task-independent) basis functions to simplify complex data (state space) into a smaller, manageable form (lower-dimensional embedding) while accurately capturing the value function. Unlike methods relying on expert-designed functions, this approach works without prior knowledge of the specific problem area (domain), making it effective in situations where creating tailored basis functions is challenging or impractical.

In machine learning, automatic basis function construction, also known as basis discovery, is a technique that finds a set of general-purpose (task-independent) basis functions to simplify complex data (state space) into a smaller, manageable form (lower-dimensional embedding) while accurately capturing the value function. Unlike methods relying on expert-designed functions, this approach works without prior knowledge of the specific problem area (domain), making it effective in situations where creating tailored basis functions is challenging or impractical. ==Motivation== In reinforcement learning (RL), many real-world problems modeled as Markov Decision Processes (MDPs) involve large or continuous state spaces—sets of all possible situations an agent might encounter—which are too complex to handle directly and often need approximation for efficient computation. Linear function approximators (LFAs), valued for their simplicity and low computational demands, are a common solution. Using LFAs effectively requires addressing two challenges: optimizing weights (adjusting importance of features) and building basis functions (creating simplified representations). While specially designed basis functions can excel in specific tasks, they are limited to those particular areas (domains). Automatic basis function construction offers a more flexible approach, enabling broader use across diverse problems without relying on task-specific expertise. ==Problem definition== A Markov decision process with finite state space and fixed policy is defined with a 5-tuple {s,a,p,\gamma,r} , which includes the finite state space S= , the finite action space A , the reward function r , discount factor \gamma\in [0,1) , and the transition model P . Bellman equation is defined as: v=r+\gamma Pv. \, When the number of elements in S is small, v is usually maintained as tabular form. While S grows too large for this kind of representation. v is commonly being approximated via a linear combination of basis function \Phi={\phi_1,\phi_2,\ldots,\phi_n} , so that we have: v\approx\hat{v}=\sum_{i=1}^n\theta_n\phi_{n} Here \Phi is a |S|\times n matrix in which every row contains a feature vector for corresponding row, \theta is a weight vector with n parameters and usually n\ll |s| . Basis construction looks for ways to automatically construct better basis function \Phi which can represent the value function well. A good construction method should have the following characteristics: Small error bounds between the estimate and real value function Form orthogonal basis in the value function space Converge to stationary value function fast ==Popular methods== ===Proto-value basis=== In this approach, Mahadevan analyzes the connectivity graph between states to determine a set of basis functions. The normalized graph Laplacian is defined as: L=I-D^{-\frac{1}{2}}WD^{-\frac{1}{2}} Here W is an adjacency matrix which represents the states of fixed policy MDP which forms an undirected graph (N,E). D is a diagonal matrix related to nodes' degrees. In discrete state space, the adjacency matrix W could be constructed by simply checking whether two states are connected, and D could be calculated by summing up every row of W. In continuous state space, we could take random walk Laplacian of W. This spectral framework can be used for value function approximation (VFA). Given the fixed policy, the edge weights are determined by corresponding states' transition probability. To get smooth value approximation, diffusion wavelets are used. ===Krylov basis=== Krylov basis construction uses the actual transition matrix instead of random walk Laplacian. The assumption of this method is that transition model P and reward r are available. The vectors in Neumann series are denoted as y_i=P^ir for all i\in[0,\infty) . It shows that Krylov space spanned by y_0,y_1,\ldots,y_{m-1} is enough to represent any value function, and m is the degree of minimal polynomial of (I-\gamma P) . Suppose the minimal polynomial is p(A)=\frac{1}{\alpha_0}\sum_{i=0}^{m-1}\alpha_{i+1}A^i , and we have BA=I , the value function can be written as: v=Br=\frac{1}{\alpha_0}\sum_{i=0}^{m-1}\alpha_{i+1}(I-\gamma P)^ir=\sum_{i=0}^{m-1}\alpha_{i+1}\beta_i y_i. Algorithm Augmented Krylov Method z_1,z_2,\ldots,z_k are top real eigenvectors of P z_{k+1}:=r for i:=1:(l+k) do if i>k+1 then z_i:=Pz_{i-1} ; end if for j:=1:(i-1) do z_i:=z_i- z_j; end for if \parallel z_i\parallel\approx 0 then break; end if end for k: number of eigenvectors in basis l: total number of vectors ===Bellman error basis=== Bellman error (or BEBFs) is defined as: \varepsilon=r+\gamma P\hat{v}-\hat{v}=r+\gamma P\Phi\theta-\Phi\theta . Loosely speaking, Bellman error points towards the optimal value function. The sequence of BEBF form a basis space which is orthogonal to the real value function space; thus with sufficient number of BEBFs, any value function can be represented exactly. Algorithm BEBF stage stage i=1, \phi_{1}=r ; stage i\in[2,N] compute the weight vector \theta_i according to current basis function \Phi_i ; compute new bellman error by \varepsilon=r+\gamma P \Phi_{i}\theta_{i}-\Phi_{i}\theta_{i} ; add bellman error to form new basis function: \Phi_{i+1}=[\Phi_{i}:\varepsilon] ; N represents the number of iterations till convergence. ":" means juxtaposing matrices or vectors. ===Bellman average reward bases=== Bellman Average Reward Bases (or BARBs) is similar to Krylov Bases, but the reward function is being dilated by the average adjusted transition matrix P-P^* . Here P^* can be calculated by many methods in. BARBs converges faster than BEBFs and Krylov when \gamma is close to 1. Algorithm BARBs stage stage i=1, P^*r ; stage i\in[2,N] compute the weight vector \theta_i according to current basis function \Phi_i ; compute new basis: :\phi_{i+1}=r-P^*r+P\Phi_{i}\theta_i-\Phi_{i}\theta_i , and add it to form new bases matrix \Phi_{i+1}=[\Phi_{i}:\phi_{i+1}] ; N represents the number of iterations till convergence. ":" means juxtaposing matrices or vectors. ==Discussion and analysis== There are two principal types of basis construction methods. The first type of methods are reward-sensitive, like Krylov and BEBFs; they dilate the reward function geometrically through transition matrix. However, when discount factor \gamma approaches to 1, Krylov and BEBFs converge slowly. This is because the error Krylov based methods are restricted by Chebyshev polynomial bound. To solve this problem, methods such as BARBs are proposed. BARBs is an incremental variant of Drazin bases, and converges faster than Krylov and BEBFs when \gamma becomes large. Another type is reward-insensitive proto value basis function derived from graph Lapalacian. This method uses graph information, but the construction of adjacency matrix makes this method hard to analyze. ==See also== Dynamic programming Bellman equation Optimal control ==References==

References

  1. [No reference provided in original] Wikipedia revision 1377449612, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1377449612
    Cite this reference

    MLA "[No reference provided in original] Wikipedia revision 1377449612, retrieved 2026-11-18." 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1377449612. Accessed 24 November 2026.

    Chicago "[No reference provided in original] Wikipedia revision 1377449612, retrieved 2026-11-18." 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1377449612.

    APA encyclopegia.org. (2026). [No reference provided in original] Wikipedia revision 1377449612, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1377449612

  2. Ilse C. F. Ipsen and Carl D. Meyer. The idea behind Krylov methods. American Mathematical Monthly, 105(10):889–899, 1998. Wikipedia revision 1377449612, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1377449612
    Cite this reference

    MLA "Ilse C. F. Ipsen and Carl D. Meyer. The idea behind Krylov methods. American Mathematical Monthly, 105(10):889–899, 1998. Wikipedia revision 1377449612, retrieved 2026-11-18." Ilse C. 2026-11-17. https://en.wikipedia.org/wiki/Ilse_Ipsen. Accessed 24 November 2026.

    Chicago "Ilse C. F. Ipsen and Carl D. Meyer. The idea behind Krylov methods. American Mathematical Monthly, 105(10):889–899, 1998. Wikipedia revision 1377449612, retrieved 2026-11-18." Ilse C. 2026-11-17. https://en.wikipedia.org/wiki/Ilse_Ipsen.

    APA Ilse C. (2026). Ilse C. F. Ipsen and Carl D. Meyer. The idea behind Krylov methods. American Mathematical Monthly, 105(10):889–899, 1998. Wikipedia revision 1377449612, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Ilse_Ipsen

  3. Keller, Philipp; Mannor, Shie; Precup, Doina . (2006) Automatic Basis Function Construction for Approximate Dynamic Programming and Reinforcement Learning. Proceedings of the 23rd International Conference on Machine Learning, Pittsburgh, PA. Wikipedia revision 1377449612, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1377449612
    Cite this reference

    MLA "Keller, Philipp; Mannor, Shie; Precup, Doina . (2006) Automatic Basis Function Construction for Approximate Dynamic Programming and Reinforcement Learning. Proceedings of the 23rd International Conference on Machine Learning, Pittsburgh, PA. Wikipedia revision 1377449612, retrieved 2026-11-18." Keller, Philipp; Mannor, Shie; Precup, Doina. 2026-11-17. https://en.wikipedia.org/wiki/Doina_Precup. Accessed 24 November 2026.

    Chicago "Keller, Philipp; Mannor, Shie; Precup, Doina . (2006) Automatic Basis Function Construction for Approximate Dynamic Programming and Reinforcement Learning. Proceedings of the 23rd International Conference on Machine Learning, Pittsburgh, PA. Wikipedia revision 1377449612, retrieved 2026-11-18." Keller, Philipp; Mannor, Shie; Precup, Doina. 2026-11-17. https://en.wikipedia.org/wiki/Doina_Precup.

    APA Keller, Philipp; Mannor, Shie; Precup, Doina. (2026). Keller, Philipp; Mannor, Shie; Precup, Doina . (2006) Automatic Basis Function Construction for Approximate Dynamic Programming and Reinforcement Learning. Proceedings of the 23rd International Conference on Machine Learning, Pittsburgh, PA. Wikipedia revision 1377449612, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Doina_Precup

  4. a b c d M. Petrik. An analysis of Laplacian methods for value function approximation in MDPs. In Proceedings of the International Joint Conference on Artificial Intelligence (IJCAI), pages 2574–2579, 2007 Wikipedia revision 1377449612, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1377449612
    Cite this reference

    MLA "a b c d M. Petrik. An analysis of Laplacian methods for value function approximation in MDPs. In Proceedings of the International Joint Conference on Artificial Intelligence (IJCAI), pages 2574–2579, 2007 Wikipedia revision 1377449612, retrieved 2026-11-18." a b c d M. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1377449612. Accessed 24 November 2026.

    Chicago "a b c d M. Petrik. An analysis of Laplacian methods for value function approximation in MDPs. In Proceedings of the International Joint Conference on Artificial Intelligence (IJCAI), pages 2574–2579, 2007 Wikipedia revision 1377449612, retrieved 2026-11-18." a b c d M. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1377449612.

    APA a b c d M. (2026). a b c d M. Petrik. An analysis of Laplacian methods for value function approximation in MDPs. In Proceedings of the International Joint Conference on Artificial Intelligence (IJCAI), pages 2574–2579, 2007 Wikipedia revision 1377449612, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1377449612

  5. a b Mahadevan, Sridhar; Maggioni, Mauro. (2005) Value function approximation with diffusion wavelets and Laplacian eigenfuctions. Proceedings of Advances in Neural Information Processing Systems. Wikipedia revision 1377449612, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1377449612
    Cite this reference

    MLA "a b Mahadevan, Sridhar; Maggioni, Mauro. (2005) Value function approximation with diffusion wavelets and Laplacian eigenfuctions. Proceedings of Advances in Neural Information Processing Systems. Wikipedia revision 1377449612, retrieved 2026-11-18." a b Mahadevan, Sridhar; Maggioni, Mauro. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1377449612. Accessed 24 November 2026.

    Chicago "a b Mahadevan, Sridhar; Maggioni, Mauro. (2005) Value function approximation with diffusion wavelets and Laplacian eigenfuctions. Proceedings of Advances in Neural Information Processing Systems. Wikipedia revision 1377449612, retrieved 2026-11-18." a b Mahadevan, Sridhar; Maggioni, Mauro. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1377449612.

    APA a b Mahadevan, Sridhar; Maggioni, Mauro. (2026). a b Mahadevan, Sridhar; Maggioni, Mauro. (2005) Value function approximation with diffusion wavelets and Laplacian eigenfuctions. Proceedings of Advances in Neural Information Processing Systems. Wikipedia revision 1377449612, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1377449612

  6. S. Mahadevan and B. Liu. Basis construction from power series expansions of value functions. In NIPS’10, 2010 Wikipedia revision 1377449612, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1377449612
    Cite this reference

    MLA "S. Mahadevan and B. Liu. Basis construction from power series expansions of value functions. In NIPS’10, 2010 Wikipedia revision 1377449612, retrieved 2026-11-18." S. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1377449612. Accessed 24 November 2026.

    Chicago "S. Mahadevan and B. Liu. Basis construction from power series expansions of value functions. In NIPS’10, 2010 Wikipedia revision 1377449612, retrieved 2026-11-18." S. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1377449612.

    APA S. (2026). S. Mahadevan and B. Liu. Basis construction from power series expansions of value functions. In NIPS’10, 2010 Wikipedia revision 1377449612, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1377449612

  7. R. Parr, C. Painter-Wakefield, L.-H. Li, and M. Littman. Analyzing feature generation for value-function approximation. In ICML’07, 2007. Wikipedia revision 1377449612, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1377449612
    Cite this reference

    MLA "R. Parr, C. Painter-Wakefield, L.-H. Li, and M. Littman. Analyzing feature generation for value-function approximation. In ICML’07, 2007. Wikipedia revision 1377449612, retrieved 2026-11-18." R. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1377449612. Accessed 24 November 2026.

    Chicago "R. Parr, C. Painter-Wakefield, L.-H. Li, and M. Littman. Analyzing feature generation for value-function approximation. In ICML’07, 2007. Wikipedia revision 1377449612, retrieved 2026-11-18." R. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1377449612.

    APA R. (2026). R. Parr, C. Painter-Wakefield, L.-H. Li, and M. Littman. Analyzing feature generation for value-function approximation. In ICML’07, 2007. Wikipedia revision 1377449612, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1377449612

  8. Richard S. Sutton and Andrew G. Barto. Reinforcement Learning: An Introduction.(1998) MIT Press, Cambridge, MA, chapter 8 Wikipedia revision 1377449612, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1377449612
    Cite this reference

    MLA "Richard S. Sutton and Andrew G. Barto. Reinforcement Learning: An Introduction.(1998) MIT Press, Cambridge, MA, chapter 8 Wikipedia revision 1377449612, retrieved 2026-11-18." Richard S. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1377449612. Accessed 24 November 2026.

    Chicago "Richard S. Sutton and Andrew G. Barto. Reinforcement Learning: An Introduction.(1998) MIT Press, Cambridge, MA, chapter 8 Wikipedia revision 1377449612, retrieved 2026-11-18." Richard S. 2026-11-17. https://en.wikipedia.org/w/index.php?oldid=1377449612.

    APA Richard S. (2026). Richard S. Sutton and Andrew G. Barto. Reinforcement Learning: An Introduction.(1998) MIT Press, Cambridge, MA, chapter 8 Wikipedia revision 1377449612, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/w/index.php?oldid=1377449612

  9. William J. Stewart. Numerical methods for computing stationary distributions of finite irreducible Markov chains . In Advances in Computational Probability. Kluwer Academic Publishers, 1997. Wikipedia revision 1377449612, retrieved 2026-11-18 · retrieved 2026-11-17 · rev 1377449612
    Cite this reference

    MLA "William J. Stewart. Numerical methods for computing stationary distributions of finite irreducible Markov chains . In Advances in Computational Probability. Kluwer Academic Publishers, 1997. Wikipedia revision 1377449612, retrieved 2026-11-18." William J. 2026-11-17. https://en.wikipedia.org/wiki/Markov_chain. Accessed 24 November 2026.

    Chicago "William J. Stewart. Numerical methods for computing stationary distributions of finite irreducible Markov chains . In Advances in Computational Probability. Kluwer Academic Publishers, 1997. Wikipedia revision 1377449612, retrieved 2026-11-18." William J. 2026-11-17. https://en.wikipedia.org/wiki/Markov_chain.

    APA William J. (2026). William J. Stewart. Numerical methods for computing stationary distributions of finite irreducible Markov chains . In Advances in Computational Probability. Kluwer Academic Publishers, 1997. Wikipedia revision 1377449612, retrieved 2026-11-18. Retrieved November 24, 2026, from https://en.wikipedia.org/wiki/Markov_chain

Cite this article

MLA

"Automatic basis function construction." encyclopegia.org, 2026, https://encyclopegia.org/wiki/automatic-basis-function-construction. Accessed 24 November 2026.

Chicago

"Automatic basis function construction." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/automatic-basis-function-construction.

APA

encyclopegia.org. (2026). Automatic basis function construction. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/automatic-basis-function-construction

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

graph of a function

stub · references available

basis

stub · references available

monotonic function

stub · references available

zero of a function

stub · references available

automatic frequency control

stub · references available

function composition

stub · references available

Hamiltonian function

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1377449612 · 0.5 · snapshot enwiki-001377449612

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.