Papers › X-LLM: Bootstrapping Advanced Large Language Models by Treating Multi-Modalities as...

X-LLM: Bootstrapping Advanced Large Language Models by Treating Multi-Modalities as Foreign Languages

7 May 2023arXiv:2305.04160archive 2025-07-28

Feilong Chen, Minglun Han, Haozhi Zhao, Qingyang Zhang, Jing Shi, Shuang Xu, Bo Xu

Large language models (LLMs) have demonstrated remarkable language abilities. GPT-4, based on advanced LLMs, exhibits extraordinary multimodal capabilities beyond previous visual language models. We attribute this to the use of more advanced LLMs compared with previous multimodal models. Unfortunately, the model architecture and training strategies of GPT-4 are unknown. To endow LLMs with multimodal capabilities, we propose X-LLM, which converts Multi-modalities (images, speech, videos) into foreign languages using X2L interfaces and inputs them into a large Language model (ChatGLM). Specifically, X-LLM aligns multiple frozen single-modal encoders and a frozen LLM using X2L interfaces, where ``X'' denotes multi-modalities such as image, speech, and videos, and ``L'' denotes languages. X-LLM's training consists of three stages: (1) Converting Multimodal Information: The first stage trains each X2L interface to align with its respective single-modal encoder separately to convert multimodal information into languages. (2) Aligning X2L representations with the LLM: single-modal encoders are aligned with the LLM through X2L interfaces independently. (3) Integrating multiple modalities: all single-modal encoders are aligned with the LLM through X2L interfaces to integrate multimodal capabilities into the LLM. Our experiments show that X-LLM demonstrates impressive multimodel chat abilities, sometimes exhibiting the behaviors of multimodal GPT-4 on unseen images/instructions, and yields a 84.5\% relative score compared with GPT-4 on a synthetic multimodal instruction-following dataset. And we also conduct quantitative tests on using LLM for ASR and multimodal ASR, hoping to promote the era of LLM-based speech recognition.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2305.04160")

Code

Syntology Ran 5 of 11 code samples harvested from 1 repository linked to this paper; 6 have no recorded run. Of those that ran: 1 ran · fixture could not drive it; 4 ran with no contract checked.

By repository: community (archive-listed): 11 samples from 1 repository, 5 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

0nutation/speechgpt mentioned on GitHubpytorch report
phellonchen/x-llm mentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 5 ran; 0 honoured the contract we drafted; 6 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · fixture could not drive it
4ran
6unverified

Licence: 0 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from phellonchen/x-llm. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

getAttMap phellonchen/x-llm/xllm/common/gradcam.py community (archive-listed) ran · fixture could not drive it fingerprinted Apache-2.0 (permissive) · 7d214655954e2bc6 · report
main_process phellonchen/x-llm/xllm/common/dist_utils.py community (archive-listed) ran Apache-2.0 (permissive) · 98589643273920ba · report
node_to_dict phellonchen/x-llm/xllm/common/config.py community (archive-listed) ran Apache-2.0 (permissive) · 791c72070c0b1cfb · report
preprocess phellonchen/x-llm/demo/demo_xllm.py community (archive-listed) ran fingerprinted Apache-2.0 (permissive) · e4f5893b210b11f6 · report
tile phellonchen/x-llm/xllm/models/base_model.py community (archive-listed) ran fingerprinted Apache-2.0 (permissive) · cb33571427334815 · report
all_gather_with_grad phellonchen/x-llm/xllm/models/base_model.py community (archive-listed) unverified Apache-2.0 (permissive) · 0ec9fc2025c16f65 · report
download_cached_file phellonchen/x-llm/xllm/common/dist_utils.py community (archive-listed) unverified Apache-2.0 (permissive) · 643539116e049080 · report
get_ASRFeature phellonchen/x-llm/gen_feats_from_service.py community (archive-listed) unverified Apache-2.0 (permissive) · 77bc132c086b42cc · report
get_image_state_dict phellonchen/x-llm/xllm/checkpoints/process_checkpoint.py community (archive-listed) unverified Apache-2.0 (permissive) · 35b50be2baee87cc · report
get_speech_state_dict phellonchen/x-llm/xllm/checkpoints/process_checkpoint.py community (archive-listed) unverified Apache-2.0 (permissive) · d32aa22cf716217d · report
get_state_dict phellonchen/x-llm/xllm/checkpoints/process_checkpoint.py community (archive-listed) unverified Apache-2.0 (permissive) · 6e1df60743a4db00 · report

Tasks

AttributeInstruction FollowingLanguage ModellingLarge Language ModelSpeech Recognitionspeech-recognition

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

ALIGNAbsolute Position EncodingsAdamAttentionBPEDense ConnectionsDropoutGPT-4Label SmoothingLayer NormalizationLinear LayerMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionSoftmaxTransformer

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections