paper-with-me

Papers

ACPO: AI-Enabled Compiler Framework

2023-12-15 · Amir H. Ashouri, Muhammad Asif Manzoor, Duc Minh Vu, Raymond Zhang, Colin Toft, Ziwen Wang, Angel Zhang, Bryan Chan, Tomasz S. Czajkowski, Yaoqing Gao

The key to performance optimization of a program is to decide correctly when a certain transformation should be applied by a compiler. This is an ideal opportunity to apply machine-learning models to speed up the tuning process; while this realization has been around since the late 90s, only recent advancements in ML enabled a practical application of ML to compilers as an end-to-end framework. This paper presents ACPO: An AI-Enabled Compiler Framework, a novel framework that provides LLVM with simple and comprehensive tools to benefit from employing ML models for different optimization passes. We first showcase the high-level view, class hierarchy, and functionalities of ACPO and subsequently, demonstrate \taco{a couple of use cases of ACPO by ML-enabling the Loop Unroll and Function Inlining passes used in LLVM's O3. and finally, describe how ACPO can be leveraged to optimize other passes. Experimental results reveal that the ACPO model for Loop Unroll can gain on average 4%, 3%, 5.4%, and 0.2% compared to LLVM's vanilla O3 optimization when deployed on Polybench, Coral-2, CoreMark, and Graph-500, respectively. Furthermore, by including both Function Inlining and Loop Unroll models, ACPO can provide a combined speedup of 4.5% on Polybench and 2.4% on Cbench when compared with LLVM's O3, respectively.

📄 PDF Abstract BibTeX arXiv:2312.09982

Code (1)

huawei-cpllab/acpo 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…

Similar Papers 제목 키워드 기반

The Next 700 ML-Enabled Compiler Optimizations

2023-11-17 · S. VenkataKeerthy, Siddharth Jain, Umesh Kalvakuntla, Pranav Sai Gorantla 외

There is a growing interest in enhancing compiler optimizations with ML models, yet interactions between compilers and ML frameworks remain challenging. Some optimizations require tightly coupled models and compiler inte…

Stepwise Alignment for Constrained Language Model Policy Optimization

2024-04-17 · Akifumi Wachi, Thien Q. Tran, Rei Sato, Takumi Tanabe 외

Safety and trustworthiness are indispensable requirements for real-world applications of AI systems using large language models (LLMs). This paper formulates human value alignment as an optimization problem of the langua…

Computational EfficiencyLanguage ModelingLanguage Modellingmodel

MACPO: Weak-to-Strong Alignment via Multi-Agent Contrastive Preference Optimization

2024-10-10 · Yougang Lyu, Lingyong Yan, Zihan Wang, Dawei Yin 외

As large language models (LLMs) are rapidly advancing and achieving near-human capabilities, aligning them with human values is becoming more urgent. In scenarios where LLMs outperform humans, we face a weak-to-strong al…

Incentivizing Dual Process Thinking for Efficient Large Language Model Reasoning

2025-05-22 · Xiaoxue Cheng, Junyi Li, Zhenduo Zhang, Xinyu Tang 외

Large reasoning models (LRMs) have demonstrated strong performance on complex reasoning tasks, but often suffer from overthinking, generating redundant content regardless of task difficulty. Inspired by the dual process …

Language ModelingLanguage ModellingLarge Language Modelreinforcement-learning+1

ACPO: Asymmetric Credit Policy Optimization via Mode-Local Entropy Surrogate

2026-07-03 · Zijun Xie, Yuyang You, Yongzhi Li, Enlei Gong 외 arxiv

Outcome-supervised reinforcement learning scales to verifiable reasoning tasks, but trajectory-level rewards assign the same outcome signal to all sampled tokens, overlooking their unequal contributions to the reasoning …

Mathematical ReasoningReinforcement Learning