NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Interpreting User Requests in the Context of Natural Language Standing Instructions

Nikita Moghe, Patrick Xia, Jacob Andreas, Jason Eisner, Benjamin Van Durme, Harsh Jhamtani

TL;DR

LLMs often struggle with persistent memory, forcing users to repeat preferences in every new session. This paper introduces Standing Instructions (SI)—natural language rules that define long-term user behavior—and a new benchmark, NLSI, to evaluate how well models can select and apply these instructions to generate structured API calls. The results show that even state-of-the-art models like GPT-4 find this task remarkably difficult, achieving a maximum exact match of only 46%.

What Problem Does This Paper Address?

Current natural language interfaces (like ChatGPT or travel booking bots) are largely transactional. If you always prefer Persian food or only fly with a specific airline, you usually have to specify that every time you make a request.

The authors propose a framework for "standing instructions": persistent, user-provided natural language statements that change how a system behaves under specific circumstances. The core challenge is two-fold:

  1. Selection: Out of a large profile of instructions, which ones are relevant to the current user utterance?
  2. Interpretation: How do you combine the user’s immediate request with those relevant instructions to produce a correct sequence of API calls?

This is harder than simple keyword matching. Instructions can be conditional ("If I'm flying American, book economy"), multi-domain ("If I book a flight, also search for a hotel"), or even conflict with the current request.

Methods

The researchers formalize the task as a two-step generative process: first, selecting a subset of relevant instructions ($z$) from a user profile ($u$), and second, interpreting the utterance ($x$) and instructions ($z$) into API calls ($y$).

They tested three main prompting paradigms:

  • Direct Interpretation: The entire user profile and the utterance are fed into the LLM, which is expected to implicitly select and apply the right rules.
  • Select-and-Interpret: The model is prompted to first list the relevant instructions and then generate the API calls (similar to Chain-of-Thought).
  • Select-then-Interpret: Two separate steps. Selection is handled by various methods (BM25, embedding-based retrieval, or LLM-based selection), and the resulting subset is passed to an interpretation model.
Illustration of the different prompting methods used to incorporate standing instructions.

Datasets

The authors introduced NLSI (Natural Language Standing Instructions), a dataset created by repurposing the Schema Guided Dataset (SGD).

  • Scale: 2.4K dialogues across 17 domains (e.g., flights, restaurants, movies).
  • User Profiles: Each dialogue is paired with a profile containing 3 to 22 instructions, including "distractor" instructions from unrelated domains to test the model's retrieval accuracy.
  • Reasoning Types: The dataset is categorized into six types of increasing difficulty, including Multi-hop (where one instruction triggers another) and Multi-domain (where an instruction in one domain affects another).
Examples of different reasoning types in the NLSI dataset, showing how instructions map to API calls.

Key Insights and Ideas

  • Selection is the Bottleneck: The biggest hurdle isn't just understanding the API; it's finding the right needle in the haystack of instructions. Standard retrieval methods like BM25 or sentence embeddings (Contriever) performed poorly compared to LLM-based selection.
  • The "Oracle" Gap: Even when the models were given the exact correct instructions (the "Oracle" setting), they only achieved a 58.5% exact match. This suggests that the reasoning required to map natural language rules to structured API arguments is inherently complex.
  • Multi-domain Struggles: Models were particularly bad at "Multi-domain" reasoning (less than 17% accuracy). For example, if a user asks for a museum and a standing instruction says "If I look for travel, also check for hotels," models often forgot to trigger the second API call for the hotel.
  • Transparency through Decoupling: The authors argue that the "Select-then-Interpret" approach is preferable for real-world use because it is transparent; a user can see exactly which standing instructions influenced the system's output.

Key Results

  • Best Performance: GPT-4 using a "Multi-pass" selection strategy (where the model iterates to find missing instructions) achieved the highest Exact Match (EM) of 46%.
  • Model Comparison: GPT-4 significantly outperformed GPT-3.5 and LLaMA 2. LLaMA 2 (7B) struggled immensely with the selection task, often performing worse than simple keyword search (BM25).
  • Qualitative Errors: Common failures included "hallucinating" API arguments that weren't in the instructions or missing arguments that were dependent on other attributes (e.g., missing a specific movie director mentioned in a conditional instruction).

Limitations and Future Work

The authors acknowledge several limitations:

  • API Scale: The benchmark uses 17 APIs; real-world assistants might have thousands, making the selection task even more daunting.
  • Instruction Form: The instructions were derived from templates and paraphrased. Real user instructions might be more ambiguous, messy, or even non-linguistic (e.g., learned from past behavior).
  • Static Context: The current setup is limited to single-turn API generation. Future work should look at how these instructions evolve over a multi-turn conversation.

The paper concludes that current LLMs are not yet reliable enough to act as truly personalized agents that respect complex, persistent user constraints, calling for new research into memory-augmented architectures and better reasoning-based retrieval.

Summary updated

BibTeX
@inproceedings{moghe2024interpreting,
  author = {Nikita Moghe and Patrick Xia and Jacob Andreas and Jason Eisner and Benjamin Van Durme and Harsh Jhamtani},
  title = {{Interpreting User Requests in the Context of Natural Language Standing Instructions}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2024},
  url = {https://openreview.net/forum?id=CjAvjUluX6},
}
Figure