Trim is building an AI model that can simulate real-world physical systems evolving over time. For example, given the starting position of a double pendulum, the model generates how it moves forward in time.
What’s wrong with a traditional physics simulation?
Traditional physics simulations take exponentially longer to run as you simulate more dimensions and polynomially longer as you increase the size of the simulation.
Simulating a 64x64 grid requires 4096 operations while a still modest 128x128 grid requires 16,384 operations.
In 3D this problem is even worse as 64³=262,144 and 128³=2,097,152.
The Trim Transformer’s linear-attention scales linearly in computation time with respect to both dimensions and grid size.
An exponential reduction in compute unlocks a new world of modeling complex, high-dimensional systems such as
Example: Navier-Stokes
The Navier-Stokes equations describe the motion of fluids.
The Trim Transformer reduces memory usage by over 97% compared to a standard PyTorch transformer using softmax attention and 6.5x faster time/epoch with very similar loss. As grid size and sequence length increase these gains become even more drastic.
How will Trim solve quantum gravity?
Even the strongest gravitational waves are extremely weak. Two super-massive black holes colliding generate vibrations measured by LIGO that are about as powerful as a pickup truck turning on one mile away. The only feasible way to extract the data out of the noise is by looking in the sky at an event, simulating what the waves should look like, and picking the needle out of the haystack on a years-long timeline.
The problem plaguing astronomers for the last decade is that gravitational wave frequencies that are quick to simulate aren’t very helpful for finding flaws in general relativity. The frequencies of interest would take thousands of years to simulate and identify in all the noise. A new gravitational wave detector, LISA, will soon be launched into space, capable of detecting new frequencies that could expose hints of new physics. Trim’s model makes the task of finding that data within reach for the first time.
Our Ask:
Check out the Trim Transformer on GitHub and our blog at trimresearch.com.