Traditional machine learning treats tabular data as an abstract matrix of numbers. To a gradient-boosted tree, a column labeled "Systolic Blood Pressure" is indistinguishable from one labeled "Feature_42." Because the model lacks context, it must rediscover every relationship—like the link between age and health risks—from scratch using brute-force statistical search.
A new research direction, often termed Semantic Automated Data Science, argues that we can bypass this "context gap" by using Large Language Models (LLMs) to interpret the linguistic meaning of data. By treating feature names and metadata as rich sources of domain knowledge, these systems can perform "context-aware" feature engineering that mimics a human data scientist's intuition.
The Context Gap in Automated Machine Learning
Standard Automated Machine Learning (AutoML) relies on combinatorial search. To find a useful new feature, it might try every possible mathematical transformation (addition, logarithms, ratios) across every pair of columns. As Kavitha Srinivas and colleagues note in A Survey on Semantics in Automated Data Science, this leads to a "combinatorial explosion" where most generated features are mathematically valid but physically nonsensical.
In contrast, a human knows that dividing "Total Revenue" by "Number of Employees" yields "Revenue per Employee"—a highly predictive economic indicator. LLMs possess this same "common sense" because they have been trained on vast corpora of technical documentation, code, and tables.
Bridging Metadata and Code
The core mechanism of this research is the translation of semantic metadata into executable logic. In LLMs for Semi-Automated Data Science: Introducing CAAFE for Context-Aware Automated Feature Engineering, Noah Hollmann and his team demonstrate that an LLM can "read" a dataset description and automatically write Python code to create new features.
For example, if a dataset contains "Height" and "Weight," the LLM doesn't just try random math; it recognizes these as biomechanical variables and generates code for Body Mass Index (BMI). This approach allows the system to incorporate complex, non-linear relationships—like physical formulas or financial ratios—that purely statistical tools might never find. Bolin Ding describes this shift in Large Language Models as Pretrained Data Engineers, viewing the LLM as a high-level compiler that synthesizes domain-relevant transformations.
Zero-Shot Feature Selection
Perhaps the most surprising finding in this area is that LLMs can often identify which features are important without seeing a single row of data. LLM-Select: Feature Selection with Large Language Models introduces a framework where models like GPT-4 perform feature selection based solely on column names and task descriptions.
This works because the model uses its internal "world knowledge" to predict which variables are likely to be causal. In sparse or noisy environments where traditional statistical methods like LASSO might fail due to a lack of samples, the LLM’s semantic prior provides a stabilizing force. As Pengyue Jia argues in the AltFS framework, this "agency-light" selection leverages general knowledge to identify redundancies that data-driven models might miss.
From Black Boxes to Interpretable Concepts
Beyond performance, semantic engineering addresses the "black box" problem of modern AI. Instead of creating opaque embeddings, researchers are using LLMs to map raw data to human-understandable concepts.
- Question-Answering Embeddings: Chandan Singh and John Xavier Morris developed QA-Emb, which transforms text into features by asking the LLM binary questions (e.g., "Does this mention a financial risk?"). This turns a vector into a checklist of interpretable traits.
- Bayesian Concept Discovery: In Bayesian Concept Bottleneck Models with LLM Priors, Jean Feng uses LLMs to propose candidate concepts that are then validated against the data. This ensures the model's "reasoning" aligns with professional domain standards.
- Clinical Scoring: Silas Ruhrberg Estévez and Mihaela van der Schaar demonstrate in AgentScore how LLMs can navigate the search space of medical rules to create simple, "bedside-ready" checklists that outperform complex neural networks.
Why It Works: The Semantic Prior
The success of these methods suggests that the "meaning" of a variable name is not just a label—it is a pointer to a massive web of pre-learned correlations. When Tuan Dinh showed in LIFT that fine-tuning an LLM on "sentence-ified" tabular data matches specialized models like XGBoost, it highlighted that the model is not just learning the numbers; it is relating them to the real-world concepts it encountered during pretraining.
By treating the LLM as a "Pretrained Data Engineer," this research direction moves away from context-blind optimization and toward a more symbiotic form of AI—one that understands what the data represents before it begins to calculate.