---
title: "Analyzing Semantic Changes in Japanese Words Using BERT"
description: "How BERT and two ways of grouping word usages reveal changes in Japanese magazine language, and where dictionaries and clustering fall short."
canonical: "https://research.elamur.ai/free/en/papers/kobayashi-2021-analyzing-semantic-changes-japanese-words/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/kobayashi-2021-analyzing-semantic-changes-japanese-words/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2021](https://md.research.elamur.ai/free/en/papers/2021/) / Analyzing Semantic Changes in Japanese Words Using BERT

# Analyzing Semantic Changes in Japanese Words Using BERT

Paper · 2021 · Kazuma Kobayashi, Taichi Aida and Mamoru Komachi

**Authors:** [Kazuma Kobayashi](https://md.research.elamur.ai/free/en/authors/kazuma-kobayashi/), [Taichi Aida](https://md.research.elamur.ai/free/en/authors/taichi-aida/) and [Mamoru Komachi](https://md.research.elamur.ai/free/en/authors/mamoru-komachi/) · **Year:** 2021 · **Venue:** Proceedings of the 35th Pacific Asia Conference on Language, Information and Computation · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

Proceedings of the 35th Pacific Asia Conference on Language, Information and Computation · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/2021.paclic-1.29/)
- [PDF](https://aclanthology.org/2021.paclic-1.29.pdf)

## Summary

A word can remain common while the reason people use it changes. In the Japanese magazines studied here, ボタン could refer to a button on clothing or to a control on a machine. Counting occurrences of ボタン would combine those uses. Kobayashi and colleagues ask whether a computer can separate the occurrences by examining the sentences around them, then show how the balance among uses changed over time. Their study follows 42 Japanese words already known for changes in meaning or usage, using magazines published from 1898 to 1997.

Both approaches start by using the Japanese version of BERT to turn each occurrence into a vector, a list of numbers that depends on its sentence. The dictionary-based approach compares each occurrence with examples of senses listed in a Japanese dictionary. The clustering-based approach groups the occurrences by how close their vectors are, leaving the researchers to interpret the groups afterward. Both approaches then chart each group’s share of a word’s occurrences in successive 25-year periods. The authors judge whether the groups represent the expected earlier and later uses and whether their shares move in the expected directions. The comparison brings together the study of meaning and the use of numerical representations in [lexical semantics and word embeddings](https://md.research.elamur.ai/free/en/topics/lexical-semantics/).

By that qualitative assessment, clustering with k-means succeeded for 29 words and the dictionary approach for 21. K-means could be applied throughout the target list. The dictionary approach had enough examples to run for 33 of the 42 words. It nonetheless recovered some changes that k-means missed, especially where an earlier or later use was scarce in the magazines. Clustering had an advantage when a relevant use was absent from the dictionary’s sense list or poorly represented by its examples. For ボタン, the dictionary distinguished the two kinds of button, yet the corpus groups produced by k-means showed the expected shift more clearly.

The authors also changed the dictionary and the clustering algorithm. Another dictionary recovered the shift in 自然 that the main comparison missed. Replacing k-means with the density-based method DBSCAN led to 11 successes, with many occurrences left outside the ordinary groups. Inspection of the sentences helped explain these outcomes. BERT sometimes grouped occurrences by features such as being part of a compound, and those groups could cut across the historical distinction the researchers wanted to trace. The study shows how much the resulting account depends on the available sentences, the grouping procedure, and the linguistic interpretation of the groups.

## Deep dive: Analyzing Semantic Changes in Japanese Words Using BERT

How BERT and two ways of grouping word usages reveal changes in Japanese magazine language, and where dictionaries and clustering fall short. · about 31 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### A word’s history includes changes in the balance of its uses

A printed form can have several jobs. Some are familiar to a contemporary reader, while others are easier to recognize in older writing. When earlier and later writers tend to use the form differently, the historical question concerns the distribution of those jobs. Which uses appear in the earlier material? Which become prominent later? Do the texts show a gradual movement in their relative frequency? Such questions are part of [historical linguistics and language change](https://md.research.elamur.ai/free/en/topics/language-change/).

The paper looks for changes in dominant use. This framing matters because a later dominant sense can coexist with the one it displaces in frequency. The clearest evidence for a shift may be a falling share for an earlier use alongside a rising share for a later one. Each occurrence supplies only a sentence in which the word has some function. An account of change emerges when those occurrences can be grouped in linguistically meaningful ways and then placed in time.

For instance, the paper considers a transition from the use of 非常 for something out of the ordinary to its use as a degree adverb meaning *very*. The task is to recognize what 非常 is doing in a particular sentence and then see whether the mix changes across dated publications. An inventory that acknowledges both uses can guide this inquiry. A collection of actual sentences is what makes it possible to examine their relative prevalence in the material under study.

There is also a question about what counts as a use. For 尋常, the authors are interested in an earlier ordinary or normal meaning and a later pattern involving negation. The distinction has to do with the expression in which the word occurs as well as its gloss in isolation. An approach that can detect such a pattern may tell a more informative story about the word’s history, even when the pattern is hard to express as a separate dictionary definition. That possibility makes the grouping stage central to the comparison.

The paper places quantitative work of this kind in the context of linguistics, sociology, and [lexicography](https://md.research.elamur.ai/free/en/concepts/lexicography/). For a historical account of meaning, an indication that a word changed is only part of the desired explanation. A researcher may want to identify the kinds of sentence use involved and follow their relative prominence. For a dictionary, the relationship between corpus examples and senses is itself a subject of inquiry. A historical distribution can make a useful distinction visible, and an existing dictionary can help an analyst recognize what that distinction is.

#### From one representation per word to one per occurrence

The approach builds on the idea that where a word appears helps characterize what it means. In computational work, that idea can be implemented by turning patterns of occurrence into a position in a space of numerical representations. A word’s position can then be compared with other positions, or its representation in earlier writing can be compared with its representation in later writing. This broad way of relating meaning to patterns of context is [distributional semantics](https://md.research.elamur.ai/free/en/concepts/distributional-semantics/).

Earlier studies discussed by the authors used distributed word representations to measure changes over time. The paper cites Kim and colleagues’ work on temporal analysis and Hamilton and colleagues’ work on historical shifts, alongside work by Yao and colleagues on dynamic representations. It situates this line of research within the literature reviewed by Kutuzov and colleagues. [Temporal Analysis of Language through Neural Language Models](https://md.research.elamur.ai/free/en/papers/kim-2014-temporal-analysis-language-through-neural/) · [Diachronic Word Embeddings Reveal Statistical Laws of Semantic Change](https://md.research.elamur.ai/free/en/papers/hamilton-2016-diachronic-word-embeddings-reveal-statistical/) · [Diachronic Word Embeddings and Semantic Shifts](https://md.research.elamur.ai/free/en/papers/kutuzov-2018-diachronic-word-embeddings-semantic-shifts/)

The authors identify an interpretive difficulty with a single vector for a word type, meaning the word treated as a distinct vocabulary item. Such a vector can signal that the overall pattern of contexts has moved. If multiple uses contributed to either period’s representation, however, the position alone leaves the analyst to work out which uses account for the movement. A change in the prominence of an existing sense and the rise of a different construction can both affect the contexts associated with the word.

A contextual vector offers a finer unit of observation. It represents a token, meaning an occurrence of the target in a particular sentence. Where the same spelling refers to objects of different kinds or serves different grammatical functions, the sentence can contribute evidence to distinguish those occurrences. On this approach, a historical period contains a collection of vectors for a word. The analyst can look for recurring regions in the collection and then ask how the periods are distributed among them. The shared source of the contextual representations in this study is [BERT](https://md.research.elamur.ai/free/en/papers/devlin-2019-bert-pre-training-deep-bidirectional/).

That finer unit creates a new decision. The contextual vectors still need to be organized into groups that can be described to a reader. There is a difference between finding that two occurrences occupy nearby positions and deciding that they illustrate the same meaning. The paper addresses that gap with two existing approaches that give different roles to linguistic knowledge and to the geometry of the corpus examples.

#### How the two approaches define a recurring use

The dictionary approach comes from work by Hu and colleagues. It starts with a sense inventory, the set of meanings distinguished in a dictionary entry. The example sentences attached to those meanings give BERT contexts to process. Each dictionary meaning thereby receives a reference position, and a magazine occurrence is assigned to the meaning whose reference position it most resembles. The resulting groups inherit names from the dictionary from the outset.

The clustering approach comes from work by Giulianelli and colleagues. It starts with the contextual vectors for the magazine occurrences themselves. The algorithm searches for groups whose members lie near a common center. An analyst can then inspect the examples in each group to see what they have in common. The explanatory label is the outcome of that inspection. It can be a familiar sense, a construction, or a description of whatever recurring feature is visible in the sentences.

The distinction affects which uses each approach can expose. In the dictionary approach, an infrequent use may have a dedicated reference position if the dictionary provides examples. The clustering approach has to find evidence of that use in the geometry of the corpus occurrences. Conversely, if the dictionary has no separate category for a recurring expression, the first approach has no dedicated group for it, while the second can form one if the examples group together. The comparison therefore concerns where the categories come from and how well those categories support a historical interpretation.

In the research account given by the paper, the two BERT-based approaches had previously been used on English words, and their different grouping decisions had yet to be compared directly. Earlier work by Aida and colleagues had studied Japanese semantic shifts using word-level representations. Applying the contextual approaches to Japanese both extended that line of inquiry and gave the authors a way to compare the approaches on the same historical examples. In the new study, the grouping procedures receive a common set of magazine occurrences and a common contextual representation. That makes the word-by-word differences easier to trace to the way each procedure forms its groups.

### The method, step by step

#### Represent each occurrence in its sentence

The authors begin with the sentences that contain the target word and retain their publication periods. They process the sentences individually with BERT. The input is a sentence, and the representation they retain is for the position occupied by the target. If the same target occurs in sentences from different dates, each occurrence has a vector based on its own context. The date is used later to count the groups by period.

For Japanese, the preparation of an input sentence involves identifying words and then splitting them into smaller units when required. The version of BERT used in the paper first processes the text with MeCab and the Unidic 2.1.2 dictionary. WordPiece then breaks the result into units from BERT’s input vocabulary. A word recognized by MeCab may occupy several input positions after this second stage. This is [subword tokenization](https://md.research.elamur.ai/free/en/concepts/subword-tokenization/).

The authors take the vectors from BERT’s final layer. When a target occupies several positions, they average the vectors at those positions to produce one vector for the occurrence. This is an average within a word in a sentence. If another sentence contains the same word, its representation is constructed separately, using the positions for that occurrence. The method thus arrives at a consistent unit for later grouping even when a word occupies multiple pieces in the input.

```
x = (Σⱼ hⱼ) / m
```

Here, x is the vector for one occurrence of the target. The index j runs over the sub-word positions belonging to that occurrence, and hⱼ is the final-layer vector at position j. The symbol Σⱼ adds those vectors coordinate by coordinate. The divisor m is the number of sub-word positions being averaged. For a target occupying a single position, the final-layer vector at that position already supplies x.

The authors use Tohoku University’s Japanese BERT-base, pretrained on Japanese Wikipedia. It has 12 layers and 12 attention heads, and the hidden vector at each position has 768 dimensions. According to the paper, pretraining ran for one million steps, with 256 instances in each batch and 512 tokens in each instance. Those are settings of the existing Japanese BERT release. The historical analysis uses that release to encode the magazine and dictionary sentences.

During its pretraining, this version of BERT used whole-word masking. When a word identified by MeCab was selected for masking, all of its corresponding sub-words were hidden together. The task encouraged use of the surrounding text when supplying the hidden material. In the historical study, the authors read out vectors from the encoder as it processes the target sentences. They leave adaptation to the historical corpus for future work.

For each target word, the authors call the collection of magazine occurrence vectors S. The vectors come with a period association so that the results can be counted over time. Both approaches operate on this collection for the word. In the dictionary branch, separate vectors derived from dictionary examples serve as reference points for the elements of S. In the k-means branch, the elements of S also supply the data from which the group centers are found.

From dated Japanese sentences to a history of usage The steps in order.

#### Give each dictionary sense a reference vector

For the main dictionary comparison, the authors use Nihon kokugo daijiten. They remove examples written in classical Chinese and drop senses that have no examples after filtering. The method requires at least two senses with example sentences. With only one usable sense, every corpus occurrence would have the same available destination, and the assigned groups could provide no evidence of a shift between senses.

Each surviving sense has one or more examples in which the target is used. BERT produces a vector at the target position in each example, using the same treatment of sub-words as for the magazine occurrences. If a sense has several examples, their occurrence vectors are averaged to produce a single vector for that sense. This is a separate averaging operation, across sentences for one sense. The associated dictionary meaning becomes the label for the reference vector.

```
vᵢ = (Σⱼ eᵢⱼ) / mᵢ
```

In this expression, i identifies a dictionary sense and vᵢ is its reference vector. The index j identifies one of the examples retained for that sense. The vector eᵢⱼ represents the target occurrence in that example, mᵢ is the count of retained examples for sense i, and Σⱼ adds their vectors across examples. The averaging gives each of the retained example occurrences the same weight in the reference vector.

Assignment uses [semantic similarity](https://md.research.elamur.ai/free/en/concepts/semantic-similarity/) as measured by cosine similarity between the corpus occurrence vector and each sense vector. Cosine similarity compares the directions of two vectors. If vectors have the same direction, scaling the length of one leaves their cosine similarity unchanged. That makes the criterion different from the Euclidean distance used by k-means, which measures the straight-line separation between points.

```
cos(x, vᵢ) = (x · vᵢ) / (‖x‖ ‖vᵢ‖)
```

Here, cos is the cosine similarity function, x is a magazine occurrence vector, and vᵢ is the reference vector for sense i. The centered dot is the inner product, which pairs corresponding coordinates, multiplies each pair, and adds those products. The double bars denote Euclidean length. The denominator multiplies the lengths of the two vectors.

```
î = arg maxᵢ cos(x, vᵢ)
```

The symbol î denotes the sense index assigned to x. The operator arg maxᵢ returns the index i giving the highest cosine similarity among the retained senses for that word. The meaning attached to î in the dictionary is the label applied to the occurrence. The label records which example-based reference won the comparison. Checking the magazine sentence is how the authors determine whether the assigned label describes its use.

The sense inventory and its examples therefore do different work. The inventory determines the destinations that exist. The examples determine where those destinations sit in the vector space. If an expression has no separate sense, the method has to place it with a category that does exist. If the inventory makes the desired distinction but the reference sentences are unrepresentative, the magazine examples can still be assigned in a way that blurs it. Both failures can affect the historical bars, although the appropriate diagnosis differs.

#### Find groups from the magazine occurrences

The clustering branch runs k-means on S, combining vectors from all periods of the target word. K-means looks for groups organized around centers called centroids. A centroid is the average position of the vectors assigned to its group. In the usual k-means procedure, centers and assignments are updated together, with assignment based on the distance to the centers and each center then recalculated from the members of its group. The paper uses Euclidean distance for this grouping.

```
d(x, μ) = ‖x − μ‖
```

Here, d denotes Euclidean distance, x is an occurrence vector, and μ is a candidate centroid. The subtraction gives a vector of coordinate differences. The double bars give the Euclidean length of that difference vector, the straight-line distance between x and μ. For an assignment, this distance is compared across the candidate centroids.

The authors try values of k, the number of clusters, from 2 to 10 for each word. They use the largest average silhouette score to select among the candidate partitions. A silhouette score compares an occurrence’s closeness to the members of its assigned cluster with its closeness to a neighboring cluster. The average summarizes how well the assignments separate the observed vectors. The chosen partition supplies the grouping used for the temporal analysis.

The selection criterion uses the shape of the vector collection. A partition that separates compounds from other occurrences can have a meaningful geometric structure even when the historical question concerns a change in lexical meaning. The corpus dates and the expected historical interpretation come into play when the chosen groups are inspected. The centroids can thus expose recurring uses beyond the dictionary inventory, while the interpretation of those uses remains a linguistic task.

Pooling dates before grouping gives each cluster a consistent identity throughout the analysis. If an early occurrence and a late occurrence receive the same label, the assignments were made with reference to the same sense vector or the same clustering solution. A method that formed groups anew within each period would have to establish whether an early group and a later group described comparable uses. Here, that comparability is built into the shared assignments, and the researchers can focus on whether the groups themselves are intelligible.

#### Count the groups over time and inspect their contents

Once occurrences have been assigned, the authors calculate each group’s share of the target word’s examples in each period. This gives a conditional measure. Given that the target occurs in the material from a certain period, the share records how much of its observed usage was assigned to a particular group. The method is concerned with the distribution among uses of the target, so the relevant denominator is the count of that target’s occurrences in the period.

```
r(g, t) = n(g, t) / N(t)
```

The quantity r(g, t) is the usage ratio of group g during period t. The label g can refer to a dictionary sense group or to a cluster from k-means. The count n(g, t) is the number of target occurrences from period t assigned to g, and N(t) is the total count of the target’s occurrences in that period. The division expresses the assigned group as a share of the occurrences available for that word and period.

The stacked bars show these shares side by side across dates. The dictionary plots retain the dictionary’s sense labels even when the sentences assigned to a group fit the label poorly. The k-means plots use descriptions chosen after the groups are inspected. A label can name a meaning familiar from the dictionary or describe an observed pattern of usage. The authors distinguish these possibilities in their plots so that a reader can tell when a cluster is being characterized by something besides a lexical gloss.

A second view uses principal component analysis to draw the occurrence vectors in a scatterplot. This projection reduces the high-dimensional representation to a plane so that the reader can see where points from different groups or dates lie. It is a display of the already obtained representations and groupings. The distance used by k-means comes from the vectors themselves, and the scatterplot gives a compressed view of that geometry.

The authors read the bars and scatterplots together with the underlying sentences. The bars answer a question about frequency of assignment. The sentences answer a question about what that assignment captures. A cluster can grow in later material and still be too mixed to represent the intended later sense. A recognizable use can also appear in a cluster that shows little movement over time. To count a result as successful, the authors look for a sensible characterization of the earlier and later uses along with the expected change in prevalence.

### Experiments and results

#### The magazines, the target words, and the assessment

The study combines modern magazine material from the Corpus of Historical Japanese with material from Chuokoron and Bungeishunju in the Showa / Heisei Written Language Corpus. The source magazines span 1874 to 1997. The experiment takes the 100-year stretch from 1898 to 1997 and uses 25-year groupings for its historical comparison.

In the main case figures, the periods are 1898–1922, 1923–1947, 1948–1972, and 1973–1997. The scatterplots distinguish those date bands by symbols. In the stacked bars, the bands define the successive sets of occurrences within which the group shares are calculated. A bar therefore shows the composition of the target word’s observed uses in a period, with each segment representing a sense assignment or a corpus cluster.

The 42 target words come from a list assembled by Mabuchi and Ogiso. The authors selected words with recognized changes. This is a test of whether the approaches can recover and explain expected developments in known cases. Each target gives the researchers something concrete to inspect, such as whether groups for ボタン reflect buttons on clothing and buttons on machines, or whether a group isolates the pattern with negation for 尋常.

The earlier studies by Hu and Giulianelli compared quantitative change scores with human judgments ranking words by degree of change. The authors report that comparable ranked data were unavailable in Japanese. They use their own qualitative judgments, informed by the historical bars and the sentences assigned to the groups. Their assessment looks for correspondence between the prevalent uses in the groups and the expected predominant uses before and after the change. It also looks for rising and falling shares consistent with the shift.

The main numerical outcome is a count of words judged successfully analyzed. It measures performance on the selected Japanese targets under this procedure. The shares in the historical plots are a different kind of number, calculated from assignments within a word and period. The silhouette score serves a different purpose again. It chooses a partition for a word in the k-means branch, while the final judgment concerns what that partition describes and whether it tracks the expected change.

#### Overall comparison

Qualitative success on Japanese magazine target words by grouping method K-means recovered the expected changes for more target words.

**The numbers**

| System or setting | successful target words |
| --- | --- |
| Dictionary examples from Nihon kokugo daijiten | 21 |
| K-means clustering (this paper) | 29 |

The dictionary approach operated on 33 of the 42 target words. The authors attribute the remaining exclusions to the requirement for at least two senses with usable examples. Some entries had a single sense. Others distinguished several senses but lacked the examples needed for the vector comparison. By contrast, the k-means approach was applicable throughout the selected list because its groups were formed from the magazine occurrences.

The success count consequently reflects both coverage and the quality of the results on words each approach could analyze. For the dictionary approach, a word can be excluded before assignment or can receive assignments that fail to show its known shift. The examples below distinguish these problems from another outcome, in which the approach finds a distinct pattern in the sentences but the pattern is only indirectly related to the historical question.

#### When dictionary examples recover a rarer use

For 適当, the authors describe a change in the most frequent use from something appropriate to something done carelessly. The dictionary-based analysis separates examples representing the older and newer uses, and the bars show opposing trends for the associated groups. The k-means groups both contain a mixture of examples. The bars based on those groups show little movement from period to period. The dictionary has a reference for each of the relevant uses, while the partitions preferred by k-means give no clear separation between them.

教養 illustrates the difference between grouping by a grammatical pattern and grouping by the historical distinction of interest. The authors describe an earlier use concerned with educating and a later use referring to broad knowledge. The dictionary group associated with educating recedes in the plotted history. The k-means analysis produces a conspicuous group for compounds containing 教養 followed by a noun. The paper gives 教養学部 and 教養課程 as examples. Other uses are collected in a mixed group.

The paper includes an inconsistent success statement in its discussion of the k-means result for 教養. The section’s classification, the account of the example sentences, and the description of the bars all indicate that the result missed the expected shift. The coherent reading is that k-means recognized the compound pattern, while the resulting partition did not separate the earlier teaching use from the later knowledge use. This distinction is important because a group can be easy to describe and still fail the study’s historical criterion.

In their discussion of these cases, the authors connect dictionary success to an imbalance in observed usage. Where one of the relevant meanings occurs much less often than the other, its dictionary examples can still furnish a separate reference point. K-means has only the collection of corpus occurrences from which to establish centers. A relatively clear pattern such as the compound group for 教養 can therefore shape the partition even when it leaves the less frequent historical use inside a mixed cluster.

#### When corpus groups expose what the dictionary misses

For 尋常, the authors are interested in the movement from an ordinary or normal use to a common idiomatic pattern involving negation. The dictionary method lacks a dedicated sense for the latter pattern and puts it together with the former use. The resulting group grows over time, but its growth combines examples that the historical account calls for distinguishing. A change in the height of that segment is therefore hard to interpret as evidence about the transition itself.

K-means produces separate clusters that the authors can associate with the earlier use and the later construction. The former becomes less prominent, and the latter becomes more prominent. Since the k-means clusters receive their descriptions after inspection, the analyst can name a pattern that was missing from the dictionary categories. In this case, the grouping and the historical trends both support the intended account.

ボタン exposes a different weakness of the dictionary approach. The inventory distinguishes the meanings that matter, buttons on clothes and buttons used as machine controls. The authors attribute the unsuccessful result to insufficient examples for representing those senses. The dictionary assignments yield bars without a clear historical shift. In the k-means analysis, the researchers identify a cluster typical of clothing buttons and another typical of machine buttons. Their shares move in the expected directions, with the clothing use declining and the machine use gaining prominence.

These cases locate failure at different stages. For 尋常, the missing category prevents the dictionary analysis from giving the construction its own trend. For ボタン, the category is available, but a usable distinction in the entry has to carry through to the placement of actual magazine occurrences. Looking only at the list of dictionary senses would have revealed the first problem and missed the second. The sentences inside the assigned groups are what let the researchers tell them apart.

#### When the approaches agree and when both miss the shift

The results for 優勝 are a case of close agreement. The authors describe the earlier predominant use in terms of excelling and winning, and the later one in terms of taking first prize. In the dictionary analysis, the group associated with the earlier use loses share while the group for the later use gains it. K-means yields two interpretable groups whose prevailing examples and temporal direction describe the same shift. The independence of the grouping procedures makes their agreement informative within the chosen corpus.

For 非常, both analyses identify the expected development, although the cluster structure is less clear. The earlier use concerns what is out of the ordinary, and the later use is the degree adverb *very*. The dictionary result associates the adverb with a growing group, alongside declines among other groups. The authors identify a cluster typical of the earlier use and a cluster typical of the later one, and the bars for the clustering approach move in the expected directions. The case illustrates why the study’s judgment uses both the group contents and the movement of their shares. A useful historical signal can survive some messiness in the partition.

The main comparison misses the shift for 自然. The paper describes a change from a prevalent unintentional or spontaneous meaning to a prevalent meaning associated with nature. Under the main dictionary, the assignments concentrate heavily in a few groups, and the bars give an unclear picture of the expected development. Under k-means, the cluster containing examples of the later meaning still contains largely examples of earlier meanings. Another cluster is also characterized by earlier examples. The presence of later uses in a cluster is insufficient to make that cluster’s total share a reliable indicator of the later sense.

The authors also identify words for which the available magazine sentences offer few or no instances of the target uses. They discuss this as a problem with the underlying evidence. A method can assign every observed occurrence and produce a complete set of bars while still having little basis for tracing the expected change. Conversely, when a later use is present but spread through mixed groups, the observation problem lies partly in the partition. The paper uses the individual cases to distinguish these routes to a similar-looking failure.

### What the ablations show

#### Changing the dictionary changes the result

The first follow-up comparison keeps the example-based procedure and substitutes Digital Daijisen for Nihon kokugo daijiten. This tests whether the result depends on the dictionary chosen as the linguistic resource. The dictionaries can differ in the senses they distinguish, the words that meet the requirement for usable examples, and the sentences supplied for a particular sense. The paper’s comparison leaves out words for which neither dictionary meets the requirements to run the approach.

Nihon kokugo daijiten fares better overall in the authors’ comparison. Digital Daijisen nonetheless succeeds for 自然, a case missed by the main dictionary and by k-means. The authors associate several Digital Daijisen groups with uses of the later predominant meaning and the remaining groups with earlier uses. The shares of the groups associated with the later meaning rise over time. The replacement dictionary makes the expected development visible even though it distributes related later examples among separate sense categories.

The result supports a specific conclusion about the role of the dictionary. The example-based approach can yield different historical accounts of a word even when the broadly applicable computational procedure stays the same. The dictionary can alter a label, the kinds of usage that have a label at all, or the vector serving as the reference for assigning a magazine occurrence. A dictionary that represents a word favorably on those dimensions can make a historical trend visible where another one yields mixed groups.

The comparison changes the sense inventories and the example sentences together. For 自然, it shows that the dictionary resource matters. The design leaves open how much of the improvement came from the distinctions made by the replacement entry and how much came from the sentences that anchored those distinctions. The earlier cases help explain why both channels are plausible. 尋常 illustrates the consequences of a missing category, whereas ボタン illustrates a case where the category is present and its examples still fail to support the desired assignments.

#### Changing the clustering rule changes what gets counted

The authors also replace k-means with DBSCAN, an algorithm that looks for dense groups of points. K-means assigns each occurrence to a cluster with a center. DBSCAN can leave an occurrence outside the ordinary clusters when it lacks the neighboring points needed to place it in a dense group. Such occurrences are classified as noise by the algorithm. The term describes their status under the clustering rule. Their sentences can still contain relevant evidence about the target’s history.

The follow-up is motivated by the weakness of k-means when the meanings of interest have very different frequencies. The authors suggest that its treatment of cluster density could contribute to that weakness. They test whether building groups by density helps, and tune DBSCAN’s settings by seeking a higher silhouette score. This makes it possible to compare the clustering choices in terms of both the groupings they deliver and the historical readings they support.

Qualitative success on Japanese magazine target words by clustering algorithm K-means recovered more expected changes than the density-based alternative.

**The numbers**

| System or setting | successful target words |
| --- | --- |
| DBSCAN | 11 |
| K-means (this paper) | 29 |

The authors observe that DBSCAN often treats a substantial amount of the evidence as noise. The problem has a direct consequence for this task. The analysis looks for changes in how occurrences are distributed among interpretable uses. If a large share falls into a residual category, that category can contain many of the sentences needed to see the change. The remaining distinct clusters may be coherent and still account for too little of the observed usage to describe the word’s history.

The DBSCAN analysis of 教養 illustrates the issue. The paper describes groups associated with compound and noncompound uses, with many occurrences collected under the noise designation. Recognizing a compound pattern provides information about the vectors. It does not resolve the historical question about the balance between the educating and knowledge uses. With much of the material classified as noise and the ordinary groups organized around the construction, the result gives little usable evidence for that distinction.

The outcome favors k-means over the tested DBSCAN configuration for this analysis. Its explanation also gives the silhouette criterion a narrower role. A setting can produce satisfactory geometric grouping according to the selection procedure while assigning a large and linguistically mixed portion of the material to noise. Success in the historical analysis depends on retaining enough of the examples in groups whose meanings or usages can be followed over time.

#### Inspecting the vectors reveals what the groups can represent

The authors find clusters characterized by compounds or metaphors, consistent with observations in the earlier work by Giulianelli and colleagues. The Japanese results establish that at least some of the contextual structure visible in the vectors can be described in those terms. For a question about usage, such patterns may be exactly what the researcher wants to recover. The negation construction with 尋常 is a case where a recurring context helps characterize the historical development.

For a question about a different distinction, the same sensitivity can get in the way. The compounds containing 教養 supply a linguistically coherent group, but compound status and the shift between educating and broad knowledge define different ways of sorting the sentences. The case gives a concrete interpretation of a mixed outcome. The representations contain information about the local grammatical environment, and the clustering procedure organizes the occurrences around a feature that the reader can recognize. The organization leaves the target semantic contrast unresolved.

A separate visual analysis examines the representations of 全然 and 教授 by publication period. The authors describe the distributions for both words as moving gradually over time. Here the focus is the distribution of the contextual vectors before their interpretation as named senses or usage groups. It shows that the representations can register differences in the contexts encountered in successive periods, even in a study where some grouping outputs fail to give a clear account of the expected shift.

This observation and the clustering examples concern different stages of the method. A movement in the collection of contextual vectors says that the recorded contexts occupy different parts of the representation space over time. A historical account of a word adds a further claim about the particular uses involved. The dictionary and clustering experiments show that getting from the first observation to the second depends on how the occurrences are organized and on what the sentences in each group turn out to share.

### Limitations

#### Limits the authors identify

The authors identify the lack of a Japanese evaluation resource giving human judgments of change magnitude comparable to those used in the earlier English studies. Their judgments draw on the observed examples and on whether the graphs show the expected direction of movement. That supports close readings of individual cases. A numerical comparison with earlier work would require a common evaluation of the kind the paper says was unavailable. The reported counts therefore belong to this qualitative experiment.

The authors also identify gaps in the dictionary material. To use the dictionary approach as designed, a target needs usable sentences for at least two senses. Once that requirement is met, the relevance and specificity of the retained examples still matter. A broad sense label can bring together historically distinct uses, and a technically adequate inventory can come with too little evidence to separate its categories in the magazine material. The improvement for 自然 after the dictionary substitution illustrates how consequential this dependence can be.

Corpus coverage poses another limit. The paper notes cases in which the expected use is scarce or absent among the sentences studied. The authors also describe k-means as less effective when one of the relevant uses is much rarer than the other. These are related difficulties. Sparse evidence makes it harder to establish a group from the observed points, and heterogeneous groups then make it harder to interpret the historical bars. The ability to apply the algorithm across the target list guarantees a partition, while the quality of the historical evidence still varies across words.

The paper recognizes that BERT vectors reflect syntactic features as well as aspects of meaning. This affects what can be concluded from a clear partition or a shift in the vector distribution. The group may follow a construction, a metaphorical use, or the sense distinction of interest. The authors use sentence inspection to tell these possibilities apart. They propose adapting BERT to the target corpus to investigate the temporal shifts more precisely, leaving the effect of adaptation unmeasured in the reported comparisons.

#### Limits that follow from the design

The target selection gives the evaluation a particular scope. The words were chosen because historical changes were already recognized. The design is well suited to asking whether an analysis recovers familiar shifts and to examining how it goes wrong. Estimating its ability to screen a general vocabulary would require evidence from words selected independently of a known shift. The reported judgments give no estimate of how often apparent change would be flagged for words with stable usage.

The evidence also comes from a particular collection of magazines. The unit counted in each bar is an occurrence in that material. A rising share supports an account of changing usage in the available corpus. To interpret the increase as representative of Japanese more broadly, a reader would need evidence about how the material represents other writing or usage outside the selected publications. If the kinds of subjects or texts in the sample vary over time, the mixture of contexts available to BERT can vary with them. The experiment supports observing the mixture, while the plots alone leave its broader causes unresolved.

The 25-year grouping sets the time scale of the historical claims. A comparison of adjacent bins can show a difference between their compositions. It cannot give a date within a bin at which a sense became dominant. Long periods make the overall direction easier to inspect, while a short episode or an uneven transition can be absorbed into a period total. The paper’s analysis is consequently most informative about the broad trajectories visible across its publication periods.

The bar heights also depend on the reliability of the assignments. A segment has a precise meaning as a share of occurrences sent to a group. Its interpretation as the share of an actual sense depends on what the group contains. This holds even for a dictionary group with a clear label, since the label is inherited from the reference example and can describe the assigned sentences poorly. A post hoc label for a k-means cluster can likewise describe its most visible pattern while leaving some occurrences unexplained. The case studies provide sentence-level checks, whereas the aggregate success counts do not amount to an independently verified labeling of every occurrence.

The main comparison changes several aspects of grouping at once. Dictionary assignment uses pre-defined categories and cosine similarity to reference vectors. K-means finds corpus-dependent centers using Euclidean distance and chooses the number of groups through the silhouette criterion. The overall result compares those procedures as used in the paper. It does not isolate the contribution of cosine similarity versus Euclidean distance or show how the same categories would behave under a different assignment rule. The dictionary and DBSCAN follow-ups test substitutions for parts of the workflow, each leaving some of these factors linked.

Similarly, the DBSCAN result is evidence about the tested density-based alternative and its tendency to leave relevant material outside ordinary clusters in this corpus. The comparison offers a direct reason for its poor showing here. It leaves open whether other approaches to density, different selection criteria, or different corpus conditions would lead to the same outcome. The strongest conclusion supported by the reported evaluation is that the selected k-means procedure produced more interpretable histories for more of the target words than the alternatives the authors ran.

Finally, the temporal vector plots show a change in the distribution of contexts as represented by BERT. More than one feature of those contexts can contribute to the movement, as the compound and negation examples make clear. Treating the visual movement as a measure of how much a word’s meaning changed would require a way to validate that interpretation. In this study, the main evidence for the character of a change comes from matching the sentences in interpretable groups to the direction of the historical trends.

### What came after

The authors identify one follow-up at the end of the paper. They propose [fine-tuning](https://md.research.elamur.ai/free/en/concepts/fine-tuning/) BERT on the target corpus so they can examine the observed time shifts more precisely. In the study as conducted, the encoder was pretrained on Japanese Wikipedia, and the historical magazine sentences were used to obtain occurrence vectors. Fine-tuning would give the magazine corpus a second role by using it to adapt the encoder before examining those representations.

The proposal addresses an open question raised by the distributions for 全然 and 教授. The representation already gives some indication that the contexts of these words move over time. Whether adaptation would produce a clearer account of the uses involved is unknown from the reported experiments. The grouping procedure and the quality of the examples would still matter when interpreting any change in the representation. The paper records this extension as planned work, with no subsequent study or outcome to report.

## Cite

Cite as Kazuma Kobayashi, Taichi Aida and Mamoru Komachi. 2021. Analyzing Semantic Changes in Japanese Words Using BERT. Proceedings of the 35th Pacific Asia Conference on Language, Information and Computation.

The paper itself, not this page. BibTeX from the library's record of the work.

```bibtex
@inproceedings{kobayashi2021analyzing,
  title = {{Analyzing Semantic Changes in Japanese Words Using BERT}},
  author = {Kazuma Kobayashi, Taichi Aida and Mamoru Komachi},
  booktitle = {Proceedings of the 35th Pacific Asia Conference on Language, Information and Computation},
  year = {2021},
  url = {https://aclanthology.org/2021.paclic-1.29/}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
