Back

Autoresearch for World Model Inference

Our self-evolving research system built the fastest exact LTX 2.5 pipeline for one NVIDIA B200 GPU. It runs 71% faster than the previous record from NVIDIA Research for 4K generations and matches its output byte for byte.

Frontier research increasingly relies on AI agents. Anthropic reports that Claude leads about a quarter of the company’s own AI R&D, and OpenAI counts three agent-workdays for every human one in its research organization.

Yet recent assessments from METR and the Forecasting Research Institute find that agents still struggle with decisions that require research judgment. They have difficulty choosing which experiments to pursue, spotting unreliable measurements, and recognizing when a higher score masks a worse outcome. For now, agents rely on the judgment of the humans who design their research procedures.

At HABIT, we build autoresearch systems that design their own research procedures instead of relying on humans to design them.

Our system evolves scientists for each class of research problem, such as inference optimization. Each scientist we evolve is a team of agents whose research procedures and team structure vary across generations.

Each of our evolved scientists takes a research objective and a measure of progress. The scientist’s agent team then proposes hypotheses, runs experiments in parallel, and reviews the evidence before choosing which line of inquiry to pursue.

In this post, we present results from a scientist that our autoresearch system evolved to optimize world model inference. For this task, our scientist targeted Lightricks’ LTX 2.5, one of today’s strongest open video models. We chose the model’s most demanding published configuration, which calls for generating five seconds of 4K video with audio on a single NVIDIA B200.

NVIDIA Research’s team held the speed record for that configuration: their Sol-Engine ran 1.5× as fast as the standard pipeline with a small loss of precision.

We held our scientist to a stricter standard than NVIDIA. Every video it produced had to be byte-for-byte identical to the previous record’s. That rules out lower precision, fewer denoising steps, and every other approximation. Each speedup had to come from performing the same computation more efficiently.

The pipeline that our evolved scientist built is 2.7× faster than the standard pipeline and 1.7× faster than the previous record from NVIDIA Research. It was faster on all 64 videos in our held-out test set, and every output matched the previous record byte for byte. Every change to it was written by the evolved scientist, not by anyone on our team.

The previous record and ours generate the same clip on the same B200. Timers are shown at 6× speed. The two files are byte-for-byte identical.

Setup

ModelLTX 2.5 distilled, as released by Lightricks
Schedule8 coarse steps, 2× latent upsample, 3 refinement steps
Output121 frames at 24 fps, 3840×2160 (generated at 3840×2176 and cropped), stereo audio, H.264 at CRF 19
DecoderLTX full-frame diffusion decoder in every pipeline
HardwareOne NVIDIA B200 per request

We compare against two pipelines. The standard pipeline is LTX 2.5 as Lightricks released it, at full precision (BF16). We ported the previous record, Sol-Engine, from NVIDIA’s released code so it runs on the same machine as ours. Below, we call it the reference pipeline. It adds 4-bit (NVFP4) weights and a sparse attention kernel that skips much of the attention work in the final refinement steps. Our port matches NVIDIA’s reported time to within about 1% (Appendix A), and since the code and weights are public, anyone with a B200 can check it.

Latency is wall time from request to finished MP4 on disk, measured warm after two warmup requests. Exactness is a SHA-256 match between our file and the reference pipeline’s for the same prompt and seed. We use a hash rather than a perceptual score deliberately, because perceptual scores can pass videos a viewer would reject, as the rejected builds below show.

The held-out set is 16 prompts at two seeds each, none of which were seen during development. Each request runs as a pair on one B200: the comparison pipeline first, then ours. We ran each comparison on two B200s, after screening out machines where the reference pipeline itself ran abnormally slowly (Appendix B).

Results

Against public pipelines

On NVIDIA’s own prompts, with all four pipelines on the same two B200s:

PipelineLatencySpeedup over standard
Standard, full precision (BF16)92.65 s1.00×
Standard, 4-bit weights (NVFP4)77.17 s1.20×
Sol-Engine (previous record)60.78 s1.52×
Ours35.05 s2.64×

The previous record’s 1.52× comes from 4-bit weights and sparse attention, which change the output slightly. Everything beyond it is exact.

Against the standard pipeline, on held-out prompts

StandardOursSpeedup [95% CI]
GPU 1, 32 videos99.06 s36.32 s2.73× [2.70–2.77]
GPU 2, 32 videos96.82 s35.16 s2.75× [2.73–2.77]
All 64, finished MP497.58 s35.74 s2.73× [2.71–2.76]

Times are medians, and intervals are 95% paired bootstrap intervals on the ratio of medians. Ours was faster on every pair, by 2.56× to 3.03×.

Against the previous record, on held-out prompts

Previous recordOursSpeedup [95% CI]
GPU 1, 32 videos59.55 s34.90 s1.706× [1.701–1.717]
GPU 2, 32 videos60.71 s35.25 s1.722× [1.703–1.732]
All 64, finished MP460.03 s35.05 s1.713× [1.703–1.717]

Ours was faster on every pair, by 1.67× to 1.85×. All 64 files matched the record’s hash, and so did 48 more requests weighted toward speech, which we added to stress the audio path.

Time to finished MP4 for every held-out request: standard pipeline, previous record, and ours
Figure 1. Time to a finished MP4 for every held-out request. Each comparison ran as same-device pairs with ours, the previous record on two B200s and the standard pipeline on two others.

At other resolutions

Our build is compiled for one shape: 4K at 121 frames and 24 fps. A portable subset of its changes runs at any shape. We measured it against the previous record at four more settings, with 16 paired requests each across two B200s. All 64 outputs were byte-identical.

SettingPrevious recordPortable subsetSpeedup [95% CI]
720p, 5 s13.36 s3.69 s3.62× [3.57–3.72]
720p, 10 s18.36 s7.09 s2.59× [2.52–2.64]
1080p, 5 s19.16 s7.00 s2.73× [2.63–2.80]
1080p, 10 s30.85 s16.45 s1.88× [1.86–1.89]

Gains are largest for the smallest jobs, consistent with changes that remove a roughly fixed per-request cost.

Sample outputs

Five clips at native 4K with audio, shown here at 1080p. Each is byte-identical to the previous record’s output for the same prompt and seed, so each clip represents both pipelines.

A horse on a salt flat
The tide under a sandstone arch
Lanterns after the rain
Stillness in the snow
A fragrance commercial

What the scientist found

Only 58% of the time saved came from the two denoising loops, where the model’s core computation happens. The other 42% came from stage setup, decoding, and encoding, and from the handoffs between them. Most automated optimization work, including recent agents like JustGoal and ForgeKernel that beat expert GPU kernels, tunes one operator at a time and accepts small numerical differences. That approach would miss nearly half of this gain, and it does not keep the output identical.

Mean time per pipeline stage, previous record and ours
Figure 2. Mean time per stage across the 64 held-out requests. Loop times come from progress markers with one-second resolution.

The exactness constraint makes optimization substantially harder. Floating-point addition is not associative, so (a + b) + c can round differently from a + (b + c). Fusing operations, the standard way to speed up a GPU pipeline, usually changes the order of those additions, and with it the output. Each kernel the scientist wrote had to reproduce the reference rounding exactly. Faster changes that could not, including a switch to FlashAttention-4, were rejected by our evolved scientist.

Fitting the pipeline to the B200

The reference pipeline is written for GPUs with a fraction of a B200’s memory, so it moves each stage’s weights on and off the GPU and clears the memory allocator between stages. The scientist profiled the whole run, found that everything fits on one B200 with a peak of 136.5 GiB, and kept it all in place. That alone cut about 10% off the record’s run time. It also identified stages that ran sequentially despite having no data dependency. Audio and video decoding don’t depend on each other, so they now run side by side, and MP4 encoding starts during the last decoder block instead of after it.

Fusing kernels without changing a bit

Rotary position embedding and AdaLN modulation run in every transformer block at every step. In the reference pipeline, each was a chain of small elementwise kernels, each reading and writing the full 4K activation tensor. The scientist collapsed each chain into one kernel that performs the same operations in the same order, cutting memory traffic without touching the result. Those two fusions cut roughly another 10%. It applied the same approach to the input norm, the cross-attention residuals, and the attention gates.

Removing work that changes nothing

Within a denoising step, every token shares the same timestep, so the reference pipeline’s per-token copies of the conditioning row all hold the same values. The scientist passes the single row straight to the transformer and lets it broadcast, keeping the original path for inputs where timesteps differ. It also worked out that on blocks where every position is attended, the sparse attention kernel’s mask has no effect, so skipping it there is exact. Across 141 calls per request, that cut another 2%.

Each saving below was measured in paired runs on the build where the change landed. Builds differ, so the savings overlap and don’t sum to the total.

ChangeSaving
Keep all generation weights on the GPU4.30 s
Fuse rotary embedding into one kernel3.32 s
Fuse AdaLN modulation into one kernel2.48 s
Keep decoder weights on the GPU and defer allocator cleanup1.75 s
Skip masking on fully attended sparse blocks1.27 s
Fuse input norm with modulation, reuse stage setup, and overlap audio and video work0.76 s
Fuse the cross-attention residuals0.72 s
Share attention inputs and pack gate outputs0.49 s
Start encoding during the last decoder block0.44 s
Per-head attention gate, adapted from SGLang0.37 s

How the scientist got there

The scientist was given the target, B200s, and a check that each output matched the previous record’s file hash. From there it chose its own experiments, building and verifying dozens of candidate pipelines.

Two further decisions illustrate the judgment that recent assessments find agents lack. It noticed that on some B200s the reference pipeline ran up to 50% slower for no visible reason. That would have inflated every speedup, so it screened those machines out before any comparison ran (Appendix B). And it found that LTX 2.5’s faster convolutional decoder leaves a faint 32-pixel grid across flat regions, in the record’s output and its own. It moved both pipelines to the slower full-frame diffusion decoder, which leaves none, and accepted the latency cost.

Best verified latency over the run
Figure 3. Best verified time over the run. The step up is the move to the diffusion decoder. Every point is a build whose outputs matched the previous record byte for byte.

Progress was uneven. The first exact builds were about 15% faster than the record. The largest single jump, to 1.47×, came from keeping the generation weights on the GPU and fusing rotary embedding and AdaLN. After that, gains came a few percent at a time, reaching 1.83× on the convolutional decoder. The switch to the diffusion decoder gave up part of that gain, and the scientist recovered to 1.71×. All results in this post use the diffusion decoder.

Most candidate changes did not hold up. Replacing the sparse attention kernel with NATTEN, an open-source neighborhood attention library, ran more than twice as slow. A sparse refinement kernel that also specialized complete query rows came out slower than the kernel it was meant to replace. A rework of how the original decoder wrote its tile masks saved less than 0.5%.

The builds it rejected

Several builds were faster than the one we’re publishing, but none preserved the output.

BuildLatencyWhy it was rejected
FP8 refinement with adaptive sparse attention27.42 sFine detail lost; faces drifted in identity mid-shot
Shorter decoder window, faster encoder preset32.96 sA moving eyelid showed a second contour for eight frames
Fewer sparse refinement calls33.61 sChanged output for too small a gain
NVFP4 refinement~4 s fasterVisibly softer frames
FlashAttention-4 for dense attention0.76 s fasterDifferent rounding; an artifact in one clip

The fastest would have been 2.1× faster than the previous record. Its automated quality scores did not capture defects visible to a viewer, which is why we require byte identity rather than a perceptual threshold.

Limitations

Both headline speedups cover one workload, a five-second 4K clip on one B200. Other shapes use the portable subset, which ran 1.88× to 3.62× faster than the previous record.

Byte-identical to the previous record is not identical to the standard full-precision pipeline. Against it, the record’s output, and therefore ours, stays within our quality margins on all 12 checks, spanning video, audio, and compression artifacts.

All latencies are warm. They exclude model loading and first-request compilation, and the 136.5 GiB peak limits this build to B200-class hardware.

What’s next

Given one goal and one hard constraint, our research system set a new record on this workload without changing a single output byte, making its own judgment calls along the way. We are now using the same scientist to tackle additional inference optimization tasks and applying the same selection process to evolve scientists for other disciplines.

If you want to build research systems like this one, we’d love to chat. Reach us at [email protected].

Appendix A. Reported versus measured

PipelineNVIDIA reportedWe measured
Standard, 4-bit weights (NVFP4)92.16 s77.17 s
Sol-Engine60.06 s60.78 s

Our Sol-Engine port comes within about 1% of NVIDIA’s figure. Our measurement of the standard 4-bit pipeline comes in 15 seconds under theirs, so we ran NVIDIA’s own released launcher with the same recipe on two B200s. It took 80.65 seconds on one and 101.69 on the other, with identical output files. The denoising loops differed by 0.36 seconds. Prompt encoding and stage setup accounted for 18.63 of the 21.04-second spread.

NVIDIA’s 92.16 seconds sits inside that range. Without their exact single-B200 command and timer boundaries we can’t narrow it further, which is why no ratio in this post uses a number we didn’t measure ourselves.

Appendix B. Device screening

On some B200s, the same pipeline ran 5 to 30 seconds slower than on others, with the same image, the same inputs, and the same output files. Telemetry showed a single process on the GPU and no thermal or power throttling. Most of the extra time fell outside the denoising loops, largely in prompt encoding and stage setup. We haven’t found the cause.

A slow reference run would inflate our speedup. So the reference pipeline ran first on each machine, and any machine where one of its requests took longer than 65 seconds was dropped before our pipeline ran there. The held-out results come from machines that passed.

Acknowledgements

We thank Lightricks for releasing LTX 2.5 openly, and NVIDIA’s Sol-Engine team for publishing their code, which made a like-for-like comparison possible. The per-head attention gate builds on SGLang’s kernel.

Citation

Please cite this work as:

HABIT Team, “Autoresearch for World Model Inference”, HABIT Blog, December 2026.

Or use the BibTeX citation:

@article{habit2026autoresearch,
  author  = {HABIT Team},
  title   = {Autoresearch for World Model Inference},
  journal = {HABIT Blog},
  year    = {2026},
  note    = {https://habit.inc/blog/autoresearch-for-world-model-inference/},
}