arXiv · 2510.08524
Efficient Prompt Optimisation for Legal Text Classification with Proxy Prompt Evaluator
Abstract
Prompt optimization aims to systematically refine prompts to enhance a language model's performance on specific tasks. Fairness detection in Terms of Service (ToS) clauses is a challenging legal NLP task that demands carefully crafted prompts to ensure reliable results. However, existing prompt optimization methods are often computationally expensive due to inefficient search strategies and costly prompt candidate scoring. In this paper, we propose a framework that combines Monte Carlo Tree Search (MCTS) with a proxy prompt evaluator to more effectively explore the prompt space while reducing evaluation costs. Experiments demonstrate that our approach achieves higher classification accuracy and efficiency than baseline methods under a constrained computation budget.
Explore related subjects
Keep this discovery
Hyunji Lee, Kevin Chenhao Li, Matthias Grabmair, Shanshan Xu. 2025-10-09. Efficient Prompt Optimisation for Legal Text Classification with Proxy Prompt Evaluator. https://arxiv.org/abs/2510.08524
Cite the original work for its findings. Save a collection to share your selection of sources.