RICA: Evaluating Robust Inference Capabilities Based on Commonsense Axioms

Pei Zhou, Rahul Khanna, Seyeon Lee, Bill Yuchen Lin, Daniel Ho, Jay Pujara, Xiang Ren

Abstract

Pre-trained language models (PTLMs) demonstrate impressive performance on standard commonsense benchmarks, yet their true reasoning capabilities remain a subject of debate. We present RICA (Robust Inference using Commonsense Axioms), a benchmark designed to evaluate whether AI models understand underlying commonsense logic or merely exploit statistical shortcuts. Our evaluation reveals that state-of-the-art models fail to maintain logical consistency across linguistic variations and exhibit a pervasive "positivity bias." These results suggest a significant gap between the "parroting" behavior of current models and genuine human-level commonsense reasoning.

Introduction

While models like BERT and GPT-2 achieve high scores on many tasks, researchers suspect they often rely on memorized linguistic patterns rather than conceptual understanding. For example, a model might correctly identify that "elephants are big" due to frequent co-occurrence in training data, without understanding the relative property of size. Human communication is robust: if one knows "A is heavier than B," they immediately infer that "B is lighter than A." RICA addresses the lack of systematic testing for this logical robustness in AI.

Problem Statement: The "Cheating" Hypothesis

Existing benchmarks may allow models to "cheat" by picking up on statistical shortcuts. To isolate reasoning from recall, RICA utilizes "novel entities"—nonsense words like prindag or fluberg. By replacing real-world objects with these entities, the benchmark forces models to apply abstract logical axioms rather than recalling specific facts from their pre-training corpora. Furthermore, the benchmark tests if models can handle linguistic perturbations, such as negations and antonyms, while maintaining the same underlying logic.

Methodology

The researchers developed a systematic pipeline to generate a massive set of commonsense probes based on First-Order Logic (FOL).

  1. Logical Templates: Abstract templates were created, such as Rel(A, B, r) → Comp(Prop(A, p), Prop(B, p)). For instance: "If A is B's lawyer, then A knows more about the law than B."
  2. Knowledge Grounding: These templates were populated using established knowledge bases like ConceptNet and ATOMIC to ensure they reflect human commonsense.
  3. Novel Entities: Real-world entities were replaced with nonsense words to prevent models from relying on memory.
  4. Linguistic Perturbations: Seven types of transformations—including negations, antonyms, and paraphrases—were applied to create a "Statement Set" where every sentence expresses the same logic in a different way.
The RICA pipeline for generating axiom-based commonsense probes.

Models were evaluated on two primary tasks: Masked Word Prediction (filling in a missing comparative word) and Sentence Probability (selecting the logically sound sentence from a pair).

Dataset Composition

The benchmark introduces several tiers of data to test different levels of robustness:

  • Raw Set: 257,000 automatically generated statements.
  • Human-Verified Set: 10,000 statements confirmed by human annotators to be logically sound.
  • Human-Curated Set: 1,600 statements where humans manually wrote complex, linguistically diverse variations of the axioms.
  • Joint Test Set: A combination of the verified and curated sets used for final evaluation.

Key Insights

The "Wug Test" for AI

By employing novel entities, RICA acts as a "Wug test" for machine intelligence. It proves that models struggle to generalize commonsense rules to new contexts, indicating they have not truly internalized the underlying logic.

Positivity Bias

The authors discovered a pervasive "positivity bias." Models are significantly more accurate when predicting positive-valence words like "more" or "easier" than negative ones like "less" or "harder." This suggests that when logic fails, models default to high-frequency words from their training data.

Parroting vs. Reasoning

In tests where the commonsense fact was explicitly provided in the prompt, models performed well. However, adding a simple negation (e.g., "not") caused performance to plummet. This indicates that models are sensitive to local linguistic cues but fail to perform the necessary logical operations on the context.

Results

The evaluation of RoBERTa-large and other state-of-the-art models highlighted a massive gap between machine and human performance.

  • Zero-Shot Failure: In zero-shot settings, all models performed near 50%, equivalent to random guessing.
  • The Generalization Gap: While fine-tuning on 10,000 examples allowed models to reach ~90% accuracy on the formulaic Human-Verified set, it provided zero improvement on the Human-Curated set. The models remained at random-guessing levels on human-written variations, showing a total lack of robust generalization.
Performance of RoBERTa-large across different test sets as training examples increase.
  • Human Baseline: Humans achieved 91.7% accuracy on the same tasks, underscoring the deficiency in current AI reasoning.

Conclusion

The RICA benchmark exposes a critical lack of robust, axiom-based reasoning in current language models. The inability to generalize across linguistic variations suggests that next-word prediction objectives are insufficient for capturing the essence of commonsense. Future work should explore new training objectives that explicitly reward logical consistency and structural robustness to linguistic change.

Summary updated

BibTeX
@inproceedings{zhou2021rica,
  author = {Pei Zhou and Rahul Khanna and Seyeon Lee and Bill Yuchen Lin and Daniel Ho and Jay Pujara and Xiang Ren},
  title = {{RICA: Evaluating Robust Inference Capabilities Based on Commonsense Axioms}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.emnlp-main.598},
}
Figure