GenZ: Foundational models as latent variable generators within traditional statistical models
Marko Jojic, Nebojsa Jojic
TL;DR
GenZ tackles the gap between foundational-model knowledge and dataset-specific prediction by learning interpretable semantic features that connect semantics to real-valued targets through a generalized EM framework. A frozen foundation model classifies items using Discoveries in latent binary features ${\bf z}$, while a statistical model learns $p({\bf y}|{\bf z})$, updating both the semantic descriptors $\theta_f$ and feature uncertainties $\theta_e$ via a variational bound $L$. Across hedonic house-pricing and Netflix cold-start tasks, GenZ outperforms a strong 0-shot GPT-5 baseline and reveals human-interpretable patterns—such as location and architectural quality for housing, and franchises, prestige signals, and temporal cohorts for movies. The approach enables robust high-dimensional and multi-task predictions by translating data-driven splits into semantic prompts, providing practical gains in prediction accuracy and interpretability in real-world domains.
Abstract
We present GenZ, a hybrid model that bridges foundational models and statistical modeling through interpretable semantic features. While large language models possess broad domain knowledge, they often fail to capture dataset-specific patterns critical for prediction tasks. Our approach addresses this by discovering semantic feature descriptions through an iterative process that contrasts groups of items identified via statistical modeling errors, rather than relying solely on the foundational model's domain understanding. We formulate this as a generalized EM algorithm that jointly optimizes semantic feature descriptors and statistical model parameters. The method prompts a frozen foundational model to classify items based on discovered features, treating these judgments as noisy observations of latent binary features that predict real-valued targets through learned statistical relationships. We demonstrate the approach on two domains: house price prediction (hedonic regression) and cold-start collaborative filtering for movie recommendations. On house prices, our model achieves 12\% median relative error using discovered semantic features from multimodal listing data, substantially outperforming a GPT-5 baseline (38\% error) that relies on the LLM's general domain knowledge. For Netflix movie embeddings, our model predicts collaborative filtering representations with 0.59 cosine similarity purely from semantic descriptions -- matching the performance that would require approximately 4000 user ratings through traditional collaborative filtering. The discovered features reveal dataset-specific patterns (e.g., architectural details predicting local housing markets, franchise membership predicting user preferences) that diverge from the model's domain knowledge alone.
