Context Token Frequency-Based Logit Correction for Improving Context Faithfulness in Generative Language Models

In industrial and engineering question answering over manuals, specifications, contracts, and policy documents, generated answers must remain faithful to source text. Although Retrieval-Augmented Generation (RAG) provides relevant context, Large Language Models (LLMs) may still paraphrase, omit, or distort key expressions during decoding, limiting reliability in source-critical settings. Existing decoding-time methods help but often add inference overhead. This study proposes Context-Frequency Decoding (CFD), a training-free, non-invasive, lightweight method that adds a normalized context-token-frequency bias only to the final logits of an instruction-tuned LLM without modifying parameters or internal representations. As a plug-in soft bias, CFD increases the selection probability of frequent context tokens for source-grounded extraction. Experiments on three extractive question answering datasets across two LLMs show that CFD improves context-grounded answer extraction on specialized-document datasets by 9.3-29.6% over standard decoding and outperforms baselines. CFD remains stable across bias strengths and adds less than 1% additional per-token latency, whereas baselines incur substantially higher decoding cost. These results suggest that CFD is practical for extractive question answering systems requiring source-grounded answer extraction.

Authors

Publication Details

Journal
Korean Journal of Computational Design and Engineering
Published
2026-09-10
DOI
https://doi.org/10.7315/cde.2026.211
Primary Topic
Topic Modeling
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Context Token Frequency-Based Logit Correction for Improving Context Faithfulness in Generative Language Models

Taewan Kim, SungMok Kim, SeungWoo Nam, JiSeong Chung
Korean Journal of Computational Design and Engineering
Topic Modeling
article

Context Token Frequency-Based Logit Correction for Improving Context Faithfulness in Generative Language Models

Taewan Kim, SungMok Kim, SeungWoo Nam, JiSeong Chung
article en

Abstract

In industrial and engineering question answering over manuals, specifications, contracts, and policy documents, generated answers must remain faithful to source text. Although Retrieval-Augmented Generation (RAG) provides relevant context, Large Language Models (LLMs) may still paraphrase, omit, or distort key expressions during decoding, limiting reliability in source-critical settings. Existing decoding-time methods help but often add inference overhead. This study proposes Context-Frequency Decoding (CFD), a training-free, non-invasive, lightweight method that adds a normalized context-token-frequency bias only to the final logits of an instruction-tuned LLM without modifying parameters or internal representations. As a plug-in soft bias, CFD increases the selection probability of frequent context tokens for source-grounded extraction. Experiments on three extractive question answering datasets across two LLMs show that CFD improves context-grounded answer extraction on specialized-document datasets by 9.3-29.6% over standard decoding and outperforms baselines. CFD remains stable across bias strengths and adds less than 1% additional per-token latency, whereas baselines incur substantially higher decoding cost. These results suggest that CFD is practical for extractive question answering systems requiring source-grounded answer extraction.

Korean Journal of Computational Design and EngineeringVol. 31(3)
Openalex Percentile: Top 8%
Topic Modeling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.