DINFRA: A One Stop Shop for Computing Multilingual Semantic Relatedness

Siamak Barzegar, Juliano Efson Sales, André Freitas, Siegfried Handschuh, Brian DavisSIGIR 2015

Introduction

Determining semantic relatedness—the degree to which words like mother and child are associated—is a cornerstone of Natural Language Processing (NLP), essential for tasks ranging from search engines to question-answering systems. However, researchers often face significant barriers: the technical complexity of building Distributional Semantic Models (DSMs) and a lack of high-quality tools for languages other than English. DInfra (Distributional Infrastructure) addresses these challenges by providing a web-based, JSON-API-driven platform that simplifies the computation and validation of multilingual semantic relatedness across 12 languages.

The DInfra Infrastructure

DInfra integrates three primary DSM architectures into a unified service, allowing researchers to consume models rather than build them from scratch:

  • Latent Semantic Analysis (LSA): Uses Singular Value Decomposition to capture latent patterns in word-document matrices.
  • Random Indexing (RI): An efficient, incremental approach using high-dimensional random vectors.
  • Explicit Semantic Analysis (ESA): Maps words into a concept space derived from human-defined concepts, specifically Wikipedia articles.

The platform allows users to query these models via a simple interface, selecting specific languages, target sets, and similarity measures (e.g., Cosine similarity or correlation).

The DInfra web interface showing relatedness scores for the term 'mother' across different models and corpora.

Multilingual Benchmarking and Localization

A key contribution of DInfra is its focus on multilingualism. The models are trained on massive corpora including multiple snapshots of Wikipedia, the 2-billion-word ukWaC, and the British National Corpus (BNC).

To ensure rigorous evaluation, the authors localized three classic human-rated datasets—WordSim353 (W353), Rubenstein & Goodenough (RG), and Miller & Charles (MC)—into 11 additional languages, including German, Chinese, and Persian. These translations underwent professional linguistic quality assurance to provide reliable "gold standard" benchmarks for the global NLP community, addressing the significant deficit of accessible tools for non-English semantic tasks.

Experimental Results and Validation

DInfra includes a dedicated module for calculating Spearman’s rank correlation, allowing researchers to measure how closely model outputs align with human intuition. The web interface provides real-time visualizations of these correlations, facilitating rapid hypothesis testing and model comparison.

Correlation charts comparing VSM judgements against human benchmarks (WordSim353) for RI, LSA, and ESA models.

As shown in the visualizations, different models exhibit varying levels of alignment with human judgment. The system's ability to instantly generate scatter plots and summarization charts (as seen in Figure 2) allows users to see exactly how well a specific model configuration aligns with human benchmarks in a specific language.

Conclusion and Future Outlook

By shifting the focus from "model building" to "model consuming," DInfra democratizes access to complex semantic tools. While the current implementation focuses on "static" distributional models (LSA, ESA, RI), its extensible architecture provides a foundation for future integration of modern contextual embeddings. DInfra remains a valuable resource for researchers needing localized, validated semantic benchmarks across diverse languages without the overhead of complex NLP pipeline development.

Summary updated

BibTeX
@inproceedings{barzegar2015dinfra,
  author = {Siamak Barzegar and Juliano Efson Sales and André Freitas and Siegfried Handschuh and Brian Davis},
  title = {{DINFRA: A One Stop Shop for Computing Multilingual Semantic Relatedness}},
  booktitle = {International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year = {2015},
  doi = {10.1145/2766462.2767870},
}
Figure