Rui Pan 潘瑞 (@ruipeterpan) header
Rui Pan 潘瑞 (@ruipeterpan) profile picture

Member of Technical Staff @FireworksAI_HQ, efficient LLM inference, previously PhD @PrincetonCS @Google @AmazonScience @maxplanckpress @WisconsinCS

Princeton, NJ
Joined August 2016
Photo by Rui Pan 潘瑞 (@ruipeterpan)Photo by Rui Pan 潘瑞 (@ruipeterpan)Photo by Rui Pan 潘瑞 (@ruipeterpan)Photo by Rui Pan 潘瑞 (@ruipeterpan)Photo by Rui Pan 潘瑞 (@ruipeterpan)Photo by Rui Pan 潘瑞 (@ruipeterpan)
Super cool work!
Introducing DeepConf: Deep Think with Confidence 🚀 First method to achieve 99.9% on AIME 2025 with open-source models! Using GPT-OSS-120B even without tools, we reached this almost-perfect accuracy while saving up to 85% generated tokens. It also delivers many strong advantages for parallel thinking: 🔥 Performance boost: ~10% accuracy across models & datasets ⚡ Ultra-efficient: Up to 85% fewer tokens generated 🔧 Plug & play: Works with ANY existing model - zero training needed (no hyperparameter tuning as well!) ⭐ Easy to deploy: Just ~50 lines of code in vLLM (see PR below) 📚 Paper: arxiv.org/pdf/2508.15260 🌐 Project: jiaweizzhao.github.io/deepco… joint work with: @FuYichao123 , xuewei_wang, @tydsh (see details in the comments below)
11
1,261
I'm too lazy to write a real promo post or make a poster. But! 🤓👆I will be at MLSys presenting our work this Thursday in Session 10. This stemmed from an amazing collaboration with Zhuang, Zhen, Can, @ZancatoLuca, @yidawang from AWS, and @tri_dao and Ravi from Princeton. Come say hi -- happy to chat!
Marconi: Prefix Caching for the Era of Hybrid LLMs Marconi improves caching for hybrid LLMs with policies optimizing reuse likelihood and compute savings, achieving 34.4× higher token hit rates and significantly reducing latency.
1
1
29
2,742
Our work received an honorable mention for the outstanding paper!!! 🤓
3
1
22
8,741
1/ 🚀 Introducing SpecReason: Fast and Accurate Inference-Time Compute via Speculative Reasoning! We tackle the high latency in serving Large Reasoning Models (LRMs) by offloading simpler reasoning steps to lightweight models, achieving a️1.5-2.5× speedup⚡️ while preserving/improving accuracy! 📄: arxiv.org/abs/2504.07891 💻: github.com/ruipeterpan/specr… More details in 🧵!
1
2
17
900
2/ Key insight: LRMs break hard tasks into steps, but not all steps are equally hard! SpecReason uses a small model to "speculate" easier steps, while the base model only assesses/corrects them. Unlike speculative decoding (which demands exact tokens), we exploit semantic flexibility in reasoning -- cutting latency while preserving/improving accuracy!
1
2
149
10 citations ain't much, but feeling proud of my baby steps! 🥳
2
56
3,065
Some✨personal✨news: I have committed to @PrincetonCS for my Ph.D.! Super excited about the next chapter of my life! A huge thank you to everyone who had supported me throughout my journey <3
6
34
Most importantly, I want to thank Prof. Shivaram Venkataraman. Words cannot express my gratitude and appreciation for him. He is *amazing*. That is all.
1
4
🥺
This post is from an account that no longer exists. Learn more
A homeless guy on state street tried to pull a Jedi mind trick on me into giving him some changes. I liked him.
1