Apply to my task
arXiv:2507.02935 ★ 76 Jun 26, 2025

Fs-CoT: show the model how to think, not just what to do

Key result

An LLM is the perfect literalist. Write 'make a post about coffee' and you get a post about coffee, not a tool for drawing in morning customers. The Fs-CoT method (Few-shot Chain-of-Thought) changes that: with it, GPT-4o reaches human level at reading hidden intentions, while standard approaches fail. The trick: instead of examples of finished answers, you show examples of reasoning about what the user meant. The model sees the chain "vague request → real goal → solution" and starts reproducing that line of thinking on any new request.

Theory of Mind in Action: The Instruction Inference Task

Key Aspects of the Research:

The research looks at how to get LLMs to better understand ambiguous, indirect user commands by inferring the user's true goal instead of following instructions literally. The authors propose a prompting method (Fs-CoT) in which the model is shown several examples of how to reason "step by step" to infer the user's intent from context.

Key Result: Showing an LLM several examples of the right line of thinking (Fs-CoT) works significantly better than simply describing the task, and lets the model (GPT-4o) reach human-level performance at understanding hidden intentions.


The Core of the Method Explained:

The idea is to teach an LLM to "read between the lines" using a technique the authors call Fs-CoT (Few-shot Chain-of-Thought). It solves the problem where a user gives a fuzzy command (say, "Make a post about our new coffee") and the LLM carries it out literally, without thinking about the real goal (say, "Bring in customers during the morning hours").

In practice, Fs-CoT comes down to building a prompt from three key blocks:

  1. Common ground and goal (Common Ground): At the start of the prompt you clearly set the LLM's role and, most importantly, explicitly state its main job: to infer your true intentions. You literally tell the model: "Your goal is not just to execute the command, but to understand what I actually want and help me achieve that goal in the best way possible."

  2. Reasoning examples (Demonstration Exemplars): This is the heart of the method. You give the LLM 5-7 examples in a "Problem -> Reasoning -> Solution" format.

    • Problem: An ambiguous instruction from the user.
    • Reasoning (Chain-of-Thought): You show the model how you yourself would reason to grasp the true meaning. "The user said 'X', but they're in situation 'Y', so what they actually want is to achieve 'Z'. To do that, we need to do 'A', 'B', and 'C'."
    • Solution: The final, optimal answer or action plan.
  3. Your task (Response Generation): After all the examples, you give your new, ambiguous instruction and ask the model to act by following the reasoning patterns it was shown.

So you're not just giving a command; you're teaching the model a thinking process that leads to the right result. From the examples, the model learns to spot hidden goals and act proactively and thoughtfully rather than as a mindless order-taker.


Practical Applicability Analysis:

  • Direct applicability: Anyone can start using this approach for complex tasks right away. Instead of refining your request over and over, you can write a "master prompt" once, with a role, a goal, and a few reasoning examples. This is especially useful for recurring tasks where the context is similar but the details change (for example, weekly reports, social media posts, meeting planning).

  • Conceptual value: The main insight for users is to stop treating an LLM like a search engine and start seeing it as an intern you can train. The research proves you can "prompt" not only the result but also the way of thinking. It shows that to get a quality answer to a complex question, you need to show the model the path, not just describe the destination.

  • Adaptation potential: The method is universal. The "Doors, Keys, and Gems" game environment is just an abstraction.

    • A marketer can teach the model to generate ad creatives by showing reasoning examples: "Request 'post about the sale' -> Goal: not just inform, but create urgency -> Reasoning: use a countdown, a bold call to action -> Result: a finished post."
    • A project manager can teach the model to write meeting summaries: "Request 'write up the outcomes' -> Goal: pull out key decisions and tasks -> Reasoning: look for phrases like 'we decided', 'needs to be done', 'owner' -> Result: a structured summary with tasks and owners." Adapting it is simple: pick your domain, identify 3-5 typical ambiguous requests, and write out the ideal thought process for each. That set of examples becomes your "training manual" for the LLM.

Practical Application Example:

# ROLE
You are an experienced social media manager and my assistant. Your job is to help me run the social media accounts for our coffee shop, "The Cozy Spot".

# MAIN GOAL
Your main goal is not to carry out my commands literally, but to **infer my true marketing intent** and suggest the best solution for the business. Always think about which business problem we're solving (attracting new guests, raising the average check, increasing repeat visits).

# CONTEXT
Our coffee shop, "The Cozy Spot", is a cozy place focused on quality coffee, fresh pastries, and a friendly atmosphere. Our audience values comfort and taking things slow.

# EXAMPLES OF HOW TO THINK (Chain-of-Thought)

---
**Example 1:**
*   **My command:** "Write something about the rain outside."
*   **Your reasoning:** "The command is ambiguous. Simply stating that it's raining is pointless. What's the business goal? Rain -> people look for somewhere to warm up and wait out the weather. That's a chance to bring them to us. I need to connect the rain to our product and atmosphere. Hot chocolate, a spiced latte, and a mention of our cozy blankets are a perfect fit."
*   **Your result (post):** "Rain drumming on the window? 🌧️ The perfect excuse to drop by The Cozy Spot! Wrap yourself in one of our soft blankets, grab a cup of fragrant spiced latte, and let the world wait. Cozy in any weather! ☕️"

---
**Example 2:**
*   **My command:** "We need more people on weekday mornings."
*   **Your reasoning:** "This command is a business goal. On weekday mornings our audience is people rushing to work. They care about speed and a jolt of energy. Just telling them to 'come by' won't work. We need a special offer. A 'coffee + croissant' combo at a small discount that they can grab to go is a great solution."
*   **Your result (post):** "Rushing to work? Swing by for a boost! 🚀 Weekdays only, 8:00 to 10:00 a.m.: the 'Rise & Shine' combo, any medium coffee + a fresh croissant for just $6.99. Fast, tasty, and right on your way!"

---

# MY NEW TASK

Now, using the same approach, carry out my new command:
**"Come up with a post about our new coffee blend, 'Evening Breeze'."**

Why It Works:

This prompt works thanks to several mechanics described in the research:

  1. Explicitly invoking "Theory of Mind": The phrase Your main goal is ... to infer my true marketing intent switches the model from "order-taker" mode to "proactive partner" mode.
  2. Learning from reasoning (Fs-CoT): The # EXAMPLES block is the key element. The model sees not just "input-output" but the entire thought process. It learns to connect an external event (rain) or a business goal (morning foot traffic) with a specific product and presentation format. It absorbs the pattern: Vague request -> Find the business goal -> Connect to product/atmosphere -> Create targeted content.
  3. Contextualization: The # CONTEXT block gives the model the "raw data" it needs (cozy atmosphere, quality coffee), which it then uses in its reasoning, making the answer relevant to our brand specifically.

Another Practical Application Example

# ROLE
You are my personal travel planning assistant.

# MAIN GOAL
Your job is not just to search for flights and hotels based on my requests, but to **anticipate my real needs and preferences** so the trip is as comfortable and interesting as possible. Always think about hidden factors: convenience, value for money, my unspoken expectations.

# CONTEXT
I travel with my family (2 adults, 1 child aged 10). We value comfort but don't like overpaying. We like historic city centers, good food, and places that aren't too noisy.

# EXAMPLES OF HOW TO THINK (Chain-of-Thought)

---
**Example 1:**
*   **My command:** "Find the cheapest hotel in Rome for our dates."
*   **Your reasoning:** "The command 'the cheapest' is ambiguous. Taking it literally could land us in a hotel on the outskirts with bad reviews, which would ruin a family vacation. The user's real goal is to save money, but not at the expense of basic comfort and location. I should find hotels rated at least 8.5/10, within 20-30 minutes of the center by public transit, and offer 3 options in the lower price range, listing the pros and cons of each."
*   **Your result:** "Here are 3 affordable but good options for your family in Rome: 1. Hotel A (a bit pricier, but closer to the center). 2. Hotel B (best value for money). 3. Apartment C (has a kitchen, so you can save on breakfasts)."

---
**Example 2:**
*   **My command:** "What should we see in Lisbon?"
*   **Your reasoning:** "Too general a question. A literal answer, a list of 20 sights, would be useless. The user's goal is to get a ready-made, interesting plan suited to a family with a child. The plan shouldn't be overloaded. I'll group the sights by neighborhood over 3 days, add places a kid will enjoy (for example, the aquarium), and recommend a few tried-and-true family-friendly cafes."
*   **Your result:** "Here's a 3-day plan for Lisbon: Day 1: Belém (the monastery, the tower, the famous custard tarts). Day 2: Downtown and Alfama (a ride on Tram 28, St. George's Castle). Day 3: Parque das Nações (the aquarium, the cable car). Here are a few cafes..."

---

# MY NEW TASK

Now, using the same approach, carry out my new command:
**"We need some restaurant for dinner on Saturday in Istanbul."**

Why This Example Works: The Mechanism.

This prompt is effective because it makes the LLM act like an experienced travel agent rather than a search form.

  1. Deconstructing vague requests: The examples teach the model that words like "cheapest," "what to see," and "some restaurant" aren't commands but invitations to analyze. The model understands that "some restaurant" hides a whole set of criteria: family-friendly, good food (probably local), not too expensive, well reviewed, conveniently located.
  2. Proactively offering solutions: Instead of a passive answer (a list of restaurants), the model learns to offer a complete solution. It understands that the real goal isn't "to get a list" but "to have a nice evening." So it might offer to book a table, check the menu for kids' dishes, or suggest options in different neighborhoods depending on the evening's plans.
  3. Context-based personalization: The model actively uses the information from the # CONTEXT block (a family with a child, a love of comfort). This lets it filter out unsuitable options (say, loud bars or overpriced fine-dining restaurants) and suggest what the user is very likely to enjoy, even if they never spelled out those criteria.

Usefulness Score: 92

02

Main Evaluation Criteria

  • A. Relevance to prompting techniques: Yes. The research is directly about building prompts (Fs-CoT and CP) that get LLMs to display "Theory of Mind", that is, to infer the user's true intentions behind ambiguous instructions.
  • B. Improving conversational answer quality: Yes. The Fs-CoT method significantly increases Intent Accuracy and Plan Optimality, which is critical for chat agents.
  • C. Direct practical applicability: Yes. Users can immediately apply the Fs-CoT (Few-shot Chain-of-Thought) approach in any chatbot by including a few reasoning examples for similar tasks in the prompt. No code or special tools required.
  • D. Conceptual value: Very high. The work gives users a powerful mental model: you can and should not just give LLMs commands but teach them a reasoning process through examples. It explains why LLMs are so often "dumb" and literal, and how to fix that by making them "read between the lines."
  • E. Useful new practice (clusters):
    • Cluster 1 (Prompt phrasing techniques): The core of the research. Fs-CoT combines few-shot and Chain-of-Thought techniques.
    • Cluster 7 (Reliability and stability): The method directly improves reliability by making the model pursue the user's true goal rather than just execute the literal instruction, which cuts down on wrong or suboptimal actions.
  • Practicality checklist: Yes, the research provides ready-made ideas for prompt constructions, shows how to structure complex requests to surface intent, and reveals a non-obvious LLM trait: their ability to "emulate" Theory of Mind with the right prompting. That adds +15 points to the base score.
03

Numerical Usefulness Score

Arguments for a high score (92/100): The research offers not just a "trick" but a fundamental, universal prompting approach to one of the biggest problems in working with LLMs: their literal-mindedness and inability to grasp hidden context or the true goal. The Fs-CoT method (learning from reasoning examples) can be applied directly by any user across a wide range of tasks, from travel planning to briefing marketing tasks. The results showing that LLMs with this kind of prompt reach human level confirm its exceptional practical value.

Counterarguments (why not 100?): * The score could be lower (say, 85) because the research was done in an artificial, "game" environment ("Doors, Keys, and Gems"). Users have to put in some mental effort to adapt the principle to their real tasks, like writing emails or analyzing documents. It's not a copy-paste template for every situation.

Counterarguments (why not lower?): * The score can't be below 80, because the principle it reveals, teaching the model a thinking process through examples so it can infer intent, is one of the pillars of advanced prompt engineering. It's conceptual knowledge that radically changes how you write prompts for complex tasks and makes you an order of magnitude more effective.


Research digest

Key result

An LLM is the perfect literalist. Write 'make a post about coffee' and you get a post about coffee, not a tool for drawing in morning customers. The Fs-CoT method (Few-shot Chain-of-Thought) changes that: with it, GPT-4o reaches human level at reading hidden intentions, while standard approaches fail. The trick: instead of examples of finished answers, you show examples of reasoning about what the user meant. The model sees the chain "vague request → real goal → solution" and starts reproducing that line of thinking on any new request.

Principle

Standard few-shot shows the model 'here's a request, here's an answer'. The model picks up the pattern by form, not meaning. Fs-CoT works differently: 'here's a request, here's how I think about it, here's the answer'. The model absorbs not the result but the chain of thought. Then it meets a new vague request and reproduces the same chain: what the person wanted → what the context is → how to solve it. The difference is like that between a student who memorizes answers and one who understood the method.

Why it works

By default an LLM processes words, not intentions. Between 'rain outside' and 'time to lure in guests with blankets and lattes' there's a gap the model won't cross without help. The reasoning block in the prompt teaches it to connect an external signal with the real goal, that is, to literally see things from your point of view. This is 'Theory of Mind' in action: the ability to model someone else's intentions. The researchers tested it on the task of inferring instructions from context, and GPT-4o with Fs-CoT reached human level where zero-shot and regular few-shot consistently missed.

When to apply

Recurring tasks with vague requests: social media (posts from 'situational' commands), meeting summaries, planning. Especially useful when the task context is stable but the wording changes: write a 'master prompt' with reasoning once and reuse it. NOT a fit for: strictly unambiguous tasks where the instruction is already complete and literal execution is exactly what you need (for example, 'translate this text word for word').

Mini recipe

1. Set the role and main goal: state explicitly that the model's job is not to execute commands literally but to infer the real intent. Example: `Your job is not just to do what you're told, but to understand what I actually want to achieve and suggest the best solution.` 2. Give 3–5 examples with reasoning in a "My command → Your reasoning → Your answer" format. The reasoning is the key part: show how you yourself interpret a vague request. Without this block the method doesn't work. 3. Add context: who your audience is, what the business goals are, what matters. The model will use this as raw material for its reasoning. 4. Finish with a new vague task: now write the request the way you would in real life, with no extra explanations. The model already knows how to think.

Examples

[BAD]: `Write a post about our new product` [GOOD]: `# ROLE You are a coffee shop's social media manager. Your job is not to execute commands literally but to infer the marketing intent and suggest the best solution for the business. # CONTEXT The Cozy Spot coffee shop: coziness, quality coffee, an audience that values comfort and taking things slow. # REASONING EXAMPLE My command: 'Write something about the rain outside.' Your reasoning: Just stating that it's raining is pointless. Rain is a reason to look for coziness. Goal: attract people who want to wait out the weather. I connect the rain with blankets and a hot latte. Your answer: [a finished post about warmth and coziness in bad weather] # TASK Write a post about our new coffee blend, 'Evening Breeze'.`

In plain words

Here's the deal: models are finally learning to understand not just what you said, but why you said it. It's called Instruction Inference: the model's ability to fill in the context and guess your real intent. AI used to work like a dim order-taker: ask it to "write about the rain" and it writes a weather forecast. Now, thanks to Theory of Mind mechanics, the model tries to "get inside your head" and figure out that behind your dry phrase there's a concrete business task, like getting people into a coffee shop to warm up.

It's like asking a friend to "grab something to go with tea" and they bring back your favorite cake instead of a bag of sugar. Technically, sugar goes with tea too, but your friend gets the context and your wish for a treat, not just glucose. In this research, AI stops being a calculator and becomes an empathetic partner that sees the gap between your words and your goals and fills it with logic and common sense.

Two powerful things sit at the core: a role model and chain of thought (Chain-of-Thought). When you give the model the role of an "experienced social media manager," you limit its option space to professional patterns. And with examples of "how to think," you're literally laying down rails for its logic. The model sees: "Aha, when the owner talks about rain, what they really want is to sell more lattes." That turns command execution from mindless copywriting into solving a marketing case.

It was tested on assistant tasks, but the principle is universal. It works in programming, when you ask to "fix a bug" and the AI realizes the whole architecture needs rewriting, or in design, when "make it pop" turns into highlighting the order button. It's a shift from the era of precise prompts to the era of intuitive interaction, where the machine understands what goes unsaid.

Bottom line: the future doesn't belong to people who write long instructions but to models that can read between the lines. If you spell out hidden goals and decision logic in your prompt, you get not just text but a ready-made business tool. SEO for meaning becomes more important than keyword picking, because now AI judges how useful you are, not how well you spell. Whoever teaches their models to "think like a pro" will take the profit while everyone else keeps fighting with dumb bots.

AI lab assistant

Apply this study to your task

Describe what you're working on. AI takes the method and the measured results from this paper and adapts them to your case, or writes a ready prompt built on them.

Based on Fs-CoT: show the model how to think, not just what to do arXiv:2507.02935

Sign in to apply this study New accounts get 50 free credits.

Get the week’s best papers by email

One email on Sundays with the highest-rated new techniques. Unsubscribe with one click.