상세 보기
Improving training efficiency for length-imbalanced translation data using optimal packing point
- Seo, Jeong Woo;
- Jung, Ho-Young
WEB OF SCIENCE
1SCOPUS
0초록
Many translation datasets in the real world show an imbalanced sequence length distribution with a long tail. This imbalanced distribution causes an increase in the padding area since randomly sampled sequences consist of each batch. To utilize the padding area, we propose an approach to search for an optimal packing point and add a corresponding mask to the dot-product tensor derived from parallel source and target batches. Based on the characteristics of the imbalanced distribution, we design a searching algorithm that identifies the optimal point under the convexity condition per batch for packing and masking. The masking can obscure attention between different sequences within the same matrix while minimizing additional computational costs. This approach effectively reduces the number of batches and the training time for each epoch. We show 3.31 times speed-up for training time to reach the same translation performance compared to the traditional approach on imbalanced translation datasets.
키워드
- 제목
- Improving training efficiency for length-imbalanced translation data using optimal packing point
- 저자
- Seo, Jeong Woo; Jung, Ho-Young
- 발행일
- 2026-06
- 유형
- Article
- 권
- 195
- 언어
- ENG
- 출판사
- ELSEVIER
- 발행국가
- 네덜란드
- ISSN
- E 1872-9681
P 1568-4946