natural language processing

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

arXiv:2607.26891

summary

The paper introduces DIRECT, a framework that improves large language model‑based sequence labeling by applying Direct Preference Optimization for better task alignment and a controlled decoding/template‑filling approach to boost inference efficiency.

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.

Topics & keywords

#sequence labeling#large language models#preference optimization#controlled decoding#efficiencyDirect Preference Optimizationtemplate fillingKV cachesupervised fine-tuningcandidate set decoding
DIRECT: Direct Decoding for Efficient and Aligned Sequence Labeling with Large Language Models · wovepaper