GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - ut-amrl/foresight_public: Official public repository for Foresight

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
configs/model
configs/model
 
 
docs
docs
 
 
external
external
 
 
foresight
foresight
 
 
legged_deployment
legged_deployment
 
 
scripts
scripts
 
 
.gitignore
.gitignore
 
 
.gitmodules
.gitmodules
 
 
.python-version
.python-version
 
 
README.md
README.md
 
 
pyproject.toml
pyproject.toml
 
 
uv.lock
uv.lock
 
 

Repository files navigation

Iterative Reasoning About Clues that Matter for Navigation

Project Website Read Paper

This project implements Foresight, a vision-language navigation policy that iteratively discovers instruction-relevant visual clues and refines motion plans for open-world navigation.

Foresight framework: an observation history and language goal are fed to a motion planner, whose plan is judged by a motion critic; the accepted plan is lifted to metric waypoints by a grounding policy.

Overview

Given a natural-language goal and a short history of RGB observations, the model proposes an image-space trajectory, critiques its own proposal, optionally refines it, and grounds the result into metric BEV waypoints for motion control.

This repository contains what is needed to run the released model weights on a robot, plus the supervised fine-tuning pipeline for the unified plan-critique-refine model. Data generation and evaluation code are not included. See docs/architecture.md for how the system fits together, the service interface, the full configuration reference, and the no-refinement and RL variants, and docs/training.md for training.

Setup

ROS2 Humble or newer and a CUDA GPU are assumed. The vLLM server and the grounding policy both need CUDA; a single 2B model at gpu_memory_utilization: 0.5 fits comfortably on 24 GB.

Clone this repository into a ROS2 workspace as src/foresight_public; the config files reference prompt and config paths under that name.

git clone --recurse-submodules <this-repo> ~/foresight_ws/src/foresight_public
cd ~/foresight_ws/src/foresight_public

Python environment

Dependencies are managed by uv, which creates the .venv, installs this repository in editable mode, and resolves everything from pyproject.toml / uv.lock:

uv sync --extra deploy    # vLLM server and grounding policy encoders
source .venv/bin/activate

Use --extra train instead for the training dependencies (verl and flash-attn, see docs/training.md), or --all-extras for both. The train extra needs the external/verl submodule, hence --recurse-submodules above.

Build

The planner's service interface lives in a separate interface package. Build amrl_msgs into the same workspace (see docs/architecture.md for the message definitions if you need to vendor your own), then:

cd ~/foresight_ws
colcon build --packages-select amrl_msgs legged_deployment
source install/setup.bash

Training

Released weights, all under the ut-amrl organization:

Model Hugging Face ID Used by
Unified VLM, SFT foresight-qwen3vl-2b-sft vllm_server_sft.yaml (default)
Unified VLM, RL foresight-qwen3vl-2b-rl vllm_server_rl.yaml
Plan reward model foresight-qwen3vl-2b-reward the optional vlm_reward role, off by default
Grounding policy foresight-waypoint-policy waypoint_planner.yaml

vLLM loads the VLM directly from its Hugging Face ID, so only the grounding policy checkpoint needs downloading:

mkdir -p checkpoints/waypoint_policy
hf download ut-amrl/foresight-waypoint-policy \
  gtpassthrough_xformer_kp384_48m.ckpt --local-dir checkpoints/waypoint_policy

To fine-tune your own unified plan-critique-refine model instead of using the released weights, see docs/training.md.

Deployment

Two terminals, both from the workspace root. The defaults bring up the SFT variant with self-critique refinement enabled.

# terminal 1 - model server
ros2 launch legged_deployment vllm_server.launch.py

# terminal 2 - planner
ros2 launch legged_deployment deployment.launch.py

Wait for the server to print Starting vLLM server on http://127.0.0.1:8001, then request a plan:

ros2 service call /legged_deployment/foresight_planner \
  amrl_msgs/srv/ForesightPlannerSrv "{goal_command: {data: 'go to the next doorway'}}"

The response carries the planned nav_msgs/Path in the odom frame along with the critic's verdict and reason.

If the repository is not at ~/foresight_ws/src/foresight_public, point the server launch at it:

ros2 launch legged_deployment vllm_server.launch.py \
  vllm_repo_dir:=/path/to/foresight_public

Citation

If you use this code or the model weights in your research, please cite:

@article{zhang2026foresight,
  title={Foresight: Iterative Reasoning About Clues that Matter for Navigation},
  author={Zhang, Arthur and Qi, Carl and Su, Donne and Meng, Xiangyun and Zhang, Amy and Biswas, Joydeep},
  journal={arXiv preprint arXiv:2606.12550},
  year={2026}
}

License

Apache-2.0

About

Official public repository for Foresight

amrl.cs.utexas.edu/foresight

Topics

reasoning-agentsreinforcement-learningvision-language-navigation

Resources

Readme
Activity
Custom properties

Stars

6 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.