arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2512.19701cs.LGcs.AI
收藏

LASER:用于半结构化工作流资源和运行时间估计的语言模型回归

LASER: Language Model Regression for Semi-Structured Workflow Resource and Runtime Estimation

University of California, Santa Barbara(加州大学圣芭芭拉分校)

Yuxuan Yin, Shengke Zhou, Yunjie Zhang, Ajay Mohindra, Boxun Xu, Peng Li

AI总结:

本文提出LASER框架,通过微调LLM实现多目标资源和运行时间回归,采用科学计数法和约束解码提升预测精度与效率,验证表明其在大规模芯片设计任务和GHARuntime基准上优于人类专家和现有表格型ML方法。

摘要:

准确预测云工作流任务的资源消耗和运行时间对调度效率至关重要,但因任务配置的半结构化特性(包含shell命令、工具特定参数、依赖图和层次化元数据)而具有挑战性。传统机器学习方法需要脆弱的特征工程将丰富信息转换为固定大小的向量,丢失关键语义上下文。我们提出LASER,一个通过序列化工作流任务配置微调LLM的框架,用于多目标资源和运行时间回归。为了解决通过生成进行数值回归的挑战,我们引入科学计数法输出编码以处理跨越多个数量级的目标,并通过前缀填充的约束解码来确保输出有效性,同时将推理延迟降低超过30%。我们进一步表明,全注意力微调在长任务上下文中比滑动窗口LLM更准确。在大规模芯片设计工作负载和GHARuntime(一个从580,000多个GitHub Actions运行中衍生出的公开基准)上验证,LASER在人类专家和现有表格型ML基线方法上表现更优,具有清晰的模型和数据扩展行为,建立了半结构化工作流数据上基于LLM回归的新范式。

英文摘要:

Accurate prediction of resource consumption and runtime for cloud workflow jobs is critical for scheduling efficiency, yet remains challenging due to the semi-structured nature of job configurations -- comprising shell commands, tool-specific parameters, dependency graphs, and hierarchical metadata. Traditional ML approaches require brittle feature engineering to flatten this rich information into fixed-size vectors, losing critical semantic context. We present LASER, a framework that fine-tunes LLMs on serialized workflow job configurations for multi-target resource and runtime regression. To address the challenges of numerical regression via generation, we introduce scientific notation output encoding for targets spanning multiple orders of magnitude, and constrained decoding with prefix filling to enforce output validity while reducing inference latency by over 30%. We further show that full-attention fine-tuning improves accuracy over sliding-window LLMs on long job contexts. Validated on large-scale chip design workloads, and GHARuntime, a new public benchmark derived from 580,000+ GitHub Actions runs across 27,000+ repositories, LASER outperforms human experts and SOTA tabular ML baselines, with clear model- and data-scaling behavior, establishing a new paradigm for LLM-based regression on semi-structured workflow data.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑