Lune

ACL Findings2023

Zero-Shot Classification by Logical Reasoning on Natural Language Explanations

Chi Han, Hengzhi Pei, Xinya Du, Heng Ji

Abstract

Humans can classify data of an unseen category by reasoning on its language explanations. This ability is owing to the compositional nature of language: we can combine previously seen attributes to describe the new category. For example, we might describe a sage thrasher as "it has a slim straight relatively short bill, yellow eyes and a long tail", so that others can use their knowledge of attributes "slim straight relatively short bill", "yellow eyes" and "long tail" to recognize a sage thrasher. Inspired by this observation, in this work we tackle zero-shot classification task by logically parsing and reasoning on natural language explanations. To this end, we propose the framework CLORE (Classification by LOgical Reasoning on Explanations). While previous methods usually regard textual information as implicit features, CLORE parses explanations into logical structures and then explicitly reasons along thess structures on the input to produce a classification score. Experimental results on explanation-based zero-shot classification benchmarks demonstrate that CLORE is superior to baselines, which we further show mainly comes from higher scores on tasks requiring more logical reasoning. We also demonstrate that our framework can be extended to zeroshot classification on visual modality. Alongside classification decisions, CLORE can provide the logical parsing and reasoning process as a clear form of rationale. Through empirical analysis we demonstrate that CLORE is also less affected by linguistic biases than baselines.

Ask Lune

Ask anything. The answer quotes the paper.

Lune reads all of it and the papers around it, then shows you the passages behind every answer.

Questions to start from

Lune answers from

the full paper · 1 top-tier paper that cites it · related work

Get the answer

Free to start. No credit card required.

Cited by top-tier papers1

  1. Object Recognition as Next Token PredictionKaiyu Yue, Bor-Chun Chen, Jonas Geiping, Hengduo Li et al.CVPR 2024 · 6 citations

Builds on13

  1. Learning Transferable Visual Models From Natural Language SupervisionAlec Radford, Jong Wook Kim, Chris Hallacy, Aditya Ramesh et al.ICML 2021 · 47,906 citations
  2. Large Language Models are Zero-Shot ReasonersTakeshi Kojima, Shixiang Shane Gu, Machel Reid, Yutaka Matsuo et al.NeurIPS 2022 · 8,168 citations
  3. ViLT: Vision-and-Language Transformer Without Convolution or Region SupervisionWonjae Kim, Bokyung Son, Ildoo KimICML 2021 · 2,258 citations
  4. Multitask Prompted Training Enables Zero-Shot Task GeneralizationVictor Sanh, Albert Webson, Colin Raffel, Stephen H. Bach et al.ICLR 2022 · 1,976 citations
  5. Cross-Task Generalization via Natural Language Crowdsourcing InstructionsSwaroop Mishra, Daniel Khashabi, Chitta Baral, Hannaneh HajishirziACL 2022 · 887 citations

Related papers

  1. Interpreting and Analysing CLIP's Zero-Shot Image Classification via Mutual KnowledgeFawaz Sammani, Nikos DeligiannisNeurIPS 2024 · 15 citations
  2. Zero-shot Image Classification with Logic Adapter and Rule PromptDongran Yu, Xueyan Liu, Bo YangWWW 2024 · 3 citations
  3. CLUES: A Benchmark for Learning Classifiers using Natural Language ExplanationsRakesh R. Menon, Sayan Ghosh, Shashank SrivastavaACL 2022 · 13 citations
  4. LaSQuE: Improved Zero-Shot Classification from Explanations Through Quantifier Modeling and Curriculum LearningSayan Ghosh, Rakesh R. Menon, Shashank SrivastavaACL Findings 2023 · 2 citations
  5. LOGICZSL: Exploring Logic-induced Representation for Compositional Zero-shot LearningPeng Wu, Xiankai Lu, Hao Hu, Yongqin Xian et al.CVPR 2025
Dusk over the sea between two cliffs drawn in fine vertical lines