On the Effect of Token Correlations on Semantic Transfer in Transformers
Nevena Lazic, Julian Zimmert, Alan Malek, Tor Lattimore, Csaba Szepesvari, András György
NeurIPS 2026
Abstract. We study issues which may arise when using transformer models to formally reason about problems stated informally using natural language. In particular, we focus on transfer learning between tasks that are semantically equivalent but phrased differently. We assume that examples with a particular target label are only available for a subset of tasks, and aim to transfer zero-shot the ability to predict this label to other tasks. Using controlled experiments on propositional logic problems, we show that transformers are capable of such transfer, but that it can be impeded by the presence of task-specific tokens, due to the model picking up on correlations between these tokens and the label early in the training. We observe a qualitatively similar (but weaker) effect when finetuning pretrained Gemma3 models. As a simple intervention, we show that introducing the target label later in the training dramatically improves transfer.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:42 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
The paper analyzes language models under semantically equivalent text rewriting. The experiments are conducted using a synthetic setting, removing examples for one of the tasks and one of the labels. The main result suggests that the poor generalization is due to the learned correlation between the label and the tokens related to that label. Further analysis is provided by analyzing the gradient from the label.
The paper is well written and targets an important problem. The major weakness of the paper is the experiments on toy examples and it is unclear whether their findings generalize to practical cases. The relationship between classes/labels and tokens is generally latent and it is also not limited to the token level. It is not easy to find a reliable and precise correlation set against every label. Authors should add at least one small experiment that covers a more realistic setting and add a discussion on that.
Final justification
The authors have provided further experiments to support their claim which resolved the issue of experiments limited to small data settings.
Read meta-review
Meta-review
The paper analyzes language models under semantically equivalent text rewriting. The experiments are conducted using a synthetic setting, removing examples for one of the tasks and one of the labels. The main result suggests that the poor generalization is due to the learned correlation between the label and the tokens related to that label. Further analysis is provided by analyzing the gradient from the label.
The paper is well written and targets an important problem. The major weakness of the paper is the experiments on toy examples and it is unclear whether their findings generalize to practical cases. The relationship between classes/labels and tokens is generally latent and it is also not limited to the token level. It is not easy to find a reliable and precise correlation set against every label. Authors should add at least one small experiment that covers a more realistic setting and add a discussion on that.
Final justification
The authors have provided further experiments to support their claim which resolved the issue of experiments limited to small data settings.
1 comment
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 4/4
- Clarity
- 4/4
- Significance
- 2/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper studies language model generalization under semantically equivalent text rewriting. Their primary experiments consist of training small models from scratch on boolean logic reasoning problems (with or without chain of thought) with two task formats, omitting examples for one of the tasks and one of the labels. The key result is whether the model can generalize the label to the task for which it is unseen; they find that under standard training generalization is poor, but a curriculum learning approach which waits to introduce the problematic label greatly improves generalization. They propose an explanation: embeddings for the target task repeatedly receive the same gradient from the held-out label (since its error will always be positive), pushing together embeddings for that task and pulling them away from the other task(s). Their results add to the body of evidence for spurious token correlations caused by incomplete data.
Strengths and weaknesses
This paper is excellently written; I greatly enjoyed reading it. The problem formulation is intuitive and addressed with well-designed isolated experiments, and I have no concerns about experimental validity and the interpretation of results. The figures are excellent as well!
I do think this work addresses an important problem. The only real concern I have is that the experimental setting is very controlled and artificial, and I wonder whether the results would generalize or offer insights to real-world models and tasks. In particular, their models---which are not pretrained---use distinct task-specific tokens where the model must learn to generalize across tasks solely during task-specific training. Meanwhile, standard models acquire rich embeddings during pretraining that should align task-specific tokens (even if there is no labeled evidence), making generalization far easier; also, it's unclear whether the results about curriculum learning would apply in such a setting. A minimal experiment for this should be fairly straightforward, and I think it would greatly strengthen the paper.
Similarly, their experiments with chain-of-thought use supervised learning on synthetic reasoning traces, rather than RL. I wonder whether an RL'd model would be more robust to task-generalization, since it could easily convert between formats within the reasoning chain. Again, this doesn't invalidate their experiments, but does significant limit their applicability.
Between these two issues, ideally there would be some small experiments with more realistic settings, but at least there should be some discussion, perhaps pointing to existing results, on how these results may generalize.
My other, less critical concern is with the proposed theoretical explanation on page 9. The claim is that because embeddings for task 1 receive the same gradient with respect to the unseen label logit, they are pushed together and away from the embeddings for the other task. Since this is a fixed offset equally applied to embeddings, I'm not sure how they would contract---but they certainly would separate from task 2. There's also the implicit assumption that the skip connection gradient is responsible for this effect, and the remaining gradient (corresponding to h_i) is not relevant, and does not counteract this gradient. I believe this is true, but I'd like a bit more analysis showing that that is the case.
Nitpicks:
- The caption in Figure 1 did not make the colors clear to me initially, can you make this more explicit what each format is?
- The mathematical problem definition, in my opinion, is not helpful and just adds confusion. Since this is a relatively straightforward setup, I think the natural language definition is perfectly adequate and easy to follow.
- Within that, if you do keep the math, I think it should be initially stated that is the incomplete task, since right now its just inferred.
- L144 states that training data is continuously generated during training, but it's not clear whether you ensure that this is disjoint from the test set. Hopefully this is the case, otherwise there may be contamination.
- I found the ordering of the two main experiments a bit confusing, since you move from the more complex setting (with CoT) to the simpler setting. Could these be swapped?
- L271, Z should be defined
- L287 should this be ? Since the probability is conditional on the whole sequence.
Questions
Have you run any experiments with pretrained models, and if so do results change?
For the first task, the "unknown" label is categorically different from true/false. Have you tried instead holding out either true or false? I wonder if this would affect results.
Limitations
Yes
Final justification
I am happy to recommend this paper for acceptance, as my few minor concerns seem to be addressed well by the comments. I definitely think the experiments with pretrained models should be added in the final version, as well as the enhanced discussion of related work.
My concern with the theoretical aspect has largely been addressed, and I would like to see some minor tweaks based on our discussion. The only real remaining weakness, as the authors note, is that the component of the gradient is difficult to analyze, so the proposed explanation is a bit incomplete.
Formatting concerns
N/a
1 comment
Thank you for the review!
Pretrained models: It is quite plausible that pretraining results in richer representations, given that text and problems appear in a variety of different contexts compared to our artificial setting where the task templates are completely separate. Our results show the acquisition of spurious correlations in the early phases of training, and the same curriculum may not work for pretrained models which are less plastic and perhaps already learned a better representation. Nonetheless, we have explored finetuning pretraining models in a similar setting and found some benefits - see our comment https://openreview.net/forum?id=4kvpzWhoqH¬eId=9ZiumsEQLZ
RL: many RL algorithms for transformers can be seen as running SFT on correct samples; we believe that this would potentially improve in-distribution performance but are not sure it would transfer, unless we ran RL on the test examples involving task1 and label .
Existing results: We have found that ideas similar to ours have been explored in the context of multi-lingual transfer (https://arxiv.org/pdf/2411.02460). This paper finds transfer can be improved by having “code-switching” (CS, alternating between languages) and a curriculum that does CS at the token level, followed by sentence level, followed by training on monolingual corpora. While the setting is different from ours, it does involve some similar elements, namely having highly paired data in the initial stage of the training (in the sense of similar prediction problems for both tasks), and mixing of languages (similar to our syn:prompt-overlap setting); see more details in the response of Reviewer 5A1e.
Gradients: We will reword to say that task1-specific embeddings become more separable from task2. Considering only the gradient component of corresponding to , it is the same per-example up to scale for task1-specific embeddings, and Lemma 4.1 of https://arxiv.org/pdf/2604.21632 suggests that such gradients may lead to contraction if updates are performed using L2-regularized SGD. As you note, the picture is more complicated, especially due to components (and there is training pressure for the embeddings to be different in some subspace, so that the model can distinguish the variables). This aspect is difficult to analyze without making additional oversimplifying assumptions. However, we have looked at component effects empirically to some extent, by running experiments without the residual connections (Appendix D). We observed that without residual connections, the tasks are no longer separable in the top PCA components of the embeddings. Furthermore, disabling the last-layer residual connection improves transfer even without the curriculum, even with separable embeddings. Thus at least in this simple problem without CoT, transfer seems to be hindered by the gradients proportional to (output weights of the target label) applied to task1 representations. These gradients are larger in the initial phase of training.
“Unknown” vs. other labels: We have run experiments with the “true” label as the target, and they are given in Appendix B. They are qualitatively similar in that label delay improves transfer. Quantitatively the performance is better, perhaps because “true” is derived similarly to “false” in our CoT setup, and we have in-task training data for “false”.
Nitpicks: Thank you for the suggestions on style / organization. There has been some disagreement between the authors about the organization and your comments are helpful :) We will fix the typos. With respect to data contamination, we always test on examples in task1 format and label , which are never present in the training data.
- Rating
- 4/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The manuscript studies zero-shot label transfer between semantically equivalent but differently phrased reasoning tasks, using controlled synthetic propositional logic where a target label (e.g., unknown) appears in only one textual template. It shows that transfer is impeded by task-specific tokens, because the model latches onto a spurious token & label anti-correlation early in training that persists even after richer semantic features become available. The load-bearing fix is a label curriculum which markedly improves transfer while in-distribution accuracy stays near-perfect. The proposed mechanism is supported by PCA showing task-specific tokens are linearly separable under no-delay, a rank-1 embedding edit that lifts transfer from 59.5% → 99.7%, a gradient-level argument, and a residual-ablation that also restores transfer.
Strengths and weaknesses
In this manuscript, this paper carefully proves why it fails, using several different tests that all point to the same answer. The authors check the same failure from multiple angles, and every angle agrees with the others. This kind of agreement makes their conclusion much more believable. (1) PCA showing task-specific tokens are linearly separable only under the no-delay regime, a rank-1 embedding edit that lifts transfer from 59.5% → 99.7%, a gradient-level account of why the spurious shortcut is learned first, and a residual-stream ablation that independently restores transfer. Because these probes are causal, they make the load-bearing claim that the failure is a low-dimensional, surface-level token & label artifact rather than a deep semantic deficiency, genuinely hard to dispute. (2) The synthetic propositional-logic testbed is also well-designed: it gives the exact control over the token-label correlation, which is what makes the clean intervention possible. (3) Finally, the authors are commendably honest about the boundaries of the fix, openly reporting that the curriculum saturates at ~50–60% for syntax-dominant CoT tasks rather than overclaiming universal gains.
However, the reviewer's central concern is that the practical actionability of the label curriculum is left unaddressed, and the paper's own results hint at why this may be a hard problem rather than an implementation detail. The remedy presupposes that one can identify, a priori, which class is the "target label" whose anti-correlation with task tokens needs to be broken, and then schedule the training data so that this label is withheld until other labels are learned. Suppose a practitioner accepts the paper's thesis and wants to apply it to a realistic pretraining or fine-tuning corpus. They immediately face two problems the synthetic setup defines away.
First, the target label is known here by construction — the authors designed unknown to be the held-out label that appears in only one template — whereas in a real corpus the harmful token ↔ label correlations are latent and there may be many of them simultaneously, with no oracle telling you which token sets are anti-correlated with which labels. The manuscript does not show how a label curriculum would be derived when the offending correlation is not handed to you, nor whether delaying one label might create a fresh spurious correlation for another.
Second, the paper's own "syn:prompt" results suggest the curriculum is not a general solvent. When the spurious signal is carried in reasoning/CoT syntax rather than in a few isolated tokens, delay saturates at 50–60% and full recovery requires an external overlap hint that injects the semantic equivalence directly into the data. This is exactly the regime that matters for LLMs where format leakage lives in multi-token reasoning style, not in a single nameable variable token and it is also the regime where the clean rank-1 fix reportedly fails. The worry, then, is that the curriculum is most demonstrably effective precisely where the correlation is simplest (a single identifiable token), i.e., the regime where one arguably needs the fix least, and degrades in the harder, more realistic regime where one needs it most.
Thus, the reviewer wants to understand more about the manuscript thus ask the authors to test the curriculum under conditions that remove the two pieces of oracle knowledge the synthetic setup provides. (1) Unknown-target setting: construct a dataset with multiple simultaneous token ↔ label correlations and apply an agnostic curriculum and report whether transfer improves without the experimenter specifying which label to delay, and crucially whether delaying one label degrades transfer on another. (2) Syntax-dominant regime with matched budget: on "syn:prompt-cot" & "syn:prompt", report the best achievable transfer from the curriculum alone versus curriculum + diversity versus the overlap-hint condition, under matched training compute and with error bars over the five seeds, so the reader can see how much of the gap is closable without effectively leaking the answer through an overlap template.
Questions
Limitations
yes
Formatting concerns
1 comment
Thank you for your comments! We agree that our curriculum relies on information we would not necessarily have in a practical setting, and also that label curriculum does not fully solve the problem - it primarily removes some spurious correlations. Nevertheless, our results show simple cases where spurious correlations can emerge early in training and persist, hindering transfer. We also show that this can be counteracted not just by delaying the label, but also by sharing some data between the tasks. A similar phenomenon occurs in paired multi-lingual language training, where transfer of skills learnt in one language to another can be observed after initially training the model with data that contains (low-level) mixing of the different languages, as shown in the paper https://arxiv.org/pdf/2411.02460 (see also our response to Reviewer 5A1e for more details).
Agnostic curriculum The curriculum we propose requires task/label statistics, which can be computed whenever tasks and labels can be inferred from data, e.g. multilingual computational tasks. Delaying labels at random without this information would likely degrade performance. In fact, our experiments already show that not delaying the target label degrades transfer. Data augmentation may be a more practical approach in settings where task membership can be inferred from data, but there are no labels (e.g multilingual next-token prediction).
Contribution of each component for syn:prompt and syn:prompt-cot: Figures 2b and 2c show the improvements achievable with curriculum alone. Figure 2d shows results with the overlap hint (prompt-overlap), including without curriculum (blue curve). We can add figures that compare these directly on the same plot. With respect to diversity, we found it difficult to define a notion of diversity that we could systematically vary for these problem versions to improve transfer. With variable names (var:one-token), we can simply increase their number to make the model more agnostic to their representations. With instruction-type phrases, we want the opposite: the model should be sensitive to the representation and use the same/similar representation across tasks. In this case, transfer seems difficult without overlap / template mixing. Label curriculum alone can help remove a source of failure due to spurious correlations (leading to a meaningful improvement at least in our synthetic setting), but does not necessarily ensure transfer.
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This work tries to explain why NNs pick up spurious correlations on logically equivalent tasks and how it can be avoided that models rely on these correlations instead of generalising systematically. The authors ablate on various experiments and give some interpretability results, namely that the models keep shortcuts alive that they have learned during early stages of training instead of using all available data. They propose to remedy that issue by introducing the labels that one cares about late, so that they can be learned on an already well-founded embedding space.
Strengths and weaknesses
Strengths: The paper is well written and easy to follow. It goes beyond metrics and explains why the metrics are the way they are through interpretability results. These results are well tested through interventions. Weaknesses: The evaluation is done on a toyish dataset, so it is open to which degree this would transfer to, for example, LLMs. Additionally, real-world data is noisier, so conditions are a bit idealised while real data might have limited or noisier correlation between task and label.
Questions
The only real additional ask would be to evaluate this on a more complex scale, i.e. a bigger model and noisier data.
Limitations
yes
Final justification
I recommend that this paper be accepted. I already thought it was a good paper, and my concerns have been addressed during the rebuttal. The additional experiments from the rebuttal period should be added to the paper.
Formatting concerns
yes
2 comments
Thank you for the review! Since the submission we have become aware of somewhat related realistic works in multilingual transfer, which use a “code switching” (CS) curriculum that pairs data at the token level, followed by sentence level, followed by training on monolingual corpora (https://arxiv.org/pdf/2411.02460), and show that the initial mixing of the data between languages helps skill transfer from one language to the other during monolingual training. This is qualitatively similar to our experiments in the sense that we also find that having semantically similar data(i.e., having the same labels for all tasks) early in the training avoids learning spurious correlations and is helpful for transfer in predicting the later-introduced label. Furthermore, our syn:prompt-overlap setting is similar to CS in the sense that it mixes templates. The main difference is that we use a “bridge” template that appears in both tasks in order to teach the model the equivalence, whereas CS mixes the languages directly (but also directly teaches equivalence via providing pairs). This example shows that although our setting is simple, the observations in our work may generalize to more realistic problems.
We have also run additional experiments finetuning pretrained models - see https://openreview.net/forum?id=4kvpzWhoqH¬eId=9ZiumsEQLZ for details.
Thank you for adding the additional experiments. The MathGap results resolve my concern about how well this translates beyond small from-scratch models and data. They are a nice addition to the paper.
I also like the p=7 and sentiment analysis results, as they scope in which cases the effect applies. I still believe this work should be accepted.
Comments on the paper
3 comments
additional experiments
Thanks to all of the reviewers for the encouraging comments. We ran additional experiments on pretrained models (gemma3 models of size 270M and 1B) and more realistic data, which we describe here.
We first tried finetuning on a synthetic dataset of natural-language arithmetic word problems based on MathGAP (https://arxiv.org/abs/2410.13502), with some augmentation of problem phrasing, and given in one of two languages: English and Serbian (using cyrillic alphabet). We generated 100k examples of proof-trees of depth <=4 and <=8 leaves, and output the final answer modulo p (resulting in a roughly uniform distribution on [p]). We then removed all examples of Serbian with label (mod p) = 0, and experimented with delaying English examples with label (mod p) 0. An example of a problem and solution is as follows:
We are given the following facts: Fact 1: Ursula has 10 raspberries. Fact 2: Olivia has 43 raspberries. Fact 3: Taylor has 23 raspberries. Fact 4: Taylor gives 10 raspberries to Xavier. Fact 5: the number of raspberries that Olivia has minus the number that Ursula has is equal to the number of raspberries that Leo has minus the number that Taylor has. Fact 6: David has 12 raspberries. Fact 7: Leo has 10 more raspberries than David and Charlie combined. Question: How many raspberries does Charlie have? Give the final answer modulo 3.
Now, we argue as follows: Given that Ursula has 10 raspberries (Fact 1) and Olivia has 43 raspberries (Fact 2), we know that Olivia has 33 more raspberries than Ursula (Conclusion 1). Given that Taylor has 23 raspberries (Fact 3) and Taylor gives 10 raspberries to Xavier (Fact 4), we know that Taylor has 13 raspberries (Conclusion 2). Given that Olivia has 33 more raspberries than Ursula (Conclusion 1), Taylor has 13 raspberries (Conclusion 2) and the number of raspberries that Olivia has minus the number that Ursula has is equal to the number of raspberries that Leo has minus the number that Taylor has (Fact 5), we know that Leo has 46 raspberries (Conclusion 3). Given that Leo has 46 raspberries (Conclusion 3), David has 12 raspberries (Fact 6) and Leo has 10 more raspberries than David and Charlie combined (Fact 7), we know that Charlie has 24 raspberries (Conclusion 4).
Answer: 0
The tables below show the transfer accuracies (i.e. accuracy on examples in Serbian with label 0 which are absent from training data) for different delays of English examples with label 0, at training steps 1k, 2k, 3k, …, where each step corresponds to a batch size of 128 examples:
Transfer accuracy for MathGap and Gemma3 1B PT p=3
Step | no delay | 1k delay | 2k delay | 4k delay | 8k delay
1000 | 0.5677 | 0.0000 | 0.0000 | 0.0000 | 0.0000
2000 | 0.6458 | 0.7083 | 0.0000 | 0.0000 | 0.0000
3000 | 0.6693 | 0.8177 | 0.8958 | 0.0000 | 0.0000
4000 | 0.7839 | 0.8568 | 0.9258 | 0.0000 | 0.0000
5000 | 0.7786 | 0.8490 | 0.9219 | 0.8880 | 0.0000
6000 | 0.7734 | 0.8411 | 0.9427 | 0.8984 | 0.0000
7000 | 0.7865 | 0.8542 | 0.9661 | 0.9141 | 0.0000
8000 | 0.7943 | 0.8464 | 0.9714 | 0.9193 | 0.0000
9000 | 0.7969 | 0.8724 | 0.9792 | 0.9062 | 0.8438
10000 | 0.7839 | 0.8620 | 0.9766 | 0.9062 | 0.8594
Transfer accuracy for MathGap and Gemma3 1B PT p=7
Step | no delay | 1k delay | 2k delay | 4k delay | 8k delay
1000 | 0.6734 | 0.0000 | 0.0000 | 0.0000 | 0.0000
2000 | 0.7217 | 0.7305 | 0.0000 | 0.0000 | 0.0013
3000 | 0.8633 | 0.8525 | 0.8789 | 0.0000 | 0.0000
4000 | 0.8724 | 0.8525 | 0.8945 | 0.0000 | 0.0000
5000 | 0.9206 | 0.8880 | 0.9102 | 0.9473 | 0.0000
6000 | 0.9505 | 0.8815 | 0.9258 | 0.9531 | 0.0000
7000 | 0.9505 | 0.8887 | 0.9531 | 0.9531 | 0.0000
8000 | 0.9701 | 0.9121 | 0.9570 | 0.9766 | 0.0000
9000 | 0.9779 | 0.8906 | 0.9727 | 0.9648 | 0.9648
10000 | 0.9688 | 0.8672 | 0.9531 | 0.9688 | 0.9609
Transfer accuracy for MathGap and Gemma3 270M PT p=3
Step | no delay | 1k delay | 2k delay | 4k delay | 8k delay
1000 | 0.3633 | 0.0000 | 0.0000 | 0.0000 | 0.0000
2000 | 0.6055 | 0.7396 | 0.0000 | 0.0000 | 0.0000
3000 | 0.7448 | 0.8555 | 0.8835 | 0.0000 | 0.0000
4000 | 0.8333 | 0.8307 | 0.9388 | 0.0000 | 0.0000
5000 | 0.8893 | 0.8307 | 0.9418 | 0.9453 | 0.0000
6000 | 0.8255 | 0.8594 | 0.9518 | 0.9609 | 0.0000
7000 | 0.8594 | 0.8385 | 0.9557 | 0.9727 | 0.0000
8000 | 0.8594 | 0.8594 | 0.9557 | 0.9609 | 0.0000
9000 | 0.8438 | 0.8698 | 0.9661 | 0.9818 | 0.9583
10000 | 0.8802 | 0.8646 | 0.9479 | 0.9635 | 0.9583
Transfer accuracy for MathGap and Gemma3 270M PT p=7
Step | no delay | 1k delay | 2k delay | 4k delay | 8k delay
1000 | 0.4844 | 0.0000 | 0.0000 | 0.0000 | 0.0000
2000 | 0.6934 | 0.7031 | 0.0000 | 0.0000 | 0.0000
3000 | 0.7969 | 0.7227 | 0.8633 | 0.0000 | 0.0000
4000 | 0.8203 | 0.9258 | 0.9219 | 0.0000 | 0.0000
5000 | 0.8672 | 0.9453 | 0.9219 | 0.9062 | 0.0000
6000 | 0.9258 | 0.9609 | 0.9648 | 0.9453 | 0.0000
7000 | 0.9180 | 0.9414 | 0.9766 | 0.9531 | 0.0000
8000 | 0.9414 | 0.9727 | 0.9844 | 0.9727 | 0.0000
9000 | 0.9453 | 0.9688 | 0.9805 | 0.9844 | 0.9453
10000 | 0.9609 | 0.9688 | 0.9805 | 0.9805 | 0.9453
We observe that label curriculum is helpful for p=3 and does not make too much difference in the end for p=7 (though transfer is sped up a bit). One possible reason is that for p=3 label 0 is a larger fraction of examples and therefore more correlated with the languages.
It is interesting to observe that introducing the target label after a small delay may hurt performance (compared to no delay), see, e.g., the results for the 1B model with p=7 and 1k-steps delay. This is similar to the phenomenon we observed in the paper, where, e.g., in Figure 6 one can see that the lowest (1k-step) delay hurts performance. Inspecting the training dynamics, we see that at 1k the model had not yet learned solve the label-restricted problem well (still had a large training loss and in-distribution error), resulting in larger gradients for the target label. We hypothesize that a similar phenomenon occurs in our Gemma experiments.
We will include additional results for larger models and more random seeds in the final version of the manuscript.
In addition to MathGap, we experimented with a noisier dataset further removed from our synthetic setup: a three-way sentiment analysis dataset (https://huggingface.co/datasets/Sp1786/multiclass-sentiment-analysis-dataset). Here we created ‘tasks’ by creating two mutually-exclusive sets of names (e.g. {Anna, Bob} and {Charlie, Dave}), and prepending them to the data, e.g.
“Anna says: Cooking microwave pizzas, yummy”. [positive]
“Dave says: Any plans of allowing sub tasks to show up in the widget?” [neutral]
“Charlie says: Is sad when peoples phone are dead” [negative]
One of the tasks (name sets), task1, was associated with a subset of labels (negative, neutral), and the other, task2, with all labels (negative, neutral, positive) and we experimented with the curriculum of the task-specific label (positive in this case). Unfortunately, we found that for this setting curriculum did not have much effect on transfer accuracy (about 67% for all versions), and could hurt in-distribution accuracy (~80% vs ~65%) - the model would stick to predicting negative/neutral more often for some task2 names, despite seeing positive examples later on.
We believe that the negative results here are because this dataset doesn’t fit our premise - there are few or no semantically equivalent inputs (or input components) in the data to transfer between. Furthermore, given the high in-distribution error, label delay may not prevent the acquisition of spurious correlations, and may interfere with representation learning (as in the low-delay cases discussed for MathGap).
Based on the above, we will add a discussion on the type of data for which curriculum might yield an improvement to the paper.
We have not run any bridging / code switching experiments for these datasets yet, but we believe these interventions could be similarly useful for datasets with semantically-equivalent statements, and possibly more practical than curricula.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
Thank you for your encouraging comments!
We have run additional experiments involving finetuning pretrained models, and observed similar transfer trends, at least on data matching our setting. See https://openreview.net/forum?id=4kvpzWhoqH¬eId=9ZiumsEQLZ for details. We will add a discussion on when we expect the described methods (curriculum, augmentation) to be helpful.
Since the submission, we have also become aware of somewhat related realistic works in multilingual transfer, which use a “code switching” (CS) curriculum that pairs data at the token level, followed by sentence level, followed by training on monolingual corpora (https://arxiv.org/pdf/2411.02460). This work and others show that the initial mixing of the data between languages helps with transfer. This is qualitatively similar to our experiments in the sense that we also find that having semantically similar data (i.e., having the same labels for all tasks) early in the training helps. Furthermore, our syn:prompt-overlap setting is similar to CS in the sense that it mixes templates. Thus although our setting is simple, the observations in our work may generalize to more realistic problems, at least whenever the “tasks” can be identified (as is the case in multilingual training). We will discuss this line of work in the paper.