paper-with-me

Papers

That's Deprecated! Understanding, Detecting, and Steering Knowledge Conflicts in Language Models for Code Generation

2025-10-21 · Jaesung Bae, Cameron Churchwell, Mitchell Hermon, Tsun-An Hsieh, Jocelyn Xu, Yekaterina Yegorova, Mark Hasegawa-Johnson, Heng Ji arxiv

This paper investigates how large language models (LLMs) behave when faced with discrepancies between their parametric knowledge and conflicting information contained in a prompt. Building on prior question-answering (QA) research, we extend the investigation of knowledge conflicts to the realm of code generation. We propose a domain-agnostic framework for constructing and interpreting such conflicts, along with a novel evaluation method and dataset tailored to code conflict scenarios. Our experiments indicate that sufficiently large LLMs encode the notion of a knowledge conflict in their parameters, enabling us to detect knowledge conflicts with up to \textbf{80.65\%} accuracy. Building on these insights, we show that activation-level steering can achieve up to a \textbf{12.6\%} improvement in steering success over a random baseline. However, effectiveness depends critically on balancing model size, task domain, and steering direction. The experiment code and data will be made publicly available after acceptance.

📄 PDF Abstract BibTeX arXiv:2510.19116

Code (0)

등록된 구현이 없습니다.

Tasks

Code Generation

Similar Papers 제목 키워드 기반

Right Knowledge, Wrong Answer: Test-Time Steering for Temporal Fact Conflicts in Open-Weight Language Models

2026-06-18 · Elias Hossain, Sourav Saha, Umesh Chandra Biswas, Sanjeda Sara Jennifer arxiv

Large language models can store both outdated facts and newer superseding facts in their parameters, but standard prompting may still elicit the outdated answer. We formalize this problem as Parametric Temporal Conflict …

Towards Understanding the Evolution of Vocabulary Terms in Knowledge Graphs

2017-09-30 · Abdel-Qader Mohammad, Scherp Ansgar

Vocabularies are used for modeling data in Knowledge Graphs (KG) like the Linked Open Data Cloud and Wikidata. During their lifetime, the vocabularies of the KGs are subject to changes. New terms are coined, while existi…

Knowledge Graphs

Is Cognition consistent with Perception? Assessing and Mitigating Multimodal Knowledge Conflicts in Document Understanding

2024-11-12 · Zirui Shao, Chuwei Luo, Zhaoqing Zhu, Hangdi Xing 외

Multimodal large language models (MLLMs) have shown impressive capabilities in document understanding, a rapidly growing research area with significant industrial demand in recent years. As a multimodal task, document un…

document understandingOptical Character Recognition (OCR)Visual Question Answering (VQA)

ECon: On the Detection and Resolution of Evidence Conflicts

2024-10-05 · Cheng Jiayang, Chunkit Chan, Qianqian Zhuang, Lin Qiu 외

The rise of large language models (LLMs) has significantly influenced the quality of information in decision-making systems, leading to the prevalence of AI-generated content and challenges in detecting misinformation an…

Decision MakingMisinformationNatural Language Inference

Multi-Attribute Steering of Language Models via Targeted Intervention

2025-02-18 · Duy Nguyen, Archiki Prasad, Elias Stengel-Eskin, Mohit Bansal arxiv

Inference-time intervention (ITI) has emerged as a promising method for steering large language model (LLM) behavior in a particular direction (e.g., improving helpfulness) by intervening on token representations without…