[Paper Review] When and What to Ask Through World States and Text Instructions: IGLU NLP Challenge Solution
This paper presents a dual-task approach for intelligent agent dialogue in collaborative building tasks, addressing *when* to ask for clarification and *what* to ask using world state and text instructions. It employs a multimodal transformer model with BERT, 3D CNNs for grid state encoding, and cross-attention fusion, achieving an F1 score of 0.757 on classification and MRR of 0.306 on ranking, outperforming dense retrieval baselines with a hybrid BM25 + cross-encoder reranking strategy.
In collaborative tasks, effective communication is crucial for achieving joint goals. One such task is collaborative building where builders must communicate with each other to construct desired structures in a simulated environment such as Minecraft. We aim to develop an intelligent builder agent to build structures based on user input through dialogue. However, in collaborative building, builders may encounter situations that are difficult to interpret based on the available information and instructions, leading to ambiguity. In the NeurIPS 2022 Competition NLP Task, we address two key research questions, with the goal of filling this gap: when should the agent ask for clarification, and what clarification questions should it ask? We move towards this target with two sub-tasks, a classification task and a ranking task. For the classification task, the goal is to determine whether the agent should ask for clarification based on the current world state and dialogue history. For the ranking task, the goal is to rank the relevant clarification questions from a pool of candidates. In this report, we briefly introduce our methods for the classification and ranking task. For the classification task, our model achieves an F1 score of 0.757, which placed the 3rd on the leaderboard. For the ranking task, our model achieves about 0.38 for Mean Reciprocal Rank by extending the traditional ranking model. Lastly, we discuss various neural approaches for the ranking task and future direction.
Motivation & Objective
- To develop an intelligent builder agent capable of determining when to request clarification during collaborative building tasks in simulated environments like Minecraft.
- To identify the most relevant clarification questions from a candidate pool based on world state and dialogue history.
- To improve collaborative task performance by reducing ambiguity through effective, context-aware clarification requests.
- To explore the integration of retrieval-based and neural ranking methods for clarification question selection.
- To investigate the potential of instruction-clarification question generation for data augmentation and user simulation.
Proposed method
- Uses a multimodal transformer architecture with separate encoders for dialogue history (using BERT) and 3D grid world states (using stacked 3D-convolutions with ReLU and 1x1 conv layers).
- Employs a fusion module with self-attention and cross-attention mechanisms to integrate textual and visual representations, with masking for infeasible block placements.
- Applies a binary classification head to predict whether a clarification request is needed based on fused representations.
- For ranking, combines BM25 retrieval with a cross-encoder (ms-marco-MiniLM-L-12-v2) for reranking, achieving improved MRR over baseline methods.
- Explores query expansion using TF-IDF, BM25, PL2, and DPH weighting models, and enhances with T5 fine-tuned on instruction-clarification pairs.
- Uses Sentence-BERT (RoBERTa-based) for semantic textual similarity reranking, computing cosine similarity between instruction and candidate questions.
Experimental results
Research questions
- RQ1When should an agent proactively ask for clarification during a collaborative building task?
- RQ2What specific clarification questions are most relevant given the current world state and dialogue context?
- RQ3How can retrieval and neural ranking models be combined effectively to improve clarification question selection?
- RQ4Can query expansion using neural models improve the recall and precision of relevant clarification questions?
- RQ5How does the integration of a user simulator via instruction-clarification generation enhance agent collaboration?
Key findings
- The classification model achieved an F1 score of 0.757, ranking 3rd on the IGLU NLP Challenge leaderboard.
- The ranking model achieved an MRR of 0.306 using a hybrid BM25 + cross-encoder reranking strategy, outperforming standalone dense retrievers.
- The BM25 baseline with heuristic improvements performed better than more complex dense retrieval models like ColBERT and MonoT5 on this dataset.
- The use of a cross-encoder as a reranker significantly improved MRR over bi-encoder-only baselines, increasing MRR20 from 0.222 to 0.306.
- Query expansion with a fine-tuned T5 model improved retrieval performance, though not as effectively as the hybrid BM25 + cross-encoder approach.
- Semantic textual similarity via Sentence-BERT provided a useful reranking signal, but was outperformed by the cross-encoder in final ranking performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.