paper-with-me

홈 › Papers

MASKER: Masked Keyword Regularization for Reliable Text Classification

2020-12-17 · Seung Jun Moon, Sangwoo Mo, Kimin Lee, Jaeho Lee, Jinwoo Shin

Pre-trained language models have achieved state-of-the-art accuracies on various text classification tasks, e.g., sentiment analysis, natural language inference, and semantic textual similarity. However, the reliability of the fine-tuned text classifiers is an often underlooked performance criterion. For instance, one may desire a model that can detect out-of-distribution (OOD) samples (drawn far from training distribution) or be robust against domain shifts. We claim that one central obstacle to the reliability is the over-reliance of the model on a limited number of keywords, instead of looking at the whole context. In particular, we find that (a) OOD samples often contain in-distribution keywords, while (b) cross-domain samples may not always contain keywords; over-relying on the keywords can be problematic for both cases. In light of this observation, we propose a simple yet effective fine-tuning method, coined masked keyword regularization (MASKER), that facilitates context-based prediction. MASKER regularizes the model to reconstruct the keywords from the rest of the words and make low-confidence predictions without enough context. When applied to various pre-trained language models (e.g., BERT, RoBERTa, and ALBERT), we demonstrate that MASKER improves OOD detection and cross-domain generalization without degrading classification accuracy. Code is available at https://github.com/alinlab/MASKER.

📄 PDF Abstract BibTeX arXiv:2012.09392

Code (1)

alinlab/MASKER 공식 구현 pytorch

Tasks

ClassificationDomain GeneralizationGeneral ClassificationNatural Language InferenceOut of Distribution (OOD) DetectionSemantic Textual SimilaritySentiment Analysistext-classificationText Classification

Methods 이 논문이 사용한 방법론

Linear Layer A Linear Layer is a projection $\mathbf{XW + b}$.
WordPiece 설명 없음
Adam 설명 없음
Refunds@Expedia|||How do I get a full refund from Expedia? “How do I get a full refund from Expedia? How do I get a full refund from Expedia? – Call ☎️ +1-(888) 829 (0881) or +1-805-330-4056 or +1-805-330-4056 for Quick Help &…
Linear Warmup With Linear Decay Linear Warmup With Linear Decay is a learning rate schedule in which we increase the learning rate linearly for $n$ updates and then linearly decay afterwards.
Attention 설명 없음
Layer Normalization Unlike batch normalization, Layer Normalization directly estimates the normalization statistics from the summed inputs…
Dropout Dropout is a regularization technique for neural networks that drops a unit (along with connections) at training time with a specified probability $p$ (a common value is…

Similar Papers 제목 키워드 기반

ReMasker: Imputing Tabular Data with Masked Autoencoding

2023-09-25 · Tianyu Du, Luca Melis, Ting Wang

We present ReMasker, a new method of imputing missing values in tabular data by extending the masked autoencoding framework. Compared with prior work, ReMasker is both simple -- besides the missing values (i.e., naturall…

ImputationMissing Values

Unsupervised Text Style Transfer with Padded Masked Language Models

2020-10-02 · EMNLP 2020 11 · Eric Malmi, Aliaksei Severyn, Sascha Rothe

We propose Masker, an unsupervised text-editing method for style transfer. To tackle cases when no parallel source-target pairs are available, we train masked language models (MLMs) for both the source and the target dom…

SentenceSentence FusionStyle TransferText Style Transfer+1

Evaluating Speech-in-Speech Perception via a Humanoid Robot

2023-12-19 · Luke Meyer, Gloria Araiza-Illan, Laura Rachman, Etienne Gaudrain 외

Underlying mechanisms of speech perception masked by background speakers, a common daily listening condition, are often investigated using various and lengthy psychophysical tests. The presence of a social agent, such as…

Speech Synthesis

Ruminating Word Representations with Random Noised Masker

2019-11-08 · Hwiyeol Jo, Byoung-Tak Zhang

We introduce a training method for both better word representation and performance, which we call GROVER (Gradual Rumination On the Vector with maskERs). The method is to gradually and iteratively add random noises to wo…

text-classificationText ClassificationWord Embeddings

Preliminary investigation of the short-term in situ performance of an automatic masker selection system

2023-08-15 · Bhan Lam, Zhen-Ting Ong, Kenneth Ooi, Wen-Hui Ong 외

Soundscape augmentation or "masking" introduces wanted sounds into the acoustic environment to improve acoustic comfort. Usually, the masker selection and playback strategies are either arbitrary or based on simple rules…