paper-with-me

홈 › Papers

Counterfactual Recipe Generation: Exploring Compositional Generalization in a Realistic Scenario

2022-10-20 · Xiao Liu, Yansong Feng, Jizhi Tang, Chengang Hu, Dongyan Zhao

People can acquire knowledge in an unsupervised manner by reading, and compose the knowledge to make novel combinations. In this paper, we investigate whether pretrained language models can perform compositional generalization in a realistic setting: recipe generation. We design the counterfactual recipe generation task, which asks models to modify a base recipe according to the change of an ingredient. This task requires compositional generalization at two levels: the surface level of incorporating the new ingredient into the base recipe, and the deeper level of adjusting actions related to the changing ingredient. We collect a large-scale recipe dataset in Chinese for models to learn culinary knowledge, and a subset of action-level fine-grained annotations for evaluation. We finetune pretrained language models on the recipe corpus, and use unsupervised counterfactual generation methods to generate modified recipes. Results show that existing models have difficulties in modifying the ingredients while preserving the original text style, and often miss actions that need to be adjusted. Although pretrained language models can generate fluent recipe texts, they fail to truly learn and use the culinary knowledge in a compositional way. Code and data are available at https://github.com/xxxiaol/counterfactual-recipe-generation.

📄 PDF Abstract BibTeX arXiv:2210.11431

Code (1)

xxxiaol/counterfactual-recipe-generation 공식 구현

Tasks

counterfactualRecipe Generation

Methods 이 논문이 사용한 방법론

BASE 설명 없음

Similar Papers 제목 키워드 기반

DiNeR: a Large Realistic Dataset for Evaluating Compositional Generalization

2024-06-07 · Chengang Hu, Xiao Liu, Yansong Feng

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 com…

Diversity

$C^3$: Compositional Counterfactual Contrastive Learning for Video-grounded Dialogues

2021-06-16 · Hung Le, Nancy F. Chen, Steven C. H. Hoi

Video-grounded dialogue systems aim to integrate video understanding and dialogue understanding to generate responses that are relevant to both the dialogue and video context. Most existing approaches employ deep learnin…

Contrastive LearningcounterfactualDialogue UnderstandingMultimodal Reasoning+1

Flow Matching with In-Context Priors for Out-of-Distribution Brain Dynamics

2026-06-10 · Sam Gijsen, Michał Łukomski, Marc-André Schulz, Kerstin Ritter arxiv

Flow matching and diffusion models enable conditional generation across domains ranging from images to proteins, with recent extensions to out-of-distribution contexts. Yet generative models of neural time series have la…

Zero-shot Generalization

Seen to Unseen: Exploring Compositional Generalization of Multi-Attribute Controllable Dialogue Generation

2023-06-17 · Weihao Zeng, Lulu Zhao, Keqing He, Ruotong Geng 외

Existing controllable dialogue generation work focuses on the single-attribute control and lacks generalization capability to out-of-distribution multiple attribute combinations. In this paper, we explore the composition…

AttributeDialogue GenerationDisentanglement

CounterCurate: Enhancing Physical and Semantic Visio-Linguistic Compositional Reasoning via Counterfactual Examples

2024-02-20 · Jianrui Zhang, Mu Cai, Tengyang Xie, Yong Jae Lee

We propose CounterCurate, a framework to comprehensively improve the visio-linguistic compositional reasoning capability for both contrastive and generative multimodal models. In particular, we identify two critical unde…

counterfactualData AugmentationImage GenerationText Generation