whatisgithub

What is apt?

xukechun/apt — explained in plain English

Analysis updated 2026-05-18

15PythonAudience · researcherComplexity · 5/5Setup · hard

In one sentence

APT is research code for a two-stage robot AI training method that teaches action generation from vision first, then adds language instruction following without destabilizing training.

Mindmap

mindmap
  root((apt))
    What it does
      Robot action pretraining
      Vision language action model
      Two stage training
      Gated language injection
    Tech stack
      Python
      PyTorch
      DeepSpeed
    Use cases
      Robot control research
      Benchmark evaluation
      Instruction following
    Audience
      AI 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

Train a vision-language-action model for robot control using a two-stage pretraining approach.

USE CASE 2

Evaluate a robot manipulation model on the LIBERO benchmark or an Isaac Sim pick-and-place task.

USE CASE 3

Study how gated language injection can stabilize training of robot action models.

USE CASE 4

Extend the codebase with new robot trajectory datasets or model configuration presets.

What is it built with?

PythonPyTorchDeepSpeed

How does it compare?

xukechun/apt13127905/deep-learning-based-air-gesture-text-recognition-6xvl/paralives-plugins-index
Stars151515
LanguagePythonPythonPython
Setup difficultyhardmoderateeasy
Complexity5/53/52/5
Audienceresearcherdevelopergeneral

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

How do you get it running?

Difficulty · hard Time to first run · 1day+

Requires GPU hardware, HDF5 trajectory datasets, and simulator setup for full benchmark evaluation.

So what is it?

This is the code for a research project called APT, which stands for Action Expert Pretraining, released alongside an academic paper on arXiv. It addresses a problem in training AI systems that control robots by processing both visual input and spoken or written instructions. The type of AI model this work focuses on is called a vision-language-action model, or VLA. A VLA takes in camera images of a scene and a text instruction like "pick up the red cup and place it in the storage box," and outputs a sequence of robot movements to carry out that task. The challenge is that these models are often trained on datasets where text instructions are sparse or noisy, and the action-generation component starts from random weights, leading to unstable training that can corrupt the language understanding part of the model. APT addresses this by splitting the training into two stages. In the first stage, only the action-generation component (called the action expert) is trained, using visual observations and recorded robot movements but with language completely excluded. This gives the action expert a solid understanding of how to move based on what it sees, without any interference from language. In the second stage, a gated mechanism is introduced that injects language features from a large vision-language model (Qwen3-VL) into the action expert layer by layer. The gates are learned values that control how much language influence enters each layer, preserving the visual movement knowledge built in stage one while adding the ability to follow instructions. The result, according to the paper, is better generalization to instructions the model has not seen before, and to tasks that combine familiar instructions in new ways. The repository includes the full training code, data loading utilities for HDF5-format robot trajectory datasets, inference utilities, and evaluation setups for two robot benchmarks: LIBERO (a manipulation benchmark) and a pick-and-place task in the Isaac Sim physics simulator using a UR5 robot arm. Training uses either PyTorch's standard distributed training or the DeepSpeed library for larger multi-GPU setups. The code is structured to support adding new datasets and new model configuration presets.

Copy-paste prompts

Prompt 1
Explain APT's two-stage training approach for vision-language-action robot models.
Prompt 2
How do I run APT's evaluation on the LIBERO manipulation benchmark?
Prompt 3
Walk me through setting up multi-GPU training for APT using DeepSpeed.
Prompt 4
What is the gated mechanism APT uses to inject language features into the action expert?

Frequently asked questions

What is apt?

APT is research code for a two-stage robot AI training method that teaches action generation from vision first, then adds language instruction following without destabilizing training.

What language is apt written in?

Mainly Python. The stack also includes Python, PyTorch, DeepSpeed.

How hard is apt to set up?

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

Who is apt for?

Mainly researcher.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.