AI Mindmeld: A Latent Interconnect Protocol
Organizations: Polymathic AI · Center for Data Science, New York University · Department of Applied Physics, Yale University · Center for Computational Astrophysics, Flatiron Institute ·
Abstract
LLMs can act as scientific agents using tools to consult specialists and run experiments. Yet specialist information must enter their context, generally as text, images, audio or video: a bottleneck between models with rich, high-dimensional representations. We advocate direct representation exchange: a mindmeld conveying many properties, including information an LLM would not think to request. It should be extensible to new specialists, flexible across questions and tasks, and compositional across independently connected specialists without joint training. The Latent Interconnect Protocol (LIP) learns connectors mapping specialist representations into LLM internal states. Training only connectors keeps this practical as LLMs grow and evolve. We connect three protein and three small molecule specialists to Gemma 3 (4B and 12B parameters) and Kimi K2.6 (1T total, 32B active), freezing all pretrained models. Independently trained connectors provide useful information without changing the LLM or existing connectors, supporting familiar and new question types about unseen objects. We demonstrate zero-shot transfer to cross-domain tasks without joint training. Task performance and compositionality generally improve with LLM capability, with especially strong gains in zero-shot task transfer. Limitations remain: current LLMs were not trained for specialist representations as native inputs; access does not ensure reliable interpretation, integration or use in reasoning. We call on specialist developers to provide consistent representation interfaces and, especially, on LLM developers to train models to receive, combine and reason with these inputs. These efforts could expand scientific agents' information while preserving conventional tools' flexibility. Data, pretrained connectors, and code for training, evaluation and interactive inference: https://github.com/PolymathicAI/AI-Mindmeld
Figures & tables
| Specialist | Representation | Dim. |
|---|---|---|
| Proteins | ||
| MIMIC | Layer 16 (mean pooled) Layer 20 (mean pooled) | 3,072 |
| ESM-C 600M | Layer 33 (mean pooled) Layer 36 (mean pooled) | 2,304 |
| PGLM-1B | Layer 24 (mean pooled) | 2,048 |
| Molecules | ||
| MoLFormer-c3 | Layer 9 (mean pooled) Layer 12 (EOS token) | 1,536 |
| LLM | Proteins | Molecules |
|---|---|---|
| Gemma 3 4B | 2, 7, 11, 17, 26, 33 | 4, 7, 12, 16, 21, 32 |
| Gemma 3 12B | 6, 11, 16, 23, 33, 44 | 4, 9, 17, 23, 31, 41 |
| Kimi K2.6 | 7, 13, 22, 33, 49, 58 | 7, 13, 22, 32, 49, 57 |
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
| Domain | Task supervision | Reserved question categories |
|---|---|---|
| Protein | Function, family, subunit, catalytic activity, EC class, pathway, location and selected keywords; relations and variant effects, pathogenicity and loss of function. | Lineage, length, selected modifications, cofactors and domains. |
| Compound | Definitions, mechanism roles, structural classes and functional parents; relations between compounds. | Selected provenance, application and chemical roles; formula, mass, charge and element-based questions. |
Large Language Model-Guided Scientific Discovery
Large language model-guided scientific discovery uses AI to propose, test, and refine hypotheses, models, experiments, and designs.
See all 278 papers