Section 31.6: Human-agent interaction

A Careful Control Loop

For Human-agent interaction, read the figure as an interface check: identify the language input, grounding evidence, action representation, safety gate, and logged result before accepting the agent behavior described below.

Closed-loop interface for Human-agent interaction A four-stage loop connects input, model reasoning, action, and evidence for this page. Language Grounding Skill Clarify Observe, decide, act, measure, then feed failure evidence back into the next decision.
Figure 31.6: A closed-loop map for Human-agent interaction. The diagram forces the reader to name the input, model boundary, action interface, and evidence record before trusting the system.

Build And Evaluation Checklist

Depth and self-containment. This section must move beyond command following to mixed-initiative interaction, where the human and robot jointly shape the task state. Readers should know how corrections, preferences, and trust signals enter the loop.

Production and evaluation contract. The important artifact is an interaction trace containing user command, agent proposal, human correction, confidence or trust cue, and final action. Without that record, human-agent interaction becomes anecdotal rather than reproducible.

Checklist Memory Anchor

For Human-agent interaction, name the language interface, grounded world state, executable action contract, and evidence artifact before trusting any claimed improvement.

Mini Audit Exercise

For Human-agent interaction, write one evidence row recording instruction, world-state estimate, chosen action, verifier result, and failure label. Then identify which field would change first under command misunderstanding.

Big Picture

Human-agent interaction is where language-guided embodiment becomes collaborative rather than merely obedient. The robot must maintain task progress while staying interruptible, legible, and easy to correct.

This section explains how embodied agents should communicate uncertainty, accept corrections, and trade autonomy against user oversight during ongoing tasks.

The practical question is how much authority to give the robot before it must surface uncertainty or defer to the human.

Action Is The Test

Good interaction design minimizes correction cost. A system that is powerful but expensive to repair will quickly lose user trust.

Theory

Let $u_t$ denote a human input at time $t$, such as a command, correction, or approval. A shared-control policy can be written as $$a_t \sim \pi(a_t \mid h_t, x, u_{0:t}),$$ where the interaction history updates both task intent and trust calibration. The agent should not treat all human inputs equally: a correction signal often carries more control value than a new high-level command.

Interaction quality depends on observability in both directions. The robot must observe the user's intent, but the user must also observe enough of the robot's internal state to predict what it will do next. Explanations, preview actions, and confidence signals therefore become part of the control interface, not just user-interface decoration.

Mechanism

A useful design pattern is proposal, preview, confirm, execute, and revise. The agent proposes a plan or target, previews the risky part, accepts approval or correction, then executes while staying interruptible. This keeps autonomy high when things are clear and correction cost low when they are not.

Worked Example

Code Fragment 1 shows a simple interaction gate that chooses between direct execution and confirmation. The policy uses both uncertainty and action risk, because even a confident proposal may deserve review if the consequence is expensive.

# Ask for confirmation when uncertainty or action risk is high.
# Human interaction is a control channel, not just a cosmetic interface.
# The gate should consider both confidence and consequence.
proposal_confidence = 0.58
action_risk = 0.72

need_confirmation = proposal_confidence < 0.7 or action_risk > 0.6
decision = "confirm" if need_confirmation else "execute"

print({"confidence": proposal_confidence, "risk": action_risk, "decision": decision})
{'confidence': 0.58, 'risk': 0.72, 'decision': 'confirm'}
Code Fragment 1: This gate treats human confirmation as a principled control action triggered by uncertainty and consequence. The policy does not ask because it is weak; it asks because the expected cost of an unreviewed action is too high.
Library Shortcut

Shared-autonomy interfaces in ROS 2, behavior trees, and GUI-based teleoperation stacks already provide approval, cancelation, and intervention hooks. Those tools remove interface plumbing so the system designer can focus on calibration, timing, and legibility.

Practical Recipe

  1. Expose the agent's next intended action in a form the human can inspect quickly.
  2. Define explicit interrupt and override channels for high-risk actions.
  3. Treat corrections as informative state updates, not as episodic failure labels only.
  4. Measure user effort: confirmations, overrides, and repair time are core metrics.
  5. Tune the autonomy threshold on realistic tasks, because overly cautious systems become unusable.
Common Failure Mode

Human feedback loops fail when the robot asks too often, hides its state, or makes correction too expensive. All three issues can degrade trust even if raw task success remains high in short demos.

Practical Example

In assistive manipulation, a user may allow the robot to fetch a bottle autonomously but demand confirmation before it moves near a fragile glass. A good interface lets that boundary be expressed and updated during the task, not only in a setup menu.

Memory Hook

Humans are remarkably patient with robots that ask sensible questions and remarkably unforgiving of robots that confidently carry the soup in the wrong direction.

Research Frontier

The frontier here spans shared autonomy, interactive VLA systems, and socially aware embodied agents. Current benchmarks increasingly ask whether the agent can be corrected mid-task, explain risky choices, and preserve user preference over long horizons instead of only finishing one episode.

Self Check

If a user interrupts the robot halfway through a task, can your system say which part of the internal plan changed and whether earlier assumptions were invalidated or merely updated?

Human-agent interaction is a good example of why embodied AI cannot be judged only by single-episode reward. The human is part of the loop, so the system should optimize for correction cost, legibility, and trust calibration in addition to nominal task success.

That perspective also changes how to think about demonstrations. A correction is not just a label saying 'wrong'; it is a structured intervention revealing where the human expected the robot's internal state to differ. Strong systems preserve that information for future planning and personalization.

Tool Choices For Human-Agent Interaction
Tool or LibraryRole in the TopicBuilder Advice
ROS 2 actions and servicesInterruptible execution with feedback and cancelation.Use them when the human may need to pause, modify, or abort a running skill.
BehaviorTree.CPPApproval gates and fallback logic.Use it when confirmation and correction should be explicit branches in execution.
TEAChDialogue-rich embodied task benchmark.Use it when interaction quality is part of the evaluation target.
LeRobot or teleoperation logsCorrection traces and demonstration capture.Use them when interaction should feed back into learning from human guidance.
Shared-control GUI or web dashboardPreview and intervention surface.Use it when operator trust depends on seeing the next action before commitment.

Code Fragment 2 stores a minimal interaction event with proposal, human response, and final execution decision. That event is the unit you need for studying trust, intervention rate, and correction efficiency.

  1. Log the robot proposal before the user responds.
  2. Record whether the user approved, corrected, or overrode the action.
  3. Update the task state or policy threshold after the interaction, not only after episode end.
  4. Track intervention frequency together with success rate and completion time.
  5. Replay interaction traces to measure whether the same misunderstanding recurs across tasks.

When interaction fails, separate perception or planning errors from interface design errors. A system may have good low-level control yet still be unusable because correction is too slow, too opaque, or too expensive for the human.

Key Takeaway

Human-agent interaction is successful when autonomy and correction cost are balanced in the same control loop.

Exercise 31.6.1

Design an interaction trace schema for an assistive robot that must ask before risky actions but otherwise stay autonomous. Include at least one metric for user effort and one for task progress.

Bibliography and Further Reading
Primary Sources and Tools

Padmakumar et al. (2022). "TEACh: Task-driven Embodied Agents that Chat." AAAI.

TEACh is a natural reference for interaction that updates hidden task state during execution.

Paper or Documentation

ARIAC Tutorial. 'Move Robots with ROS2 Actions.'

This tutorial is a practical reference for interruptible, feedback-rich action execution in ROS 2.

Paper or Documentation

Zhou et al. (2025). "EmpathyAgent: Can Embodied Agents Conduct Empathetic Actions?" arXiv.

EmpathyAgent shows how interaction quality and embodied action can be evaluated together in socially meaningful tasks.

Paper or Documentation