Uni-NLX: Unifying Textual Explanations for Vision and Vision-Language Tasks

Fawaz Sammani, Nikos Deligiannis
8/17/2023
cs.CV

Official code: fawazsammani/uni-nlx (3 stars, last commit 2023-12-12). 1 more implementation below.

Abstract

Natural Language Explanations (NLE) aim at supplementing the prediction of a model with human-friendly natural text. Existing NLE approaches involve training separate models for each downstream task. In this work, we propose Uni-NLX, a unified framework that consolidates all NLE tasks into a single and compact multi-task model using a unified training objective of text generation. Additionally, we introduce two new NLE datasets: 1) ImageNetX, a dataset of 144K samples for explaining ImageNet categories, and 2) VQA-ParaX, a dataset of 123K samples for explaining the task of Visual Question Answering (VQA). Both datasets are derived leveraging large language models (LLMs). By training on the 1M combined NLE samples, our single unified framework is capable of simultaneously performing seven NLE tasks including VQA, visual recognition and visual reasoning tasks with 7X fewer parameters, demonstrating comparable performance to the independent task-specific models in previous approaches, and in certain tasks even outperforming them. Code is at https://github.com/fawazsammani/uni-nlx

View on arXivView PDF

Code Implementations(2)

Uni-NLX: Unifying Textual Explanations for Vision and Vision-Language Tasks, ICCVW 2023, Oral, Honourable Mention Award

32PythonJul 6, 20232 years ago
fawazsammani/nlxgptCommunity100%

NLX-GPT: A Model for Natural Language Explanations in Vision and Vision-Language Tasks, CVPR 2022 (Oral)

5010Python, Jupyter NotebookNov 5, 20212 years ago

Similar Papers

Cite this paper

@article{sammani2023uninlx,
  title  = {Uni-NLX: Unifying Textual Explanations for Vision and Vision-Language Tasks},
  author = {Fawaz Sammani and Nikos Deligiannis},
  year   = {2023},
  eprint = {2308.09033},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2308.09033v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2308.09033.svg)](https://codeofpaper.com/paper/2308.09033)

Discussion