Self-play with tree-search helps LLMs learn instructions-following capability.
SPAR introduces a self-play framework that enhances LLMs' instruction-following by minimizing irrelevant variations during training through tree-search refinement.
https://arxiv.org/abs/2412.11605
π€ Original Problem:
β Current methods for improving instruction-following in LLMs use independently sampled responses, which introduce irrelevant variations and interfere with learning the key differences that determine success.
-----
π§ Solution in this Paper:
β SPAR employs a self-play framework where an LLM plays against itself in two roles: actor and refiner.
β The actor generates responses while the refiner judges and refines these responses using tree-search strategies.
β Tree-search refinement systematically explores improvement paths while minimizing unnecessary variations.
β The framework iteratively trains both models using Direct Preference Optimization for the actor and Rejection-sampling Fine-Tuning for the refiner.
-----
π‘ Key Insights:
β Minimizing irrelevant variations in training pairs leads to better instruction-following
β Tree-search based refinement outperforms simple sampling approaches
β Self-play enables continuous improvement without relying on external models
-----
π Results:
β LLaMA3-8B model surpassed GPT-4-Turbo on IFEval benchmark after 3 iterations
β Achieved 81.8% average accuracy on IFEval
β Enhanced GLM-4-9B and LLaMA3-70B performance while maintaining general capabilities










