Architecture

We describe the method in our paper (arXiv:2505.01862).

ReLI architecture

ReLI architecture: (a) multimodal interaction interface, (b) action decision and command parsing, (c) visuo-lingual perception and object localisation, (d) action execution mechanism.

Problem formulation

ReLI learns F: C_T × V_s → A. It maps an instruction c in any language ℓ, together with the robot’s observations V_s (RGB, depth, odometry), to executable actions A.

Symbol

In the code

c, ℓ

ReLIAgent.handle(text, language=None); language set means the user fixed ℓ

V_s

PlanningContext (pose, scene memory, optional camera frame) and Grounder

r ∈ R_int

Plan.intent (execute, converse, clarify, refuse)

a_1..a_k

Plan.actions, validated against actions.Catalog

P(r) = {A_j(φ_j)}, n ≥ k

actions.expand

ρ_d

consent.ConsentClassifier

Λ: A_n(φ_n) → (v(t), ω(t))

robot.base.Robot.move/turn/arc

Pipeline stages

Paper

Module

Notes

A. Input and transcription (I2Face)

web/, speech.py, cli.py, robot/rosbridge.RosbridgeIO

Text, browser speech recognition, faster-whisper, or an OpenAI-compatible transcription endpoint.

B. Decision and parsing (DnPP)

planner.py, actions.py

One model call returns language, intent, reply and actions.

B. Language state

ReLIAgent.language

Updated from every turn unless the language is fixed. Very short replies keep the conversation’s language.

C. Consent

consent.py, ReLIAgent._needs_consent

Phrase templates (instant), then the LLM or the linear classifier on multilingual embeddings.

D. Visual grounding

perception/

See below.

E. Robot control (AEM)

executor.py, robot/

Closed-loop primitives, plus move_base or Nav2 for map goals.

F. Response

localization.py, _PlanReporter

Responses from the model in the user’s language.

IV. Metrics

evaluation.py

IPA (tolerant and strict), TSR in simulation (±0.2 m), ART.

Visual grounding

frame ─► proposals (SAM 3 | Grounding DINO | OWLv2 | YOLO-World)    detectors.py
      ─► mask quality Q(M) = |M| / |hull(M)| ≥ τ_q                  geometry.mask_quality
      ─► degradation Θ_i = exp(-β‖Ω_i‖), Ω = (dark, blur, cut-off)   geometry.degradation_*
      ─► [dual encoder] p(d_j|M_i) = softmax_j(τ S_ij), energy E    verifier.py
      ─► o* = argmax_i Θ_i · c_i · max_j p(d_j|M_i) · sim(d_j, c)    verifier.select_scores
      ─► median depth near the mask centroid (sensor or monocular)   geometry.region_depth
      ─► pinhole back-projection → base (extrinsics) → map (pose)    geometry
      ─► Kalman-filtered scene memory                                tracking.SceneMemory

We use SAM 3 by default, which returns masks and scores for a text prompt and thus provides both the proposals and their labels. The dual-encoder verifier is optional. Since Θ_i depends only on the region, we apply it per region in the selection score instead of the softmax labels. The energy E is computed on the encoder’s logits. Stage details: Perception.

Safety

safety.SafetyGuard checks every expanded plan before execution.

  • Per-step limits: distances, angles, waits, linear and angular speeds (each against its own unit), clearances, plan length and the allowed actions.

  • reject mode rejects the entire plan on any violation; clamp mode clips values and inform the user.