arXiv

Last Layer Logits to Logic: Empowering LLMs with Logic-Consistent Structured Knowledge Reasoning

Title: From Last Layer Logits to Logic: Enhancing LLMs with Logic-Consistent Structured Knowledge Reasoning

Abstract:

Large Language Models (LLMs) have demonstrated remarkable proficiency in natural language reasoning by leveraging pre-training on extensive unstructured text corpora. This foundation allows them to comprehend linguistic logic and produce responses that are logically sound. However, the inherent disparity between unstructured and structured knowledge formats causes LLMs to frequently struggle with maintaining logical coherence. This issue manifests as Logic Drift, particularly in structured knowledge reasoning tasks like Knowledge Graph Question Answering (KGQA). Current solutions attempt to mitigate this limitation by embedding intricate, prompt-based workflows to steer the reasoning process. Yet, these methods offer only superficial, input-level guidance and do not resolve the root cause of Logic Drift in the model's output. Furthermore, their rigid reasoning structures lack the flexibility to adapt across diverse tasks and knowledge graphs.

To bolster the logical consistency of LLMs when handling structured knowledge, this study focuses on the logits generated during the final stage of autoregressive decoding. We introduce the Logits-to-Logic framework, a novel approach that utilizes logits strengthening and logits filtering as its primary mechanisms to rectify logical flaws in LLM outputs. Our comprehensive experiments demonstrate that this method substantially enhances the logical consistency of LLMs in structured knowledge reasoning, securing state-of-the-art results across multiple KGQA benchmarks.


Source: arXiv Generated at: 2026-06-02 00:00:00 UTC

Related Articles

Law’s Billable Hour Is Being Shredded by AI
Bloomberg

Law’s Billable Hour Is Being Shredded by AI

AI is dismantling the billable hour by automating routine legal tasks. This technological shift threatens the traditiona...

Iran War: Trump Tries to Stop Israel’s Lebanon Push | The Opening Trade 6/2/2026
Bloomberg

Iran War: Trump Tries to Stop Israel’s Lebanon Push | The Opening Trade 6/2/2026

SoftBank in Early Talks to Back $800 Million Agile Robots Round
Bloomberg

SoftBank in Early Talks to Back $800 Million Agile Robots Round

SoftBank is in early talks to back Agile Robots’ $800 million funding round. The Japanese tech giant is currently in pre...

Amundi Is Diversifying Risk Via Commodity Currencies, Gold
Bloomberg

Amundi Is Diversifying Risk Via Commodity Currencies, Gold

Amundi diversifies risk by investing in commodity-linked currencies and gold. This strategy hedges against market volati...

Reuters

Marvell Technology surges after Nvidia's Huang calls it 'next trillion-dollar company'

Marvell Technology shares surged after Nvidia CEO Jensen Huang labeled the firm the “next trillion-dollar company.”

Russia Says It Found Foreign Spyware on Top Officials’ Phones
Bloomberg

Russia Says It Found Foreign Spyware on Top Officials’ Phones

Russia’s FSB claims to have discovered foreign spyware on senior officials’ phones. Moscow attributes the intrusion to h...