-
CodeR: Issue Resolving with Multi-Agent and Task Graphs
Authors:
Dong Chen,
Shaoxin Lin,
Muhan Zeng,
Daoguang Zan,
Jian-Gang Wang,
Anton Cheshkov,
Jun Sun,
Hao Yu,
Guoliang Dong,
Artem Aliev,
Jie Wang,
Xiao Cheng,
Guangtai Liang,
Yuchi Ma,
Pan Bian,
Tao Xie,
Qianxiang Wang
Abstract:
GitHub issue resolving recently has attracted significant attention from academia and industry. SWE-bench is proposed to measure the performance in resolving issues. In this paper, we propose CodeR, which adopts a multi-agent framework and pre-defined task graphs to Repair & Resolve reported bugs and add new features within code Repository. On SWE-bench lite, CodeR is able to solve 28.33% of issue…
▽ More
GitHub issue resolving recently has attracted significant attention from academia and industry. SWE-bench is proposed to measure the performance in resolving issues. In this paper, we propose CodeR, which adopts a multi-agent framework and pre-defined task graphs to Repair & Resolve reported bugs and add new features within code Repository. On SWE-bench lite, CodeR is able to solve 28.33% of issues, when submitting only once for each issue. We examine the performance impact of each design of CodeR and offer insights to advance this research direction.
△ Less
Submitted 10 June, 2024; v1 submitted 3 June, 2024;
originally announced June 2024.
-
A novel phase-field based cohesive zone model for modeling interfacial failure in composites
Authors:
Peiliang Bian,
Hai Qing
Abstract:
The interface plays a critical role in the mechanical properties of composites. In the present work, a novel phase-field based cohesive zone model (CZM) is proposed for the cracking simulation. The competition and interaction between the bulk and interfacial cracking are taken into consideration directly in both displacement- and phase-field. A modified family of degradation functions is utilized…
▽ More
The interface plays a critical role in the mechanical properties of composites. In the present work, a novel phase-field based cohesive zone model (CZM) is proposed for the cracking simulation. The competition and interaction between the bulk and interfacial cracking are taken into consideration directly in both displacement- and phase-field. A modified family of degradation functions is utilized to describe traction-separation law in the CZM. Finite element implementation of the present CZM was carried out with a completely staggered algorithm. Several numerical examples, including a single bar tension test, a double cantilever beam test, a three-point bending test, and a single fiber-reinforced composite test, are carried out to validate the present model by comparison with existing numerical and experimental results.The present model shows its advantage on modeling interaction between bulk and interfacial cracking. 1. Introduction
△ Less
Submitted 21 February, 2021;
originally announced February 2021.
-
Deep Text Classification Can be Fooled
Authors:
Bin Liang,
Hongcheng Li,
Miaoqiang Su,
Pan Bian,
Xirong Li,
Wenchang Shi
Abstract:
In this paper, we present an effective method to craft text adversarial samples, revealing one important yet underestimated fact that DNN-based text classifiers are also prone to adversarial sample attack. Specifically, confronted with different adversarial scenarios, the text items that are important for classification are identified by computing the cost gradients of the input (white-box attack)…
▽ More
In this paper, we present an effective method to craft text adversarial samples, revealing one important yet underestimated fact that DNN-based text classifiers are also prone to adversarial sample attack. Specifically, confronted with different adversarial scenarios, the text items that are important for classification are identified by computing the cost gradients of the input (white-box attack) or generating a series of occluded test samples (black-box attack). Based on these items, we design three perturbation strategies, namely insertion, modification, and removal, to generate adversarial samples. The experiment results show that the adversarial samples generated by our method can successfully fool both state-of-the-art character-level and word-level DNN-based text classifiers. The adversarial samples can be perturbed to any desirable classes without compromising their utilities. At the same time, the introduced perturbation is difficult to be perceived.
△ Less
Submitted 7 January, 2019; v1 submitted 26 April, 2017;
originally announced April 2017.