Last Layer Logits to Logic: Empowering LLMs with Logic-Consistent Structured Knowledge Reasoning
The Logits-to-Logic framework addresses 'Logic Drift' in LLMs when answering Knowledge Graph questions by aligning their output probabilities with the question and KG logic. It introduces three stages—compiling legal paths into an NFA, strengthening relevant logits, and filtering irrelevant ones—to ensure the model generates logically consistent reasoning paths.