paper-with-me

홈 › Papers

Multiscale Byte Language Models -- A Hierarchical Architecture for Causal Million-Length Sequence Modeling

2025-02-20 · Eric Egli, Matteo Manica, Jannis Born

Bytes form the basis of the digital world and thus are a promising building block for multimodal foundation models. Recently, Byte Language Models (BLMs) have emerged to overcome tokenization, yet the excessive length of bytestreams requires new architectural paradigms. Therefore, we present the Multiscale Byte Language Model (MBLM), a model-agnostic hierarchical decoder stack that allows training with context windows of $5$M bytes on single GPU in full model precision. We thoroughly examine MBLM's performance with Transformer and Mamba blocks on both unimodal and multimodal tasks. Our experiments demonstrate that hybrid architectures are efficient in handling extremely long byte sequences during training while achieving near-linear generational efficiency. To the best of our knowledge, we present the first evaluation of BLMs on visual Q\&A tasks and find that, despite serializing images and the absence of an encoder, a MBLM with pure next token prediction can match custom CNN-LSTM architectures with designated classification heads. We show that MBLMs exhibit strong adaptability in integrating diverse data representations, including pixel and image filestream bytes, underlining their potential toward omnimodal foundation models. Source code is publicly available at: https://github.com/ai4sd/multiscale-byte-lm

📄 PDF Abstract BibTeX arXiv:2502.14553

Code (1)

ai4sd/multiscale-byte-lm 공식 구현 pytorch

Tasks

DecoderGPUMambaVisual Question Answering (VQA)

Methods 이 논문이 사용한 방법론

Attention 설명 없음
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
BPE Byte Pair Encoding, or BPE, is a subword segmentation algorithm that encodes rare and unknown words as sequences of subword units. The intuition is that various word…
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Residual Connection 설명 없음
Dense Connections Dense Connections, or Fully Connected Connections, are a type of layer in a deep neural network that use a linear operation where every input is connected to every output…
Label Smoothing Label Smoothing is a regularization technique that introduces noise for the labels. This accounts for the fact that datasets may have mistakes in them, so maximizing the…

Similar Papers 제목 키워드 기반

Dynamic Multi-Byte Prediction With Hierarchical Language Models

2026-08-16 · Abraham Toluwase Owodunni, Chibuzor Okocha, Christan Grant, Tomasz Limisiewicz 외 hf

Byte-level hierarchical language models (LMs) have recently emerged as a robust alternative to their popular counterparts that use subword tokenization. However, generating one byte at a time remains a bottleneck for inf…

Instruction FollowingMachine TranslationQuestion Answering

MEGABYTE: Predicting Million-byte Sequences with Multiscale Transformers

2023-05-12 · NeurIPS 2023 11 · Lili Yu, Dániel Simig, Colin Flaherty, Armen Aghajanyan 외

Autoregressive transformers are spectacular models for short sequences but scale poorly to long sequences such as high-resolution images, podcasts, code, or books. We proposed Megabyte, a multi-scale decoder architecture…

DecoderDensity EstimationLanguage ModelingLanguage Modelling

Hierarchical Multiscale Recurrent Neural Networks

2016-09-06 · Junyoung Chung, Sungjin Ahn, Yoshua Bengio

Learning both hierarchical and temporal representation has been among the long-standing challenges of recurrent neural networks. Multiscale recurrent neural networks have been considered as a promising approach to resolv…

Language Modelling

Adaptive Targeted Dynamic Chunking for Tokenization-Free Hierarchical Model

2026-05-28 · Thang Dang, Akira Nakagawa, Kenichi Kobayashi, Koichi Shirahata arxiv

Tokenization-free hierarchical models are emerging as a promising alternative to traditional Large Language Models (LLMs), addressing inherent preprocessing issues such as vocabulary design complexity, out-of-vocabulary …

STM3: Mixture of Multiscale Mamba for Long-Term Spatio-Temporal Time-Series Prediction

2025-08-17 · Haolong Chen, Liang Zhang, Zhengyuan Xin, Guangxu Zhu arxiv

Recently, spatio-temporal time-series prediction has developed rapidly, yet existing deep learning methods struggle with learning complex long-term spatio-temporal dependencies efficiently. The long-term spatio-temporal …

Representation LearningContrastive Learning