Mind the Quote: Enabling Quotation-Aware Dialogue in LLMs via Plug-and-Play Modules

Yue-Qi Zhang, Pei-Wen Yuan, Yi-Wei Li, Shaoxiong Feng, Xing-Lin Wang +5 more
5/1/2025

No confident code implementation found for this paper.

Abstract

Human-AI conversation frequently relies on quoting earlier text-"check it with the formula I just highlighted"-yet today's large language models (LLMs) lack an explicit mechanism for locating and exploiting such spans. We formalise the challenge as span-conditioned generation, decomposing each turn into the dialogue history, a set of token-offset quotation spans, and an intent utterance.

Show full abstract

Building on this abstraction, we introduce a quotation-centric data pipeline that automatically synthesises task-specific dialogues, verifies answer correctness through multi-stage consistency checks, and yields both a heterogeneous training corpus and the first benchmark covering five representative scenarios. To meet the benchmark's zero-overhead and parameter-efficiency requirements, we propose QuAda, a lightweight training-based method that attaches two bottleneck projections to every attention head, dynamically amplifying or suppressing attention to quoted spans at inference time while leaving the prompt unchanged and updating<2.8% of backbone weights. Experiments across models show that QuAda is suitable for all scenarios and generalises to unseen topics, offering an effective, plug-and-play solution for quotation-aware dialogue.

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. Any repos shown below are weak matches — 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{zhang2025mind,
  title  = {Mind the Quote: Enabling Quotation-Aware Dialogue in LLMs via Plug-and-Play Modules},
  author = {Yue-Qi Zhang and Pei-Wen Yuan and Yi-Wei Li and Shaoxiong Feng and Xing-Lin Wang and Jia-Yi Shi and Chu-Yi Tan and Bo-Yuan Pan and Yao Hu and Kan Li},
  year   = {2025},
  eprint = {2505.24292},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2505.24292},
  url    = {https://doi.org/10.48550/arXiv.2505.24292},
  journal = {Neural Information Processing Systems}
}

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/2505.24292.svg)](https://codeofpaper.com/paper/2505.24292)

Discussion