Attention as a Signal for Weakly Supervised Localization

This direction is no longer present in the current build. Its last version stays readable and citable here.

Version 1 of 113 papers20 conceptsfrozen 2026-10-04

In machine learning, there is often a massive gap between the labels we have and the insights we need. We might know that a medical diagnosis is correct, but not which sentence in a textbook proves it. We might know two documents are related, but not which specific paragraphs align.

Manually labeling these fine-grained correspondences—sentence by sentence or word by word—is prohibitively expensive. A recurring theme in recent research is the realization that we don't necessarily need these "dense" labels. Instead, we can treat the attention weights of a model trained on high-level tasks as a natural, "weak" supervision signal to localize low-level structure.

The Intuition: Attention as a Byproduct of Reasoning

When a model is tasked with answering a complex question, it must decide which parts of the input text are relevant. In the Long-Term Memory Network (LTMN) developed by Fenglong Ma and Jing Gao, the model uses a soft attention mechanism to identify supporting facts from unstructured text.

The key insight here is that the model learns to "look" at the right sentences even though it was never told where they are. By training only on the final answer (weak supervision), the attention weights naturally converge on the supporting evidence. This eliminates the need for human-annotated mappings between questions and specific source sentences.

Bridging High-Level Labels and Low-Level Evidence

This principle extends into specialized domains like medicine. In the development of MedQA, Ji Wu and Xiao Zhang demonstrated that neural architectures can acquire domain expertise from professional licensing exams without explicit evidence mapping. Their "SeaReader" model uses a dual-path attention mechanism to bridge the gap between a high-level multiple-choice answer and the underlying textual justifications found in massive corpora.

The model effectively "discovers" the evidence as a side effect of learning to pass the exam. This suggests that sophisticated attention isn't just a component of the architecture—it is a mechanism for knowledge discovery.

Repurposing Attention as a Supervision Signal

If attention weights naturally highlight important features, can we use them to train other models? This is the core idea behind the Latent Opinions Transfer Network (LOTN). Zhen Wu and Fei Zhao address data scarcity by taking global attention weights from a pre-trained sentiment classifier and transforming them into "pseudo-labels" for a more granular task: extracting specific opinion words.

Instead of starting from scratch with limited human data, the model inherits the "focus" of a model that already knows what a "positive" or "negative" sentence looks like. By minimizing the divergence between these inherited attention weights and the target labels, as seen in the CM-Gen framework by Yucheng Li and Chenghua Lin, models can learn to identify structural components (like the parts of a metaphor) without dense manual annotations.

Localizing Relationships Across Documents

The power of this approach is most visible when comparing two different texts. Traditional models often squash documents into single vectors, losing the "why" behind their similarity.

Nikolaos Pappas and Noah A. Smith moved past this "black box" approach by using cross-document attention. By leveraging hierarchical attention weights, their model can localize specific sentence-level correspondences (such as which sentence in a paper justifies a specific citation) using only document-level supervision.

Summary of the Mechanism

The shift across these papers is a move away from explicit labeling toward structural inference. The logic follows a consistent pattern:

  1. Train a model on a high-level task (e.g., classification, QA) where labels are plentiful.
  2. Extract the attention weights, which represent the model's internal "importance" map.
  3. Apply these weights as a guide or secondary objective to solve a low-level task (e.g., evidence extraction, token identification).

By treating attention as a signal rather than just a weight, researchers are turning the internal "thoughts" of large models into a scalable source of supervision for the next generation of granular NLP tasks.

Papers in this version

History & citationVersion 1 · 2026-10-04

No longer present in the current build · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_attention_as_a_signal_for_weakly_supervi_87a2ed71,
  title = {Attention as a Signal for Weakly Supervised Localization},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/attention-as-a-signal-for-weakly-supervised-localization/rdr_87a2ed71ab42411595a6b7db7f3b44ea},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-12-04},
}

This exact version (version 1, frozen text):

@misc{lacuna_attention_as_a_signal_for_weakly_supervi_87a2ed71_v1,
  title = {Attention as a Signal for Weakly Supervised Localization},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/attention-as-a-signal-for-weakly-supervised-localization/rdr_87a2ed71ab42411595a6b7db7f3b44ea/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-12-04},
}