Saved in:
Bibliographic Details
Main Authors: Yu, Yao-Ching, Kuo, Chun-Chih, Ye, Ziqi, Chang, Yu-Cheng, Li, Yueh-Se
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2406.12585
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916413265936384
author Yu, Yao-Ching
Kuo, Chun-Chih
Ye, Ziqi
Chang, Yu-Cheng
Li, Yueh-Se
author_facet Yu, Yao-Ching
Kuo, Chun-Chih
Ye, Ziqi
Chang, Yu-Cheng
Li, Yueh-Se
contents Ensembling multiple models has always been an effective approach to push the limits of existing performance and is widely used in classification tasks by simply averaging the classification probability vectors from multiple classifiers to achieve better accuracy. However, in the thriving open-source Large Language Model (LLM) community, ensembling methods are rare and typically limited to ensembling the full-text outputs of LLMs, such as selecting the best output using a ranker, which leads to underutilization of token-level probability information. In this paper, we treat the Generation of each token by LLMs as a Classification (GaC) for ensembling. This approach fully exploits the probability information at each generation step and better prevents LLMs from producing early incorrect tokens that lead to snowballing errors. In experiments, we ensemble state-of-the-art LLMs on several benchmarks, including exams, mathematics and reasoning, and observe that our method breaks the existing community performance ceiling. Furthermore, we observed that most of the tokens in the answer are simple and do not affect the correctness of the final answer. Therefore, we also experimented with ensembling only key tokens, and the results showed better performance with lower latency across benchmarks.
format Preprint
id arxiv_https___arxiv_org_abs_2406_12585
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Breaking the Ceiling of the LLM Community by Treating Token Generation as a Classification for Ensembling
Yu, Yao-Ching
Kuo, Chun-Chih
Ye, Ziqi
Chang, Yu-Cheng
Li, Yueh-Se
Computation and Language
Artificial Intelligence
Ensembling multiple models has always been an effective approach to push the limits of existing performance and is widely used in classification tasks by simply averaging the classification probability vectors from multiple classifiers to achieve better accuracy. However, in the thriving open-source Large Language Model (LLM) community, ensembling methods are rare and typically limited to ensembling the full-text outputs of LLMs, such as selecting the best output using a ranker, which leads to underutilization of token-level probability information. In this paper, we treat the Generation of each token by LLMs as a Classification (GaC) for ensembling. This approach fully exploits the probability information at each generation step and better prevents LLMs from producing early incorrect tokens that lead to snowballing errors. In experiments, we ensemble state-of-the-art LLMs on several benchmarks, including exams, mathematics and reasoning, and observe that our method breaks the existing community performance ceiling. Furthermore, we observed that most of the tokens in the answer are simple and do not affect the correctness of the final answer. Therefore, we also experimented with ensembling only key tokens, and the results showed better performance with lower latency across benchmarks.
title Breaking the Ceiling of the LLM Community by Treating Token Generation as a Classification for Ensembling
topic Computation and Language
Artificial Intelligence
url https://arxiv.org/abs/2406.12585