講演抄録/キーワード |
講演名 |
2021-03-03 15:00
修正履歴を用いた機械翻訳技術による自動バグ修正の性能評価 ○秋山楽登・中村 司・亀井靖高・鵜林尚靖(九大) SS2020-34 |
抄録 |
(和) |
自動バグ修正手法の一つであるDeepFixは文法エラーを対象としている.
エラーのないプログラムにエラーを埋め込み,エラーを埋め込んだプログラムから埋め込む前のプログラムが生成できるように機械翻訳技術を応用し学習させることで,プログラムの修正を行う手法である.
しかし,埋め込んだエラー以外の修正は難しく,適用対象データのエラーと埋め込むエラーに差があると修正率が低下したことが先行研究で示されている.
そこで,実際に開発者が作成したバグ修正前後のプログラムから修正内容を機械翻訳技術の応用により学習し,自動バグ修正を行うLearning-Fixesという手法に着目した.
Learning-Fixesの先行研究では論理エラーを対象としていたが,シーケンス変換による学習を行うため文法エラーに対しても適用可能であると考えた.
本研究では,修正率が低下したとされるDeepFixの性能評価に用いられたデータに対してLearning-Fixesを適用することで,文法エラーに対するLearning-Fixesの性能評価を行った.
その結果,20〜54%の修正率で文法エラーの代表的な修正が行われており,Learning-Fixesは文法エラーに対して十分な修正性能を持つことが示せた.
さらに,DeepFixと異なりLearning-Fixesでは誤字や脱字を修正することができた. |
(英) |
DeepFix is one of the automatic bug fixing tools.
It repairs syntax errors by embedding errors into error-free programs and applying machine translation technology to learn how to generate the programs before embedding errors from the programs with the embedded errors.
However, it is difficult to repair errors other than the embedded errors, and the previous studies have shown that the fixed-rate decreases when there is a difference between the errors in the target data and the embedded errors.
Therefore, we focused on Learning-Fixes.
It learns the repairs using machine translation from buggy programs and fixed programs produced by the developers and automatically repairs bugs.
Although the previous studies of Learning-Fixes have focused on semantic errors, we considered that Learning-Fixes could be applied to syntax errors as well because it learns the repairs with sequence-to-sequence.
In this study, we evaluated the performance of Learning-Fixes on syntax errors by applying Learning-Fixes to the data used in the performance evaluation of DeepFix, which was said to have a lower fixed-rate.
As a result, typical syntax errors were repaired with a fixed-rate of 20-54 %, and the result showed that Learning-Fixes has sufficient performance for syntax errors.
Furthermore, we showed that Learning-Fixes was able to repair typographical errors, unlike DeepFix. |
キーワード |
(和) |
自動バグ修正 / 機械翻訳 / / / / / / |
(英) |
Automatic bug repair / Machine Translation / / / / / / |
文献情報 |
信学技報, vol. 120, no. 407, SS2020-34, pp. 37-42, 2021年3月. |
資料番号 |
SS2020-34 |
発行日 |
2021-02-24 (SS) |
ISSN |
Online edition: ISSN 2432-6380 |
著作権に ついて |
技術研究報告に掲載された論文の著作権は電子情報通信学会に帰属します.(許諾番号:10GA0019/12GB0052/13GB0056/17GB0034/18GB0034) |
査読に ついて |
本技術報告は査読を経ていない技術報告であり,推敲を加えられていずれかの場に発表されることがあります. |
PDFダウンロード |
SS2020-34 |
研究会情報 |
研究会 |
SS |
開催期間 |
2021-03-03 - 2021-03-04 |
開催地(和) |
オンライン開催 |
開催地(英) |
Online |
テーマ(和) |
一般 |
テーマ(英) |
|
講演論文情報の詳細 |
申込み研究会 |
SS |
会議コード |
2021-03-SS |
本文の言語 |
日本語 |
タイトル(和) |
修正履歴を用いた機械翻訳技術による自動バグ修正の性能評価 |
サブタイトル(和) |
|
タイトル(英) |
Performance Evaluation of Automatic Bug Repair using Neural Machine Translation with Bug Fix Histories |
サブタイトル(英) |
|
キーワード(1)(和/英) |
自動バグ修正 / Automatic bug repair |
キーワード(2)(和/英) |
機械翻訳 / Machine Translation |
キーワード(3)(和/英) |
/ |
キーワード(4)(和/英) |
/ |
キーワード(5)(和/英) |
/ |
キーワード(6)(和/英) |
/ |
キーワード(7)(和/英) |
/ |
キーワード(8)(和/英) |
/ |
第1著者 氏名(和/英/ヨミ) |
秋山 楽登 / Gakuto Akiyama / アキヤマ ガクト |
第1著者 所属(和/英) |
九州大学 (略称: 九大)
Kyushu University (略称: Kyushu Univ.) |
第2著者 氏名(和/英/ヨミ) |
中村 司 / Tsukasa Nakamura / ナカムラ ツカサ |
第2著者 所属(和/英) |
九州大学 (略称: 九大)
Kyushu University (略称: Kyushu Univ.) |
第3著者 氏名(和/英/ヨミ) |
亀井 靖高 / Yasutaka Kamei / カメイ ヤスタカ |
第3著者 所属(和/英) |
九州大学 (略称: 九大)
Kyushu University (略称: Kyushu Univ.) |
第4著者 氏名(和/英/ヨミ) |
鵜林 尚靖 / Naoyasu Ubayashi / ウバヤシ ナオヤス |
第4著者 所属(和/英) |
九州大学 (略称: 九大)
Kyushu University (略称: Kyushu Univ.) |
第5著者 氏名(和/英/ヨミ) |
/ / |
第5著者 所属(和/英) |
(略称: )
(略称: ) |
第6著者 氏名(和/英/ヨミ) |
/ / |
第6著者 所属(和/英) |
(略称: )
(略称: ) |
第7著者 氏名(和/英/ヨミ) |
/ / |
第7著者 所属(和/英) |
(略称: )
(略称: ) |
第8著者 氏名(和/英/ヨミ) |
/ / |
第8著者 所属(和/英) |
(略称: )
(略称: ) |
第9著者 氏名(和/英/ヨミ) |
/ / |
第9著者 所属(和/英) |
(略称: )
(略称: ) |
第10著者 氏名(和/英/ヨミ) |
/ / |
第10著者 所属(和/英) |
(略称: )
(略称: ) |
第11著者 氏名(和/英/ヨミ) |
/ / |
第11著者 所属(和/英) |
(略称: )
(略称: ) |
第12著者 氏名(和/英/ヨミ) |
/ / |
第12著者 所属(和/英) |
(略称: )
(略称: ) |
第13著者 氏名(和/英/ヨミ) |
/ / |
第13著者 所属(和/英) |
(略称: )
(略称: ) |
第14著者 氏名(和/英/ヨミ) |
/ / |
第14著者 所属(和/英) |
(略称: )
(略称: ) |
第15著者 氏名(和/英/ヨミ) |
/ / |
第15著者 所属(和/英) |
(略称: )
(略称: ) |
第16著者 氏名(和/英/ヨミ) |
/ / |
第16著者 所属(和/英) |
(略称: )
(略称: ) |
第17著者 氏名(和/英/ヨミ) |
/ / |
第17著者 所属(和/英) |
(略称: )
(略称: ) |
第18著者 氏名(和/英/ヨミ) |
/ / |
第18著者 所属(和/英) |
(略称: )
(略称: ) |
第19著者 氏名(和/英/ヨミ) |
/ / |
第19著者 所属(和/英) |
(略称: )
(略称: ) |
第20著者 氏名(和/英/ヨミ) |
/ / |
第20著者 所属(和/英) |
(略称: )
(略称: ) |
講演者 |
第1著者 |
発表日時 |
2021-03-03 15:00:00 |
発表時間 |
25分 |
申込先研究会 |
SS |
資料番号 |
SS2020-34 |
巻番号(vol) |
vol.120 |
号番号(no) |
no.407 |
ページ範囲 |
pp.37-42 |
ページ数 |
6 |
発行日 |
2021-02-24 (SS) |