In classical tabular reinforcement learning (RL), the environment is treated as a discrete grid of states and actions. To guarantee that an agent finds an optimal policy, standard theory dictates that the agent must visit every state-action pair sufficiently many times. Consequently, the sample complexity—the amount of data required to learn—scales directly with the cardinality of the state space $|S|$ and action space $|A|$. In real-world applications, where states represent continuous physical coordinates or high-dimensional pixel inputs, $|S|$ is effectively infinite, rendering tabular methods completely intractable.
To break this "curse of dimensionality," modern RL theory relies on function approximation. The core intuition is simple: if the underlying dynamics of a massive environment can be compressed into a low-dimensional feature space, the difficulty of the learning task should depend on the complexity of the features, not the physical size of the state space. This insight has led to a rich body of work establishing state-space independent sample complexity, proving that we can learn optimal policies in infinite environments with a finite, manageable amount of data.
The Core Mechanism: Linear Markov Decision Processes
How do we mathematically guarantee that an algorithm can generalize across an infinite state space? The most prominent framework is the Linear MDP, analyzed extensively by Chi Jin et al. and Lin F. Yang et al.
In a Linear MDP, we assume that the environment possesses a known feature mapping $\phi(s, a) \in \mathbb{R}^d$, where the dimension $d$ is much smaller than the total number of states ($d \ll |S|$). Crucially, both the transition probabilities and the reward functions are assumed to be linear combinations of these features.
This structural assumption has an elegant mathematical consequence: it ensures that the Bellman optimality operator preserves linearity. If the value function at step $t+1$ is linear in the features, the expected value at step $t$ remains linear. As demonstrated by Chi Jin et al., by adding an optimistic exploration bonus directly to a least-squares value iteration algorithm, the cumulative regret scales purely with the feature dimension $d$ and the task horizon $H$, completely bypassing any dependence on $|S|$. Similarly, Lin F. Yang et al. showed that a sample-optimal Q-learning variant can find a near-optimal policy using a total number of samples proportional only to $d$, confirming that tractability is governed by feature dimensionality.
Why It Works: Geometric Exploration in Feature Space
To understand why feature-based scaling works, it helps to look at exploration through a geometric lens. In a tabular setting, exploring means wandering around a graph to find unvisited nodes. In a linear setting, exploring means finding a set of actions that span the feature space in all directions.
Instead of visiting every single state, the agent only needs to collect data that provides good "coverage" of the feature space. This is closely related to the classical statistical concept of optimal experimental design. As Tor Lattimore et al. demonstrate, if an agent has access to a generative model, it can identify a small set of "anchor" actions that geometrically encapsulate the entire environment. By sampling only these anchor points, the agent can extrapolate the value of all other actions with bounded error, scaling its sample requirements with the feature dimension rather than the size of the state-action space.
When identifying the best policy without a simulator, algorithms like the G-Sampling-and-Stop (GSS) framework proposed by Jérôme Taupin et al. use G-optimal design to actively minimize the variance of least-squares estimators. The growth of the exploration set is fundamentally bounded by the underlying dimensionality of the feature class, as shown by Dong Yin et al., ensuring that the agent quickly stops making sub-optimal exploratory moves once the feature space is sufficiently covered.
Decoupling Exploration from Rewards and Horizons
A major benefit of state-space independence is the ability to perform reward-free exploration. In many scenarios, we want an agent to explore an environment thoroughly without knowing the reward function in advance, so it can instantly solve any task given to it later.
Ruosong Wang et al. and Weitong Zhang et al. proved that reward-free exploration is statistically efficient in Linear MDPs. Because the transition dynamics are fully captured by the low-dimensional features, the agent can build a global model of the environment's transitions during a single exploration phase. Once this feature-based model is learned, finding an optimal policy for a new reward function requires no further environment interaction.
Furthermore, this feature-centric view allows researchers to decouple the complexity of external constraints from the environment's size. For instance, in preference-based RL where rewards are learned from human feedback, Wenhao Zhan et al. showed that the required amount of human feedback scales only with the structural complexity of the reward features, remaining entirely independent of the state-action cardinality. Similarly, Nan Jiang et al. demonstrated that by leveraging linear value approximations, the number of expert queries needed to solve complex tasks can be kept constant even as the temporal depth or horizon of the problem increases.
Filtering Irrelevant Information and Offline Constraints
Real-world environments often contain a massive amount of "exogenous noise"—information that changes over time but has no bearing on the agent's task (e.g., clouds moving in the background of a driving simulator). Tabular methods fail here because every combination of task-relevant states and background noise creates a unique state.
Feature-based representations naturally mitigate this issue. Angela Zhou showed that in offline RL, theoretical error bounds can be restricted strictly to the size of the reward-relevant feature set, ensuring that high-dimensional, irrelevant state dimensions do not degrade policy evaluation performance. When dealing with complex datasets offline, Volodymyr Tkachuk et al. proved that sample complexity is dictated entirely by feature dimensionality and data coverage rather than state-space size, allowing agents to extract optimal policies from pre-collected logs without exploding data requirements.
Pushing Past Pure Linearity
While the Linear MDP framework provides clean geometric intuition, the physical world is rarely perfectly linear. To bridge this gap, researchers have extended state-space independent guarantees to non-linear and infinite-dimensional settings using kernels and general function classes.
Lin F. Yang et al. introduced MatrixRL, demonstrating that if the transition dynamics operate in an infinite-dimensional feature space, the learning complexity is governed by the effective dimension of the kernel space rather than the absolute number of features. Going even further, Alekh Agarwal et al. established structural conditions for non-linear function approximation (such as neural networks) in large action spaces. They showed that by decomposing Bellman residuals into an inner product of feature maps, the sample complexity scales with the intrinsic dimensionality of the function class, allowing continuous control tasks to be solved with the same theoretical efficiency as linear models.