Xiang Chen

Prof. Xiang Chen

Artificial Intelligence and Computer Science, Nantong University, Nantong, Jiangsu, China
orcid

Research Focus & Metrics

Academic Career Length

16Years (2011-Present)

(Calculated once Scilit publication data is synced: current year − year of first publication + 1)

Representative Publications

View All Publications
21 March 2024 in Journal of Systems and Software
Verified
Journal Article
Closed access
GLGuilong Lu
Guilong Lu
XJXiaolin Ju
Xiaolin Ju
Xiang ChenXiang Chen
Xiang Chen
WPWenlong Pei
Wenlong Pei
ZCZhilong Cai
Zhilong Cai

18 August 2021
Verified
Conference Paper
Open access
QSQingchao Shen
Qingchao Shen
HMHaoyang Ma
Haoyang Ma
JCJunjie Chen
Junjie Chen
YTYongqiang Tian
Yongqiang Tian
SCShing-Chi Cheung
Shing-Chi Cheung
Xiang ChenXiang Chen
Xiang Chen
There are increasing uses of deep learning (DL) compilers to generate optimized code, boosting the runtime performance of DL models on specific hardware. Like their traditional counterparts, DL compilers can generate incorrect code, resulting in unexpected model behaviors that may cause catastrophic consequences in mission-critical systems. On the other hand, the DL models processed by DL compilers differ fundamentally from imperative programs in that the program logic in DL models is implicit. As such, various characteristics of the bugs arising from traditional compilers need to be revisited in the context of DL compilers. In this paper, we present the first systematic study of DL compiler bugs by analyzing 603 bugs arising in three popular DL compilers (i.e., TVM from Apache, Glow from Facebook, and nGraph from Intel). We analyzed these bugs according to their root causes, symptoms, and the stages where they occur during compilation. We obtain 12 findings, and provide a series of valuable guidelines for future work on DL compiler bug detection and debugging. For example, a large portion (nearly 20%) of DL compiler bugs are related to types, especially tensor types. The analysis of these bugs helps design new mutation operators (e.g., adding type cast for a tensor to promote implicit type conversion in subsequent tensor computations) to facilitate type-related bug detection. Further, we developed TVMfuzz as a proof-of-concept application of our findings to test the TVM DL compiler. It generates new tests based on TVM's original test suite. They expose 8 TVM bugs that are missed by the original test suite. The result demonstrates the usefulness of our findings.

1 January 2018 in Information and Software Technology
Verified
Journal Article
Closed access
Xiang ChenXiang Chen
Xiang Chen
YZYingquan Zhao
Yingquan Zhao
QWQiuping Wang
Qiuping Wang
ZYZhidan Yuan
Zhidan Yuan

1 October 2019 in Information and Software Technology
Verified
Journal Article
Closed access
TZTianchi Zhou
Tianchi Zhou
XSXiaobing Sun
Xiaobing Sun
XXXin Xia
Xin Xia
BLBin Li
Bin Li
Xiang ChenXiang Chen
Xiang Chen

12 August 2024 in IEEE Transactions on Software Engineering
Verified
Journal Article
Closed access
GYGuang Yang
Guang Yang
YZYu Zhou
Yu Zhou
Xiang ChenXiang Chen
Xiang Chen
XZXiangyu Zhang
Xiangyu Zhang
TZTerry Yue Zhuo
Terry Yue Zhuo
TCTaolue Chen
Taolue Chen
Large Language Models (LLMs) have demonstrated remarkable potential in code generation. The integration of Chain of Thought (CoT) reasoning can further boost their performance. However, current CoT methods often require manual writing or LLMs with over 100 billion parameters to generate, impeding their applicability in resource-constrained scenarios. In this study, we investigate lightweight Language Models (ℓLMs), which are defined to have fewer than 10 billion parameters. Empirically, we find that most ℓLMs cannot generate high-quality CoTs when prompted by the few-shot method, but can take advantage of high-quality CoTs generated elsewhere to improve their performance in code generation. Based on these findings, we design a novel approach COTTON which can leverage ℓLMs to automatically generate CoTs for code generation. We synthesize new datasets and conduct extensive experiments on various benchmarks. The results show that the CoTs generated by COTTON outperform the baselines in terms of automated and human evaluation metrics. In particular, the CoTs generated by COTTON boost various ℓLMs to achieve higher performance gains than those generated by LLMs such as ChatGLM (130B), and are competitive with those generated by Gemini and gpt-3.5-turbo. The results also reveal that COTTON not only improves the performance of ℓLMs, but also enhances the performance of LLMs. Our study showcases the potential of ℓLMs in software engineering applications.

1 February 2019 in Information and Software Technology
Verified
Journal Article
Closed access
Xiang ChenXiang Chen
Xiang Chen
DZDun Zhang
Dun Zhang
YZYingquan Zhao
Yingquan Zhao
ZCZhanqi Cui
Zhanqi Cui
CNChao Ni
Chao Ni