arXiv:2603.04743v2 cs.IR

DARE: 분포 인식 검색을 통한 LLM 에이전트와 R 통계 생태계의 정렬

DARE: Aligning LLM Agents with the R Statistical Ecosystem via Distribution-Aware Retrieval

Maojun Sun, Yue Wu, Yifei Xie, Ruijian Han, Binyan Jiang, Defeng Sun, Yancheng Yuan, Jian Huang

제출 2026-11-03

한국어 초록

대규모 언어 모델(LLM) 에이전트는 데이터 과학 워크플로 자동화에 뛰어나지만, R의 엄밀한 통계 방법을 충분히 활용하지 못하는 경우가 많다. 기존의 검색 증강 생성(RAG) 접근법은 의미적 유사도에 의존하여, 통계 방법의 적용 가능성을 판단하는 데 중요한 데이터 분포와 구조적 특성을 무시한다. 이를 해결하기 위해 우리는 이러한 데이터 특성을 R 함수 검색에 반영하는 표현 학습 프레임워크 DARE(Distribution-Aware Retrieval Embedding)를 제안한다. 우리의 기여는 네 가지이다. (i) 8,191개의 고품질 R 함수로 구성된 선별 지식 베이스 RPKB, (ii) 분포 인식 검색 프레임워크 DARE, (iii) 종단간 분석을 위해 DARE를 통합한 R 지향 에이전트 RCodingAgent, (iv) 100개의 통계 과제로 이루어진 종합 벤치마크 RStatBench이다. 실험 결과 DARE는 평가된 임베딩 모델 전반에서 NDCG@10을 13.43~32.65 퍼센트포인트 향상시키며, MiniLM 기반 DARE는 높은 효율성과 함께 93.92%의 NDCG@10을 달성한다. 나아가 DARE를 RCodingAgent에 통합하면 RStatBench에서 열 개 LLM의 평균 하위 작업 정확도가 31.8%에서 62.2%로 거의 두 배가 된다. 본 연구는 현대 LLM 자동화를 R의 확립된 통계 컴퓨팅 생태계와 연결하는 데 기여한다.

원문 초록

Large Language Model (LLM) agents excel at automating data science workflows, yet often underutilize rigorous statistical methods in R. Existing Retrieval-Augmented Generation (RAG) approaches rely on semantic similarity, ignoring the data-distribution and structural characteristics crucial for determining a statistical method's applicability. To address this, we propose DARE (Distribution-Aware Retrieval Embedding), a representation learning framework incorporating these data characteristics into R function retrieval. Our contributions are fourfold: (i) RPKB, a curated knowledge base of 8,191 high-quality R functions; (ii) DARE, the distribution-aware retrieval framework; (iii) RCodingAgent, an R-oriented agent integrating DARE for end-to-end analysis; and (iv) RStatBench, a comprehensive benchmark of 100 statistical tasks. Experiments demonstrate that DARE improves NDCG@10 by 13.43 to 32.65 percentage points across evaluated embedding models, with a MiniLM-based DARE achieving 93.92% NDCG@10 alongside high efficiency. Furthermore, integrating DARE into RCodingAgent nearly doubles mean downstream accuracy on RStatBench, increasing from 31.8% to 62.2% across ten LLMs. This work helps bridge modern LLM automation with R's established statistical computing ecosystem.

제출 이력

확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.

  1. arXiv:2603.04743v2제출 시각 미확인

함께 살펴볼 논문

공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.

공통 태그로 연결된 공개 논문이 아직 없습니다.

토론

이 논문과 연결된 포럼 글이 아직 없습니다.