Modality-free Graph In-context Alignment

Wei Zhuo, Siqiang Luo
3/13/2026
3 citations
cs.LGcs.AI

No official code found. Best implementation: JhuoW/MF-GIA (69 stars, last commit 2026-02-16).

Abstract

In-context learning (ICL) converts static encoders into task-conditioned reasoners, enabling adaptation to new data from just a few examples without updating pretrained parameters. This capability is essential for graph foundation models (GFMs) to approach LLM-level generality.

Show full abstract

Yet current GFMs struggle with cross-domain alignment, typically relying on modality-specific encoders that fail when graphs are pre-vectorized or raw data is inaccessible. In this paper, we introduce Modality-Free Graph In-context Alignment (MF-GIA), a framework that makes a pretrained graph encoder promptable for few-shot prediction across heterogeneous domains without modality assumptions. MF-GIA captures domain characteristics through gradient fingerprints, which parameterize lightweight transformations that align pre-encoded features and indexed labels into unified semantic spaces. During pretraining, a dual prompt-aware attention mechanism with episodic objective learns to match queries against aligned support examples to establish prompt-based reasoning capabilities. At inference, MF-GIA performs parameter-update-free adaptation using only a few-shot support set to trigger cross-domain alignment and enable immediate prediction on unseen domains. Experiments demonstrate that MF-GIA achieves superior few-shot performance across diverse graph domains and strong generalization to unseen domains.

View on arXivView PDF

Code Implementations(1)

JhuoW/MF-GIACommunity66%

[ICLR 2026 Oral] Modality-free Graph In-context Alignment

696Sep 5, 20259 months ago

Similar Papers

Cite this paper

@article{zhuo2026modalityfree,
  title  = {Modality-free Graph In-context Alignment},
  author = {Wei Zhuo and Siqiang Luo},
  year   = {2026},
  eprint = {2603.13434},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.13434v1},
  journal = {ICLR 2026 2026}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.13434.svg)](https://codeofpaper.com/paper/2603.13434)

Discussion