atlas

Research map / Large language models / Language, safety and interpretability

Learning the Wrong Lessons: Syntactic-Domain Spurious Correlations in Language Models

NeurIPS 2025 · Large language models › Language, safety and interpretability · approach: Controlled text generation · 1 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows LLMs learn spurious syntactic-template–domain correlations that degrade entity-knowledge performance cross-domain and can be exploited to bypass refusals, with a benchmark for detecting it.

Problem

LLMs may rely on syntactic templates (PoS-tag sequences) learned as associated with a domain rather than on semantics and domain knowledge, which can degrade performance and create security vulnerabilities.

Approach

Formalizes template–domain spurious correlation, builds a synthetic TRex-based dataset where each domain has a unique PoS template, and defines in-domain vs cross-domain evaluation under semantic-preserving, semantic-breaking, and paraphrase perturbations to detect syntactic-domain reliance in trained models.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Apply another domain's template instead of the in-domain templateOLMo-2-Instruct 1B · Synthetic entity-pair dataset, Exactaccuracy: ↓ 0.51Hurt
Apply another domain's template instead of the in-domain templateOLMo-2-Instruct 7B · Synthetic entity-pair dataset, Synonymaccuracy: ↓ 0.48Hurt
Apply another domain's template instead of the in-domain templateOLMo-2-Instruct 13B · Synthetic entity-pair dataset, Antonymaccuracy: ↓ 0.37Hurt
Apply another domain's template instead of the in-domain templateOLMo-2-Instruct 13B · Synthetic entity-pair dataset, Disfluentaccuracy: ↑ 0.11Helped
Apply another domain's template instead of the in-domain templateOLMo-2-Instruct 13B · Synthetic entity-pair dataset, Paraphraseaccuracy: ↓ 0.34Hurt
Apply another domain's template instead of the in-domain templateOLMo-2-7B · Sentiment140, Synonymaccuracy: ↓0.37Hurt
Apply another domain's template instead of the in-domain templateGPT-4o-mini · Sentiment140, Synonymaccuracy: ↓0.56Hurt
Apply another domain's template instead of the in-domain templateGPT-4o · E-SNLI, Antonymaccuracy: ↓0.17Hurt
Add chain-of-thought template as a prefixOLMo-2-7B-Instruct · WildJailbreak, Exactrefusal rate: 0.400 -> 0.025Hurt
Add chain-of-thought template as a suffixOLMo-2-7B-Instruct · WildJailbreak, Disfluentrefusal rate: 0.400 -> 0.549Helped
Add math template as a prefixOLMo-2-7B-Instruct · WildJailbreak, Antonymrefusal rate: 0.399 -> 0.189Hurt
Add another domain's templateLlama-4-Maverick · Sentiment140, Synonymaccuracy: 0.00No clear effect

Surprising findings

Limitations

Experimental setup

Datasets: TRex (LAMA) FlanV2 subset (Sentiment140, E-SNLI, Newsroom, CoT) Tulu-V3 WildJailbreak

Benchmarks: TRex synthetic test set FlanV2 Sentiment140 FlanV2 E-SNLI FlanV2 Newsroom WildJailbreak

Metrics: accuracy ROUGE-2 refusal rate in-domain vs cross-domain performance delta

Baselines: OLMo-2-7B GPT-4o-mini GPT-4o Llama-4-Maverick

Builds on: TRex FlanV2 Tulu-V3 OLMo-2

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy