You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

关于Discovery生产环境增量训练无置信度返回的技术问询

Solution for Missing Confidence Scores During Discovery Incremental Training & Optimizing Production Model Improvement

Hey Jim, let’s dive into your Discovery incremental training issues—this is a common pain point when balancing model improvement with production availability, so I’ve got actionable fixes and workarounds tailored to your needs.

Fixing Missing Confidence Scores During Incremental Training

First, let’s tackle the immediate problem of not seeing confidence scores while training:

  • Adjust Training Configuration Parameters
    Many Discovery implementations disable confidence score returns during incremental training by default to optimize training speed. You can explicitly enable this by adding the return_confidence_scores flag to your training call. Here’s a quick code snippet example:

    # Enable confidence scores during incremental training
    discovery.train(
        incremental=True,
        training_data=your_sme_training_data,
        training_config={"return_confidence_scores": True}
    )
    

    This forces the training pipeline to output confidence metrics for each batch of data it processes.

  • Use Mid-Training Validation Queries
    If enabling scores directly during training isn’t working, run periodic test queries against the in-progress incremental model’s temporary checkpoint. Most Discovery APIs let you trigger lightweight evaluations mid-training, so you can monitor confidence levels without interrupting the training flow.

  • Upgrade Your Discovery Tooling Version
    Older versions of Discovery sometimes restricted confidence score access during incremental training. Check if you’re on the latest stable release—upgrading often resolves these feature gaps.

Optimizing Incremental Training for Production Model Improvement

Now, to make sure incremental training delivers on its core promise of production-time optimization:

  • Implement Rolling Training with A/B Testing
    Don’t block production traffic during training. Keep your current production model active while training the incremental model in the background. Once training finishes, run an A/B test comparing the old model’s confidence scores and accuracy against the new one. Only switch to the new model if it meets your SME-defined quality thresholds. This way, you get continuous improvement without downtime or degraded performance.

  • Integrate SME Feedback into Training Loops
    Build a simple feedback mechanism in your production system where SMEs can flag correct/incorrect model outputs. Feed this labeled feedback directly into your incremental training batches. This makes your training data more relevant and lets you track how well the model improves against real-world use cases, not just synthetic test data.

  • Tune Training Frequency & Batch Sizes
    If frequent training causes disruptions, schedule runs during low-traffic windows (e.g., overnight). You can also set a threshold for new training data—only trigger training when you’ve collected a minimum number of SME-labeled samples. This ensures each training run is meaningful and minimizes impact on production.

内容的提问来源于stack exchange,提问作者Jim Hoskins

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.20 07:48:03