HLSmith: C/C++에서 HLS로의 변환을 위한 전문가 가이드 에이전트 프레임워크
HLSmith: An Expert-Guided Agentic Framework for C/C++-to-HLS Translation
한국어 초록
애플리케이션 특화 FPGA 가속기는 다양한 응용 분야에서 상당한 성능 및 에너지 효율 향상을 제공하지만, 이를 개발하는 데는 수개월의 전문적인 노력이 요구되어 비용이 많이 듭니다. 고위주 합성(HLS, High-Level Synthesis)을 사용하더라도 설계자는 고성능 가속기를 구축하기 위해 여전히 광범위한 하드웨어 전문 지식이 필요합니다. 대규모 언어 모델(LLM)이 강력한 소프트웨어 생성 역량을 입증했음에도 불구하고, 최첨단(frontier) 모델조차 기준선(baseline) C/C++ 프로그램을 고성능 HLS 설계로 안정적으로 변환하는 데 필요한 하드웨어적 직관과 절차적 지식이 부족합니다. 즉, 효과적인 아키텍처를 식별하고, HLS 전문가가 사용하는 최적화(optimization) 과정을 따르며, 다양한 커널에 걸쳐 하드웨어 변환을 일관되게 적용하는 데 어려움을 겪습니다. 본 논문에서는 C/C++ 프로그램을 최적화된 HLS 가속기로 변환하기 위한 전문가 가이드 프레임워크인 HLSmith를 제시합니다. HLSmith는 세 가지 구성 요소를 결합합니다. 보호된(guarded) 변환 레시피, 적용 가능성 및 선행 조건, 피해야 할 안전하지 않은 사례를 인코딩한 HLS 최적화 전문 지식 라이브러리; 전문가의 HLS 개발 관행을 모델링하여 에이전트가 합성, 병목 분석 및 최적화를 수행하도록 안내하는 단계별 피드백 기반 오케스트레이션 흐름; 상용 프론티어 모델의 최적화 궤적을 오픈 가중치(open-weight) LLM을 미세조정(fine-tuning)하기 위한 학습(training) 데이터로 변환하는 도구 기반 모델 적응 파이프라인입니다. 저자들은 HLS 가속기 개발을 위한 주요 기존 에이전트 오케스트레이션 프레임워크인 ChatHLS를 상대로 PolyBench에서 HLSmith를 평가합니다. HLSmith는 ChatHLS 대비 4.24배의 기하 평균 속도 향상을 달성하는 동시에, ChatHLS의 유효 설계 비율 57%와 비교하여 모든 벤치마크에서 소프트웨어 및 RTL 시뮬레이션 모두 기능적으로 올바른 설계를 생성합니다. 나아가 상용 프론티어 모델과 오픈 가중치 모델에서 각각 최대 252배 및 138배의 속도 향상에 도달합니다.
원문 초록
Application-specific FPGA accelerators offer substantial performance and energy-efficiency gains across many application domains, but developing them is costly, often requiring months of specialized effort. Even with high-level synthesis (HLS), designers still need extensive hardware expertise to build high-performance accelerators. Although large language models (LLMs) have demonstrated strong software-generation capabilities, even frontier models lack the hardware intuition and procedural knowledge needed to reliably translate baseline C/C++ programs into high-performance HLS designs: they struggle to identify effective architectures, follow the optimization processes used by HLS experts, and apply hardware transformations consistently across diverse kernels. We present HLSmith, an expert-guided framework for translating C/C++ programs into optimized HLS accelerators. HLSmith combines three components: an HLS optimization expertise library that encodes guarded transformation recipes, their applicability and prerequisite conditions, and unsafe cases to avoid; a staged, feedback-driven orchestration flow modeled on expert HLS development practice that guides agents through synthesis, bottleneck analysis, and optimization; and a tool-grounded model-adaptation pipeline that converts optimization trajectories from commercial frontier models into training data for fine-tuning open-weight LLMs. We evaluate HLSmith on PolyBench against ChatHLS, a leading prior agent-orchestration framework for HLS accelerator development. HLSmith achieves a geometric mean speedup of 4.24x over ChatHLS while producing functionally correct designs, in both software and RTL simulation, for every benchmark, compared with ChatHLS's 57% valid-design rate. It further reaches speedups of up to 252x and 138x with commercial frontier models and open-weight models, respectively.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
- arXiv:2608.06791v1제출 시각 미확인
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.