atlas

Research map / Large language models / Retrieval and knowledge

Do I Know This Entity? Knowledge Awareness and Hallucinations in Language Models

ICLR 2025 · Large language models › Retrieval and knowledge · approach: Knowledge editing in LLMs · 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.

Uses Gemma Scope and LlamaScope sparse autoencoders to find entity recognition latents in base models that detect known vs unknown entities, and shows steering them causally controls knowledge refusal and hallucination in chat models.

Problem

Hallucinations in LLMs occur when models generate information for entities they do not know, and the mechanisms determining whether a model hallucinates or refuses are poorly understood.

Approach

Sparse autoencoder latents on the final token of an entity in the base model separate known from unknown entities across entity types; steering these latents (added to the residual stream) causally flips knowledge refusal in the chat model and modulates attention from attribute-extraction heads to the entity.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Steer with the unknown entity recognition latentGemma 2 2B chat model · Questions about unknown entitiesKnowledge refusal rateHelped
Steer with the known entity recognition latentGemma 2 2B chat model · Questions about unknown entitiesKnowledge refusal rateHurt
Orthogonalize model weights with respect to the unknown entity directionGemma 2 2B chat model · Questions about unknown entitiesKnowledge refusal rateHurt
Steer with the known entity latent on an unknown entityGemma 2 2B chat model · Question about Wilson BrownHallucination tendencyHelped
Steer with the unknown entity recognition latentGemma 2 2B · Known-entity promptsAttention to entity tokensHurt
Steer with the known entity recognition latentGemma 2 2B · Unknown-entity promptsAttention to entity tokensHelped
Steer with the unknown entity recognition latentGemma 2 2B, Gemma 2 9B, and Llama 3.1 8B · Entity promptsAttention to entity tokens versus random SAE latents: 9/10; 1/10; 10/10Mixed
Steer with the known entity recognition latentGemma 2 2B, Gemma 2 9B, and Llama 3.1 8B · Entity promptsAttention to entity tokens versus random SAE latents: 10/10; 10/10; 7/10Helped
Use the entity recognition latent selected by minimum separation across entity typesGemma 2 models and Llama 3.1 8B · Questions about entitiesRecognition of known versus unknown entitiesHelped
Use the unknown-entity uncertainty latent activation as a classifierGemma 2 2B IT · Correct versus mistaken answersAUROC: 73.2 AUROCHelped
Use entity recognition latents to steer explicit knowledge judgmentsGemma 2 chat models · “Are you sure you know” promptsYes-versus-No logit differenceHelped
Use the unknown entity latent rather than a random SAE latent for steeringGemma 2 2B, Gemma 2 9B, and Llama 3.1 8B · FineWeb tokensCorrelation between latent activation and token prediction probabilityNo clear effect

Surprising findings

Limitations

Experimental setup

Datasets: Wikidata entities (players, movies, cities, songs) FineWeb The Pile Neuronpedia explanations

Benchmarks: Wikidata entity attribute prompts (known/unknown split)

Metrics: latent separation score refusal count out of 100 attention score change to entity tokens logit difference Yes vs No AUROC F1

Baselines: random SAE latent steering random vector steering Orthogonalized model

Builds on: Gemma Scope Refusal is mediated by a single direction activation patching JumpReLU SAE LlamaScope

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