The Modern Data Toolbox
LLMs, traditional ML and statistics work best combined rather than as competing choices, and three hybrid architectures show how. A fraud detection design pairs a real-time ensemble ML scorer on transaction features with LLM analysis of unstructured text, topped by a statistical governance layer using Partial Dependence Plots, ICE plots and Disparate Impact Analysis. A product discovery engine uses an LLM with RAG as an "imagination layer" whose outputs are structured into features and ranked by a gradient boosting model. LLMs can also act as synthetic data factories, fine-tuned with differential privacy and filtered by LLM judges and expert review, to train downstream classifiers. Doximity applies similar patterns, such as Bayesian split testing for its medical news email digests.
Related posts
- Introducing the Enterprise Scenarios Leaderboard: a Leaderboard for Real World Use Cases
Hugging Face easyNovicePatronus and Hugging Face's Enterprise Scenarios Leaderboard evaluates language models on six enterprise-oriented tasks: FinanceBench, Legal Confidentiality, Creative Writing, Customer Support Dialogue, Toxicity and Enterprise PII. Scoring varies by task. FinanceBench and customer support use few-shot GPT-3.5 judging, legal uses exact-match yes/no accuracy, creative writing uses the EnDEX engagingness model, toxicity uses Perspective API, and PII uses a classifier trained on 3,000 labeled examples. To limit test-set contamination, four of the six datasets are kept closed, with only validation sets released. Submitted models must be public and loadable via Hugging Face AutoClasses.
- Privacy-Aware Infrastructure in the AI-Native Era: An Asset Classification Case Study
Meta Engineering mediumAdeptMeta classifies data assets for privacy enforcement with a hybrid pipeline: it builds structured evidence briefs from code resolution, lineage, ownership and annotations, uses LLMs only for novel or ambiguous assets, and distills stable patterns into versioned, human-reviewed deterministic rules. About 85% of requests resolve on the deterministic path in single-digit milliseconds. The ~15% LLM fallback takes seconds and costs roughly 400x the compute. Key lessons are that context matters more than prompt tuning, that circular label fields must be masked from both the LLM and rule distillation, and that evaluation must stay independent of optimization, using frozen human-reviewed reference sets and calibrated confidence scores.
- Dual-Embedding Trust Scoring
Scribd Tech mediumAdeptScribd scores documents against four trust-and-safety pillars (Illegal, Explicit, PII/Privacy, Low Quality) by taking the cosine similarity between a document's fine-tuned 128-dimensional LaBSE embedding and a per-pillar centroid averaged from roughly 100,000 labeled training documents. Content embeddings separated violating documents from clean ones better for Illegal, Explicit and PII. Embeddings of LLM-generated descriptions worked better for Low Quality, so the system uses a hybrid of the two. Thresholds were tuned for about a 1% false positive rate on about 109,000 evaluation documents, giving recall of 72% for Illegal and 27% for Low Quality, but only 10% for Explicit and 4% for PII.
- Aligning LLM-as-a-Judge with Human Preferences
LangChain easyNoviceLangSmith evaluators now store human corrections to LLM-as-a-Judge scores as few-shot examples, optionally with explanations, and inject them into the judge prompt on later runs so the evaluator aligns with team preferences without manual prompt engineering. LLM judges work because they can see information the generator lacked, such as reference answers, and because judging is easier than generating. Common uses are detecting RAG hallucinations, RAG correctness and toxic outputs, in both online and offline evaluation. The design draws on few-shot learning and Shreya Shankar's Berkeley paper "Who Validates the Validators?".
- Recommend API
Slack Engineering mediumAdeptSlack built a unified Recommend API so product teams can bootstrap new ML recommenders from reusable components (fetchers, filters, feature augmentation via a Feature Store, model scoring and rerankers) instead of building bespoke systems. Server-side feature logs and client-side interaction logs are joined in Airflow to produce training data, and models such as logistic regression and XGBoost are trained as Kubernetes Jobs and monitored with Prometheus, online CTR/DCG and feature-drift metrics. Hand-tuned heuristic models solve cold start until enough data exists, and privacy is preserved by using de-identified usage metadata and only cosine similarity from an external embedding model. A/B tests showed CTR gains such as +38.86% for Composer DMs and +123.57% for Slackbot leave suggestions after moving from hand-tuned to learned models.