Distinguishing Japanese Non-standard Usages from Standard Ones

Tatsuya Aoki, Ryohei Sasano, Hiroya Takamura, Manabu Okumura

Abstract

Social media language often deviates from standard dictionary definitions, posing challenges for Natural Language Processing (NLP) tasks. This paper presents an unsupervised method to detect non-standard Japanese word usage (e.g., slang or technical jargon) by measuring the inconsistency between a word's global embedding and its local context. Using Skip-gram with Negative Sampling (SGNS), the researchers demonstrate that comparing a target word's input vector with its context's output vectors effectively flags these linguistic mismatches without requiring large labeled datasets.

Introduction

On social media, words frequently drift from their conventional meanings. A prominent example in Japanese is the word saba (mackerel), which is often used by "computer geeks" to mean "computer server" due to phonetic similarity. Such non-standard usages can lead to significant errors in NLP applications; for instance, machine translation might literally translate a discussion about a server crash as a "mackerel's load increasing."

Because internet slang evolves rapidly, manual labeling is impractical. This research proposes an unsupervised approach to identify these mismatches by leveraging the internal architecture of word embedding models to score the "standardness" of a word's usage in a specific context.

Methodology: Scoring Standardness

The core of the proposed method lies in the Skip-gram with Negative Sampling (SGNS) model. While standard applications typically use only "input" embeddings ($v^{IN}$) for similarity tasks, the authors utilize the relationship between a target word's input embedding and its context words' output embeddings ($v^{OUT}$).

The process involves:

  1. Pre-training: Word embeddings are trained on a balanced "standard" corpus (e.g., BCCWJ) where words primarily retain their dictionary meanings.
  2. Standardness Scoring: For a target word in a new sentence, a score is calculated as a weighted average of the sigmoid-scaled dot products between the target's $v^{IN}$ and the context words' $v^{OUT}$.
  3. Weighting: A decaying weight is applied, giving higher influence to context words closer to the target word.
Figure 2: Comparison of standardness scoring for the word 'saba' (mackerel) in standard vs. non-standard contexts.

A low score indicates that the word appears in a context it usually does not inhabit in standard Japanese, flagging it as "non-standard."

Data and Evaluation

The researchers evaluated their model using a curated dataset of 40 Japanese words with known non-standard meanings across categories like computer terms, company names, and internet slang. Human annotators labeled 2,973 tweets containing these words.

To establish the best "standard" baseline, four corpora were tested:

  • BCCWJ: Balanced Corpus of Contemporary Written Japanese (1.1B tokens).
  • Web: Randomly crawled web sentences (6.0B tokens).
  • Wikipedia: Japanese Wikipedia dump (8.9B tokens).
  • Newspaper: Japanese newspaper archives (15.0B tokens).

Results

The performance was measured using the Area Under the ROC Curve (AUC). The results highlighted several key findings:

  • Vector Choice: Using IN-OUT vectors significantly outperformed the standard IN-IN similarity approach.
  • Corpus Quality: The BCCWJ corpus, despite being the smallest, yielded the best results, suggesting that a "clean" representation of standard language is more critical than data volume.
Figure 5: AUC scores across different models and training corpora, showing the superiority of the SGNS IN-OUT approach on the BCCWJ corpus.

The SGNS model using IN-OUT vectors trained on BCCWJ achieved the highest AUC of 0.875, outperforming both IN-IN models and traditional SVD-based baselines.

Conclusion

This research demonstrates that contextual inconsistency, measured via the interaction of input and output vectors in a Skip-gram model, serves as a powerful proxy for detecting non-standard word usage. Future work aims to address the discovery of the specific new meanings of detected words and extending the method to identify entirely new "coined" terms that do not appear in standard dictionaries.

Summary updated

BibTeX
@inproceedings{aoki2017distinguishing,
  author = {Tatsuya Aoki and Ryohei Sasano and Hiroya Takamura and Manabu Okumura},
  title = {{Distinguishing Japanese Non-standard Usages from Standard Ones}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2017},
  doi = {10.18653/v1/d17-1246},
}
Figure