DFPE: A Diverse Fingerprint Ensemble for Enhancing LLM Performance

Seffi Cohen, Niv Goldshlager, Nurit Cohen-Inger, Bracha Shapira, Lior Rokach
1/29/2025
cs.LGcs.AIcs.CL

No official code found. Best implementation: nivgold/DFPE (4 stars, last commit 2025-02-03).

Abstract

Large Language Models (LLMs) have shown remarkable capabilities across various natural language processing tasks but often struggle to excel uniformly in diverse or complex domains. We propose a novel ensemble method - Diverse Fingerprint Ensemble (DFPE), which leverages the complementary strengths of multiple LLMs to achieve more robust performance. Our approach involves: (1) clustering models based on response "fingerprints" patterns, (2) applying a quantile-based filtering mechanism to remove underperforming models at a per-subject level, and (3) assigning adaptive weights to remaining models based on their subject-wise validation accuracy. In experiments on the Massive Multitask Language Understanding (MMLU) benchmark, DFPE outperforms the best single model by 3% overall accuracy and 5% in discipline-level accuracy. This method increases the robustness and generalization of LLMs and underscores how model selection, diversity preservation, and performance-driven weighting can effectively address challenging, multi-faceted language understanding tasks.

View on arXivView PDF

Code Implementations(1)

nivgold/DFPECommunity100%
40PythonJan 23, 20251 years ago

Cite this paper

@article{cohen2025dfpe,
  title  = {DFPE: A Diverse Fingerprint Ensemble for Enhancing LLM Performance},
  author = {Seffi Cohen and Niv Goldshlager and Nurit Cohen-Inger and Bracha Shapira and Lior Rokach},
  year   = {2025},
  eprint = {2501.17479},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2501.17479v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2501.17479.svg)](https://codeofpaper.com/paper/2501.17479)

Discussion