Averaging equivalent prompts can help, but cannot fix shared errors
Test-Time Symmetrization: Scaling Laws for Model-Agnostic Learning under Structure · arXiv:2611.24032
In plain words
A language model can give different answers when the same problem is written in different but equivalent ways, such as changing the labels on a graph. This paper introduces a way to check several equivalent versions and average the answers, while keeping the model itself unchanged.
A theory result explains why repeating the same prompt cannot reveal every response to other versions. In graph tests, spreading 16 model runs across rewritten prompts helped on one task, but hurt on another where the model shared the same bias across versions.
The research
A prompt’s wording or labels can change a model’s answer even when the problem stays the same.
This matters when deciding whether extra model runs should repeat one prompt or cover equivalent versions: the paper shows that coverage can help on some graph tasks, while averaging cannot correct a bias shared across versions.
Test-time symmetrization queries a frozen language model on equivalent rewritings and averages its responses, separating representation changes from repeated sampling at one prompt.
In a theoretical construction, two model behaviors are indistinguishable through every trace at the original prompt, yet their averages across equivalent rewritings select different answers. The construction shows why repeated sampling at one representation cannot always replace querying others.
A theorem bounds how many sampled rewritings approximate the full average, and graph tests show a conditional accuracy effect: the method helped edge counting but reduced accuracy on cycle detection, where a shared bias remained.
The guarantee is about approximating the full average over known, exact meaning-preserving rewritings, with error averaged across starting representations. It does not guarantee that this average is accurate for a task or improves every answer.
What the evidence shows
- Two kinds of variation
Test-time symmetrization is an inference method that queries a frozen language model on meaning-preserving rewritings of an input, then averages the decoded responses. The motivating distinction is between variation from sampling different traces at one prompt and variation from changing the prompt’s representation.
Extra traces can explore the first; they do not reveal the model’s behavior on other equivalent representations.
- What one prompt cannot reveal
The paper’s theoretical construction shows why those sources of variation cannot always substitute for each other. Two possible model behaviors match on every trace at the original prompt but produce different decisions when responses are averaged across rewritings.
So no procedure restricted to the original prompt can always recover the full-average decision, regardless of its trace budget. The result concerns constructed behaviors, rather than a failure rate measured across real models.
- A bound for fewer rewritings
The method first applies a decoding rule at each rewriting, then averages the resulting outputs over the rewriting group. A theorem says that O(ε⁻²(log|G| + log(1/δ))) uniformly sampled rewritings approximate the full group average to relative mean-square error ε, with failure probability at most δ.
The same sample works across the covered models and decoding rules; in general, the logarithmic dependence on group size cannot be removed.
- Gains depend on the task
The comparison shows why gains depend on the task: spreading 16 passes across rewritings improved edge counting, but on cycle detection a bias toward “yes” on acyclic graphs persisted across representations, so averaging could not correct it.
Deep
- Original paper authors
- Behrooz Tahmasebi, Melanie Weber
- Submitted to arXiv
- License
- CC BY 4.0