paper-with-me

Papers

Self-Improvement Programming for Temporal Knowledge Graph Question Answering

2024-04-02 · Zhuo Chen, Zhao Zhang, Zixuan Li, Fei Wang, Yutao Zeng, Xiaolong Jin, Yongjun Xu

Temporal Knowledge Graph Question Answering (TKGQA) aims to answer questions with temporal intent over Temporal Knowledge Graphs (TKGs). The core challenge of this task lies in understanding the complex semantic information regarding multiple types of time constraints (e.g., before, first) in questions. Existing end-to-end methods implicitly model the time constraints by learning time-aware embeddings of questions and candidate answers, which is far from understanding the question comprehensively. Motivated by semantic-parsing-based approaches that explicitly model constraints in questions by generating logical forms with symbolic operators, we design fundamental temporal operators for time constraints and introduce a novel self-improvement Programming method for TKGQA (Prog-TQA). Specifically, Prog-TQA leverages the in-context learning ability of Large Language Models (LLMs) to understand the combinatory time constraints in the questions and generate corresponding program drafts with a few examples given. Then, it aligns these drafts to TKGs with the linking module and subsequently executes them to generate the answers. To enhance the ability to understand questions, Prog-TQA is further equipped with a self-improvement strategy to effectively bootstrap LLMs using high-quality self-generated drafts. Extensive experiments demonstrate the superiority of the proposed Prog-TQA on MultiTQ and CronQuestions datasets, especially in the Hits@1 metric.

📄 PDF Abstract BibTeX arXiv:2404.01720

Code (0)

등록된 구현이 없습니다.

Tasks

Graph Question AnsweringIn-Context LearningKnowledge GraphsQuestion AnsweringSemantic Parsing

Similar Papers 제목 키워드 기반

Programming knowledge tracing based on heterogeneous graph representation

2024-06-01 · Elsevier 2024 6 · Yaqiang Wu a, Hui Zhu a, Chenyang Wang a, Fujian Song a 외

Existing programming knowledge tracing methods have not deeply explored the relationships between knowledge concepts and programming questions or students’ codes, which leads to insufficient representation of programming…

Graph structure learningKnowledge TracingRepresentation Learning

Towards Time-Aware Knowledge Graph Completion

2016-12-01 · COLING 2016 12 · Tingsong Jiang, Tianyu Liu, Tao Ge, Lei Sha 외

Knowledge graph (KG) completion adds new facts to a KG by making inferences from existing facts. Most existing methods ignore the time information and only learn from time-unknown fact triples. In dynamic environments th…

Knowledge Graph CompletionKnowledge GraphsQuestion AnsweringRelation Extraction+1

Context-Augmented Code Generation Using Programming Knowledge Graphs

2026-01-28 · Shahd Seddik, Fahd Seddik, Iman Saberi, Fatemeh Fard 외 arxiv

Large Language Models (LLMs) excel at code generation but struggle with complex problems. Retrieval-Augmented Generation (RAG) mitigates this issue by integrating external knowledge, yet retrieval models often miss relev…

Knowledge GraphsCode Generation

Deep Reinforcement Learning for Programming Language Correction

2018-01-31 · Rahul Gupta, Aditya Kanade, Shirish Shevade

Novice programmers often struggle with the formal syntax of programming languages. To assist them, we design a novel programming language correction framework amenable to reinforcement learning. The framework allows an a…

Deep Reinforcement LearningMachine TranslationProgram Repairreinforcement-learning+3

Design of AI-Powered Tool for Self-Regulation Support in Programming Education

2025-04-03 · Huiyong Li, Boxuan Ma

Large Language Model (LLM) tools have demonstrated their potential to deliver high-quality assistance by providing instant, personalized feedback that is crucial for effective programming education. However, many of thes…

Language ModelingLanguage ModellingLarge Language Model