Analysis updated 2026-05-18
Reproduce the paper's training runs on the included program synthesis, physics, or financial NER benchmarks.
Compare RESD against the SDPO and GRPO baselines it builds on for a related research project.
Study the playbook and reflection code as a reference implementation for self-improving training loops.
Adapt the context-updating approach to a different reinforcement learning training pipeline.
| horizon-llm/resd | 13127905/deep-learning-based-air-gesture-text-recognition- | 6xvl/paralives-plugins-index | |
|---|---|---|---|
| Stars | 15 | 15 | 15 |
| Language | Python | Python | Python |
| Setup difficulty | hard | moderate | easy |
| Complexity | 5/5 | 3/5 | 2/5 |
| Audience | researcher | developer | general |
Figures from each repo's GitHub metadata at analysis time.
Requires GPU infrastructure, a Conda or Docker environment, and a Weights and Biases API key to run training.
RESD, short for Reflection Enhanced Self Distillation, is a Python research project from a group called horizon-llm that implements a method for training AI language models to learn more effectively from their own mistakes. It builds on top of two existing training frameworks, called veRL and SDPO, and accompanies a research paper describing the approach. The core idea is that during training, the system keeps two forms of memory alongside the model itself. One is a playbook of reusable lessons distilled from past failed attempts, and the other is an optional buffer that stores examples of successful attempts when they happen. After each training step, the system updates this memory by removing outdated or low value entries and adding new lessons generated by reflecting on what went wrong. A teacher version of the model, kept in sync with the student model through a smoothing process, then uses this enriched context to guide the student's next round of learning, rather than only supplying a plain right or wrong signal. The project is evaluated on four benchmark tasks covering different problem types, including writing small programs to match patterns, simulating simple physics scenarios, and tagging named entities in financial documents, comparing RESD's results against the SDPO and GRPO training methods it builds on. Getting the code running requires either building a Conda environment from a provided configuration file or pulling a prebuilt Docker image, along with a Weights and Biases account and API key for tracking training runs. This is aimed at machine learning researchers already familiar with reinforcement learning style training pipelines and GPU based infrastructure rather than casual users or beginners, since running any of the included examples requires meaningful compute resources and machine learning expertise. The README does not clearly state a license for the code.
RESD is a Python research method for training AI language models to learn better from their own past mistakes using a reusable playbook of lessons and a teacher-student setup.
Mainly Python. The stack also includes Python, PyTorch, Docker.
The README does not clearly state a license for the code.
Setup difficulty is rated hard, with roughly 1h+ to a first successful run.
Mainly researcher.
This repo across BitVibe Labs
Verify against the repo before relying on details.