Unsupervised Lexical Simplification with Context Augmentation

Takashi Wada\(^{1,2}\) Timothy Baldwin\(^{1,2}\) Jey Han Lau\(^{1}\)
\(^1\) School of Computing and Information Systems, The University of Melbourne
\(^2\) Department of Natural Language Processing, MBZUAI
twada@student.unimelb.edu.au tb@ldwin.net``jeyhan.lau@gmail.com


Abstract

We propose a new unsupervised lexical simplification method that uses only monolingual data and pre-trained language models. Given a target word and its context, our method generates substitutes based on the target context and also additional contexts sampled from monolingual data. We conduct experiments in English, Portuguese, and Spanish on the TSAR-2022 shared task, and show that our model substantially outperforms other unsupervised systems across all languages. We also establish a new state-of-the-art by ensembling our model with GPT-3.5. Lastly, we evaluate our model on the SWORDS lexical substitution data set, achieving a state-of-the-art result.1

1 Introduction↩︎

Lexical simplification is the task of replacing a word in context with an easier term without changing its core meaning, to make text easier to read for non-technical audiences, non-native speakers, or people with cognitive disabilities (e.g.dyslexia).

One common approach [1][3] is to use a masked language model (MLM) such as BERT [4] and predict substitutes via word prediction over the masked target word. However, one limitation is that it critically relies on the target context being discriminative of the semantics of the target word, which is not always the case. Given this, we propose a new unsupervised method that performs context augmentation. Specifically, we sample sentences that contain the target word from monolingual data, and identify substitutes that can replace the word in the target and sampled sentences. Based on our experiments in English, Portuguese, and Spanish over the TSAR-2022 shared task [5], we show that our model comfortably outperforms other unsupervised models. We also establish a new state-of-the-art by ensembling our model with InstructGPT [6], and further demonstrate the effectiveness of the method over the related task of lexical substitution.

2 Method↩︎

We propose a fully unsupervised model using pre-trained language models (without fine-tuning) and monolingual data. Given the target word \(x\) and context \(c_{x}\), our model generates substitutes for \(x\) based on not only \(c_{x}\) but also augmented contexts sampled from monolingual data.

2.1 Generation Based on the Target Context↩︎

To generate substitutes of \(x\) given \(c_x\), we extend the lexical substitution approach of [7],2 which generates an aptness score \(S(y|x, c_x)\) for each word \(y\in V\) as follows:3 \[{S}(y|x,c_t)=\underset{k}{\mathrm{max~}}{\mathrm{cos}(f^{k}(y),f(x, c_x))},\footnote{We also add the \textit{global similarity} term to Eqn.~(\ref{eqn_coling}) as proposed by \cite{wada-etal-2022-unsupervised}.}\label{eqn95coling}\tag{1}\] where \(\mathrm{cos}\) denotes cosine similarity; \(f(x, c_x)\) denotes the contextualised embedding of \(x\) in \(c_x\);4 and \(f^{k}(y)\) denotes the decontextualised embeddings of \(y\), represented by \(K\)-clustered embeddings: \(f^{1}(y), ...f^{K}(y)\), which are obtained by first sampling 300 sentences that contain \(y\) from monolingual corpora, and clustering the contextualised embeddings of \(y\) using \(K\)-means (\(K=4\)). For each cluster \(k\), \(f^{k}(y)\) is calculated as \(\dfrac{1}{|C_{y,k}|}\sum_{ c'_y \in C_{y,k}}{f(y,{c'_y})}\), where \(C_{y,k}\) denotes sentences that contain \(y\) and belong to the cluster \(k\).

While this is the state-of-the-art unsupervised method on the SWORDS lexical substitution data set [8], one major limitation is that \({S}(y|x,c_x)\) in Eqn. ([eqn_coling]) heavily depends on \(f(x, c_x)\), suggesting that if the meaning of \(x\) is not well captured by \(f(x, c_x)\), it may retrieve erroneous substitutes. In fact, this is often the case in lexical simplification, where \(x\) is usually a rare word and gets segmented into subword tokens (in which case \(f(x, c_x)\) is represented by the average of the subword embeddings). For instance, given the target word bole, the model retrieves toe as one of the top-10 substitutes, likely because the segmented bol ##e and to ##e share the same subword ##e, suggesting that words that share the same token(s) tend to have similar representations regardless of their semantic similarity. To mitigate this, when \(x\) is tokenised into multiple tokens, we add the term \(\alpha \mathrm{cos}(E(x),E(y))\) to Eqn. ([eqn_coling]), where \(\alpha\) is a scalar value and \(E(x)\) and \(E(y)\) are pre-trained static embeddings of \(x\) and \(y\); we use fastText [9] for this purpose. Since static embeddings are pre-trained with a large vocabulary size (e.g.200k words), they tend to represent the semantics of rare words better than averaging embeddings of their (suboptimally tokenised) subwords.5

We tune \(\alpha\) on the dev set and set it to 0.2, 0.7 and 0.6 for English, Spanish, and Portuguese, respectively. For embedding model \(f\), we use DeBERTa-V3 [11] for English, and monolingual BERT models for Spanish and Portuguese [12], [13]. We extract the \(M_1=15\) words with the highest scores.

2.2 Generation with Context Augmentation↩︎

Following previous work on lexical simplification [1][3], we also generate substitutes based on MLM prediction, by replacing \(x\) with a mask token and performing word prediction. In this approach, the predictions are not affected by the embedding quality or tokenisation of \(x\). However, if we rely solely on the target context \(c_x\) as in previous work, the model has difficulty predicting substitutes when the context is not very specific; e.g.The bole was cut into pieces.6 To address this problem, we perform context augmentation using monolingual data. Following the process of generating decontextualised embeddings in [7], we sample 300 sentences that contain \(x\) from monolingual corpora and cluster them using \(K\)-means (\(K=4\)).7 For each sentence in cluster \(k\), we replace \(x\) with a mask token and feed it into T5 [14] in English, or mT5 [15] in Spanish and Portuguese, to generate 20 substitutes using beam search,8 and retain those that contain only one word (which can comprise multiple subwords). Then, within each cluster \(k\), we aggregate the substitutes across all sentences \(c'_x \in C_{x,k}\) and extract the \(M_2=25\) most-generated words. For each substitute candidate \(y\), we calculate the score \({\tilde{S}}(y|x, c_x)\) as: \[\begin{gather} \tilde{S}(y|x, c_x)=\sum_{k}w_{k} \sum_{c'_x \in C_{x,k}}{\mathrm{I}(y|c'_x))},\label{t595score} \end{gather}\tag{2}\] where \({\mathrm{I}(y|c'_x))}\) denotes a function that returns 1 if \(y\) is generated by T5 given the context \(c'_x\), and 0 otherwise; and \(w_k\) denotes the number of substitutes in the cluster \(k\) that overlap with the \(M_1\) words generated from the target context \(c_x\) in Section [sec:generation_tgt].9 Here, \(w_k\) roughly corresponds to the semantic relevance of the cluster \(k\) to \(c_x\); e.g.if \(w_k=0\), the candidates in the cluster \(k\) would reflect a different sense of \(x\) from the one in the target context and hence is not considered.10 Intuitively, this scoring function favours substitutes that appear frequently in sampled contexts, weighted by how semantically relevant the substitute’s cluster is to the original context — we will show its effectiveness with an example in Section 4. Finally, we retrieve the \(M_2\) words with the highest scores and combine them with the \(M_1\) candidates generated from \(c_x\).

2.3 Reranking↩︎

Given \(M_1{+}M_2\) candidates11 (potentially with overlap), we rerank them using four different metrics: (i) embedding similarity; (ii) LM perplexity; (iii) word frequency; and (iv) \(\tilde{S}(y|x,c_x)\) in Eqn. ([t5_score]). For the first metric, we use the reranking method proposed by [7]. For each candidate \(y\), they replace \(x\) in \(c_x\) with \(y\) and calculate the cosine similarity between the contextualised embeddings \(f(x, c_x)\) and \(f(y, c_x)\).12 For the LM perplexity metric, we replace \(x\) in \(c_x\) with a mask token and calculate the probability of generating \(y\) using T5; this score helps measure the syntactic fit of \(y\) in \(c_x\). The third metric corresponds to the frequency of \(y\) in monolingual data,13 which serves as a proxy for lexical simplicity. Finally, the last metric measures how often \(y\) can substitute \(x\) in the augmented contexts. Using each metric, we obtain four independent rankings \(R_1, R_2, R_3, R_4\) and calculate their weighted sum: \(r_1R_1{+}r_2R_2{+}r_3R_3{+}r_4R_4\), which is then sorted in ascending order to produce the final ranking. We tune the weights \(\{r_1, r_2, r_3, r_4\}\) based on the dev set for each language; \(\{5, 1, 1, 1\}\), \(\{3, 1, 0, 3\}\), and \(\{3, 1, 0, 2\}\) for English, Spanish and Portuguese, respectively.

3 Experiments↩︎

max width=

3.1 Data and Evaluation↩︎

We experiment on the TSAR-2022 shared task on multilingual lexical simplification [5], [17][19]. We use its trial data as our dev set (about 10 instances per language) and evaluate models on the test set, which contains about 370 instances per language. Evaluation is according to four metrics: Accuracy@1 = % of instances for which the top-1 substitute matches one of the gold candidates; Accuracy@ktop1? = % of instances where one of the top-\(k\) substitutes matches the top-1 gold label; Potential@k = % of instances where at least one of the top-\(k\) substitutes is included in the gold candidates; and MAP@k = the mean average precision of the top-\(k\) candidates.

3.2 Baselines↩︎

We compare our method against several systems submitted to the shared task. In all languages, UniHD [20] is by far the best system across all metrics. It prompts GPT-3.5 (text-davinici-002, a.k.a.InstructGPT: [6], [21]) to provide ten easier alternatives for the target word \(x\) given \(c_x\), in two variants: zero-shot and ensemble. The former generates substitutes based on the target word and context only, whereas the latter ensembles the predictions with six different prompts and temperatures; among them, four prompts include one or two question–answer pairs retrieved from the dev set to allow InstructGPT to perform in-context learning (as detailed in Table [prompt_template] in Appendix). While the ensemble model achieves the best results across all languages, it is not exactly comparable with the other systems as InstructGPT is supervised on various tasks with human feedback. As such, we also include the second-best systems (which differ for each language) as baselines, namely: MANTIS [1], GMU-WLV [22], and PresiUniv [23]. We also include the shared task baseline LSBert [2], [3]. All of these systems are based on pre-trained MLMs like BERT [4] and RoBERTa [24], and three of them also employ static word embeddings similarly to our model. Lastly, we also include [7] with and without fastText in our baselines.

3.3 Results↩︎

Table [result_tsar] presents the results in English, Portuguese, and Spanish. The first five rows are based on InstructGPT: the first two show the zero-shot/ensemble performance reported in [20], and the next two show the results when we replace text-davinci-002 with gpt-3.5-turbo. The results show that gpt-3.5-turbo substantially outperforms text-davinci-002. The last row for InstructGPT shows the result when we prompt the model to provide simplified alternatives for \(x\) without the target context (shown as “w/o context”), which indicates that the model performs very well even without access to the target context. This result demonstrates that the model has memorised lists of synonyms, and that most instances are not very context-dependent; we will return to discuss this in Appendix [error95analysis].

The next five rows (marked “Unsupervised”) show the performance of the unsupervised models, including ours. Our model clearly outperforms the other systems across all languages. In English, it even outperforms the zero-shot GPT-3.5-turbo in Potential@3 (94.1 vs.) despite the substantial differences between these models in terms of the model size (i.e.435M and 800M parameters are used for DeBERTa-V3 and T5, respectively, and 175B parameters for GPT-3.5) and the language resources to use (i.e.our model employs monolingual data only while GPT-3.5 is instructed with human feedback). The strong performance in English is largely owing to the use of better LMs (DeBERTa-V3 and T5) compared to the ones used in Spanish and Portuguese (BERT and mT5), as evidenced by the substantial performance drop when we use BERT and mT5 for English.14 The comparison of [7] with and without fastText demonstrates the effectiveness of including static embeddings, especially in Portuguese and Spanish. This is because the vocabulary size of Portuguese/Spanish BERT is much smaller than that of DeBERTa-V3 (30/31k vs.128k), and a large number of target words are segmented into subwords and embedded poorly. Lastly, we try ensembling: (1) the six rankings from GPT-3.5-turbo-ens; (2) the word frequency ranking (which we find boosts performance); and (3) the final ranking of OURS. The last two rows show the performance for (1) + (2) vs.(1) + (2) + (3). The ensemble of eight rankings including our method establishes a new state-of-the-art across all languages in most metrics, suggesting that our model is somewhat complementary to InstructGPT. In Appendix, we provide more detailed results (Table [result_tsar_all]) and error analysis (Appendix [error95analysis]).

max width=

max width=

max width=

3.4 Experiment on Lexical Substitution↩︎

We also evaluate our model on the English lexical substitution task over the SWORDS data set [8]. For lexical substitution, there is no restriction on lexical simplicity, so we drop the word frequency feature in reranking (i.e.set \(r_3\) to \(0\)).15 Table [result_swords] shows the results in the lenient and strict settings.16 \(F_a\) and \(F_c\) denote the F1 scores given two different sets of gold labels \(a\) and \(c\), where \(a \subset c\). In the strict setting, our model outperforms the best unsupervised model of [7] and also the (non-LLM) state-of-the-art semi-supervised model of [25], which employs BLEURT [26] and a sentence-paraphrasing model, both of which are pre-trained on labelled data. Lastly, we also ensemble our model with the six outputs of GPT-3.5, and establish a new state-of-the-art.

4 Ablation Study↩︎

We perform ablation studies on the effect of clustering in Eqn. ([t5_score]), and present the results in Table [ablation_table]; the scores are averaged over English, Portuguese, and Spanish. “Soft Retrieval” indicates the performance when we take the weighted sum of the clusters as we propose in Eqn. ([t5_score]); “Hard Retrieval” denotes when we set \(w_k = 1\) for the closest cluster and \(w_k = 0\) otherwise; and “No Clustering” denotes when we set \(w_k = 1\) for all the clusters, which is equivalent to performing no clustering. The table shows that our proposed method performs the best overall, albeit with a small margin over “No Clustering”. In fact, this is more or less expected since the majority of target words are used in their predominant senses (as evidenced by the strong performance of GPT-3.5 w/o context in Table [result_tsar]), in which case, retrieving the most-generated words across all sampled sentences would suffice to produce good substitutes.

Table [ablation_example] shows one example where clustering plays a crucial role (more predictions plus another example are shown in Table [examples] in Appendix 8). In this example, the target word elite is used as a noun meaning “a select group”, but all clusters except for Cluster 2 produce the substitutes for elite in adjectival senses. Therefore, if we naïvely aggregate the words across all clusters (“No Clustering”), we end up retrieving adjectives such as top and professional, whereas our weighted-sum approach (“Soft Retrieval”) successfully extracts good substitutes from the relevant clusters.

5 Related Work↩︎

Recent lexical simplification models are based on generating substitute candidates using MLM prediction and reranking, using features such as fastText embedding similarities and word frequency [1], [2]. Some also use external tools or resources such as POS taggers or paraphrase databases [3], [23]. However, [20] show that GPT-3.5 substantially outperforms previous models on the TSAR-2022 shared task. Similar to this work, our prior work [27] samples sentences from monolingual corpora and use them to paraphrase multiword expressions with literal expressions (composed of 1 or 2 words).

6 Conclusion↩︎

We propose a new unsupervised lexical simplification method with context augmentation. We show that our model outperforms previous unsupervised methods, and by combining our model with InstructGPT, we achieve a new state-of-the-art for lexical simplification and substitution.

7 Limitations↩︎

One limitation of our model is that it performs context augmentation using monolingual data, which incurs additional time and computational cost. However, if we construct a comprehensive list of complex words \(X\) and sample sentences containing \(x \in X\) in advance, we can pre-compute the generation counts: \(\sum_{c'_x \in C_{x,k}}{\mathrm{I}(y|c'_x)}\) in Eqn. (2 ) without considering the target context \(c_x\) (which is required to calculate \(w_k\) only). Therefore, we can still generate substitutes in an online manner during inference as long as the target word \(x\) is included in \(X\).

Compared to the InstructGPT baseline, our model critically relies on word embeddings and MLM prediction, both of which hinge on word co-occurrence statistics. This sometimes results in wrongly predicting antonyms of the target word as substitutes due to the similarity of their surrounding contexts (e.g.famed for infamous; more specific examples and error types are shown in Appendix [error95analysis]). On the other hand, InstructGPT benefits from supervision with human feedback and also makes use of lexical knowledge provided in various forms of texts during pre-training, including dictionaries, thesauri, and web discussions about meanings of words.17 This is clearly one of the reasons why InstuctGPT substantially outperforms the other unsupervised systems, including ours; in fact, we find that it performs extremely well even without access to the target context (Table [result_tsar]), motivating a call for including more context-sensitive instances in lexical substitution/simplification data sets; more discussions follow in Appendix [error95analysis].

8 Impact of Clustering↩︎

max width=

Table [examples] shows two examples where clustering plays a crucial role; the first instance was partially shown in Table [ablation95example] and discussed in Section 4. In the second instance, Soft Retrieval retrieves substitutes that are relevant to the meaning of the target word extend given this particular context. Without clustering, on the other hand, we get a mixed bag of words that represent different senses of extend (with more frequent senses ranked higher). In both cases, GPT-3.5 produces context-aware substitutes, although this is not always the case (as we discuss in the next section), and some of the candidates do not fit naturally in context (e.g.ruling class is predicted as the best substitute for elite used in ruling elite).

9 Error Analysis↩︎

Table [error_analysis_example] shows some examples of outputs from our model and GPT-3.5-turbo-ens on the lexical simplification and substitution tasks. In the first example, our model generates near-synonyms of the target word infamous with both negative and positive connotative meaning (e.g.notorious and famed, respectively), while GPT-3.5 generates negative-connotation words like disgraceful only. This is because our model heavily relies on word representations and assigns high scores to those words that appear in similar contexts. Similarly, our model incorrectly predicts notoriously as a substitute for infamous despite its ungrammaticality in this context, likely due to the similarity of their embeddings; we surmise that using a part-of-speech tagger would help alleviate this problem.18 In the second instance, our model is overly affected by the target context and generates words that often appear in similar contexts to the target context but have different semantics from the target word strategic, e.g.global and economic. In comparison, GPT-3.5 generates more correct substitutes; however, some of them do not sound quite natural in this context (e.g.calculated). This is more evident in the third instance, where some of the “gold” substitutes are semantically marked when put into this context — the original phrase in defiance of calls means “opposition against calls”, but in resistance of calls and in rebellion of calls (both predicted by GPT-3.5 and included in the gold labels) do not sound natural. These examples suggest that human annotators are sometimes oblivious to the context and consider substitutes largely based on the out-of-context similarities of the words,19 which motivates a call for revisiting the exact goal of lexical simplification/substitution and its annotation schemes, e.g.whether the words should be annotated based on the similarity of lexical semantics or acceptability in context. The same concern is also raised by the strong performance of GPT-3.5 without access to the target context (Table [result_tsar]).

In the last three examples, which are taken from the SWORDS lexical substitution data set, the sensitivity of our model to context works favourably and results in better substitutes than GPT-3.5, which, in those examples, generates substitutes without considering the context very much (in contrast to the examples in Table [error95analysis95example]). For these instances, we also tried using the ChatGPT web interface (the free version, accessed in May 2023) and found that its outputs are highly stochastic even with the same prompt:20 sometimes it returns substitutes that are quite similar to the ones generated by GPT-3.5-turbo, and other times it generates more context-aware and accurate substitutes (e.g.business for service and probably/presumably for likely). As such, further investigation is needed to see how carefully the model pays attention to the context (given different prompts), and how well it works for instances that require a profound understanding of the context.

max width=

max width=

max width=

References↩︎

[1]
Xiaofei Li, Daniel Wiechmann, Yu Qiao, and Elma Kerz. 2022. https://aclanthology.org/2022.tsar-1.27. In Proceedings of the Workshop on Text Simplification, Accessibility, and Readability (TSAR-2022), pages 243–250, Abu Dhabi, United Arab Emirates (Virtual). Association for Computational Linguistics.
[2]
Jipeng Qiang, Yun Li, Zhu Yi, Yunhao Yuan, and Xindong Wu. 2020. Lexical simplification with pretrained encoders. Thirty-Fourth AAAI Conference on Artificial Intelligence, page 8649–8656.
[3]
Jipeng Qiang, Yun Li, Yi Zhu, Yunhao Yuan, and Xindong Wu. 2020. http://arxiv.org/abs/2006.14939. CoRR, abs/2006.14939.
[4]
Jacob Devlin, Ming-Wei Chang, Kenton Lee, and Kristina Toutanova. 2019. https://doi.org/10.18653/v1/N19-1423. In Proceedings of the 2019 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 1 (Long and Short Papers), pages 4171–4186, Minneapolis, Minnesota. Association for Computational Linguistics.
[5]
Horacio Saggion, Sanja Štajner, Daniel Ferrés, Kim Cheng Sheang, Matthew Shardlow, Kai North, and Marcos Zampieri. 2022. https://aclanthology.org/2022.tsar-1.31. In Proceedings of the Workshop on Text Simplification, Accessibility, and Readability (TSAR-2022), pages 271–283, Abu Dhabi, United Arab Emirates (Virtual). Association for Computational Linguistics.
[6]
Long Ouyang, Jeffrey Wu, Xu Jiang, Diogo Almeida, Carroll Wainwright, Pamela Mishkin, Chong Zhang, Sandhini Agarwal, Katarina Slama, Alex Gray, John Schulman, Jacob Hilton, Fraser Kelton, Luke Miller, Maddie Simens, Amanda Askell, Peter Welinder, Paul Christiano, Jan Leike, and Ryan Lowe. 2022. https://openreview.net/forum?id=TG8KACxEON. In Advances in Neural Information Processing Systems.
[7]
Takashi Wada, Timothy Baldwin, Yuji Matsumoto, and Jey Han Lau. 2022. https://aclanthology.org/2022.coling-1.366. In Proceedings of the 29th International Conference on Computational Linguistics, pages 4172–4185, Gyeongju, Republic of Korea. International Committee on Computational Linguistics.
[8]
Mina Lee, Chris Donahue, Robin Jia, Alexander Iyabor, and Percy Liang. 2021. https://doi.org/10.18653/v1/2021.naacl-main.345. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 4362–4379, Online. Association for Computational Linguistics.
[9]
Piotr Bojanowski, Edouard Grave, Armand Joulin, and Tomas Mikolov. 2017. https://doi.org/10.1162/tacl_a_00051. Transactions of the Association for Computational Linguistics, 5:135–146.
[10]
Jeffrey Pennington, Richard Socher, and Christopher Manning. 2014. https://doi.org/10.3115/v1/D14-1162. In Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), pages 1532–1543, Doha, Qatar. Association for Computational Linguistics.
[11]
Pengcheng He, Jianfeng Gao, and Weizhu Chen. 2023. https://openreview.net/forum?id=sE7-XhLxHA. In The Eleventh International Conference on Learning Representations.
[12]
José Cañete, Gabriel Chaperon, Rodrigo Fuentes, Jou-Hui Ho, Hojin Kang, and Jorge Pérez. 2020. Spanish pre-trained BERT model and evaluation data. In PML4DC at ICLR 2020.
[13]
Fábio Souza, Rodrigo Nogueira, and Roberto Lotufo. 2020. : Pretrained BERT models for Brazilian Portuguese. In Intelligent Systems, pages 403–417, Cham. Springer International Publishing.
[14]
Colin Raffel, Noam Shazeer, Adam Roberts, Katherine Lee, Sharan Narang, Michael Matena, Yanqi Zhou, Wei Li, and Peter J. Liu. 2020. http://jmlr.org/papers/v21/20-074.html. Journal of Machine Learning Research, 21(140):1–67.
[15]
Linting Xue, Noah Constant, Adam Roberts, Mihir Kale, Rami Al-Rfou, Aditya Siddhant, Aditya Barua, and Colin Raffel. 2021. https://doi.org/10.18653/v1/2021.naacl-main.41. In Proceedings of the 2021 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, pages 483–498, Online. Association for Computational Linguistics.
[16]
Robyn Speer. 2022. https://doi.org/10.5281/zenodo.7199437. https://doi.org/10.5281/zenodo.7199437.
[17]
Sanja Štajner, Daniel Ferrés, Matthew Shardlow, Kai North, Marcos Zampieri, and Horacio Saggion. 2022. https://doi.org/10.3389/frai.2022.991242. Frontiers in Artificial Intelligence, 5.
[18]
Daniel Ferrés and Horacio Saggion. 2022. https://aclanthology.org/2022.lrec-1.383. In Proceedings of the Thirteenth Language Resources and Evaluation Conference, pages 3582–3594, Marseille, France. European Language Resources Association.
[19]
Kai North, Marcos Zampieri, and Tharindu Ranasinghe. 2022. https://aclanthology.org/2022.coling-1.529. In Proceedings of the 29th International Conference on Computational Linguistics, pages 6057–6062, Gyeongju, Republic of Korea. International Committee on Computational Linguistics.
[20]
Dennis Aumiller and Michael Gertz. 2022. https://aclanthology.org/2022.tsar-1.28 In Proceedings of the Workshop on Text Simplification, Accessibility, and Readability (TSAR-2022), pages 251–258, Abu Dhabi, United Arab Emirates (Virtual). Association for Computational Linguistics.
[21]
Tom Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah, Jared D Kaplan, Prafulla Dhariwal, Arvind Neelakantan, Pranav Shyam, Girish Sastry, Amanda Askell, Sandhini Agarwal, Ariel Herbert-Voss, Gretchen Krueger, Tom Henighan, Rewon Child, Aditya Ramesh, Daniel Ziegler, Jeffrey Wu, Clemens Winter, Chris Hesse, Mark Chen, Eric Sigler, Mateusz Litwin, Scott Gray, Benjamin Chess, Jack Clark, Christopher Berner, Sam McCandlish, Alec Radford, Ilya Sutskever, and Dario Amodei. 2020. https://proceedings.neurips.cc/paper/2020/file/1457c0d6bfcb4967418bfb8ac142f64a-Paper.pdf. In Advances in Neural Information Processing Systems, volume 33, pages 1877–1901. Curran Associates, Inc.
[22]
Kai North, Alphaeus Dmonte, Tharindu Ranasinghe, and Marcos Zampieri. 2022. https://aclanthology.org/2022.tsar-1.30. In Proceedings of the Workshop on Text Simplification, Accessibility, and Readability (TSAR-2022), pages 264–270, Abu Dhabi, United Arab Emirates (Virtual). Association for Computational Linguistics.
[23]
Peniel Whistely, Sandeep Mathias, and Galiveeti Poornima. 2022. https://aclanthology.org/2022.tsar-1.22. In Proceedings of the Workshop on Text Simplification, Accessibility, and Readability (TSAR-2022), pages 213–217, Abu Dhabi, United Arab Emirates (Virtual). Association for Computational Linguistics.
[24]
Yinhan Liu, Myle Ott, Naman Goyal, Jingfei Du, Mandar Joshi, Danqi Chen, Omer Levy, Mike Lewis, Luke Zettlemoyer, and Veselin Stoyanov. 2019. http://arxiv.org/abs/1907.11692. CoRR, abs/1907.11692.
[25]
Jipeng Qiang, Kang Liu, Yun Li, Yunhao Yuan, and Yi Zhu. 2023. https://doi.org/10.18653/v1/2023.acl-long.206. In Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 3731–3746, Toronto, Canada. Association for Computational Linguistics.
[26]
Thibault Sellam, Dipanjan Das, and Ankur Parikh. 2020. https://doi.org/10.18653/v1/2020.acl-main.704. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 7881–7892, Online. Association for Computational Linguistics.
[27]
Takashi Wada, Yuji Matsumoto, Timothy Baldwin, and Jey Han Lau. 2023. https://doi.org/10.18653/v1/2023.findings-acl.290. In Findings of the Association for Computational Linguistics: ACL 2023, pages 4732–4746, Toronto, Canada. Association for Computational Linguistics.

  1. Code is available at: https://github.com/twadada/lexsub_decontextualised.↩︎

  2. Lexical substitution is closely related to lexical simplification, with no constraint on the lexical complexity of \(x\).↩︎

  3. We set \(|V|\) to 20,000 and 30,000 for the lexical simplification and substitution tasks, respectively.↩︎

  4. Obtained by feeding \(c_x\) into a pre-trained LM \(f\) and averaging the embeddings of \(x\) across multiple layers.↩︎

  5. While fastText similarly makes use of character \(n\)-grams to represent words, it also trains a unique representation for each word, which is not shared with any other words (e.g.the word embedding of her is constructed by its character \(n\)-grams plus the special sequence <her>, where < and > correspond to the beginning and end of token). We also tried using GloVe [10] instead of fastText in English, and observed comparable results.↩︎

  6. While previous work concatenates the masked sentence with the original (unmasked) sentence, it does not completely solve this problem.↩︎

  7. Note that [7] sample sentences for generating \(f^{k}(y)\), not for augmenting the contexts of \(x\).↩︎

  8. In English, when the mask token directly follows the article an or a, we replace one of them with the other and feed the modified sentence to T5 and generate another 20 outputs. This way, we can mitigate the morphophonetic bias reported in [7] (e.g.most of the generated substitutes for accord start with a vowel sound).↩︎

  9. In English, \(\max_{k} w_k\) ranges from 0 to 12 (5.9 on average) with \(M_1 = 15\) and \(M_2 = 25\).↩︎

  10. When \(w_k =0\) for all clusters, we set \(w_k\) to 1.↩︎

  11. Following [7], we discard lexically-similar candidates, as measured by edit distance.↩︎

  12. As in Section [sec:generation_tgt], we add \(\alpha \mathrm{cos}(E(x),E(y))\) when \(x\) is segmented into multiple tokens.↩︎

  13. We use the wordfreq Python library [16].↩︎

  14. The exact scores are 69.4, 58.7, 45.0, and 88.2 for ACC@1, ACC@3Top1?, MAP@3, and Potential@3, resp.↩︎

  15. We also double \(M1/M2\) to \(30/50\) to make sure that our model provides top-50 words, following [7].↩︎

  16. In the lenient setting, generated words are filtered out if their aptness scores are not annotated in SWORDS, whereas in the strict setting, all words are considered in the evaluation.↩︎

  17. This is evidenced by the fact that InstuctGPT can answer some questions that ask for very specific knowledge of words and phrases, such as their etymology.↩︎

  18. Another idea is to increase the weight for the LM perplexity in reranking, but it comes with a trade-off as it increases the unwanted bias of the target context.↩︎

  19. Similarly, in Spanish and Portuguese, annotators suggest both masculine and feminine nouns given a nominal target word. [7] make a similar observation in Italian.↩︎

  20. We have also found that it often outputs an opening line such as “Here are ten alternative words for ...”, while GPT-3.5-turbo (accessed via OpenAI API) usually returns a list of substitutes only.↩︎