paper-with-me

홈 › Papers

KNOD: Domain Knowledge Distilled Tree Decoder for Automated Program Repair

2023-02-03 · Nan Jiang, Thibaud Lutellier, Yiling Lou, Lin Tan, Dan Goldwasser, Xiangyu Zhang

Automated Program Repair (APR) improves software reliability by generating patches for a buggy program automatically. Recent APR techniques leverage deep learning (DL) to build models to learn to generate patches from existing patches and code corpora. While promising, DL-based APR techniques suffer from the abundant syntactically or semantically incorrect patches in the patch space. These patches often disobey the syntactic and semantic domain knowledge of source code and thus cannot be the correct patches to fix a bug. We propose a DL-based APR approach KNOD, which incorporates domain knowledge to guide patch generation in a direct and comprehensive way. KNOD has two major novelties, including (1) a novel three-stage tree decoder, which directly generates Abstract Syntax Trees of patched code according to the inherent tree structure, and (2) a novel domain-rule distillation, which leverages syntactic and semantic rules and teacher-student distributions to explicitly inject the domain knowledge into the decoding procedure during both the training and inference phases. We evaluate KNOD on three widely-used benchmarks. KNOD fixes 72 bugs on the Defects4J v1.2, 25 bugs on the QuixBugs, and 50 bugs on the additional Defects4J v2.0 benchmarks, outperforming all existing APR tools.

📄 PDF Abstract BibTeX arXiv:2302.01857

Code (1)

lin-tan/knod 공식 구현 pytorch

Tasks

DecoderProgram Repair

Methods 이 논문이 사용한 방법론

Repair 설명 없음

Similar Papers 제목 키워드 기반

Learning-enhanced Nonlinear Model Predictive Control using Knowledge-based Neural Ordinary Differential Equations and Deep Ensembles

2022-11-24 · Kong Yao Chee, M. Ani Hsieh, Nikolai Matni

Nonlinear model predictive control (MPC) is a flexible and increasingly popular framework used to synthesize feedback control strategies that can satisfy both state and control input constraints. In this framework, an op…

Model Predictive Control

LEARNEST: LEARNing Enhanced Model-based State ESTimation for Robots using Knowledge-based Neural Ordinary Differential Equations

2022-09-16 · Kong Yao Chee, M. Ani Hsieh

State estimation is an important aspect in many robotics applications. In this work, we consider the task of obtaining accurate state estimates for robotic systems by enhancing the dynamics model used in state estimation…

State Estimation

Knodle: Modular Weakly Supervised Learning with PyTorch

2021-04-23 · ACL (RepL4NLP) 2021 8 · Anastasiia Sedova, Andreas Stephan, Marina Speranskaya, Benjamin Roth

Strategies for improving the training and prediction quality of weakly supervised machine learning models vary in how much they are tailored to a specific task or integrated with a specific model architecture. In this wo…

BenchmarkingBIG-bench Machine LearningRelation ExtractionSentiment Analysis+3

KNODE-MPC: A Knowledge-based Data-driven Predictive Control Framework for Aerial Robots

2021-09-10 · Kong Yao Chee, Tom Z. Jiahao, M. Ani Hsieh

In this work, we consider the problem of deriving and incorporating accurate dynamic models for model predictive control (MPC) with an application to quadrotor control. MPC relies on precise dynamic models to achieve the…

Model Predictive Control

Evontree: Ontology Rule-Guided Self-Evolution of Large Language Models

2025-10-30 · Mingchen Tu, Zhiqiang Liu, Juan Li, Liangyurui Liu 외 arxiv

Although Large Language Models (LLMs) perform exceptionally well in general domains, the problem of hallucinations poses significant risks in specialized fields such as healthcare and law, where high interpretability is …