Improving training efficiency for length-imbalanced translation data using optimal packing point

Citations

WEB OF SCIENCE

1
Citations

SCOPUS

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.

키워드

Machine translation; Data imbalance; Training efficiency; Optimization problems; Language modeling
제목
Improving training efficiency for length-imbalanced translation data using optimal packing point
저자
Seo, Jeong Woo; Jung, Ho-Young
DOI
10.1016/j.asoc.2026.114991
발행일
2026-06
유형
Article
저널명
Applied Soft Computing
권
195