Protoknowledge Shapes Behaviour of LLMs in Downstream Tasks: Memorization and Generalization with Knowledge Graphs
Federico Ranaldi, Andrea Zugarini, Leonardo Ranaldi, Fabio Massimo Zanzotto

TL;DR
This paper introduces the concept of protoknowledge to analyze how Large Language Models memorize and utilize knowledge Graphs during pretraining and inference, impacting their generalization and task performance.
Contribution
It formalizes protoknowledge, categorizes its types, and develops Knowledge Activation Tasks to measure and analyze how LLMs leverage knowledge Graphs in downstream tasks.
Findings
Protoknowledge can be categorized into lexical, hierarchical, and topological forms.
Knowledge Activation Tasks effectively measure knowledge utilization in LLMs.
Prompting strategies influence the activation and use of protoknowledge in task performance.
Abstract
We introduce the concept of protoknowledge to formalize and measure how sequences of tokens encoding Knowledge Graphs are internalized during pretraining and utilized at inference time by Large Language Models (LLMs). Indeed, LLMs have demonstrated the ability to memorize vast amounts of token sequences during pretraining, and a central open question is how they leverage this memorization as reusable knowledge through generalization. We then categorize protoknowledge into lexical, hierarchical, and topological forms, varying on the type of knowledge that needs to be activated. We measure protoknowledge through Knowledge Activation Tasks (KATs), analyzing its general properties such as semantic bias. We then investigate the impact of protoknowledge on Text-to-SPARQL performance by varying prompting strategies depending on input conditions. To this end, we adopt a novel analysis framework…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsNatural Language Processing Techniques · Topic Modeling
MethodsADaptive gradient method with the OPTimal convergence rate · ALIGN
