Skip to main content

Learning to Substitute Words with Model-based Score Ranking

Publication ,  Conference
Liu, H; Henao, R
Published in: Proceedings of the 2025 Annual Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics Human Language Technologies Long Papers Naacl Hlt 2025
January 1, 2025

Smart word substitution aims to enhance sentence quality by improving word choices; however current benchmarks rely on human-labeled data. Since word choices are inherently subjective, ground-truth word substitutions generated by a small group of annotators are often incomplete and likely not generalizable. To circumvent this issue, we instead employ a model-based score (BARTScore) to quantify sentence quality, thus forgoing the need for human annotations. Specifically, we use this score to define a distribution for each word substitution, allowing one to test whether a substitution is statistically superior relative to others. In addition, we propose a loss function that directly optimizes the alignment between model predictions and sentence scores, while also enhancing the overall quality score of a substitution. Crucially, model learning no longer requires human labels, thus avoiding the cost of annotation while maintaining the quality of the text modified with substitutions. Experimental results show that the proposed approach outperforms both masked language models (BERT, BART) and large language models (GPT-4, LLaMA). The source code is available at https://github.com/Hyfred/Substitute-Words-with-Ranking.

Duke Scholars

Published In

Proceedings of the 2025 Annual Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics Human Language Technologies Long Papers Naacl Hlt 2025

DOI

Publication Date

January 1, 2025

Volume

1

Start / End Page

11551 / 11565
 

Citation

APA
Chicago
ICMJE
MLA
NLM
Liu, H., & Henao, R. (2025). Learning to Substitute Words with Model-based Score Ranking. In Proceedings of the 2025 Annual Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics Human Language Technologies Long Papers Naacl Hlt 2025 (Vol. 1, pp. 11551–11565). https://doi.org/10.18653/v1/2025.naacl-long.576
Liu, H., and R. Henao. “Learning to Substitute Words with Model-based Score Ranking.” In Proceedings of the 2025 Annual Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics Human Language Technologies Long Papers Naacl Hlt 2025, 1:11551–65, 2025. https://doi.org/10.18653/v1/2025.naacl-long.576.
Liu H, Henao R. Learning to Substitute Words with Model-based Score Ranking. In: Proceedings of the 2025 Annual Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics Human Language Technologies Long Papers Naacl Hlt 2025. 2025. p. 11551–65.
Liu, H., and R. Henao. “Learning to Substitute Words with Model-based Score Ranking.” Proceedings of the 2025 Annual Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics Human Language Technologies Long Papers Naacl Hlt 2025, vol. 1, 2025, pp. 11551–65. Scopus, doi:10.18653/v1/2025.naacl-long.576.
Liu H, Henao R. Learning to Substitute Words with Model-based Score Ranking. Proceedings of the 2025 Annual Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics Human Language Technologies Long Papers Naacl Hlt 2025. 2025. p. 11551–11565.

Published In

Proceedings of the 2025 Annual Conference of the Nations of the Americas Chapter of the Association for Computational Linguistics Human Language Technologies Long Papers Naacl Hlt 2025

DOI

Publication Date

January 1, 2025

Volume

1

Start / End Page

11551 / 11565