ReLI: Cross-Lingual Language-to-Action Grounding for Human-Robot Interaction
Documentation: linusnep.github.io/ReLI
We present ReLI, a framework that enables human to instruct a mobile robot in their own language, written or spoken, and turns the instructions into safe robot actions. A ReLI robot can answer questions, navigates to named destinations and coordinates, finds and approaches objects it sees, draws shapes, and reports what is around it, etc., all in the user's language.
This repository provides the guideline to re-implement the corresponding paper ReLI: Cross-Lingual Language-to-Action Grounding for Human-Robot Interaction.
"Fahre zwei Meter vor und dreh dich nach rechts." -> MOVE 2 m, TURN right 90°
"导航到厨房" -> GO_TO_DESTINATION kitchen
"Abeg waka go meet the chair." -> GO_TO_OBJECT "chair" (found with the camera)
See Architecture.
Installation
ReLI requires Python ≥ 3.10; an NVIDIA GPU is recommended for perception.
On the host. We recommend a virtual environment:
python3 -m venv ~/reli_env && source ~/reli_env/bin/activate
pip install "reli-robot[web]" # core + browser interface
The package is published on PyPI as reli-robot; it is imported as reli and provides the reli command.
From source: git clone https://github.com/LinusNEP/ReLI.git && pip install -e "ReLI[dev,web]".
With Docker. The image includes the browser interface, perception, rosbridge and speech:
docker build -t reli .
docker run --rm -it --gpus all -p 127.0.0.1:8080:8080 -e OPENAI_API_KEY \
-v "$PWD":/work reli web -c sim --host 0.0.0.0 # http://localhost:8080
or docker compose up (CPU) / docker compose --profile gpu up reli-gpu. See Getting Started for details.
| Extra | Adds |
|---|---|
web |
Browser interface (FastAPI) |
vision |
SAM 3, Grounding DINO, OWLv2, CLIP/SigLIP 2, depth models (PyTorch) |
yolo |
YOLO-World via Ultralytics |
ros |
ROS 1 / ROS 2 robots through rosbridge (roslibpy) |
realsense |
Intel RealSense cameras without ROS |
speech |
Local speech recognition (faster-whisper) |
anthropic, gemini |
Claude and Gemini providers |
embeddings |
Embedding-based consent classifier |
Quick start (simulator, no robot needed)
export OPENAI_API_KEY=... # or another provider, see below
reli chat -c sim -v # terminal
reli web -c sim # browser: http://127.0.0.1:8080
Example instructions: "go to the kitchen", "draw a square with 1 m sides", "was siehst du?", "go to the chair", or "où es-tu ?".
Without an API key, reli simulate runs a plan through validation, safety checks and the simulator:
reli simulate -c sim '[{"action": "POLYGON", "sides": 4, "side_length": 1.5}]'
Language models. Any OpenAI-compatible server can be used:
llm:
provider: openai_compatible # Ollama, vLLM, llama.cpp, LM Studio, DeepSeek, Groq, ...
base_url: http://localhost:11434/v1
model: qwen3:14b
provider: anthropic (with ANTHROPIC_API_KEY) and provider: gemini (with GEMINI_API_KEY) are also supported. Capabilities differ between servers, so the client adapts at run time. Models that reject temperature simply run without it.
Webcam perception. pip install "reli-robot[vision,web]" and reli web -c webcam_local combine the simulated robot with a webcam, SAM 3, and monocular metric depth.
Real robots (ROS 1 and ROS 2)
ReLI communicates with ROS Noetic and ROS 2 (Humble/Jazzy) robots through rosbridge, so it can run on a separate GPU machine without Python-version conflicts. For robots without rosbridge, we provide a container (docker/rosbridge.Dockerfile).
pip install -e ".[ros,vision,web]"
reli web -c romr_ros1 # ROMR / ROS 1 + move_base (paper setup)
reli web -c ros2_nav2 # ROS 2 + Nav2 template
reli ros -c romr_ros1 # headless: instructions on /reli/input
Topics, frames, the navigation action, and camera extrinsics are all configured in YAML. See Real-Robot Deployment.
Configuration
To print every option with its default:
reli config -c sim
Configurations can extend each other (extends: sim). Example prompts are in src/reli/resources/prompts.yaml and can be overridden with prompts_file:.
Evaluation
reli eval -c sim paper --per-language 20 # IPA, TSR and ART on the bundled test instructions
The test instructions, translations and annotation guidelines are in benchmark/. See Evaluation.
Development
pip install -e ".[dev]"
pytest # no network, GPU or ROS needed
ruff check src tests && ruff format --check src tests
pip install -e ".[docs]" && sphinx-build docs docs/_build/html
Pushing a version tag (v*) publishes the package to PyPI.
Citation
@article{nwankwo2025reli,
title = {ReLI: Cross-Lingual Language-to-Action Grounding for Human-Robot Interaction},
author = {Nwankwo, Linus and Ellensohn, Bjoern and {\"O}zdenizci, Ozan and Rueckert, Elmar},
journal = {arXiv preprint arXiv:2505.01862},
year = {2025}
}
License
Metadata
Release files for reli-robot 3.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| reli_robot-3.0.0.tar.gz | 495.7 kB | With provenance | Details for reli_robot-3.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| reli_robot-3.0.0-py3-none-any.whl | Python 3 | none | any | Details for reli_robot-3.0.0-py3-none-any.whl |
Total release size: 987.6 kB
Release files / reli_robot-3.0.0.tar.gz
| Download URL | reli_robot-3.0.0.tar.gz |
|---|---|
| Size | 495.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6a5670a70485c254879bd8ae6d40b8143d17dd09cb0bdda42e29d269ad471a75
|
|
BLAKE2b-256 checksum How to use checksums |
f4c3b75efec6de79d84ef45924b8cc1e9937958ce3d7943380aa531ae9d713b6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 3, 2026.
Transparency logRelease files / reli_robot-3.0.0-py3-none-any.whl
| Download URL | reli_robot-3.0.0-py3-none-any.whl |
|---|---|
| Size | 491.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d2cfcc5063d0269b687d1e65f7bedc459434dc95ecd442d69e301809e415f20d
|
|
BLAKE2b-256 checksum How to use checksums |
8368e1ddbe9680339eddb8857e0f1362d92c8a0e1575ca9ba39ea3f3e1b83d2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 3, 2026.
Transparency logSecurity for reli-robot 3.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for reli_robot-3.0.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 3, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.