paper-with-me

홈 › Papers

Reducing Sequence Length by Predicting Edit Operations with Large Language Models

2023-05-19 · Masahiro Kaneko, Naoaki Okazaki

Large Language Models (LLMs) have demonstrated remarkable performance in various tasks and gained significant attention. LLMs are also used for local sequence transduction tasks, including grammatical error correction (GEC) and formality style transfer, where most tokens in a source text are kept unchanged. However, the models that generate all target tokens in such tasks have a tendency to simply copy the input text as is, without making needed changes, because the difference between input and output texts is minimal in the training data. This is also inefficient because the computational cost grows quadratically with the target sequence length with Transformer. This paper proposes predicting edit spans for the source text for local sequence transduction tasks. Representing an edit span with a position of the source text and corrected tokens, we can reduce the length of the target sequence and the computational cost for inference. We apply instruction tuning for LLMs on the supervision data of edit spans. Experiments show that the proposed method achieves comparable performance to the baseline in four tasks, paraphrasing, formality style transfer, GEC, and text simplification, despite reducing the length of the target text by as small as 21%. Furthermore, we report that the task-specific fine-tuning with the proposed method achieved state-of-the-art performance in the four tasks.

📄 PDF Abstract BibTeX arXiv:2305.11862

Code (0)

등록된 구현이 없습니다.

Tasks

Formality Style TransferGrammatical Error CorrectionStyle TransferText Simplification

Methods 이 논문이 사용한 방법론

Multi-Head Attention 설명 없음
Attention 설명 없음
Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
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$…
Position-Wise Feed-Forward Layer 설명 없음
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…
Absolute Position Encodings Absolute Position Encodings are a type of position embeddings for [Transformer-based models] where positional encodings are…
Adam 설명 없음

Similar Papers 제목 키워드 기반

Edit Flows: Flow Matching with Edit Operations

2025-06-10 · Marton Havasi, Brian Karrer, Itai Gat, Ricky T. Q. Chen

Autoregressive generative models naturally generate variable-length sequences, while non-autoregressive models struggle, often imposing rigid, token-wise structures. We propose Edit Flows, a non-autoregressive model that…

Code GenerationImage Captioning

LPDP: Inference-Time Reward Control for Variable-Length DNA Generation with Edit Flows

2026-05-12 · Jeongchan Kim, Yunkyung Ko, Jong Chul Ye arxiv

We study the application of recent Edit Flows for inference-time reward control for DNA sequence generation. Unlike most reward-guided DNA generation frameworks, which operate on fixed-length sequence spaces, Edit Flows …

Flexible Flows for Biological Sequence Design

2026-06-09 · Yogesh Verma, Dani Korpela, Harri Lähdesmäki, Vikas Garg arxiv

Designing functional biological sequences requires navigating vast discrete spaces under strict evolutionary and biophysical constraints. Discrete Flow Matching (DFM) offers a generative framework over such spaces, but e…

Density Estimation

XL-Editor: Post-editing Sentences with XLNet

2019-10-19 · Yong-Siang Shih, Wei-Cheng Chang, Yiming Yang

While neural sequence generation models achieve initial success for many NLP applications, the canonical decoding procedure with left-to-right generation order (i.e., autoregressive) in one-pass can not reflect the true …

SentenceStyle TransferText Style Transfer

Towards A Generative Protein Evolution Machine with DPLM-Evo

2026-04-30 · Xinyou Wang, Liang Hong, Jiasheng Ye, Zaixiang Zheng 외 arxiv

Proteins are shaped by gradual evolution under biophysical and functional constraints. Protein language models learn rich evolutionary constraints from large-scale sequences, and discrete diffusion-based protein language…