Knowledge-Graph-Gated Defactualization for Style-Controllable and Fact-Preserving Generation in Agentic Conversational AI
Tanmay Kumar Shrivastava, Darsh Rohit Nandu, Rajesh Kumar Mundotiya
Abstract
Agentic large language models (LLMs) deployed in fact-sensitive applications such as customer support must simultaneously preserve factual correctness and generate responses in a controllable stylistic register. Activation steering enables fine-tuning-free style control by perturbing hidden representations, but it lacks an explicit mechanism for distinguishing verifiable facts from stylistic content, leading to semantic leakage. We address this challenge through Defactualize-Steer-Rehydrate (DSR), a knowledge-engineering framework that integrates a typed, salience-weighted knowledge graph (KG) with activation steering. DSR extracts salient entities using a layered regex or NER or lexical-classifier pipeline, replaces them with typed placeholders prior to steering, and deterministically restores verified values through salience-guided rehydration after generation. DSR is evaluated across six LLaMA-family models (1B--13B parameters) on 600 A2A-generated customer-support cases (1,200 generations), with a dedicated KG ablation study. DSR significantly increases verified-entity recovery relative to a steering-only baseline (Cohen's d=0.225, pBonf=1.0×10-4), though the absolute recovery rate remains modest, while preserving effective style control across diverse model families. Layer-wise separability and steering-strength diagnostics further show previously unexplored interactions between representation-level steering and factual grounding. hese results demonstrate that explicit knowledge engineering can systematically enhance trustworthy, controllable, and reproducible generative AI without requiring model fine-tuning. Code, cached steering vectors, and evaluation scripts are publicly released to support reproducibility.https://github.com/Tanmay-IITDSAI/KG-Gated-Defactualization
Create a lesson
Related papers
Evidence-Supported Credit Risk Report Generation Using News-Centric Financial Knowledge Graphs
Shared title terminology · Rocio Jimenez-Villen, Ziwei Xu, Ying Chen et al.
Thinking While Speaking: Inference-Time Knowledge Transfer for Responsive and Intelligent Conversational Voice Agents
Shared title terminology · Vidya Srinivas, Zachary Englhardt, Vikram Iyer et al.
Explicit Style Extraction for Personalized Long-Form Text Generation
Shared title terminology · Jenitha Reddy Patel, Sameeksha Kini, Amulya Rayasam et al.
What Helps Language-Model Agents Review Violent Video? A Controlled Comparison with a Human Evidence Reference
Shared title terminology · Mohammed El Amine Mokhtari, Matei Mancas, Virginie Vandenbulcke
MATE: Mobile Agent Trustworthy Execution for Safe and Efficient Mobile Control
Shared title terminology · Minsuk Jang, Hee-Seon Kim, Hui-Cheol Yu et al.
KARMA: Knowledge graph-based Automated Reasoning Materialization and Alignment
Shared title terminology · Jinkyeong Choi, Chaebin Jeong, Donghyeon Park