Activity (Process)

Choosing the Weight for Auxiliary Data

When an objective sums per-example losses from a main dataset and a larger auxiliary dataset, a coefficient β\beta can scale the auxiliary losses. To give both datasets equal aggregate weight, set β=Nmain/Naux\beta=N_{\mathrm{main}}/N_{\mathrm{aux}}. Thus, for 6,000 labeled storefront images and 144,000 auxiliary web images, β=6000/144000=1/24\beta=6000/144000=1/24. Treat this ratio as an initial choice, then compare candidate values using development-set performance.

0

1

Updated 2026-08-30

Contributors are:

Who are from:

Tags

Machine Learning

Deep Learning

Supervised Learning

Dive into Deep Learning @ D2L

Data Science

Machine Learning Strategy

Machine Learning Yearning @ DeepLearning.AI