arXiv:2608.28158v1 cs.LG

HARTS: 임의 롤아웃 트리 위 하이브리드 어텐션 모델을 위한 효율적인 에이전트 강화학습

HARTS: Efficient Agentic Reinforcement Learning for Hybrid-Attention Models over Arbitrary Rollout Trees

Boyuan Meng, Peihua Bao, Hong Liu, Xiaowei Zhu, Chao Wang, Gen Li, Zhenxuan Pan

제출 2026-08-28

한국어 초록

에이전트 강화학습(RL)은 종종 공유 이력을 가진 불규칙한 롤아웃 트리를 만든다. 루트에서 리프까지의 궤적을 독립적으로 학습하면 이러한 공유 접두 문맥을 반복 재계산한다. 기존 시스템은 주로 전체 어텐션 모델을 대상으로 하며, 활성화 재계산(activation recomputation)과 호환되는 밀집(dense)하고 미분 가능한 하이브리드 어텐션 실행을 갖추지 못한다. 우리는 HARTS(Hybrid-Attention RL over Tree Structures)를 제안한다. HARTS는 접두 문맥 압축 이후 non-replay compact-token 작업을 사용해 마이크로배치, 데이터 병렬(DP) 복제본 할당, 마이크로배치 슬롯 스케줄을 공동으로 계획한다. 청크 단위 선형 어텐션(chunkwise linear attention)에 대해서는 선형 시간 알고리즘이 청크 경계 상태 복구 및 replay를 조율하고, 패킹된 실행 모델 하에서 순차적 선형 어텐션 호출의 최소 개수를 산출한다. HARTS는 궤적별 학습의 청크 단위 상태 분할을 보존한다: 투영(projection), MLP/MoE 연산, 최종 출력을 반복하지 않으며, 수치적 정렬을 위해 유계(bounded) 상태 replay만 수행한다. 라운드마다 HARTS는 모든 분기를 하나의 패킹 호출로 배치하고, 미분 가능한 상태 handoff를 통해 그래디언트를 전파하며, 활성화 재계산을 지원하고, 토큰별 log-probability를 복원한다. 결정적이고 토큰 드롭이 없는 top-$k$ MoE 라우팅에 대해서는 semantic multiplicities가 MoE 목적의 토큰 가중치와 부하 통계를 복원한다. 기존 RL 목적은 그 인터페이스를 그대로 유지한다. 우리가 아는 한 HARTS는 실제 하이브리드 어텐션 모델에서 임의 롤아웃 트리 접두 문맥 공유 속도 향상을 보여준 최초의 시스템이다. SWE-bench 태스크에서 생성된 에이전트 RL 워크로드에서 HARTS는 여러 병렬 구성에 걸쳐 활성화 재계산을 사용할 때 순전파/역전파/그래디언트 $4.81$--$4.87\times$ 속도 향상을 달성한다. 수치적 차이는 기준선의 self-rerun 변동과 비슷한 수준이며, $\tau^3$-Bench 학습의 처음 120 스텝 동안 보상 추세는 기준선과 유사하다.

원문 초록

Agentic reinforcement learning (RL) often produces irregular rollout trees with shared histories. Training root-to-leaf trajectories independently recomputes these shared prefixes. Existing systems primarily target full-attention models and lack dense, differentiable hybrid-attention execution compatible with activation recomputation. We present HARTS (Hybrid-Attention RL over Tree Structures). HARTS jointly plans microbatches, data-parallel (DP) replica assignments, and microbatch-slot schedules using non-replay compact-token work after prefix compression. For chunkwise linear attention, a linear-time algorithm coordinates chunk-boundary state recovery and replay and produces the minimum number of sequential linear-attention calls under our packed execution model. HARTS preserves the chunkwise state partitioning of trajectory-wise training: it does not repeat projections, MLP/MoE computation, or final outputs, and performs only bounded state replay for numerical alignment. Per round, HARTS batches all branches into one packed call, propagates gradients through differentiable state handoffs, supports activation recomputation, and restores per-token log-probabilities. For deterministic, no-token-drop top-$k$ MoE routing, semantic multiplicities restore MoE-objective token weights and load statistics. Existing RL objectives retain their interface. To our knowledge, HARTS is the first system to demonstrate arbitrary-rollout-tree prefix-sharing speedups on a real hybrid-attention model. On an Agentic RL workload generated from SWE-bench tasks, HARTS achieves $4.81$--$4.87\times$ forward/backward/gradient speedup with activation recomputation across multiple parallel configurations. Its numerical differences are comparable to baseline self-rerun variation, and its reward trend is similar to the baseline over the first 120 steps of $τ^3$-Bench training.

제출 이력

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

  1. arXiv:2608.28158v1제출 시각 미확인

함께 살펴볼 논문

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

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

토론

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