Transformer Encoders with Heuristic-Guided Contrastive Learning for Software Coreference Resolution

Mahmoud Hassan, Dipendra Yadav


Abstract
This paper describes our system submitted to the Software Mention Detection and Coreference Resolution (SOMD) 2026 shared task, specifically for Subtask 1 (cross-document coreference resolution over gold-standard mentions) and Subtask 2 (cross-document coreference resolution over predicted mentions). The proposed approach employs a SciBERT architecture trained with Supervised Contrastive (SupCon) loss to generate dense mention representations, which are then clustered using Hierarchical Agglomerative Clustering (HAC) with average linkage. Software-aware heuristics are integrated to exploit domain-specific signals such as software name canonicalization and developer disambiguation to adjust pairwise similarity scores before clustering. The system achieved strong performance, with a CoNLL F1 score of 92.18% on coreference resolution over gold-standard mentions and 91.87% on coreference resolution over predicted mentions, showing significant performance of our approach in this area for human annotated and automated systems respectively
Anthology ID:
2026.nslp-1.27
Volume:
Proceedings of Natural Scientific Language Processing (NSLP) @ LREC 2026
Month:
May
Year:
2026
Address:
Palma, Mallorca (Spain)
Editors:
Georg Rehm, Stefan Dietze, Danilo Dessi, Diana Maynard, Sonja Schimmler
Venues:
NSLP | WS
SIG:
Publisher:
ELRA Language Resources Association (ELRA)
Note:
Pages:
270–276
Language:
External URL:
https://lrec.elra.info/lrec2026-ws-nslp-27
DOI:
10.63317/4zfmki62nojg
Bibkey:
Cite (ACL):
Mahmoud Hassan and Dipendra Yadav. 2026. Transformer Encoders with Heuristic-Guided Contrastive Learning for Software Coreference Resolution. In Proceedings of Natural Scientific Language Processing (NSLP) @ LREC 2026, pages 270–276, Palma, Mallorca (Spain). ELRA Language Resources Association (ELRA).
Cite (Informal):
Transformer Encoders with Heuristic-Guided Contrastive Learning for Software Coreference Resolution (Hassan & Yadav, NSLP 2026)
Copy Citation: