SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2410.03953 · 2024

LLM-TOPLA: Efficient LLM Ensemble by Maximising Diversity

arXiv · PDF · Open in the Atlas

Code that ran

5 of 8 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 4 failures of our instrument; 3 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2410.03953.json · badge: /api/ran/2410.03953.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
git-disl/llm-topla canonical (classifier label)
classifier basis: census
5 ran · 3 no recorded run
FunctionStatusWhere it lives
calc_metric Ran
ran, honoured the contract we drafted
git-disl/llm-topla/topla_open_ended.py
pointer only (licence: NONE) · get_code("cee998d341372d31")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, git-disl/llm-topla when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

extract_ans_mmlu Ran
ran; our contract draft was wrong, not the code
git-disl/llm-topla/helper.py
pointer only (licence: NONE) · get_code("8ff9819001c2d84d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, git-disl/llm-topla when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_last_save Ran
ran; our contract draft was wrong, not the code
git-disl/llm-topla/api_calls/api_searchqa.py
pointer only (licence: NONE) · get_code("d02b1771b3f9583c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, git-disl/llm-topla when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_mmlu_dataset Ran
ran; our contract draft was wrong, not the code
git-disl/llm-topla/api_calls/api_mmlu.py
pointer only (licence: NONE) · get_code("a916149a3b2cc620")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, git-disl/llm-topla when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

test_loop Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
git-disl/llm-topla/topla_weighted.py
pointer only (licence: NONE) · get_code("4c5f54b24571596b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, git-disl/llm-topla when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_mmlu_prompt_template Not yet run
unverified (harvested, no recorded run)
git-disl/llm-topla/api_calls/api_mmlu.py
pointer only (licence: NONE) · get_code("c4f3b9e1fa8881d9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, git-disl/llm-topla when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

search_ans Not yet run
unverified (harvested, no recorded run)
git-disl/llm-topla/api_calls/api_mmlu.py
pointer only (licence: NONE) · get_code("26ed8ae80a859f4e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, git-disl/llm-topla when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

train_ensemble Not yet run
unverified (harvested, no recorded run)
git-disl/llm-topla/topla_weighted.py
pointer only (licence: NONE) · get_code("fe04eaf3fbba41a5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, git-disl/llm-topla when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 8 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Combining large language models during training or at inference time has shown substantial performance gain over component LLMs. This paper presents LLM-TOPLA, a diversity-optimized LLM ensemble method with three unique properties: (i) We introduce the focal diversity metric to capture the diversity-performance correlation among component LLMs of an ensemble. (ii) We develop a diversity-optimized ensemble pruning algorithm to select the top-k sub-ensembles from a pool of $N$ base LLMs. Our pruning method recommends top-performing LLM subensembles of size $S$, often much smaller than $N$. (iii) We generate new output for each prompt query by utilizing a learn-to-ensemble approach, which learns to detect and resolve the output inconsistency among all component LLMs of an ensemble. Extensive evaluation on four different benchmarks shows good performance gain over the best LLM ensemble methods: (i) In constrained solution set problems, LLM-TOPLA outperforms the best-performing ensemble (Mixtral) by 2.2\% in accuracy on MMLU and the best-performing LLM ensemble (MoreAgent) on GSM8k by 2.1\%. (ii) In generative tasks, LLM-TOPLA outperforms the top-2 performers (Llama70b/Mixtral) on SearchQA by $3.9\mathrm{x}$ in F1, and on XSum by more than $38$ in ROUGE-1. Our code and dataset, which contains outputs of 8 modern LLMs on 4 benchmarks is available at https://github.com/git-disl/llm-topla

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2410.03953")
get_code_for_paper("2410.03953")
have("2410.03953")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2410.03953.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2410.03953.svg)](https://syntology.ai/paper/2410.03953)

Connect an agent — have() is free.