MCP
JS

Junyi Shen

25 papers in the library · Same-name authors told apart using DBLP

Papers

25
CodeReel: Accelerating Code-to-Video Agents with Exact Frame Reuse and Blocking-Aware Scheduling
Junyi ShenYao Lu
CodeReel is a training-free execution layer that sits behind coding agents' existing commands to cut the time they wait on video builds, which our measurements show costs avoidable work: 37.5% of frames in later films were already drawn, and half of builds stop at a blocking check. CodeReel reuses frames exactly by keying them to their drawing commands regardless of time position, and schedules blocking-aware, running checks first and starting renders alongside them unless recent builds make a pass unlikely. To evaluate this, we introduce EditLoop, a benchmark of replayable agent sessions verified against from-scratch renders. On it, CodeReel cuts agent wait by 36.3% versus a parallel-rendering warm pipeline and 57.9% versus the sequential pipeline, with median per-build waits of 0.62x and 0.67x on Claude Code and Codex CLI across five models and two frameworks.
arXivarXiv · · November 17, 2026
0
Beyond ICD Codes: Semantic IDs for Generative Medical Coding
Yihang ChengQian ZhangYonghuiHuangBaoshuo KanJunyi Shen
SemICD replaces ICD code strings with Semantic IDs (SIDs) as generation targets for LLM-based medical coding. SIDs are built by hierarchically clustering embeddings of textual code profiles, so semantically related codes share prefixes while each SID uniquely identifies one code; two auxiliary tasks align SIDs with clinical semantics. On MIMIC-III and MIMIC-IV across four LLMs, SemICD outperforms direct code generation, improving Micro-F1 by 1.34-8.00 points.
arXivarXiv · · October 13, 2026
0
DynBranch: Speculative Subgraph Reuse for Dynamic Agentic LLM Serving
Junyi ShenNoppanat WadlomZhengyuan SuYao Lu
DynBranch speculatively reuses subgraph results in dynamic agentic LLM workflows by assigning a stable coordinate to unresolved branches, allowing candidate subgraphs to execute during the branch-resolution barrier. A two-level controller authorizes speculative work only when expected benefit outweighs load cost. Deployed at the model-API boundary without modifications to agent harnesses or execution engines, DynBranch reduces mean latency by up to 32% over prior systems across four workloads using Qwen3-32B on 4x H200 GPUs.
arXivarXiv · · September 25, 2026
0
Draft Less, Retrieve More: Hybrid Tree Construction for Speculative Decoding
Yuhao ShenTianyu LiuXinyi HuJinyang WuJunyi ShenQuan KongZhang BaolinJun ZhangJun DaiShuang GeChen LeiYue Li  +2
This paper introduces a training-free, lossless compensation framework that couples dynamic-depth pruning with retrieval in speculative decoding. Pruning frees computational budget that retrieval then uses, while retrieved tokens are grafted into slots left by early-stopped drafting, filling the topological gaps and recovering the accepted length lost to pruning at near-zero overhead. Evaluations show a new Pareto frontier across models and benchmarks, with up to 5.41$\times$ speedup on short-context tasks and gains over EAGLE3 of up to 21.8\% on Qwen3-235B and 16.6\% over EAGLE3-64K on Qwen3-14B in long context.
OpenReviewOpenReview · · August 7, 2026
0
Cross-validation of six dispersion measure estimation methods for FRB 20240114A
Tonglun WangSongbo ZhangYuanchuan ZouXuan YangPei WangDi XiaoXianghan CuiYe LiHao QiuYingze ShanJunyi ShenYa Zeng  +2
Using 2,874 bursts from the repeating FRB20240114A observed by FAST in a single 4.4-hour session, we cross-validate six dispersion measure (DM) estimation methods. The nearly static propagation environment over this short timescale isolates algorithmic effects. Inter-method DM deviations are small for high-S/N, single-component bursts but large for complex multi-component bursts with drifting substructures, revealing that burst morphology—not radio frequency interference—drives discrepancies. Even after strict consistency filtering, apparent DM fluctuations span $\sim528$–$534$~pc~cm$^{-3}$ over 15,780~s, far exceeding measurement uncertainty for simple bursts. On second-to-minute timescales these cannot result from line-of-sight electron column changes, suggesting a frequency-dependent intrinsic burst emission-time structure that mimics dispersion.
arXivarXiv · · July 4, 2026
0
Double: Breaking the Acceleration Limit via Double Retrieval Speculative Parallelism
Yuhao ShenTianyu LiuJunyi ShenJinyang WuQuan KongHuan LiCong Wang
Parallel Speculative Decoding (PSD) accelerates traditional Speculative Decoding (SD) by overlapping draft generation with verification. However, it remains hampered by two fundamental challenges: (1) a theoretical speedup ceiling dictated by the speed ratio between the draft and target models, and (2) high computational waste and pipeline stall due to mid-sequence token rejections of early errors. To address these limitations, we introduce Double (Double Retrieval Speculative Parallelism). By bridging the gap between SD and PSD, our framework resolves the Retrieval Precision-Efficiency Dilemma through a novel synchronous mechanism. Specifically, we enable the draft model to execute iterative retrieval speculations to break the theoretical speedup limits; to alleviate rejections without rollback, the target model performs authoritative retrieval to generate multi-token guidance. Double is entirely training-free and lossless. Extensive experiments demonstrate state-of-the-art speedup of 5.3 × on LLaMA3.3-70B and 2.8 × on Qwen3-32B, significantly outperforming the advanced method EAGLE-3 that requires extensive model training. Our code is available at https://github.com/Sylvan820/Double1 .
ACL AnthologyACL Anthology · July 2026
0
High-Dimensional Robotic Reinforcement Learning with Developing Synergies
Junyi ShenYasuo KuniyoshiKohei Nakajima
Devyn is a lightweight reinforcement-learning framework that learns a structured low-dimensional action parameterization directly during policy optimization; starting from a randomly initialized latent-to-action mapping, it learns synergies online from task-level rewards without precomputed representations or exploration in the full actuator space, with the policy acting strictly in a reduced latent space while a learnable synergy matrix decodes latent actions into actuator commands. To stabilize this evolving interface, Devyn combines slow decoder evolution with semantic stabilization and structural regularization, limiting latent-action semantic drift while promoting compact coordination patterns. Across nine embodiments spanning 12 to 700 actuators, it stays competitive on low- and moderate-dimensional tasks and achieves substantial gains on high-dimensional and overactuated systems where standard SAC and specialized baselines struggle; ablations attribute the gains to the stabilized, structured evolution of the synergy matrix rather than dimensionality reduction or slow decoder updates alone.
OpenReviewOpenReview · May 5, 2026
0
Efficient LLM Serving for Agentic Workflows: A Data Systems Perspective
Noppanat WadlomJunyi ShenYao Lu
Helium is a workflow-aware LLM serving framework that models agentic workflows as query plans and treats LLM invocations as first-class operators. By integrating proactive caching and cache-aware scheduling, it maximizes reuse across prompts, KV states, and workflows, achieving up to 1.56x speedup over state-of-the-art agent serving systems. This bridges classic query optimization with LLM serving, highlighting that end-to-end workflow optimization is essential for scalable agent-based systems.
arXivarXiv · · March 17, 2026
0
13
Double: Breaking the Acceleration Limit via Double Retrieval Speculative Parallelism
Yuhao ShenTianyu LiuJunyi ShenJinyang WuQuan KongLi HuanCong Wang
Parallel Speculative Decoding (PSD) accelerates text generation by overlapping draft and verification, but its speedup is capped by the draft-to-target model speed ratio. This paper introduces Double, a training-free and lossless framework that breaks this limit via a synchronous retrieval mechanism: the draft model performs iterative retrieval speculations, while the target model provides multi-token guidance to avoid rollback. Experiments show up to $5.3\times$ speedup on LLaMA3.3-70B and $2.8\times$ on Qwen3-32B, outperforming the trained EAGLE-3 method.
arXivarXiv · · January 9, 2026
0
14
FlowMesh: A Service Fabric for Composable LLM Workflows
Junyi ShenNoppanat WadlomLingfeng ZhouDequan WangXu MiaoLei FangYao Lu
FlowMesh is a multi-tenant service fabric for composable LLM workflows. It decomposes workflows into fine-grained operators with recorded lineage, enabling de-duplication and batched execution across users while preserving per-workflow provenance. A global control plane, using a single utility function, selects both the batch and the worker to balance throughput, cost, and data locality on heterogeneous GPUs. Compared to baselines, FlowMesh achieves up to 3.8x cost reduction and 2.0x lower energy usage with similar or better latency, remaining efficient under dynamic and failure-prone conditions.
arXivarXiv · · October 30, 2025
0
8
SpecBranch: Speculative Decoding via Hybrid Drafting and Rollback-Aware Branch Parallelism
Yuhao ShenJunyi ShenQuan KongTianyu LiuYao LuCong Wang
SpecBranch is a speculative decoding framework that accelerates LLM inference by using parallel speculative branches to hedge against rejections, overcoming the serialized execution that causes waiting bubbles in existing methods. It jointly tunes adaptive draft lengths via a hybrid of implicit draft-model confidence and explicit reuse of target-model features. Experiments show speedups of $1.8\times$ to $4.5\times$ over standard autoregressive decoding and a 50% reduction in rollback tokens for poorly aligned models, while preserving the sampling distribution.
OpenReviewOpenReview · · September 18, 2025
0
Batch Query Processing and Optimization for Agentic Workflows
Junyi ShenNoppanat WadlomYao Lu
Halo is a system that optimizes batch agentic LLM workflows by representing each workflow as a query plan DAG and consolidating them into a graph to expose shared computation. A cost model considering heterogeneous resource constraints, prefill/decode costs, cache reuse, and GPU placement guides plan-level optimization to minimize redundancy. The processor integrates adaptive batching, KV-cache sharing/migration, and CPU-GPU pipelining. Evaluations show up to 3.6x speedup for batch inference and 2.6x throughput improvement under online serving without quality loss.
arXivarXiv · · September 2, 2025
0
13
Towards Reliable Multi-Agent Systems for Marketing Applications via Reflection, Memory, and Planning
Lorenzo Jaime Yu FloresJunyi ShenGoodman Gu
The paper proposes RAMP, a multi-agent framework for audience curation in marketing. RAMP iteratively plans, calls tools, verifies outputs, and reflects to improve quality, supported by a long-term memory store of client-specific facts. On 88 evaluation queries, this planning and memory approach increases accuracy by 28 percentage points. For ambiguous queries, iterative verification and reflection yield progressively better recall (roughly +20 percentage points) and higher user satisfaction, demonstrating practical reliability for LLM-based systems in industry settings.
arXivarXiv · · August 14, 2025
0
Investigating FRB 20240114A with FAST: Morphological Classification and Drifting Rate Measurements in a Burst-Cluster Framework
Long-Xuan ZhangShiyan TianJunyi ShenJun-Shuo ZhangDejiang ZhouLin ZhouPo MaTian-Cong WangDengke ZhouJinlin HanYunpeng MenFayin Wang  +50
From 3,203 bursts (2,109 burst-clusters) of FRB 20240114A observed by FAST, a morphological classification is performed, clarifying sub-burst, burst, and burst-cluster definitions. Among 978 drifting burst-clusters, 23.82% show upward drifting. In single-component drifting clusters, the drifting rate increases with peak frequency, and upward-drifters have smaller effective widths, bandwidths, and fluxes than downward-drifters. A Kolmogorov-Smirnov test further indicates that upward-drifting clusters have longer consecutive time intervals, suggesting distinct physical mechanisms.
arXivarXiv · · July 19, 2025
0
18
SpecBranch: Speculative Decoding via Hybrid Drafting and Rollback-Aware Branch Parallelism
Yuhao ShenJunyi ShenQuan KongTianyu LiuYao LuCong Wang
SpecBranch accelerates speculative decoding by introducing branch parallelism, inspired by processor branch prediction. It creates parallel speculative branches to hedge against token rejections, and jointly orchestrates adaptive draft lengths using implicit draft model confidence and explicit reuse of target model features. Experiments show over 1.8× to 4.5× speedups against auto-regressive decoding and a 50% reduction in rollback tokens for poorly aligned models.
arXivarXiv · · May 16, 2025
0
15
Control Pneumatic Soft Bending Actuator with Online Learning Pneumatic Physical Reservoir Computing
Junyi ShenTetsuro MiyazakiKenji Kawashima
This paper introduces a physical reservoir computing (PRC) framework that uses a pneumatic soft actuator as the reservoir to control the bending motion of another identical actuator. The system requires only a single reservoir model and supports zero-shot online learning, eliminating the need for offline training. Experiments show that the PRC-based controller reduces the root-mean-square error by over 37% on average compared to a linear model, demonstrating that the actuator's inherent nonlinearity can be exploited for improved control performance.
arXivarXiv · · March 20, 2025
0
2
Improving Initial Transients of Online Learning Echo State Network Control System with Feedback Adjustments
Junyi Shen
This paper addresses the slow initial convergence of online learning echo state network (ESN) controllers by integrating a feedback proportional-derivative (P-D) controller. The combined system achieves rapid convergence during the initial transient phase without requiring prior training, control mode switching, or plant dynamic approximations. Simulations show strong robustness against changes in plant dynamics and ESN hyperparameters. The feedback controller accelerates convergence by guiding the ESN to operate within a data range well-suited for learning.
arXivarXiv · · September 12, 2024
0
1
Control Pneumatic Soft Bending Actuator with Feedforward Hysteresis Compensation by Pneumatic Physical Reservoir Computing
Junyi ShenTetsuro MiyazakiKenji Kawashima
This paper introduces a fuzzy pneumatic physical reservoir computing (FPRC) model that uses one pneumatic bending actuator as a nonlinear physical reservoir to compensate for hysteresis in controlling another identical actuator. The FPRC model combines the reservoir with a Takagi-Sugeno fuzzy system to process its outputs. Compared to an Echo State Network, the FPRC achieves equivalent training accuracy but better test accuracy and much lower execution time. Experiments confirm its effectiveness in open-loop and closed-loop motion tracking and its robustness to environmental disturbances. This is the first implementation of a physical system for feedforward hysteresis compensation in soft actuator control.
arXivarXiv · · September 11, 2024
0
13
Investigation on a Novel Length-Based Local Linear Subdivision Strategy for Triangular Meshes
Junyi Shen
This paper proposes a length-based local linear subdivision strategy for triangular meshes that selects edges by their length, achieving higher computational efficiency and better mesh quality with fewer elements than existing methods. Two auxiliary techniques are also introduced to further enhance performance. The approach is particularly relevant for local mesh refinement, computer-aided design, and isotropic remeshing.
arXivarXiv · · October 1, 2023
0
0
Two Degree of Freedom Adaptive Control for Hysteresis Compensation of Pneumatic Continuum Bending Actuator
Junyi ShenTetsuro MiyazakiShingo OhnoMaina SogabeKenji Kawashima
This paper presents a two-degree-of-freedom (2-DoF) adaptive control method for hysteresis compensation in pneumatic continuum bending actuators. The key contribution is the integration of adaptability into both the feedback and feedforward control components, which significantly improves bending trajectory tracking accuracy under nonlinear hysteresis effects caused by gas compressibility. Comparative experiments demonstrate the superior tracking performance of this approach over existing methods, offering a simple yet effective control design for soft pneumatic actuators.
arXivarXiv · · September 18, 2023
0
2
Trajectory Tracking Control of Dual-PAM Soft Actuator with Hysteresis Compensator
Junyi ShenTetsuro MiyazakiShingo OhnoMaina SogabeKenji Kawashima
This paper proposes an adaptive control method that compensates hysteresis in a dual pneumatic artificial muscle (PAM) bending actuator by dynamically modulating PID gains based on reference trajectory predictions. Experimental evaluation shows the method outperforms conventional PID controllers in tracking accuracy and response speed, offering a model-free approach for soft actuator control.
arXivarXiv · · August 23, 2023
0
21
ChatHaruhi: Reviving Anime Character in Reality via Large Language Model
Cheng LiZiang LengChenxi YanJunyi ShenHao WangWeishi MIYaying FeiXiaoyang FengSong YanHaoSheng WangLinkang ZhanYaokai Jia  +2
ChatHaruhi improves role-playing for large language models by combining an enhanced prompt with character-specific memories extracted from scripts. The method enables a model to mimic a given fictional character more faithfully. A dataset of 54k simulated dialogues across 32 Chinese and English TV/anime characters is constructed. Both automatic and human evaluations demonstrate that the approach outperforms baselines in role-playing ability.
arXivarXiv · · August 18, 2023
0
209
Size Does Matter: An Experimental Study of Anxiety in Virtual Reality
Junyi ShenItaru KitaharaShinichi KoyamaQiaoge Li
This paper experimentally investigates whether changing the size of large objects in a VR environment influences user anxiety. Using a novel omnidirectional field-of-view occupancy (OFVO) metric to quantify object size across the entire visual field, the study with 38 participants finds that both heart rate and self-reported anxiety are positively and significantly correlated with OFVO, indicating that larger objects induce higher anxiety.
arXivarXiv · · October 13, 2022
0
CLS: Cross Labeling Supervision for Semi-Supervised Learning
Yao YaoJunyi ShenJin XuBin ZhongLi Xiao
We propose Cross Labeling Supervision (CLS), a semi-supervised learning framework that extends FixMatch by generating both pseudo and complementary labels for positive and negative learning. Two identically structured networks with different initializations are trained simultaneously, each using high-confidence labels from the other to mitigate confirmation bias. Adaptive sample weights based on prediction confidence quantify label quality and reduce the impact of inaccurate labels. On CIFAR-10 and CIFAR-100, CLS outperforms existing methods by large margins.
arXivarXiv · · February 17, 2022
0
6
Transfer Value Iteration Networks
Junyi ShenHankz Hankui ZhuoJin XuBin ZhongSinno Jialin Pan
Transfer Value Iteration Networks (TVINs) extend value iteration networks (VINs) by adding a transfer learning mechanism. Standard VINs fail to generalize across domains with different action or feature spaces. TVINs learn a policy from a source domain that can be transferred to a target domain with only limited training data, even when the two domains have domain-specific actions and features. Experiments show that TVINs outperform VINs on similar but non-identical domains, with consistent gains across environments, maze sizes, dataset sizes, and hyperparameters.
arXivarXiv · · November 11, 2019
0
8
Frequent collaborators
Yao Lu (7)
Yuhao Shen (5)
Tianyu Liu (5)
Quan Kong (5)
Cong Wang (5)
Noppanat Wadlom (4)
Tetsuro Miyazaki (4)
Kenji Kawashima (4)
Jinyang Wu (3)
Pei Wang (2)
Xianghan Cui (2)
Ye Li (2)