Aligning Knowledge Graphs Provided by Humans and Generated from Neural Networks in Specific Tasks

Tangrui Li,Jun Zhou
2024-04-24
Abstract:This paper develops an innovative method that enables neural networks to generate and utilize knowledge graphs, which describe their concept-level knowledge and optimize network parameters through alignment with human-provided knowledge. This research addresses a gap where traditionally, network-generated knowledge has been limited to applications in downstream symbolic analysis or enhancing network transparency. By integrating a novel autoencoder design with the Vector Symbolic Architecture (VSA), we have introduced auxiliary tasks that support end-to-end training. Our approach eschews traditional dependencies on ontologies or word embedding models, mining concepts from neural networks and directly aligning them with human knowledge. Experiments show that our method consistently captures network-generated concepts that align closely with human knowledge and can even uncover new, useful concepts not previously identified by humans. This plug-and-play strategy not only enhances the interpretability of neural networks but also facilitates the integration of symbolic logical reasoning within these systems.
Machine Learning,Artificial Intelligence
What problem does this paper attempt to address?
### Problems the paper attempts to solve The paper aims to solve the alignment problem between the knowledge generated by neural networks and the knowledge provided by humans. Specifically, the knowledge generated by traditional neural networks is usually limited to downstream symbolic analysis or applications for enhancing network transparency, and fails to effectively use this knowledge to optimize network parameters or improve training effects. This paper proposes an innovative method. By combining the Vector Symbolic Architecture (VSA) and a new auto - encoder design, the neural network can generate and utilize knowledge graphs, and align its concept - level knowledge with the knowledge provided by humans, thereby optimizing network parameters. ### Main contributions 1. **Combination of knowledge graph and VSA**: - A method using knowledge graph and Vector Symbolic Architecture (VSA) is proposed to convert the vectors of neural networks into concept - level knowledge, and align the knowledge of humans and neural networks through structural similarity. 2. **Concept alignment and feedback mechanism**: - Auxiliary tasks are introduced to support end - to - end training. Through concept alignment, a two - way translation and feedback mechanism is achieved, so that symbolic AI and logical knowledge bases can be directly applied to the learning process. 3. **Enhanced interpretability and logical reasoning**: - This method not only improves the interpretability of neural networks, but also promotes the integration of symbolic logical reasoning in these systems, and can gradually incorporate logical reasoning during the training process. ### Experimental verification - **Experiment 1**: An experiment was carried out on the MNIST dataset to verify the effectiveness of the method. The results show that the consistency between the concepts provided by humans and the concepts generated by the neural network reaches 0.993, and the classification accuracy rate of the test set is 0.972. - **Experiment 2**: By adjusting different parameters of the knowledge graph (the number of entities, the relationship ratio, the number of triples, etc.), the robustness and adaptability of the method were further verified. The experimental results show that when the knowledge provided by humans is rich and evenly distributed, the matching effect is the best. ### Conclusion This method has successfully verified the effectiveness of using the Vector Symbolic Architecture (VSA) for knowledge graph alignment, and has demonstrated its application potential in neural network concept generation and alignment. The experimental results show that this method can achieve highly consistent matching in various situations, which not only improves the transparency of neural networks, but also shows the potential of combining neural network models with existing knowledge graph processing techniques. ### Future work Although encouraging results have been achieved, the complexity of the experiment is still limited, and the theoretical basis needs to be further verified in more complex practical scenarios. Future research plans include exploring the integration of more symbolic artificial intelligence methods.