Search Results for author: Chunrong Fang

Found 11 papers, 10 papers with code

On the Effectiveness of Distillation in Mitigating Backdoors in Pre-trained Encoder

1 code implementation6 Mar 2024 Tingxu Han, Shenghan Huang, Ziqi Ding, Weisong Sun, Yebo Feng, Chunrong Fang, Jun Li, Hanwei Qian, Cong Wu, Quanjun Zhang, Yang Liu, Zhenyu Chen

Distillation aims to distill knowledge from a given model (a. k. a the teacher net) and transfer it to another (a. k. a the student net).

Image Classification

Machine Translation Testing via Syntactic Tree Pruning

1 code implementation1 Jan 2024 Quanjun Zhang, Juan Zhai, Chunrong Fang, Jiawei Liu, Weisong Sun, Haichuan Hu, Qingyu Wang

The results show that STP can accurately find 5, 073 unique erroneous translations in Google Translate and 5, 100 unique erroneous translations in Bing Microsoft Translator (400% more than state-of-the-art techniques), with 64. 5% and 65. 4% precision, respectively.

Machine Translation Sentence +1

Abstract Syntax Tree for Programming Language Understanding and Representation: How Far Are We?

1 code implementation1 Dec 2023 Weisong Sun, Chunrong Fang, Yun Miao, Yudu You, Mengzhe Yuan, Yuchen Chen, Quanjun Zhang, An Guo, Xiang Chen, Yang Liu, Zhenyu Chen

To do so, we compare the performance of models trained with code token sequence (Token for short) based code representation and AST-based code representation on three popular types of code-related tasks.

Representation Learning

TransformCode: A Contrastive Learning Framework for Code Embedding via Subtree Transformation

1 code implementation10 Nov 2023 Zixiang Xian, Rubing Huang, Dave Towey, Chunrong Fang, Zhenyu Chen

Our framework has several advantages over existing methods: (1) It is flexible and adaptable, because it can easily be extended to other downstream tasks that require code representation (such as code-clone detection and classification); (2) it is efficient and scalable, because it does not require a large model or a large amount of training data, and it can support any programming language; (3) it is not limited to unsupervised learning, but can also be applied to some supervised learning tasks by incorporating task-specific labels or objectives; and (4) it can also adjust the number of encoder parameters based on computing resources.

Clone Detection Code Search +3

Self-Refined Large Language Model as Automated Reward Function Designer for Deep Reinforcement Learning in Robotics

1 code implementation13 Sep 2023 Jiayang Song, Zhehua Zhou, Jiawei Liu, Chunrong Fang, Zhan Shu, Lei Ma

Then, the performance of the reward function is assessed, and the results are presented back to the LLM for guiding its self-refinement process.

Common Sense Reasoning Language Modelling +1

Automatic Code Summarization via ChatGPT: How Far Are We?

no code implementations22 May 2023 Weisong Sun, Chunrong Fang, Yudu You, Yun Miao, Yi Liu, Yuekang Li, Gelei Deng, Shenghan Huang, Yuchen Chen, Quanjun Zhang, Hanwei Qian, Yang Liu, Zhenyu Chen

To support software developers in understanding and maintaining programs, various automatic code summarization techniques have been proposed to generate a concise natural language comment for a given code snippet.

Code Summarization

Certifying Robustness of Convolutional Neural Networks with Tight Linear Approximation

1 code implementation13 Nov 2022 Yuan Xiao, Tongtong Bai, Mingzheng Gu, Chunrong Fang, Zhenyu Chen

The robustness of neural network classifiers is becoming important in the safety-critical domain and can be quantified by robustness verification.

An Extractive-and-Abstractive Framework for Source Code Summarization

1 code implementation15 Jun 2022 Weisong Sun, Chunrong Fang, Yuchen Chen, Quanjun Zhang, Guanhong Tao, Tingxu Han, Yifei Ge, Yudu You, Bin Luo

The extractive module in the framework performs a task of extractive code summarization, which takes in the code snippet and predicts important statements containing key factual details.

Code Summarization Machine Translation +2

Code Search based on Context-aware Code Translation

1 code implementation16 Feb 2022 Weisong Sun, Chunrong Fang, Yuchen Chen, Guanhong Tao, Tingxu Han, Quanjun Zhang

We evaluate the effectiveness of our technique, called TranCS, on the CodeSearchNet corpus with 1, 000 queries.

Code Search Code Translation +1

Cannot find the paper you are looking for? You can Submit a new open access paper.