arXiv Computation and Language By Giacomo Bais, Tejaswini Deoskar

Dynamic ordering in sequence generation in Transformers: experiments on low-resource Tagging scenarios

Read the original on arXiv Computation and Language →

The paper introduces TagInsert, a Transformer-based model that removes the left-to-right generation constraint by eliminating the decoder-side attention mask, allowing the model to choose the order of tag generation during inference. Experiments on Part-of-Speech tagging and Combinatory Categorial Grammar supertagging across multiple languages and low-resource settings show that TagInsert often outperforms a left-to-right encoder-decoder model, matches encoder-only models under data-scarce conditions, and improves performance on rare categories. Analyses indicate that TagInsert reduces error propagation typical of autoregressive models by deferring difficult predictions to later decoding stages.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv Computation and Language.

arXiv AI
Sep 25

Your Transformer Can Hold Two Thoughts at Once: Evidence of Linear Superposition in LLMs

The paper demonstrates that Large Language Models, despite their non‑linear components, exhibit a fundamental linearity property: when inputs from two distinct text streams are linearly combined, the model outputs a superposition of the individual next‑token distributions. This "Superposition Linearity Hypothesis" appears to be an intrinsic feature of the Transformer architecture, tends to weaken during pretraining, but can be largely restored with lightweight fine‑tuning. The authors also present a guided decoding method that separates the superposed outputs, allowing two coherent continuations to be generated from a single forward pass.

By Pavel Tikhonov, Anton Korznikov, Matvey Mikhalchuk, Nikita Dragunov, Temurbek Rahmatullaev, Polina Druzhinina, Anton Razzhigaev, Ivan Oseledets, Elena Tutubalina