Knowledge-Base Gradient Descent: Self-Structuring Learning through Question Answering
Abstract
We consider the problem of constructing knowledge bases for applications based on large language models, in which the structure of a knowledge base determines how an application can retrieve and connect the information needed to answer a question. We study Self-Structuring Learning, a setting in which questions and expected answers guide the construction of a persistent knowledge base whose editable structure can be a graph schema or the organization of linked knowledge documents. We propose Knowledge-Base Gradient Descent, which diagnoses discrepancies between expected answers and responses obtained through the current knowledge base. At each round, the method proposes a structural edit, rebuilds the knowledge base, and adopts the edit when the learning loss decreases. The retained structure is evaluated on other questions about the same sources. By randomizing over candidate edits, we express the loss change of an edit as a derivative with respect to the probability of selecting it, and we evaluate joint edits as single candidates because their changes interact. Schema Descent instantiates the method for graph schemas. In experiments on large documents, each a bundle of research papers, the updated knowledge cards and graph schemas obtain higher mean Answer F1 on held-out generated questions than their initial structures, with schema gains in every document. On human questions, mean F1 rises for schemas and falls for cards: the updated structures serve the kind of question they were learned from.
Create a lesson
Metadata
- Categories
- cs.AI, cs.LG
Related papers
CoverMem: Coverage-Constrained Visual Memory for Budgeted Embodied Question Answering
Shared title terminologycs.AIRuijie Ma, Haoyue Liu, Mingda Zhang et al.
TableRouter: Query-Aware Evidence Construction for Long-Table Question Answering
Shared title terminologycs.AIAnahita Bolourani, Xiaofeng Lin, Tung Sum Thomas Kwok et al.
RepoEviAgent: Scalable Synthesis of Evidence-Grounded Repository-Level Question Answering Tasks
Shared title terminologycs.AIAoqi Hu, Yueao Xing
TASK Memory: Beyond Text-Only Memory with Activation Steering and Knowledge Editing against Memory Hallucination
Shared title terminologycs.AIJinkun Zhao, Wenjun Wu
From Shared Patterns to Individual Evidence: Two-Stage Reasoning for Emerging Entities in Temporal Knowledge Graphs
Shared title terminologycs.AIJinchuan Zhang, Lei Gao, Hongyu Jiang et al.
Procedure Inference as Memory: Learning Recruiter Decision Procedures from OKF-Structured Episodes in Multi-Session Hiring Assistants
Shared title terminologycs.AIPraveen Kumar Bodigutla, Yizhi Zhang, Sai Vivek Kanaparthy et al.