acceptodds
Published as a conference paper at NeurIPS 2026

Dynamic Tokenization via Reinforcement Patching: End-to-end Training and Zero-shot Transfer

Yulun Wu, Sravan Kumar Ankireddy, Samuel Sharpe, Nikita Seleznev, Dehao Yuan, Hyeji Kim, Nam Nguyen

Abstract

Efficiently aggregating spatial or temporal horizons to acquire compact representations has become a unifying principle in modern deep learning models, yet learning data-adaptive representations for long-horizon sequence data, especially continuous sequences like time series, remains an open challenge. While fixed-size patching has improved scalability and performance, discovering variable-sized, data-driven patches end-to-end often forces models to rely on soft discretization, specific backbones, or heuristic rules. In this work, we propose Reinforcement Patching (ReinPatch), a novel framework that jointly optimizes a sequence patching policy and its downstream sequence backbone model with reinforcement learning. By formulating patch boundary placement as a discrete decision process optimized via Group Relative Policy Gradient (GRPG), ReinPatch bypasses the need for continuous relaxations and performs dynamic patching policy optimization in a natural manner. Moreover, our method allows strict enforcement of a desired compression rate, freeing the downstream backbone to scale efficiently, and natively supports multi-level hierarchical modeling. We evaluate ReinPatch on time-series forecasting datasets, where it demonstrates compelling performance compared to state-of-the-art data-driven patching strategies. Furthermore, our detached design allows the patching module to be extracted as a standalone foundation patcher, providing the community with visual and empirical insights into the segmentation behaviors preferred by a purely performance-driven neural patching strategy.

Keywords:
Atlanta

Reviews

Among:
Shape:
123456this paper, Top 24%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 4.67 over 3 reviews, above 76% of the others.
Reviewer_1MifOpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
3
Quality
3
Significance
3
Read review
Summary

This study addresses learning data-adaptive representations for long-horizon sequence data, especially continuous sequences like time series, by Reinforcement Patching (ReinPatch), a novel framework that jointly optimizes a sequence patching policy and its downstream sequence backbone model with reinforcement learning. The method formulated patch boundary placement as a discrete decision process optimized via Group Relative Policy Gradient (GRPG). ReinPatch bypasses the need for continuous relaxations and performs dynamic patching policy optimization in a natural manner. The authors evaluate the proposed method on 8 datasets and four horizons and compare it against different state-of-the-art patching techniques . Experimental results show that the approach reduces average MSE by 4.9% and average MAE by 3.3% across datasets.

Strengths and weaknesses

Writing quality was good. It was theoretically sound and was able to follow the work. Introducing dynamic patching using RL is a new angle that has not been explored before. However, it has not been compared with any time series foundational model or state-of-the-art deep learning model like PatchTST, TimeMixer, or itransformer. One of cited paper[1] in your work has shown a very comprehensive results for this type of work and you can take inspiration from their way of presenting the results. Only 8 datasets were explored, which is very minimal given that most of the benchmarks like Gift Eval, TSFM-Bench now have a lot of datasets available. Figure 1, which is the backbone of the paper, has not been explained enough in the text, so it was difficult to follow.

[1] Wu, X., Qiu, X., Cheng, H., Li, Z., Hu, J., Guo, C., & Yang, B. (2026). Enhancing time series forecasting through selective representation spaces: A patch perspective. Advances in Neural Information Processing Systems, 38, 23328-23354

Questions

• can you clarify which sequence model did you use? • Why is there no comparison with foundational models? • Instead of these 8 datasets, can we check the results on any benchmark like Gift eval?

Limitations

Yes

Paper formatting concerns

No

Final justification

I am raising my score to 4 since the author has elaborated and clarified the points I raised and explained why the results are not comparable in benchmarks like Gift-Eval, which is more suitable for foundational models.

Reviewer_PqkqOpenReview ↗
Rating
5
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

This paper introduces a reinforcement learning–based method for dynamic patching, enabling more efficient and generalizable tokenization for time-series forecasting models. The proposed approach adds a policy model on top of a standard sequential forecasting model, where the policy model learns to determine patch boundaries during training. This adaptive patching strategy not only improves end-to-end forecasting performance but also generalizes well in zero-shot settings when pretrained on a universal dataset.

Strengths and weaknesses

Strengths:

  1. The idea of reinforcement learning–based dynamic patching is clear, elegant, and well-motivated.
  2. The paper is well written and easy to follow.
  3. The experimental results are convincing and are supported by intuitive visualizations.

Weaknesses:

  1. The related work section is not sufficiently comprehensive, especially with respect to comparable ideas such as self-supervised learning for time-series modeling.
  2. The baseline methods are not introduced clearly enough, making it difficult to fully assess the fairness of the comparisons.
  3. It is unclear why a single universal policy on fixed static time ranges should generalize well across time series from different domains, time ranges, or temporal patterns.
Questions

Q1. How does the proposed dynamic patching mechanism relate to existing self-supervised learning methods for time-series modeling? It would be helpful to include more comparable examples in the related work section, especially methods that also incorporate adaptive or dynamic temporal modeling.

Q2. Could the authors provide a clearer discussion of prior dynamic patching methods and explain why ReinPatch is expected to outperform them? A more detailed comparison would help clarify the specific advantages of the proposed reinforcement learning–based patching policy.

Q3. As far as I understand, the policy model decides patch boundaries over a fixed set of discrete positions, such as 0,…,L−1, within the input window. However, in real-world time-series datasets, observations are associated with actual timestamps, and these timestamps may carry meaningful temporal information across patches. Would a policy model that conditions on real timestamp information, rather than only relative discrete positions, further improve patch selection and generalization?

Limitations

yes

Paper formatting concerns

No formatting concerns.

Reviewer_ZT5FOpenReview ↗
Rating
5
Clarity
3
Confidence
4
Originality
4
Quality
3
Significance
4
Read review
Summary

This paper proposes a novel and timely approach to dynamic patching for time-series forecasting, addressing a key limitation of existing patch-based methods such as PatchTST, which rely on static or heuristically defined patching strategies. The motivation and positioning of the proposed method are clearly articulated, and the discussion of related work is comprehensive and well contextualized within the existing literature.

The paper's main contributions can be summarized as follows:

  1. The authors pre-train the patcher on the UTSD dataset and subsequently freeze its parameters during downstream adaptation, training only the forecasting backbone. Experimental results demonstrate strong performance, achieving a mean rank of 1.125 for both MSE and MAE across benchmarks, with first-place results in 42 out of 64 evaluation settings.

  2. The empirical analysis, particularly in Figure 2, shows that the RL-based optimization strategy consistently outperforms entropy-driven alternatives, with performance gains becoming more pronounced under longer input contexts.

  3. This constitutes the methodological core of the paper, enabling adaptive patch selection while explicitly controlling the compression ratio through the environment design. The proposed formulation effectively balances information preservation and computational efficiency, contributing to the robustness of the learned patching strategy.

Strengths and weaknesses

Strengths

  1. Figure 2 provides a clean comparison between entropy-based and RL-learned boundaries using the same backbone and forecasting setup. The growing performance gap at longer context lengths supports the authors' claim that a forecasting-aligned objective is more effective than an entropy proxy for heterogeneous time series.

  2. Enforcing the compression budget through a hard constraint in the environment is a principled design choice that avoids specification gaming. The permutation test in Table 5 further demonstrates that the learned boundaries are meaningfully different from random partitions under the same compression ratio.

  3. The GRPG objective is well matched to the terminal-reward, effectively one-step setting. The frozen-patcher/backbone-as-environment formulation is conceptually clean and enables the proposed foundation-patcher paradigm.

Weaknesses

  1. Although the proposed method generally performs well, improvements over the entropy-based baseline are often modest, and error bars overlap on several datasets (e.g., ECL, ETTm1, and ETTh2).

  2. The problem is essentially a one-step contextual bandit, and the paper does not compare against differentiable alternatives such as straight-through estimators or Gumbel-Softmax applied to the same boundary-selection task. Existing comparisons are confounded by architectural differences.

  3. The strongest results are achieved with a frozen pretrained patcher rather than joint optimization. This raises the question of whether gains primarily come from the RL objective or from large-scale UTSD pretraining and exposure.

  4. Some design decisions, such as reward normalization variants and dataset-specific compression settings, introduce additional degrees of freedom. More sensitivity analysis would strengthen the conclusions.

  5. The reported 2× memory improvement is relative to the entropy-based patcher. Compared with static patching, the method still incurs higher memory usage and lower throughput, which is a more relevant practical baseline.

Questions

Please see the weaknesses outlined above. Clarifications and additional discussion addressing these concerns would be highly appreciated. In particular, I would like the authors to comment on the following questions:

  1. Could the authors provide a head-to-head comparison where the only changing component is the boundary optimization method (e.g., RL/GRPG versus straight-through estimators or Gumbel-Softmax relaxations) while keeping the boundary representation and forecasting backbone identical? As far as I understand, the comparison against H-Net is intended to suggest such an advantage, but architectural differences make the conclusion difficult to isolate.

  2. How much of the zero-shot improvement can be attributed to the RL objective itself versus large-scale UTSD pretraining? For example, what happens when (a) the pretraining corpus is substantially reduced, or (b) a non-RL patcher (e.g., entropy-based or heuristic) is pretrained and frozen under the same downstream adaptation protocol? Such experiments would help separate the effect of learned RL boundaries from the benefits of extensive pretraining data.

  3. How sensitive are the results to the end-to-end compression parameter (r_m) and to the choice between reward centering and reward standardization? A small sensitivity analysis would help demonstrate that the reported improvements are robust and not dependent on dataset-specific tuning choices.

  4. The current formulation benefits from reducing patch selection to an effectively one-step contextual-bandit problem. The paper notes that generative or causal inference-time adaptation is more challenging. To what extent would the proposed framework and its advantages carry over to a genuinely sequential decision-making setting, where patching decisions must be made autoregressively over time?

Limitations

yes

Paper formatting concerns

N/A

Final justification

I am raising my score to a 5 in light of the authors' extensive and highly rigorous rebuttal. The authors directly and convincingly addressed my core concerns, particularly regarding the isolation of their methodological contributions.

Resolved Issues (High Weight in my decision):

  • Isolation of the RL Objective: My primary concern was whether the performance gains came from the RL objective itself, or if they were artifacts of architectural differences (vs. H-Net) or the large-scale UTSD pretraining. The authors resolved this completely by providing new, computationally expensive baselines: STE, Gumbel-Softmax, H-Net with an identical transformer backbone, and a UTSD-pretrained Entropy model. The results definitively proved that the discrete RL optimization is the true driver of the performance gains. I assign high weight to this, as it validates the paper's core claim.
  • Statistical Significance: I raised concerns about overlapping error bars on certain datasets. The authors responded with a Friedman test and Nemenyi post-hoc analysis across the 32 settings, which satisfactorily proved that the aggregate improvements are highly statistically significant.
  • Robustness and Overhead: The provided sensitivity analyses (group size and reward normalization) confirmed the method is not heavily dependent on dataset-specific tuning. Furthermore, their transparent comparison of memory (+24%) and throughput (-11%) against static patching provided a well-reasoned framing of the acceptable trade-offs for dynamic adaptivity.
  • Conceptual Clarity: The authors' clarification regarding the sequential/causal setting resolved my theoretical concerns.

Unresolved/Remaining Issues (Low Weight):

  • While the aggregate performance is definitively superior, the performance gains on a few individual datasets (e.g., ECL, ETTm1) remain modest when looking at seed-level variance. However, given the strength of the aggregate statistical tests, I do not consider this a blocker for acceptance.

Summary: The paper presents a technically solid, principled approach to dynamic patching. The authors' thorough rebuttal demonstrated the robustness of their method and the validity of their claims. The reasons to accept now clearly outweigh the initial concerns.

Comments on the paper

1 comment
Meta-review

(a) Summary of claims and findings

The paper proposes ReinPatch, a framework that learns variable-sized, data-adaptive patch boundaries for sequence models via reinforcement learning rather than differentiable relaxations. A lightweight transformer policy places boundaries; the downstream forecasting backbone serves as the environment, with negative task loss as terminal reward, optimized by a group-relative policy gradient (GRPG) in what reduces to a one-step contextual bandit for non-causal tasks. Two distinguishing claims: (1) a hard minimum compression rate enforced in the environment (rather than a soft auxiliary loss as in H-Net) prevents specification gaming and removes worst-case model-size pre-planning; (2) decoupling the patcher from the backbone enables pre-training a "foundation patcher" on UTSD that transfers zero-shot with frozen weights. Empirically, under a controlled protocol varying only the patching mechanism over a shared backbone across eight forecasting benchmarks, ReinPatch attains the best mean rank (1.125), with the zero-shot variant generally matching or beating end-to-end training — a finding all three reviewers highlight, with ZT5F noting the growing advantage over entropy patching at longer contexts (Figure 2) and the permutation-test evidence that boundaries adapt to dataset structure rather than merely satisfying the compression budget.

(b) Main strengths

The core idea — treating boundary placement as a genuinely discrete RL problem — is original and cleanly executed; Pqkq calls it elegant and well-motivated, and ZT5F rates originality/significance as excellent. The controlled evaluation protocol (fixed backbone, varying only the patcher) isolates the contribution better than is typical in this literature. The hard compression constraint is a principled design choice, and the design discussions (GRPG vs. GRPO/PPO, hard vs. soft enforcement) reflect careful reasoning rather than off-the-shelf RL. The zero-shot foundation-patcher result is the most interesting empirical contribution, suggesting learned segmentation transfers across domains. Supporting analyses (permutation tests, segmentation visualizations, look-back scaling) add credibility and interpretability, and the writing is generally clear.

(c) Main weaknesses

Three concerns recur across reviews and my own reading.

First, attribution: the strongest results come from the frozen UTSD-pretrained patcher, so it is unclear how much credit belongs to the RL objective versus large-scale pretraining exposure (ZT5F). Relatedly, there is no head-to-head comparison against differentiable alternatives (straight-through, Gumbel-Softmax) on the identical boundary-selection task and backbone — the H-Net comparison is confounded by architectural differences.

Second, empirical robustness: margins over the entropy baseline are often modest with overlapping error bars on several datasets; baseline standard deviations are omitted from the main table; and evaluation is limited to eight classic benchmarks, without modern suites (GIFT-Eval, TSFM-Bench) or strong end-to-end forecasters/foundation models as reference points (1Mif).

Third, scope and cost: all experiments are non-causal despite the paper's broadest claims (BPE alternative for LLMs); the causal inference-time budgeting has acknowledged pathological cases; training-cost and stability analyses (sensitivity to group size G=3, r_m, centering vs. standardization) are missing. Clarity of Figure 1 and baseline descriptions was also flagged (1Mif, Pqkq).

(d) What could change my assessment

Yes — the paper is currently borderline, and two additions would materially raise my odds of acceptance.

Most important is the attribution experiment ZT5F requests: (i) RL/GRPG vs. straight-through or Gumbel-Softmax on the identical boundary parameterization and backbone, and (ii) a non-RL patcher (e.g., entropy-based) pretrained and frozen under the same UTSD protocol, to separate the RL objective from pretraining-scale effects. If ReinPatch's advantage survives both controls, the central claim is substantiated.

Second, evidence of statistical robustness: baseline error bars in the main table with significance testing, plus a sensitivity analysis over G, r_m, and reward normalization. Desirable but less decisive: results on at least a subset of a modern benchmark (GIFT-Eval) and training-cost accounting. A small-scale causal experiment would strengthen the broader claims but I would not condition acceptance on it.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.