Mind the Quote: Enabling Quotation-Aware Dialogue in LLMs via Plug-and-Play Modules
Authors:
Preprint
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. 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.Keywords
All Related Versions
This publication has 8 references indexed in Scilit:
- A survey on LLM-as-a-judgeThe Innovation, 2026
- Style Vectors for Steering Generative Large Language Models2024
- Can LLMs Understand the Implication of Emphasized Sentences in Dialogue?2024
- Cutting Off the Head Ends the Conflict: A Mechanism for Interpreting and Mitigating Knowledge Conflicts in Language Models2024
- On LLMs-Driven Synthetic Data Generation, Curation, and Evaluation: A Survey2024
- Inference-Time Intervention: Eliciting Truthful Answers from a Language Model2023
- Large Language Model as Attributed Training Data Generator: A Tale of Diversity and Bias2023
- Extracting Latent Steering Vectors from Pretrained Language Models2022