whatisgithub

What is foca?

cair-vinuni/foca — explained in plain English

Analysis updated 2026-05-18

34PythonAudience · researcherComplexity · 5/5Setup · hard

In one sentence

Research code for FOCA, an ICML 2026 method that helps robots learn new skills from few demonstrations by reasoning about future outcomes.

Mindmap

mindmap
  root((FOCA))
    What it does
      Future oriented robot learning
      Data efficient adaptation
      Video world model co-training
    Tech stack
      Python
      PyTorch
      Hugging Face
    Use cases
      Reproduce ICML results
      Fine-tune on custom data
      Co-train with DreamGen
    Audience
      Robotics researchers
      ML researchers

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Reproduce the FOCA paper's results on the LIBERO and RoboCasa simulation benchmarks.

USE CASE 2

Fine-tune a pretrained FOCA checkpoint on a custom robot manipulation dataset.

USE CASE 3

Co-train a robot policy with synthetic video from a world model like DreamGen.

USE CASE 4

Study future-oriented conditioning as a technique for data-efficient robot learning.

What is it built with?

PythonPyTorchHugging FaceLIBERORoboCasa

How does it compare?

cair-vinuni/focaabhisumatk/epstein_files_ragasdfo123/forgewm
Stars343434
LanguagePythonPythonPython
Setup difficultyhardmoderatehard
Complexity5/53/55/5
Audienceresearcherresearcherresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1day+

Requires multiple GPUs, large pretrained checkpoints, and simulator setup (LIBERO or RoboCasa) before evaluation or training can run.

So what is it?

FOCA is the code release for a robotics research paper presented at ICML 2026, focused on helping robots learn new physical skills from only a small number of example demonstrations. Today's vision-language-action models, which combine seeing, understanding language, and producing robot actions, tend to perform poorly when there is not much training data available for a new task. FOCA addresses this by training the robot to reason about likely future outcomes of its actions rather than just copying the exact motions in the demonstrations it was shown. The method works by combining a prediction of future interactions with the environment and an alignment step that checks whether the robot's plan matches those anticipated future goals. This future-oriented approach lets the model make better decisions over longer sequences of actions, and it also allows the system to train partly on synthetic video generated by separate world models, without needing real robot action labels for that extra video data. The paper reports state-of-the-art results on both simulated benchmarks and real-world robot manipulation tasks. The repository provides code to reproduce experiments on two simulation benchmarks, LIBERO and RoboCasa, along with pretrained model checkpoints trained on different amounts of data, from 10 percent up to the full dataset, all hosted on Hugging Face. It documents the installation steps, how to run evaluation on the simulators, how to fine-tune the model on a new dataset, and how to co-train using a separate video world model called DreamGen. It also includes guidance for adapting the method to a user's own robot data, along with configuration flags that turn on or off specific parts of the FOCA method such as the future-object tracking loss. This project is aimed at robotics and machine learning researchers working on vision-language-action models who want to reproduce the FOCA paper's results or build on its approach to learning from limited demonstration data.

Copy-paste prompts

Prompt 1
Walk me through setting up FOCA and running LIBERO evaluation on a pretrained checkpoint.
Prompt 2
Explain how FOCA's future-oriented conditioning differs from standard imitation learning for robots.
Prompt 3
Help me configure the use_implicit and use_explicit flags to fine-tune FOCA on my own dataset.
Prompt 4
Summarize what DreamGen co-training adds to the FOCA training pipeline.

Frequently asked questions

What is foca?

Research code for FOCA, an ICML 2026 method that helps robots learn new skills from few demonstrations by reasoning about future outcomes.

What language is foca written in?

Mainly Python. The stack also includes Python, PyTorch, Hugging Face.

How hard is foca to set up?

Setup difficulty is rated hard, with roughly 1day+ to a first successful run.

Who is foca for?

Mainly researcher.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.