ACM Transactions on Asian and Low-Resource Language Information Processing · 2024 · 58 citations · 25 references
ComputingComputer ScienceKnowledge RepresentationNatural Language ProcessingSoftware EngineeringInformation ExtractionKnowledge GraphsLanguage ModelingNatural Language GenerationNatural Language UnderstandingText GenerationBenchmark DatasetsKnowledge Graph BenchmarkingKnowledge Graph ConstructionKnowledge Graph ReasoningLanguage Model PromptingNatural Language InferenceRationale GenerationSemantic Structure
Current generative knowledge graph construction approaches usually fail to capture structural knowledge by simply flattening natural language into serialized texts or a specification language. However, large generative language model trained on structured data such as code has demonstrated impressive capability in understanding natural language for structural prediction and reasoning tasks. Intuitively, we address the task of generative knowledge graph construction with code language model: given a code-format natural language input, the target is to generate triples which can be represented as code completion tasks. Specifically, we develop schema-aware prompts that effectively utilize the semantic structure within the knowledge graph. As code inherently possesses structure, such as class and function definitions, it serves as a useful model for prior semantic structural knowledge. Furthermore, we employ a rationale-enhanced generation method to boost the performance. Rationales provide intermediate steps, thereby improving knowledge extraction abilities. Experimental results indicate that the proposed approach can obtain better performance on benchmark datasets compared with baselines. 1
25
CodeBERT: A Pre-Trained Model for Programming and Natural Languages
Zhangyin Feng, Daya Guo, Duyu Tang et al. · 2020 · 2.4K citations · Full text
A Survey on Deep Learning for Named Entity Recognition
Jing Li, Aixin Sun, Jianglei Han et al. · IEEE Transactions on Knowledge and Data Engineering · 2020 · 1.5K citations
Yue Wang, Weishi Wang, Shafiq Joty et al. · Proceedings of the 2021 Conference on Empirical Methods in Natural Language Processing · 2021 · 1.3K citations · Full text