- LiberalMind Robot Learning
- 1. Core Learning Loop
- 2. Trainable Components
- 3. Spatial Representation
- 4. Experimental Results
- 5. Training Progress and Loss
- 6. Installation
- 7. Download the Published Checkpoint
- 8. Load and Inspect Checkpoint Tensors
- 9. Launching the Full Model
- 10. Reproducibility Checklist
- 11. Scope and Limitations
- About LiberalMind
- 1. Core Learning Loop
LiberalMind Robot Learning
Simulation-based robot learning from spatial points and action feedback
LiberalMind Robot Learning explores a learning system in which a robot improves its behavior through actions executed in a simulated environment.
The system combines simulator-provided spatial information, task/action reasoning, robot-policy outputs, and feedback from executed actions. The resulting feedback is used to calculate a loss and improve the trainable components over successive learning stages.
The project has two trainable components:
- LLM component β participates in task interpretation, action reasoning, and the learning process.
- Robot policy β produces or controls the robot's actions based on the available spatial information.
Both components are trainable. The exact model architectures, parameter-update schedule, and coupling between their optimizers must be established from the implementation.
Repository status: The Hugging Face repository currently exposes a single
adapter_model.safetensorscheckpoint file. It does not yet include all model definitions, runtime code, model configuration, simulator integration, or checkpoints required to launch the complete LLM + robot-policy system.
The published checkpoint can be downloaded and inspected using the instructions below. The checkpoint alone is not a complete runnable robot controller.
1. Core Learning Loop
The central idea is to connect simulator-provided spatial information with robot actions and the resulting simulated state.
Simulator
|
v
Spatial Points / Simulated State
|
v
LLM Component + Policy
|
v
Robot Action
|
v
Action Executed in Simulation
|
v
Resulting Simulated State
|
v
Loss Calculation
|
v
Trainable Component Updates
|
+------> Next Learning Stage
Each learning stage conceptually consists of:
- Reading spatial points and relevant state information from the simulator.
- Processing task and spatial information through the learning system.
- Producing and executing a robot action.
- Evaluating the resulting simulated state.
- Calculating the training loss.
- Updating the LLM component and robot policy through their respective training procedures.
- Repeating the process in the next learning stage.
Spatial points are supplied by the simulator. They are not described as keypoints extracted from video frames.
2. Trainable Components
| Component | Role |
|---|---|
| LLM component | Participates in task interpretation and the action-learning process. |
| Robot policy | Learns robot action behavior using simulator information and feedback. |
Both components are trainable.
This does not necessarily imply a single end-to-end gradient update across both components. The exact update order, loss routing, optimizer configuration, and trainable parameter groups should be documented from the training implementation.
3. Spatial Representation
The point data used by the learning process comes directly from the simulated environment.
It provides spatial information for the action/feedback loop without requiring a separate video keypoint detector.
The complete point-data schema is not yet documented in the published repository. The following implementation details remain to be specified:
- Coordinate frame and units.
- Point ordering and dimensionality.
- Whether points represent targets, waypoints, end-effector positions, or other entities.
- How points are associated with robot state and action commands.
These details are important for reproducibility and should be taken directly from the simulator implementation rather than inferred.
4. Experimental Results
The project was evaluated across four successive learning rounds using a test set of 108 examples.
The experiments track three metrics:
- Correct predictions (%) β the percentage of correct results.
- Robot error (mm) β measured spatial error.
- Angle copying (%) β the frequency of copying angles rather than producing the intended behavior.
4.1 Results Across Learning Rounds
| Test (108 examples) | Correct | Robot Error | Angle Copying |
|---|---|---|---|
| Round 0 β Base Spark | 0.9% | 61.7 mm | 83% |
| Round 1 β LoRA on 41 own responses | 19.4% | 59.1 mm | 26% |
| Round 2 β LoRA on 211 responses | 37.0% | 50.2 mm | 3% |
| Round 3 β LoRA on 263 responses | 39.8% | 49.7 mm | 3% |
4.2 Learning Progress
The following charts visualize the measured changes across the four rounds.
Correct predictions
xychart-beta
title "Correct Predictions (%)"
x-axis ["Round 0", "Round 1", "Round 2", "Round 3"]
y-axis "Accuracy (%)" 0 --> 45
line [0.9, 19.4, 37.0, 39.8]
Robot spatial error
xychart-beta
title "Robot Error (mm)"
x-axis ["Round 0", "Round 1", "Round 2", "Round 3"]
y-axis "Error (mm)" 0 --> 70
line [61.7, 59.1, 50.2, 49.7]
Angle copying
xychart-beta
title "Angle Copying (%)"
x-axis ["Round 0", "Round 1", "Round 2", "Round 3"]
y-axis "Copying (%)" 0 --> 100
line [83, 26, 3, 3]
4.3 Key Observations
Comparing the baseline with Round 3:
| Metric | Baseline | Round 3 | Change |
|---|---|---|---|
| Correct predictions | 0.9% | 39.8% | +38.9 percentage points |
| Robot error | 61.7 mm | 49.7 mm | -19.4% |
| Angle copying | 83% | 3% | -80 percentage points |
The reported results show three notable trends:
- Improved correctness: Correct predictions increased from 0.9% to 39.8%.
- Reduced spatial error: Robot error decreased from 61.7 mm to 49.7 mm.
- Reduced angle copying: The angle-copying rate decreased from 83% to 3%.
The largest observed change in angle copying occurred between the baseline and the first LoRA round, followed by further improvement in Round 2.
The results suggest that successive fine-tuning stages substantially changed the system's output behavior.
Experimental note: These are reported development results, not independently verified benchmark results. The exact evaluation protocol, metric definitions, per-example predictions, and repeated-run statistics should accompany a reproducible release. The 108-example test set should be kept separate from training data to establish evaluation validity.
5. Training Progress and Loss
The project's training process also tracks loss as a learning signal.
An approximately 20% loss reduction over one learning stage was reported during development.
This is a preliminary training observation. It should not be confused with a 20% increase in task success, trajectory accuracy, or real-world performance.
The repository does not currently publish the complete loss formula, raw before/after values, or repeated-run statistics.
For reproducibility, the following information should be reported:
stage: <stage identifier>
loss_before: <measured value>
loss_after: <measured value>
relative_change: <calculated percentage>
For a decreasing loss:
100 * (loss_before - loss_after) / loss_before
The loss reduction and the three evaluation metrics in Section 4 describe different measurements and should not be treated as interchangeable.
6. Installation
The following commands install the dependencies needed to download and inspect the published Safetensors checkpoint.
python -m venv .venv
# Linux / macOS
source .venv/bin/activate
# Windows PowerShell
# .venv\Scripts\Activate.ps1
python -m pip install --upgrade pip
python -m pip install huggingface_hub safetensors torch
A CUDA-enabled PyTorch build is only required for GPU-side tensor operations. The inspection example below runs on CPU.
7. Download the Published Checkpoint
Download the weights from Hugging Face:
hf download LiberalMind/robot-learn \
adapter_model.safetensors \
--local-dir ./checkpoints/robot-learn
The resulting file should be located at:
./checkpoints/robot-learn/adapter_model.safetensors
8. Load and Inspect Checkpoint Tensors
The following example opens the published file, reads its tensor names and shapes, and verifies that the checkpoint can be parsed.
Save as inspect_checkpoint.py:
from pathlib import Path
from safetensors import safe_open
checkpoint_path = Path(
"./checkpoints/robot-learn/adapter_model.safetensors"
)
if not checkpoint_path.is_file():
raise FileNotFoundError(
f"Checkpoint not found: {checkpoint_path.resolve()}\n"
"Run the Hugging Face download command first."
)
num_tensors = 0
with safe_open(
str(checkpoint_path),
framework="pt",
device="cpu"
) as checkpoint:
for key in checkpoint.keys():
tensor = checkpoint.get_tensor(key)
print(
f"{key}: "
f"shape={tuple(tensor.shape)}, "
f"dtype={tensor.dtype}"
)
num_tensors += 1
if num_tensors == 0:
raise RuntimeError("The checkpoint contains no tensors.")
print(
f"\nCheckpoint parsed successfully: "
f"{num_tensors} tensors"
)
Run:
python inspect_checkpoint.py
This verifies and loads the stored tensor weights. It does not instantiate the LLM, construct a robot policy, perform inference, or connect to a simulator.
A .safetensors file stores tensors; it does not independently define the neural-network architecture or runtime interface.
9. Launching the Full Model
A complete launch requires more than the currently published weight file.
At minimum, the repository must include or identify:
- LLM definition and configuration β architecture, tokenizer/processor, base checkpoint (if the published weights are an adapter), and loading code.
- Robot-policy definition and checkpoint β policy architecture, action representation, and weights.
- Simulator integration β supported simulator/version, scene and robot configuration, observation/state interface, and action interface.
- Runtime entry point β a script that loads both components, connects them to the simulator, and starts inference or training.
- Training/inference configuration β point schema, device settings, checkpoint paths, and runtime parameters.
These components are not currently present in the published Hugging Face file listing.
Consequently, a verified command for launching the complete robot-learning system cannot yet be provided from this repository alone.
The following generic Transformers example is not a valid substitute for the complete runtime:
from transformers import AutoModel
model = AutoModel.from_pretrained(
"LiberalMind/robot-learn"
)
It does not construct the simulator interface or robot policy, and the published repository does not currently establish compatibility with this generic loader.
Once the model classes, configurations, checkpoints, and runtime entry point are published, this section should contain the exact tested launch command.
10. Reproducibility Checklist
For a reproducible release, publish:
- Source code for the LLM component and robot policy.
- Model and policy configuration files.
- Exact base-model identifier and tokenizer/processor, if applicable.
- Simulator name, version, scene, and robot configuration.
- Spatial-point schema and coordinate conventions.
- Action format and feedback/state fields.
- Exact loss definition and aggregation method.
- Optimizer settings, training schedule, and stage boundaries.
- Training checkpoints and logs with measured loss values.
- Test dataset description and evaluation protocol.
- Per-round predictions and evaluation results.
- A tested inference/training entry point and evaluation instructions.
11. Scope and Limitations
This project is currently described as simulation-based robot learning.
The reported evaluation results demonstrate changes in measured model behavior across successive training rounds. They do not independently establish transfer to a physical robot.
No claim is made here about:
- Real-world deployment.
- Sim-to-real transfer.
- Physical robot task success.
- Safety guarantees.
- Generalization to unseen environments.
- Superiority over other robot-learning methods.
Such claims require corresponding experiments and evaluation data.
About LiberalMind
LiberalMind is an independent research initiative exploring machine learning, intelligent systems, and embodied AI.
| Project | Robot Learning |
| Focus | Simulation-based, point-conditioned action learning |
| Trainable components | LLM component and robot policy |
| Spatial input | Points supplied by the simulator |
| Evaluation | 108-example test set |
| Training approach | Successive LoRA fine-tuning rounds |
| Reported accuracy | 39.8% in Round 3 |
| Reported spatial error | 49.7 mm in Round 3 |
| Reported angle copying | 3% in Round 3 |
LiberalMind β Building intelligence beyond the screen.
- Downloads last month
- 15