Can Semiconductor Virtual Metrology Work with an Off-the-Shelf Model? Evaluating In-Context Learning with TabPFN-3.5

Chi Li, Yu-Ming Hsieh, Fan-Tien ChengarXiv 2026

TL;DR

Training and maintaining bespoke machine learning models for every process condition in a semiconductor fab is an operational headache. This paper shows that a single, off-the-shelf tabular foundation model (TabPFN-3.5) with completely frozen weights can predict wafer quality more accurately than eight custom-trained baselines—simply by feeding it raw, per-second sensor traces and a handful of reference examples in-context. The catch? You trade model-training headaches for noticeably slower prediction speeds.

What Problem Does This Paper Address?

In semiconductor manufacturing, physically measuring wafer quality—like film thickness or etch depth—is expensive and slow, so fabs can only measure a tiny fraction of wafers. To fill the gap, engineers use Virtual Metrology (VM): machine learning models that read per-second tool sensor traces (temperature, pressure, gas flow) during processing to estimate the final quality of unmeasured wafers.

The catch is that fabs are dynamic. Every time a tool, recipe, or product changes, the relationship between sensor readings and wafer quality shifts. Setting up and maintaining VM typically requires engineers to design custom feature-extraction pipelines and train or fine-tune a separate model for every single process condition. The authors ask a refreshingly simple question: Can one pretrained, off-the-shelf model handle diverse semiconductor processes without any task-specific training, fine-tuning, or feature engineering?

Methods

Instead of training models from scratch, the authors turn to In-Context Learning (ICL) using TabPFN-3.5, a tabular foundation model pretrained purely on synthetic data tasks to approximate posterior predictive distributions.

Here is how they adapt time-series wafer traces for a tabular model without bespoke feature engineering:

  1. Basic Preprocessing: Sensor readings (logged once per second) are truncated to a common time window (the 99th percentile of processing time), median-imputed for missing values, standardized, and zero-padded if a run finishes early.
  2. Flattening: Each 2D time-by-sensor trace is flattened into a single, ultra-wide row of numbers—creating tables up to 23,532 columns wide.
  3. Chunked Ensembling & Caching: Because a single estimator in TabPFN-3.5 takes at most 768 columns, the authors split the wide flattened trace across an ensemble of estimators (at least 8, scaling up as width grows) so every sensor-second is seen. The model’s weights remain completely frozen. To predict a new wafer's quality, engineers pass in a "context" (reference set) of historical traces paired with their measured quality from that same process condition. To save compute, the context is compressed into an 8-bit key-value (KV) cache stored in CPU memory and swapped to the GPU at inference time.

They benchmark this setup against eight task-trained baselines: CNN, LSTM, TCN, Transformer, GNN, FNN, Random Forest (RF), and XGBoost, alongside an ablation comparing raw flattened traces against traditional PCA-compressed step-level statistics.

Datasets

The authors evaluate the models on six real-world semiconductor production datasets spanning 3,622 total wafer samples across three distinct physical processes:

  • Diffusion ($\text{DIFF}_\text{A}$ through $\text{DIFF}_\text{D}$): Four distinct heat-treatment conditions.
  • Etching ($\text{ETCH}$): Selective material removal (the widest dataset, with 53 sensors over ~441 seconds, yielding >23,000 columns).
  • Thin Film ($\text{TF}$): Material layer deposition.
Table I: Paired samples and full-trace input dimensions for the six production datasets

Key Insights and Ideas

  • Skip the feature engineering—raw traces win: Compressing per-second sensor readings into recipe-step summary statistics (mean, max, slope, etc.) plus PCA actually hurts TabPFN-3.5, RF, and XGBoost across all six tasks (though it helps standard FNNs on four tasks). TabPFN-3.5 extracts subtle temporal signals directly from raw per-second columns that human-designed summaries throw away.
  • Model maintenance becomes data curation: With frozen weights, "updating the model" just means updating the reference table of measured wafers. However, when metrology budgets are tight (e.g., only 30 reference wafers), which wafers end up in your context causes massive swings in accuracy—making intelligent sample selection a critical lever.
  • Zero-training accuracy costs inference latency: Because TabPFN-3.5 attends over hundreds of reference rows across dozens of column-chunked estimators, predicting a single wafer takes seconds rather than milliseconds.

Key Results

Using 5-fold cross-validation grouped by production lot:

  • Clean Sweep in Accuracy: TabPFN-3.5 achieves the lowest Mean Absolute Error (MAE) of all nine models on every single dataset, landing between 34.60% and 68.72% of each dataset's target standard deviation ($\sigma_Y$). Even though baseline hyperparameters were tuned on the test folds (giving baselines a selection-bias advantage), frozen TabPFN-3.5 with default settings still beat them all.
Table II: MAE in five-fold cross-validation on six production tasks
  • Full Traces vs. Extracted Features: Replacing full traces with PCA features increased TabPFN-3.5's error across the board—from a 5.1% relative error increase on $\text{TF}$ up to an 81.1% jump on $\text{DIFF}_\text{A}$ (rising from 0.4017 to 0.7273 MAE).
  • Reference Set Sensitivity: Drawing 30 random reference wafers 30 different times on $\text{DIFF}_\text{B}$ caused test MAE to swing between 0.4251 and 0.7850—a spread equal to roughly one-third of the dataset's quality standard deviation ($\sigma_Y$). Using the full reference pool consistently beat small random draws.
  • The Latency Bottleneck: TabPFN-3.5 requires 756.75 to 5,421.56 ms per sample for inference, plus 110.92 to 766.05 ms to transfer the task's KV cache from host RAM to the GPU, and 2.0 to 24.4 seconds to rebuild the cache when reference data changes. By contrast, all eight baselines run in 0.30 to 91.93 ms per sample.
Table IV: Per-sample inference time for the nine models (ms/sample)

Limitations and Future Work

  • Inference Latency: Multi-second per-wafer prediction times are the primary practical drawback for high-throughput, real-time fab environments.
  • No Chronological Drift Evaluation: Lots were assigned to cross-validation folds randomly rather than in chronological production order (to isolate learning ability from process drift). Because reference sets could include lots produced after test lots, these results may overestimate accuracy on future lots. Testing whether sliding/updating the reference window handles real-world process drift is left for future work.
  • Smarter Context Selection & Fine-Tuning: Under tight measurement budgets, future work should test whether selecting reference wafers by trace similarity or condition coverage beats random sampling, and whether domain-specific features or fine-tuning TabPFN-3.5 yields further gains.
  • Licensing: This offline feasibility study relied on Prior Labs' non-commercial license for TabPFN-3.5 weights.

Summary updated

BibTeX
@misc{li2026can,
  author = {Chi Li and Yu-Ming Hsieh and Fan-Tien Cheng},
  title = {{Can Semiconductor Virtual Metrology Work with an Off-the-Shelf Model? Evaluating In-Context Learning with TabPFN-3.5}},
  year = {2026},
  eprint = {2611.37203},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.37203},
}
Figure