Lune

AAAI2025顶会

Content-free Logical Modification of Large Language Model by Disentangling and Modifying Logic Representation

Xin Wu, Yuqi Bu, Yifei Chen, Yi Cai

摘要

Despite extensive training on diverse datasets and alignment with human values, large language models (LLMs) can still generate fallacious outputs. Additionally, the validity of LLM's outputs varies significantly depending on the content. It is crucial to ensure LLMs' logical consistency across different contexts. Drawing inspiration from cognitive psychology studies, we propose a Logic Control Framework (LCF) that disentangles LLMs' hidden representations into separate content and logic spaces. Within the logic space, we use logically valid and invalid samples to construct distinct regions through contrastive learning. By moving logic representations to logically valid regions and fusing them with unchanged content representations, we significantly reduce logical fallacies in LLM outputs while maintaining content coherence. We demonstrate the effectiveness of LCF through experiments on conclusion generation and fallacy identification tasks, showing a significant improvement in logical validity and a reduction in fallacious outputs.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

可以从这些问题问起

Lune 可以查阅

全文 · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Aligning Large Language Models with Representation Editing: A Control Perspective 引用了 Inference-Time Intervention: Eliciting Truthful Answers from a Language Model
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

它引用的 Paper7

  1. Understanding Contrastive Representation Learning through Alignment and Uniformity on the HypersphereTongzhou Wang, Phillip IsolaICML 2020 · 2,360 次引用
  2. Inference-Time Intervention: Eliciting Truthful Answers from a Language ModelKenneth Li, Oam Patel, Fernanda B. Viégas, Hanspeter Pfister 等NeurIPS 2023 · 1,549 次引用
  3. Aligning Large Language Models with Representation Editing: A Control PerspectiveLingkai Kong, Haorui Wang, Wenhao Mu, Yuanqi Du 等NeurIPS 2024 · 80 次引用
  4. Logical Fallacy DetectionZhijing Jin, Abhinav Lalwani, Tejas Vaidhya, Xiaoyu Shen 等EMNLP Findings 2022 · 52 次引用
  5. Few-Shot Joint Multimodal Entity-Relation Extraction via Knowledge-Enhanced Cross-modal Prompt ModelLi Yuan, Yi Cai, Junsheng HuangACM MM 2024 · 9 次引用

相关 Paper

  1. FACT: Mitigating Inconsistent Hallucinations in LLMs via Fact-Driven Alternating Code-Text TrainingXinxin You, Qixin Sun, Chenwei Yan, Xiao Zhang 等NeurIPS 2025
  2. How Language Models Conflate Logical Validity with Plausibility: A Representational Analysis of Content EffectsLeonardo Bertolazzi, Sandro Pezzelle, Raffaella BernardiACL Findings 2026
  3. Socrates or Smartypants: Testing Logic Reasoning Capabilities of Large Language Models with Logic Programming-Based Test OraclesZihao Xu, Junchen Ding, Yiling Lou, Kun Zhang 等AAAI 2026 · 1 次引用
  4. LogicAttack: Adversarial Attacks for Evaluating Logical Consistency of Natural Language InferenceMutsumi Nakamura, Santosh Mashetty, Mihir Parmar, Neeraj Varshney 等EMNLP Findings 2023 · 4 次引用
  5. LSEG: A Fine-tuning Free Method for NL2FOL via Logic-Structure and Entropy Guided Inference ControllingYuwei Huang, Shi Wang, Kangli Zi, Tianyu Luo 等ACL Findings 2026
黄昏的海面,两侧是细线勾勒的悬崖