analiza aiqbench
HLS-Seek introduces a reinforcement learning framework that optimizes hardware code generation by prioritizing Quality of Results metrics like latency and resource usage over simple functional correctness. By utilizing a proxy reward model to avoid expensive full synthesis loops, the system achieves faster training speeds while maintaining high accuracy on standard benchmarks. This approach represents a significant step forward in making AI-driven hardware design more efficient and practical for real-world deployment.
HLS-Seek: QoR-Aware Code Generation for High-Level Synthesis via Proxy Comparative Reward Reinforcement Learning
De la arXiv
Text integralHigh-Level Synthesis (HLS) compiles algorithmic C/C++ descriptions into hardware, with Quality of Results (QoR)—latency and resource utilization—critically governed by pragma configurations and code structure. Existing natural-language-to-HLS (NL-to-HLS) training approaches prioritize functional correctness while largely ignoring QoR. We observe that reinforcement learning (RL) for HLS does not require absolute synthesis results—only relative comparisons between candidates. Based on this insight, we propose HLS-Seek, a QoR-aware NL-to-HLS framework that avoids full synthesis-in-the-loop RL via a comparative proxy reward model achieving 99.53% Pareto-dominance accuracy.
To prevent reward hacking, we introduce uncertainty-aware Monte Carlo (MC) dropout switching that selectively invokes real Vitis HLS synthesis for low-confidence candidates and online updates the proxy, creating a self-improving reward system. HLS-Seek achieves 84.7% syntax correctness pass@1 and 81.4% functional correctness pass@5 on HLS-Eval~ with only 7B parameters, surpassing GPT-5.1 on functional pass@5, while achieving 8.5 faster training than real-reward RL. On QoR evaluation, HLS-Seek achieves the lowest latency on 19/30 kernels and Pareto-dominates HLS-specific baselines on 9 kernels.
Text integral sub licența deschisă a publicației · 160 cuvinte