Live data from Hacker News

DeepMind achieves SOTA image recognition with 8.7x faster training

arxiv.org

61–70 of 85 posts

Re: DeepMind achieves SOTA image recognition with 8.7x faster training

#61

*11.5% as much compute.

But what was the baseline hardware for a reasonable training time?

Page 7 has a table of one training step on TPUv3 and V100 GPUs.

I don't completely understand this: NFNet is slower than its competitors on this benchmark, but they claim higher efficiency. This isn't obvious to me.

Re: DeepMind achieves SOTA image recognition with 8.7x faster training

#62
post #47

Earlier quoted context omitted.

> No it hasn't https://paperswithcode.com/sota/image-classification-on-imag ... We were talking about models trained on ImageNet, specifically about the trade-off between accuracy and FLOPs. But the higher-accuracy models listed in your link use extra data. So it's not quite the same benchmark we were talking about.

The deepmind paper NFNet-F4+ you were talking about also has external training data. The number one in accuracy (Meta pseudo labels) is also faster for inference (390M vs 570M parameters) vs the deepmind one. So what are you disagreeing with?

> The deepmind paper NFNet-F4+ you were talking about also has external training data.

@dheera and I did not mention NFNet-F4+. All models, tables, figures and numbers that we did mention resulted from training on ImageNet alone.

Re: DeepMind achieves SOTA image recognition with 8.7x faster training

#64

Do they disclose any important techniques/ideas on how to achieve these results in the paper, or it's more of a technical press release?

Yes they do (arxiv is a place for scientific papers not press releases). I've only skimmed it, but the paper introduce an adaptive way to clip gradients. Meaning that if the ratio of the gradient norm to weight norm surpasses a certain threshold, they clip it. This stabilizes learning and seems to avoid the need for batch normalization. Seems quite promising imo and something that could stick (I'm quite happy if we c…

You missed a big part: they did a big NAS run to make it work.

Re: DeepMind achieves SOTA image recognition with 8.7x faster training

#65

I have a feeling the ML community is going to pivot focus to faster and smaller training before larger advancements are made. It's simply too expensive for much AI research to happen when state of the art models take 500k of hardware to train. For all the mathematician hype around ML research, much of the work is closer to alchemy than science. We simply don't understand a great deal of why these neural nets work. Th…

>We are a long way from the type of simulations done for protein folding and materials strength and basically every other scientific field.

Have you not heard of alphafold?

Re: DeepMind achieves SOTA image recognition with 8.7x faster training

#66

Earlier quoted context omitted.

There are a lot of techniques for sparsifying or pruning or distilling models to reduce inference FLOPS, and they almost always produce better results when starting with a better model. Also, if your model is 8x faster to train at the same size then you can do 8x as much hyperparameter tuning and get a better result.

This model is much more expensive than efficientnet at inference (I think the flops are about 2x?). You can use these same techniques with efficientnet.

> they almost always produce better results when starting with a better model.

Re: DeepMind achieves SOTA image recognition with 8.7x faster training

#67
post #51

I have a feeling the ML community is going to pivot focus to faster and smaller training before larger advancements are made. It's simply too expensive for much AI research to happen when state of the art models take 500k of hardware to train. For all the mathematician hype around ML research, much of the work is closer to alchemy than science. We simply don't understand a great deal of why these neural nets work. Th…

There's a lot of interest in various ML communities on more efficient training and inference. Both vision and NLP have had a growing focus on these problems in recent years. I think you make a good observation that much of ML progress is driven by tinkering with existing models, though instead of describing it as more "alchemy than science" it's probably more accurate to say it's very experimental right now. Being ve…

that course from princeton looks great! This paper is a nice short read and gives some geometric insight: https://arxiv.org/abs/1805.10451

Re: DeepMind achieves SOTA image recognition with 8.7x faster training

#68
post #65

I have a feeling the ML community is going to pivot focus to faster and smaller training before larger advancements are made. It's simply too expensive for much AI research to happen when state of the art models take 500k of hardware to train. For all the mathematician hype around ML research, much of the work is closer to alchemy than science. We simply don't understand a great deal of why these neural nets work. Th…

>We are a long way from the type of simulations done for protein folding and materials strength and basically every other scientific field. Have you not heard of alphafold?

Thanks for mentioning Alphafold. This article by the DeepMind team is very insightful.

https://deepmind.com/blog/article/alphafold-a-solution-to-a-...

Re: DeepMind achieves SOTA image recognition with 8.7x faster training

#70

Earlier quoted context omitted.

This model is much more expensive than efficientnet at inference (I think the flops are about 2x?). You can use these same techniques with efficientnet.

> they almost always produce better results when starting with a better model.

If you have a flops limit this new model would first need to be shrank by 2-3x as much as Efficientnet in order to fit the same constraint. So you would be starting with a smaller model and thus lower performance. Efficientnet is still better for embedded applications most likely.
Post reply on HN