Junyi Shen
· 1 previous affiliation
- National University of SingaporeSince 2024
- PhD student · 2024–2028
- Current
Research Overview
Junyi Shen focuses on systems for large language model serving, agentic workflows, and efficient inference optimization. His early work explored character role-playing and persona maintenance in dialogue systems, while his recent trajectory emphasizes building scalable service fabrics and batch processing frameworks to accelerate complex, multi-step AI workloads.
Research Trajectory
Shen’s early research investigated the challenges of maintaining consistent character identities in language models. He oversaw the development of a framework and dataset designed to help models accurately role-play fictional characters in ChatHaruhi: Reviving Anime Character in Reality via Large Language Model (2023). By integrating specialized system prompts with a retrieval-augmented memory of original scripts, this work enabled models to mimic specific linguistic habits and personalities while significantly reducing hallucinations. This contribution advanced the broader area of Controlling Persona Drift in Multi-Turn Dialogue and touched upon techniques relevant to the research direction of Domain Specialization for Expert Performance in Small Models.
Transitioning toward systems-level optimizations for AI workloads, Shen introduced FlowMesh: A Service Fabric for Composable LLM Workflows (2025). This architecture reimagines complex pipelines—such as reinforcement learning from human feedback (RLHF) and agentic workflows—as a single shared multi-tenant service rather than a collection of isolated jobs. By decomposing these workflows into fine-grained operators and utilizing a global control plane to deduplicate work and batch requests across different users, the system achieves up to a 3.8× reduction in cost and 2.0× lower energy usage while maintaining or improving latency. This project represents a major contribution to the area of Elastic Inference Serving for Bursty AI Workloads and incorporates strategies for Opportunistic Resource Harvesting in Shared Computing Clusters.
Continuing his focus on system efficiency, Shen developed Halo, detailed in Batch Query Processing and Optimization for Agentic Workflows (2025). This system addresses the massive efficiency gap inherent in complex, multi-step AI tasks where language models utilize tools, search the web, and collaborate with specialized agents. By modeling agentic workloads as query plans and treating LLM invocations as first-class operators, the framework brings batch query processing and optimization techniques into these environments. The work tackles challenges in the research direction of Directed Acyclic Graph Planning for Autonomous Agents and provides new mechanisms for Dynamic Memory Orchestration for Large Scale Model Serving.
Most recently, Shen contributed to SpecBranch: Speculative Decoding via Hybrid Drafting and Rollback-Aware Branch Parallelism (2026), a novel framework designed to accelerate inference. Traditional serial execution in speculative decoding often suffers from inefficiencies known as "waiting bubbles." To eliminate these bottlenecks, this work introduces branch parallelism combined with a hybrid drafting predictor (H-RAD). By spawning multiple parallel speculative branches, the system achieves substantial speedups of 1.8× to 4.5× over standard decoding while reducing wasted rollback tokens by up to 50%.
Current Directions
The most recent papers in the evidence indicate a strong focus on optimizing the systems infrastructure required for next-generation AI workloads. Recent work investigates how to efficiently serve complex, multi-step agentic workflows by treating them as composable, batchable query plans rather than isolated, monolithic executions. Additionally, there is an ongoing emphasis on accelerating large language model inference through advanced speculative decoding techniques, specifically by exploring parallel branch execution to minimize computational waste and maximize throughput in large-scale deployments.
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