When rewards are sparse, an agent's main problem is choosing what to practice. Curriculum methods work best when the agent attempts goals it succeeds at only some of the time. Finding those goals is expensive because success is measured one attempt at a time. This proposal treats the agent's record of attempts as a partially filled table. Each entry records how often the agent succeeds at a given task, from a given coarse starting region, toward a given coarse goal region. Because this is a three-way array rather than a two-way grid, we call it a tensor. We fill in the untried entries with a low-rank model, meaning one built from a few shared patterns. The agent then spends its attempts where predicted success is intermediate and uncertain. Learning still uses only real rewards. Errors in the filled-in table cost at most a wasted attempt; they never contaminate the reward the agent learns from.
The tensor side of the problem is a known trap. Finding the rank of a three-way array is NP-hard. A best low-rank approximation may not even exist, because components can grow without bound while cancelling each other (Tensor Decompositions and Applications). Success counts, however, are non-negative. For non-negative tensors fit with a Kullback–Leibler (Poisson-likelihood) loss, the best rank-one model is convex to find and has a closed form computed from the tensor's marginal sums (Kullback-Leibler Principal Component for Tensors is not NP-hard). Non-negativity also rules out the cancelling components that make least-squares approximation ill-posed. We exploit this. The model starts from the exact, tractable rank-one solution and adds components one at a time. The number of components is chosen by how well the model predicts the agent's own next attempts.
Core Claim
In multi-task and goal-conditioned sparse-reward problems, the success-probability tensor indexed by (task, goal region, start region) has low non-negative rank. Completing it under a Poisson/KL loss, with exact inverse-propensity correction, picks informative practice goals with fewer environment steps than four alternatives:
- selecting goals with the agent's own goal-conditioned critic,
- selecting goals with a neural success classifier,
- flattening the tensor into a matrix and completing that, as policy-aware matrix completion does,
- using archive-based frontier heuristics.
The new element is not "use tensors in RL" in general. It is that low-rank completion is aimed at a quantity where errors are cheap (which goal to try next), at a non-negative loss where the base case is tractable, and with sampling probabilities the agent knows exactly.
Relation to Prior Work
The closest work is policy-aware matrix completion, PAMC (What Reward Structure Enables Efficient Sparse-Reward RL? A Proof-of-Concept with Policy-Aware Matrix Completion; preprint What Fundamental Structure in Reward Functions Enables Efficient Sparse-Reward Learning?). PAMC completes a state × action reward matrix as low-rank plus sparse. It de-biases with estimated inverse propensity weights and abstains when conformal uncertainty is high. It reports effective reward ranks of 6–12. This motivates our premise that sparse-task structure is low-rank. We differ in three ways:
- We complete competence, not reward, so completion errors never become false training targets.
- We keep the multi-way structure that PAMC flattens.
- Our propensities are exact, because the agent's own goal sampler generates them, so they need not be estimated.
Two Rozada-style works factor value tables (Tensor and Matrix Low-Rank Value-Function Approximation in Reinforcement Learning) and policy parameters (Multilinear Tensor Low-Rank Approximation for Policy-Gradient Methods in Reinforcement Learning) with fixed-rank CP decompositions, which write an array as a sum of outer products of vectors. Both are evaluated on dense or shaped control tasks. They show that low-rank structure is common in RL. They also flag fixed rank as an unsolved problem, which our greedy rank growth addresses. We do not replace the agent's networks with tensors.
On the curriculum side, two lines of work set the target:
- Reverse curriculum generation (Reverse Curriculum Generation for Reinforcement Learning) defines the "Goldilocks" band of 10–90% success. Finding starts in that band relies on arbitrary state resets plus repeated empirical evaluation.
- Learned goal proposers (Automated curriculum generation through setter-solver interactions, Adversarial Goal Generation for Intrinsic Motivation) instead train generators to propose feasible goals.
We keep the Goldilocks criterion. We replace exhaustive evaluation with prediction, which shares information across tasks and regions.
Go-Explore (First return then explore) supplies the archive of discretized cells and the return-then-explore mechanic we use to reach start regions without resets. Its reliance on hand-built cells constrains us, so we measure sensitivity to cell size.
On the tensor side, two papers supply method and caution:
- The implicit-regularization result (Implicit Regularization in Tensor Factorization: The Greedy Path to Generalization) shows that gradient descent fits CP components one at a time. This motivates explicit greedy rank growth instead of a fixed rank.
- Orthogonalized ALS (Orthogonalized ALS: A Theoretically Principled Tensor Decomposition Algorithm for Practical Use) shows that alternating updates collapse onto dominant components when component weights are skewed. This will happen when newly reached goals have few attempts, so we test for collapse directly.
The provable completion results for ScaledGD (Scaling and Scalability: Provable Nonconvex Low-Rank Tensor Completion) and t-SVD (Exact tensor completion using t-SVD) assume uniform random sampling. Neither applies directly to agent-chosen entries, which is why exact propensities matter here.
Research Program
We maintain two count arrays over cells $(t, g, s)$ for task $t$, goal region $g$ and start region $s$. $N_{tgs}$ counts attempts and $Y_{tgs}$ counts successes. We model successes as $Y_{tgs} \sim \text{Poisson}(N_{tgs}\,\mu_{tgs})$, and fit the success rates with a non-negative rank-$R$ model:
$$ \hat{\mu} = \arg\min_{\mu = \sum_{r=1}^{R} \lambda_r\, a_r \circ b_r \circ c_r,\ a_r,b_r,c_r,\lambda_r \ge 0} \ \sum_{t,g,s} w_{tgs}\big(N_{tgs}\mu_{tgs} - Y_{tgs}\log(N_{tgs}\mu_{tgs})\big). $$
The symbols are as follows:
- $a_r$, $b_r$, $c_r$ are non-negative factor vectors over tasks, goal regions and start regions.
- $\lambda_r$ is the weight of component $r$.
- $\circ$ is the outer product.
- $w_{tgs}$ is the inverse of the exact probability with which our own goal sampler proposed that cell.
At $R=1$, this objective is the generalized KL divergence covered by the closed-form result of Kullback-Leibler Principal Component for Tensors is not NP-hard. For higher $R$, we grow the model greedily. A component is added by expectation-maximization only if it improves the Poisson likelihood of the next batch of real attempts, which is a free held-out set. Uncertainty comes from a small bootstrap over attempt batches. The goal sampler draws cells with probability proportional to that uncertainty, restricted to cells whose predicted success lies in [0.1, 0.9]. Start regions are reached by a goal-conditioned return to archive cells, so no arbitrary resets are needed. Every sampled cell yields a real attempt, which feeds both the policy learner (any off-policy goal-conditioned agent, e.g. SAC with hindsight relabeling) and the counts.
The analysis has two parts. First, we measure whether competence tensors are low-rank at all. On small domains we evaluate every cell exhaustively at several training checkpoints, then fit the non-negative rank and compute the held-out prediction error. Second, we analyze completion error under known-propensity sampling with a propensity floor. This would extend PAMC's effective-sample-size bound from matrices to a three-way Poisson model. We would treat a weaker result here as acceptable; the empirical work does not depend on it.
Baselines
The naive reference point uses uniform goal sampling over discovered cells with the same policy learner and the same return mechanic. It tells us whether any goal selection matters.
The strongest curriculum competitor is reverse curriculum generation (Reverse Curriculum Generation for Reinforcement Learning). It reports about 90% success on Ring on Peg and 60% on Key Insertion, where uniform start sampling got 0%. It is the strongest competitor because it measures the Goldilocks band directly instead of predicting it. We run it with its privileged resets on those two tasks. That gives it an advantage, so matching it without resets counts as a win. We also run it in a no-reset variant, where starts are restricted to archive cells, which is the fair comparison.
The strongest learned-structure competitor is PAMC (What Reward Structure Enables Efficient Sparse-Reward RL? A Proof-of-Concept with Policy-Aware Matrix Completion). It reports 78% success on MetaWorld-50 against 65% for its best baseline, and 4100±250 on Montezuma's Revenge at 10M steps against 200±50 for DrQ-v2. We run PAMC as published, completing rewards. We also run a variant that applies PAMC's matrix completion to our competence counts, flattened as (task × goal) by start. A third variant, square-reshaped, follows Square Deal: Lower Bounds and Improved Relaxations for Tensor Recovery. These variants isolate tensor structure from the choice of competence as the target.
We also compare against two learned goal proposers, Automated curriculum generation through setter-solver interactions and Adversarial Goal Generation for Intrinsic Motivation. No reported result was found on Lacuna for either on our benchmarks. We also include Go-Explore-style archive selection by visit count, using uber-research/go-explore.
Two ablations isolate the key ingredient:
- rank-one only, the closed-form independence model, which tests whether interactions between modes carry any signal;
- fixed-rank CP without propensity weights, which tests the greedy rank growth and the exact weighting.
All methods share the following controls:
- the same policy learner, network sizes, environment-step budget, number of seeds (10) and archive discretization;
- each goal-selection method gets the same hyperparameter-search budget, 20 configurations tuned on MT10 only;
- MT50 and the mazes are held out from tuning.
Beating a baseline means reaching its final success rate in at most 70% of its environment steps, with non-overlapping 95% bootstrap intervals on area under the learning curve.
Why not just…?
Why not just use the goal-conditioned critic to estimate success probability? This is the most serious threat. The critic already predicts success for any (start, goal) pair it can query. Our counter-argument is that an off-policy critic extrapolates poorly to untried goals early in training, and it does not share information across tasks the way a factor over tasks does. That is an argument, not evidence. The critic-based selector is therefore a baseline, run with identical sampling rules. We will also measure each selector's held-out Brier score on real next attempts. If the critic matches the completion model in both prediction and learning speed, the claim fails. The fallback would then be the cheaper finding that critic-based Goldilocks selection removes the need for resets.
Why not just train a small neural success classifier with ensemble uncertainty on the same attempt data? It sees the same counts and could learn the same structure. We train a bootstrapped multilayer perceptron on one-hot (task, goal, start) indices and also on raw goal coordinates. The test is whether the low-rank prior wins when data are scarce, in the first 10–20% of training, where we expect it to help. We report that window separately.
Why not just flatten to a matrix, as PAMC does? For three modes, the most balanced flattening is still lopsided. Square Deal: Lower Bounds and Improved Relaxations for Tensor Recovery shows that unbalanced flattenings need far more samples than the true degrees of freedom. On video data, Exact tensor completion using t-SVD reports a relative error of 0.0915 for tensor completion against 0.1409 for frame-by-frame matrix completion. Neither result concerns competence tensors, so the flattened and square-reshaped variants above settle the question directly.
Why not just select frontier cells by visit counts, as Go-Explore does? Counts say where the agent has rarely been, not where it is about to succeed. In multi-task settings, many rarely visited cells are infeasible. The count-based baseline and the measured fraction of attempts falling inside the Goldilocks band will show whether prediction reduces wasted attempts.
Proposed Experiments
The first, decisive check runs before any agent comparison. In point-mass and Ant mazes and in Meta-World MT10 with 16 goal regions per task, we exhaustively evaluate the competence tensor at five checkpoints. We report the non-negative rank needed to reach a held-out Poisson deviance within 5% of the full model. If that rank is not small, around 10 or below relative to the tensor's dimensions, the project stops or narrows.
The second check fits the completion model to the agent's own non-uniform attempt logs. It compares weighted and unweighted completion against exhaustive ground truth. It also tracks whether factors collapse as newly reached goals accumulate few attempts. If they do, we add the QR step from Orth-ALS.
The main experiments follow. We run sparse-success versions of Meta-World MT10 and MT50 (Meta-World: A Benchmark and Evaluation for Multi-Task and Meta Reinforcement Learning reports multi-headed SAC at 85% on MT10 and 40% on MT50). We add Ant Maze with goal regions, plus Ring on Peg, Key Insertion and Fetch Pick-and-Place. The metrics are:
- success rate on the full task-and-goal distribution as a function of environment steps;
- Brier score of predicted success on held-out next attempts;
- the fraction of attempts landing in the 10–90% band;
- the rank chosen over training, which we expect to grow as the frontier expands.
Sensitivity studies vary cell size and the number of tasks; we expect the tensor's advantage to grow with more tasks. The result that would make the proposal worthwhile has three parts. Completion must beat the critic and neural-classifier selectors early in training on MT50. It must match reset-based reverse curriculum without resets. The full-rank model must beat its rank-one ablation, which would show that interactions between modes, not just per-task and per-goal difficulty, drive the gain.
References
- Tensor Decompositions and Applications
- Kullback-Leibler principal component for tensors is not NP-hard
- What Reward Structure Enables Efficient Sparse-Reward RL? A Proof-of-Concept with Policy-Aware Matrix Completion
- What Fundamental Structure in Reward Functions Enables Efficient Sparse-Reward Learning?
- Tensor and Matrix Low-Rank Value-Function Approximation in Reinforcement Learning
- Multilinear Tensor Low-Rank Approximation for Policy-Gradient Methods in Reinforcement Learning
- Reverse Curriculum Generation for Reinforcement Learning
- Automated curriculum generation through setter-solver interactions
- Adversarial Goal Generation for Intrinsic Motivation
- First return then explore
- Implicit Regularization in Tensor Factorization
- Orthogonalized ALS: A Theoretically Principled Tensor Decomposition Algorithm for Practical Use
- Scaling and Scalability: Provable Nonconvex Low-Rank Tensor Completion
- Exact Tensor Completion Using t-SVD
- Square Deal: Lower Bounds and Improved Relaxations for Tensor Recovery
- Meta-World: A Benchmark and Evaluation for Multi-Task and Meta Reinforcement Learning