LLMs Struggle to Integrate Relational Database Embeddings

Francisco Galuppo Azevedo, Clarissa Lima Loures· September 2, 2026 View original

Key takeaways

  • Directly injecting relational embeddings as soft tokens into LLMs did not consistently improve performance.
  • The hybrid model was highly sensitive to data serialization and token budget.
  • Reinforcement learning training proved unstable for this fusion strategy.
  • More sophisticated alignment objectives and schema-aware designs are needed for effective relational-LLM integration.

Who benefits

Data AnalyticsEnterprise SoftwareBusiness IntelligenceDatabase Management

Summary

A study investigated injecting frozen relational-encoder embeddings as soft tokens into an LLM (Qwen3.5-4B) to combine multi-table structure understanding with language reasoning, but found the hybrid model did not consistently outperform standalone relational transformers. The approach was sensitive to serialization, token budget, and unstable under reinforcement learning.

Researchers explored a novel method to combine the strengths of large language models (LLMs) with relational databases: injecting embeddings from a frozen Relational Transformer (RT) directly into an LLM as "soft tokens." The idea was to allow the RT to handle complex multi-table structures while the LLM managed language and reasoning, avoiding the lossy process of converting relational data to text. The experiment involved feeding RT embeddings into Qwen3.5-4B, using a learned projection and LoRA adaptation, and training with supervised fine-tuning and reinforcement learning. However, the results were largely negative. The hybrid model frequently performed below random chance, showed high sensitivity to how data was serialized and the number of relational tokens used, and proved unstable during reinforcement learning training. This study concludes that while the concept is appealing, current soft-token fusion strategies for relational data require more robust alignment objectives and schema-aware design to become a reliable method for relational prediction.

Why it matters

This research highlights significant challenges in directly integrating structured relational data with LLMs, indicating that a simple "soft token" approach is not yet a reliable solution for enhancing LLMs with database understanding.

How to implement this in your domain

  1. 1Re-evaluate strategies for integrating structured data with LLMs, moving beyond simple embedding injection.
  2. 2Explore alternative methods for schema-aware data representation that LLMs can more effectively process.
  3. 3Investigate advanced fine-tuning techniques or architectural modifications that better align relational embeddings with LLM reasoning.
  4. 4Consider hybrid systems where relational data is processed by specialized models before being summarized or queried by LLMs.
  5. 5Focus on developing robust evaluation metrics for LLMs interacting with complex relational data to identify true performance gains.

Original post by Francisco Galuppo Azevedo, Clarissa Lima Loures

"arXiv:2609.00457v1 Announce Type: new Abstract: Injecting frozen relational-encoder embeddings as soft tokens into a large language model (LLM) is a conceptually appealing fusion strategy: the encoder handles multi-table structure, the LLM handles language and reasoning, and no l…"

View on X

Originally posted by Francisco Galuppo Azevedo, Clarissa Lima Loures on X · view source

Want to go deeper?

Turn these trends into skills with Learnijoy's hands-on AI & tech courses.

Explore courses