Let Models Speak Ciphers: Multiagent Debate through Embeddings

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Pham, Chau, Liu, Boyi, Yang, Yingxiang, Chen, Zhengyu, Liu, Tianyi, Yuan, Jianbo, Plummer, Bryan A., Wang, Zhaoran, Yang, Hongxia
Format: Preprint
Veröffentlicht: 2023
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866909119558975488
author Pham, Chau
Liu, Boyi
Yang, Yingxiang
Chen, Zhengyu
Liu, Tianyi
Yuan, Jianbo
Plummer, Bryan A.
Wang, Zhaoran
Yang, Hongxia
author_facet Pham, Chau
Liu, Boyi
Yang, Yingxiang
Chen, Zhengyu
Liu, Tianyi
Yuan, Jianbo
Plummer, Bryan A.
Wang, Zhaoran
Yang, Hongxia
contents Discussion and debate among Large Language Models (LLMs) have gained considerable attention due to their potential to enhance the reasoning ability of LLMs. Although natural language is an obvious choice for communication due to LLM's language understanding capability, the token sampling step needed when generating natural language poses a potential risk of information loss, as it uses only one token to represent the model's belief across the entire vocabulary. In this paper, we introduce a communication regime named CIPHER (Communicative Inter-Model Protocol Through Embedding Representation) to address this issue. Specifically, we remove the token sampling step from LLMs and let them communicate their beliefs across the vocabulary through the expectation of the raw transformer output embeddings. Remarkably, by deviating from natural language, CIPHER offers an advantage of encoding a broader spectrum of information without any modification to the model weights, outperforming the state-of-the-art LLM debate methods using natural language by 0.5-5.0% across five reasoning tasks and multiple open-source LLMs of varying sizes. This showcases the superiority and robustness of embeddings as an alternative "language" for communication among LLMs. We anticipate that CIPHER will inspire further exploration for the design of interactions within LLM agent systems, offering a new direction that could significantly influence future developments in the field.
format Preprint
id arxiv_https___arxiv_org_abs_2310_06272
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Let Models Speak Ciphers: Multiagent Debate through Embeddings
Pham, Chau
Liu, Boyi
Yang, Yingxiang
Chen, Zhengyu
Liu, Tianyi
Yuan, Jianbo
Plummer, Bryan A.
Wang, Zhaoran
Yang, Hongxia
Computation and Language
Artificial Intelligence
Machine Learning
Discussion and debate among Large Language Models (LLMs) have gained considerable attention due to their potential to enhance the reasoning ability of LLMs. Although natural language is an obvious choice for communication due to LLM's language understanding capability, the token sampling step needed when generating natural language poses a potential risk of information loss, as it uses only one token to represent the model's belief across the entire vocabulary. In this paper, we introduce a communication regime named CIPHER (Communicative Inter-Model Protocol Through Embedding Representation) to address this issue. Specifically, we remove the token sampling step from LLMs and let them communicate their beliefs across the vocabulary through the expectation of the raw transformer output embeddings. Remarkably, by deviating from natural language, CIPHER offers an advantage of encoding a broader spectrum of information without any modification to the model weights, outperforming the state-of-the-art LLM debate methods using natural language by 0.5-5.0% across five reasoning tasks and multiple open-source LLMs of varying sizes. This showcases the superiority and robustness of embeddings as an alternative "language" for communication among LLMs. We anticipate that CIPHER will inspire further exploration for the design of interactions within LLM agent systems, offering a new direction that could significantly influence future developments in the field.
title Let Models Speak Ciphers: Multiagent Debate through Embeddings
topic Computation and Language
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2310.06272