subbatch
Subbatch is a term used in data processing and machine learning to describe a subdivision of a batch of data. A batch is the set of samples processed together during a model update, while a subbatch is a smaller portion of that batch that is handled separately within the same overall cycle. Subbatching is commonly employed to manage memory constraints, enabling the processing of large batches by handling the data in smaller chunks.
In training, subbatches are often used in gradient accumulation. The model can perform forward and backward
Trade-offs of subbatching include the balance between memory efficiency and computational overhead. Very small subbatches reduce
Subbatching is sometimes referred to as micro-batching or batch splitting, and is used in various contexts