Language Model Augmented Semi-Supervised Statistical Inference

Xinrui Ruan, Yingfei Wang, Waverly Wei, Jingshen WangICML 2026

Introduction

In biomedical research, investigators frequently encounter a "data paradox": they possess a tiny amount of expensive, expert-labeled data (e.g., clinician-confirmed Alzheimer’s diagnoses) alongside a mountain of unlabeled, unstructured data (e.g., clinical notes, patient audio, or video recordings).

Standard Semi-Supervised Statistical Inference (SSI) aims to leverage this unlabeled mountain to sharpen our understanding of how certain variables or biomarkers relate to clinical outcomes. However, traditional SSI methods struggle with modern datasets due to two major flaws:

  1. Modality Mismatch: They are designed for structured data (like age or blood pressure) and fail to effectively process unstructured data like speech or text.
  2. Covariate Misalignment: They assume every dataset records the exact same variables. In reality, one study might record detailed medication histories while an unlabeled dataset from another source does not.

While Large Language Models (LLMs) excel at processing unstructured data, they act as "black boxes." Naively using their predictions as ground-truth labels introduces bias and invalidates the statistical uncertainty (confidence intervals) that researchers rely on for rigorous clinical decisions. To bridge this gap, researchers have developed LASS (Language model Augmented Semi-supervised Statistical inference), a framework that allows researchers to use LLMs to boost the precision of statistical estimates while maintaining rigorous mathematical validity.

The LASS Framework: Methods and Mechanics

The LASS framework treats LLM predictions not as absolute truth, but as informative, albeit noisy, signals that can be mathematically calibrated.

1. Calibration Strategy

Instead of blindly trusting an LLM's pseudo-label, LASS uses the small, high-quality labeled dataset to estimate the conditional correlation between the LLM’s prediction and the true outcome. It calculates an optimal calibration weighting function ($\omega^*$). If the LLM is highly informative for a specific patient profile, its prediction is weighted heavily; if it is prone to hallucination or bias in certain contexts, the weight is reduced.

2. Prediction Invariance Region (PIR) Selection

To handle covariate misalignment (mismatched variables across datasets), LASS employs a two-step algorithm. When the labeled data contains extra features that the unlabeled data lacks, LASS uses a CART (Classification and Regression Tree) approach. This identifies regions in the data where the LLM’s average prediction remains stable regardless of whether those extra features are present. Consequently, the model can selectively "borrow" information from the unlabeled data without introducing systematic error.

3. Statistical Guarantees

Crucially, LASS provides formal mathematical proofs demonstrating that its estimator is both consistent (converges to the true value) and asymptotically normal. This guarantees that researchers can trust the resulting confidence intervals for hypothesis testing.

Datasets and Real-World Application

The researchers evaluated LASS using synthetic simulations and real-world datasets:

  • DementiaBank (Pitt Study): A labeled dataset of 452 participants with clinician-confirmed Alzheimer’s Disease (AD) diagnoses, featuring demographics, NLP-derived linguistic features, and speech transcripts.
  • DementiaBank (Hopkins Study) & YouTube: Unlabeled datasets containing roughly 1,800 speech samples. The authors utilized the YouTube Data API and Gemini models to extract qualitative insights from patient interaction videos.
  • IMDb Dataset: Used to demonstrate the framework’s broader generalizability to standard sentiment analysis tasks.

Key Insights and Results

  • Efficiency Gains and Discovery Power: LASS consistently produced narrower confidence intervals than benchmark methods (standard GLMs, traditional SSI, and Prediction-Powered Inference). In the Alzheimer’s case study, LASS successfully identified "lexical complexity" and "pronoun ratio" as significant risk factors—biomarkers that traditional methods missed because they could not effectively leverage the larger unlabeled speech corpora.
  • LLMs vs. Task-Specific Models: Pre-trained LLMs often provided better pseudo-labels than deep learning models trained from scratch on the small labeled set. The LLMs bring "external knowledge" from their massive pre-training that small, study-specific models lack.
  • Temperature Matters: In statistical inference, "creativity" is a liability. Setting the LLM temperature to 0 (deterministic output) significantly improved estimation efficiency by eliminating sampling randomness.
  • Robustness to Bad Prompts: Even when prompts were ill-designed or mismatched to the task, the calibration mechanism prevented LASS from failing catastrophically. Instead of producing inaccurate results, the framework simply reverted to the baseline performance of the labeled-only data.

Limitations and Future Directions

While LASS represents a significant step forward, the current study focused primarily on text and speech modalities. Future work is needed to adapt the framework for other biomedical data types, such as medical imaging (MRI/CT) and longitudinal time-series data. Additionally, as LLMs evolve (e.g., upgrading from GPT-4 to a future iteration), calibration weights must be re-calculated. Finally, while the PIR method handles covariate misalignment, further research is required to address "covariate shift," where the underlying population demographics differ significantly between the labeled and unlabeled data sources.

Summary updated

BibTeX
@inproceedings{ruan2026language,
  author = {Xinrui Ruan and Yingfei Wang and Waverly Wei and Jingshen Wang},
  title = {{Language Model Augmented Semi-Supervised Statistical Inference}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=bFy2cGMR2S},
}
Figure