arXiv Science⌕ Search

arXiv subjects

Byeongjun Shin

Publications and source records attributed to Byeongjun Shin.

4 recordsLinked to original sources

A2Optimizer: Accelerating Time-to-Efficiency of LLM Serving with Agents

Serving large language models (LLMs) efficiently is a recurring, time-critical optimization problem: each new model, hardware platform, and workload reopens the search for the serving configuration and code that maximize tokens per GPU under a latency objective. We call the time this search takes to reach a competitive operating point the time-to-efficiency of a deployment. The search is increasingly delegated to AI coding agents, yet writing code is no longer what limits time-to-efficiency. Every optimization candidate must be benchmarked end to end on GPUs that could otherwise serve traffic, and new candidates for coding agents cannot start until these benchmarks finish. This paper presents A2Optimizer, an Agentic AI based serving-stack Optimizer that shortens time-to-efficiency by removing most of this GPU benchmarking from the optimization loop. A2Optimizer couples coding agents with A2Sim, our performance simulator, which serves as a surrogate for the target LLM serving infrastructure. Most candidates are thus evaluated in simulation on CPUs, and GPUs are needed mainly for validation, which lets A2Optimizer substantially reduce time-to-efficiency compared with a baseline agent loop for optimizing LLM serving.

cs.AI↗

SlimWise: Decoupling Expert Pruning Across Prefill and Decode for Efficient MoE Serving

Mixture-of-experts (MoE) models activate few experts per token, yet batched decoding can access nearly the entire expert pool, making expert-weight traffic a major bottleneck. Expert pruning reduces this traffic, but conventional approaches also prune compute-bound prefill, sacrificing model quality for little throughput benefit. We present SlimWise, a serving framework that tailors the expert pool to each inference phase. SlimWise performs prefill with the full model and decode with a pruned model that directly reuses the prefill-generated KV cache without conversion. Across two MoE backbones and three pruning criteria, this training-free KV cache handoff substantially narrows accuracy gaps relative to the full model in many settings. We also show that benchmark accuracy can conceal substantial pruning-induced changes in generation length. To address these distortions and residual accuracy loss, SlimWise introduces a low-cost distillation stage that trains the decoder to continue from full-model KV caches while updating only a small subset of parameters. Implemented in vLLM, SlimWise supports both prefill-decode (PD) disaggregation and PD-colocated serving. On Qwen3.6-35B-A3B, SlimWise improves decode throughput by up to 1.81x at 50% expert pruning with minimal accuracy loss.

cs.LG↗

Agent-X: Full Pipeline Acceleration of On-device AI Agents

LLM-based agents deliver state-of-the-art performance across tasks but incur high end-to-end latency on edge devices. We introduce Agent-X, a software-only, accuracy-preserving framework that accelerates both the prefill and decode stages of on-device agent workloads. Agent-X's two key components rewrite prompts to leverage prefix caching tailored to agent-specific input-token patterns and enable LLM-free speculative decoding for fast token generation with minimal overhead. On representative agentic workloads, Agent-X achieves a 1.61x end-to-end speedup in real systems with no accuracy loss and can be seamlessly integrated into existing on-device AI agents. To the best of our knowledge, ours is the first to systematically characterize and eliminate latency bottlenecks in on-device agents.

cs.AI↗

The Cost of Dynamic Reasoning: Demystifying AI Agents and Test-Time Scaling from an AI Infrastructure Perspective

Large-language-model (LLM)-based AI agents have recently showcased impressive versatility by employing dynamic reasoning, an adaptive, multi-step process that coordinates with external tools. This shift from static, single-turn inference to agentic, multi-turn workflows broadens task generalization and behavioral flexibility, but it also introduces serious concerns about system-level cost, efficiency, and sustainability. This paper presents the first comprehensive system-level analysis of AI agents, quantifying their resource usage, latency behavior, energy consumption, and datacenter-wide power consumption demands across diverse agent designs and test-time scaling strategies. We further characterize how AI agent design choices, such as few-shot prompting, reflection depth, and parallel reasoning, impact accuracy-cost tradeoffs. Our findings reveal that while agents improve accuracy with increased compute, they suffer from rapidly diminishing returns, widening latency variance, and unsustainable infrastructure costs. Through detailed evaluation of representative agents, we highlight the profound computational demands introduced by AI agent workflows, uncovering a looming sustainability crisis. These results call for a paradigm shift in agent design toward compute-efficient reasoning, balancing performance with deployability under real-world constraints.

cs.LG↗