sunrainyg/RandOpt

Official Codebase for "Neural Thickets: Diverse Task Experts Are Dense Around Pretrained Weights" (ICML 2026 Spotlight)

Python

656

22 commits

updated Sep 21, 2026

See the code

README

RandOpt

Neural Thickets

Neural Thickets: Diverse Task Experts Are Dense Around Pretrained Weights

Yulu Gan, Phillip Isola

Paper | Project Page | Openreview | Starting with a 1D Experiment: Open In Colab

News

  • [2026-07] Iterative RandOpt is now on the iterative-randopt branch! Also support the pip install-able implementation that drops into existing verl or huggingface/trl setups.

Requirements

Option1: Python / Conda

(optional) conda activate your_env
pip install -r requirements.txt

Option2: Docker

From the directory containing RandOpt/:

StepCommand
Builddocker build -f RandOpt/docker/Dockerfile_vllm -t randopt-vllm:latest .
Rundocker run -it --gpus all randopt-vllm:latest bash
Run (with data)docker run -it --gpus all -v /path/to/RandOpt/data:/workspace/data randopt-vllm:latest bash

Run RandOpt

Post-train on your own dataset

Please follow the instructions in CUSTOM_DATASET_GUIDE.md

Post-train on a standard dataset

First download the data here: data/README.md

Then, from the RandOpt directory:

ModeCommand
Single nodesbatch scripts/single_node.sh
Multiple nodessbatch scripts/multiple_nodes.sh
Local (no Slurm)bash scripts/local_run.sh

Distill top-k models into a single model

Please follow the instructions in distillation/README.md.

Run Baselines

Please follow the instructions in baselines/README.md

Having questions?

Open an issue @ github.com/sunrainyg/RandOpt/issues.

Citation

@misc{gan2026neuralthickets,
      title={Neural Thickets: Diverse Task Experts Are Dense Around Pretrained Weights}, 
      author={Yulu Gan and Phillip Isola},
      year={2026},
      eprint={2603.12228},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2603.12228}, 
}
black-box-optimization
ensemble-learning
large-language-models
llm
lora
neuroevolution
post-training
reasoning
transformers

sunrainyg/RandOpt

Official Codebase for "Neural Thickets: Diverse Task Experts Are Dense Around Pretrained Weights" (ICML 2026 Spotlight)

Python

656

22 commits

updated Sep 21, 2026

See the code

README

RandOpt

Neural Thickets

Neural Thickets: Diverse Task Experts Are Dense Around Pretrained Weights

Yulu Gan, Phillip Isola

Paper | Project Page | Openreview | Starting with a 1D Experiment: Open In Colab

News

  • [2026-07] Iterative RandOpt is now on the iterative-randopt branch! Also support the pip install-able implementation that drops into existing verl or huggingface/trl setups.

Requirements

Option1: Python / Conda

(optional) conda activate your_env
pip install -r requirements.txt

Option2: Docker

From the directory containing RandOpt/:

StepCommand
Builddocker build -f RandOpt/docker/Dockerfile_vllm -t randopt-vllm:latest .
Rundocker run -it --gpus all randopt-vllm:latest bash
Run (with data)docker run -it --gpus all -v /path/to/RandOpt/data:/workspace/data randopt-vllm:latest bash

Run RandOpt

Post-train on your own dataset

Please follow the instructions in CUSTOM_DATASET_GUIDE.md

Post-train on a standard dataset

First download the data here: data/README.md

Then, from the RandOpt directory:

ModeCommand
Single nodesbatch scripts/single_node.sh
Multiple nodessbatch scripts/multiple_nodes.sh
Local (no Slurm)bash scripts/local_run.sh

Distill top-k models into a single model

Please follow the instructions in distillation/README.md.

Run Baselines

Please follow the instructions in baselines/README.md

Having questions?

Open an issue @ github.com/sunrainyg/RandOpt/issues.

Citation

@misc{gan2026neuralthickets,
      title={Neural Thickets: Diverse Task Experts Are Dense Around Pretrained Weights}, 
      author={Yulu Gan and Phillip Isola},
      year={2026},
      eprint={2603.12228},
      archivePrefix={arXiv},
      primaryClass={cs.LG},
      url={https://arxiv.org/abs/2603.12228}, 
}
black-box-optimization
ensemble-learning
large-language-models
llm
lora
neuroevolution
post-training
reasoning
transformers

Significant stargazers

Aman Karmani

3,108 followers · starred Mar 2026

Quentin Gallouédec

937 followers · starred Mar 2026

Tianheng Cheng

499 followers · starred Mar 2026

Joshua Z. Zhang

506 followers · starred Apr 2026