Daily Tech Briefing
AI 科技速览

每天 5 分钟内学习 AI。获取最新的人工智能新闻,理解其重要性,并学习如何将其应用于您的工作。

AI 快讯
arXiv Machine Learning · 2026/7/30 14:41:05

HARGO: Heterogeneity-Aware Reward-Guided Optimization for RL Post-Training of LLMs on HPC Tasks

AI 中文解读
这篇论文带来的核心惊喜是:研究者提出了一种名为HARGO的全新优化方法,让大语言模型在应对高性能计算领域那些“长短不一、难度各异”的任务时,表现全面超越现有主流方案,拿下了三项关键指标的冠军。 简单来说,现在的AI模型虽然能学会很多知识,但“会背”不等于“会用”。比如同一个模型,检测程序错误时很准,回答常识问题时却啰嗦又跑题。以往工程师会用强化学习来调教模型,但这些任务本身差异极大——有的只要答“是或否”,有的要写长句,答案长度能差58倍。用一种统一标准调教,自然效果不佳。HARGO的高明之处在于,它不需要人为区分任务类型,而是让模型自己根据“答案靠不靠谱”来调节学习重点:对没把握的回答谨慎调整,对明显有信心的回答大胆强化。就像老师批改作业时,对基础不同的学生采用不同评分权重,更聪明也更公平。 这项技术的实际影响并不遥远。它意味着未来AI写代码、查漏洞、回答技术问题时,会变得更精准、更简洁,不再“答非所问”。对普通用户来说,各类AI助手“一本正经地胡说八道”的毛病有望进一步减少;对程序员和科研工作者而言,AI在复杂计算任务中的可靠性提升,也能显著节省排查问题的时间。简而言之,AI离“靠谱帮手”又近了一步。
Supervised fine-tuning (SFT) can equip large language models (LLMs) with domain knowledge for high-performance computing (HPC) tasks such as data race detection and benchmark question answering. However, knowledge alone does not guarantee task-appropriate behavior: the same SFT model that correctly classifies 88.65\% of C/C++ data race samples produces verbose, imprecise answers to factual queries, with 65.9\% of MLPerf responses exceeding 40 characters. Reinforcement learning (RL) post-training addresses this gap by optimizing for task-specific rewards rather than token-level imitation. Yet HPC tasks exhibit extreme heterogeneity, with binary classification, factual QA, and semantic generation differing by 58x in answer length, spanning three distinct reward distributions, and showing widely varying SFT accuracy. This makes uniform-weight RL methods such as GRPO suboptimal. We propose HARGO, Heterogeneity-Aware Reward-Guided Optimization, which introduces per-response importance weighting via confidence-modulated advantage: computing a discrimination signal from group-level reward contrast and a confidence signal from reference model log-probabilities, then modulating the advantage before computing per-response weights, without requiring task-type labels. Across four HPC tasks and nine methods, HARGO achieves the best performance on all three primary metrics: WinRate 54.62\%, Data Race F1 91.30\%, and PLP Similarity 0.8558. Ablation confirms complementary contributions from both signals. HARGO establishes the best overall alignment quality among compared methods for heterogeneous HPC tasks.
分享
阅读原文