MemFL gives an LLM static project summaries and dynamic debugging tips, and reports a 12.7% Top-1 accuracy gain over LLM fault localization baselines on Defects4J with lower time and cost.
Calibrating Factual Knowledge in Pretrained Language Models
1 Pith paper cite this work. Polarity classification is still indexing.
abstract
Previous literature has proved that Pretrained Language Models (PLMs) can store factual knowledge. However, we find that facts stored in the PLMs are not always correct. It motivates us to explore a fundamental question: How do we calibrate factual knowledge in PLMs without re-training from scratch? In this work, we propose a simple and lightweight method CaliNet to achieve this goal. To be specific, we first detect whether PLMs can learn the right facts via a contrastive score between right and fake facts. If not, we then use a lightweight method to add and adapt new parameters to specific factual texts. Experiments on the knowledge probing task show the calibration effectiveness and efficiency. In addition, through closed-book question answering, we find that the calibrated PLM possesses knowledge generalization ability after fine-tuning. Beyond the calibration performance, we further investigate and visualize the knowledge calibration mechanism.
citation-role summary
citation-polarity summary
fields
cs.SE 1years
2025 1verdicts
CONDITIONAL 1roles
background 1polarities
unclear 1representative citing papers
citing papers explorer
-
Improving LLM-Based Fault Localization with External Memory and Project Context
MemFL gives an LLM static project summaries and dynamic debugging tips, and reports a 12.7% Top-1 accuracy gain over LLM fault localization baselines on Defects4J with lower time and cost.