Architecture / Building blocks

Cross-attention

A small set of queries reads from a large set of points, so cost stays linear.

In cross-attention, the queries come from one set of tokens and the keys and values from another. Surrogates use it twice: to read the geometry in, and to read the field out.

Industrial example: A probe you can place anywhere

In a wind tunnel, you move a pitot probe to wherever you want a reading. A cross-attention decoder works the same way: you ask for any location, and it reads the answer from the model's internal state, regardless of the mesh it was trained on.

References

Related