potentialpaper

Distilling Sequential Computation in Transformer Language Models

Zixuan Lan, Jessica Yang, Yanhong Li, Karen Livescu, Jiawei Zhou

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We introduce a lightweight compression method that dynamically replaces multiple tokens at the input level to generate substitute representations to reduce Transformer sequential computation while preserving performance

Abstract. Transformer language models process sequences token by token in an autoregressive manner, making growing contexts increasingly expensive. Yet many adjacent token spans are highly predictable or frequently occur as stable units, suggesting that their representations may be compressible. We introduce a method for distilling sequential computation by replacing spans of input tokens with collapsed representations, computed on the fly by a lightweight merge module. This module generates a single surrogate embedding from a sequence of static token embeddings that captures the functional role of the multiple tokens, allowing pretrained models to operate on compressed inputs without architectural changes or re-training. We apply this approach during inference to compress both prompts and intermediate decoding steps, using a rollback mechanism to substitute stored multi-token KV cache entries with their single-step surrogates. Experiments across diverse models show that the merge module can be used to reduce effective sequence length by up to 40% with minimal accuracy degradation across language-modeling evaluations and downstream tasks, including question answering, summarization, commonsense reasoning, and long-form mathematical reasoning. Additional lightweight adaptation of the merge module further improves the accuracy-compression trade-off in selected settings. These results demonstrate that sequential token computation in Transformers can be effectively approximated through condensed surrogate representations that preserve the original behavior without model updating.

From the authors: Karen Livescu · edit · also an author?

Nothing yet.

How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
15 Apr 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)forumreviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:47 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

Summary of Scientific Claims and Findings

This paper introduces UMIM (Universal Multi-step Input Merging), an inference-time token compression framework for frozen Transformer language models. UMIM identifies high-frequency nn-grams (n∈{2,3,4}n \in \{2, 3, 4\}) from a training corpus and uses a lightweight multi-head attention pooling module to merge their static input embeddings into a single surrogate embedding. The merge module is trained via cross-entropy/KL predictive distillation to match the frozen LLM's next-token output distribution. At inference time, UMIM performs token merging on prompts during prefill and dynamically during decoding via a KV-cache rollback mechanism, aiming to reduce effective sequence length and KV-cache footprint by up to 40% without updating backbone parameters.

Main Strengths

  • Practical Motivation: Addressing inference-time sequence length and KV-cache memory overhead is a relevant efficiency goal for LLMs.
  • Non-Invasive Architecture: The proposed plug-in module operates strictly on input embeddings while keeping tokenizer, vocabulary, and backbone LM parameters completely frozen.
  • Prefill Speedups: The method achieves noticeable prefill throughput speedups (1.5×1.5\times–3.7×3.7\times) on prompt compression (acknowledged by R1 and R3).
  • Task-Agnostic Transfer: Demonstrates direct transfer across downstream tasks (QA, summarization, math reasoning) without fine-tuning the backbone.

Main Weaknesses and Missing Elements

  • Static, Context-Independent Merging (R2, R3): Computing surrogate embeddings strictly from static input embeddings prior to Transformer layers ignores preceding context. R2 notes that this may be problematic for polysemous spans, while R3 demonstrates that a static surrogate vector cannot match context-dependent attention outputs when preceding contexts vary.
  • Positional Index Shift (R3): As confirmed in Appendix J.5, merging collapses token position indices (e.g., [x1,x2,x3,x4]→[x1,x23,x4][x_1, x_2, x_3, x_4] \to [x_1, x_{23}, x_4] mapped to position IDs [0,1,2][0, 1, 2]). For backbones using RoPE or absolute positional encodings, this introduces an unanalyzed shift in positional rotations and key-query attention geometry for all subsequent tokens.
  • Evaluation Scope for Core Claims (R1, R3): Realized decoding throughput speedups remain modest (0.9%–2.5%). Furthermore, R3 points out that long-generation evaluations (CNN/DailyMail summarization and 15K-token AIME math reasoning) applied merging exclusively to input prompts, leaving dynamic decoding KV-cache merging un-evaluated in long generation.
  • Statistical Rigor & Reproducibility (R1, R3): Results lack error bars, variance across seeds, and released code/checkpoints.

Rebuttal Focus & Actionable Author Guidance

To enable strong consideration for acceptance, the authors are asked to prioritize the following specific clarification questions during rebuttal:

  1. Dynamic Decoding Evaluation: Clarify whether the long-form generation benchmarks (CNN/DM, AIME) can be evaluated with dynamic online decoding compression active (rather than prompt-only merging), and provide wall-clock latency, KV-cache memory, and realized merge rates.
  2. Context-Independence & Positional Shifts: Provide empirical or analytical evidence on how static surrogates perform on polysemous spans across varying contexts, and quantify the impact of position-ID shifts on downstream attention geometry.
  3. Statistical Validity: Report run-to-run variability and error bars for main downstream results.
Final justification

Summary of Discussion and Recommendation

Following the discussion phase, the recommendation is updated to Accept. The authors' rebuttal and reviewer discussions clarified the primary technical concerns:

  • Positional Indexing: Clarified that tokens shifted by the same set of merges preserve relative RoPE offsets (p1′−p2′=p1−p2p_1' - p_2' = p_1 - p_2), maintaining downstream relative attention geometry, while cross-span distances are compressed.
  • Context-Independent Surrogates: Clarified that static input surrogates interact contextually once processed by Transformer layers, serving as an effective empirical approximation, with task adaptation (SFT/RL) recovering performance drops at 40% token reduction.
  • Long-Context & Decoding: Highlighted long-form reasoning results on DeepScaleR (1024-token trajectory pre-training) and provided new combined prompt and dynamic decoding KV-cache compression evaluations on long-context tasks (GovReport 10K tokens) matching baseline quality.

Camera-Ready Action Items

  1. Include the RoPE relative-offset analysis and long-context evaluations (GovReport, RULER) in the paper, discussing extreme-length bounds as a limitation.
  2. Release the source code and pre-trained merge-module checkpoints.
Area Chair 8jV7 · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

Summary of Scientific Claims and Findings

This paper introduces UMIM (Universal Multi-step Input Merging), an inference-time token compression framework for frozen Transformer language models. UMIM identifies high-frequency nn-grams (n∈{2,3,4}n \in \{2, 3, 4\}) from a training corpus and uses a lightweight multi-head attention pooling module to merge their static input embeddings into a single surrogate embedding. The merge module is trained via cross-entropy/KL predictive distillation to match the frozen LLM's next-token output distribution. At inference time, UMIM performs token merging on prompts during prefill and dynamically during decoding via a KV-cache rollback mechanism, aiming to reduce effective sequence length and KV-cache footprint by up to 40% without updating backbone parameters.

Main Strengths

  • Practical Motivation: Addressing inference-time sequence length and KV-cache memory overhead is a relevant efficiency goal for LLMs.
  • Non-Invasive Architecture: The proposed plug-in module operates strictly on input embeddings while keeping tokenizer, vocabulary, and backbone LM parameters completely frozen.
  • Prefill Speedups: The method achieves noticeable prefill throughput speedups (1.5×1.5\times–3.7×3.7\times) on prompt compression (acknowledged by R1 and R3).
  • Task-Agnostic Transfer: Demonstrates direct transfer across downstream tasks (QA, summarization, math reasoning) without fine-tuning the backbone.

Main Weaknesses and Missing Elements

  • Static, Context-Independent Merging (R2, R3): Computing surrogate embeddings strictly from static input embeddings prior to Transformer layers ignores preceding context. R2 notes that this may be problematic for polysemous spans, while R3 demonstrates that a static surrogate vector cannot match context-dependent attention outputs when preceding contexts vary.
  • Positional Index Shift (R3): As confirmed in Appendix J.5, merging collapses token position indices (e.g., [x1,x2,x3,x4]→[x1,x23,x4][x_1, x_2, x_3, x_4] \to [x_1, x_{23}, x_4] mapped to position IDs [0,1,2][0, 1, 2]). For backbones using RoPE or absolute positional encodings, this introduces an unanalyzed shift in positional rotations and key-query attention geometry for all subsequent tokens.
  • Evaluation Scope for Core Claims (R1, R3): Realized decoding throughput speedups remain modest (0.9%–2.5%). Furthermore, R3 points out that long-generation evaluations (CNN/DailyMail summarization and 15K-token AIME math reasoning) applied merging exclusively to input prompts, leaving dynamic decoding KV-cache merging un-evaluated in long generation.
  • Statistical Rigor & Reproducibility (R1, R3): Results lack error bars, variance across seeds, and released code/checkpoints.

Rebuttal Focus & Actionable Author Guidance

To enable strong consideration for acceptance, the authors are asked to prioritize the following specific clarification questions during rebuttal:

  1. Dynamic Decoding Evaluation: Clarify whether the long-form generation benchmarks (CNN/DM, AIME) can be evaluated with dynamic online decoding compression active (rather than prompt-only merging), and provide wall-clock latency, KV-cache memory, and realized merge rates.
  2. Context-Independence & Positional Shifts: Provide empirical or analytical evidence on how static surrogates perform on polysemous spans across varying contexts, and quantify the impact of position-ID shifts on downstream attention geometry.
  3. Statistical Validity: Report run-to-run variability and error bars for main downstream results.
Final justification

Summary of Discussion and Recommendation

Following the discussion phase, the recommendation is updated to Accept. The authors' rebuttal and reviewer discussions clarified the primary technical concerns:

  • Positional Indexing: Clarified that tokens shifted by the same set of merges preserve relative RoPE offsets (p1′−p2′=p1−p2p_1' - p_2' = p_1 - p_2), maintaining downstream relative attention geometry, while cross-span distances are compressed.
  • Context-Independent Surrogates: Clarified that static input surrogates interact contextually once processed by Transformer layers, serving as an effective empirical approximation, with task adaptation (SFT/RL) recovering performance drops at 40% token reduction.
  • Long-Context & Decoding: Highlighted long-form reasoning results on DeepScaleR (1024-token trajectory pre-training) and provided new combined prompt and dynamic decoding KV-cache compression evaluations on long-context tasks (GovReport 10K tokens) matching baseline quality.

Camera-Ready Action Items

  1. Include the RoPE relative-offset analysis and long-context evaluations (GovReport, RULER) in the paper, discussing extreme-length bounds as a limitation.
  2. Release the source code and pre-trained merge-module checkpoints.
6 comments
Authors · CommentOpenReview ↗

Paper Overview clarify

We sincerely thank the AC for the detailed reading and for recognizing the value of our work. We would like to clarify a few details about our experimental setup and the task-adaptation results, since some parts of the method may not have been fully clear from the paper.

Clarification of the main UMIM pipeline. In our main setting, we first use WikiText-103 as the base corpus. From WikiText-103, we mine high-frequency 2- to 4-gram token spans and use them to build the merge rules. These merge rules decide which token spans are allowed to be merged. We then train a base merge module on top of these rules. The merge module takes the embeddings of a multi-token span and maps them into one surrogate embedding. The main experiments in Table 2, Table 5, and Table 6 all use this same WikiText-based setup. That is, the PPL results in Table 2, the QA results in Table 5, and the summarization results in Table 6 are obtained by directly applying the merge rules mined from WikiText-103 and the base merge module trained with these rules. We do not retrain the merge module for these downstream tasks. These results are meant to test whether a WikiText-trained UMIM module can directly transfer to unseen downstream tasks.

UMIM merging is used in two places: prompt merging and decoding-time merging. For prompt merging, we scan the input prompt of the target task and match its token spans against the merge rules. If a span appears in the rules, we replace its multiple token embeddings with one surrogate embedding produced by the merge module. For decoding-time merging, generation is still fully autoregressive. After each new token id is generated, we immediately check whether the recent suffix of the sequence forms a span in the merge rules. If it does, we merge that span and use KV-cache rollback to replace multiple KV entries with one merged KV state. Therefore, UMIM does not skip autoregressive generation steps. It reduces the effective sequence length and KV-cache length used in later computation.

Clarification on task adaptation of Figure 3. Figure 3 shows an example of task adaptation. It is different from the task-agnostic transfer setting used in Table 2, Table 5, and Table 6.

In Figure 3, WT + Rules means that we keep the WikiText-trained base merge module fixed. We do not retrain the merge module. The only change is that we re-mine task-specific merge rules from the HellaSwag training split. This increases the merge ratio without training a new merge module, and tests whether the WikiText-trained merge module can work with a new rule set.

WT + FT means that after re-mining HellaSwag-specific merge rules, we initialize from the WikiText-trained merge module and run a fast supervised fine-tuning step only on the merge module. This allows the method to support a larger merge ratio and also helps recover the accuracy drop caused by out-of-domain merge rules.

Task-Adapted is our final task-adaptation setting. It starts from WT + FT and then further applies RL training, again only to the merge module. The backbone LLM is always kept frozen. With this setting, UMIM can merge around 40% of the tokens while even outperforming the uncompressed baseline in the reported HellaSwag experiment.

Figure 3 also includes ablations. Task-trained means that we do not use the WikiText-trained merge module. Instead, we mine merge rules from the HellaSwag training corpus and train a new merge module from scratch. WT + DPO means that we directly apply RL training to the WikiText-trained merge module without the supervised fine-tuning step. These settings help separate the effects of task-specific rule construction, supervised fine-tuning, and RL.

Overall, Figure 3 shows a clear trend. If we do not want extra training, simply re-counting high-frequency n-grams on the target task and replacing the merge rules can already increase the merge ratio while keeping strong performance. If we further fine-tune the lightweight merge module, the method adapts better to out-of-domain merge rules and reduces the accuracy drop. If we then apply RL after SFT, we get the best accuracy-compression trade-off. Throughout this whole process, the backbone LLM remains frozen. The extra cost mainly comes from quickly collecting task-specific merge rules and adapting only the small merge module. In addition, Appendix Figure 5 reports adaptation results on two more tasks, showing that task adaptation is not limited to HellaSwag and that the same adaptation idea is feasible beyond a single benchmark.

Authors · CommentOpenReview ↗

(1) About Static, Context-Independent Merging

Thank you for raising this point. First, we have respectfully disagreed with the conclusion drawn from the reviewer's hypothetical example. Detailed prove can be found in the reply to reviewer F1PB.

The same n-gram can have different semantic or functional roles in different contexts. Therefore, a context-independent surrogate embedding cannot be expected to perfectly replace the original token span in every possible context. Our goal is not to claim exact equivalence in all cases, but to learn a surrogate embedding that can approximate and preserve the frozen LLM's predictive behavior in many mergeable contexts.

During training, if a span such as x2, x3 is merged into a surrogate token x23, our distillation objective encourages the output distribution under the compressed prefix to match the output distribution under the original uncompressed prefix. In other words, the merge module learns how to make the surrogate embedding reproduce the effect of the original multi-token computation on later predictions as much as possible.

Although the same n-gram is mapped to the same surrogate embedding, this does not mean that its final role inside the model is completely context-independent. Notice that this is only the static embedding on the input side; an analogy is that the n-gram span is originally also encoded in the same static embeddings, which do not change with contexts. Once the surrogate embedding is fed into the frozen Transformer, it interacts with the surrounding context through positional encoding, attention, and later layers, and generates hidden representations that are context dependent. Therefore, different contexts can still lead to different internal behavior after the surrogate embedding enters the model. The context-independent design is mainly used to keep the merge module lightweight, reusable, and efficient at inference time, but it does not limit the learnability of the polysemy of tokens

Put in a different way in terms of different tokenizations: different language models may use different tokenizers, some would tokenize a span of words into multiple tokens, while some would merge them into one token from the beginning. But the models built on the tokenization are still capable of learning different context-dependent semantics of the same span, whether it is represented by multiple tokens or a single token from the beginning in the embedding matrix. As long as the next token prediction learning happens perfectly, the model computation would already learn the polysemy based on contexts.

For highly ambiguous or strongly context-dependent spans, a context-independent surrogate may not fully preserve the behavior of the original token span. This is one reason why UMIM can still have some accuracy drop in the task-agnostic evaluation. If the surrogate embedding were a perfect replacement in all contexts, we would not observe such drops.

However, our experiments show that this approximation is effective in many cases. Table 3 provides qualitative generation examples, and Figure 4 shows that merged tokens are still actively used by the model in the attention distribution, rather than being ignored. More importantly, our task-adaptation results show that this mismatch can be further reduced. As clarified in our overview response, task adaptation starts from the WikiText-trained base merge module, then applies SFT and RL only to the merge module, while keeping the backbone LLM frozen. In the three task-adaptation examples we report, including HellaSwag in Figure 3 and two additional tasks in Appendix Figure 5, task-adapted UMIM can recover the performance drop caused by merging, and in some compression ranges even outperform the uncompressed baseline. For example, on HellaSwag, UMIM can merge around 40% of the tokens after adaptation while achieving accuracy above the uncompressed baseline.

Therefore, our claim is more modest: we never said context-independent surrogate embeddings do not guarantee perfect replacement for every span and every context, but with high-frequency n-gram selection, distillation training, and optional task adaptation, they provide an effective accuracy-compression trade-off in practice. Future work can further explore context-dependent merge modules or adaptive merge rules to better handle polysemous spans.

Authors · CommentOpenReview ↗

(2) About Positional Index Shift

Thank you for highlighting it. UMIM uses contiguous compressed positions rather than preserving the original token indices. Therefore, merging changes not only the representation of the merged span but also the position indices of subsequent tokens. We do not claim that this positional change can be exactly removed at the level of the model's internal computation.

However, the condition in the reviewer F1PB's example,

W(e4+p3)=W(e4+p2),W(e_4+p_3)=W(e_4+p_2),

is required if the projected representation of the later token must remain exactly identical before and after merging. Such layer-wise exact equivalence is not UMIM's optimization target. UMIM does not require every positional representation, hidden state, or attention score after a merge to match its uncompressed counterpart individually. Instead, we optimize the complete computation formed by the trainable merge module and the frozen LLM, so that the next-token predictive distributions at aligned positions under the compressed and original sequences are as close as possible. The distillation objective therefore learns to approximate the combined behavioral change caused by both the surrogate embedding and position compaction, rather than separately eliminating the positional-embedding change.

For RoPE, there is also a useful structural distinction. Let the effective compressed position of an original token at position tt be

π(t)=t−r(t),\pi(t)=t-r(t),

where r(t)r(t) is the number of removed token positions before tt. A RoPE attention interaction between positions ii and jj depends on their relative offset π(i)−π(j)\pi(i)-\pi(j). If both tokens occur after the same set of merges, then r(i)=r(j)r(i)=r(j), and therefore

π(i)−π(j)=i−j.\pi(i)-\pi(j)=i-j.

Thus, although all tokens after a merge receive shifted absolute indices, their relative RoPE offsets with respect to one another remain unchanged. The positional relationships that change are primarily those that cross a merged span, together with interactions involving the surrogate position itself. Position compaction therefore produces a structured shortening of cross-span distances, rather than an arbitrary perturbation of every pairwise positional relationship.

For models using learned absolute positional embeddings, the above relative-position invariance does not apply, and the positional embeddings of subsequent tokens do change systematically. Our approach does not assume that this effect disappears. Instead, training and inference use exactly the same compressed-position convention, and the merge module is trained through end-to-end predictive distillation across different merge locations and contexts. Using contiguous positions also keeps the compressed sequence within the backbone's standard input convention, without requiring position re-indexing, interpolation, or a customized positional mechanism.

UMIM provides an empirical approximation rather than a positional-invariance theorem. Establishing a general error bound would require additional assumptions about the sensitivity of the entire frozen Transformer to positional perturbations, including the stability of its attention layers and end-to-end predictive mapping. Standard pretrained Transformers do not provide such a uniform guarantee, so we do not claim one here.

More precisely, UMIM learns, over its training distribution, to approximate the joint predictive effect of replacing a span and compacting the subsequent positions. Our current results show that this treatment is effective in the evaluated models and tasks, but they do not imply that positional shifts have no effect in every setting. We thank the reviewer for raising this point and will clarify the distinction between training-time consistency, empirical reliability, and exact behavioral preservation.

Reviewer F1PBOpenReview ↗
Rating
3/6
Confidence
4/5
Quality
2/4
Clarity
2/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper proposes UMIM, an external merge module for frozen Transformer language models. The method mines frequent contiguous 2–4 token spans, replaces eligible spans with a single learned surrogate embedding computed from static token embeddings, and trains this module by matching the frozen model’s next-token distribution on compressed inputs to its distribution on the original uncompressed sequence. At inference time, the module is used for prompt compression and for online generation through a KV-cache rollback mechanism that substitutes several recent token states with one surrogate state. The paper evaluates distributional alignment, perplexity, QA, summarization, math reasoning, task adaptation, and throughput, and reports that the method can reduce effective sequence length while often retaining behavior close to the base model.

Strengths and weaknesses

Strengths:

The paper studies an important inference-efficiency problem for autoregressive language models, that is, reducing the effective sequence length and KV-cache footprint without retraining the backbone model. The proposed UMIM module is appealing in its simplicity as it operates at the input-embedding level, keeps the tokenizer, vocabulary, architecture, and backbone parameters fixed, and can be applied as a plug-in to multiple pretrained models. The empirical perplexity results are encouraging for Llama-3.1-8B, where the compressed model remains close to the base model on WikiText-103, BookCorpus, and OpenWebText, although the realized compression outside the training domain is much smaller than the headline reduction on WikiText. The paper also makes a useful distinction between a generic merge module and task-specific merge-rule adaptation, and the adaptation experiments suggest that the module can be adjusted without updating the backbone.

Weaknesses:

  • The main quality concerns are substantial. The method rests on a strong approximation assumption that a context-independent surrogate embedding for a fixed n-gram should preserve the effect of multiple context-dependent Transformer steps. The paper explicitly states that the same n-gram receives the same surrogate wherever it appears, but a Transformer’s computation depends on preceding context, position, attention interactions, and downstream use of the KV states. The paper does not provide a theorem, approximation bound, or even a clear characterization of when such a surrogate should exist. This is acceptable for an empirical method, but the writing sometimes suggests stronger behavioral preservation than the evidence establishes. Take this example: Consider a two-token span g=(a,b). In the uncompressed model, the span contributes two KV states, (k_a,v_a) and (k_b,v_b), which future tokens can attend to separately. Suppose there are two preceding contexts c_1 and c_2 that induce future queries q(c_1) and q(c_2). In a simplified one-layer attention calculation, the contribution of the span to a future token is:

A_T(c)=alpha_a(c)*v_a + alpha_b(c)*v_b, where (alpha_a(c), alpha_b(c)) = softmax(q(c)^Tk_a, q(c)^Tk_b)

Now choose two contexts such that:

q(c_1)^Tk_a >> q(c_1)^Tk_b and q(c_2)^Tk_b >> q(c_2)^Tk_a

Then the teacher’s span contribution is approximately:

A_T(c_1) approx v_a and A_T(c_2) approx v_b

Under UMIM, the same span g=(a,b) is replaced by one surrogate embedding:

m_g = M_phi(e(a), e(b))

This produces only one effective surrogate state for the span. In the analogous one-slot case, the future attention contribution from the merged span is a single value v_m. Exact matching in both contexts would require:

v_m = v_a and v_m = v_b

If v_a != v_b, these two requirements are inconsistent. Thus, unless the constituent token states are functionally redundant, a single context-independent surrogate cannot generally preserve all context-dependent future-attention behavior of the original multi-token span.

  • The positional-encoding treatment is technically important and under-examined. The appendix states that no special positional mechanism is used: after merging [x1,x2,x3,x4] into [x1,x23,x4], the positions become [0,1,2], not [0,1,2,3] with some preserved original indexing. This changes the computation of every token after a merge. For a simple absolute-position model, exact preservation after merging x2,x3 would require the later token contribution W(e4+p3) to equal W(e4+p2), which implies W(p3−p2)=0, not generally true. With RoPE, the analogous issue is a shift in the rotation indices of subsequent queries and keys. The paper trains under this convention, but training compatibility is not the same as showing that the approximation is reliable across lengths, domains, and contexts.

  • The benchmark suite only partially matches the motivating application. PIQA, COPA, OpenBookQA, ARC-Easy, and ARC-Challenge are useful sanity checks, but they are mostly short-context multiple-choice tasks. CNN/DailyMail is a useful evaluation for task-agnostic prompt compression, because the WikiText-trained merge module is applied to an unseen summarization dataset without task-specific tuning. However, the appendix states that token merging is applied only to the input portion and that summaries are generated with a fixed 80-token output length. Therefore, this experiment supports the prompt/prefill compression aspect of UMIM, but it does not substantially evaluate the dynamic online merging mechanism or the claimed reduction of generated-token KV-cache growth during long autoregressive decoding. Also, the math reasoning experiment is presented as long-form reasoning, but the appendix says that because of resource limits, token merging was applied exclusively to input prompts while generation was allowed up to 15K tokens. This does not strongly test the key dynamic-decoding benefit: reducing generated-token KV growth during long autoregressive reasoning. More suitable evaluations would include long-context retrieval, multi-document QA, long-context summarization, multi-needle stress tests, and direct prompt-only versus dynamic-online comparisons.

  • The efficiency evidence is not yet convincing enough. The paper reports large prefill throughput gains at a fixed 50% merge ratio, but decoding throughput improves only about 0.9%–2.5% in the reported settings. Given that dynamic decoding and KV-cache replacement are central parts of the method, the paper should report additional metrics such as wall-clock latency, memory in GB, batch size, hardware, sequence lengths, realized natural merge rates, cache length over time, and overhead from rollback and merge lookup. The current efficiency results show promise for prefill compression but only modest realized benefit for decoding.

  • Reproducibility and clarity also need improvement. The submission does not release code or trained merge-module checkpoints at submission time, and it reports no error bars or statistical significance tests. The main equation for multi-head pooling is dimensionally ambiguous unless one assumes an implicit head-specific slice; the appendix later clarifies the slice notation. There are also smaller presentation issues, such as inconsistent model naming around Llama-3.2 size and a related-work naming mismatch where the cited Pagnoni et al. reference is Byte Latent Transformer but the related-work text uses a different name.

Questions
  1. Positional encoding: Can the authors provide an ablation that preserves original position indices, or otherwise quantify how much degradation is caused by compressed-position shifting? This would help determine whether UMIM is learning robust span replacements or mainly adapting to a distribution shift introduced by shorter effective positions.

  2. Dynamic online merging: Can the authors separate prompt-only merging from online decoding merging in all major experiments, especially long generation? A useful experiment would report quality, wall-clock latency, KV memory, realized merge rate, and cache length over time for prompt-only, dynamic-only, and combined UMIM.

  3. Long-context representativeness: Can the authors add at least one long-context stress evaluation, such as multi-document QA, long retrieval, multi-needle retrieval, or long-context summarization? This would test whether merged surrogate states preserve information that must be retrieved many thousands of tokens later.

  4. Surrogate-existence assumption: Can the authors more carefully justify or empirically diagnose when a context-independent n-gram surrogate succeeds or fails? For example, results broken down by span frequency, span length, domain shift, syntactic category, or polysemy would clarify whether the method works broadly or mainly for highly formulaic spans.

  5. Reproducibility and uncertainty: Can the authors release anonymized code/checkpoints or provide exact scripts, and can they report confidence intervals or run-to-run variability for the main downstream and adaptation results? My score would increase if the main results became reproducible and the strongest conclusions were statistically supported; it would decrease if gains depend on a single seed, a fixed merge ratio not achieved naturally, or task-specific adaptation that is not clearly separated from task-agnostic compression.

Limitations

No. The limitations section is too brief and does not adequately discuss the most important limitations. It should explicitly address the context-independent surrogate assumption, positional-index shifts after merging, the distinction between prompt-only compression and online decoding compression, the small measured decoding speedups, domain dependence of merge rules, lack of formal guarantees, lack of error bars, and lack of released code/checkpoints. The current limitations paragraph mostly lists future directions rather than analyzing failure modes and practical risks.

Final justification

The authors response substantially clarifies the surrogate-embedding objection, and I would no longer frame the issue as a simple impossibility proof. I agree that a fixed surrogate input vector can still interact differently with different contextual queries once it passes through the Transformer, so exact non-existence is not established by the simplified attention example. However, the response does not remove the underlying concern that the method compresses multiple contextualized, separately addressable token states into one effective state, and the paper still lacks a formal guarantee, error bound, or empirical characterization of when this context-independent surrogate approximation succeeds or fails.

The positional-encoding response is useful and should be incorporated into the paper. The authors acknowledge that UMIM uses compressed contiguous positions and does not exactly preserve the model’s original internal computation, which directly addresses the concern. Their RoPE clarification is also fair in that tokens shifted by the same set of previous merges preserve relative offsets with each other. However, interactions crossing a merged span and interactions involving the surrogate state itself are still changed, so the method remains an empirical approximation that combines surrogate replacement with position compaction. I accept that a preserved-position ablation is non-trivial and would require retraining for a fair comparison, but without it the paper cannot disentangle whether the gains come from the learned surrogate, the compressed position convention, or their interaction.

The added efficiency, task-clarification, and long-context responses improve the paper’s framing but do not fully resolve the evaluation concerns. It is now clearer that CNN/DailyMail supports task-agnostic prompt/input compression, while the math reasoning experiment and some summarization settings do not validate dynamic generated-token KV-cache compression. The new long-context experiments are helpful and should be included, but they also show substantial degradation at longer contexts, especially for retrieval and multi-document QA, which should be discussed as a limitation rather than only as supplementary support. The efficiency clarification is reasonable. Prefill gains are meaningful, while decoding gains remain modest and prototype-level.

With that I will change my rating to a 3.

Formatting concerns

None noticed.

13 comments
Authors · RebuttalOpenReview ↗
Rebuttal

(1)Clarification Using the Reviewer's Example

To clarify, we follow the reviewer's hypothetical setting: consider a one-layer self-attention model, a two-token span g=(a,b)g=(a,b), and two sequences:

(i)c1,a,b,q1,(ii)c2,a,b,q2.\text{(i)}\quad c_1,a,b,q_1,\qquad \text{(ii)}\quad c_2,a,b,q_2.

Following the reviewer's assumption, q1q_1 aligns strongly with the key of aa and largely ignores bb, whereas q2q_2 aligns strongly with the key of bb and largely ignores aa. However, in self-attention, the resulting attention output depends not only on the preceding tokens but also on the query token itself and the complete softmax normalization.

Even if we continue to ignore the remaining context tokens, the attention output at q1q_1 in sequence (i) is not simply vav_a. It is approximately

f(a,q1)=[softmax⁡(q1⊤ka, q1⊤kq1)]⊤[vavq1],f(a,q_1)=\begin{bmatrix}\operatorname{softmax}(q_1^\top k_a,\ q_1^\top k_{q_1})\end{bmatrix}^{\top}\begin{bmatrix}v_a\\\\v_{q_1}\end{bmatrix},

which is a query-dependent combination of the value of aa and the value of q1q_1 itself. Similarly, the attention output at q2q_2 in sequence (ii) is approximately

f(b,q2)=[softmax⁡(q2⊤kb, q2⊤kq2)]⊤[vbvq2].f(b,q_2)=\begin{bmatrix}\operatorname{softmax}(q_2^\top k_b,\ q_2^\top k_{q_2})\end{bmatrix}^{\top}\begin{bmatrix}v_b\\\\v_{q_2}\end{bmatrix}.

After UMIM merges (a,b)(a,b) into a surrogate token ww, the corresponding attention outputs become

f(w,q1)=[softmax⁡(q1⊤kw, q1⊤kq1)]⊤[vwvq1],f(w,q2)=[softmax⁡(q2⊤kw, q2⊤kq2)]⊤[vwvq2].f(w,q_1)=\begin{bmatrix}\operatorname{softmax}(q_1^\top k_w,\ q_1^\top k_{q_1})\end{bmatrix}^{\top}\begin{bmatrix}v_w\\\\v_{q_1}\end{bmatrix},\qquad f(w,q_2)=\begin{bmatrix}\operatorname{softmax}(q_2^\top k_w,\ q_2^\top k_{q_2})\end{bmatrix}^{\top}\begin{bmatrix}v_w\\\\v_{q_2}\end{bmatrix}.

Therefore, the learning problem faced by UMIM is not to require the same vwv_w to satisfy both vw=vav_w=v_a and vw=vbv_w=v_b. Instead, it is to learn a high-dimensional surrogate ww such that

f(w,q1)≈f(a,q1),f(w,q2)≈f(b,q2).f(w,q_1)\approx f(a,q_1),\qquad f(w,q_2)\approx f(b,q_2).

Here, ff is a high-dimensional nonlinear function involving query-dependent attention scores, softmax normalization, key/value projections, and the contribution of the query token itself. Consequently, the direct contradiction obtained from simultaneously requiring vm=vav_m=v_a and vm=vbv_m=v_b does not rule out the existence of useful approximate solutions.

Such approximate solutions may be difficult to derive analytically because they depend on the attention projections, softmax interactions, and the distribution of contexts and queries. Nevertheless, learning a surrogate through gradient-based optimization over many naturally occurring contexts is a viable and standard data-driven approach. In other words, it does not establish that a useful surrogate approximation is unlearnable, nor does it invalidate the motivation for learned token merging.

The Computation in a Full Transformer

The actual computation in a Transformer language model is substantially richer than the simplified one-layer example. In UMIM, what is context-independent is the initial surrogate embedding produced by the Merge Module, not every hidden state or layer-wise KV representation subsequently produced from it. Once the surrogate enters the causal Transformer, its representations in subsequent layers are contextualized by the preceding sequence. Different attention heads, residual pathways, and MLP layers also provide additional representational capacity for compensating for local approximation errors. Therefore, treating the complete UMIM computation as a single value vector vmv_m that remains fixed across all contexts does not fully characterize the approximation performed by the actual model.

Scope of Our Claim

We would also like to clarify the scope of our claim. UMIM has never claimed that a context-independent surrogate can perfectly and pointwise reproduce all attention and KV behavior of the original tokens for every possible context and every possible future query. Throughout the paper, we formulate token merging as a data-driven approximation problem. Our objective is to investigate whether a learned Merge Module can produce a compact surrogate that approximates the effect of the original token span on model behavior to a useful degree over the relevant data distribution. The intended claim is empirical behavioral approximation, not universal exact functional equivalence.

If any wording in the current manuscript could be interpreted as claiming exact or unconditional behavioral preservation, we will revise it to make this scope explicit.

Evidence Beyond Redundant or Unimportant Tokens

Finally, the visualizations(figure 4) and experimental results already presented in the paper indicate that UMIM does not operate merely by removing low-value, low-attention, or completely redundant tokens. In our attention-map analysis, some merged token spans carry clear semantic content and receive substantial attention in the original model. These spans are important

Nevertheless, UMIM can encode these meaningful spans into learned surrogates. These observations do not constitute a theoretical proof of universal exact equivalence. However, they provide direct empirical evidence that a learned surrogate can approximate the functional role of an informative span in a real Transformer and under realistic data distributions, rather than succeeding only when the merged tokens are completely redundant.

(2) About Reproducibility and uncertainty

Following the reviewer's suggestion, we report bootstrap 95% confidence intervals for the QA main table. The confidence intervals are computed with 10,000 bootstrap resamples. And We are organizing our code; To follow the nips' policy, we will provide the code used for the tests in this rebuttal via an anonymous link in the Area Chair's comments at a later stage. We need aslo to clarify one point here: all our merge ratios arise naturally from the matching based on the merge rules.

Task Original Acc. (%) [95% CI] UMIM Acc. (%) [95% CI] UMIM TR (%)
PIQA 79.71 [77.86, 81.50] 77.48 [75.57, 79.33] 10
COPA 79.80 [76.20, 83.20] 75.80 [72.00, 79.60] 6
OpenBookQA 43.80 [39.60, 48.20] 41.20 [36.80, 45.60] 10
ARC-Easy 77.02 [73.51, 80.35] 74.04 [70.35, 77.72] 14
ARC-Challenge 50.50 [44.82, 56.19] 46.15 [40.47, 52.17] 14

Across all five tasks, the marginal 95% confidence intervals overlap. At naturally realized token reductions, UMIM retains accuracy close to the original model, with absolute differences of 2.2-4.4 percentage points.

(3) About Long Context

We further add stress tests on RULER four-needle retrieval, multi-document QA, and long-context summarization using Llama-3.1-8B. Importantly, these experiments use the base merge module trained only on 512-token WikiText-103 sequences, without long-context SFT or RL. Because the original WikiText rules have very low coverage on these tasks, we use WT + Rules: task-specific rules are re-mined to obtain meaningful TR, while both the merge module and backbone remain fixed.

RULER four-needle retrieval. TR is input-token reduction.

Context Baseline Acc. (%) UMIM Acc. (%) Delta Acc. (pp) TR (%)
1K 99.8 99.2 -0.6 33.3
2K 100.0 99.2 -0.8 35.5
4K 99.6 92.6 -7.0 34.9
8K 99.0 76.8 -22.2 34.6
16K 96.6 33.8 -62.8 33.7

Multi-document QA.

Length Baseline Acc. (%) UMIM Acc. (%) Delta Acc. (pp) TR (%)
2K 74.8 70.4 -4.4 33.96
4K 74.2 59.8 -14.4 34.89
8K 60.6 50.2 -10.4 33.79
16K 58.0 19.4 -38.6 34.29

Long-context summarization. UMIM applies merging during both prompt processing and autoregressive decoding. Prompt TR is input-token reduction, Gen-KV TR is final generated-token KV reduction, and Cumulative KV TR is cumulative generated-token KV-cache reduction. Lengths use the Llama-3.1-8B tokenizer.

Dataset Input tokens, mean Input tokens, median Input token range Reference tokens, mean Reference tokens, median Reference token range
GovReport 10,275 8,712 2,054-51,427 716 722 190-1,458
QMSum 13,917 13,002 2,633-30,438 79 76 24-199
Dataset Method Prompt TR Gen-KV TR Cumulative KV TR R-1 R-2 R-L R-Lsum ROUGE Avg BERTScore
GovReport Baseline - - - 46.28 17.47 21.51 43.82 32.27 82.88
GovReport UMIM 14.50 12.59 13.04 46.60 17.18 21.98 44.05 32.45 84.75
QMSum Baseline - - - 21.29 6.55 15.07 18.59 15.37 82.82
QMSum UMIM 10.90 15.51 16.84 18.13 5.54 13.20 15.61 13.12 81.40

RULER and multi-document QA remain close to the baseline at shorter lengths, while the gap grows as precise evidence must be preserved over longer distances. This degradation at extreme lengths is expected: the base merge module has seen only 512-token sequences and is transferred directly to 8K-16K contexts, without long-context training or adaptation. Despite this severe length and domain shift, UMIM still provides meaningful compression across retrieval, multi-document QA, and long summarization.

With sufficient resources, long-context data should be included from the beginning when training the base merge module. Training on long-context corpora with corresponding merge rules should improve long-range performance while retaining UMIM's sequence and KV-cache compression benefits.

Due to space constraints, we have not yet fully addressed every point. In this first round of responses, we prioritized the most critical issues and provided supplementary experimental data. We look forward to the reviewers' feedback and will continue our responses once we can relpy.

Authors · CommentOpenReview ↗

A bit more on the oversight in the reviewer's example

Thank you again for this careful and hypothetical analysis. However, the conclusion from the reviewer's analysis does not seem to be correct. To summarize our walkthrough of the example, we respectfully point out that this is due to that the analysis overlooks important details in the actual self-attention computation, where the output does not only involve the preceding tokens in the context, but also the query token itself. As an outcome, the surrogate embedding w for a and b does not require both vw=vav_w=v_a and vw=vbv_w=v_b for the attention output to be the same; instead, it requires (details in the last post in official "Rebuttal by Authors")

f(w,q1)≈f(a,q1),f(w,q2)≈f(b,q2)f(w,q_1)\approx f(a,q_1),\qquad f(w,q_2)\approx f(b,q_2)

which does not invalidate the basic conditions UMM tries to meet. The existence of the solution for w is open, which is why we take a learning based approach to find the approximation, and our empirical results show the positive performance of this approximation in a wide range of contexts for language modeling and downstream tasks.


An afterthought further following reviewer's assumption

Taking the reviewer's train of thoughts again, even considering the query for the attention output computation and we still assume q1q_1 only selects aa (i.e. the similarity between q1q_1 and aa is much larger than that between q1q_1 and itself), q2q_2 only selects bb, the surrogate embedding for (a,b)(a, b) will need to meet

f(w,q1)≈f(a,q1)≈va,f(w,q2)≈f(b,q2)≈vbf(w,q_1)\approx f(a,q_1) \approx v_a,\qquad f(w,q_2)\approx f(b,q_2) \approx v_b

That is to find ww that can work with different queries to generate different outcome vectors through complex attention computation. This still does not rule out any existence of w, and can be effectively approximated with gradient descent.

Authors · CommentOpenReview ↗

Response to the positional-encoding concern.

Thank you for highlighting it. UMIM uses contiguous compressed positions rather than preserving the original token indices. Therefore, merging changes not only the representation of the merged span but also the position indices of subsequent tokens. We do not claim that this positional change can be exactly removed at the level of the model's internal computation.

However, the condition in the reviewer's example,

W(e4+p3)=W(e4+p2),W(e_4+p_3)=W(e_4+p_2),

is required if the projected representation of the later token must remain exactly identical before and after merging. Such layer-wise exact equivalence is not UMIM's optimization target. UMIM does not require every positional representation, hidden state, or attention score after a merge to match its uncompressed counterpart individually. Instead, we optimize the complete computation formed by the trainable merge module and the frozen LLM, so that the next-token predictive distributions at aligned positions under the compressed and original sequences are as close as possible. The distillation objective therefore learns to approximate the combined behavioral change caused by both the surrogate embedding and position compaction, rather than separately eliminating the positional-embedding change.

For RoPE, there is also a useful structural distinction. Let the effective compressed position of an original token at position tt be

π(t)=t−r(t),\pi(t)=t-r(t),

where r(t)r(t) is the number of removed token positions before tt. A RoPE attention interaction between positions ii and jj depends on their relative offset π(i)−π(j)\pi(i)-\pi(j). If both tokens occur after the same set of merges, then r(i)=r(j)r(i)=r(j), and therefore

π(i)−π(j)=i−j.\pi(i)-\pi(j)=i-j.

Thus, although all tokens after a merge receive shifted absolute indices, their relative RoPE offsets with respect to one another remain unchanged. The positional relationships that change are primarily those that cross a merged span, together with interactions involving the surrogate position itself. Position compaction therefore produces a structured shortening of cross-span distances, rather than an arbitrary perturbation of every pairwise positional relationship.

For models using learned absolute positional embeddings, the above relative-position invariance does not apply, and the positional embeddings of subsequent tokens do change systematically. Our approach does not assume that this effect disappears. Instead, training and inference use exactly the same compressed-position convention, and the merge module is trained through end-to-end predictive distillation across different merge locations and contexts. Using contiguous positions also keeps the compressed sequence within the backbone's standard input convention, without requiring position re-indexing, interpolation, or a customized positional mechanism.

UMIM provides an empirical approximation rather than a positional-invariance theorem. Establishing a general error bound would require additional assumptions about the sensitivity of the entire frozen Transformer to positional perturbations, including the stability of its attention layers and end-to-end predictive mapping. Standard pretrained Transformers do not provide such a uniform guarantee, so we do not claim one here.

More precisely, UMIM learns, over its training distribution, to approximate the joint predictive effect of replacing a span and compacting the subsequent positions. Our current results show that this treatment is effective in the evaluated models and tasks, but they do not imply that positional shifts have no effect in every setting. We thank the reviewer for raising this point and will clarify the distinction between training-time consistency, empirical reliability, and exact behavioral preservation.

Reviewer aNcdOpenReview ↗
Rating
4/6
Confidence
2/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes UMIM, a lightweight input-level token-span merging framework for frozen Transformer language models. The main idea is to replace frequent contiguous token spans with a single learned surrogate embedding, computed from the static input embeddings of the original tokens. The pretrained language model remains frozen, and only the external merge module is trained. The merge module is optimized through a predictive distillation loss, where the model’s next-token distribution under merged inputs is trained to match the distribution produced by the original uncompressed sequence.

Strengths and weaknesses

Strengths:

  • This work addresses the central challenge of reducing sequential computation in Transformer LMs without modifying the tokenizer, vocabulary, model architecture, or frozen backbone parameters.
  • The core idea is simple. The proposed approach is reasonable.
  • The empirical results are strong. UMIM generally preserves perplexity and downstream accuracy much better than deletion-based or prompt-compression baselines at comparable token-reduction rates.

Weaknesses:

  • The merge rule is based mainly on frequent n-grams of length 2–4. This is simple and effective, but also heuristic. It is unclear whether frequency alone is the best criterion for identifying spans whose computation can be safely merged.
  • The surrogate embeddings are context-independent: the same n-gram is mapped to the same surrogate embedding regardless of its surrounding context. This may be problematic for ambiguous or polysemous spans whose functional role changes across contexts.
Questions
  • How does the method behave on very long-context tasks where long-range dependencies are essential?
  • Does the merge module trained on one model transfer to another model with a similar tokenizer and embedding dimension, or must it always be trained separately for each backbone?
Limitations

yes

Final justification

The rebuttal resolves my questions. I will maintain my score of 4 for acceptance.

Formatting concerns

No

5 comments
Authors · RebuttalOpenReview ↗
Rebuttal

(1) Overview

We sincerely thank the reviewer for the careful reading. We first clarify the distinction between our main task-agnostic setting and task adaptation.

Main task-agnostic. We mine high-frequency 2- to 4-gram spans from WikiText-103 to construct merge rules, and train one base merge module that maps each matched span to a surrogate embedding. Tables 2, 5, and 6 directly apply these WikiText-derived rules and the same base checkpoint to PPL, QA, and summarization, respectively, without any downstream-task retraining.

Task adaptation. Figure 3 studies a separate setting. WT + Rules re-mines rules from the HellaSwag training split while keeping the WikiText-trained merge module fixed, increasing merge coverage without additional training. WT + FT further applies SFT only to the merge module under the new rules, helping recover the out-of-domain accuracy drop. Task-Adapted adds RL after SFT, again updating only the merge module while keeping the backbone LLM frozen. This progression provides the best accuracy-compression trade-off: the final setting merges around 40% of tokens and outperforms the uncompressed baseline in the reported HellaSwag experiment. Appendix Figure 5 reports the same adaptation pipeline on two additional tasks, showing that it is not limited to HellaSwag.

(2) About the merge-rule design. We agree that high-frequency n-gram rules are simple, but they are not a purely heuristic choice. Appendix A describes the experiments leading to this design.

We first tried embedding-similarity merging based on cosine similarity between adjacent token embeddings, but it did not reliably preserve the original model's behavior. Fixed pairwise merging showed that a learned surrogate can approximate multi-token computation, but it was too coarse, often merging spans without sufficient statistical support and hurting stability and generalization.

These observations motivated high-frequency n-grams. Frequent spans provide enough contexts to learn reliable surrogates, while also increasing compression coverage and selecting spans with relatively stable behavior under the frozen LLM. This resembles frequency-thresholded vocabulary construction, where frequent tokens receive sufficient training signals and rare tokens may share a vocabulary symbol. Appendix J further supports this choice: higher thresholds retain more frequent spans and improve alignment with the original model, while lower thresholds increase token reduction but reduce Top-1, Top-p, and MRR. Frequency is therefore directly related to merge learnability and reliability.

Frequency is not the only possible criterion. Appendix J also evaluates rules based on LM token probabilities and high-confidence spans, showing that other rules can work when candidates have sufficient support. High-frequency 2- to 4-grams are simply our reproducible and empirically stable implementation.

Overall, this design is supported by early failures, training-signal considerations, coverage statistics, and ablations rather than intuition alone. Future work may combine frequency with predictability, contextual stability, or downstream utility.

(3) About context-independent surrogate embeddings.

Our goal is to learn a surrogate embedding that approximates the frozen LLM's predictive behavior across many mergeable contexts. We do not claim to offer a perfect substitute.

When x2, x3 is merged into x23, our distillation objective aligns the predictive distribution under the compressed prefix with that under the original prefix. The merge module therefore learns to approximate the effect of the original multi-token computation on later predictions. The same n-gram receives the same surrogate only at the input-embedding level. The original token embeddings are also static across contexts. After entering the frozen Transformer, the surrogate interacts with the surrounding context through positional encoding, attention, and subsequent layers, producing context-dependent hidden representations. Thus, a fixed input embedding does not imply a fixed contextual role. This design keeps the merge module lightweight, reusable, and efficient without making the model's later representations context-independent.

A related analogy is tokenization: one tokenizer may represent a span with several tokens, while another represents it as one token. In either case, next-token training can learn context-dependent and polysemous uses of that span. Context-dependent semantics therefore do not require the input embedding itself to change across contexts.

Our experiments show that the approximation is effective in many cases. Table 3 provides generation examples, while Figure 4 shows that surrogate positions remain active in the attention distribution rather than being ignored. Task adaptation further reduces the mismatch by applying SFT and RL only to the WikiText-trained merge module while freezing the backbone. Across HellaSwag in Figure 3 and two additional tasks in Appendix Figure 5, adaptation recovers the merging-induced drop and can outperform the uncompressed baseline at some merge ratios. On HellaSwag, it merges around 40% of tokens while achieving accuracy above the baseline.

(4) About long context

Thank you for raising this question. Table 4 already evaluates long-form mathematical reasoning with DeepScaleR, whose merge module is trained on our 1024-token long-reasoning trajectories rather than WikiText-103.

We further add stress tests on RULER four-needle retrieval, multi-document QA, and long-context summarization using Llama-3.1-8B. Importantly, these experiments use the base merge module trained only on 512-token WikiText-103 sequences, without long-context SFT or RL. Because the original WikiText rules have very low coverage on these tasks, we use WT + Rules: task-specific rules are re-mined to obtain meaningful TR, while both the merge module and backbone remain fixed.

RULER four-needle retrieval. TR is input-token reduction.

Context Baseline Acc. (%) UMIM Acc. (%) Delta Acc. (pp) TR (%)
1K 99.8 99.2 -0.6 33.3
2K 100.0 99.2 -0.8 35.5
4K 99.6 92.6 -7.0 34.9
8K 99.0 76.8 -22.2 34.6
16K 96.6 33.8 -62.8 33.7

Multi-document QA.

Length Baseline Acc. (%) UMIM Acc. (%) Delta Acc. (pp) TR (%)
2K 74.8 70.4 -4.4 33.96
4K 74.2 59.8 -14.4 34.89
8K 60.6 50.2 -10.4 33.79
16K 58.0 19.4 -38.6 34.29

Long-context summarization. UMIM applies merging during both prompt processing and autoregressive decoding. Prompt TR is input-token reduction, Gen-KV TR is final generated-token KV reduction, and Cumulative KV TR is cumulative generated-token KV-cache reduction. Lengths use the Llama-3.1-8B tokenizer.

Dataset Input tokens, mean Input tokens, median Input token range Reference tokens, mean Reference tokens, median Reference token range
GovReport 10,275 8,712 2,054-51,427 716 722 190-1,458
QMSum 13,917 13,002 2,633-30,438 79 76 24-199
Dataset Method Prompt TR Gen-KV TR Cumulative KV TR R-1 R-2 R-L R-Lsum ROUGE Avg BERTScore
GovReport Baseline - - - 46.28 17.47 21.51 43.82 32.27 82.88
GovReport UMIM 14.50 12.59 13.04 46.60 17.18 21.98 44.05 32.45 84.75
QMSum Baseline - - - 21.29 6.55 15.07 18.59 15.37 82.82
QMSum UMIM 10.90 15.51 16.84 18.13 5.54 13.20 15.61 13.12 81.40

RULER and multi-document QA remain close to the baseline at shorter lengths, while the gap grows as precise evidence must be preserved over longer distances. This degradation at extreme lengths is expected: the base merge module has seen only 512-token sequences and is transferred directly to 8K-16K contexts, without long-context training or adaptation. Despite this severe length and domain shift, UMIM still provides meaningful compression across retrieval, multi-document QA, and long summarization.

With sufficient resources, long-context data should be included from the beginning when training the base merge module. Training on long-context corpora with corresponding merge rules should improve long-range performance while retaining UMIM's sequence and KV-cache compression benefits.

(5) About cross-backbone transfer of the merge module.

Cross-backbone transfer is a valuable direction, but we have not systematically tested it and therefore make no strong claim. Because UMIM operates in the input embedding space, a module trained on one model may directly transfer, or provide a useful initialization, when the target model has a similar tokenizer, embedding dimension, embedding space, and backbone family.

In this paper, we train one base merge module per backbone. The module depends on the backbone's token embeddings and on how its frozen layers process surrogate embeddings. Thus, even models with similar tokenizers and dimensions may have different embedding geometry and internal computation, making separate training the more controlled setting.

Our task-adaptation results provide related, though not direct cross-backbone, evidence of reuse. Within the same backbone, the WikiText-trained module adapts to new task-specific rules, and WT + FT and Task-Adapted outperform training a new module from scratch (Task-trained) on HellaSwag. This suggests that the base module learns a reusable span-to-surrogate mapping rather than memorizing one rule set.

We would like to thank the reviewer again for their careful review and appreciation of our paper, and we hope our response has addressed your concerns.

Authors · CommentOpenReview ↗

Thank you again for the careful review. We would like to clarify a few more details except what we have talked above to make it more clear.

Clarification of the main UMIM pipeline. In our main setting, we first use WikiText-103 as the base corpus. From WikiText-103, we mine high-frequency 2- to 4-gram token spans and use them to build the merge rules. These merge rules decide which token spans are allowed to be merged. We then train a base merge module on top of these rules. The merge module takes the embeddings of a multi-token span and maps them into one surrogate embedding. The main experiments in Table 2, Table 5, and Table 6 all use this same WikiText-based setup. That is, the PPL results in Table 2, the QA results in Table 5, and the summarization results in Table 6 are obtained by directly applying the merge rules mined from WikiText-103 and the base merge module trained with these rules. We do not retrain the merge module for these downstream tasks. These results are meant to test whether a WikiText-trained UMIM module can directly transfer to unseen downstream tasks.

UMIM merging is used in two places: prompt merging and decoding-time merging. For prompt merging, we scan the input prompt of the target task and match its token spans against the merge rules. If a span appears in the rules, we replace its multiple token embeddings with one surrogate embedding produced by the merge module. For decoding-time merging, generation is still fully autoregressive. After each new token id is generated, we immediately check whether the recent suffix of the sequence forms a span in the merge rules. If it does, we merge that span and use KV-cache rollback to replace multiple KV entries with one merged KV state. Therefore, UMIM does not skip autoregressive generation steps. It reduces the effective sequence length and KV-cache length used in later computation.

Clarification on task adaptation of Figure 3. Figure 3 shows an example of task adaptation. It is different from the task-agnostic transfer setting used in Table 2, Table 5, and Table 6.

In Figure 3, WT + Rules means that we keep the WikiText-trained base merge module fixed. We do not retrain the merge module. The only change is that we re-mine task-specific merge rules from the HellaSwag training split. This increases the merge ratio without training a new merge module, and tests whether the WikiText-trained merge module can work with a new rule set.

WT + FT means that after re-mining HellaSwag-specific merge rules, we initialize from the WikiText-trained merge module and run a fast supervised fine-tuning step only on the merge module. This allows the method to support a larger merge ratio and also helps recover the accuracy drop caused by out-of-domain merge rules.

Task-Adapted is our final task-adaptation setting. It starts from WT + FT and then further applies RL training, again only to the merge module. The backbone LLM is always kept frozen. With this setting, UMIM can merge around 40% of the tokens while even outperforming the uncompressed baseline in the reported HellaSwag experiment.

Figure 3 also includes ablations. Task-trained means that we do not use the WikiText-trained merge module. Instead, we mine merge rules from the HellaSwag training corpus and train a new merge module from scratch. WT + DPO means that we directly apply RL training to the WikiText-trained merge module without the supervised fine-tuning step. These settings help separate the effects of task-specific rule construction, supervised fine-tuning, and RL.

Overall, Figure 3 shows a clear trend. If we do not want extra training, simply re-counting high-frequency n-grams on the target task and replacing the merge rules can already increase the merge ratio while keeping strong performance. If we further fine-tune the lightweight merge module, the method adapts better to out-of-domain merge rules and reduces the accuracy drop. If we then apply RL after SFT, we get the best accuracy-compression trade-off. Throughout this whole process, the backbone LLM remains frozen. The extra cost mainly comes from quickly collecting task-specific merge rules and adapting only the small merge module. In addition, Appendix Figure 5 reports adaptation results on two more tasks, showing that task adaptation is not limited to HellaSwag and that the same adaptation idea is feasible beyond a single benchmark.

Authors · CommentOpenReview ↗

Dear reviewer:

Thank you again for your thoughtful review, which helped us improve both our analyses and explanations during the rebuttal period.

As the discussion period is drawing to a close, we wanted to gently follow up and ask whether our responses have addressed your concerns. If so, we would be grateful if this could be reflected in your assessment. If anything remains unclear, we would be happy to provide further clarification.

Reviewer F79yOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
4/4
Significance
4/4
Originality
4/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The authors propose an approach to compress the token length of input sequences to autoregressive large language models using an approach where frequently co-occuring tokens are merged into surrogate vectors using a custom small attention network. Note that this compression is only applied to certain spans of tokens in the sequence whose frequency exceeds a threshold in a training corpus and not to the entire sequence of tokens. The custom network learns to generate a single surrogate embedding for a span of tokens such that the output distribution of the main model on this single embedding is the same as that of the final token in the span of tokens. They do this through the use of a prediction distillation loss on the two output distributions. A great benefit of this approach is that this allows them to freeze the main model, which saves immense cost. They evaluate their approach on multiple datasets both on language modeling and downstream benchmarks, and demonstrate up to 40% reduction in token length with only a small accuracy drop.

Strengths and weaknesses

Strengths:

  • The paper is generally well-written but with minor grammatical or typographical errors.
  • The proposed method achieves great token reduction (around 40%) with minor drop in accuracy (compared to other methods).
  • The authors also show transfer of results in out-of-domain evaluations albeit with a ~2-3x decrease in token reduction.
  • On downstream tasks, the method shows the best accuracy on average among compared methods at comparable token reduction rate.
  • The method shows great improvement in prefill throughput at 50% merge ratio (46-274%).
  • The use of predictive distillation loss is highly appropriate and ingenious in this setting as it allows them to freeze the main model and save the cost of training it.

Weaknesses:

  • Requires an extra model to generate surrogate embeddings. However, this model is quite small compared to the main model.
  • Transfer to out-of-domain data reduces token reduction substantially. Perhaps, this problem will reduce as the size of the training corpus is increased to include more domains.
  • No error bars are provided for any experiment making it hard to understand the statistical significance of most results.
  • Decoding throughput improvement isn’t substantial despite a 50% merge ratio.
Questions

I like the paper. Please answer these questions to clear my confusions and I will improve my score if they are satisfactorily resolved.

  • Could you comment on the differences between the merge module’s architecture and the standard attention formulation? It looks slightly different from that formulation. Why a shared kv weight matrix? Is Q completely independent of input embeddings? Why these choices? What are the dimensions of W_o and W_kv?
  • I see Token Reduction (TR) is almost the same among compared methods in some tables. How do you ensure comparable TR among these methods?
  • Any idea why task adaptation sometimes overtakes the original baseline?
  • Am I missing something? Abstract says upto 40% reduction in token length. Table 1 has a maximum of 54% token reduction.
  • What explains the gap in throughput reduction at 50% merge ratio between prefill and decoding? Is it due to the rollback of KV cache?
  • Could you confirm the error bars in accuracy for some of the main results?
Limitations

The limitations section mostly discusses future work. The authors could discuss actual limitations of their work.

Final justification

This is a solid paper. The authors' rebuttal clearly answered my questions, and I am satisfied with their responses. I recommend that the paper be accepted.

Formatting concerns

None

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

(1) Overview

We sincerely thank the reviewer for the careful reading. We first clarify the distinction between our main task-agnostic setting and task adaptation.

Main task-agnostic. We mine high-frequency 2- to 4-gram spans from WikiText-103 to construct merge rules, and train one base merge module that maps each matched span to a surrogate embedding. Tables 2, 5, and 6 directly apply these WikiText-derived rules and the same base checkpoint to PPL, QA, and summarization, respectively, without any downstream-task retraining.

Task adaptation. Figure 3 studies a separate setting. WT + Rules re-mines rules from the HellaSwag training split while keeping the WikiText-trained merge module fixed, increasing merge coverage without additional training. WT + FT further applies SFT only to the merge module under the new rules, helping recover the out-of-domain accuracy drop. Task-Adapted adds RL after SFT, again updating only the merge module while keeping the backbone LLM frozen. This progression provides the best accuracy-compression trade-off: the final setting merges around 40% of tokens and outperforms the uncompressed baseline in the reported HellaSwag experiment. Appendix Figure 5 reports the same adaptation pipeline on two additional tasks, showing that it is not limited to HellaSwag.

(2) About Merge module

In standard Transformer attention, the query, key, and value are usually all generated from the input, e.g., Q = XW_Q, K = XW_K, and V = XW_V, and the output is still a sequence of token-level representations. Our goal is different. The merge module takes a short token span, usually 2-4 token embeddings, and outputs one single surrogate embedding to replace the whole span. Therefore, we do not need to produce one query for each input token, and we do not need to output a representation with the same length as the input span. The module is better understood as attention-based pooling: it reads information from a short span and compresses it into one merged representation.

Q is an independent learnable parameter. Its shape is h x d_h, meaning that each head has one learned query vector. We use this design because the goal of the module is to pool the whole span into one surrogate embedding. Each head only needs a learned readout query to extract one aspect of information from the span. Although Q itself does not depend on the input embeddings, the attention weights are still input-dependent, because they are computed from the dot product between Q and the projected span embeddings after W_kv. Therefore, different n-gram spans still produce different attention weights and different surrogate embeddings.

For the shared W_kv, we use the same projected span representation as both key and value. This choice keeps the merge module lightweight. Since the input span is very short and the goal is pooling rather than full token-token interaction, we found that adding separate key/value projections or extra linear layers did not bring a clear improvement, while increasing the parameter count. Therefore, we use a shared W_kv before pooling, followed by an output projection W_o after concatenating the heads.

For backbone embedding dimension d, number of heads h, and d_h = d/h, W_kv has shape d x d. Its output is split across h heads; equivalently, each head uses a d_h x d slice of W_kv. Each head produces a d_h-dimensional vector, and their concatenation has dimension d. W_o also has shape d x d, so the final surrogate remains in the backbone embedding space and can be directly passed to the frozen LLM.

Overall, these design choices are made to keep the module small, stable to train, and easy to plug into a frozen LLM. We do not claim that this is the only or globally optimal architecture. Rather, these choices are empirical. Among the variants we tried, this design gave a good balance of performance, stability, and parameter efficiency. In Appendix A, we also share the path of our experiments and how we arrived at the current design, including earlier attempts that were not adopted. We hope these details can provide useful experience for the community when developing future input-level merging methods.

(3) About TR matching

As clarified in our overview response, the main task-agnostic evaluations all use the same setting: the merge rules are mined from WikiText-103, and the base merge module is trained with these WikiText-derived rules. For Table 2, Table 5, and Table 6, we do not re-mine merge rules or retrain the merge module for each downstream task.

Therefore, the TR of UMIM on each task is determined by the maximum natural coverage of the WikiText-derived merge rules on the target inputs, rather than being manually specified for that task. We first run UMIM under this fixed setting and measure its actual TR.

After obtaining the actual TR of UMIM, we then adjust the compression budget of the baseline methods to match this TR. Most of these baselines provide a compression-ratio or budget parameter, which allows us to control their token reduction and make the comparison under a comparable TR.

(4) About task adaptation outperforming the baseline

As clarified in our overview, task adaptation is separate from the main task-agnostic evaluation. It shows that UMIM can be adapted to downstream tasks. It can also address the issue of low merge ratio for out-of-domain data. Of course, expanding the base corpus—as suggested by the reviewer is another viable approach.

For task adaptation, we re-mine task-specific rules from the downstream training split to increase merge coverage. Starting from the WikiText-103-trained base merge module, we apply SFT followed by RL only to the merge module, while keeping the backbone LLM frozen. This can be viewed as parameter-efficient domain adaptation that improves compression efficiency and may also improve task performance.

Outperforming the uncompressed baseline is an empirical observation, not a guarantee. Task-adapted UMIM does not compress tokens randomly; it learns task-specific surrogate embeddings that better preserve, and sometimes slightly improve, the frozen LLM's predictive behavior. For some tasks and merge ratios, this adaptation may provide regularization or task alignment, leading to performance above the uncompressed baseline.

HellaSwag in Figure 3 and two additional tasks in Appendix Figure 5, under certain merge ratios. These results demonstrate the feasibility of UMIM task adaptation. With the backbone LLM kept frozen, we only adapt the parameters of the small merge module. Even under this lightweight adaptation setting, UMIM can merge a large fraction of tokens while still achieving strong performance, which we believe is one of the key strengths of our method.

(5) About reduction ratio clarify Thank you for pointing this out. Table 1 reports 54% TR for DeepScaleR. This number comes from a different setting from the WikiText-based Llama/GPT experiments. And Table 1 reports the distribution alignment between the original LLMs and the merged-input models durining training. The "up to 40%" statement in the abstract was intended to summarize the main practical downstream evaluation setting, especially the task-agnostic experiments. We will revise the expression to distinguish these settings more precisely.

(6) About prefill and decoding efficiency clarify

The gap mainly comes from the different nature of prefill and autoregressive decoding. For prefill, UMIM first scans the input token ids and checks whether any token-id span appears in the merge rules. If a span is matched, we replace its token embeddings with one surrogate embedding. Since we use non-overlapping merges, the matched spans can be processed in a batched way. This makes the extra merging overhead lightweight. More importantly, the benefit starts immediately: if around half of the prompt tokens are merged, the backbone LLM receives a much shorter effective embedding sequence from the beginning. Therefore, both computation and KV-cache memory are reduced directly during prefill.

For decoding, Generation is autoregressive, and UMIM doesn't skip autoregressive steps. After each new token id is generated, we check whether the recent suffix matches a span in the merge rules. If it matches, we merge the span and roll back the corresponding KV-cache entries; Therefore, the decoding-side benefit mainly comes from gradually shortening the accumulated effective sequence length and KV cache. It cannot remove the inherent one-token-at-a-time autoregressive process.

As discussed in the appendix, there are natural engineering optimizations that could further reduce this overhead. A more optimized implementation could also fuse the cache update logic into CUDA/Triton kernels. These optimizations are future work and are not part of the reported implementation.

(7) About error bars

Following the reviewer's suggestion, we report bootstrap 95% confidence intervals for the QA main table. The confidence intervals are computed with 10,000 bootstrap resamples.

Task Original Acc. (%) [95% CI] UMIM Acc. (%) [95% CI] UMIM TR (%)
PIQA 79.71 [77.86, 81.50] 77.48 [75.57, 79.33] 10
COPA 79.80 [76.20, 83.20] 75.80 [72.00, 79.60] 6
OpenBookQA 43.80 [39.60, 48.20] 41.20 [36.80, 45.60] 10
ARC-Easy 77.02 [73.51, 80.35] 74.04 [70.35, 77.72] 14
ARC-Challenge 50.50 [44.82, 56.19] 46.15 [40.47, 52.17] 14

Across all five tasks, the marginal 95% confidence intervals overlap. At naturally realized token reduction, UMIM retains accuracy close to the original model, with absolute differences of 2.2-4.4 percentage points.

We would like to thank the reviewer again for their careful review and appreciation of our paper. and we hope our response has addressed your questions and concerns.

Authors · CommentOpenReview ↗

Thank you again for the careful review. We would like to clarify a few more details except what we have talked above to make it more clear.

Clarification of the main UMIM pipeline. In our main setting, we first use WikiText-103 as the base corpus. From WikiText-103, we mine high-frequency 2- to 4-gram token spans and use them to build the merge rules. These merge rules decide which token spans are allowed to be merged. We then train a base merge module on top of these rules. The merge module takes the embeddings of a multi-token span and maps them into one surrogate embedding. The main experiments in Table 2, Table 5, and Table 6 all use this same WikiText-based setup. That is, the PPL results in Table 2, the QA results in Table 5, and the summarization results in Table 6 are obtained by directly applying the merge rules mined from WikiText-103 and the base merge module trained with these rules. We do not retrain the merge module for these downstream tasks. These results are meant to test whether a WikiText-trained UMIM module can directly transfer to unseen downstream tasks.

UMIM merging is used in two places: prompt merging and decoding-time merging. For prompt merging, we scan the input prompt of the target task and match its token spans against the merge rules. If a span appears in the rules, we replace its multiple token embeddings with one surrogate embedding produced by the merge module. For decoding-time merging, generation is still fully autoregressive. After each new token id is generated, we immediately check whether the recent suffix of the sequence forms a span in the merge rules. If it does, we merge that span and use KV-cache rollback to replace multiple KV entries with one merged KV state. Therefore, UMIM does not skip autoregressive generation steps. It reduces the effective sequence length and KV-cache length used in later computation.

Clarification on task adaptation of Figure 3. Figure 3 shows an example of task adaptation. It is different from the task-agnostic transfer setting used in Table 2, Table 5, and Table 6.

In Figure 3, WT + Rules means that we keep the WikiText-trained base merge module fixed. We do not retrain the merge module. The only change is that we re-mine task-specific merge rules from the HellaSwag training split. This increases the merge ratio without training a new merge module, and tests whether the WikiText pretrained merge module can work with a new merge rule set during inference.

WT + FT means that after re-mining HellaSwag-specific merge rules, we initialize from the WikiText-trained merge module and run a fast supervised fine-tuning step only on the merge module. This allows the method to support a larger merge ratio and also helps recover the accuracy drop caused by out-of-domain merge rules.

Task-Adapted is our final task-adaptation setting. It starts from WT + FT and then further applies RL training, again only to the merge module. The backbone LLM is always kept frozen. With this setting, UMIM can merge around 40% of the tokens while even outperforming the uncompressed baseline in the reported HellaSwag experiment.

Figure 3 also includes ablations. Task-trained means that we do not use the WikiText pre-trained merge module. Instead, we mine merge rules from the HellaSwag training corpus and train a new merge module from scratch. This ablates the benefits of merge module pretraining before applying to downstream tasks. And we expect the benefits to be bigger when the initial training corpus becomes larger, as the reviewer points out precisely.

WT + DPO means that we directly apply RL training to the WikiText-trained merge module without the supervised fine-tuning step. These settings help separate the effects of task-specific rule construction, supervised fine-tuning, and RL.

Overall, Figure 3 shows a clear trend.

  • If we do not want extra training, simply re-counting high-frequency n-grams on the target task and replacing the merge rules can already increase the merge ratio while keeping strong performance.
  • If we further fine-tune the lightweight merge module, the method adapts better to out-of-domain merge rules and reduces the accuracy drop.
  • If we then apply RL after SFT, we get the best accuracy-compression trade-off. Throughout this whole process, the backbone LLM remains frozen. The extra cost mainly comes from quickly collecting task-specific merge rules and adapting only the small merge module. In addition, Appendix Figure 5 reports adaptation results on two more tasks, showing that task adaptation is not limited to HellaSwag and that the same adaptation idea is feasible beyond a single benchmark.
Reviewer F79y · CommentOpenReview ↗

Thank you for the detailed explanations. I'm satisfied with the replies. I think the paper should be accepted and have increased my score 4->5. Good luck!

Authors · CommentOpenReview ↗

Thank you very much for your careful consideration and encouraging feedback. We are glad that our responses and additional analyses have addressed your concerns. Your constructive comments have helped us improve the paper substantially, and we sincerely appreciate your updated assessment and support.

Comments on the paper

1 comment
Authors · CommentOpenReview ↗

Dear PC, SAC, AC, Reviewers:

We sincerely thank all the reviewers and the AC for their careful reading, constructive feedback, and recognition of the value of our work. Reviewer F79y stated that they were satisfied with our response and increased the score. Reviewer aNcd stated that they had no further questions and supported the paper for acceptance. Reviewer F1PB acknowledged our response and also increased the score. We further provided follow-up responses with additional empirical evidence, theoretical analysis, decoding-time merging experiments, and clarifications of the method and evaluation settings. We hope these additions further address the remaining concerns and strengthen the paper.

Across the rebuttal and follow-up discussion, we addressed the major concerns through detailed methodological clarifications and substantial new theoretical and empirical evidence. We clarified the complete UMIM pipeline and the scope of our claims, and strengthened the paper with additional analyses and experiments on surrogate reliability, long-context behavior, generated-token compression, efficiency, and statistical reliability. These responses resolved or substantially clarified the main issues raised during the initial review. Rather than repeating each individual response here, we next summarize the central strengths and contributions of the paper.

UMIM provides a simple and effective two-stage framework for replacing frequent n-grams token spans with learned surrogate embeddings. First, a task-agnostic Base Merge Module is trained for a frozen backbone on a general corpus and then transferred directly to language modeling and downstream tasks without task-specific retraining, where it consistently outperforms existing compression baselines at comparable token-reduction ratios. Second, when task adaptation is desired, we initialize from the Base Merge Module and adapt only the lightweight Merge Module through SFT and RL, while keeping the entire backbone language model frozen. This improves the accuracy–compression trade-off and allows UMIM to merge approximately 40% of the tokens while even surpassing the uncompressed base model in our task-adaptation experiments. Therefore, UMIM is not only a strong task-agnostic compression method, but can also serve as a lightweight, parameter-efficient interface for adapting frozen language models.

We once again sincerely thank all the reviewers and the PC, SAC, AC for the time and effort they devoted to evaluating our work, for their constructive feedback, and for their recognition of our contributions. Their comments and the subsequent discussion have helped us strengthen both the paper and its presentation. Considering the novelty and simplicity of UMIM, its strong and broad empirical performance, its practical efficiency benefits, and the comprehensive new evidence provided during the rebuttal, we firmly believe that the paper makes a solid contribution to the community and deserves acceptance at the conference.

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

Missing a submission?

Loading the discussion…