Can Reasoning Path still be Effective as Input? Bridging Post-Reasoning to Chain-of-Thought Compression

Chengzhengxu Li, Xiaoming Liu, Zhaohan Zhang, Shengchao Liu, Guoxin Ma, Yu Lan, Cong Wang, Chao Shen

TL;DR

Upfront Chain-of-Thought (UCoT) accelerates large language model (LLM) reasoning by shifting the Chain-of-Thought (CoT) from a slow, autoregressive output generation to an efficient input context. By using a lightweight compressor model to generate continuous "soft tokens" representing the reasoning path in a single forward pass, UCoT allows a larger executor model to deliver highly accurate answers while slashing token usage by up to 50%.

What Problem Does This Paper Address?

Modern reasoning models (like OpenAI's o1/o3 or DeepSeek-R1) achieve state-of-the-art performance by generating long, explicit Chains-of-Thought (CoT). However, generating hundreds or thousands of intermediate tokens autoregressively introduces massive computational overhead and high user latency.

Existing methods try to compress these reasoning paths through concise prompting, token pruning, or truncation. Unfortunately, because these techniques operate purely on discrete text outputs, they often discard crucial logical steps, leading to severe performance degradation.

The authors of this paper ask a fundamental question: Can we treat the reasoning path as an input context rather than an output generation task? They introduce the concept of post-reasoning—providing the core logical framework upfront so the primary LLM only needs to compute the final steps, bypassing the output latency bottleneck.

Figure 1: Comparison of reasoning paradigms. (a) Vanilla Reasoning generates CoT autoregressively, caus- ing high output latency. (b) Post-Reasoning uses ex- plicit CoT as input, trading contextual CoT generation for short output. (c) UCoT generates soft tokens via a single forward pass, achieving low latency and high performance.

Methods

To make post-reasoning practical, the authors propose Upfront Chain-of-Thought (UCoT), a framework consisting of a lightweight compressor model and a powerful executor model.

The UCoT pipeline operates in two main training stages:

  1. Contextual CoT Generation (Compressor Training): Instead of generating explicit text, a small compressor model ($M_c$) processes the input query and a sequence of placeholder tokens. In a single forward pass, it extracts the last hidden states of these placeholders to form continuous soft tokens. The compressor is optimized via a distillation loss to ensure these soft tokens capture the semantic essence of a high-quality, long-form CoT generated by the larger executor.
  2. Contextual CoT Utilization (Executor Training): A two-layer MLP projector maps the compressor's soft tokens into the executor model's ($M_e$) embedding space. The executor is then trained to ingest these soft tokens alongside the query. Using a reward-guided mechanism and a semantic alignment loss, the executor learns to output a highly condensed reasoning path and the correct final answer within a strictly limited token budget.
Figure 3: Overview of Upfront Chain-of-Thought. In contextual CoT generation stage (§4.1) compressor is trained Mc to generate soft tokens. In contextual CoT utilization stage (§4.2), the executor Me learns to give correct responses with less CoT length based on the contextual soft tokens. In Efficient Post-Reasoning satge (§4.3), the compressor Mc and the executor Me cooperate under the post-reasoning paradigm to achieve efficient reasoning.

Datasets

The framework was trained and evaluated across several diverse benchmarks spanning mathematics, scientific question answering, and code generation:

  • GSM8K & MATH (MATH-500 subset): Standard multi-step mathematical reasoning datasets.
  • AIME 2024: High-difficulty mathematics competition problems.
  • ASDiv: Diverse math word problems.
  • GPQA: Graduate-level, Google-proof scientific QA.
  • HumanEval: Python code generation tasks.

Key Insights and Ideas

  • CoT as Self-Generated Input: The core philosophical shift is realizing that a Chain-of-Thought is essentially an input context the model generates for itself to bridge the logical gap between a query and an answer. Providing it as an optimized input embedding fundamentally changes the inference latency equation.
  • The Quality Bottleneck: In a pilot study, the authors found that simply feeding explicit text CoT from a smaller model into a larger model degraded accuracy by up to 20%. This highlights why continuous soft tokens distilled from a larger model are necessary—they preserve high-fidelity logic that small text models cannot express concisely.
  • Soft Tokens as Cognitive Templates: When the soft tokens are decoded back into text for analysis, they reveal a structured reasoning pattern (e.g., fractional derivation $\rightarrow$ aggregation $\rightarrow$ remainder calculation). They act as a structural template rather than rigid text, allowing the executor to maintain logical consistency flexibly.

Key Results

UCoT consistently outperforms standard text-compression baselines (like Truncation, Chain-of-Draft, and Tokenskip) across different compression ratios ($\alpha = 0.9, 0.7, 0.5$).

Performance comparison of UCoT against baseline compression methods.
  • Token Reduction & Accuracy Boost: When applied to the Qwen2.5-7B-Instruct model on the GSM8K dataset at a 0.5 compression ratio, UCoT reduced token usage by 50.75% while achieving an accuracy 3.08% higher than the state-of-the-art Tokenskip method.
  • Scaling to Extra-Long CoT: The authors tested UCoT on models utilizing ultra-long reasoning paths like DeepSeek-R1-Distill-Qwen-7B. On the HumanEval coding dataset, UCoT cut inference tokens by 50.67% while slightly improving baseline accuracy (+0.17% over Tokenskip).
  • Soft Token Length Sensitivity: Performance scales positively with the number of allocated soft tokens. Increasing the soft token length from 16 to 64 allowed the executor to closely approach the accuracy of uncompressed, vanilla long-form reasoning.

Limitations and Future Work

  • Closed-Source Incompatibility: Because UCoT relies on injecting continuous soft tokens directly into the LLM's embedding layer, it cannot be applied to closed-source models hidden behind text-only APIs (e.g., OpenAI's o1/o3).
  • Uniform Compression Ratios: The current framework applies a fixed compression budget across all inputs. It lacks the adaptive capability to allocate more soft tokens to highly complex problems and fewer tokens to trivial ones.
  • Scale of Evaluation: Due to hardware constraints, the authors limited their evaluation to models up to 14B parameters. Validating UCoT on ultra-large-scale models (e.g., 72B+ parameters) remains an open area for future research.

Summary updated

Abstract

Recent developments have enabled advanced reasoning in Large Language Models (LLMs) via long Chain-of-Thought (CoT), trading efficiency during inference for performance. Existing works focus on compressing generated CoT in reasoning, which impairs the necessary information for deriving the correct answer. In this work, we propose post-reasoning, a reasoning paradigm that takes CoT as a part of context to simplify the reasoning task for LLMs. We find that post-reasoning significantly reduces the generation length of LLMs, but its effectiveness hinges on the efficiency and the reliability of the contextual CoT generation. Therefore, we propose Upfront CoT (UCoT), an efficient post-reasoning framework for CoT compression. UCoT trains a lightweight model (compressor) to provide contextual CoT in form of soft tokens and trains the LLM (executor) to leverage this contextual CoT for producing the final answer. Extensive experiments show that UCoT maintains the powerful reasoning ability of executor while significantly reducing the length of CoT. It is worth mentioning that when applying UCoT to the Qwen2.5-7B-Instruct model, the usage of tokens on GSM8K dataset is reduced by 50%, while the performance is 3.08% higher than that of the state-of-the-art (SOTA) method.
BibTeX
@inproceedings{li2026can,
  author = {Chengzhengxu Li and Xiaoming Liu and Zhaohan Zhang and Shengchao Liu and Guoxin Ma and Yu Lan and Cong Wang and Chao Shen},
  title = {{Can Reasoning Path still be Effective as Input? Bridging Post-Reasoning to Chain-of-Thought Compression}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2026},
  doi = {10.18653/v1/2026.acl-long.1810},
}
Figure