CoCoLM: Complex Commonsense Enhanced Language Model with Discourse Relations

Changlong Yu, Hongming Zhang, Yangqiu Song, Wilfred Ng

Abstract

Large language models (LLMs) often struggle with "complex" commonsense—the causal and temporal logic connecting multiple events. We present CoCoLM (Complex Commonsense Enhanced Language Model), which bridges this "eventuality gap" by pre-training on multi-hop event chains extracted from a massive knowledge graph. By employing specialized masking strategies and auxiliary discourse tasks, CoCoLM significantly improves performance on narrative, causal, and temporal reasoning benchmarks, particularly on debiased datasets where standard models fail.

Introduction

While models like BERT and RoBERTa excel at token-level co-occurrence and simple entity-based commonsense (e.g., knowing that "birds fly"), they often fail to grasp the relationships between eventualities—verb-centric phrases describing actions or states. For instance, understanding that "Jim yelling at Bob" likely results in "Bob being upset" requires recognizing the causal link between two distinct events. Standard pre-training often ignores this "connective tissue" of discourse. CoCoLM addresses this by explicitly teaching models the "why" and "when" of event sequences.

Methodology

CoCoLM introduces a specialized pre-training stage focused on complex commonsense, added on top of standard language model training. This stage is built upon three core components:

1. Eventuality Sequence Generation

Using ASER, a knowledge graph containing 27 million eventualities, the authors perform weighted random walks to extract multi-hop event chains (e.g., Event A → because → Event B → so → Event C). This provides the model with long-range logical dependencies rather than isolated pairs.

2. Specialized Masking and Auxiliary Tasks

To force the model to learn discourse logic, two primary masking strategies are used:

  • Whole Eventuality Masking: Entire event phrases are masked, requiring the model to predict the action based on surrounding context.
  • Discourse Connective Masking: Connectives like "because," "but," or "so" are masked to emphasize the logical relationship between events.

Additionally, the model performs Discourse Relation Prediction (identifying the specific link type among 10 relations) and Co-occurrence Prediction (determining if two events logically belong together in a real-world context).

The CoCoLM pre-training architecture featuring Eventuality Masking, Connective Masking, and Discourse Relation Prediction tasks.

Experimental Setup

The model was pre-trained on 4 million sequences derived from ASER-core. Evaluation was conducted across three major reasoning benchmarks:

  • ROCStories: Narrative reasoning and story ending prediction.
  • MATRES: Temporal reasoning (determining if Event A happened before or after Event B).
  • COPA (Choice of Plausible Alternatives): Causal reasoning (identifying causes or effects of a premise).

Key Results

CoCoLM demonstrates consistent improvements over BERT and RoBERTa baselines across all tasks. The most significant gains occurred in narrative reasoning on the ROCStories dataset. Notably, on a "debiased" version of ROCStories—designed to prevent models from relying on simple word-matching heuristics—CoCoLM (BERT-base) achieved 65.2% accuracy, a nearly 20-point improvement over standard BERT-base (45.9%).

Performance comparison of CoCoLM against BERT and RoBERTa baselines across ROCStories, MATRES, and COPA benchmarks.

The results indicate that explicitly modeling discourse relations allows LMs to capture higher-order logic. Ablation studies further revealed that the Relation Loss (predicting connectives) was the primary driver of these performance gains, suggesting that the "logic" of connections is more vital than simple co-occurrence.

Conclusion

CoCoLM proves that targeted knowledge injection regarding event relationships is a highly efficient way to enhance model reasoning, requiring relatively little additional training time. By treating events as semantic units and focusing on the logic of their connections, CoCoLM moves beyond simple pattern matching toward a deeper understanding of narrative flow. Future work includes applying these techniques to generative models like T5 or BART to improve automated storytelling and explanation generation.

Summary updated

BibTeX
@inproceedings{yu2022cocolm,
  author = {Changlong Yu and Hongming Zhang and Yangqiu Song and Wilfred Ng},
  title = {{CoCoLM: Complex Commonsense Enhanced Language Model with Discourse Relations}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2022},
  doi = {10.18653/v1/2022.findings-acl.93},
}
Figure