paper-with-me

홈 › Papers

Lizard: An Efficient Linearization Framework for Large Language Models

2025-07-11 · Chien Van Nguyen, Ruiyi Zhang, Hanieh Deilamsalehy, Puneet Mathur, Viet Dac Lai, Haoliang Wang, Jayakumar Subramanian, Ryan A. Rossi, Trung Bui, Nikos Vlassis, Franck Dernoncourt, Thien Huu Nguyen

We propose Lizard, a linearization framework that transforms pretrained Transformer-based Large Language Models (LLMs) into flexible, subquadratic architectures for infinite-context generation. Transformer-based LLMs face significant memory and computational bottlenecks as context lengths increase, due to the quadratic complexity of softmax attention and the growing key-value (KV) cache. Lizard addresses these limitations by introducing a subquadratic attention mechanism that closely approximates softmax attention while preserving the output quality. Unlike previous linearization methods, which are often limited by fixed model structures and therefore exclude gating mechanisms, Lizard incorporates a gating module inspired by recent state-of-the-art linear models. This enables adaptive memory control, supports constant-memory inference, offers strong length generalization, and allows more flexible model design. Lizard combines gated linear attention for global context compression with sliding window attention enhanced by meta memory, forming a hybrid mechanism that captures both long-range dependencies and fine-grained local interactions. Moreover, we introduce a hardware-aware algorithm that accelerates the training speed of our models. Extensive experiments show that Lizard achieves near-lossless recovery of the teacher model's performance across standard language modeling tasks, while significantly outperforming previous linearization methods. On the 5-shot MMLU benchmark, Lizard improves over prior models by 18 points and shows significant improvements on associative recall tasks.

📄 PDF Abstract BibTeX arXiv:2507.09025

Code (0)

등록된 구현이 없습니다.

Tasks

Language ModelingLanguage ModellingMMLU

Methods 이 논문이 사용한 방법론

SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…
Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…

Similar Papers 제목 키워드 기반

Automatic segmentation of lizard spots using an active contour model

2016-03-02 · Jhony Giraldo, Augusto Salazar

Animal biometrics is a challenging task. In the literature, many algorithms have been used, e.g. penguin chest recognition, elephant ears recognition and leopard stripes pattern recognition, but to use technology to a la…

Segmentation

Owl and Lizard: Patterns of Head Pose and Eye Pose in Driver Gaze Classification

2015-08-17 · Lex Fridman, Joonbum Lee, Bryan Reimer, Trent Victor

Accurate, robust, inexpensive gaze tracking in the car can help keep a driver safe by facilitating the more effective study of how to improve (1) vehicle interfaces and (2) the design of future Advanced Driver Assistance…

ClassificationGeneral Classification

Terrain characterization and locomotion adaptation in a small-scale lizard-inspired robot

2026-03-06 · Duncan Andrews, Landon Zimmerman, Evan Martin, Joe DiGennaro 외 arxiv

Unlike their large-scale counterparts, small-scale robots are largely confined to laboratory environments and are rarely deployed in real-world settings. As robot size decreases, robot-terrain interactions fundamentally …

Neural Transition-based Syntactic Linearization

2018-10-23 · WS 2018 11 · Linfeng Song, Yue Zhang, Daniel Gildea

The task of linearization is to find a grammatical order given a set of words. Traditional models use statistical methods. Syntactic linearization systems, which generate a sentence along with its syntactic tree, have sh…

Language ModelingLanguage ModellingSentence

Graph Linearization Methods for Reasoning on Graphs with Large Language Models

2024-10-25 · Christos Xypolopoulos, Guokan Shang, Xiao Fei, Giannis Nikolentzos 외

Large language models have evolved to process multiple modalities beyond text, such as images and audio, which motivates us to explore how to effectively leverage them for graph reasoning tasks. The key question, therefo…