When humans read instructions—whether a cooking recipe, a scientific protocol, or a DIY guide—they rarely need every single detail spelled out. We naturally fill in gaps using common sense, resolve ambiguous pronouns on the fly, and understand metonymy (such as knowing that "pour the pan" means to pour the contents of the pan).
For machines, however, these omitted details present a significant hurdle. Procedural and instructional texts are often syntactically flawless but semantically incomplete. Overcoming this "instructional ambiguity" requires natural language processing (NLP) systems to move beyond simple grammar checking and develop a deep, context-aware understanding of what is left unsaid.
Detecting the Gaps
Before an automated system can clarify an instruction, it must first recognize that a phrase or sentence is underspecified. Traditional text editing tools are ill-equipped for this; they focus primarily on grammatical correctness or surface-level simplification, leaving a gap in automated vagueness detection as highlighted by Debnath et al. in A Computational Analysis of Vagueness in Revisions of Instructional Texts.
To formalize this challenge, Roth et al. introduced a shared task framework detailed in the UnImplicit Shared Task Report: Detecting Clarification Requirements in Instructional Text. The goal is to identify sentences that are technically correct but require clarification for a reader to execute them effectively.
Detecting these gaps is difficult because the ambiguity is often distributed across the entire context rather than isolated to a single word. For instance, Ruby et al. explored this boundary in A Mention-Based System for Revision Requirements Detection, designing a system specifically to detect when pronouns need replacement. They discovered that purely mention-focused approaches struggle to outperform standard sentence-level baselines like BERT, confirming that the system must evaluate the sentence as a whole to catch subtle underspecifications. To capture these holistic nuances, single-author work by Wiriyathammabhum in TTCB System Description to a Shared Task on Implicit and Underspecified Language 2021 demonstrated that permutation-based language models like XLNet, paired with tailored learning rate schedulers, are highly effective at modeling the long-range dependencies required to flag sentences needing revision.
Evaluating Plausible Clarifications
Once a gap is identified, how does a model determine if a proposed clarification is helpful? This problem was formalized in SemEval-2022 Task 7, introduced by Roth et al. in SemEval-2022 Task 7: Identifying Plausible Clarifications of Implicit and Underspecified Phrases in Instructional Texts. Unlike standard cloze tests that require a model to predict a single missing word, this task forces models to evaluate the absolute semantic quality of an entire inserted phrase, categorizing it as plausible, neutral, or implausible.
Original: "Cook the mixture until thick."
Plausible Clarification: "Cook the mixture until [it coats the back of a spoon]."
Implausible Clarification: "Cook the mixture until [the kitchen turns blue]."
A series of breakthroughs in this task revealed that a model's internal architecture and training objectives are critical for success:
- Replaced Token Detection (RTD): Traditional language models are trained to predict masked words. However, top-performing systems for clarification evaluation rely on RTD models like ELECTRA and DeBERTa-v3. As shown by
Yim et al.in Stanford MLab at SemEval 2022 Task 7: Tree- and Transformer-Based Methods for Clarification Plausibility, ELECTRA significantly outperforms simpler tree-based methods. Why? RTD trains the model to act as a discriminator, judging whether a token fits perfectly or has been subtly altered. This objective aligns perfectly with evaluating clarifications, as the model acts as a fine-grained critic of semantic fit. - Pattern-Aware Ensembling: The winning strategy by Shang et al. (X-PuDu at SemEval-2022 Task 7: A Replaced Token Detection Task Pre-trained Model with Pattern-aware Ensembling for Identifying Plausible Clarifications) paired DeBERTa-V3 with an ensemble method that adjusted predictions based on the specific type of linguistic ambiguity. This allowed the model to apply different semantic constraints depending on whether the omission was an object, a location, or an action.
- Disentangled Attention:
Kang et al.(JBNU-CCLab at SemEval-2022 Task 7: DeBERTa for Identifying Plausible Clarifications in Instructional Texts) demonstrated that DeBERTa's architecture is uniquely suited for this task because it handles content and relative positions using separate matrices. This disentangled attention prevents the model from getting confused by the structural disruption caused by inserting new phrases into a sentence. - Contrastive Learning: To ensure the model doesn't just evaluate phrases in isolation,
Zhou et al.(PALI at SemEval-2022 Task 7: Identifying Plausible Clarifications of Implicit and Underspecified Phrases in Instructional Texts) introduced contrastive learning. This forces the model's embedding space to explicitly push plausible and implausible clarifications away from each other, sharpening its decision boundaries. This emphasis on preserving intent through robust ensembling was also verified byQiao et al.in HW-TSC at SemEval-2022 Task 7: Ensemble Model Based on Pretrained Models for Identifying Plausible Clarifications.
Grounding Instructions in World State
While text-only transformers excel at spotting linguistic patterns, true resolution of instructional ambiguity often requires understanding the physical state of the environment. If a chemistry protocol says "centrifuge for 5 minutes," a model cannot know what to centrifuge without tracking the history of the tubes and liquids up to that point.
To move beyond surface text, researchers have introduced process-level representations that map instructions to structured states. Tamari et al. addressed this in Process-Level Representation of Scientific Protocols with Interactive Annotation by creating Process Execution Graphs (PEGs). By treating protocol reading like a text-adventure game simulator, PEGs explicitly track the state of objects over time. This allows the system to resolve implicit arguments and metonymy by looking at the simulated environment rather than relying solely on the text.
[Step 1: Add water to beaker] ---> State: Beaker contains water
[Step 2: Heat the beaker] ---> State: Beaker contains hot water
[Step 3: Pour it out] ---> "it" resolved to "hot water" via State Tracking
Taking this concept to its logical conclusion, Nevens et al. introduced a benchmark for recipe execution in A Benchmark for Recipe Understanding in Artificial Agents. Their framework requires artificial agents to translate underspecified cooking recipes into precise, executable actions inside a simulated kitchen. By forcing models to interact with a physical simulation, this line of research proves that resolving ambiguity is not merely a text-matching problem—it requires situated reasoning and an internal model of the world to fill in what the human author left unsaid.
Key Foundational Work
UnImplicit Shared Task Report: Detecting Clarification Requirements in Instructional Text (2021) — contributed 3 concept elements to this direction.
A Mention-Based System for Revision Requirements Detection (2021) — contributed 2 concept elements to this direction.
TTCB System Description to a Shared Task on Implicit and Underspecified Language 2021 (2021) — contributed 2 concept elements to this direction.