Cooking with context: Leveraging context for procedural question answering
Conversational agents struggle to answer questions during complex tasks such as do-it-yourself (DIY) projects and cooking due to difficulties in understanding task context and user information needs. This study examines the efficacy of integrating conversational and task context in query and document representations to enhance question answering (QA) performance in cooking tasks. We evaluated three document representations with increasing granularity on two task-based QA datasets with a total sample size of 6217 question–answer pairs: full recipe documents (document-based), segmented recipes by cooking steps (step-based), and detailed task structures (task-based). The results show step- and task-based representations outperform traditional document-based approaches by 10% on average ( p < 0 . 05 ). Task-based representations provide superior performance for fact-based needs (e.g., ingredients, time, equipment) in most cases, while step-based representations better address competence needs (e.g., preparation, cooking techniques). Simple conversational history prepending of two to three turns yielded the best performance, improving results by up to 24% over no context. These results emphasise the importance of selecting a representation that matches the structure of the surrounding task in order to enhance QA performance. • Integrating task context improves QA performance in cooking-related tasks. • Aligning document representations with the task structure proves effective. • Task-based representations aid fact-based queries (e.g., ingredients, time). • Step-based representations benefit competence queries (e.g., cooking techniques). • Prepending prior turns is more effective than rewriting and expansion strategies. • A conversational window of 2–3 turns yields QA performance gains.
Authors
- Udo Kruschwitz (ORCID: https://orcid.org/0000-0002-5503-0341)
- David Elsweiler (ORCID: https://orcid.org/0000-0002-5791-0641)
- Alexander Frummet (ORCID: https://orcid.org/0000-0002-5982-7104)
Institutions
- University of Regensburg (DE)
Publication Details
- Journal
- Information Processing & Management
- Published
- 2025-06-03
- DOI
- https://doi.org/10.1016/j.ipm.2025.104212
- Citations
- 2
- Primary Topic
- Topic Modeling
- Type
- article
- Field-Weighted Citation Impact
- 4.96