← Latest papers
🤖 machine learning

CUPID in the Model Zoo: Online Matchmaking for Selecting Your Dream LLM

The paper introduces CUPID, an interaction-efficient active learning framework that utilizes a dueling bandit algorithm with a novel belief-aware upper confidence bound strategy to iteratively match users with optimal Large Language Models by inferring latent preferences through pairwise feedback, thereby reducing selection costs and time.

Original authors: Son Nguyen, Xinyuan Liu, Ransalu Senanayake

Published 2026-06-02
📖 4 min read☕ Coffee break read

Original authors: Son Nguyen, Xinyuan Liu, Ransalu Senanayake

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you walk into a massive, chaotic library called the "Model Zoo." Inside, there are hundreds of different Large Language Models (LLMs)—some are like brilliant but expensive professors, others are fast but chatty interns, and some are quiet specialists who only know one thing.

You have a specific job to do, but you don't know which "librarian" (LLM) is the right fit. The problem? You can't easily describe exactly what you need. You might know you want something "smart but cheap" or "creative but not too wordy," but you can't write down a perfect technical specification. Plus, you have a strict budget for how much you can spend and only a few minutes to find the right person.

This is the problem CUPID solves. Think of CUPID as a super-efficient matchmaker that helps you find your "dream LLM" without wasting your money or time.

How CUPID Works: The "Taste Test" Approach

Instead of asking you to fill out a 50-page survey about your preferences (which you probably can't do anyway), CUPID uses a clever game called "Dueling."

  1. The Blind Date: CUPID picks two random LLMs from the zoo and asks them the same question.
  2. The Vote: You simply look at the two answers and say, "I like the first one better." You don't need to explain why or use technical terms.
  3. The Learning: Based on your choice, CUPID updates its "belief" about what you like. It's like a detective narrowing down suspects. "Ah, the user liked the short answer, so they probably hate verbosity."
  4. The Whisper: Sometimes, you might add a tiny hint, like "I need something cheaper." CUPID uses a special helper (another AI) to translate that hint into a direction, steering the search toward cheaper models.

The Secret Sauce: HEART-UCB

The paper introduces a new algorithm called HEART-UCB. Think of this as the matchmaker's intuition engine. It has to balance two things:

  • Exploration: Trying out new, unknown models to see if they might be a great fit.
  • Exploitation: Picking the models that seem to be working well right now.

But here's the twist: CUPID also has a budget guardrail. It keeps a running tally of how much money and time you've spent. If you start spending too fast, the algorithm gets "conservative" and starts looking at cheaper options. If you have plenty of budget left, it feels free to try the expensive, high-end models to find the perfect match.

Why It's Better Than the Old Ways

The paper compares CUPID to other methods (like "LMA" or "RUCB").

  • The Old Way: Some methods just keep testing models randomly or assume they know exactly what you want from the start. They often run out of money before finding the best match, or they get stuck on a model that isn't quite right.
  • The CUPID Way: Because CUPID learns your hidden preferences (the things you didn't explicitly say) and respects your budget, it finds the best match faster and cheaper.

What the Experiments Showed

The researchers tested this in two main ways:

  1. Simulated Users: They used AI to pretend to be humans with different needs (some wanted math experts, others wanted cheap writers). CUPID consistently found the right model in fewer rounds and spent less money than the competitors.
  2. Real Humans: They had real people try to pick a model for text and image generation.
    • Result: People rated CUPID's final choice as just as good (or sometimes better) than the choices made by other systems, but they felt much better about the cost.
    • The "Latent" Win: The system shined brightest when users had vague, hard-to-describe needs (like "I just want a model that feels right"). In these fuzzy situations, CUPID's ability to learn from simple "this one, not that one" votes was a huge advantage.

The Bottom Line

CUPID is like a smart shopping assistant that doesn't need a detailed list. It learns what you like by showing you two options at a time, keeps a close eye on your wallet, and uses a little bit of your natural language hints to speed things up. The result? You get your "dream LLM" without breaking the bank or spending all day searching.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →