Skip to content

Cross-Attention

Definition
AI-generated

Cross-attention lets one sequence (queries) attend to another (keys and values)—unlike self-attention, where queries, keys, and values come from the same sequence.

Why it matters in GWAS

Cross-attention connects heterogeneous inputs—e.g. variant context attending over gene annotations, or a clinical LLM attending over retrieved abstracts—so evaluation must check whether retrieved evidence is faithfully grounded or confounded by attention biases in the training data.

Example usage

"The report generator used cross-attention so each locus summary could attend over the top-k PubMed chunks returned by RAG."

References

  • Vaswani A, et al. (2017). Attention is all you need. NeurIPS.

Last updated (UTC · Git history)