arXiv:2607.24741v4 cs.DC

DrainSinkhorn: GPU에서의 인스턴스 상주형 배치 엔트로피 최적 수송

DrainSinkhorn: Instance-Resident Batched Entropic Optimal Transport on GPUs

Xinyang Wen

제출 2026-11-17

한국어 초록

많은 학습 파이프라인은 반복문 안에서 엔트로피 최적 수송(OT)을 호출하며, 각 호출은 작고 독립적인 문제들의 배치이다. 예를 들어 검출 레이블 할당에서는 이미지당 하나, 포인트 클라우드 정합에서는 패치 쌍당 하나, 추적에서는 프레임 쌍당 하나, 도메인 분해에서는 타일당 하나의 문제가 있다. 범용 GPU 솔버는 모든 Sinkhorn 갱신을 배치 전체에 대해 실행하고 가장 느린 문제가 멈출 때까지 배치를 실행하므로, 실무자는 형태마다 커널을 작성하거나 OT를 포기한다. 본 논문은 배치의 각 문제, 즉 인스턴스를 GPU 실행 단위로 삼는 배치 Sinkhorn 솔버인 DrainSinkhorn을 제시한다. 인스턴스가 온칩에 들어가는 경우, 하나의 GPU 스레드 블록이 이를 처음부터 끝까지 풀고 수렴하는 즉시 종료하여, 대기 중인 인스턴스에 자리를 내준다. 반복 횟수가 고정된 경우에는 여러 인스턴스가 하나의 스레드 블록을 공유하며, 순전파 맵과 그 정확한 기울기는 각각 한 번의 launch로 처리된다. 더 큰 인스턴스는 수렴하면 이후 launch에서 빠진다. 추적 및 도메인 분해 작업에서 DrainSinkhorn은 비교 대상 중 가장 빠른 범용 배치 GPU 솔버인 OTT-JAX보다 2.73-10.75배, POT보다 5.3-34배 빠르다. 이득은 수천 개의 인스턴스를 갖는 호출에서 가장 크다. 학습 레이어에서는 OTT-JAX보다 1.05-2.8배, OTA와 GeoTransformer의 Sinkhorn 모듈보다 9.9-24배 빠르며, 레이블 할당이 각 GPU의 학습 스텝에서 차지하는 비중을 16.3%에서 4.7%로 줄이고 GeoTransformer의 패치 매칭을 학습 스텝에서 10.4배 빠르게 만든다.

원문 초록

Many learning pipelines call entropic optimal transport (OT) inside a loop, and each call is a batch of small, independent problems: one per image in detection label assignment, per patch pair in point-cloud registration, per frame pair in tracking, and per tile in domain decomposition. General GPU solvers launch every Sinkhorn update over the whole batch and run the batch until its slowest problem stops, so practitioners write a kernel for each shape or drop OT. We present DrainSinkhorn, a batched Sinkhorn solver that makes each problem of the batch, an instance, the unit of GPU execution. Wherever an instance fits on chip, one GPU thread block solves it from start to finish and exits as soon as the instance converges, freeing its slot for a pending instance. With a fixed iteration count, several instances share a thread block, and the forward map and its exact gradient take one launch each. Larger instances leave later launches once they converge. On tracking and domain-decomposition workloads, DrainSinkhorn is 2.73-10.75x faster than OTT-JAX, the fastest general batched GPU solver in our comparison, and 5.3-34x faster than POT. The gain is largest on calls with thousands of instances. In training layers it is 1.05-2.8x faster than OTT-JAX and 9.9-24x faster than the Sinkhorn modules of OTA and GeoTransformer, cutting label assignment from 16.3% to 4.7% of each GPU's training step and making GeoTransformer's patch matching 10.4x faster in a training step.

제출 이력

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

  1. arXiv:2607.24741v4제출 시각 미확인

함께 살펴볼 논문

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

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

토론

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