Dual-Flow Transformers: Decoupling the Primary Prefill Path from Additional Decode Computation

#Dual-Flow #Transformers #Decoupling #Primary #Prefill

arXiv:2608.12385v1 Announce Type: new Abstract: As large language models serve more requests, cumulative inference cost is becoming increasingly important relative to one-time training cost. The two inference phases stress hardware differently: prompt prefill is parallel and typically compute-bound, whereas autoregressive decode is sequential and often memory-bandwidth-bound. Conventional width or depth scaling increases both costs together because every added layer is evaluated in both phases. We ask whether additional learned computation can instead be allocated to continuation prediction while preserving the prompt-wide primary computation and a single persistent key-value (KV) cache. We introduce the Dual-Flow Transformer. Its primary flow is a complete causal language model that processes the prompt and writes the KV cache. The auxiliary flow is omitted during prompt processing and activated only from the final prompt position onward, adding continuation-prediction computation wit

Computer Science > Artificial Intelligence

[Submitted on 31 Jul 2026]

Title:Dual-Flow Transformers: Decoupling the Primary Prefill Path from Additional Decode Computation

View PDF HTML (experimental)

Похожие статьи

Российская газета
Российская газета

Складной "паспорт" в кармане: обзор смартфона Samsung Galaxy Z Fold8

Samsung Galaxy Z Fold8 - самый необычный смартфон на российском рынке. Проводим детальный обзор и рассматриваем ключевые характеристики. Как работают камеры, сколько держит заряд. Сколько стоит смартф...

Российская газета
Sony не откажется от 3,5-мм разъёма и слота для карт памяти в смартфонах Ferra.ru
Ferra.ru

Sony не откажется от 3,5-мм разъёма и слота для карт памяти в смартфонах

Большинство производителей смартфонов уже давно отказались от 3,5-мм разъёма для наушников и тем более слота для microSD. Вот только Sony продолжает сохранять «традиции» в своих флагманах. И, как сооб...

Ferra.ru
Разработка цифрового радиолюбительского протокола на базе OFDM. PHY-уровень Хабр
Хабр

Разработка цифрового радиолюбительского протокола на базе OFDM. PHY-уровень

Статья посвящена разработке радиолюбительского протокола связи на базе OFDM (Orthogonal Frequency-Division Multiplexing). В ней рассматривается процесс создания физического уровня, сложности, с которы...

Хабр
The Verge
The Verge

Switched on Pop’s Nate Sloan and Charlie Harding love fresh vegetables and guitar pedals

As if you needed more reason to love Carly Rae Jepsen's "Call Me Maybe" beyond its pop perfection, it is also, according to lore, the genesis for Switched on Pop, one of the best music podcasts out th...

The Verge
The Verge
The Verge

Star Wars: Ahsoka season 2 and Starfighter get teased at D23

Season two of Star Wars: Ahsoka is still months away, but Lucasfilm still took the opportunity to tease it a bit at D23. The company dropped the first trailer for the new season ahead of its January 2...

The Verge
В Пекине пройдут Всемирные игры человекоподобных роботов с участием 2026 роботов 3DNews
3DNews

В Пекине пройдут Всемирные игры человекоподобных роботов с участием 2026 роботов

С 22 по 26 августа в Пекине на крытом стадионе National Speed Skating Oval пройдут Всемирные игры человекоподобных роботов, для участия в которых заявлено 2056 роботов от 666 команд из 16 стран, включ...

3DNews