LLM-FK: Multi-Agent LLM Reasoning for Foreign Key Detection in Large-Scale Complex Databases
LLM-FK is a novel multi-agent framework that overcomes the limitations of conventional heuristic and naive LLM methods in detecting foreign keys within large-scale complex databases by coordinating specialized agents to prune the search space, enhance reasoning with domain knowledge, and ensure global schema consistency, thereby achieving superior accuracy and scalability.