ELVIA.Evidence Atlas
← Back to analysis

AI context

ELVIA analysis of: LLMs Encode Harmfulness and Refusal Separately

Original paper: Zhao, Jiachen; Huang, Jing; Wu, Zhengxuan; Bau, David; Shi, Weiyan. LLMs Encode Harmfulness and Refusal Separately. Advances in Neural Information Processing Systems, vol. 38, 2025, pp. 140283–140318. https://doi.org/10.52202/085713-4688
Source version: arXiv:2507.11878v5 (current author version; updated 2026-07-06T01:46:44Z)
Source location: Current arXiv v5 Section 2, PDF p.4; Section 3.5, PDF pp.8–9; src/eval.py, easy_eval and process_layer_evaluation

Current arXiv v5 Section 2, PDF p.3, model-template convention; src/extract_hidden.py, generate_directions; src/utils.py, formatInp_llama_persuasion

Current arXiv v5 Section 3.5, PDF pp.8–9; Appendix E.1, PDF p.20, Figure 10

Question: What does the recorded analysis establish about “LLMs Encode Harmfulness and Refusal Separately”?
Bounded finding:
The inversion evaluator changes the refusal-rate denominator and the extraction path defaults to a mismatched prompt template. The different intervention masks are disclosed and remain a scope qualification.

Recorded check:
The inversion evaluator changes the refusal-rate denominator and the extraction path defaults to a mismatched prompt template. The different intervention masks are disclosed and remain a scope qualification.

Case-wide limitations:
- Preliminary AI assessment; independent human scientific adjudication remains pending.
- An analytic counterexample or a release discrepancy does not by itself remeasure the paper’s reported experiments.

Original source excerpts (verbatim):
Latent Guardis motivated by the faithfulness and robustness of the LLMs’ perception of harmfulness: LLMs may still correctly assess the harmfulness of instructions even when their refusal behavior is incorrect, as shown in Figure 3 and Figure 6.
Source: arXiv:2507.11878v5 (current author version; updated 2026-07-06T01:46:44Z)
Locator: PDF p. 9
Source PDF SHA-256: e8e3b1972f521631d3a74e7101b293ecaae73ad2059a9f6350f1ef4c3f93577b

Review status: Independent review pending
Case: neurips2025-0061-llms-encode-harmfulness-and-refusal-separately
Revision: 1
Record created: 2026-10-21T07:13:27.568206+00:00
Permalink: https://elvia-atlas.org/atlas/cases/neurips2025-0061-llms-encode-harmfulness-and-refusal-separately.html
Versioned public record: https://elvia-atlas.org/atlas/evidence/neurips2025-0061-llms-encode-harmfulness-and-refusal-separately/records/neurips2025-0061-llms-encode-harmfulness-and-refusal-separately.r1.json
Canonical record SHA-256: 05f05b2cf9b3e07c34f2257233b4e850867ecc5473c4085d3db1728a462e7f52
The page follows the latest revision; the versioned record identifies this snapshot.

Analysis citation:
Minhao Liu. ELVIA analysis of: LLMs Encode Harmfulness and Refusal Separately. ELVIA, 2026. https://elvia-atlas.org/atlas/cases/neurips2025-0061-llms-encode-harmfulness-and-refusal-separately.html
Case neurips2025-0061-llms-encode-harmfulness-and-refusal-separately; revision 1; Independent review pending. Assessment is limited to the inspected claims. Versioned record: https://elvia-atlas.org/atlas/evidence/neurips2025-0061-llms-encode-harmfulness-and-refusal-separately/records/neurips2025-0061-llms-encode-harmfulness-and-refusal-separately.r1.json

Source claim:
Section 2 describes refusal over all test examples. `src/eval.py`, `easy_eval` and `process_layer_evaluation`, instead discard invalid inversion labels before computing the saved rate.

The advertised Qwen/Llama3 extraction path calls the prompt formatter without its model argument; `src/utils.py` defaults that argument to Llama2. Intervention passes the model explicitly.

Section 3.5 compares harmfulness and refusal interventions; Appendix E.1 explicitly discloses their different token masks.
Recorded domain:
Latest-version, claim-focused review of the cited author-paper passages and applicable current author-release paths. The stated counterexamples and scope controls were checked analytically; no author program, old verifier, training run or benchmark was executed.
Recorded assumptions:
Only the cited paper version and explicitly described mathematical or implementation conditions are assessed.
Recorded dependencies:

Actual review scope:
Latest-version, claim-focused review of the cited author-paper passages and applicable current author-release paths. The stated counterexamples and scope controls were checked analytically; no author program, old verifier, training run or benchmark was executed.

Evidence and counterevidence:
analysis-and-boundaries (support; Current AI source and argument inspection; retained computations were not rerun.): The inversion evaluator changes the refusal-rate denominator and the extraction path defaults to a mismatched prompt template. The different intervention masks are disclosed and remain a scope qualification.
scope-and-rebuttal (rebuttal; Per-problem assessment, source checks, counterevidence and inherited execution limits.): Preliminary AI assessment; independent human scientific adjudication remains pending. An analytic counterexample or a release discrepancy does not by itself remeasure the paper’s reported experiments.
editable-latex (support; Typeset source generated from the same reviewed problem paragraphs.): Editable English LaTeX of the curated analysis and existing corrections.

Displayed problem statements:
Source finding p1: Invalid answers change the refusal-rate denominator
Section 2 describes refusal over all test examples. `src/eval.py`, `easy_eval` and `process_layer_evaluation`, instead discard invalid inversion labels before computing the saved rate.
Source finding p2: Direction extraction defaults to the wrong model template
The advertised Qwen/Llama3 extraction path calls the prompt formatter without its model argument; `src/utils.py` defaults that argument to Llama2. Intervention passes the model explicitly.

Source PDF SHA-256: e8e3b1972f521631d3a74e7101b293ecaae73ad2059a9f6350f1ef4c3f93577b
Repair verification: pending
Author adoption: not_requested