# Experts Across Schemas: Agent-Guided Mixture-of-Relational-Experts for Cross-Database Generalization

Experts Across Schemas: 교차 데이터베이스 일반화를 위한 Agent-Guided Mixture-of-Relational-Experts

Hiren Madhu, Sukanta Ganguly, Kiran Srinivasan, Smita Krishnaswamy, Rex Ying · arXiv · 2026년 11월 13일

- **연구 문제** 스키마가 서로 다른 관계형 데이터베이스 간에는 예측 모델을 옮기기 어렵습니다.
- **연구 방법** 행과 셀 토큰을 쓰는 그래프 트랜스포머가 로그 나이와 외래키 역할 이름을 어텐션에 넣고, 라벨 없는 에이전트가 단일 행 파생 열을 추가합니다.
- **주요 결과** RelBench 21개 과제에서 에이전트 파생 열을 쓴 MoREGT는 평균 AUROC 79.63과 평균 nMAE 26.98을 기록했습니다.

## 관계형 데이터베이스 간 전이의 어려움

웹 플랫폼은 사용자와 아이템의 활동을 관계형 데이터베이스에 기록하지만, 플랫폼마다 스키마가 달라 한 곳에서 학습한 예측 모델을 다른 곳으로 옮기기 어렵습니다. 온라인 쇼핑몰의 고객 이탈 예측과 질의응답 포럼의 사용자 활동 예측은 열 이름이 전혀 겹치지 않지만, 둘 다 타임스탬프가 붙은 행들이 외래키로 이어진 사용자 이력을 근거로 삼습니다. 이 논문은 이러한 이력 구조를 여러 데이터베이스에 걸쳐 전이하는 것을 다룹니다. 기존 관계형 기반 모델은 스키마 간에 공유되는 구조와 대상 데이터베이스 고유의 구조를 함께 다뤄야 하는데, 사전학습만으로는 후자가 충분히 포착되지 않을 수 있다고 소개합니다.

![Figure 1: Two RelBench databases with no shared columns ask whether a user will stay active over the next three months. Left: online retailerrel-amazon (custom…](https://refivu.com/papers/76b43bb6-c77c-4c61-9629-5e9b2ce3f959/figures/figure-9543c4455a89c4df38afc2a08cfc7511.png?thumb=512)

**Figure 1** :Two RelBench databases with no shared columns ask whether a user will stay active over the next three months. Left: online retailerrel-amazon (customers, products, reviews). Right: question-answering forum rel-stack (users, posts, comments, votes and other tables). In both, the evidence is the user’s history of timestamped rows linked by foreign keys.

[원문](https://arxiv.org/abs/2611.18315v1) · [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/) · Hiren Madhu, Sukanta Ganguly, Kiran Srinivasan, Smita Krishnaswamy, Rex Ying · Experts Across Schemas: Agent-Guided Mixture-of-Relational-Experts for Cross-Database Generalization · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.

## 행과 셀 토큰을 쓰는 MoREGT 백본

MoREGT는 각 셀을 값과 열 이름 임베딩을 합친 토큰으로 두고, 샘플링된 각 행에도 별도의 행 토큰을 둡니다. 셀 어텐션은 모든 셀 사이에서 이루어지며 로그 나이 차이를 회전 위치 임베딩과 같은 방식으로 점수에 넣습니다. 행 어텐션은 외래키로 연결된 행과 자기 자신 사이에서만 이루어지며, 외래키 역할의 이름 임베딩으로부터 계산한 편향을 더합니다. 여기서 로그 나이는 Δ를 행의 나이라 할 때 log(1+Δ)이며, 두 행의 점수 차이에는 로그 나이의 차이만 남습니다. 피드포워드 층은 값에 의존하지 않는 시그니처로 라우팅되는 혼합 전문가로 대체됩니다. 이 구조는 열 이름, 자료형, 나이로 전문가를 고르므로 값이나 은닉 상태에 따라 라우팅하지 않습니다.

![Figure 2: Overview of MoREGT. (a) Temporal neighborhood of a seed𝑒∗ at time𝑡∗. (b) Cell and row tokens. (c) Two-level relational block, repeated𝐿 times. (d) St…](https://refivu.com/papers/76b43bb6-c77c-4c61-9629-5e9b2ce3f959/figures/figure-0d662e1502c429a57acb259a4b13084b.png?thumb=512)

**Figure 2** :Overview of MoREGT. (a) Temporal neighborhood of a seed𝑒∗ at time𝑡∗. (b) Cell and row tokens. (c) Two-level relational block, repeated𝐿 times. (d) Stage 1 pretrains on the other databases; stage 2 fine-tunes on the target database with agent-derived columns (green). (e) Expert routing reads what a cell is, never its value. (f) Attention depends on log-age and on the name of each FK role.

[원문](https://arxiv.org/abs/2611.18315v1) · [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/) · Hiren Madhu, Sukanta Ganguly, Kiran Srinivasan, Smita Krishnaswamy, Rex Ying · Experts Across Schemas: Agent-Guided Mixture-of-Relational-Experts for Cross-Database Generalization · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.

![Figure 4: Column names steer expert routing, and only after pretraining.(a) t-SNE of the routing signatures of all 371 columns under the trunk pretrained witho…](https://refivu.com/papers/76b43bb6-c77c-4c61-9629-5e9b2ce3f959/figures/figure-f833bcfc1b31268ca815fdf795fc196c.png?thumb=512)

**Figure 4** : Column names steer expert routing, and only after pretraining.(a) t-SNE of the routing signatures of all 371 columns under the trunk pretrained without rel-f1, coloured by modality. Callouts count the blocks (of 10) in which a rel-f1 column and its most similarly named same-modality column elsewhere pick the same top expert. (b) Share of blocks in which a held-out column and a seen column of the same modality pick the same top expert, against the cosine similarity of their names, pooled over the seven LODO trunks (thin lines: folds; band: 95% CI).

[원문](https://arxiv.org/abs/2611.18315v1) · [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/) · Hiren Madhu, Sukanta Ganguly, Kiran Srinivasan, Smita Krishnaswamy, Rex Ying · Experts Across Schemas: Agent-Guided Mixture-of-Relational-Experts for Cross-Database Generalization · 원문 그림 인용 · 원본 PDF 13쪽에서 그림 영역을 추출했습니다.

## 라벨 없는 에이전트가 만드는 파생 열

대상 데이터베이스에 고유한 구조는 에이전트가 만든 파생 열로 보충합니다. 에이전트는 데이터베이스 이름과 짧은 과제 설명, 읽기 전용 프로파일링 도구만 받으며 과제 테이블, 레이블, 모델 점수는 보지 않습니다. 제안된 수식은 같은 테이블의 열과 상수, 산술·비교 연산, 제한된 원소별 함수만 쓰는 단일 행 수식이어야 하고, 집계나 다른 테이블 참조는 제외됩니다. 스크리닝은 파싱 가능성, 상수 여부, 결측률, 주장된 범위, 기존 열과의 상관을 검사하며 거절 이유만 최대 세 라운드 동안 되돌려 줍니다. 통과한 열은 2단계 fine-tuning에서만 추가되고, 한 행의 값이 시간상 보이는 입력에만 의존하므로 샘플러의 시간 가시성 조건을 따릅니다.

![Figure 3: Agentic loop for derived columns onrel-f1. A label-blind LLM agent profiles the data, proposes row-local formulas and revises them from screening fee…](https://refivu.com/papers/76b43bb6-c77c-4c61-9629-5e9b2ce3f959/figures/figure-3470aad80f9065b44f5329ecb0ae97fc.png?thumb=512)

**Figure 3** :Agentic loop for derived columns onrel-f1. A label-blind LLM agent profiles the data, proposes row-local formulas and revises them from screening feedback. Accepted formulas become new columns, used only in stage 2 (Figure 2d). The proposals shown are illustrative.

[원문](https://arxiv.org/abs/2611.18315v1) · [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/) · Hiren Madhu, Sukanta Ganguly, Kiran Srinivasan, Smita Krishnaswamy, Rex Ying · Experts Across Schemas: Agent-Guided Mixture-of-Relational-Experts for Cross-Database Generalization · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.

## 두 단계 pre-training과 fine-tuning

pre-training은 각 대상 데이터베이스를 제외한 나머지 여섯 데이터베이스에서 마스크된 셀을 예측하는 방식으로 진행됩니다. 시드 행의 마스크 셀 외에 다른 마스크 셀을 추가로 가리는 것이 특징이며, 수치형 대상은 Huber 손실로 회귀합니다. 이후 fine-tuning 단계에서는 사전학습된 체크포인트에 예측 헤드를 붙이고, 파생 열을 포함해 대상 과제에서 모든 파라미터를 학습합니다. 여기서 동결된 것은 열 이름, 테이블 이름, 범주 임베딩 같은 데이터베이스별 버퍼이며, 예측 헤드는 별도로 학습됩니다.

## RelBench 주요 비교 결과

RelBench의 21개 엔터티 과제에서 MoREGT를 평가했습니다. 같은 leave-one-database-out pre-training 조건에서 MoREGT 백본은 Relational Transformer보다 평균 AUROC를 2.25점 높이고 평균 nMAE를 5.83 낮췄습니다. 에이전트 파생 열을 추가하자 평균 AUROC는 79.63, 평균 nMAE는 26.98이 되어 비교한 방법 가운데 두 지표 모두 가장 좋은 평균을 기록했습니다. 이 평균은 선행 연구 RT-J의 79.02와 27.11, 그리고 KumoRFM-2의 평균과 비교한 값입니다. RT-J는 MoREGT보다 훨씬 많은 데이터베이스로 사전학습되었으므로 이 비교는 pre-training 규모가 다른 조건을 함께 봐야 합니다.

![Table 1: Entity classification on RelBench: TEST AUROC (%; higher is better).Bold: best;underline: second best. ‡From Hudovernik et al. (2026). RT reproduced w…](https://refivu.com/papers/76b43bb6-c77c-4c61-9629-5e9b2ce3f959/figures/figure-76f928dcaf0133e6788bac1f785b824c.png?thumb=512)

**Table 1** :Entity classification on RelBench: TEST AUROC (%; higher is better).Bold: best;underline: second best. ‡From Hudovernik et al. (2026). RT reproduced with checkpoints from Ranjan et al. (2026a), other baselines from the RelBench leaderboard.

[원문](https://arxiv.org/abs/2611.18315v1) · [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/) · Hiren Madhu, Sukanta Ganguly, Kiran Srinivasan, Smita Krishnaswamy, Rex Ying · Experts Across Schemas: Agent-Guided Mixture-of-Relational-Experts for Cross-Database Generalization · 원문 그림 인용 · 원본 PDF 11쪽에서 그림 영역을 추출했습니다.

## 구성요소 제거 실험

rel-f1 데이터베이스에서 leave-one-database-out pre-training 후 Dense FFN, 은닉 상태 라우팅, FK 역할 편향을 각각 제거한 변형을 같은 과제 데이터와 파생 열로 미세조정해 비교했습니다. 전체 모델은 driver-dnf와 driver-top3에서 제거 변형보다 높은 AUROC를 보였고, driver-position에서는 nMAE가 가장 낮았습니다. 이 결과는 해당 과제에서의 관찰이며, 제거된 구성요소가 모든 데이터베이스에서 같은 기여를 한다는 뜻은 아닙니다.

![Table 3: Component ablation under leave-one-database-out pretraining. TEST AUROC for classification and nMAE for regression (%); mean±std over 3 seeds](https://refivu.com/papers/76b43bb6-c77c-4c61-9629-5e9b2ce3f959/figures/figure-6c3f717834cef5798ed399802227d433.png?thumb=512)

**Table 3** :Component ablation under leave-one-database-out pretraining. TEST AUROC for classification and nMAE for regression (%); mean±std over 3 seeds.

[원문](https://arxiv.org/abs/2611.18315v1) · [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/) · Hiren Madhu, Sukanta Ganguly, Kiran Srinivasan, Smita Krishnaswamy, Rex Ying · Experts Across Schemas: Agent-Guided Mixture-of-Relational-Experts for Cross-Database Generalization · 원문 그림 인용 · 원본 PDF 12쪽에서 그림 영역을 추출했습니다.

## 파생 열과 일반 특징 합성 비교

에이전트 파생 열을 Featuretools의 일반 특징 합성 결과와 아홉 개 과제에서 비교했습니다. 파생 열을 쓴 MoREGT는 평균 AUROC 83.63, Featuretools는 82.03을 기록했고, nMAE는 각각 38.35와 40.61이었습니다. 같은 파생 열을 RT에 적용하면 평균 AUROC 76.16과 평균 nMAE 49.70이 나와 MoREGT 결과보다 낮았습니다. 따라서 파생 열의 효과는 아키텍처에 따라 달라질 수 있다고 저자들은 해석합니다.

![Table 4: Agent-derived columns versus generic feature synthesis and the RT backbone. The MoREGT variants share the same LODO pretrained trunk; RT uses its own…](https://refivu.com/papers/76b43bb6-c77c-4c61-9629-5e9b2ce3f959/figures/figure-26e1ca19e7750a3f2f51e7a55b8ae61f.png?thumb=512)

**Table 4** :Agent-derived columns versus generic feature synthesis and the RT backbone. The MoREGT variants share the same LODO pretrained trunk; RT uses its own LODO trunk. All methods use the same fine-tuning recipe. TEST AUROC (↑) and nMAE (↓), in %. MoREGT results are mean±std over 3 seeds.

[원문](https://arxiv.org/abs/2611.18315v1) · [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/) · Hiren Madhu, Sukanta Ganguly, Kiran Srinivasan, Smita Krishnaswamy, Rex Ying · Experts Across Schemas: Agent-Guided Mixture-of-Relational-Experts for Cross-Database Generalization · 원문 그림 인용 · 원본 PDF 14쪽에서 그림 영역을 추출했습니다.

## 파생 열의 적용 범위

에이전트 파생 열은 단일 행 수식으로 제한되어 있어 집계나 다른 테이블 참조를 표현하지 못합니다. 이는 시간 가시성을 보장하기 위한 설계 선택이지만, 그 결과 여러 행에 걸친 신호는 모델 내부의 어텐션에 맡겨야 합니다. 또한 이 논문의 주요 파생 열 실험은 RelBench의 21개 과제에 대한 결과이며, 다른 데이터나 다른 에이전트 구성에서의 성능은 확인하지 않았습니다.

## 논문 정보

- **저자**: Hiren Madhu, Sukanta Ganguly, Kiran Srinivasan, Smita Krishnaswamy, Rex Ying
- **학회·저널**: arXiv · 프리프린트
- **최초 공개일**: 2026년 11월 13일
- **등록일**: 2026년 11월 16일
- **수정일**: 2026년 11월 13일
- **버전**: v1
- **arXiv**: 2611.18315
- **분류**: cs.AI
- **원문 이용 조건**: [CC0 1.0](https://creativecommons.org/publicdomain/zero/1.0/)
- **제공 범위**: 논문 정보, 해설, 허용된 원문 그림

[논문 원문 ↗](https://arxiv.org/abs/2611.18315v1) · [원문 PDF ↗](https://arxiv.org/pdf/2611.18315v1)

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

## 초록

Web platforms record user and item activity in relational databases whose schemas differ from platform to platform, which makes it difficult to transfer predictive models between them. Relational foundation models address this through cross-database pretraining, yet recent improvements have relied on increasingly large pretraining corpora. We ask whether a better architecture, together with features specific to the target database, can deliver comparable gains from far less pretraining data. We introduce MoREGT, a mixture-of-relational-experts graph transformer that represents both rows and cells as tokens, adds the log-ages of rows and the names of foreign-key relationships to attention, and routes cells and rows to experts by column metadata rather than by values. A label-blind LLM agent complements the model: it reads the target database's schema and column statistics and adds validated single-row derived columns, without access to labels or model scores. On 21 RelBench tasks with leave-one-database-out pretraining on six databases, the MoREGT backbone improves on the Relational Transformer pretrained on the same databases by 2.25 points of mean AUROC and 5.83 points of mean nMAE. The agent's columns raise mean AUROC from 78.45 to 79.63 and lower mean nMAE from 27.91 to 26.98, the highest means on both metrics among the compared methods, including RT-J, which pretrains on about 400 times as many databases.

## 원문 인용

Hiren Madhu, Sukanta Ganguly, Kiran Srinivasan, Smita Krishnaswamy, Rex Ying (2026). Experts Across Schemas: Agent-Guided Mixture-of-Relational-Experts for Cross-Database Generalization. arXiv:2611.18315v1. https://arxiv.org/abs/2611.18315v1

**BibTeX**

```
@misc{madhu2026experts,
  title = {{Experts Across Schemas: Agent-Guided Mixture-of-Relational-Experts for Cross-Database Generalization}},
  author = {Hiren Madhu and Sukanta Ganguly and Kiran Srinivasan and Smita Krishnaswamy and Rex Ying},
  year = {2026},
  eprint = {2611.18315},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.18315v1}
}
```

## 이 논문의 용어

- [AUROC](https://refivu.com/terms/096f06e69425-auroc)
- [Huber loss](https://refivu.com/terms/feae74f482a7-huber-loss)
- [Mixture of Experts](https://refivu.com/terms/5fa1c1ebf77b-mixture-of-experts)
- [LLM agent](https://refivu.com/terms/10d208c2328c-llm-agent)

## 다른 논문 해설

- [LuthorSQL: A One-Pass Text-to-SQL Model as System 1 for a Slower LLM Agent](https://refivu.com/papers/eb6f98aa-61fd-4f1c-bb6f-deff920d4f43-luthorsql-a-one-pass-text-to-sql-model.md)
- [Generated Evaluation Suites as Diversity-Driven Search for Real Agent Regressions](https://refivu.com/papers/9243696c-5e44-46bb-8770-56015932535d-generated-evaluation-suites-as-diversity-driven-search-for.md)
- [Agent-written heuristics versus commercial solvers on unsolved job-shop benchmark instances](https://refivu.com/papers/5984dfe9-586c-4235-a5c3-6bd1f931e1af-agent-written-heuristics-versus-commercial-solvers-on.md)
- [Learn then Bet: Learning Interpretable Rules for Reliable Agent Intervention](https://refivu.com/papers/56ef761b-5bfc-4309-940f-242cd1192f01-learn-then-bet-learning-interpretable-rules-for-reliable.md)
- [Verifiable pXRD: Hill-climbing pXRD structure determination with LLM agents](https://refivu.com/papers/ac0271e9-392b-4197-8fd2-7a94703b5c28-verifiable-pxrd-hill-climbing-pxrd-structure-determination.md)
- [Interpreting Coding Agents Through Their Behavioral Trajectories](https://refivu.com/papers/22b87664-6445-414a-bf3d-56309053aa3e-interpreting-coding-agents-through-their-behavioral.md)
- [PROOF: Perceptive Robustness via Out-of-Distribution Fallback for Legged Locomotion](https://refivu.com/papers/279ca1a1-82a3-47dc-b2cc-f17e67e707ed-proof-perceptive-robustness-via-out-of-distribution-fallback.md)
- [Right Token, Right Time: From Per-Token Gating to Trajectory-Aware Activation Steering](https://refivu.com/papers/0f4151bb-65f7-42ff-9693-d1cea802586a-right-token-right-time-from-per-token-gating.md)
- [TetraCoder: Adaptive Tetrahedral Encoding for Neural Fields](https://refivu.com/papers/02f23486-8821-4112-a204-d59880f54fa5-tetracoder-adaptive-tetrahedral-encoding-for-neural-fields.md)
- [Can Large Language Models Optimize Pretrained Neural Network Weights? A Multi-Phase Empirical Evaluation of Gradient-Free Editing in YOLO26 Object Detection](https://refivu.com/papers/a5e2b850-0152-4239-a9a3-24dda4597495-can-large-language-models-optimize-pretrained-neural-network.md)
- [Knowledge After Collapse: Context and Wording Shape Factual Accessibility in Language Models](https://refivu.com/papers/3dcab022-d0ef-487d-8376-f1b8b4b14bc9-knowledge-after-collapse-context-and-wording-shape-factual.md)
- [Efficient Genotype Classification from 3D MRI in ADPKD via Density-Aware Point Sampling and E(3)-invariance](https://refivu.com/papers/4dc57601-9b59-43d2-8406-3a9088e8e1be-efficient-genotype-classification-from-3d-mri-in-adpkd.md)

---

AI 해설에는 오류가 있을 수 있습니다. [Refivu](https://refivu.com/papers/76b43bb6-c77c-4c61-9629-5e9b2ce3f959-experts-across-schemas-agent-guided-mixture-of-relational)
