Co-REX: A Collaborative Transformer for Try Location Detection and Catch Exception Prediction

Try Location Detection (TLD) and Catch Exception Prediction (CEP) are two interrelated tasks in runtime exception handling which is a crucial aspect in Java programming.The performance of each task can significantly benefit from the information provided by the other.However, previous methods primarily treated these tasks in isolation or addressed them separately using multi-task frameworks, which overlooked their interconnected information flow.In this work, we propose a Collaborative transformer model for Runtime EXception detector (Co-REX), which establishes a bidirectional information flow between TLD and CEP and enables mutual enhancement through joint learning.Additionally, to evaluate the performance of Co-REX, we collect a large number of Java methods from Gitee and GitHub to create a benchmark dataset.Our experimental results demonstrate that Co-REX achieves 78.1% accuracy outperforming other state-of-the-art methods by a margin of at least 2.1% for TLD.It also performs better by 3.1% improvement in terms of Top-1 accuracy than others for CEP.

Authors

Institutions

Publication Details

Journal
Proceedings/Proceedings of the ... International Conference on Software Engineering and Knowledge Engineering
Published
2024-10-28
DOI
https://doi.org/10.18293/seke2024-028
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Co-REX: A Collaborative Transformer for Try Location Detection and Catch Exception Prediction

Tianyu Liang, Jing Xiao
Proceedings/Proceedings of the ... International Conference on Software Engineering and Knowledge Engineering
Software Engineering Research
article

Co-REX: A Collaborative Transformer for Try Location Detection and Catch Exception Prediction

Tianyu Liang, Jing Xiao
article en

Abstract

Try Location Detection (TLD) and Catch Exception Prediction (CEP) are two interrelated tasks in runtime exception handling which is a crucial aspect in Java programming.The performance of each task can significantly benefit from the information provided by the other.However, previous methods primarily treated these tasks in isolation or addressed them separately using multi-task frameworks, which overlooked their interconnected information flow.In this work, we propose a Collaborative transformer model for Runtime EXception detector (Co-REX), which establishes a bidirectional information flow between TLD and CEP and enables mutual enhancement through joint learning.Additionally, to evaluate the performance of Co-REX, we collect a large number of Java methods from Gitee and GitHub to create a benchmark dataset.Our experimental results demonstrate that Co-REX achieves 78.1% accuracy outperforming other state-of-the-art methods by a margin of at least 2.1% for TLD.It also performs better by 3.1% improvement in terms of Top-1 accuracy than others for CEP.

Proceedings/Proceedings of the ... International Conference on Software Engineering and Knowledge EngineeringVol. 2024
South China Normal University (CN)
Openalex Percentile: Top 60%
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Co-REX: A Collaborative Transformer for Try Location Detection and Catch Exception Prediction — Tianyu Liang, Jing Xiao · Proceedings/Proceedings of the ... International Conference on Software Engineering and Knowledge Engineering (2024) | TGRS Research Map | TGRS