Skip to main content
QUICK REVIEW

[Paper Review] Facts as Experts: Adaptable and Interpretable Neural Memory over Symbolic Knowledge

Pat Verga, Haitian Sun|arXiv (Cornell University)|Jul 2, 2020
Topic ModelingComputer Science37 references27 citations
TL;DR

This paper proposes Facts as Experts (FaE), a neural language model that integrates symbolic knowledge memory with neural representations to enable interpretable, adaptable, and updatable factual reasoning. By allowing real-time injection and modification of facts without retraining, FaE achieves a 9.3% performance gain on knowledge-intensive QA tasks when new facts are injected at inference time, outperforming standard models in both accuracy and interpretability.

ABSTRACT

Massive language models are the core of modern NLP modeling and have been shown to encode impressive amounts of commonsense and factual information. However, that knowledge exists only within the latent parameters of the model, inaccessible to inspection and interpretation, and even worse, factual information memorized from the training corpora is likely to become stale as the world changes. Knowledge stored as parameters will also inevitably exhibit all of the biases inherent in the source materials. To address these problems, we develop a neural language model that includes an explicit interface between symbolically interpretable factual information and subsymbolic neural knowledge. We show that this model dramatically improves performance on two knowledge-intensive question-answering tasks. More interestingly, the model can be updated without re-training by manipulating its symbolic representations. In particular this model allows us to add new facts and overwrite existing ones in ways that are not possible for earlier models.

Motivation & Objective

  • Address the opacity and inflexibility of factual knowledge stored in neural language model parameters.
  • Enable real-time, non-parametric updates to factual knowledge without retraining the model.
  • Improve interpretability and reduce bias by decoupling symbolic facts from learned parameters.
  • Enable the model to reason over new or corrected facts not present in the original pretraining data.
  • Demonstrate that factual knowledge can be dynamically modified at inference time to reflect real-world changes.

Proposed method

  • Integrate a symbolic, non-parametric memory of facts (e.g., triples like (entity, relation, entity)) into a pre-trained language model.
  • Retrieve relevant facts from the symbolic memory during inference using a differentiable attention mechanism.
  • Combine retrieved symbolic facts with contextual embeddings from the transformer encoder to produce predictions.
  • Allow users to inject or overwrite facts in the memory at inference time without modifying model weights.
  • Use a fine-tuned version of the model on filtered training data to avoid data leakage and evaluate generalization.
  • Apply early stopping during fine-tuning to maintain generalization while testing on modified knowledge.

Experimental results

Research questions

  • RQ1Can a neural language model effectively integrate and reason over newly injected symbolic facts at inference time without retraining?
  • RQ2To what extent can a model adapt to contradictory facts that overwrite original pretraining knowledge?
  • RQ3How does performance degrade when factual knowledge is updated to reflect real-world changes, and can the model still generalize?
  • RQ4Can symbolic memory injection improve factual QA performance beyond standard fine-tuning approaches?
  • RQ5How does the model’s performance compare when relying solely on latent knowledge versus explicit symbolic facts?

Key findings

  • FaE achieved a 9.3% absolute improvement in performance on FreebaseQA when new facts were injected at inference time, compared to the filtered setting.
  • On WebQuestionsSP, FaE achieved a 6.9% improvement over the filtered baseline when injecting new facts, demonstrating robust generalization.
  • FaE maintained strong performance (48.0% F1 on FreebaseQA) when injecting facts unseen during pretraining, outperforming models relying only on parameterized knowledge.
  • When replacing original answers with plausible alternatives, FaE correctly answered 30% of modified questions, showing partial resilience to contradictory knowledge.
  • The model successfully overwrote original facts with new ones at inference time, demonstrating dynamic adaptability without retraining.
  • FaE outperformed the baseline EaE model in the injected facts setting, which lacked a mechanism for integrating new knowledge.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.