TL;DR
TetraState is a new regression-testing protocol for learned world models that moves beyond aggregate accuracy. By testing across multiple configurations and categorizing outcomes into four "states," it reveals hidden regressions and test harness bugs that standard metrics—and even simple per-test flip counts—frequently miss.
What Problem Does This Paper Address?
Learned world models—AI systems that predict how physical scenes evolve—are increasingly used in autonomous driving and robotics. However, testing them like traditional software is hard. Currently, researchers rely on aggregate accuracy (e.g., "did the model correctly identify the physically possible video 70% of the time?").
The authors identify three critical gaps in this approach:
- Accuracy is lossy: A model update might fix ten tests but break ten others. The aggregate accuracy remains unchanged, hiding these "negative flips."
- Configuration dependence: A model might pass a test when given 12 frames of context but fail when given 42. A single execution doesn't capture this inconsistency.
- Harness faults: The "test harness" (the code that samples frames and calculates scores) is itself software. A bug in the harness can lead to wrong verdicts without the system ever crashing, making it invisible to standard monitoring.
Methods
The authors propose TetraState, a protocol that treats the test harness as an integral part of the System Under Test (SUT).
Key components include:
- Paired Testing: Models are evaluated on pairs of videos: one physically possible ($v^+$) and one impossible ($v^-$). The model "passes" if it assigns a higher physical likelihood to $v^+$.
- Four-Way Configurations: Instead of one run, every test is executed under four distinct, deterministic configurations (e.g., different context lengths).
- Outcome Oracle: Based on the number of correct verdicts across the four runs, a test is assigned one of four states:
- CP (Consistent Pass): 4/4 correct.
- CDP (Configuration-Dependent Pass): 3/4 correct.
- CDF (Configuration-Dependent Fail): 1/4 correct.
- CF (Consistent Fail): 0/4 correct.
- (A 2/2 split is marked as Inconclusive).
- Outcome-Transition Check: When a model or harness is updated, developers look at a transition matrix to see how tests moved between these states, rather than just looking at the final accuracy delta.
Datasets
The study utilizes the IntPhys 2 (Interactive Physics) Main split, a benchmark designed to test intuitive physics understanding. It consists of 1,012 videos forming 506 test pairs across four categories of physical principles.
The protocol was validated on two heterogeneous world models:
- Cosmos 3 Nano: NVIDIA’s video-reasoning model.
- V-JEPA 2: Meta’s self-supervised video model.
Key Insights and Ideas
- The Harness is Part of the SUT: A major "aha moment" is that harness revisions can be just as impactful as model updates. Versioning the scoring logic alongside the model is essential for reproducible AI testing.
- Accuracy is a Deceptive Quality Gate: The authors show that a "quality gate" that only requires accuracy not to decrease would blindly accept revisions that break dozens of previously working tests.
- States as Triage Signals: The four outcome classes provide immediate debugging directions. For example, a high number of CDF results suggests that the model's success is highly sensitive to how frames are sampled, pointing to issues in event visibility or scoring APIs.
Key Results
The authors demonstrated TetraState's power through two V-JEPA 2 harness revisions:
- The Padding Fix: A real-world bug was found where the harness averaged in zero-valued padding. Fixing it moved accuracy by a negligible +0.2 points. However, TetraState revealed that 11 test labels changed, including 5 regressions (tests that got worse).
- Context Scoring Revision: An intentional change to how context is handled increased modal accuracy by 2.6 points. While this looks like a win, TetraState showed it actually caused 114 regressions and a drop in the total number of correct tests.
As seen in Figure 2, the transition matrix (specifically panel 'b') shows significant movement off the diagonal, indicating that the "improvement" in accuracy was masking a massive reshuffling of which specific tests the model passed or failed. Notably, a standard "modal-verdict flip check" would have missed 43 of these regressions.
Limitations and Future Work
- Computational Cost: Running four configurations per test is 4x more expensive. The authors suggest this motivates the need for regression test selection—running a small "smoke test" suite on every change and the full benchmark only on major releases.
- Semantic Preservation: The protocol assumes that a test should be invariant across configurations. However, in some cases, a shorter context length might genuinely lack the information needed to solve the test.
- Future Directions: The team plans to mine open-source histories for more "harness faults in the wild" and conduct developer studies to see if these transition reports actually improve the speed and quality of release decisions in production environments.
Summary updated