arXiv(opens in a new tab)cs.CLAug 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2608.29109

Recognition-Refusal Misalignment in LLMs: Why Models Answer Structurally Unanswerable Questions

Yucheng Du, Xiyang Hu

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Large language models often answer structurally unanswerable questions, such as computing cot⁡(−540∘)\cot(-540^{\circ}) or evaluating (1). startswith("1"), instead of abstaining. All headline claims concern structural impossibility; fact800 and FalseQA serve only as scoped boundary tests. We ask whether this failure reflects missing recognition or failed routing from recognition to abstention. Across instruction-tuned models from 1.7B to 70B parameters, a single linear direction in the hidden state separates answerable from structurally impossible math and code prompts, showing that models represent impossibility before generation. Yet this recognition direction is nearly orthogonal to the canonical safety-refusal direction that mediates trained harmful-content refusal. An in-domain behavior-defined invalidity-aware direction is closer to recognition, but only partially aligned with it, and remains near-orthogonal to safety refusal. Generation-time steering along the recognition direction changes invalidity-aware behavior bidirectionally and dose-responsively on structural math and code cells, while random directions do not. Base/instruct comparisons further show that the low-cosine geometry is already present at the pretraining endpoint. The confident-on-impossible failure is therefore better explained as a routing failure than as an encoding failure: the model has a usable "no admissible answer" signal, but the safety-refusal pathway is not aligned to use it.

1 Introduction

LLMs sometimes answer questions with no valid answer. In our math/code benchmarks, cot⁡(−540∘)\cot(-540^{\circ}) is undefined and (1). startswith("1") raises an attribute error; nevertheless, clean-baseline generations can return answer-like outputs such as

STRUCTURALLY IMPOSSIBLE PROMPTS

(math & code)

Figure

Figure 1: A linearly accessible pre-generation signal does not guarantee action. Structurally impossible math and code prompts activate dimpd_{imp}, yet the model still returns answer-like outputs (examples abbreviate real math800/code800 prompts and representative clean-baseline failures). The figure summarizes the safety-refusal mismatch, the partial in-domain behavior alignment, and the causal intervention; §4.2 and Fig. 2 quantify the geometry.

cot⁡(−540∘)=0\cot(-540^\circ) = 0 or True rather than abstain. 1^{1}

This behavior has two different possible explanations. The model may fail to represent the impossibility before generation, in which case abstention is unavailable. Or the model may represent the impossibility, but that signal may not be routed into the mechanism that produces abstention.

Prior work gives a concrete geometric candidate for one trained abstention mechanism:

∗^{*}Corresponding author.

1^{1}Code, datasets, aggregate experiment artifacts, and analysis scripts are available in the public project repository.

safety refusal is mediated by a single residual-stream direction dref,safetyd_{\text{ref,safety}} (Arditi et al., 2024). If structural-impossibility recognition reuses that existing safety-refusal pathway, an impossibility-recognition direction dimpd_{\text{imp}} should align with it, i.e., cos⁡(dimp,dref,safety)≈1\cos(d_{\text{imp}}, d_{\text{ref,safety}}) \approx 1. Because safety refusal need not be the only abstention route, we also measure an in-domain behavior-defined invalidity-aware direction in §4.2. The safety-refusal direction remains the literature-grounded comparator for trained refusal.

The evidence supports the routing account. In an 11-model main grid spanning 1.7B–70B parameters and two structural-impossibility domains (math and code; 22 model–dataset cells), a one-dimensional null-space MeanDiff probe separates answerable (A) from unanswerable (U) prompts with mean AUC 0.939. Thus, a low-capacity reader can recover the impossibility distinction from a single residual-stream direction before generation. However, this direction is nearly orthogonal to dref,safetyd_{ref,safety}, with mean cosine 0.087. Steering along dimpd_{imp} changes invalidity-aware behavior bidirectionally and dose-responsively on anchor-quality structural cells, with signal-minus-random gated flip rates of +33 to +52pp. Finally, paired base/instruct comparisons show that the low-cosine geometry largely predates instruction tuning.

Throughout the paper, “the model knows” is shorthand for a precise representational claim: the pre-generation hidden state contains a linearly accessible structural-impossibility signal. It does not mean that the model will use that signal in its normal generation policy. Steering along the recognition direction can change abstention behavior, but the canonical safety-refusal direction is not aligned with it. The model’s trained safety-refusal pathway therefore reads a different representational axis from the one that carries structural-impossibility recognition.

The scope is structural impossibility. Math and code prompts have formally checkable rules, and matched A/U pairs can differ in a specific diagnosable feature. In this structural setting, where the analysis is cleanest, recognition's near-orthogonality to safety refusal gives a representation-level account of the kind of output-level unreasonable-math failure documented by Ma et al. (2026). We use fact800 only as an epistemic-unanswerability transfer boundary and FalseQA only as a false-premise transfer boundary. These task types should not be collapsed into one generic unanswerability category: their ground truth, matched-pair construction, and intervention behavior differ.

References (3)

  • unanswerable because the model doesn’t know
  • Answer concisely:
  • How to light and put out the fire at the same time?