Cross-Prompt Reuse of Entity-Replacement Responses
Abstract
With model weights fixed, we measure how much of an entity-replacement response transfers between English factual questions, beyond whether answers change. We add the hidden-state change from two source questions to a target question about the same entity, comparing the predicted log-probability shift between two relations' published answers, given known answer prefixes, with the measured one. Hidden reuse injects the aligned change at 50% depth before the target's remaining layers; direct reuse adds source output-score changes. With other-relation sources, hidden reuse removes 45% and 49% of no-change error on 0.5-1B Qwen and Llama. Gemma-2-2B removes 22% and passes one of three comparisons in plain text without its default beginning-of-sequence (BOS) token. A later protocol restoring it yields 58-68%, passing every comparison on three cohorts. Larger checkpoints, chat format and new entities show replication and format- or cohort-dependent failures. On small plain-format checkpoints, other-relation hidden reuse mainly reproduces the shift both relations' questions share, without reliably lowering relation-selective error. With target-relation sources, hidden reuse's post hoc advantage over direct reuse is 0.2-0.9 nats outside chat format, unconfirmed and not replacement-specific. The same relation-neutral change at both questions' entity tokens lowers relation-selective error more than random or other-replacement changes, indicating receiving-question dependence.
Create a lesson
Metadata
- Categories
- cs.CL, cs.AI
- Comments
- 37 pages, including appendices
Related papers
ModernELECTRA: Replaced-Token Detection with Boundary-Window Reconstruction for Compact Encoders that Classify and Embed
Shared title terminologycs.CLMykhailo Shtopko, Ihor Stepanov, Dmytro Vodianytskyi et al.
When Does Reasoning Help Entity Disambiguation? Small LLMs In-Domain and Under Shift
Shared title terminologycs.CLSamy Haffoudhi, Fabian M Suchanek, Nils Holzenberger
Ontology-Compiled 2D Clinical State Fields with Bidirectional Diffusion Encoders for Zero-Training Cross-Ontology Medical Coding
Shared title terminologycs.CLZeqiang Wang
Parameter-Efficient Vocabulary Expansion via Cross-Lingual Embedding Alignment
Shared title terminologycs.CLAndrew Ivan Soegeng, Muhammad Reza Qorib, Weishi Wang et al.
Character Information in Language Models: A Prompt-Independent Word Store and a Late, Question-Driven Signal That Grows With Scale
Shared title terminologycs.CLPratyush Acharya, Nuraj Rimal, Apar Baral et al.
Finding Errors Is Not Enough: Selective Model Escalation for Entity-Targeted Sentiment Analysis
Shared title terminologycs.CLNishan Chatterjee, Matthew Purver, Antoine Doucet et al.