New method uses question-answering to self-structure knowledge bases
Masahiro Kato proposes Knowledge-Base Gradient Descent, a method that uses answer discrepancies to automatically optimize knowledge base structures.
Source: Grafy Research LabResearchers have proposed a new way for artificial intelligence to automatically organize its own internal knowledge structures by learning from its own mistakes. By treating the discrepancy between an expected answer and a generated response as a signal for structural change, the method allows a knowledge base to evolve its schema or document organization to better serve specific information needs.
What is Knowledge-Base Gradient Descent?
According to a paper by Masahiro Kato from the University of Tokyo, Knowledge-Base Gradient Descent is a method designed for a setting called "Self-Structuring Learning." In traditional Retrieval-Augmented Generation (RAG) systems, a large language model (LLM) retrieves information from an external source to answer questions. However, even if the correct answer exists in the source material, the system may fail if the knowledge base is organized poorly.
Kato's method addresses this by using questions and their expected answers as a guide for construction. The process involves diagnosing the gap between what the system should have answered and what it actually produced. At each step, the method proposes a structural edit—such as changing a graph schema or how documents are linked—rebuilds the knowledge base based on that edit, and adopts the change if the "learning loss" decreases. This cycle allows the system to refine its internal organization iteratively.
How does the system learn from errors?
In the proposed framework, the structure of the knowledge base determines how information is retrieved and connected. If a question cannot be answered correctly, the system identifies the discrepancy. The method separates the diagnosis (which proposes a specific structural edit) from the evaluation (which measures the effect of that edit).
Because a structural change can have ripple effects, the system evaluates each candidate edit by performing a complete reconstruction of the knowledge base. This ensures that the method accounts for both the successful repair of the failed answer and any new errors that the structural change might introduce elsewhere. For graph-based systems, the author introduces "Schema Descent," a specific instance of the method that allows for calculating structural edits and their interactions within a relational model.
What were the results of the experiments?
Kato tested the method using five large datasets, each consisting of a bundle of ten research papers. The experiments focused on updating two types of structures: knowledge cards and graph schemas. The goal was to see if these structures could be improved by training them on questions the application initially failed to answer correctly.
According to the research, the updated structures achieved a higher mean Answer F1 score on held-out generated questions compared to their initial states. In every document tested, the schema gains were positive. However, the results varied when tested against human questions. While the schemas improved for human inquiries, the performance of the knowledge cards actually fell, suggesting that the updated structures became highly specialized for the specific types of questions they were trained to solve.
Why is knowledge structure important for AI?
As LLM applications become more complex, the way they store and retrieve data becomes a bottleneck. A knowledge graph might use a schema to define entity types and relationships, while other formats might use linked Markdown documents. If the schema is too rigid or the connections are poorly defined, the model might see the necessary facts but fail to connect them logically to form a complete answer.
Kato notes that while existing systems like GraphRAG or AutoSchemaKG focus on building structures directly from text, they do not necessarily optimize those structures based on the quality of the answers produced. Knowledge-Base Gradient Descent shifts the focus toward the end goal: the accuracy of the answers. By treating the schema as an optimization target, the system ensures that the organization of data is directly aligned with the utility of the application.
How can researchers apply this to their work?
For researchers working with large volumes of scientific literature or complex datasets, this approach offers a path toward more autonomous data organization. Instead of manually designing ontologies or schemas, researchers could potentially use a set of "competency questions" to drive the automated evolution of their knowledge graphs.
While this specific method is a research proposal, the principles of using feedback to refine retrieval structures are highly relevant to anyone managing large-scale RAG pipelines. Users can explore similar workflows of questioning and analyzing complex documents using Reader, which allows for deep research over PDFs and papers, or by organizing complex prompt histories in Graph.
Frequently asked questions
What is the main goal of Self-Structuring Learning?
Self-Structuring Learning aims to build a persistent and editable knowledge base where the structure—such as a graph schema or document organization—is guided by specific questions and expected answers. This ensures the knowledge base is optimized to retrieve and connect information in a way that directly supports the application's intended use cases.
How does Schema Descent differ from other methods?
Unlike methods that derive structure solely from text, Schema Descent is an instance of Knowledge-Base Gradient Descent that specifically targets graph schemas. It uses a relational model to propose structural edits based on answer discrepancies, evaluates them by rebuilding the knowledge base, and adopts changes that minimize the overall learning loss.
Does the method work for all types of questions?
Not necessarily. The research indicates that while the method improves performance on generated questions, it can lead to specialization. In experiments, updated structures performed better on the types of questions they were trained on, but mean F1 scores for knowledge cards actually decreased when tested against human questions, suggesting a trade-off between specialized accuracy and general utility.


