TGViewer
Kaggling Kaggling @kaggling · 474 subscribers
Post #8 1.59K
Sebastian Raschka considered some experiments testing one popular hypothesis about batch size "Does batch size must be the power of 2?" in his new paper "No, We Don't Have to Choose Batch Sizes As Powers Of 2" (https://sebastianraschka.com/blog/2022/batch-size-2.html). He concluded that setting batch size as powers of 2 is not necessary, because it doesn't slow down the training or inference significantly. However, the batch size is still a hyperparameter, which depends on many factors: model architecture, loss function, learning rate, etc, so we should spend some time tuning it carefully despite some arguments, which recommend increasing or decreasing batch size.
Sebastian Raschka, PhD No, We Don't Have to Choose Batch Sizes As Powers Of 2 Regarding neural network training, I think we are all guilty of doing this: we choose our batch sizes as powers of 2, that is, 64, 128, 256, 512, 1024, and...
  • 👍 5
More from @kaggling
  1. Aug 21, 2026Все, кто учился DL по слайдам постсоветской матшколы знают про Nesterov Accelerated Gradie…
  2. Aug 21, 2026Вот сама модификация градиентного спуска: шаг обновления складывается из двух частей — нак…
  3. Aug 21, 2026Добрый день, друзья! Многие, в том числе и я, упустили достаточно важное событие в сфере м…
  4. Jul 30, 2026И вот еще одна RL сорева Это RL-обгон? У нас будет 4 подряд соревнования на РЛ. Видимо, по…
  5. Dec 31, 2024Добрый день, друзья! Вот и подходит к концу 2024-й год — время оглянуться назад и вспомнит…
  6. Sep 3, 2024Добрый день, друзья! Во-первых, поздравляю всех причастных к началу учебного года. Желаю,…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →