Research Article

Adversarial Attacks on Large Language Model-Based System and Mitigating Strategies: A Case Study on ChatGPT

Table 4

Evaluation results the two methods.

MethodsPrecision (%)Recall (%)F1 score (%)

Prefix prompt75.0080.0077.42
RoBERTa100.00100.00100.00