DIRECT: Direct Decoding for Efficient and Aligned Sequence Labeling with Large Language Models

Yilei Wang, Jiaxin Gan, Kexuan Zhang, Ling Li, Wentao Zhang +1 more
7/29/2026
cs.CL

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

Sequence labeling is a fine-grained information extraction task, yet existing large language model-based approaches suffer from insufficient domain alignment and low inference efficiency. To address these issues, we propose DIRECT, a framework that addresses these issues through training-time optimization and inference-time rectification. Specifically, DIRECT performs Direct Preference Optimization (DPO) after supervised fine-tuning to strengthen task alignment with human preferences, and introduces a controlled decoding process that enforces fixed output formats and restricts predictions to candidate sets. To further improve efficiency, a template-filling mechanism requires the model to generate only label tokens while reusing prefixed content through the KV Cache, thus reducing redundant computation. Experimental results on eight datasets demonstrate that DIRECT achieves significant improvements in both performance and efficiency compared to existing methods.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{wang2026direct,
  title  = {DIRECT: Direct Decoding for Efficient and Aligned Sequence Labeling with Large Language Models},
  author = {Yilei Wang and Jiaxin Gan and Kexuan Zhang and Ling Li and Wentao Zhang and Peichao Lai},
  year   = {2026},
  eprint = {2607.26891},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.26891v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.26891.svg)](https://codeofpaper.com/paper/2607.26891)

Discussion