Decomposing Co-occurrence Matrices into Interpretable Components as Formal Concepts

Akihiro Maeda, Takuma Torii, Shohei HidakaACL 2024

Introduction

Word embeddings are foundational to modern Natural Language Processing, yet their internal dimensions often remain a "black box." While the distributional hypothesis explains that words in similar contexts share meanings, interpreting why specific vector dimensions correspond to semantic categories like "royalty" or "plurality" is challenging. This paper proposes that the latent structure of word co-occurrence matrices is composed of "formal concepts"—mathematically defined submatrices that align with human-interpretable categories.

Methodology: Formal Concept Analysis

The authors utilize Formal Concept Analysis (FCA) to bridge the gap between raw counts and human logic. In a word-context matrix, a formal concept is a pair consisting of an Extent (a set of words) and an Intent (a set of context attributes).

Formal concepts as submatrices in a word-context co-occurrence matrix.

As shown in the figure above, these concepts correspond to maximal bicliques—submatrices where every word in the set co-occurs with every attribute in the context set. To handle continuous values in real-world matrices (like PPMI), the authors developed a varying threshold method to identify stable "plateaus" of high co-occurrence. They also extended this to "fuzzy" FCA using Non-negative Matrix Factorization (NMF) with $L_1$ regularization to capture the inherent nuances of language.

Key Insights: The Geometry of Logic

A central finding is that the hierarchical structure produced by FCA maps directly onto the geometric shapes found in vector spaces. For instance, a word vector for king can be seen as the intersection of broader concepts like masculine, royal, and singular.

Furthermore, FCA naturally handles polysemy. Since a word can belong to multiple formal concepts, the algorithm can isolate different senses (e.g., the "clothing" vs. "sports" sense of tie) by identifying which context "intent" it shares with other words in a specific cluster. This "local" focus allows for higher precision than global measures like cosine similarity, which can be diluted by a word's multiple meanings.

Experimental Results

The proposed FCA-based method was evaluated on several benchmarks, including Battig, BLESS, and new datasets for sequences and syntactic features.

Performance comparison of FCA vs. baseline (BL) across various semantic and syntactic benchmarks.

In category completion tasks, FCA consistently outperformed k-Nearest Neighbor (cosine similarity) baselines. Notably, on the BLESS dataset, FCA achieved an extended precision (Ext.P) of 84.3%, significantly higher than the baseline's 74.5%. Additionally, a human evaluation of 900 "fuzzy" concepts found that 95.7% were meaningful, capturing categories ranging from "Adjectives of scale" to "Diplomacy."

Conclusion and Future Work

By decomposing co-occurrence matrices into formal concepts, this work provides a rigorous mathematical framework for interpreting word embeddings. While current implementations face scalability challenges for massive vocabularies, the success in identifying interpretable "local plateaus" suggests a promising path for "cracking open" the black box of distributional semantics. Future research may explore how natural language generation processes inherently create these hierarchical structures.

Summary updated

BibTeX
@inproceedings{maeda2024decomposing,
  author = {Akihiro Maeda and Takuma Torii and Shohei Hidaka},
  title = {{Decomposing Co-occurrence Matrices into Interpretable Components as Formal Concepts}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.findings-acl.278},
}
Figure