Papers
Topics
Authors
Recent
Search
2000 character limit reached

Maximum Sample Reuse (MSR) in ML & Storage

Updated 4 July 2026
  • Maximum Sample Reuse (MSR) is a multifaceted concept with domain-specific meanings, ranging from aggressive data reuse in machine learning to optimal repair in distributed storage.
  • In reinforcement learning and black-box optimization, methods like GePPO, SMR, and NSR maximize sample efficiency while carefully managing instability, bias, and overfitting.
  • In coding theory, MSR denotes Minimum Storage Regenerating codes that minimize repair bandwidth, illustrating a distinct, rigorous approach to data recovery in storage systems.

Maximum Sample Reuse (MSR) is not a single standardized technical term across the arXiv literature. In reinforcement learning, black-box optimization, and variance-reduction methods, it denotes the attempt to extract as much learning signal as possible from a fixed set of trajectories, transitions, or stochastic queries before collecting new data. In distributed storage, by contrast, “MSR” conventionally means Minimum Storage Regenerating codes, a class of MDS codes defined by optimal repair bandwidth rather than data reuse. In Mining Software Repositories, “MSR” names the research area itself, and recent work studies reuse at the level of annotated datasets. The resulting literature is unified less by a common formal definition than by recurring trade-offs among reuse, stability, variance, and operational constraints (Queeney et al., 2021, Lyu et al., 2023, Guruswami et al., 2019, Ather et al., 29 May 2026).

1. Terminological scope and domain-specific meanings

The phrase “Maximum Sample Reuse” is used most naturally in machine learning and optimization settings where the same observations, simulator calls, or sampled indices can be exploited multiple times. In those literatures, the central question is how far reuse can be pushed before instability, bias, or overfitting dominates. In coding theory, the acronym is already occupied: MSR means Minimum Storage Regenerating, not maximum reuse of observations or data points (Alrabiah et al., 2019, Ramkumar et al., 2024).

Context Meaning of MSR Representative mechanism
Reinforcement learning Maximizing useful reuse of trajectories or transitions GePPO, SMR, NSR
Black-box optimization and variance reduction Reusing previously generated randomness or evaluated samples Importance mixing, IGO reuse, pseudo-independent reuse
Mining Software Repositories Reuse of existing MSR datasets MIRAGE metadata enrichment
Distributed storage Minimum Storage Regenerating Exact MSR and ε\varepsilon-MSR codes

This terminological split is explicit in several papers. The GePPO paper states that “Maximum Sample Reuse (MSR)” is not a named concept there, but that the work is about how far one can safely push sample reuse in PPO without breaking policy improvement guarantees. The MIRAGE paper uses “MSR” strictly in the Mining Software Repositories sense and discusses maximizing reuse of existing datasets through richer annotation. The coding-theory papers explicitly state that “MSR” means Minimum Storage Regenerating rather than Maximum Sample Reuse (Queeney et al., 2021, Ather et al., 29 May 2026, Guruswami et al., 2019).

2. Reinforcement learning: off-policy reuse, repeated updates, and novelty weighting

In reinforcement learning, MSR-style methods differ mainly in what is being reused and what safety mechanism constrains the reuse. GePPO generalizes PPO by reusing data from the last MM policies,

πk,πk1,,πkM+1,\pi_k,\pi_{k-1},\dots,\pi_{k-M+1},

rather than discarding trajectories after a single on-policy update. At iteration kk, it collects nn fresh samples with πk\pi_k, then uses nn samples from each of the last MM policies to approximate LGePPOk(π)L^{\text{GePPO}_k(\pi)}, so each update uses MnMn samples and each sample can be used in updates for up to MM0 iterations. Its safety mechanism is a generalized policy improvement lower bound with an importance-sampled surrogate term and a penalty term based on total variation distance, together with generalized clipping around

MM1

and an adaptive learning rate that decreases when MM2 and increases when MM3. The paper also derives the scaling

MM4

which ties safe trust-region size directly to the effective age of reused data. On six MuJoCo tasks, with MM5, GePPO improved average performance over MM6M steps by MM7 on Swimmer, MM8 on Hopper, MM9 on HalfCheetah, πk,πk1,,πkM+1,\pi_k,\pi_{k-1},\dots,\pi_{k-M+1},0 on Walker2d, πk,πk1,,πkM+1,\pi_k,\pi_{k-1},\dots,\pi_{k-M+1},1 on Ant, and πk,πk1,,πkM+1,\pi_k,\pi_{k-1},\dots,\pi_{k-M+1},2 on Humanoid; the steps required to match PPO’s final performance fell to πk,πk1,,πkM+1,\pi_k,\pi_{k-1},\dots,\pi_{k-M+1},3M, πk,πk1,,πkM+1,\pi_k,\pi_{k-1},\dots,\pi_{k-M+1},4M, πk,πk1,,πkM+1,\pi_k,\pi_{k-1},\dots,\pi_{k-M+1},5M, πk,πk1,,πkM+1,\pi_k,\pi_{k-1},\dots,\pi_{k-M+1},6M, πk,πk1,,πkM+1,\pi_k,\pi_{k-1},\dots,\pi_{k-M+1},7M, and πk,πk1,,πkM+1,\pi_k,\pi_{k-1},\dots,\pi_{k-M+1},8M respectively, versus πk,πk1,,πkM+1,\pi_k,\pi_{k-1},\dots,\pi_{k-M+1},9M for PPO (Queeney et al., 2021).

A second line of work treats reuse as repeated optimization over the same sampled batch. “Sample Multiple Reuse” reuses one replay-buffer mini-batch for kk0 consecutive actor-critic updates before resampling. In tabular nonreturnable MDPs, this yields an effective learning rate

kk1

and the paper proves convergence of Q-SMR under standard assumptions for tabular Q-learning. In continuous control, the same mechanism is applied to SAC, TD3, TQC, DARC, REDQ, and DrQ-v2. With SAC-SMR at kk2, the number of environment steps needed to reach fixed score thresholds dropped from kk3K to kk4K on Hopper-v2 at kk5, from kk6K to kk7K on Ant-v2 at kk8, from kk9K to nn0K on HalfCheetah-v2 at nn1, and from nn2K to nn3K on Walker2d-v2 at nn4. The paper also reports that nn5 already improves sample efficiency, that performance generally improves up to nn6, and that nn7 may help further but increases compute and overfitting risk (Lyu et al., 2023).

A third approach reallocates reuse unevenly across states. NSR, “Novelty-guided Sample Reuse,” measures state novelty with Random Network Distillation and converts the normalized novelty score into a clipped weight nn8. The critic loss is multiplied by nn9 inside the temporal-difference residual and the actor loss by πk\pi_k0, so rare states receive more effective updates while frequent states retain at least unit weight. In Fetch Reach, Push, and PickAndPlace, NSR reaches higher success rates than DDPG-HER at the same number of training steps. The paper also shows that literal repeated updates can be slightly better in some cases but at significantly higher wall-clock time, while novelty-based weights outperform both mean-weight and random-weight ablations, indicating that the location of extra reuse matters, not only its magnitude (Duan et al., 2024).

3. Black-box optimization and variance reduction: importance weighting, rejection sampling, and pseudo-independence

In evolutionary policy search, the reuse problem is distributional rather than temporal-difference based. Importance mixing constructs a new generation that remains i.i.d. from the new sampling distribution πk\pi_k1 while reusing as many old evaluated policies from πk\pi_k2 as possible. Old samples are accepted with probability

πk\pi_k3

and newly drawn samples from the new distribution are accepted with probability

πk\pi_k4

Extended Importance Mixing applies the same logic to several past generations. Empirically, however, most effective reuse comes from the immediately preceding generation: total reuse was about πk\pi_k5 for ES, πk\pi_k6 for CEM, and πk\pi_k7–πk\pi_k8 for CMA-ES and SNES, but the fraction attributable specifically to the extended archive was πk\pi_k9 for ES, about nn0 for CEM, and only about nn1–nn2 for CMA-ES and SNES (Pourchot et al., 2018).

In Information Geometric Optimization, reuse is expressed through importance sampling over a mixture of current and past search distributions,

nn3

so that samples from the last nn4 generations contribute to both quantile estimation and natural-gradient estimation with weights proportional to nn5. The paper proves that this mixture-based estimator has lower variance than the corresponding sum of per-distribution importance-sampling estimators under the stated condition nn6 constant, and shows empirically that nn7 already yields strong gains, that nn8–nn9 captures most of the remaining benefit, and that large MM0 can hurt on multimodal functions such as Rastrigin (Shirakawa et al., 2018).

The 2025 variance-reduction framework generalizes reuse further by separating randomness into an oblivious seed MM1, which generates the sample queries, and an adaptive seed MM2, which governs the remaining randomness of the sub-solver. Its meta-algorithm MM3 has a Reuse mode in which the same MM4 is used in all outer iterations. The key technical notion is MM5-pseudo-independence: a randomized algorithm MM6 is pseudo-independent of MM7 if, for most realizations of MM8, its output distribution is close in total variation to that of a randomized algorithm MM9 that does not depend on LGePPOk(π)L^{\text{GePPO}_k(\pi)}0 at all. The paper proves that adding uniform noise converts sufficiently accurate sub-solvers into pseudo-independent ones, and then uses this to improve full-batch versus sample-query trade-offs. For finite-sum minimization, the trade-off becomes

LGePPOk(π)L^{\text{GePPO}_k(\pi)}1

improving on the prior

LGePPOk(π)L^{\text{GePPO}_k(\pi)}2

Analogous improvements are given for top-eigenvector computation, discounted MDPs, average-reward MDPs, and matrix games (Jin et al., 2 Sep 2025).

4. Dataset-level reuse in Mining Software Repositories

In Mining Software Repositories, reuse refers not to replaying trajectories or resampling gradients but to making existing datasets easier to discover, evaluate, and repurpose. MIRAGE extends an earlier “Directory of MSR Datasets” by collecting paper-level metadata for MSR papers from LGePPOk(π)L^{\text{GePPO}_k(\pi)}3 to LGePPOk(π)L^{\text{GePPO}_k(\pi)}4 through the Semantic Scholar API, applying LDA topic modeling with LGePPOk(π)L^{\text{GePPO}_k(\pi)}5 topics to preprocessed abstracts, and adding dataset-level attributes such as hosting platform, dataset format, accessibility, dataset type, research method, reusability score, and quality flag. The number of attributes per dataset increases from about LGePPOk(π)L^{\text{GePPO}_k(\pi)}6 to more than LGePPOk(π)L^{\text{GePPO}_k(\pi)}7, enabling multi-dimensional filtering and a more explicit FAIR-oriented view of reusability (Ather et al., 29 May 2026).

The empirical analysis is descriptive rather than causal, but it isolates several patterns associated with higher reuse and citation impact. Software Issues datasets are the most frequent type at about LGePPOk(π)L^{\text{GePPO}_k(\pi)}8, while Version Control datasets have the highest citation averages. Among hosting platforms, “Other platforms” show about LGePPOk(π)L^{\text{GePPO}_k(\pi)}9 average citations, GitHub about MnMn0, Zenodo about MnMn1, and Bitbucket or Figshare about MnMn2–MnMn3. Among dataset formats, ZIP archives average about MnMn4 citations whereas “Unknown” format averages about MnMn5. The paper also notes one topic with about MnMn6 average citations. It argues that GitHub’s visibility and ease of cloning support reuse, that ZIP packaging simplifies download and setup, and that richer annotation improves discoverability, but it simultaneously records major limitations: citation bias by age, heuristic URL and metadata extraction, the absence of a formal FAIR score, no user study of discoverability, and no regression or causal analysis (Ather et al., 29 May 2026).

In this setting, a plausible implication is that “maximum sample reuse” becomes an infrastructural problem: reuse is bounded less by estimator variance than by metadata quality, accessibility, and packaging. MIRAGE treats those factors as operational proxies for reuse potential rather than as a single numerical objective.

5. Minimum Storage Regenerating codes: the unrelated but standard meaning of MSR

In coding theory, MSR has a precise and unrelated meaning. For an MnMn7 MDS code over a field MnMn8 with sub-packetization MnMn9 over a base field MM00, the repair bandwidth for a node MM01 and helper set MM02 is bounded below by the cut-set bound

MM03

and equality is attained when each helper returns exactly

MM04

subsymbols. A code achieving this bound is a Minimum Storage Regenerating code (Guruswami et al., 2019).

The core obstruction in exact MSR coding is sub-packetization. For general linear exact-repair MSR codes with redundancy MM05, the 2019 lower-bound paper proves that one must have

MM06

which the abstract describes as settling a central open question. The result shows that exponentially large sub-packetization is inherent for linear exact-repair MSR codes, not merely an artifact of existing constructions (Alrabiah et al., 2019).

This motivates near-MSR relaxations. For Reed–Solomon codes, the 2019 MM07-MSR paper defines MM08-MSR by allowing repair bandwidth at most a factor MM09 above the cut-set bound while keeping per-helper download within the same factor, and constructs constant-rate MM10-MSR Reed–Solomon codes with polynomial sub-packetization

MM11

instead of the MM12 behavior associated with exact MSR Reed–Solomon codes. A later 2024 paper constructs MM13-MSR codes for any set of helper nodes, for any MM14, and shows existence of codes with MM15 for fixed MM16 and MM17, linear field size, and a multi-erasure extension that supports all MM18 and all MM19 simultaneously (Guruswami et al., 2019, Ramkumar et al., 2024).

The explicit high-rate coupled-layer construction of 2016 gives a concrete exact-MSR family with

MM20

so that with MM21,

MM22

It provides all-node exact repair, field size MM23, and a coupled-layer architecture built from a scalar MM24 MDS code of block length MM25. The same architecture is further generalized to vector binary MDS codes, allowing computations over fields as small as MM26 in an appropriate vector-symbol model (Sasidharan et al., 2016).

6. Recurring constraints, common misconceptions, and comparative themes

Across the literatures that actually use MSR in the sample-reuse sense, reuse is never unconstrained. GePPO limits reuse through a finite horizon MM27, policy-age weights MM28, generalized clipping, and adaptive control of empirical total variation. SMR exposes reuse through an explicit ratio MM29, but the paper reports that very large MM30 can increase compute and overfitting risk, and that DDPG-SMR on Ant-v2 underperforms vanilla DDPG, apparently because repeated updates amplify overestimation bias. NSR bounds reuse asymmetrically by clipping novelty weights to MM31, thereby preventing any single state from receiving unbounded effective update strength (Queeney et al., 2021, Lyu et al., 2023, Duan et al., 2024).

In the importance-sampling and variance-reduction literatures, the limiting factor is distribution drift or dependence on reused randomness. Importance mixing shows that archive depth is formally possible but empirically weak because older generations rapidly lose overlap with the current search distribution. The IGO reuse paper shows similar saturation: moderate MM32 helps, but very large MM33 offers little benefit and can hurt on multimodal objectives. The 2025 framework makes the same point in a more abstract form: only the oblivious randomness MM34 is reused, while adaptive randomness MM35 remains fresh, and reuse becomes valid only after the sub-solver is converted into a pseudo-independent one (Pourchot et al., 2018, Shirakawa et al., 2018, Jin et al., 2 Sep 2025).

A recurrent misconception is that “MSR” has a uniform meaning across technical fields. The evidence is the opposite. In reinforcement learning and optimization, the phrase denotes aggressive reuse of data, batches, or randomness; in Mining Software Repositories, reuse concerns annotated dataset artifacts; in coding theory, MSR denotes Minimum Storage Regenerating codes and has no relation to sample reuse at all. Another misconception is that stronger reuse automatically implies better performance. The available results are more conditional: MIRAGE’s citation patterns are explicitly exploratory and not supported by regression or causal analysis, NSR is empirical and does not provide formal convergence guarantees, and SMR’s improvements depend on the stability properties of the base algorithm (Ather et al., 29 May 2026, Duan et al., 2024, Guruswami et al., 2019).

This suggests that, in practice, “maximum” reuse is usually a constrained optimum rather than a literal maximum. The operative question is not whether every sample can be reused indefinitely, but under which structural conditions—trust regions, bounded novelty weights, rejection-sampling corrections, importance weights, pseudo-independence, or richer metadata—the marginal value of further reuse remains positive rather than destabilizing.

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Maximum Sample Reuse (MSR).