従来型の機械学習と生成AI
- 記事ID
- EA-077
要点
「生成AIは従来MLを一律に置換するものではない。分類・回帰・forecast・異常検知等の予測器を独立した検証可能なserviceとして保持し、LLMを自然言語I/O、探索、操作、説明層として接続する構成が可能である。ただしLLM生成の説明は予測器の忠実な内部説明とは限らず、prediction・attribution・narrativeを分離して監査する。」
現在の判断
実装可能性は非常に高い。Classical ML endpointを独立service/toolとして公開し、LLM/agentがtyped inputを構築して呼び、結果を自然言語化する構成は現行cloud primitivesで実装できる。
どこまで当てはまるか
従来型の予測・採点と、LLMによる解釈・複数の処理の制御を分けて扱う。生成AIが、予測値と実態の対応を調整した従来型モデルに取って代わるとは主張しない。
詳しく理解する
検討ポイント
- Classical ML predictorとLLMを役割分担した構成は現行enterprise stackで実装可能か。
- LLMによる説明をclassical modelの忠実な説明として扱えるか。
- 予測器と生成層を別version・別評価・別監視対象として管理すべきか。
根拠資料
- [仕様確認済み / support] Amazon SageMaker AI, “Invoke models for real-time inference”, AWS, accessed 2026-09-16. https://docs.aws.amazon.com/sagemaker/latest/dg/realtime-endpoints-test-endpoints.html — deployed model endpointをSDK/APIからinvoke_endpointで呼び出せる。prediction serviceを独立toolとして公開可能。
- [仕様確認済み / support] Amazon Bedrock, “Configure Lambda functions to send information that an Amazon Bedrock agent elicits from the user”, AWS, accessed 2026-09-16. https://docs.aws.amazon.com/bedrock/latest/userguide/agents-lambda.html — agent action groupからLambdaへtyped parameters/API metadataを渡しbusiness logicを実行できる。Classic経路でありavailabilityは別途確認要。
- [仕様確認済み / context] Amazon SageMaker, “What is Amazon SageMaker?”, AWS, accessed 2026-09-16. https://docs.aws.amazon.com/next-generation-sagemaker/latest/userguide/what-is-sagemaker.html — next-generation SageMakerはanalytics、traditional ML、generative AI application developmentを同一platform familyで扱う。
- [仕様確認済み / support] Vertex AI, “Get a model evaluation for tabular classification”, Google Cloud, accessed 2026-09-16. https://docs.cloud.google.com/vertex-ai/docs/samples/aiplatform-get-model-evaluation-tabular-classification-sample — tabular classification model evaluationを独立artifactとして取得可能。
- [仕様確認済み / support] Vertex AI, “Explain for tabular”, Google Cloud, accessed 2026-09-16. https://docs.cloud.google.com/vertex-ai/docs/samples/aiplatform-explain-tabular-sample — tabular modelのexplain endpointが存在し、LLM文章説明とは別のmodel-native explanation経路を保持できる。
- [SOURCE_REPORT / limit / 製品情報は要再確認] Amazon SageMaker AI, “Data quality”, AWS, accessed 2026-09-16. https://docs.aws.amazon.com/sagemaker/latest/dg/model-monitor-data-quality.html — Model Monitorは既存顧客向け継続だが新規顧客にはopenでないと現行docに明記。特定monitoring productをCore前提にしない。
- [RESEARCH / counter] Marta Garnelo, Wojciech M. Czarnecki, “Why Large Language Models Fail at Tabular Prediction”, arXiv:2608.02412, 2026-08-03. https://arxiv.org/abs/2608.02412 — 31 benchmark datasets等のcontrolled studyで、generic LLMのtabular predictionがdimensionality増加で劣化しclassical baselinesが維持/改善する現象を報告。単一研究であり全LLM/全tabular taskへ一般化しない。
- [RESEARCH / limit] Andreas Madsen, Sarath Chandar, Siva Reddy, “Are self-explanations from Large Language Models faithful?”, arXiv:2401.07927, 2024-01-15. https://arxiv.org/abs/2401.07927 — self-explanationのfaithfulnessはmodel/task/explanation method依存で一般には信頼できないと報告。classical ML出力の説明文にも同一原則を安全側で適用する。
EVIDENCE CONTRACT
Core候補: PREDICTOR–GENERATOR CONTRACT。最低field: predictor_id/version, feature_schema_version, observation_time, input_hash, prediction, score/probability/interval, threshold/version, model-native explanation locator, generator_model/version, tool-call payload/result, narrative, consistency_check, human override, latency/cost, provenance。
確認できていること
ただし「LLMが説明した」ことは「prediction modelのdecision logicを忠実に説明した」ことを意味しない。prediction、model-native attribution/explanation、LLM narrativeを3 artifactに分離すべきである。
LLMがraw featureから独自に予測を再計算してclassical predictorを上書きする構成は、役割分担を壊す。authoritative prediction fieldとnarrative fieldをschemaで分離する。
classical modelとLLMはtraining cutoff、model version、input schema、monitoring、rollback、latency/costが異なるため、単一「AI version」として管理しない。
よくある失敗・反証
Classical MLが常にLLMより優れるとは確立していない。task/data/feature engineering/training regimeで変わる。
LLM explanationはprediction outputと矛盾、重要featureの捏造、閾値/確率の誤読、causal languageへの過剰変換を起こし得る。
model-native feature attributionも因果説明ではない。SHAP等のattributionを「原因」と記述しない。
schema drift、missing feature、unit mismatch、category encoding差、stale model、LLM tool-call parameter誤りがhybrid固有のfailure surfaceになる。
実務での使い方
分類・回帰・予測モデルは、LLMと分離した予測サービスとして扱う。LLMは、型を定めた出力をもとに、解釈、複数工程の制御、説明を担う。
provider / region / endpoint type / model artifact / IAM / agent or tool runtime / network path / schema compatibility / monitoring product lifecycle。Bedrock Agents Classicは現行docsで新規顧客向けではないため、将来provider mappingではAgentCore等current経路を再確認する。
[仕様確認済み + PROPOSAL] 独立ML endpoint + LLM tool/action adapterは既存API primitivesで実装可能。特定provider間のone-click hybrid productとして一般化しない。
同一frozen test setで (A) classical predictor単独、(B) LLM direct prediction、(C) classical predictor + LLM explanation/interface を比較。prediction metric(AUROC/F1/RMSE/MAE等)、calibration、schema error、tool-call success、explanation factual consistency、latency、costを分離する。LLM narrative qualityでprediction metricを相殺しない。
ML input/outputとLLM prompt/contextのデータ境界を別記録する。LLMへ渡すfeatureは説明に必要な最小集合とし、sensitive featureの再露出を防ぐ。auditでは predictor model ID/version、input schema version、raw prediction/probability、explanation artifact、LLM model/version、prompt/template、tool call、final text を結合可能にする。二重推論のためlatency/costは合算測定する。
まだ確認できていないこと
- provider別のcurrent first-class hybrid orchestration patternは公開後更新時に再採集。
- LLM explanationとmodel-native attributionの一致を保証する標準仕様は未確認。
外部根拠の再確認日が正式な本文・公開管理情報で確定していないため、現行性は未確認のまま保持する。確認日を推測して補わない。
根拠資料
この根拠欄には、主張に対応づけて登録された外部出典がありません。本文中の引用・参考資料がある場合は、適用条件や未確認事項とあわせて確認してください。
このページから探す
種類
主題
やりたいこと
読み終えたら、次の判断へ
この記事で確かめた条件を、関連する用語・道具・手段・運用知識に接続して確認できます。実装や更新の判断には、各記事の確認時点・根拠・未確認事項を引き継いでください。
最初の知見から実務判断まで、3つの読み方を見る