3 ms·
Yes, there is. A "model" is a set of parameters optimisted by some algorithm or system trained on the data in a specific dataset. Thus, a language model trained
by YeGoblynQueenne 6y ago
Yes, there is. A "model" is a set of parameters optimisted by some algorithm or system trained on the data in a specific dataset. Thus, a language model trained on a dataset of English language examples is only capable of representing English language utterances, not, e.g. French, or Greek, or Gujarati utterances. Diagrammatically:
data --> system --> model
What is not necessarily English-specific are the systems used to train different language models, at least in theory. In practice, systems are typically hand-crafted and fine-tuned to specific datasets, to such a degree that most of the work has to be done anew to train on a different dataset.
- MiroF 6y agoI was using model to mean the architecture, ie. the way you're modeling the data flows - not the specific params, which are ofc language specific.
- mannykannot 6y agoThis is very interesting, and I would be interested in learning more about the language-specific accommodations that are made. My minimal understanding of the GPT systems is that they are initially trained on a large corpus of English-language text, and then often, though not necessarily, given few-shot training on example tasks before being tested with questions that are scored. It would be unremarkable if the same system would have to be retrained from scratch to work with a different language, but I take it that you mean more than that. One guess is that the training data is annotated with grammatical information, in which case I would wonder if this is just a shortcut, or whether it solves a fundamental problem for such systems. Another guess is that the training set includes disambiguation, but that would seem to render meaningless the results on Winograd schema. (Update: I withdraw this last point, as presumably the Winograd-schema questions themselves are not disambiguated. Disambiguation of the training corpus would be a quite significant language-specific accommodation, if that is what is happening.)
- MiroF 6y ago> It would be unremarkable if the same system would have to be retrained from scratch to work with a different language, but I take it that you mean more than that. It really is that unremarkable, despite the GPs insinuations to the contrary.
- YeGoblynQueenne 6y agoIf training a language model was "unremarkable" we wouldn't have a hypefest everytime anyone releases a new model, with a catchy name no less. BERT, ROBERTA, GPT-2/3/... etc. are remarkable enough for their creators to write papers exclusively for the purpose of announcing the model and describing the architecture used to train it etc. In any case, I don't remember anyone ever naming their n-gram models or HMMs etc. The reason for this of course is that training a language model with a deep neural network architecture is anything but unremarkable, not least because the costs in data, human-hours and compute are beyond the reach of most entities other than large corporate teams. If training a new model from scratch were truly "unremarkable" we'd all have our own.
- mannykannot 6y agoYou have hung a lot on the single word “unremarkable”, so perhaps I did not make it completely clear what I thought was unremarkable. The only thing that I meant was that if a given architecture for NLP would require retraining from scratch in order to work with a new language, I would not think that fact would be surprising, or be indicative of some fundamental flaw or limitation in the approach taken. If, on the other hand, a given architecture could not be retrained to perform well on a different language, or only on a group of related languages, that might be indicative of a fundamental limitation in how far it could be developed, depending on what sort of accommodations have to be made for new languages.
- YeGoblynQueenne 6y agoThanks for clarifying. Part of the reason why training a new model from scratch is so difficult is the amount of dataset-specific tweaking and fine-tuning that goes on and that is rarely discussed in publications. For example, papers willt describe the architecture of a system but will rarely go into much detail about how a particular component was selected over another (why this cost function over the other etc). This fine-tuning is essential to achieving state-of-the-art results and without it you can expect to produce a model that is simply not the same as the original. Certainly in terms of performance metrics. Basically retraining the same system on a different dataset is a bit like entering the same river in two points in time. Yes, in theory it's "the same" system and only the dataset chnges. In practice, it takes so much architectural tweaking and fine-tuning that it's a different system and you've done almost all the work from scratch. This also is part and parcel of why so much fanfare surrounds the publication of a new model. Because it's really, really hard to train a new model on a new dataset (assuming one wants to get state of the art results).
- pc86 6y agoIs it as "simple" as retraining a model on an identical (but translated) dataset, if such a dataset were to exist?