Hostname: page-component-74656f9884-6grmk Total loading time: 0 Render date: 2026-11-06T02:40:54.923Z Has data issue: false hasContentIssue false

Parameter-efficient feature-based transfer for paraphrase identification

Published online by Cambridge University Press:  19 December 2022

Xiaodong Liu*
Affiliation:
Graduate School of Information Science and Technology, Hokkaido University, Sapporo, Hokkaido, Japan
Rafal Rzepka
Affiliation:
Faculty of Information Science and Technology, Hokkaido University, Sapporo, Hokkaido, Japan
Kenji Araki
Affiliation:
Faculty of Information Science and Technology, Hokkaido University, Sapporo, Hokkaido, Japan
*
*Corresponding author. E-mail: xiaodongliu@ist.hokudai.ac.jp
Rights & Permissions [Opens in a new window]

Abstract

There are many types of approaches for Paraphrase Identification (PI), an NLP task of determining whether a sentence pair has equivalent semantics. Traditional approaches mainly consist of unsupervised learning and feature engineering, which are computationally inexpensive. However, their task performance is moderate nowadays. To seek a method that can preserve the low computational costs of traditional approaches but yield better task performance, we take an investigation into neural network-based transfer learning approaches. We discover that by improving the usage of parameters efficiently for feature-based transfer, our research goal can be accomplished. Regarding the improvement, we propose a pre-trained task-specific architecture. The fixed parameters of the pre-trained architecture can be shared by multiple classifiers with small additional parameters. As a result, the computational cost left involving parameter update is only generated from classifier-tuning: the features output from the architecture combined with lexical overlap features are fed into a single classifier for tuning. Furthermore, the pre-trained task-specific architecture can be applied to natural language inference and semantic textual similarity tasks as well. Such technical novelty leads to slight consumption of computational and memory resources for each task and is also conducive to power-efficient continual learning. The experimental results show that our proposed method is competitive with adapter-BERT (a parameter-efficient fine-tuning approach) over some tasks while consuming only 16% trainable parameters and saving 69-96% time for parameter update.

Information

Type
Article
Copyright
© The Author(s), 2022. Published by Cambridge University Press
Figure 0

Figure 1. Parameters that need to be updated for each PI, NLI, or STS task. The underlined denotes our work.

Figure 1

Figure 2. Parameter-efficient feature-based transfer for power-efficient continual learning.

Figure 2

Figure 3. PAN.

Figure 3

Figure 4. PAWS-wiki.

Figure 4

Figure 5. Modeling of initial sentence-pair representations.

Figure 5

Figure 6. Mapping mechanism of pre-training.

Figure 6

Figure 7. During inference, each sentence of any sentence pairs can obtain two types of latent representations.

Figure 7

Table 1. Dual weighting scheme.

Figure 8

Figure 8. Sentence length.

Figure 9

Figure 9. Absolute difference of sentence length.

Figure 10

Figure 10. Jaccard distance.

Figure 11

Figure 11. Digit-count.

Figure 12

Table 2. Dsicriminative similarities are shown for the spaces pre-trained “with digit-count”.

Figure 13

Table 3. Dsicriminative similarities are shown for the spaces pre-trained “without digit-count”.

Figure 14

Figure 12. Reproducibility test for “with digit-count”.

Figure 15

Figure 13. Reproducibility test for “without digit-count”.

Figure 16

Table 4. Latent space-related features and lexical overlap features.

Figure 17

Table 5. The experimental results of the ablation study. The bold values indicate the best performance for both pre-trained types.

Figure 18

Table 6. Discriminative similarity is not reflected by “no reward” model “with digit-count”.

Figure 19

Table 7. Dsicriminative similarity is not reflected by “no reward” model “without digit-count”.

Figure 20

Table 8. The experimental results scored on ten tasks. For clear illustration, the omitted unit of all accuracy metrics is %. The number below each task name is the size of training dataset. The underlinedvalues indicate better performance than the upper bound.

Figure 21

Table 9. The experimental results of ten tasks tuned with only 3 training epochs on adapter-BERT. The underlined values indicate decreased performance. The bold underlined values indicate significantly decreased performance.

Figure 22

Figure 14. Sentence-pair distributions (predicted test dataset of PARADE) at each level of Jaccard distance from 0.70 to 0.80.

Figure 23

Figure 15. Accuracies of paraphrase identification (predicted test dataset of PARADE) at each level of Jaccard distance from 0.70 to 0.80.

Figure 24

Figure 16. Cosine similarities in (non)paraphrase space for sentence pairs (PARADE test dataset) at Jaccard distance 0.78.