Multi-Source Decoding with Dual Attention Mechanisms

This direction is merged into another direction: dual-source attention. Its last version stays readable and citable here.

Version 1 of 1107 papers114 conceptsfrozen 2026-10-04

Standard sequence-to-sequence models typically rely on a single bottleneck: the attention mechanism between a decoder and a solitary encoder representation. While effective for simple translation, this "single-view" approach struggles when generation must be simultaneously grounded in multiple, often conflicting, constraints—such as a source document and a set of factual triples, or a user query and a pre-defined persona.

To overcome this, researchers have converged on Multi-Source Decoding. Instead of flattening all inputs into a single vector, these architectures use specialized decoders with multiple attention heads or layers to independently query different information streams. This allows the model to dynamically balance global context with local constraints during every step of the generation process.

The Information Balancing Act

The core intuition behind multi-source decoding is that different types of information require different "look-up" strategies. For example, in Faithful to the Original: Fact Aware Neural Abstractive Summarization, Ziqiang Cao and Furu Wei argue that a standard encoder-decoder often "hallucinates" because it treats factual entities and filler words with the same priority. Their solution, FTSum, uses a dual-attention mechanism: one head attends to the raw text for fluency, while another strictly queries a "fact encoder" containing extracted triples.

This architecture acts like a writer with two monitors: one displaying the rough draft (the source text) and the other displaying a verified fact sheet. By maintaining separate attention distributions, the decoder can ensure that every generated entity is grounded in the fact sheet, even if the source text is linguistically complex.

Integrating Structure and Knowledge

Beyond simple text-to-text tasks, multi-source decoding is essential for bridging the gap between unstructured language and structured data.

  1. Graph-to-Text Integration: In Augmented Abstractive Summarization With Document-Level Semantic Graph, Haoyuan Li and colleagues use a dual-attention decoder to query both word-level embeddings and a document-level semantic graph. This ensures the model doesn't lose track of long-range entity relationships that are often obscured in a linear sequence.
  2. Symbolic Grounding: When generating mathematical word problems, Tianqiao Liu and Hang Li utilize a decoder that balances attention between symbolic equations and commonsense knowledge graphs. As shown in Mathematical Word Problem Generation from Commonsense Knowledge Graph and Equations, this prevents the model from generating "impossible" scenarios that violate the underlying math.

Planning and Future-Awareness

One of the most powerful applications of this direction is the "plan-then-write" framework. In Chinese Poetry Generation with Planning based Neural Network, Hua Wu and Haifeng Wang demonstrate that generating a high-level "sub-topic" plan before the actual text allows the decoder to maintain global coherence. The decoder uses dual inputs at each step: the specific sub-topic keyword for that line and the accumulated context of previous lines.

Similarly, to solve the "left-to-right" blindness of standard decoders, Asynchronous Bidirectional Decoding for Neural Machine Translation introduces a backward-moving decoder that generates a "future context." A subsequent forward decoder then uses dual-attention to look at both the original source and this pre-generated future, effectively allowing the model to "see" the end of the sentence before it finishes the beginning.

Multi-View and Multi-Pass Refinement

Recent work has moved toward "multi-view" decoding, where the decoder doesn't just look at different sources, but different perspectives of the same source. Fenglin Liu proposed Layer-Wise Multi-View Decoding, which provides the decoder with a "global view" from the final encoder layer and a "local view" from intermediate layers. This prevents the loss of fine-grained details (like specific numbers or names) that often get smoothed out in the deep layers of a Transformer.

For tasks requiring high precision, such as translation or summarization, the Adaptive Multi-pass Decoder by Xinwei Geng and Ting Liu mimics the human editing process. As detailed in Adaptive Multi-pass Decoder for Neural Machine Translation, the decoder first generates a draft and then uses a second pass to "polish" it, attending simultaneously to the original source and the hidden states of the first draft.

Why It Works: Decoupling Representation from Generation

The success of these models stems from decoupling. In a standard Transformer, the attention mechanism must learn to extract everything—syntax, semantics, facts, and style—from a single sequence. By using dual-attention decoders, we allow the model to specialize. One attention head can focus on the "what" (the facts or plan), while another focuses on the "how" (the linguistic fluency of the source).

As seen in the KnowSelf-KnowOther Transformer (KSKT) by Haotong Sun, this factorization allows even smaller models to outperform massive LLMs by explicitly balancing internal constraints (like a character's persona) against external ones (like user intent) at the architectural level.

Papers in this version

Showing 60 of 107 papers.

History & citationVersion 1 · 2026-10-04

Merged into another direction · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_multi_source_decoding_with_dual_attentio_f90ed895,
  title = {Multi-Source Decoding with Dual Attention Mechanisms},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/multi-source-decoding-with-dual-attention-mechanisms/rdr_f90ed89509b34c7abc36083e09973024},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-30},
}

This exact version (version 1, frozen text):

@misc{lacuna_multi_source_decoding_with_dual_attentio_f90ed895_v1,
  title = {Multi-Source Decoding with Dual Attention Mechanisms},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/multi-source-decoding-with-dual-attention-mechanisms/rdr_f90ed89509b34c7abc36083e09973024/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-30},
}