Idiom-Aware Compositional Distributed Semantics

Pengfei Liu, Kaiyu Qian, Xipeng Qiu, Xuanjing Huang

Introduction

Standard neural language models typically rely on the principle of compositionality, where the meaning of a complex expression is derived from the meanings of its constituent parts. While effective for literal language, this approach fails for idioms—phrases like "kick the bucket" or "pulling my leg"—where the meaning is non-compositional and often opaque. This paper introduces a novel idiom-aware neural framework that adaptively switches between literal and idiomatic interpretations based on context.

The Challenge of Idioms

Idioms present three primary challenges for Natural Language Processing (NLP):

  1. Invisibility: Idioms often resemble literal phrases, making them difficult to isolate during standard end-to-end training.
  2. Idiomaticity: Their meanings cannot be systematically derived from their individual words.
  3. Flexibility: Idioms are not always fixed strings; they can undergo morphological changes (e.g., "go bananas" to "went bananas") or lexical variations.

Methodology: The Literal-First Approach

Inspired by the "literal-first" psycholinguistic hypothesis, the authors developed a model that first attempts a literal interpretation before considering an idiomatic one. The architecture consists of three integrated modules:

The proposed idiom-aware framework, featuring a Literal Interpreter, an Idiom Detector, and an Idiomatic Interpreter.
  • Literal Interpreter: A Tree-structured LSTM (TreeLSTM) that recursively composes meanings from word embeddings following a binary constituency tree.
  • Idiom Detector: A parameterized module that evaluates the phrase and its surrounding context to produce a score ($\alpha$), determining the degree of idiomaticity.
  • Idiomatic Interpreter: Two variants were explored: a Direct Look-Up Model (V1), which treats idioms as single lexical units in a memory table, and a Morphology-Sensitive Model (V2), which uses a Character-level LSTM (CharLSTM) to handle variations in tense and form.

The final representation is a context-sensitive weighted sum of the literal and idiomatic outputs, controlled by the detector.

Experimental Setup and Datasets

The model was evaluated on standard sentiment analysis benchmarks, including SST-1, SST-2, MR, and SUBJ. Additionally, the authors introduced iSent, a new benchmark specifically designed for idiom detection. iSent contains approximately 13,000 movie reviews from Rotten Tomatoes, each featuring at least one idiom in its original or a varied form.

Results and Analysis

The idiom-aware models (iTLSTM-Lo and iTLSTM-Mo) consistently outperformed baseline TreeLSTMs and CNNs. The performance gap was most pronounced on the idiom-heavy iSent dataset, where the models demonstrated superior robustness to linguistic variations.

Accuracy comparison between the baseline Cont-TLSTM and the idiom-aware variants (iTLSTM-Lo and iTLSTM-Mo) across different linguistic variations.

As shown in the results, the morphology-sensitive model (iTLSTM-Mo) proved particularly effective at handling lexical and morphological shifts. Qualitatively, the model successfully identified negative sentiment in sentences like "The movie enable my friends to blow a gasket," where literal models were misled by the positive connotation of the word "enable."

Conclusion

By explicitly modeling the literal-to-idiomatic transition, this framework significantly improves the semantic understanding of non-compositional language. Future work includes applying this logic to Machine Translation, where literal translations of idioms remain a significant failure mode for current AI systems.

Summary updated

BibTeX
@inproceedings{liu2017idiom,
  author = {Pengfei Liu and Kaiyu Qian and Xipeng Qiu and Xuanjing Huang},
  title = {{Idiom-Aware Compositional Distributed Semantics}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2017},
  doi = {10.18653/v1/d17-1124},
}
Figure