- Rating
- 5
- Clarity
- 3
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
The authors present a hypothesis that state representation and next token prediction compete when the same parameter set is used to achieve both, and separating them yields better language models. To evaluate the hypothesis, they propose a new transformer architecture called SPS (State-Prediction Separation Transformer) that handles state representation and next token prediction on separate streams. They perform pre-training studies on the standard transformer architecture, SPS, and two other architectures designed for ablation studies. Pre-training is done on the FineWeb-Edu corpus and the reported metrics involve validation loss, inference efficiency (throughput/peak memory), Corpus NLL, and avg. task accuracy across 5 zero-shot benchmarks.
The authors demonstrate that SPS reaches lower validation loss and shows better generalization across model sizes. Through ablation studies, the authors show that the improvement shown by SPS is not merely due to increased memory or additional computation steps, but due to stream separation.
Strengths and weaknesses
Strengths: The authors present an interesting hypothesis next-token prediction and state representation are separate tasks and when computed through separate streams, yields better language models. They propose SPS, an alternative transformer architecture that enables this separation and perform pre-training studies. The results indicate that SPS consistently shows better convergence across model sizes when trained on FineWeb-Edu and better zero-shot generalization to five tasks. Ablation studies have been carefully performed in token-equivalent and compute-equivalent settings, and consistently show that the advantages of this architecture lie in the proposed stream separation and not due to the higher number of parameters.
Weaknesses: The hypothesis presented in this paper has only been validated with a single architectural choice and pretraining dataset. Making a stronger case requires deeper analysis and experiments, including interpretability studies about what is learnt in the state and prediction streams. A creative choice of tasks will demonstrate which tasks such an architecture is more useful for, and where the gains are not as significant. Apart from pretraining, transformer models are fine-tuned for specific tasks. It remains to be seen if this architecture improves convergence in post-training adaptation.
Questions
- The state-prediction separation hypothesis has only been validated with one architectural choice. Are there alternative choices that may be more parameter-efficient or improve training convergence?
- The experiments involve expensive pretraining of models from scratch. While this effort is appreciable, an additional approach to try would be to modify a pre-trained transformer model with the architectural changes supporting the paper's hypothesis and fine-tune it on specific task(s). This would enable validating performance on larger transformer models and a more diverse set of tasks/datasets.
- Pre-training has been done only using a single dataset (FineWeb-Edu). I'm curious to know if the choice of dataset provides an unfair advantage in these experiments. Is there a certain class of tasks/datasets where state-prediction-separated architectures do better? Having said that, I acknowledge there are high costs involved in pre-training on entirely new datasets.
- While experimental results refer to the performance of the pre-trained model, it would be interesting to see if the modified architecture improves amenability to task-specific fine-tuning. Is convergence faster with the new architecture?
- The same hyperparameters have been used for all architectural variants -- which variant have they been optimized for? It is possible that each variant requires adjustments to hyperparameters for optimal training.
- It would be interesting to see some interpretability studies. Are the KV cached activations indeed capturing state? Comparing performance on tasks where state and next token are quite disconnected against other tasks where they are highly correlated can validate the hypothesis further.
Limitations
Some of the limitations I have mentioned above have been acknowledged by the authors in the Discussion section. But more interpretability studies and amenability of this approach to task-specific fine-tuning can be addressed.
Paper formatting concerns
N/A
Final justification
I have maintained my score as I believe it is fair for the work. The authors have considered fine-tuning of pretrained models and analysis of SPS on domains other than language modelling as part of future work. These would have been valuable additions to strengthen the paper's claims and validate it on more than one task.
Another question is whether the architectural choice of adding a predict token per input is the best way to maintain separate state and prediction streams, given that it increases compute costs as mentioned by reviewer kGfT -- exploring more compute-optimal architectures would be useful. The interpretability study is a good addition to the paper.
We thank you for the insightful review and for the questions that point to promising future directions. We address each of them below.
Our claims only apply to decoder-only Transformers, where these two tasks are inherently mixed. Historically, successful architectures also realized different forms of state-prediction separation (for example, LSTMs), suggesting it is a good property to have, in general.
This is an interesting avenue for future work! We did not explore this as we preferred to focus on a cleaner setup where there are no confounding factors due to previous training, but we would be curious to see its effect in future work. We hypothesize that the benefits may be greater when the method is applied during pre-training, since the model would not first need to unlearn the standard mechanism.
We focused our analysis on language modeling, because we believe it is more generally useful given the current popularity of language models. Belief-state approaches (which we discuss as related work) also focus on toy planning tasks, but we believe that language modeling is a more concrete and real-world signal. We would be curious to see the effects of SPS in other domains, as we do not believe the benefits are specific to text data but more of a Transformer property.
We did not test any other choice of hyperparameters and left the default ones from our starting codebase (based on nanogpt), which should be optimized for the vanilla baseline. While there might be optimal choices per method, exploring this space is very compute-intensive and prohibitive for us.
Thanks for the suggestion! As reported in our response to reviewer qevB, we additionally train linear probes to predict future tokens from the frozen final hidden states of both SPS streams and the single Standard stream. We find that future tokens are more linearly decodable from the SPS prediction stream than from Standard, suggesting that SPS makes future-relevant information more accessible for prediction. More details are available in our response to qevB.