Vertex AI Feature Store は ML 用の特徴量を中央管理するサービスで、 2024 新版で BigQuery ベースのアーキテクチャに進化しました。学習と本番推論で同じ特徴量を再利用し、Feature Skew (学習と推論の差) を排除します。
| 項目 | 新版 (2024〜) | 旧版 |
|---|---|---|
| ベース | BigQuery | 専用ストレージ |
| 運用 | シンプル | 複雑 |
| 料金 | BQ + Online ノード時間 | 高価 |
| データ移動 | 不要 (BQ そのまま) | 必要 |
| 新規推奨 | ◎ | — |
from google.cloud import aiplatform as ai
ai.init(project="my-project", location="asia-northeast1")
# Online Store 作成
online_store = ai.FeatureOnlineStore.create_bigtable_store(
name="my-online-store",
min_node_count=1, max_node_count=3,
)
# Feature View 作成 (BigQuery を Source に)
feature_view = online_store.create_feature_view(
name="user-features",
source=ai.FeatureViewBigQuerySource(
uri="bq://my-project.ml_features.user_features",
entity_id_columns=["user_id"],
),
sync_config="0 * * * *", # 毎時 Sync
)
# 同期実行
feature_view.sync()
# Online 取得 (推論時、ミリ秒)
result = feature_view.read(key="user-123")# 学習用バッチ取得: 特定時点の特徴量
df = feature_group.fetch_historical_features(
entity_df=labels_df, # user_id, timestamp, label
feature_groups=[user_features, transaction_features],
)
# Data Leakage 防止: 各 timestamp 以前の最新値のみ取得| 項目 | Vertex AI FS | SageMaker FS | Databricks FS | Feast (OSS) |
|---|---|---|---|---|
| Online Store | Bigtable | DynamoDB | Mosaic AI Serving | Redis / DynamoDB |
| Offline Store | BigQuery | S3 | Delta Lake | BigQuery / Parquet |
| Point-in-time | ◎ | ◎ | ◎ | ◎ |
| OSS | — | — | — | ◎ |
| 項目 | 料金 |
|---|---|
| BigQuery ストレージ | $0.02/GB/月 |
| BigQuery クエリ | $6.25/TB |
| Online Store (Bigtable) | $0.65/h/ノード |
| Online Serving | $0.20/M requests |
Feature Store とは何ですか?
ML 用の特徴量を中央集権的に管理するストア。学習・本番推論で同じ特徴量を再利用、Feature Skew (学習と推論の差) を排除します。
新版 Feature Store (BigQuery ベース) と旧版の違いは?
2024 新版は BigQuery に特徴量を保存、低運用コスト + データの場所を移動しない。旧版は専用ストレージで高コスト・複雑。新規は新版必須。
オンライン vs オフラインの違いは?
オフライン = 学習用、大量取得、レイテンシ問わず。オンライン = 本番推論用、ミリ秒レイテンシ、リアルタイム取得。両モード対応が標準。
料金体系は?
新版: BigQuery ストレージ料金 + オンライン Serving ノード時間。旧版より大幅に安価。
Feature View とは?
BigQuery テーブル / View をベースに「特徴量グループ」を定義する単位。Entity (主キー) を指定し、オンライン Sync で低レイテンシ取得可能化。
AWS SageMaker Feature Store との比較は?
両方とも Online/Offline 二層、Point-in-time 取得対応。Vertex の新版は BQ ネイティブで運用シンプル、SageMaker は DynamoDB ベースで AWS 統合深い。
Embedding も保存できる?
可能。Vector 検索と組み合わせて RAG のリトリーバルストアとしても利用可能 (2024〜)。
Point-in-time Lookup とは?
学習時に過去のある時点での特徴量値を取得する機能。Data Leakage 防止に必須。Vertex AI Feature Store は標準サポート。
関連記事・Feature Store / MLOps
Vertex AI Agent Builder 完全ガイド|Conversational Agents・Vertex AI Search・Tool Use (GCP)
Google Cloud Vertex AI Agent Builder の全機能解説。Conversational Agents (Dialogflow CX 後継)、Vertex AI Search、Tool Use、Grounding、Playbook、料金、ChatGPT GPTs / Copilot Studio 比較を網羅。
Vertex AI Pipelines / MLOps 完全ガイド|Kubeflow・CT・Model Monitoring (GCP)
Google Cloud Vertex AI Pipelines の全機能解説。Kubeflow Pipelines (KFP) v2、TFX、Continuous Training、Model Monitoring、Model Registry、Feature Store 連携、AWS SageMaker Pipelines 比較を網羅。
Generative AI Leader (GAIL) 完全ガイド|Google Cloud 生成 AI 認定 (2025 年 5 月リリース新試験)
Google Cloud Generative AI Leader (GAIL、2025-05-14 リリース) の完全ガイド。4 ドメイン (生成 AI 基礎 30% / GCP 提供サービス 35% / モデル出力改善 20% / ビジネス戦略 15%)、Gemini ファミリー、Vertex AI Agent Builder、RAG、ビジネス導入観点を日本語で網羅。
Vertex AI vs SageMaker vs Azure ML 徹底比較|MLOps プラットフォーム選び方 (2026)
Google Vertex AI / AWS SageMaker / Azure ML の徹底比較。Gen AI 統合 (Gemini / Bedrock / Azure OpenAI)、AutoML、Pipelines、Feature Store、GPU/TPU、料金、認定試験を 2026 年最新版で網羅。
※ Google Cloud は Google LLC の商標です。最新情報は Vertex AI Feature Store 公式 をご確認ください。
NicheeLab編集部
データエンジニアリング・クラウド資格の専門家。Databricks・Snowflake等の認定資格を保有し、実務経験に基づいた問題作成・解説を行っています。NicheeLab運営。
Google Cloud (GCP) 認定資格ロードマップ 2026 完全版|全 15 試験を体系化
Google Cloud 認定資格 全 15 試験 (Foundational 2 + Associate 3 + Pr...
Cloud Digital Leader (CDL) 完全ガイド|出題範囲・学習リソース・合格戦略
Google Cloud Cloud Digital Leader (CDL) の完全ガイド。6 ドメイン 92 bul...
Generative AI Leader (GAIL) 完全ガイド|Google Cloud 生成 AI 認定
Google Cloud Generative AI Leader (GAIL、2025-05-14 リリース) の完全...
Vertex AI 入門|Google Cloud 統合 ML プラットフォームの全機能
Google Cloud Vertex AI の入門解説。Vertex AI Studio / Agent Builde...
GCP Associate Cloud Engineer (ACE) 完全ガイド|試験範囲・受験料・学習ロードマップ
Google Cloud Associate Cloud Engineer (ACE) の試験範囲・受験料 125 US...