
Structural priors boost LLMs in-domain but collapse out-of-distribution across tasks
Researchers have identified a critical limitation in how large language models activate latent knowledge: structural priors that boost performance on familiar tasks often catastrophically fail when conditions shift. By replicating prior work on mathematical reasoning within code security analysis, the team demonstrates this routing ceiling phenomenon spans domains, affecting models from GPT-OSS to Llama and Gemma. The finding challenges assumptions that injecting domain knowledge via cheatsheets or scaffolding reliably transfers across distribution boundaries, with implications for deployment reliability in high-stakes applications like vulnerability detection.62



























