Rescue: Ranking LLM Responses with Partial Ordering to Improve Response Generation
Yikun Wang, Rui Zheng, Haoming Li, Qi Zhang, Tao Gui, Fei Liu
TL;DR
Rescue addresses the data-efficient customization of LLMs by ranking candidate task responses using a partial ordering rather than forcing a full consensus. It combines supervised fine-tuning with a ranking loss that compares candidate responses, yielding the objective $L_{Rescue}( heta) = L_{SFT}( heta) + \alpha L_{Rank}( heta)$, where $L_{SFT}( heta) = - \log \pi_\theta(y^*|x)$ and $L_{Rank}$ enforces a margin between top and competing responses. By evaluating on textual entailment (e-SNLI) and multi-document QA, Rescue shows that partial ordering strategies (e.g., Label Prioritization and Human-Label Hybrid) outperform full ordering and pure SFT, especially under data-scarce conditions. The method demonstrates robustness to noisy human judgments, reduces annotation costs, and improves both answer accuracy and explanation quality, offering a practical path for task-specific LLM customization. These results highlight the potential of partial ordering and ranking-based fine-tuning to enhance LLMs in domains with limited expert data and long-context reasoning tasks.
Abstract
Customizing LLMs for a specific task involves separating high-quality responses from lower-quality ones. This skill can be developed using supervised fine-tuning with extensive human preference data. However, obtaining a large volume of expert-annotated data is costly for most tasks. In this paper, we explore a novel method to optimize LLMs using ranking metrics. This method trains the model to prioritize the best responses from a pool of candidates created for a particular task. Rather than a traditional full ordering, we advocate for a partial ordering, as achieving consensus on the perfect order of candidate responses can be challenging. Our partial ordering is more robust, less sensitive to noise, and can be achieved with limited human annotations or through heuristic methods. We test our system's improved response generation ability using benchmark datasets, including textual entailment and multi-document question answering. We conduct ablation studies to understand crucial factors, such as how to gather candidate responses for a specific task, determine their most suitable order, and balance supervised fine-tuning with ranking metrics. Our approach, named Rescue, offers a promising avenue for enhancing the response generation and task accuracy of LLMs.
