CLMay 9, 2024

Efficient LLM Comparative Assessment: a Product of Experts Framework for Pairwise Comparisons

arXiv:2405.05894v336 citationsEMNLP
Originality Incremental advance
AI Analysis

This addresses a scalability problem for researchers and practitioners using LLM-as-a-judge methods, though it is an incremental improvement on existing approaches.

The paper tackles the computational inefficiency of pairwise LLM comparisons by introducing a Product of Experts framework, which reduces the number of comparisons needed to 2% while maintaining performance similar to using all comparisons.

LLM-as-a-judge approaches are a practical and effective way of assessing a range of text tasks. However, when using pairwise comparisons to rank a set of candidates, the computational cost scales quadratically with the number of candidates, which has practical limitations. This paper introduces a Product of Expert (PoE) framework for efficient LLM Comparative Assessment. Here individual comparisons are considered experts that provide information on a pair's score difference. The PoE framework combines the information from these experts to yield an expression that can be maximized with respect to the underlying set of candidates, and is highly flexible where any form of expert can be assumed. When Gaussian experts are used one can derive simple closed-form solutions for the optimal candidate ranking, and expressions for selecting which comparisons should be made to maximize the probability of this ranking. Our approach enables efficient comparative assessment, where by using only a small subset of the possible comparisons, one can generate score predictions that correlate well with human judgements. We evaluate the approach on multiple NLG tasks and demonstrate that our framework can yield considerable computational savings when performing pairwise comparative assessment. With many candidate texts, using as few as 2% of comparisons the PoE solution can achieve similar performance to when all comparisons are used.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes