LIVE · Thursday 3 December

Which Service Automatically Retrains a Custom Classifier on New Data? Nyckel, Comprehend or Vertex AI

Nyckel retrains and promotes without any action from you, Comprehend flywheels suit text on AWS with a fixed label list, and Vertex AI suits teams that want to set every rule.

By Surya6 min read

Choose Nyckel if you want a service that automatically retrains a custom classifier as new data comes in, because it retrains in the background and switches models only when the new one scores better. Choose Amazon Comprehend flywheels if you classify text on AWS with a fixed set of labels and can run a scheduled job that starts each retrain. Choose a Vertex AI continuous training pipeline if you need exact triggers, such as a row-count threshold or drift, and can build the pipeline yourself. At 300,000 short texts a month, Nyckel's Business plan costs $599 and Comprehend's asynchronous route costs about $463 with four one-hour retrains.

The three services differ in who starts a retrain and who approves the result

The table compares what each provider documents about the retraining loop.

Service What starts a retrain Who promotes the new model Input types
Nyckel Nyckel, on a "meaningful change" in samples Nyckel, automatically, if the candidate wins on held-out data Text, image, tabular
Comprehend flywheels You, with StartFlywheelIteration You, with UpdateFlywheel after comparing F1 scores Plain text
Vertex AI pipeline Your schedule, new-row event or threshold Your pipeline, by the quality rules you write Whatever your training code supports

None of the three documents a calibration check before promotion. A calibrated classifier is right about 90% of the time when it reports 90% confidence. If you route low-confidence cases to people, you will need to measure calibration on your own held-out data with any of these services.

Nyckel fits teams that want retraining without engineering work

Nyckel's documentation describes a loop that needs no action from you. The service "watches your samples store and retrains in the background when there's a meaningful change." The current model keeps serving during training, and the documentation says that "the endpoint never goes down." Each candidate is benchmarked against the current model on held-out samples, and "if the candidate is better, the endpoint switches over automatically."

New training data comes mostly from review. Confirming or correcting a prediction in the Review tab turns it into a training sample, and labelled samples can also be sent through the API. At production volume, Nyckel queues the most informative predictions for review and advises reviewers to prioritise low-confidence cases and corrections. Reusing a record's externalId prevents repeated feedback for that record from being counted twice.

The starting threshold is low. A private model begins training once each label has 2 confirmed samples, and Nyckel says that it usually improves clearly over its zero-shot baseline by 10 to 20 samples per label. You can add labels of your own.

The trade-off is control. Nyckel gives no definition of a "meaningful change," names no comparison metric, and does not mention a manual rollback. If an auditor needs to know exactly when and why the model changed, Nyckel's documentation does not provide that answer.

Comprehend flywheels fit text classifiers on AWS whose labels will not change

A Comprehend flywheel manages versions rather than timing. AWS announced the self-service flywheel APIs on March 1, 2023. A flywheel creates a data lake in your AWS account that holds the training and test data for every model version. You add new labelled data as a dataset, then call StartFlywheelIteration. The iteration evaluates the active model on the new data, trains a new version and returns F1 scores for both. You promote the better version with UpdateFlywheel, and ListFlywheelIterationHistory returns past iterations with their metrics.

The flywheel pages describe no schedule and no new-data trigger. Automatic retraining therefore needs a scheduled job of your own that calls the API, plus a rule for when to promote. The rule can be a script that compares F1 scores or a person who approves each change.

Two limits decide whether a flywheel fits:

  • The label list is fixed at creation, and AWS writes that "Amazon Comprehend ignores the new labels/entities" in later datasets, so a new category needs a new flywheel.
  • Flywheels support plain-text input only, for custom classification and custom entity recognition.

A Vertex AI pipeline fits teams that need exact rules and can maintain them

Google's continuous training tutorial builds a pipeline that retrains "either on a periodic schedule or when new data is inserted into the dataset." The schedule in the example runs monthly. The new-data path uses a Cloud Run function with an Eventarc trigger on BigQuery inserts. The pipeline trains, registers the model as a new version in Model Registry, evaluates it and sends an email.

You can tighten the trigger. A Google Cloud blog post from August 9, 2021 starts the pipeline only after a BigQuery table grows by more than a threshold, with 1,000 rows as the example. Google's MLOps architecture guide also lists a drop in model performance and significant changes in the statistics of the data as reasons to start a run. Vertex AI Model Monitoring raises alerts on feature drift, with a default threshold of 0.3, but it does not retrain anything. Google advises you to "re-evaluate or retrain your model" after an alert, so you connect the alert to the pipeline yourself. The tutorial also stops before deployment, which leaves promotion and rollback to your own code.

This is the only route of the three where you can write a calibration check into the promotion gate. It is also the route with the most code to own.

Parsec's decision model takes categories as input, but its retraining rules are unpublished

Parsec, which describes itself as a small language model lab, publishes a decision model called TOD that ranks options which the caller supplies with each request. Its predict function returns one probability per option, and according to Parsec's repo it was measured with up to 300 options. A new category is a new option in the request rather than a retrained model, although Parsec has not published accuracy for options added after tuning. Parsec's decision-models page says that it also tunes decision models on a customer's own decisions. Its separate inference page describes a loop in which the customer approves the evaluations and can download the weights. Parsec publishes no retraining triggers, cadence, calibration check or price for that tuning service, and its pages do not mention VPC or on-premises hosting for it. TOD itself costs $0.30 per 1,000 decisions, according to Parsec's TOD page, and TOD fees are separate from the cost of the parent LLM.

A worked example puts Nyckel and Comprehend within about $140 a month of each other

The example assumes a text classifier that handles 300,000 requests a month, each under 300 characters, with four retrains a month. It uses list prices from each provider's pricing page.

On Nyckel, the Business plan costs $599 a month and includes 300,000 invokes and up to 600,000 samples. Nyckel's pricing page lists no separate training charge, so the monthly total is $599. The Starter plan, at $149, includes only 15,000 invokes and would not cover this volume.

On Comprehend, asynchronous inference is billed in 100-character units with a minimum of three units per request. At $0.0005 per unit, 300,000 requests cost $450. Training costs $3 an hour. AWS's own pricing example assumes one hour per training run, so four retrains cost about $12. Model management adds $0.50 a month for one model. The total is about $462.50. A real-time endpoint changes the result. One inference unit, running for a 30-day month at $0.0005 per second, costs about $1,296 before training.

These figures leave out the cost of the scheduled job that starts each Comprehend iteration and the time that someone spends on promotion. They also assume that each retrain takes one hour, which depends on your data. The Vertex AI cost depends on the machines that you choose for training and serving and has not been calculated. Accuracy on the same data has not been measured across these services, so the cheaper option is not necessarily the better classifier.

Sources

More in Products

All Products →