mlsanityData to 14 Oct 2026

Large Language Models as Robust Data Generators in Software Analytics: Are We There Yet?

arXiv 2411.10565 ↗First posted 15 Nov 2024cs.SEcited by 2

On the map: Synthetic data and self-improvement for LLMs → LLM synthetic data generation

Abstract (arXiv)

Large Language Model (LLM)-generated data is increasingly used in software analytics, but it is unclear how this data compares to human-written data, particularly when models are exposed to adversarial scenarios. Adversarial attacks can compromise the reliability and security of software systems, so understanding how LLM-generated data performs under these conditions, compared to human-written data, which serves as the benchmark for model performance, can provide valuable insights into whether LLM-generated data offers similar robustness and effectiveness. To address this gap, we systematically evaluate and compare the quality of human-written and LLM-generated data for fine-tuning robust pre-trained models (PTMs) in the context of adversarial attacks. We evaluate the robustness of six widely used PTMs, fine-tuned on human-written and LLM-generated data, before and after adversarial attacks. This evaluation employs nine state-of-the-art (SOTA) adversarial attack techniques across three popular software analytics tasks: clone detection, code summarization, and sentiment analysis in code review discussions. Additionally, we analyze the quality of the generated adversarial examples using eleven similarity metrics. Our findings reveal that while PTMs fine-tuned on LLM-generated data perform competitively with those fine-tuned on human-written data, they exhibit less robustness against adversarial attacks in software analytics tasks. Our study underscores the need for further exploration into enhancing the quality of LLM-generated training data to develop models that are both high-performing and capable of withstanding adversarial attacks in software analytics.

Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Placed in LLM synthetic data generation, one of 13 directions in Synthetic data and self-improvement for LLMs. First posted on arXiv 15 Nov 2024.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 1.

2 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025AdversariaLLM: A Unified and Modular Toolbox for LLM Robustness Research
  2. 2024Breaking Down the Defenses: A Comparative Survey of Attacks on Large Language Models
  3. 2025Data Security in Large Language Models: Risks, Defense, and Directions
  4. 2024Securing Large Language Models: Addressing Bias, Misinformation, and Prompt Attacks
  5. 2025A Survey of Attacks on Large Language Models
  6. 2024Robustness of Large Language Models Against Adversarial Attacks
  7. 2024Recent Advances in Attack and Defense Approaches of Large Language Models
  8. 2025Safety and Security Analysis of Large Language Models: Benchmarking Risk Profile and Harm Potential