Abstract
Supervised learning has traditionally focused on inductive learning by observing labeled examples of a task. In contrast, a hallmark of human intelligence is the ability to learn new concepts purely from language. Here, we explore training zero-shot classifiers for structured data purely from language. For this, we introduce CLUES, a benchmark for Classifier Learning Using natural language ExplanationS, consisting of a range of classification tasks over structured data along with natural language supervision in the form of explanations. CLUES consists of 36 real-world and 144 synthetic classification tasks. It contains crowdsourced explanations describing real-world tasks from multiple teachers and programmatically generated explanations for the synthetic tasks. To model the influence of explanations in classifying an example, we develop ExEnt, an entailment-based model that learns classifiers using explanations. ExEnt generalizes up to 18% better (relative) on novel tasks than a baseline that does not use explanations. We delineate key challenges for automated learning from explanations, addressing which can lead to progress on CLUES in the future.
Introduction
Traditional supervised learning relies on "inductive learning"—showing a model thousands of labeled examples until it identifies a pattern. However, humans often learn through "deductive" natural language. For instance, a person can read a field guide stating, "A mushroom is poisonous if it has a pungent odor," and immediately apply that rule to a new specimen without seeing a single labeled example.
Current AI models struggle with this zero-shot transition. While prompting has become a standard technique, most prompts describe what a task is rather than the underlying logic of how to solve it. CLUES (Classifier Learning Using natural language ExplanationS) provides a large-scale benchmark to evaluate whether models can truly "read the manual" to solve structured data problems.
Methodology: The ExEnt Model
To bridge the gap between language and structured data, the authors propose ExEnt (Explanation Entailment). The model follows a four-step process:
- Linearization: Structured data rows are converted into text strings (e.g.,
odor | pungent [SEP] stalk-surface | smooth). - Entailment as Reasoning: Rather than simply concatenating explanations, ExEnt treats each explanation as a "hypothesis" and the data row as a "premise."
- Logit Mapping: Using a pre-trained Cross-Encoder (RoBERTa), the model determines if the data entails, contradicts, or is neutral toward an explanation. If an explanation says "Classify as X if Y" and the data entails Y, the model increases the score for label X.
- Aggregation: The model aggregates individual "votes" from all available explanations to reach a final prediction.
The CLUES Benchmark
The benchmark is divided into two distinct components:
- CLUES-Real: Comprises 36 real-world classification tasks from sources like the UCI Repository and Wikipedia. It includes 318 sets of human-crowdsourced explanations.
- CLUES-Synthetic: Includes 144 programmatically generated tasks designed to test specific linguistic challenges, such as logical conjunctions (AND), disjunctions (OR), negations, and quantifiers (e.g., "usually").
Results and Analysis
ExEnt demonstrated an 18% relative improvement over baselines that did not utilize explanations. A significant finding was the efficacy of Synthetic-to-Real Transfer: pre-training on synthetic logical tasks boosted zero-shot performance on real-world tasks by up to 39% compared to standard RoBERTa models. This suggests that learning the "language of logic" is a highly transferable skill.
Despite these gains, a substantial "Human-Machine Gap" remains. While humans achieved approximately 70% accuracy on these zero-shot tasks, the best models performed significantly lower. Models particularly struggled with quantifiers like "mostly" or "usually," where performance often dropped to near-baseline levels. Furthermore, performance degraded as logical complexity increased, such as with nested logic or negations.
Conclusion and Future Directions
CLUES highlights that simply providing models with text is insufficient; specialized architectures like ExEnt are required to map linguistic rules to data features. Future work should address teacher reliability, as current models treat all human explanations as equally valid. Additionally, moving toward interactive "student" models that can ask for clarification on ambiguous explanations could bring AI closer to human-like reasoning capabilities.
Summary updated