Cyclical Contrastive Learning Based on Geodesic for Zero-shot Cross-lingual Spoken Language Understanding

Xuxin Cheng, Zhihong Zhu, Bang Yang, Xianwei Zhuang, Hongxiang Li, Yuexian ZouACL 2024

Introduction

Spoken Language Understanding (SLU) is a critical component in modern voice assistants, responsible for parsing user utterances into actionable data through intent detection (e.g., identifying a "book flight" request) and slot filling (e.g., extracting destination and date). While SLU models perform exceptionally well in high-resource languages like English, they often struggle in low-resource languages such as Hindi or Turkish due to a lack of labeled training data.

To bridge this gap, researchers employ zero-shot cross-lingual transfer, where models are trained on English data and expected to generalize to other languages. A common approach is Contrastive Learning (CL), which aligns representations by pulling similar samples together and pushing dissimilar ones apart. However, standard CL methods suffer from two primary limitations:

  1. Language Inconsistency: Semantic distances between concepts in the source language often fail to align with those in the target language, leading to suboptimal knowledge transfer.
  2. Indiscriminate Pushing: Traditional CL treats all negative samples equally. For instance, two sentences sharing the same intent but different slots might be pushed apart as aggressively as completely unrelated sentences, losing critical semantic nuances.

Methodology

To address these challenges, researchers from Peking University introduced CCLG (Cyclical Contrastive Learning based on Geodesic). This framework enhances the cross-lingual transfer process by focusing on geometric consistency and nuanced semantic relationships.

Architecture of the CCLG framework, illustrating the integration of Cyclical and Geodesic-based Contrastive Learning with mBERT.

Cyclical Contrastive Learning

CCLG introduces cyclical consistency losses to ensure that the internal semantic structure remains stable across languages. By enforcing that the similarity between any two utterances in English is identical to the similarity between their counterparts in the target language, the model maintains a consistent "internal map" regardless of the input language.

Geodesic-based Similarity

Departing from standard linear measures like cosine similarity, CCLG treats language data as living on a high-dimensional manifold (a curved surface). The framework constructs a K-Nearest Neighbor (K-NN) graph of the data and utilizes Dijkstra’s algorithm to calculate the shortest path along this surface. This geodesic distance allows the model to distinguish between "hard" negatives (partially related samples) and "easy" negatives (unrelated samples), preventing the over-pushing of semantically similar utterances.

Experimental Evaluation

The CCLG framework was evaluated on two major cross-lingual SLU benchmarks:

  • MultiATIS++: Covers 9 languages, including German, Spanish, French, Hindi, Japanese, Portuguese, Turkish, and Chinese.
  • MTOP: A comprehensive task-oriented parsing benchmark covering 6 languages, including Thai.

Key Results

CCLG established a new state-of-the-art (SOTA) on both datasets, demonstrating significant improvements in overall accuracy and robustness in low-resource scenarios.

Comprehensive performance metrics for MultiATIS++, showing CCLG's SOTA results across Intent Accuracy, Slot F1, and Overall Accuracy.
  • MultiATIS++: The model achieved an average Overall Accuracy of 59.12%, surpassing the previous best of 57.29% (FC-MTLF). Notable gains were observed in Turkish slot filling, where CCLG reached a 68.98 F1 score.
  • MTOP: CCLG reached an average Overall Accuracy of 64.36%, outperforming the previous SOTA (CL-CLeF) by over 3 percentage points.
  • Low-Resource Performance: The model showed particular strength in difficult languages like Hindi and Turkish, where data scarcity typically hinders performance.

Conclusion

The success of CCLG highlights the importance of geometric structure in language modeling. By acknowledging that language data exists on a manifold and enforcing cyclical consistency, the framework provides a more robust path for zero-shot transfer. Future research directions include integrating these techniques with Large Language Models (LLMs) and incorporating external knowledge bases to further refine semantic understanding. While the use of geodesic distances increases computational complexity, the resulting gains in cross-lingual accuracy represent a significant step forward for globalized voice assistant technology.

Summary updated

BibTeX
@inproceedings{cheng2024cyclical,
  author = {Xuxin Cheng and Zhihong Zhu and Bang Yang and Xianwei Zhuang and Hongxiang Li and Yuexian Zou},
  title = {{Cyclical Contrastive Learning Based on Geodesic for Zero-shot Cross-lingual Spoken Language Understanding}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2024},
  doi = {10.18653/v1/2024.findings-acl.106},
}
Figure