paper-with-me

Papers

B-PASTE: Beam-Aware Pattern-Guided Speculative Execution for Resource-Constrained LLM Agents

2026-04-09 · Yanfei Song arxiv

LLM agents execute in an interleaved reasoning-and-action loop, where future tool calls cannot be launched until the current reasoning step completes. This serial dependency inflates end-to-end latency and leaves the model idle while waiting for tool execution. Prior work, Pattern-Aware Speculative Tool Execution (PASTE), mitigates this bottleneck by speculating likely future tool invocations from mined control-flow and data-flow regularities. However, PASTE is tool-centric and speculates only individual invocations rather than bounded future branches. We propose B-PASTE, a beam-aware extension that lifts speculation from single tools to local branch hypotheses under strict resource constraints. B-PASTE maintains a bounded beam of future execution subgraphs, ranks them by expected critical-path reduction rather than raw execution probability, and schedules only high-value branch prefixes on transient slack resources. It explicitly models co-run interference, downstream unlock value, and state-safety constraints, enabling the system to prioritize serial fast-path execution when early completion unlocks valuable future work, while still exploiting safe parallelism under low contention. This design is especially important for edge-side deployments, where speculative work must not steal scarce resources from latency-critical authoritative execution. Preliminary internal testing on Thor-class edge environments shows up to 1.4X end-to-end speedup, suggesting that branch-aware speculative execution remains effective even under tight resource budgets.

📄 PDF Abstract BibTeX arXiv:2604.16469

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Parallelizing Tool Execution and LLM Generation for Low-Latency Agent Serving

2026-03-19 · Yifan Sui, Han Zhao, Rui Ma, Zhiyuan He 외 arxiv

LLM-powered agents execute tasks through a sequential loop of model generation and tool execution. Today's serving systems serialize this loop, leaving tool latency exposed on the task critical path. This paper presents …

AdaptivePaste: Code Adaptation through Learning Semantics-aware Variable Usage Representations

2022-05-23 · Xiaoyu Liu, Jinu Jang, Neel Sundaresan, Miltiadis Allamanis 외

In software development, it is common for programmers to copy-paste or port code snippets and then adapt them to their use case. This scenario motivates the code adaptation task -- a variant of program repair which aims …

Program Repair

Dynamic-Width Speculative Beam Decoding for Efficient LLM Inference

2024-09-25 · Zongyue Qin, Zifan He, Neha Prakriya, Jason Cong 외

Large language models (LLMs) have shown outstanding performance across numerous real-world tasks. However, the autoregressive nature of these models makes the inference process slow and costly. Speculative decoding has e…

Depth-Copy-Paste: Multimodal and Depth-Aware Compositing for Robust Face Detection

2025-12-12 · Qiushi Guo arxiv

Data augmentation is crucial for improving the robustness of face detection systems, especially under challenging conditions such as occlusion, illumination variation, and complex environments. Traditional copy paste aug…

Data AugmentationFace Detection

EM-Paste: EM-guided Cut-Paste with DALL-E Augmentation for Image-level Weakly Supervised Instance Segmentation

2022-12-15 · Yunhao Ge, Jiashu Xu, Brian Nlong Zhao, Laurent Itti 외

We propose EM-PASTE: an Expectation Maximization(EM) guided Cut-Paste compositional dataset augmentation approach for weakly-supervised instance segmentation using only image-level supervision. The proposed method consis…

Instance SegmentationObjectRegion ProposalSegmentation+2