Smart routing system that knows which LLM to use just by looking at their outputs
A method to select the best LLM for different inputs without needing labeled data, using a weak supervision approach that estimates model quality through output comparisons.
-----
https://arxiv.org/abs/2412.04692v1
π€ Original Problem:
β Current LLM routing methods require human-annotated data to decide which model works best for which input
β Engineers need a way to select optimal LLMs for different tasks without expensive labeling
-----
π§ Solution in this Paper:
β SMOOTHIE constructs a latent variable graphical model over embeddings of LLM outputs and unknown true outputs
β It models embedding differences between LLM outputs and true outputs as multivariate Gaussian distributions
β The method uses other LLM outputs as "voters" to estimate quality through weak supervision
β SMOOTHIE comes in two variants: Global (uses all test data) and Local (uses nearest neighbors)
-----
π― Key Insights:
β LLM quality can be estimated without labeled validation data
β Sample-specific routing outperforms global model selection
β Embedding-based comparison enables unsupervised quality assessment
-----
π Results:
β Quality scores correlate with ground-truth (correlation = 0.72)
β Identifies optimal model on 9/14 tasks
β Outperforms baselines by up to 10 points accuracy
β Improves performance by up to 7 points over global version










