Zhenxu Tian
Author directory2026
LongFlow: Efficient KV Cache Compression for Reasoning Models
Yi Su | Zhenxu Tian | Dan Qiao | Yuechi Zhou | Zheming Yang | Juntao Li | Min Zhang
Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing
Yi Su | Zhenxu Tian | Dan Qiao | Yuechi Zhou | Zheming Yang | Juntao Li | Min Zhang
Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing
Recent reasoning models such as OpenAI-o1 and DeepSeek-R1 have shown strong performance on complex tasks including mathematical reasoning and code generation. However, this performance gain comes with substantially longer output sequences, leading to significantly increased deployment costs. In particular, long outputs require large KV caches, resulting in high memory consumption and severe bandwidth pressure during attention computation. Most existing KV cache optimization methods are designed for long-input, short output scenarios and are ineffective for the long-output setting of reasoning models. Moreover, importance estimation in prior work is computationally expensive and becomes prohibitive when continuous re-evaluation is required during long generation. To address these challenges, we propose LongFlow, a KV cache compression method with an efficient importance estimation metric derived from an intermediate result of attention computation using only the current query. This design introduces negligible computational overhead and requires no auxiliary storage. We further develop a custom kernel that fuses FlashAttention, importance estimation, and token eviction into a single optimized operator, improving system-level efficiency. Experiments show that LongFlow achieves up to an 11.8x throughput improvement with 80% KV cache compression with minimal impact on model accuracy.
2025
Alignment-Augmented Speculative Decoding with Alignment Sampling and Conditional Verification
Jikai Wang | Zhenxu Tian | Juntao Li | Qingrong Xia | Xinyu Duan | Zhefeng Wang | Baoxing Huai | Min Zhang
Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing
Jikai Wang | Zhenxu Tian | Juntao Li | Qingrong Xia | Xinyu Duan | Zhefeng Wang | Baoxing Huai | Min Zhang
Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing
Recent works have revealed the great potential of speculative decoding in accelerating the autoregressive generation process of large language models. The success of these methods relies on the alignment between draft candidates and the sampled outputs of the target model. Existing methods mainly achieve draft-target alignment with training-based methods, e.g., EAGLE, Medusa, involving considerable training costs. In this paper, we present a training-free alignment-augmented speculative decoding algorithm. We propose alignment sampling, which leverages output distribution obtained in the prefilling phase to provide more aligned draft candidates. To further benefit from high-quality but non-aligned draft candidates, we also introduce a simple yet effective flexible verification strategy. Through an adaptive probability threshold, our approach can improve generation accuracy while further improving inference efficiency. Experiments on 8 datasets (including question answering, summarization and code completion tasks) show that our approach increases the average generation score by 3.3 points for the LLaMA3 model. Our method achieves a mean acceptance length up to 2.39 and speed up generation by 2.23×.