SUNDER: Selective Unmasking for Text Understanding

Alphaeus Dmonte, Tharindu Ranasinghe, Marcos Zampieri


Abstract
Decoder-only large language models (LLMs) employ autoregressive text processing, attending exclusively to preceding tokens when generating subsequent ones. Although this architectural design excels in text generation applications, it constrains model performance on certain text understanding tasks. In this work, we propose SUNDER, a novel approach that enables partial bidirectional attention computation. We validate the proposed approach on three token spans identification tasks, such as Named Entity Recognition (NER), Aspect-based Sentiment Analysis (ABSA), and Definition Extraction (DEF). Results show that SUNDER improves LLM performance by up to 5 percentage points compared to traditional instruction-tuning. We further validate the robustness of our approach on multiple model families, model sizes, and prompting techniques. Our evaluation extends to multilingual scenarios and single-hop question answering (QA), confirming SUNDER’s effectiveness on multiple settings. The code is made available to the community.
Anthology ID:
2026.emnlp-main.825
Volume:
Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing
Month:
October
Year:
2026
Address:
Budapest, Hungary
Editors:
Hung-Yi Lee, Sunipa Dev, Jessy Li, Desmond Elliott
Venue:
EMNLP
SIG:
SIGDAT
Publisher:
Association for Computational Linguistics
Note:
Pages:
19171–19188
Language:
URL:
https://aclanthology.org/2026.emnlp-main.825/
DOI:
Bibkey:
Cite (ACL):
Alphaeus Dmonte, Tharindu Ranasinghe, and Marcos Zampieri. 2026. SUNDER: Selective Unmasking for Text Understanding. In Proceedings of the 2026 Conference on Empirical Methods in Natural Language Processing, pages 19171–19188, Budapest, Hungary. Association for Computational Linguistics.
Cite (Informal):
SUNDER: Selective Unmasking for Text Understanding (Dmonte et al., EMNLP 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.emnlp-main.825.pdf