Around 2014, the researchers of the language model split into two groups and became inexplicable.
It's a tradition to start with a whole line and then fix it over and over again until the text becomes consistent. It sounds a little anti-intuitive. Why write a bunch of crap first and then fix it slowly? But the proliferation model has proven its strength in the area of image generation, and some have begun to wonder if it could be moved to the text.
Proliferation of language model*: a text generation method that starts with random or destroyed text sequences, gradually reverting to a smooth text through repeated noise.
After moving in, two more routes were separated. One called. The difference between the two is precisely the starting point of the story to be presented in this paper.
The core question: When you don't know what's wrong, how?
Let's start with the model.
:: A proliferation language model, where the damaged text position is uniformly replaced by a special "cover" symbol, with the model always knowing which positions need to be filled.
It's like you're doing a blanks test, and all the places that need to be filled are clearly marked by a underlined line. All you have to do is focus on the words in the underlined, and the words that have been printed on the paper, you have no doubt. They must be right.
The flat spread of language models is completely different.
:: A proliferation language model that replaces the damaged position with a randomly drawn common word in the vocabulary rather than a specific mask, so it is not apparent which words are destroyed.
It's like a test paper, full of words, but you don't even know which words are the right answer, which are the words that the subject wrote deliberately wrongly to confuse you, or even the word "wrong" that might happen to the blind cat, just like the correct answer. You have to read the context and guess which word does not look right, and guess what the place is.
What happens if you work under cover?
The answer is that the model becomes very "lightly" and once a word is not marked as a mask, it will never question the word, even if the context has exposed the error. This light letter is not a problem at the time of the creation of a simple text, but it is fatal in a task requiring complex reasoning, in which it is often necessary to go back and correct the wrong steps. The advantages of a flat-spread model are here: it allows the model to look back at it at any time during its generation and to rewrite the word at any location, even if it has been "written" several steps.
This is also why the paper begins with a reference to the fact that even proliferation models generally perform better in terms of reasoning-type tasks and have even been used to train billions of reasoning models.
The cost is also clear.
even-spreading models are much harder to train than masked proliferation models, and more computing resources are needed to achieve the same effect. The researchers put the problem in one sentence: There are two things to be done in each position: to judge whether the word has been replaced and, if so, what the real word should be. Both depend on the model's understanding of the context, which, if not deep enough, makes both mistakes.
How do you get more understanding? The most direct approach would be to add more layers of neural networks to make models larger and smarter, but this would mean that the amount of parameters would go up, and training and deployment costs would rise. So the authors of the paper thought of another way.
: Without parameters, improve understanding by "think twice"
Cycle*: a technique that makes the model "deeper" without adding additional parameters, by taking out parts of the network for repeated implementation rather than only once.
This idea dates back to 2019.
This brings out the real concerns of the paper, and the cycle is useful for mask proliferation. What about even proliferation?
That's not so natural.
In the mask spreading, the model always knows which positions are "to be filled out" and the cycle is essentially to allow the model to think about these clear gaps several times, like over and over and over and over again about a mathematical solution. And in even spread, the model is not sure where it went wrong, is the cycle going to help, or is it just a few more laps in a mist, in vain?
The authors decided to do an experiment to answer that question. They have chosen this training framework, which is one of the most efficient programmes in the current literature to train even proliferation models.
:: An improvement programme for the training of uniform dissemination of language models, which further reduces the amount of time spent on storage and training compared to the original DUO method, while maintaining the effectiveness of training.
They take the middle of the model and make it into a cycling "slice" and they're trained to randomly extract a loop, and they let the model run over and over and over and over and over and over and over and over and over and over again. The whole training objective and end-generation is completely unchanged and the only change is how it is calculated within the model.
It's like untying a student who's supposed to be in a hurry to hand over a paper, telling him that you can check the subject over and over again until you're satisfied, but the rules of the examination, the scoring criteria, are the same.
The result was surprising: training efficiency increased two to three times.
The results of the experiment were rather bright.
The training calculus required to achieve the same accuracy in the validation set for a cycled flat spread model is 2.7 to 3.3 times less than the non-cycled baseline model.
The gap is even more pronounced in the data set, with 3.3 times the amount saved.
:: A large public web text set, often used as a reference language for pre-training of language models.
FineWeb-Edu*: a high-quality web-based text-based data set screened with educational content, often used in language modelling training.
The researchers also made an interesting comparison. They've tried two different strategies of how to allocate the number of cycles. A type called homogenous sampling with the same probability of being selected for each number of randomly extracted cycles. Another is called the greater the number of cycles, the more the training step consumes, so that the probability of a large cycle being drawn is lower, so that the total training calculus is roughly the same for the average number of cycles.
The result of the calculator-scale sampling was almost even, but it performed significantly better in a single cycle, as it was the most frequently drawn in training.
There is a delicate but important trade-off. Even sampling will result in more calculus being thrown at the number of large cycles, because the more frequent the cycle, the more expensive the one-step training, and the same frequency as the one that is drawn, the natural cycle eats the budget of the big one. In practice, however, the benefits of the reasoning phase are largely at the top of the cycle six to eight times, with very small additions. This means that even sampling actually wastes much of its calculus in regions where the benefits are already low.
It's like having a new player in the gym, and the coach told him that the bells went from 5 kg to 50 kg, with the same number for each weight. But the reality is that from 5 kg to 20 kg, muscle power is growing rapidly, from 20 kg to 50 kg, and the increase is already small. If a large amount of time is allocated to each weight slot on an average basis, the 50-kilogram exercise is, in fact, largely wasted, and it would be better to spend the time saved on a few more groups of the most efficient 20-kilograms. It is in this way that more "drain time" is left to truly cost-effective areas.
The paper also tested the third strategy, known as the idea of allocating more cycles to more noise-intensive inputs, because the greater the theoretical noise, the less reliable the context information, the longer the model would have to think about. It turns out to be surprising that this strategy is less effective than the first two. Then we can see that the benefits of the cycle are not the largest at the height of the noise, but at the moderate level of noise, which explains why it is not always cost-effective to push hard at the loudest input.
The cycle of the reasoning phase: generating up to 10% quality
Training efficiency is on the one hand and the actual performance at the time of generation is another. The paper tested differences in the quality of the generation of a cycle model compared to a non-cycle model under the same "" conditions.
Noise call times (*): The total number of times in which the model is called for a projection during the generation of a text usually means that the process is more sophisticated, but the longer it takes.
The results show that the cycling model (the lower the value of the indicator for generating text passivity, the more natural the text is) can be reduced by 9.8 per cent at most than the non-cycle model, and that most of the upgrades are available from six to eight cycles.
More interesting is the additional discovery that the cycle has not reduced the diversity of the text generated.
This is worth saying. Many of the means of improving the quality of production often come at a cost of producing content that is more conservative and more homogeneous, as models tend to repeat the word they most secure. However, while the cycling even spread model has improved its accuracy, the (indicator measuring the richness of the vocabulary in the resulting text) has remained largely unchanged, suggesting that the model is not based on a "shrunk-up" of quality, but rather on a real idea of what to say.
: Let the model decide for how long.
Since there is a marginal decrease in the number of cycles, a natural idea emerges. Can the model judge for itself when to stop the cycle?
Self-adaptation cycle*: a reasoning strategy whereby a model continues to circulate at every step of the process, until the internal variation is below a certain threshold, rather than fixing the number of times that all cycles are run.
This is done by monitoring the relative change in the hidden state of each cycle before and after the model, and once this change is so small that it is almost negligible, it means that there will be no new discoveries in recycling, so that work will be closed early.
It's like you're checking out if there's anything wrong with an essay, you've changed a lot in the first reading, you've changed a little less in the second, you've hardly picked out the wrong third. It was time to continue reading for the fourth time, and the gains were already minimal, so it would be better to save time to do something else. It is this thing that has been done since the cycle of adaptation, and it is the actual changes that have occurred from each inspection that determine whether or not to continue the examination.
The experiment proved that the idea worked. The self-adaptation cycle is able to achieve almost the same accuracy rate of 26 to 35 per cent of the 12 fixed cycles in 10 or more selected tasks.
Zero sample*: means that the model performs the task directly without specialized training or fine-tuning for a specific mission.
Researchers further found that the time when models stopped cycling at different noise levels was regular, that when the noise was lowest and highest, the models stopped very quickly, and that when the medium noise level, the models were more cyclical. This is just proof of the phenomenon mentioned earlier, where the benefits of the cycle are greatest in medium noise areas and, in extreme cases, limited.
Why? When the noise is low, the text itself is already close to the right answer, and the model does not need to be refined. When the noise is high, the context is almost completely destroyed, there's too little lead on the model, and there's no more information to recycle, just as it's futile for you to search for details in a pure noise picture. Only in the medium noise range does the text contain enough but not fully reliable clues, at which point the most valuable and the most marginal benefits of the cycle are to be found.
What did the cycle improve?
The paper also made a very detailed decomposition analysis to determine which aspects of the model had been improved by the increase in the number of cycles.
Researchers split the judgement that models need to make into two parts. The first part is a judgement as to whether an observed word is retained in the original language, a judgement measured in a single volume. The second part is to predict what the real original word should be when it is replaced by an outdated one.
The results are quite clear. In the case of a single cycle, the model judge whether the word "is replaced" has done quite well, and the indicator used to measure the accuracy of this judgement has reached more than 0.96. More than 90 per cent of the benefits of increasing the number of cycles are used to improve the prediction of what the word should have been, especially at the moderate noise level.
It's pretty intuitive and it's pretty common sense. At the outset, it may have been thought that the cycle was mainly to help the model better "discover the cracks", but the result was that the model had long seen something wrong, and it was really hard to figure out what the right answer was.
It's like a seasoned proof-reader, who can take a quick look at what's wrong in a few lines, and the instincts of "touching" work quickly, but to figure out exactly what to change from every mistake, it often takes time to go over and over and read the context to make a decision.
Researchers have also found a detail that, when there are many replacements of neighboring words around a replaced word, the improvements of the cycle are greater. But if almost all the neighbors are replaced, the circulation is much smaller, and it makes sense, because when the surrounding context is almost full of noise, more and more of the information is not available.
Additional findings: accuracy rate and quality of pulling saws
The training strategy referred to earlier for calculator-scale sampling flattens the verification of loss and even sampling, but it shows a more interesting feature in downstream missions.
In terms of the accuracy rate of multiple selections in the zero sample, the models trained in the calculus scale exceeded the model of even sampling in a comprehensive manner and the gap was established under various circular strategies. Also, when using self-adaptation cycles, the model needs only 12 per cent fewer cycles (7.82 compared to 8.89) than the flat sample model, with a higher accuracy rate.
But there is no free lunch.
In terms of the quality of generation, the difference is evident when models sampled in the same calculus scale are slightly more confused than even sample models.
This suggests different training strategies, and models are shaped to show different "genres" on different missions. A calculator-scaled model is better at quickly judging and classifying such tasks, with fewer cycles and good results, but it is less elaborate than a uniform sample model for tasks that require a consistent flow of output. This reminds us that there is no training strategy that is all-powerful, which one, depending on what is ultimately to be addressed.
Where to circulate: choice of location and depth
The paper also devoted some time to discussing which part of the model should be recycled and how deep it would be.
Researchers have tried to place them in different locations of the network, from the front to the back, and have found that they all have the same effect on the first five or so floors, but that if they are back, and the number of layers behind them is small, the effect will change markedly.
The rationale behind this is not difficult to understand, as the first layers of the network are primarily responsible for extracting the characteristics of the basis from the original input, indicating that this part of the work has been sharpened over and over and over again to help the later layers get more solid material. The next layers of the network are already making a more "high-level" synthesis, and if the cycle is set here, and there is not enough layer to digest the information generated by the cycle, it is tantamount to a question that has been repeatedly considered, but there is no time to organize the answers.
The final paper selects the second and third layers of the cycle model and sets the maximum number of cycles at 12, a set that has proved to be the highest value for money in the experiment, followed by the number of cycles up, and the benefits are no longer apparent.
It's in the back.
And one of the things that really touched me after reading this paper was that it looked like a little engineering trick, but it was a pretty deep question: the model's "understanding" and "parameter size" could have been solved.
We used to get used to a default assumption that to make the model smarter, we had to make it bigger. The paper tells us, with a solid chain of experiments, that at least in tasks that spread evenly, and require repeated self-doubt and revision, the models think more about the same set of parameters, sometimes more cost-effective than a simple stack of parameters. This reminds me of a phenomenon of human learning, where some of the problems are not insufficient knowledge, not enough time to think, and, in part, to add this "think" to the model.
Another thing that surprises me is that the improvements brought about by the cycle are highly focused on the matter of "predict what the replacement word is" rather than on "replacement of the judgement." The discovery is counter-intuitive, because the flat proliferation model is thought to be harder to train than a mask to spread, precisely because it has to guess what is wrong. And then the experiment tells us that the model of guessing the wrong place quickly learned, and what's really hard is to guess the right answer itself. This points us to the fact that sometimes the hard points of the problem are not in the same place as the hard points we intuitively feel.
It's also worth the taste of the experiment where the noise ratio sample failed. The distribution of more cycles to the most noise-intensive inputs sounds logically impeccable and does not work. This reminds me that the notion that the more difficult the problem, the more the problem, the more the problem is, the more the problem is, the more the problem is, the more the problem is, the more the problem is, and the more the problem is, the more the problem is, the more the marginal the resource is, not the more difficult it seems.
The paper also left an open tail, and the author referred to the next attempt to compare the different effects of the cycle on mask proliferation and even proliferation, particularly in the context of the reasoning mandate. This is a question worth asking, because the two proliferation models are faced with a completely different structure of uncertainty, one with a clear understanding of where the gaps are and one with its own thinking of where the gaps are. Will the cycle require a completely different strategy for models in these two different situations?
If a model does not know where it is wrong, can it really be smart to recycle it, or is it just turning around in in situ, grinding uncertainty round, and never able to find the answer?