DiNeR: a Large Realistic Dataset for Evaluating Compositional Generalization

Chengang Hu, Xiao Liu, Yansong Feng
6/7/2024
cs.CL

Official code: Jumpy-pku/DiNeR (2 stars, last commit 2024-06-07).

Abstract

Most of the existing compositional generalization datasets are synthetically-generated, resulting in a lack of natural language variation. While there have been recent attempts to introduce non-synthetic datasets for compositional generalization, they suffer from either limited data scale or a lack of diversity in the forms of combinations. To better investigate compositional generalization with more linguistic phenomena and compositional diversity, we propose the DIsh NamE Recognition (DiNeR) task and create a large realistic Chinese dataset. Given a recipe instruction, models are required to recognize the dish name composed of diverse combinations of food, actions, and flavors. Our dataset consists of 3,811 dishes and 228,114 recipes, and involves plenty of linguistic phenomena such as anaphora, omission and ambiguity. We provide two strong baselines based on T5 and large language models (LLMs). This work contributes a challenging task, baseline methods to tackle the task, and insights into compositional generalization in the context of dish name recognition. Code and data are available at https://github.com/Jumpy-pku/DiNeR.

View on arXivView PDF

Code Implementations(1)

Jumpy-pku/DiNeROfficial100%

Source code and data for DiNeR: a Large Realistic Dataset for Evaluating Compositional Generalization(EMNLP 2023 main conference paper)

20PythonJun 4, 20242 years ago

Similar Papers

Cite this paper

@article{hu2024diner,
  title  = {DiNeR: a Large Realistic Dataset for Evaluating Compositional Generalization},
  author = {Chengang Hu and Xiao Liu and Yansong Feng},
  year   = {2024},
  eprint = {2406.04669},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.04669v1}
}

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/2406.04669.svg)](https://codeofpaper.com/paper/2406.04669)

Discussion