# How to test the BigQuery TabFM 1.1 default update

Replay frozen classification or regression inputs to see what changed when BigQuery switched the default TabFM model to 1.1.

By Paras Madan | 2026-11-24


Your BigQuery prediction SQL can stay the same while its results change. On November 23, Google made TabFM 1.1 the default behind `AI.PREDICT` and the TabFM path in `AI.EVALUATE`. The [BigQuery release notes](https://docs.cloud.google.com/bigquery/docs/release-notes) still list TabFM as preview. The current SQL reference doesn't document a TabFM version selector for either function.

If a scheduled query predicts late shipments, for example, I would replay the exact inputs behind an older run before changing a dispatch threshold. Otherwise, a new batch of orders and a new model arrive together, and it's hard to tell which moved the numbers.

## Freeze the inputs before you replay

Save the exact labeled examples that the older run used and a separate set of shipments with known outcomes. You want to fix the row membership, feature types and label definitions, not just the table names. Use a time cutoff that puts the examples before the holdout. Exclude anything that only becomes known after dispatch, such as the final delivery timestamp, if the prediction is meant to be made before it.

Keep the order ID in the holdout for comparison, but leave it out of the labeled examples unless it was intentionally a feature. According to the [AI.PREDICT reference](https://docs.cloud.google.com/bigquery/docs/reference/standard-sql/bigqueryml-syntax-ai-predict), non-label columns in the examples become features, and the matching prediction columns must have the same types. An explicit feature list makes that contract easier to check than `SELECT *` over a live business table.

## Score the same rows with the same settings

Use the earlier job's `n_ensembles` value. The documented default is four; use four in the replay if that was the setting the previous job ran with. Changing the ensemble count and the model at the same time makes the comparison less useful.

With two prepared fixture tables, the evaluation query looks like this. Here `arrived_late` is a Boolean label in both tables:

```sql
SELECT precision, recall, accuracy, f1_score
FROM AI.EVALUATE(
  TABLE `my_project.test_data.shipments_examples_frozen`,
  TABLE `my_project.test_data.shipments_holdout_frozen`,
  label_col => 'arrived_late',
  n_ensembles => 4
);
```

The [AI.EVALUATE reference](https://docs.cloud.google.com/bigquery/docs/reference/standard-sql/bigqueryml-syntax-ai-evaluate#tabfm) documents these aggregate classification metrics. For a regression workload such as estimating delivery minutes, use a numeric label and compare absolute error instead.

## Compare the decisions that would change

For classification, use `AI.PREDICT` to save the new row-level labels and probability arrays. Join those predictions to your archived results by order ID. Count parcels that would move into or out of the review queue under your actual threshold. Check that count separately for relevant slices, such as routes with few labeled examples or shipments close to cutoff.

Accuracy can stay steady even when quite different orders get flagged. For a dispatch team with a fixed number of reviews each morning, I would track missed late shipments and the size of the review queue alongside overall accuracy. Write down the acceptable change on both before you look at the replay.

If you have no archived predictions or metrics on these rows, compare 1.1 with your current business rule or an existing supervised model on the same holdout. That establishes a useful baseline from today onward. It won't tell you how the older TabFM version would have scored.

## Check cost before expanding the test

Google's [TabFM model overview](https://docs.cloud.google.com/bigquery/docs/tabfm-model) lists up to 80,000 sampled example rows, 128 features and 10 classes. Start well below those limits for the first replay. The prediction reference documents both model token charges and standard BigQuery compute charges. It also says token use rises linearly with the ensemble count. Test a smaller ensemble separately if you need to cut cost or latency, since it can affect the predictions too.

Run the comparison in a scratch dataset first. If the result misses your agreed tolerance, leave downstream decisions on the team's existing fallback while you investigate. Save the inputs, predictions, metrics and job IDs from this replay so that the next default change isn't your first chance to start measuring.

I'm Paras. I work at the intersection of AI, engineering and distribution.

I help AI and data teams explain product changes through clear technical writing and practical storytelling.

[Book a 30-minute call](https://cal.com/paras-madan/30min).
