Skip to content

Cookies

We use cookies to enhance your experience. Learn more

ResearchPublication

ProLLM: LLM benchmarks for real-world use-cases

Earlier work, from April 2024. Prosus’s applied LLM team built benchmarks from the real use cases of the group’s companies, kept their test sets private, and compared more than 30 language models on coding and work questions.

Five strips of paper on purple paper, one above another and each shorter than the one above, like a ranking. The longest, at the top, is red.

Where this comes from

Zülküf Genç wrote this post for the Prosus AI Tech Blog, where it was published on 25 April 2024. It reports work by the Prosus AI Applied LLM team, Nidhish Shah, Doğu Aracı and Zülküf Genç, who thank colleagues at Stack Overflow for helping to create the Stack Overflow evaluation sets. It is about how to benchmark language models, and it is listed here as earlier published work from Prosus’s AI team.

What the post asks

Benchmarks of the time, such as Hugging Face’s LLM Leaderboard, focused mostly on text completion and multiple-choice questions. A model in a product does more: a support assistant has to find what bears on a customer’s problem and carry a conversation over several turns until it is solved. HumanEval, a widely used coding benchmark, holds 164 clean-cut, self-contained Python exercises, and leaves out work such as debugging and optimizing code across frameworks and libraries.

The team set out to test models on “the kind of interactions they will encounter in everyday use”, with benchmarks drawn from the use cases of the companies of the Prosus group.

The evaluation sets

The team looked at how language models were used across Prosus’s portfolio of more than 100 companies, among them Stack Overflow, Udemy, iFood, Swiggy and OLX. They were commonly used to help with code, to get insight into complex documents and to answer work questions, and the first sets follow those uses.

  • Coding Assistant holds 925 Stack Overflow questions from the last five years, in 25 programming languages, on debugging, implementation, optimization and conceptual understanding. Each has at least one accepted answer.
  • Coding Assistant, Recent holds 300 questions from the six months before 1 October 2023, to test models on questions that are new to them.
  • Q&A Assistant holds 275 questions chosen from the more than 1.1 million put to toqan, Prosus’s in-house AI assistant, since its launch in 2022. It mixes technical questions, mostly on software engineering and IT, with questions of the kind put to a business consultant.
  • Summarization holds about 50 requests made to toqan. It tests whether a model follows detailed instructions when it summarizes video transcripts, web pages, PDFs and text, or pulls out the information asked for.

How answers are graded

The main sets are kept private, so that their questions do not leak into the data new models are trained on, and the models that grade answers run on cloud platforms that guarantee to keep none of the prompts. The post promised public mirror sets, close to the private ones, for model developers and others to test their models on. An answer to a question is accepted only if it is accurate, complete and relevant to the user’s problem, a measure modeled on the accepted answers of Stack Overflow. A summary is judged on how closely it follows the user’s instructions, and on being accurate and clearly written.

Grading by hand does not scale, so models do it. To check them, the team gathered 150 questions from Stack Overflow and toqan, had different models answer them, and had at least three domain experts score every answer against a rubric. The best models first graded with about 70% accuracy. After many refinements to the method, accuracy rose above 85%, which the post reports is better than the average domain expert.

What the benchmarks found

More than 30 models, open and proprietary, were compared, and an automated pipeline could score a new model on the day it was released. Results on the two coding sets are far apart.

GPT-4 Turbo’s accuracy on the Coding Assistant set
90%
its accuracy on the 300 recent questions
64%
its accuracy on the recent questions, once those affected by recent software updates were filtered out
76%
Zulkuf Genc, Prosus AI Tech Blog, 25 April 2024: the Coding Assistant benchmarks, built from Stack Overflow questions

GPT-4, whose training data ends in April 2023, fell from sixth place on the full set to thirteenth on the recent one. Results also differ by task. GPT-4 Turbo led on the coding questions as a whole. On questions about C and C++ its score dropped noticeably and an open-source model ranked above it, and the rankings shifted on JavaScript debugging questions as well.

The portal

The benchmarks were opened to the public in an interactive portal, where a reader can explore the results by task, compare models and set up a benchmark of their own. The post said that a paper on the benchmarks, with mirror datasets and evaluation scripts, would follow. The portal, then at prollm.toqan.ai, now answers at prollm.ai.

The post

ProLLM: LLM Benchmarks for Real-World Use-CasesZulkuf Genc. Prosus AI Tech Blog, 2024

Author

  • Zülküf Genç

    Director of AI, Prosus

References

  1. ProLLM: LLM Benchmarks for Real-World Use-CasesZulkuf Genc. Prosus AI Tech Blog, 25 April 2024
  2. ProLLM: LLM benchmarks for real-world use-casesProsus, 1 July 2024
  3. ProLLM BenchmarksThe portal the post introduced, then at prollm.toqan.ai

Keep reading

  • Publication

    One model for the whole home page

    A shopping app’s home page is filled by many recommenders, each tuned for its own slot. This model writes one page per person, per meal moment: the title, the subtitle and what to show. In a live test on one slot it brought 137% more orders from that list.

  • Publication

    New robots, old tricks: teaching robots to speak AI

    A post of November 2026 on a year of wiring Darwin, the Prosus humanoid robot. Five parts spoke five protocols, and the post asks what a robot should tell an AI agent about its actions before the agent can use it.

  • Method

    Meet the large commerce model

    Language models learn from text. Magnet Decision learns from what people search for, look at, buy and come back for. Here’s how it’s built.