NeurIPS 2026QuestionsPapersAreasAboutMarkdown

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

NeurIPS page · OpenReview · alphaXiv · Open on the map

Category: Time Series, PDEs & Probabilistic ML › Time Series Foundation Models · Type: new method · Keywords: dynamic tokenization, reinforcement patching, time series forecasting, sequence modeling, policy gradient, hierarchical patching

Areas: Model Architectures & Sequence Modeling › Dynamic and relational architectures › Time Series Forecasting

Summary

Reinforcement Patching (ReinPatch) jointly optimizes a dynamic patching policy and its downstream backbone via reinforcement learning, enabling data-adaptive variable-size patches with controllable compression.

Explained to a 5-year-old

The paper makes a computer understand long sequences of data, like a long song, by cutting it into pieces of different sizes. It learns where to cut by playing a game that rewards good cuts. This helps the computer make smaller, faster models that can still work well. The method can also be used just to learn how to cut data, separate from the rest of the model. It works especially well for predicting future values in time-series data.

Explained to a 5-year-old, longer

The paper looks at how computers can understand long sequences of data, like a long list of numbers. It wants to cut these long sequences into smaller pieces so the computer can work faster. Usually, people cut the data into pieces of the same size, but that can be wasteful. The new idea is to let the computer decide where to cut each piece based on what it sees. It learns this by playing a game where it gets feedback on how good its cuts are. The computer uses a special learning method that does not need complicated math tricks. This way, the pieces can be different sizes, making the model more efficient. The method also lets the computer control how much the data is compressed, which helps keep the model small. It can also build multiple levels of cuts, like cutting a big piece into medium pieces and then into small pieces. The learned cutting strategy can be saved and used independently, giving insights into how to segment data. The approach is tested on predicting future values from time-series data, like weather or stock prices. It performs better than previous methods that used fixed-size cuts.

For a technical reader

The paper introduces a way to automatically split long sequences of data into variable-size chunks, which helps reduce memory usage and improve model speed. It uses a reinforcement-learning policy that decides where to place patch boundaries, trained together with the downstream model in an end-to-end fashion. The method can enforce a target compression ratio, allowing the backbone network to be scaled more efficiently. It also supports hierarchical patching, so patches can be formed at multiple levels of granularity. The learned patcher can be extracted and used independently, providing insights into optimal segmentation for time-series forecasting tasks.

Problem

Developing data-adaptive, variable-size patches for long-horizon continuous sequences such as time series is difficult because existing methods rely on fixed patches or require approximations that limit flexibility and scalability.

Method

The approach formulates patch boundary placement as a discrete decision process and optimizes it with a reinforcement learning policy using Group Relative Policy Gradient, while simultaneously training the downstream backbone. It enforces a desired compression rate and supports hierarchical multi-level modeling.

Results

The approach shows compelling performance on time-series forecasting compared to existing data-driven patching methods.

Contributions

It introduces an end-to-end reinforcement learning framework for learning dynamic, variable-size patches that can enforce compression rates and be extracted as a standalone patcher, providing insights into performance-driven segmentation behaviors.

Research questions this paper is counted under

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction