natural language understanding

Mapping natural-language input to structured representations or generated text—extracting entities and relations, grounding language cross-modally, and producing controlled or structured outputs like SQL queries or engineering model specifications.

naturallanguageunderstanding

12-Month Skill Trend

Momentum and market value over time
Trending
Score
+20 in 12 mo
96
12 mo agoNow
Career
Value
+$12K in 12 mo
$42K/year
12 mo agoNow

Recommended Survey Paper

Quick overview of the field
View more

Next-Generation Database Interfaces: A Survey of LLM-based Text-to-SQL

Jun 12, 2024
ZH
Zijin Hong
🏛️ Jinan University | The Hong Kong Polytechnic University

This paper addresses the limitations of traditional pre-trained language models (PLMs) in text-to-SQL tasks under the large language model (LLM) era—namely, poor generalization, high generation error rates, and prohibitive adaptation costs. We systematically survey LLM-driven natural language-to-SQL generation techniques. We propose the first structured, knowledge-graph-inspired survey framework and formally characterize the paradigm shift from PLM fine-tuning to emerging approaches: prompt engineering, retrieval-augmented generation (RAG), database-schema-aware encoding, multi-step reasoning, and in-context learning. We comprehensively catalog mainstream benchmarks, evaluation metrics, and technical challenges, with particular emphasis on critical open issues including scalability and robustness. Our work provides researchers with a clear evolutionary trajectory and practitioners with a reusable technology roadmap and concrete directions for future advancement.

Addressing limitations of pre-trained language models in text-to-SQL.Exploring large language models for advanced text-to-SQL solutions.Improving SQL generation from natural language queries.

Representation Engineering for Large-Language Models: Survey and Research Challenges

Feb 24, 2025
LB
Lukasz Bartoszcze
🏛️ Wisent AI | University of Warwick | Amazon Web Services | University of North Carolina at Chapel Hill | Perplexity | University of Cambridge | Mila | University of Technology Sydney

Large language models (LLMs) suffer from unpredictability, opacity, and limited controllability. Method: This paper introduces “representation engineering”—a novel paradigm that identifies and edits semantic concept directions (e.g., honesty, harmfulness) in high-level representation spaces via contrastive input probing, enabling interpretable and intervention-based behavioral control. Contribution/Results: We formally define the paradigm’s objectives, scope, and methodology, rigorously distinguishing it from mechanistic interpretability, prompt engineering, and fine-tuning. We propose a unified framework integrating contrastive analysis, concept-level representation editing, high-dimensional causal intervention, and interpretability evaluation. This framework supports controllable, safe, and dynamically adaptive LLM governance, reveals critical challenges—including performance degradation and controllability collapse—and charts a technical pathway toward predictable, secure, and personalized LLMs.

Addresses risks in model performance and steerabilityEnhances concept representation through engineeringSolves unpredictability in large-language models

Must-Read Papers

Most classic and influential ideas
View more

Retrieval and Augmentation of Domain Knowledge for Text-to-SQL Semantic Parsing

Oct 01, 2025
MP
Manasi Patwardhan
🏛️ TCS Research | IIT Bombay

Existing text-to-SQL methods exhibit significant performance variance in cross-database generalization, primarily due to the lack of systematic alignment between domain semantics embedded in natural language queries and structural patterns in database schemas, compounded by inefficient, non-generalizable manual prompt engineering for domain knowledge injection. Method: We propose a structured-domain-knowledge-based multi-database text-to-SQL framework that explicitly models domain knowledge as retrievable, structured statements; employs lightweight substring matching for database-adaptive retrieval; and seamlessly integrates retrieved knowledge into the LLM’s reasoning pipeline—eliminating reliance on handcrafted prompts. Contribution/Results: Evaluated across 11 real-world databases and 5 open-source and commercial LLMs, our approach achieves substantial gains in SQL execution accuracy over strong baselines. It is the first to enable plug-and-play cross-database transfer of domain knowledge, markedly improving model robustness in understanding semantic correspondences between domain vocabulary and schema elements.

Improving LLM performance across diverse databasesMapping domain-specific vocabulary to SQL queriesRetrieving structured domain knowledge for semantic parsing

This work addresses the limited effectiveness of traditional retrieval-augmented generation (RAG) approaches in querying structured, non-textual data—particularly numerical and highly structured datasets—using natural language. To overcome this, the authors propose an open-source solution that leverages a synthetic question-answering pair generation pipeline to create diverse training data capturing both user intent and data semantics. They fine-tune the DeepSeek-R1-Distill-8B model using 4-bit quantized low-rank adaptation (QLoRA) to generate executable query statements. Experiments on a public service accessibility dataset from the Durangaldea region in Spain demonstrate high accuracy across monolingual, multilingual, and unseen-location scenarios, confirming that small, domain-specific models can effectively and generalizably support natural language access to structured data without relying on large, closed-source models.

data accessibilityexecutable querieslanguage models

This work addresses the challenge of compiling natural language queries into backend query languages in document-centric, hybrid, and heterogeneous data environments, where semantic intent is often ambiguous or incomplete. The authors propose the NLIQ framework, which introduces a “goal sufficiency” criterion to classify queries according to their semantic determinacy. It emphasizes that when intermediate goals must be dynamically constructed, intermediate representations should serve as core semantic objects rather than mere syntactic intermediaries. Through conceptual analysis, case modeling, and formal categorization, the study establishes a unified query paradigm that integrates goal recognition, intermediate representation design, and heterogeneous execution. This framework provides a theoretical foundation for natural language querying in complex data settings and opens new research directions in semantic goal construction, heterogeneous compilation, and answer generation.

heterogeneous data environmentsintermediate representationnatural language querying

This work addresses the limitations imposed by the inherent constraints of natural language expressions on the reasoning capabilities of large language models in complex tasks. It proposes that designing structured linguistic representations can effectively construct and activate internal cognitive schemata within these models, thereby enhancing their intelligent performance. For the first time, the study formalizes linguistic representation design as a critical pathway for extending the capabilities of large language models, integrating insights from linguistics and symbolic representation theory. Through controlled experiments, it systematically analyzes how different representational forms influence internal model activations and outputs. The findings demonstrate that optimizing linguistic representations—without altering model parameters or scale—can significantly improve task performance, thereby validating the efficacy and potential of this approach.

expressive capacityknowledge activationlanguage representation

Exploring the Landscape of Text-to-SQL with Large Language Models: Progresses, Challenges and Opportunities

May 28, 2025
YH
Yiming Huang
🏛️ Harbin Institute of Technology | Peng Cheng Laboratory | Sun Yat-sen University | Great Bay University

This paper systematically surveys large language model (LLM)-driven Text-to-SQL techniques to lower the barrier for non-experts accessing relational databases. Methodologically, it employs bibliometric analysis, taxonomic comparison of approaches, meta-analysis of benchmark datasets, and critical cross-benchmark evaluation. It establishes, for the first time, a multidimensional methodology framework that clarifies paradigmatic evolution—from prompt engineering and supervised fine-tuning to reasoning augmentation—and identifies persistent evaluation blind spots. The study distills four major technical branches and five core challenges, proposing a unified conceptual evaluation framework. Furthermore, it introduces a structured knowledge graph and 12 scalable research directions, offering both theoretical guidance and a practical roadmap for the community. (136 words)

Identifying challenges and future directions in Text-to-SQLReviewing LLM-based Text-to-SQL research trends and techniquesSummarizing Text-to-SQL datasets and evaluation metrics

Latest Papers

What's happening recently
View more

This work proposes a novel approach to address the challenge novice modelers often face in ensuring semantic alignment between domain models and textual specifications during early software engineering phases. The method first employs natural language processing to preprocess specification texts and generates human-authored natural language descriptions for each model element. It then leverages a large language model (LLM) to compare these descriptions against the original specifications, automatically classifying their alignment status as aligned, misaligned, or uncertain, while providing interpretable evidence for each judgment. By uniquely integrating LLM capabilities with human-crafted model descriptions, the approach achieves high-precision semantic alignment verification, demonstrating near-perfect precision (≈100%) and 78% recall across multiple domain datasets. Individual element analysis requires between 18 seconds and one minute, indicating strong potential for integration into modeling tools.

Domain ModelModel ValidationSemantic Alignment

Bridging Textual Data and Conceptual Models: A Model-Agnostic Structuring Approach

Dec 12, 2025
JC
Jacques Chabin
🏛️ Université d’Orléans | INSA CVL | LIFO

Automatically aligning unstructured text—such as clinical case notes—with diverse, heterogeneous database schemas remains challenging due to rigid schema-binding assumptions in existing approaches. Method: We propose a model-agnostic text structuring method grounded in an attribute grammar metamodel (MetaG), which constructs semantically enriched parse trees. Through iterative tree rewriting and extraction, the method jointly generates executable semantic schemas and their corresponding instances—without requiring prior knowledge of target data models. Contribution/Results: Our key innovation lies in decoupling text understanding from database schema design, enabling seamless adaptation to heterogeneous storage backends—including relational, graph, and document databases. Empirical evaluation on clinical texts demonstrates accurate generation of cross-model-compatible schemas and instances, significantly overcoming limitations of conventional schema-bound paradigms. The approach achieves robust schema generalization and instance fidelity across disparate target models, establishing a foundation for flexible, database-agnostic text-to-structure translation.

Automates structuring textual data into model-agnostic schemasDemonstrates approach with clinical medical cases as proofGenerates both schema and instance from enriched syntax trees

Text-to-structured generation (e.g., tables, knowledge graphs, charts) for agent-centric AI is a foundational infrastructure enabling context-aware retrieval and autonomous reasoning, yet suffers from fragmented methodologies, scarce standardized datasets, and inconsistent evaluation protocols. Method: We conduct a systematic literature review integrating techniques from NLP, information extraction, knowledge representation, and machine learning to establish the first holistic analytical framework—comprising task taxonomy, benchmark dataset inventory, and unified evaluation metrics. Contribution/Results: We introduce the first general-purpose evaluation framework for structured output generation, explicitly identifying methodological limitations and core challenges (e.g., fidelity, composability, and reasoning-aware assessment). We comprehensively map research gaps and affirm the centrality of this direction in next-generation AI systems, providing both theoretical grounding and practical guidance for future algorithmic development and empirical validation.

Establishing evaluation framework for structured outputsLack of comprehensive synthesis in current researchTransforming unstructured text into structured formats

Current text-to-SQL system evaluations rely on a single static database, which fails to capture model robustness across diverse data instances and may introduce significant bias. This work proposes SynSQL, a novel framework that leverages large language models to directly generate semantically consistent and schema-aligned relational test data from natural language questions. SynSQL formulates database construction as a structured generation task governed by semantic and relational constraints, comprising three stages: schema selection, question-guided data synthesis, and constraint-aware iterative refinement. Experiments on Spider, BIRD, and Spider 2.0 demonstrate that databases generated by SynSQL reduce the performance of ten state-of-the-art models by 3–14%, effectively uncovering errors masked by static evaluation and substantially enhancing assessment reliability and stress-testing capability.

benchmark artifactsdatabase synthesisevaluation robustness

End-to-End Text-to-SQL with Dataset Selection: Leveraging LLMs for Adaptive Query Generation

Aug 08, 2025
AT
Anurag Tripathi
🏛️ Infoorigin Pvt Ltd | J&J Innovative Medicine Technology R&D

To address the overlooked problem of database intent identification in text-to-SQL tasks under multi-database settings, this paper proposes the first end-to-end joint modeling framework that explicitly incorporates a database selection stage into the conventional text-to-SQL pipeline, enabling collaborative optimization of db_id prediction and SQL generation. Methodologically, the approach integrates large language model (LLM)-based semantic understanding, a fine-tuned RoBERTa encoder, structured prompt engineering, and a critic-agent-driven SQL correction mechanism. Crucially, it innovatively leverages LLMs to extract implicit database clues from natural language queries, thereby enhancing the robustness of database intent recognition. Evaluated on standard multi-database benchmarks, the framework achieves significant improvements over existing state-of-the-art models in both database selection accuracy and SQL execution accuracy.

Generate accurate SQL queries using LLMsIdentify intended database from natural language queriesImprove database intent prediction and SQL accuracy

Hot Scholars

HY

Hung-yi Lee

National Taiwan University
deep learningspoken language understandingspeech processing
WZ

Wentao Zhang

Institute of Physics, Chinese Academy of Sciences
photoemissionsuperconductivitycupratehtsc
SW

Shinji Watanabe

Carnegie Mellon University
Speech recognitionSpeech processingSpeech enhancementSpeech translation
MS

Maosong Sun

Professor of Computer Science and Technology, Tsinghua University
Natural Language ProcessingArtificial IntelligenceSocial Computing
DT

Dacheng Tao

Nanyang Technological University
artificial intelligencemachine learningcomputer visionimage processing