Live data from Hacker News

DeepMind’s New Language Model, Chinchilla

marktechpost.com

71–80 of 145 posts

Re: DeepMind’s New Language Model, Chinchilla

#71

Earlier quoted context omitted.

It outperforms the Gopher model

Yeah, similar "thematic" naming to MacOS versions. I don't know why the original one was called Gopher, though.

Because it retrieves facts from memory in a way that’s analogized to a gopher retrieving objects.

Re: DeepMind’s New Language Model, Chinchilla

#72
post #66
post #64

Earlier quoted context omitted.

I think there remains an immense amount of such suboptimality still hanging from the tree, so to speak. For example, our recent paper "Tensor Programs V: Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfer"[1] shows that even learning rate and initialization used by existing models are deeply wrong . By just picking them correctly (which involves some really beautiful mathematics), we can effectively d…

What do you think about the concept of "critical batch size"? https://openai.com/blog/science-of-ai/

I think the concept makes sense. The basic insight, that the right batch size depends on the difficulty and noisiness of a task, is already used by teams. For example, the PaLM paper from last week increased its batch size throughout training.

But as far as I know, the more precise predictions of optimal batch size aren't used much, probably because it's expensive to measure accurately, or because the predictive equation isn't accurate enough to begin with. I wonder if we can "transfer" the optimal batch size from a smaller setting (smaller model or data) to the full setting, like in our paper. This would make it much more practical.

Re: DeepMind’s New Language Model, Chinchilla

#73
post #67

Earlier quoted context omitted.

From the paper, they are using bfloat16, so I guess two bytes. But distributing and "packaging into an app" are not at all of practical interest for these kinds of models. You (a consumer) would interact via some API service, with the model running on a hardware-accelerated compute cloud. In any case, during training (where the model is run in possibly large batches), and even during inference, the size of the parame…

> even during inference, the size of the parameters is completely dwarfed by the intermediate tensor representations What makes you say this?

It's especially true for models that do some kind of weight sharing, which is very common (CNNs, RNNs, transformers, etc). For a concrete example, consider a layer from an image convolutional network, which maps from a 3-dim colorspace to a 128-dim feature space. Assuming a 5x5 kernel that's about 10k parameters. However, after applying this layer, you go from having an (B,H,W,3) tensor to a (B,H-4,W-4,128) tensor, where H,W are the height and width of the image, and B is the number of images in the batch. If you're working with even moderately high resolution images, the memory required for these intermediate tensors at each layer is much larger than the parameters.

Something similar applies for RNNs (same weights applied at each element of a sequence), GNNs and transformers (same weights applied at each pair of data).

Re: DeepMind’s New Language Model, Chinchilla

#74

Earlier quoted context omitted.

Gwern responded to a similar question in the comments section. (parent) > the fact that data and compute need to scale proportionally seems… like a big point in favor of NNs as memorizers/interpolators. (gwern) > Surely it's the opposite? The more bang you get out of each parameter, the less it looks like 'just' (whatever that means) memorization/interpolation. When you needed to increase parameters a lot, disproport…

This isn’t addressing their question. And Gwern’s goal here is to (incorrectly) try to get rid of the idea that models are just memorizing and interpolating, when in fact memorization and interpolation is what we all do, including models. He’s just bothered by the idea that people think of models as less than magic. On the other hand, https://twitter.com/model_mechanic/status/151297688118364569... is admittedly prett…

To rebut someone's argument you must address the argument and not just talk about them and their motivations

From your comment a reader will understand that you think they're just memorizing and interpolating and that you disagree with gwern on this point, but you've given your reader nothing that argues in favor of your position

Why should someone believe that models are just memorizing and interpolating?

Re: DeepMind’s New Language Model, Chinchilla

#75

Earlier quoted context omitted.

Aren’t most of the models at the top not suitable for text generation? That’s what makes gpt different from Bert

What are the models at the top used for? Excuse my ignorance.

Mostly mask fill, but Transformers can be fine tuned to downstream tasks relatively easily (T5 was built for translation but is used for autocomplete in many cases)

Re: DeepMind’s New Language Model, Chinchilla

#76
post #52

Earlier quoted context omitted.

Is there any source which explains what billion of parameters actually are? In my mind a parameter is: language, dialect, perhaps context parameters (food, dinner, lunch, travel) and if we than talk about language and audio perhaps sound waves, gender. Or are context parameters which gives you insight? Like a billion of parameters are literally something like travel=false, travel-europe=true people speaking=e, age, h…

A parameter is a scalar value, most of which are in the attention matrices and feedforward matrices, you also hear these called “weights”. Any intro to DL course will cover these in detail. I recommend started with Andrew Ng’s Coursera class on Intro to Machine Learning, although there may be better ones out there now.

Input parameter vs. weights then?

I see tx

Re: DeepMind’s New Language Model, Chinchilla

#77

Off-topic to Chinchilla, but relevant to the source site: MarkTechPost consistently borderline plagiarizes articles and shares them on their website as "paper summaries". They copy-paste from the source material and change some of the wording around as to appear original. My work, as well as other work from Berkeley AI Research, has been posted in this manner on their site. This seems highly unethical, and I'm surpri…

Fill out a DMCA notice:

https://abuse.cloudflare.com/

Cloudflare will forward it to their host, I believe, who will then ask that they remove the infringing material, or provide a counter claim.

Re: DeepMind’s New Language Model, Chinchilla

#78
post #75

Earlier quoted context omitted.

What are the models at the top used for? Excuse my ignorance.

Mostly mask fill, but Transformers can be fine tuned to downstream tasks relatively easily (T5 was built for translation but is used for autocomplete in many cases)

would you mind sharing some references (or even just googleable terms) for this process of fine tuning?

Re: DeepMind’s New Language Model, Chinchilla

#79

Earlier quoted context omitted.

Probably right. Most people dump on these language models for this reason but it would be absurd for a HS student to have to re-derive the quadratic equation every time they worked on an Algebra problem so naturally you memorize it. Why should it be any different for a language model?

I never memorized the quadratic formula, and I did OK.

Did you go to school in the US in the last 2-3 decades?

Re: DeepMind’s New Language Model, Chinchilla

#80
post #4

Earlier quoted context omitted.

the biggest problem first of all might be the memory requirements given so many parameters. It couldn't be as cheap as a high end computer in the foreseeable future.

There is probably a space-time trade off that needs to be explored in this space. It might be possible to preload the some of the most likely tokens to be selected next into the cache and/or RAM. These are glorified auto-complete algorithms that are poorly understood, as DeepMind's optimizations appear to show. For the English language, it is probable that there are only so many possible grammatically correct selecti…

I’ve been saying this for years, language models are the ML equivalent of the billionaire space race, it’s just a bunch of orgs with unlimited funding spending millions of dollars on compute to get more parameters than their rivals. It could be decades before we start to see them scale down or make meaningful optimizations. This paper is a good start but I’d be willing to bet everyone will ignore it and continue breaking the bank.

Can you say that about any other task in ML? When Inceptionv3 came out I was able to run the model pretty comfortable on a 1060. Even pix2pix and most GANs fit comfortably in commercial compute, and the top of the line massive models can still run inference on a 3090. It’s so unbelievably ironic that one of the major points Transformers aimed to solve when introduced was the compute inefficiency of recurrent networks, and it’s devolved into “how many TPUs can daddy afford” instead.

Post reply on HN