Ruijie Miao
· 1 previous affiliation
- Peking UniversitySince 2018
- PhD student · Since 2022
- Undergrad student · 2018–2022
Research Overview
Ruijie Miao focuses on high-performance network measurement, data stream processing, and efficient inference systems for large language models. His early work developed sketch-based algorithms for network monitoring and query estimation, while his recent research addresses memory bottlenecks and computational efficiency in modern AI architectures. He currently investigates KV cache compression, early-exit inference frameworks, and model evaluation.
Research Trajectory
Ruijie Miao’s research began with a strong focus on high-speed network measurement and data stream processing, specifically advancing the design and application of sketch-based algorithms. In 2021, he collaborated on CocoSketch: high-performance sketch-based measurement over arbitrary partial key query, which addressed the limitations of traditional sketches that only measured single flow keys. This work introduced a framework allowing operators to specify a range of possible flow keys before measurement and extract information for any key in that range at query time. He subsequently expanded this foundational work into a comprehensive journal article, CocoSketch: High-Performance Sketch-Based Measurement Over Arbitrary Partial Key Query (2023). Here, he formalized the arbitrary partial key query as a subset sum estimation problem and introduced stochastic variance minimization to significantly reduce per-packet update delays.
Throughout 2023, Miao led several projects that expanded the capabilities of sketch-based systems for complex data streams. He developed Hyper-USS: Answering Subset Query Over Multi-Attribute Data Stream, an innovative algorithm designed to handle subset queries across multiple attributes accurately and efficiently, overcoming the single-attribute limitations of prior designs. To address the challenge of identifying sudden spikes in data arrival rates, he introduced BurstSketch: Finding Bursts in Data Streams. This two-stage system utilized a "Running Track" technique to filter potential burst items and a "Snapshotting" method to capture key features of the burst pattern in real time. Recognizing the difficulty of tuning these probabilistic data structures, he also proposed SketchConf: A Framework for Automatic Sketch Configuration, which automatically generates memory-optimal configurations for order-independent sketches to satisfy user-defined error constraints.
Alongside his core algorithmic work in 2023, Miao participated in broader collaborative efforts to improve network reliability and monitoring infrastructure. He contributed to ChameleMon: Shifting Measurement Attention as Network State Changes, a system that dynamically reallocates resources between packet loss detection and packet accumulation tasks based on real-time conditions using a flexible data structure called FermatSketch. He also collaborated on AAsclepius: Monitoring, Diagnosing, and Detouring at the Internet Peering Edge, an automated system for cloud service providers that utilizes "PathDebugging" to identify the direction of network faults and efficiently detour traffic.
In 2024, Miao’s research trajectory expanded into machine learning systems, applying his expertise in memory efficiency and data structures to the computational bottlenecks of Large Language Models (LLMs). He developed An Efficient Inference Framework for Early-exit Large Language Models, which tackled the complex systems challenges of batching sequences that exit at different computational layers. By efficiently managing the KV cache for skipped layers, the framework achieved significant improvements in throughput and latency. This work advanced the broader research areas of Patience and Stability for Early Exit Inference and Preserving KV Cache Integrity in Early Exit LLMs.
By 2025, Miao began bridging his background in probabilistic data structures with LLM memory management. He guided the development of KVReviver: Reversible KV Cache Compression with Sketch-Based Token Reconstruction. Unlike traditional compression methods that permanently discard tokens—leading to "Contextual Amnesia"—KVReviver utilized sketch-based data structures to allow for full-scale attention reconstruction. This approach maintained high accuracy while drastically reducing the memory budget, contributing directly to the area of Reversible and Speculative KV Cache Management. In parallel, he addressed the memory overhead of Mixture-of-Experts architectures with MergeMoE: Efficient Compression of MoE Models via Expert Output Merging. By framing compression as a mathematical optimization problem and merging expert outputs rather than parameters, the framework provided a highly efficient alternative to heuristic-based compression, advancing work in the area of Memory Efficient Inference for Mixture of Experts Models.
Most recently, in 2026, Miao has explored both the behavioral evaluation of AI models and continued his foundational work in network systems. He collaborated on Inverse IFEval: Can LLMs Unlearn Stubborn Training Conventions to Follow Real Instructions?, which introduced an adversarial benchmark designed to test whether models can override their "cognitive inertia" and follow unconventional user requests rather than default training patterns. Concurrently, he contributed to TitanLog: Hierarchical and Elastic Logging for High-Speed Network Data Stream, returning to the domain of high-performance network infrastructure to design scalable logging mechanisms.
Current Directions
Miao’s most recent work operates at the intersection of systems optimization for large-scale AI models and high-performance network infrastructure. A primary focus is mitigating the memory and computational bottlenecks of LLMs during inference. This includes designing reversible compression techniques for KV caches that allow models to reconstruct context without permanently losing data, as well as developing mathematical optimization frameworks for compressing Mixture-of-Experts (MoE) models by merging expert outputs.
Additionally, his recent research investigates the behavioral alignment and evaluation of language models, specifically exploring how models handle adversarial instructions that conflict with their standard training conventions. Alongside these AI-centric systems challenges, he continues to advance data stream processing, focusing on hierarchical and elastic logging architectures capable of handling the demands of modern, high-speed network environments.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake