← 연구 아이디어

연구 아이디어

Use in materials 드묾 Maturity 초기 단계

Let’s have an agent automatically optimize bottleneck kernels in materials code

그래프 기반 에이전틱 커널 생성과 실시간 컴파일러 피드백 · Graph-based autonomous search for kernel generation with real-time compiler feedback

Proposal AI suggestion

Application to materials research remains an unverified proposal.

This is a method in which an agent generates kernel code and incrementally improves it based on compiler and runtime feedback. Using graph search can allow a wider candidate space to be explored.

In materials calculations, there are many recurring core kernels such as neighbor lists, sparse operations, stencil updates, and tensor contractions. If an agent generates multiple implementation variants for these parts and filters them by execution time and accuracy constraints, it may replace or assist part of manual optimization.

In the beginning, it is better to start with a small function unit rather than trying to replace an entire package. For example, extracting one slow core loop and comparing multiple implementations together with LLVM/compiler feedback can quickly determine the potential for automatic tuning suited to materials code.

Materials problem to try it on
고비용 시뮬레이션 코드의 핵심 커널 최적화, 수치 계산 성능 병목 완화
Why it is worth trying now
컴파일러 피드백을 직접 사용하는 에이전틱 코드 생성 시스템과 공개 구현이 등장해, 성능 기반 탐색을 자동화할 수 있는 시점입니다.
First step
가장 느린 커널 하나를 선택해, 현재 구현과 5~10개의 에이전트 생성 변형을 같은 입력으로 돌리고 속도와 수치 오차를 함께 비교해 보세요.
Risks and limits
실제 재료 코드의 정확도 제약이 강해 성능만 좋은 구현이 허용되지 않을 수 있습니다. 또한 이식성, 디버깅 난이도, 컴파일 시간, 그리고 하드웨어 의존성이 비용을 키웁니다.

Evidence Evidence from other fields

아래 링크는 이 기법이 다른 분야에서 통했다는 근거입니다. 소재 분야 적용 결과가 아닙니다.

  1. MaxKernel: Agentic Kernel Generation for TPUs

Related concepts and practice

AI가 최신 기법을 조사해 제안한 방향입니다. 검증된 결과가 아니며, 시도 여부와 위험은 연구 책임자가 판단해야 합니다.