JoinGR: 테이블 검색을 위한 조인 그래프 탐색 학습
JoinGR: Learning to Traverse Join Graphs for Table Retrieval
한국어 초록
실제 데이터베이스 환경에서 Text-to-SQL을 수행하려면 적절한 테이블을 검색하는 것이 필수적입니다. 밀집 테이블 검색기(dense table retriever)는 스키마 요소를 독립적으로 순위 매기지만, 이는 질문에서 직접 언급되지 않고 이미 관련된 테이블과의 조인(join) 관계를 통해서만 식별할 수 있는 필수 테이블이 존재한다는 핵심적인 단서를 간과합니다. 본 연구에서는 데이터베이스 조인 그래프를 검색 공간으로 취급하는 조인 인지 테이블 검색 방법인 JOINGR을 제안합니다. 열(column)은 그래프 노드(node)로 표현되며, 테이블 내 관계 및 외래 키(foreign-key) 관계는 타입이 지정된 에지(edge)로 표현됩니다. 질문이 주어지면 JOINGR은 의미적으로 유사한 앵커 테이블을 선택하고, 쿼리 조건부 점수 계산기(query-conditioned scorer)를 통해 조인 에지를 탐색한 뒤, 그 결과로 누적된 에지 값을 테이블 점수로 집계합니다. 이 점수 계산기는 동결된(frozen) 쿼리, 노드 및 에지 임베딩(embedding) 위에 구축된 경량 MLP로, 정답(gold) 테이블에 대한 쌍별 마진(margin) 손실(loss)로 학습됩니다. BIRD 및 Spider 데이터셋(dataset)에서 JOINGR은 가장 강력한 검색 베이스라인들과 대등한 성능을 보입니다. 다중 홉(multi-hop) 테이블이 필요한 까다로운 엔터프라이즈 벤치마크(benchmark)인 BEAVER에서 JOINGR은 밀집 검색 및 재순위화(re-ranking) 베이스라인 대비 재현율(recall)을 크게 향상시킵니다. 교차 도메인 실험을 통해 학습된 점수 계산기가 여러 벤치마크 간에 전이됨을 확인하였으며, 이는 본 방식이 재사용 가능한 조인 그래프 탐색 동작을 포착함을 보여줍니다.
원문 초록
Retrieving the right tables is a prerequisite for Text-to-SQL over realistic databases. Dense table retrievers rank schema elements independently, but this ignores a key source of evidence: some required tables are not mentioned in the question and become identifiable only through their join relationships to already relevant tables. We introduce JOINGR, a join-aware table retrieval method that treats the database join graph as the retrieval space. Columns are represented as graph nodes, while intra-table and foreign-key relationships are represented as typed edges. Given a question, JOINGR selects semantically similar anchor tables, traverses join edges with a query-conditioned scorer, and aggregates the resulting edge deposits into table scores. The scorer is a lightweight MLP on top of frozen query, node, and edge embeddings, trained with a pairwise margin loss over gold tables. On BIRD and Spider datasets, JOINGR is competitive with the strongest retrieval baselines. On BEAVER, a challenging enterprise benchmark with multi-hop table requirements, JOINGR substantially improves recall over dense retrieval and re-ranking baselines. Cross-domain experiments show that the learned scorer transfers across benchmarks, indicating that the method captures reusable joingraph traversal behavior.
제출 이력
확인된 버전만 표시합니다. 전체 제출 이력은 arXiv 원문에서 확인하세요.
함께 살펴볼 논문
공통 태그를 근거로 연결했습니다. 실제 인용 관계나 논문의 우수성을 뜻하지 않습니다.
공통 태그로 연결된 공개 논문이 아직 없습니다.
토론
이 논문과 연결된 포럼 글이 아직 없습니다.
저자 비고
arXiv Comments
12 pages, 6 figures, 5 pages