Just-In-Time Objectives: A General Approach for Specialized AI Interactions

This paper introduces "Just-In-Time Objectives," a framework that passively observes user behavior to infer and rapidly optimize for specific, real-time goals, enabling large language models to generate specialized tools and responses that significantly outperform standard generic interactions.

Michelle S. Lam, Omar Shaikh, Hallie Xu, Alice Guo, Diyi Yang, Jeffrey Heer, James A. Landay, Michael S. Bernstein

Published 2026-03-09
📖 5 min read🧠 Deep dive

Here is an explanation of the paper "Just-In-Time Objectives," using simple language and creative analogies.

The Big Problem: The "Generic" AI

Imagine you hire a very smart, well-traveled chef (the AI) to cook you dinner. You say, "Make me something good."

The chef, wanting to be safe and please everyone, makes a giant, bland salad. It's edible, and technically "good," but it's not what you actually wanted. You wanted a spicy curry because you're feeling adventurous, or a warm soup because you're sick. But since you didn't specify, the chef just gives you the default menu item.

This is the current state of Large Language Models (LLMs). They are trained to be helpful to everyone, so they default to being generic, safe, and boring. They don't know your specific mood, your specific project, or the specific problem you are trying to solve right now.

The Solution: "Just-In-Time" Objectives

The authors of this paper propose a new way to talk to AI. Instead of giving the AI a vague order, they let the AI watch what you are doing and figure out your goal for you, right in the moment.

They call this "Just-In-Time Objectives" (JIT).

Think of it like a GPS navigation system:

  • Old Way: You tell the GPS, "Take me to a good place." The GPS picks a random tourist spot.
  • JIT Way: The GPS sees you are driving fast, checking your watch, and heading toward the highway. It realizes, "Ah, this person is in a rush to get to an airport." It instantly switches its goal to: "Get to the airport in the fastest possible time."

The AI doesn't need you to type a long, perfect prompt. It just needs to see what you are doing to understand what you need.

How It Works: The "Poppins" System

The researchers built a tool called Poppins (named after Mary Poppins, who always had the perfect tool for the job in her magical bag).

Here is the step-by-step process of how Poppins works:

  1. The Observation (The Eyes):
    You are working on a document or a design on your computer. Poppins (a browser extension) quietly looks at your screen. It sees you are editing a research paper about "AI systems."

  2. The Inference (The Brain):
    Instead of waiting for you to ask, Poppins thinks: "Okay, this person is writing a technical section. They probably need help making the complex ideas clearer, or maybe they need a diagram."
    It creates a Just-In-Time Objective.

    • Generic Objective: "Help with writing."
    • JIT Objective: "Clarify the technical architecture of the AI system for a computer science audience."
  3. The Action (The Hands):
    Poppins uses this specific objective to build a custom tool just for you.

    • It doesn't just give you text. It might build a drag-and-drop diagram tool to help you visualize your system.
    • It might summon a "Technical Writing Expert" persona that gives you feedback specifically on how to explain complex code.
    • It might create a "Character Emotion Tracker" if you are writing a sci-fi story.

Why Is This Better? (The Results)

The researchers tested this with real people doing real work (writing papers, coding, planning trips).

  • The "Generic" AI: Gave helpful but boring advice like "Check your spelling" or "Make sentences shorter."
  • The "JIT" AI: Gave specific, high-quality help like "Your diagram is missing a feedback loop between the user and the server," or "Here is a custom tool to track your character's emotions."

The Stats:

  • People preferred the JIT AI 66% to 86% of the time over the standard AI.
  • Users felt the JIT AI understood their specific needs much better.
  • The tools generated were unique to every single person. One person got a "Neural Architecture Explorer," while another got a "Cultural Perspective Highlighter."

The Analogy: The Tailor vs. The Department Store

  • Standard AI is like a Department Store. It sells one-size-fits-all suits. They fit "okay," but they aren't perfect for your body type or your specific style.
  • Just-In-Time Objectives are like a Master Tailor. The tailor watches you move, sees your posture, and notices you are going to a wedding. They instantly cut the fabric to fit your specific body and the specific event.

The Catch (Limitations)

  • It takes a moment: The AI needs a few seconds to "watch" and "think" before it builds the tool. It's not instant like a quick chat message.
  • Privacy: To work, the AI has to look at your screen. The researchers are very careful about this, but it means you have to trust the system with what you are doing.
  • Control: Sometimes the AI guesses wrong. But the cool part is that the "Objective" is visible. You can see what the AI thinks you want, and you can click a button to say, "No, actually, I want to focus on the design, not the code."

The Bottom Line

This paper suggests that the future of AI isn't about us learning how to talk to robots better. It's about robots learning how to read us better.

By watching what we do and figuring out our goals on the fly, AI can stop being a generic chatbot and start being a personalized assistant that builds exactly the tools we need, exactly when we need them.