SelfPrompt lets LLMs test their own robustness without expensive benchmarks
SelfPrompt introduces an autonomous framework for evaluating LLM robustness using domain-constrained knowledge guidelines and refined adversarial prompts, eliminating dependency on traditional benchmarks while providing targeted evaluation in specific domains.
-----
https://arxiv.org/abs/2412.00765
π€ Original Problem:
β Current LLM robustness evaluation frameworks rely heavily on manually annotated benchmark datasets, making them expensive and impractical for domain-specific assessments.
-----
π οΈ Solution in this Paper:
β SelfPrompt generates adversarial prompts from knowledge graph triplets using domain-specific guidelines.
β A filter module ensures high-quality adversarial prompts by measuring text fluency and semantic fidelity.
β The framework employs both template-based and LLM-based strategies for generating original prompts.
β A few-shot approach enhances adversarial prompt generation effectiveness.
-----
π‘ Key Insights:
β Model size positively correlates with robustness in general domains but not necessarily in constrained domains
β Domain-specific knowledge significantly impacts robustness evaluation accuracy
β Filter module maintains consistent prompt quality across different LLMs
-----
π Results:
β Framework tested on ChatGPT, Llama3.1, Phi-3, and Mistral models
β Larger models showed 15-20% better robustness in general domains
β In constrained domains, smaller models sometimes outperformed larger ones by 5-8%










