新しく開設された
Discord コミュニティに参加して、リアルタイムのディスカッション、ユーザー同士のサポート、メリディアン チームとの直接の交流をお楽しみください。
LightweightMMM から移行する
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
Meridian は、Google の MMM 手法の正式な進化形であり、LightweightMMM の更新版です。どちらのバージョンも、2017 年以降の Google のベイズ MMM 研究に基づいています。
Meridian の主な機能は、リーチとフリークエンシーのモデリング、有料検索の効果的な処理、テストの調整です。
Meridian に移行する方法
LightweightMMM から Meridian に移行するには、Meridian をインストールし、Meridian の新規ユーザーと同じプロセスでデータをインポートします。詳細については、Meridian をインストールするをご覧ください。
機能の比較
両方のモデルの入力データは同じです。
次の図は、プロジェクト間の主な機能の違いの概要を示しています。
機能 |
LightweightMMM |
Meridian |
言語 |
Python |
Python |
ベイズ ライブラリ |
Numpyro |
TensorFlow Probability |
テストの調整 |
可能だが手動 |
○ |
リーチとフリークエンシーのモデリング |
× |
○ |
オプティマイザー |
○ |
○ |
モデルの費用対効果の定式化 |
× |
○ |
GQV の交絡因子の組み込み |
可能だが手動 |
○ |
国内レベルと地域レベルのモデル |
○ |
○(国内およびより多くの地域) |
トレンドと季節性 |
直線 + 正弦波の繰り返し形状(日次、週次) |
ノット |
カスタムの事前分布 |
○ |
○ |
遅延と飽和変換 |
○ |
○ |
入力のスケーリング |
手動 |
自動 |
モデルの仕様の違い
LightweightMMM には、Adstock、Hill-Adstock、Carryover の 3 種類のモデル アーキテクチャがあります。Meridian では、Hill および Adstock アーキテクチャのバリエーションを使用しており、他のアーキテクチャは使用できません。Meridian のベースライン モデルでは、Hill 変換と Adstock 変換を適用する順序を選択できます。Meridian のリーチとフリークエンシー モデルでは、Hill と Adstock の順序が固定されており、Hill、Adstock の順に適用されます。
Meridian と LightweightMMM のその他の違いは次のとおりです。
メディア チャネルは、どちらのプロジェクトでも地域全体にわたって階層化されています。ただし、LightweightMMM では、地域階層に他の自由パラメータは追加されません。代わりに、LightweightMMM では 1 つのメディア係数を使用して、ハイパー事前分布と個々の地域レベルのメディア チャネルの事前分布の両方を指定します。Meridian には、地域全体のメディア係数の標準偏差を指定する追加パラメータ eta_m
があります。Meridian では、階層的な変化を正規分布または対数正規分布の形状にすることもできます。
メディア以外の特徴量(Meridian ではコントロール変数)も Meridian では階層化されていますが、LightweightMMM では地域間で階層化されていません。Meridian モデル パラメータ xi_c
は、この地域階層の標準偏差を指定します。
Meridian では、ベータ版(LightweightMMM と同じ)または費用対効果のいずれかに関してメディアの事前分布を指定できます。
Meridian では、ベースラインの表現が LightweightMMM とは異なります。Meridian では、地域レベルと時間レベルの固定効果の両方を指定できます。ベースラインは、両方の固定効果の合計です。
MCMC サンプリング時間で想定される差異
Meridian ではモデル パラメータとモデルの複雑さが増すため、MCMC サンプリングは LightweightMMM よりも時間がかかることが想定されます。ただし、モデルは比較的類似しているため、Meridian が LightweightMMM よりも大幅に時間がかかることは想定されません。どの程度時間がかかるかを正確に推定するには、コンピューティング環境、地域の数、モデルの調整パラメータ、事前分布、データなどを考慮する必要があります。Meridian はモデルが複雑なため MCMC サンプリングの時間が長くなる可能性がありますが、より正確な結果を期待できます。
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-08-04 UTC。
[null,null,["最終更新日 2025-08-04 UTC。"],[[["\u003cp\u003eMeridian is the updated version of Google's LightweightMMM, representing the evolution of their Bayesian MMM research.\u003c/p\u003e\n"],["\u003cp\u003eKey features of Meridian include reach and frequency modeling, effective handling of paid search, and experiment calibration.\u003c/p\u003e\n"],["\u003cp\u003eMigrating to Meridian involves installing it and importing data using the same process as a new user, as detailed in the installation guide.\u003c/p\u003e\n"],["\u003cp\u003eMeridian utilizes Tensorflow Probability as its Bayesian library, while LightweightMMM uses Numpyro, although the input data for both models remains the same.\u003c/p\u003e\n"],["\u003cp\u003eMeridian offers improved features like a ROI formulation, incorporating GQV confounders, and automatic scaling of inputs, along with a more complex model architecture compared to LightweightMMM.\u003c/p\u003e\n"]]],[],null,["# Migrate from LightweightMMM\n\nMeridian is the official evolution of the Google MMM approach. It is the\nupdated version of LightweightMMM. Both versions are based on Google's Bayesian\nMMM research since 2017.\n\nThe key features of Meridian are reach and frequency modeling, handling\npaid search effectively, and experiment calibration.\n\nHow to migrate to Meridian\n--------------------------\n\nTo migrate from LightweightMMM to Meridian, you install Meridian\nand import your data using the same process as any new user to Meridian.\nFor more information, see [Install\nMeridian](/meridian/docs/user-guide/installing).\n\nFeature comparison\n------------------\n\nThe input data for both models is the same.\n\nThe following chart gives an overview of the key feature differences between the\nprojects:\n\n| Feature | LightweightMMM | Meridian |\n|---------------------------------------|------------------------------------------------------------|------------------------------|\n| Language | Python | Python |\n| Bayesian library | Numpyro | Tensorflow Probability |\n| Experiment calibration | Possible but manual | Yes |\n| Reach and frequency modeling | No | Yes |\n| Optimizer | Yes | Yes |\n| ROI formulation of the model | No | Yes |\n| Incorporating GQV confounder | Possible but manual | Yes |\n| National- and geo-level models | Yes | Yes, national plus more geos |\n| Trend and seasonality | Straight line + sinusoidal repeating shape (daily, weekly) | Knots |\n| Custom priors | Yes | Yes |\n| Lagging and saturation transformation | Yes | Yes |\n| Scaling of inputs | Manual | Automatic |\n\nDifferences in the model specifications\n---------------------------------------\n\nLightweightMMM offers three different model architectures: Adstock,\nHill-Adstock, and Carryover. Meridian uses a variation of the\nHill-Adstock architecture, and does not allow other architectures. You can\nchoose the order in which the Hill- and Adstock-transformations are applied for\nthe Meridian baseline model. The Meridian reach and frequency\nmodel has a fixed Hill-Adstock order: Hill first, and then Adstock.\n\nOther differences between Meridian and LightweightMMM include:\n\n- Media channels are hierarchical across geos in both projects. However, in\n LightweightMMM, the geo hierarchy doesn't add additional free parameters.\n Instead, one media coefficient is used to specify both the hyper-prior and\n the individual geo-level media channel priors in LightweightMMM.\n Meridian has an additional parameter `eta_m` that specifies the\n standard deviation of the media coefficient across geos. Meridian\n also allows the hierarchical variation to be either normal or log-normal in\n shape.\n\n- The non-media features, called *control variables* in Meridian, are\n also hierarchical in Meridian, whereas they are non-hierarchical\n across geos in LightweightMMM. The Meridian model parameter `xi_c`\n specifies the standard deviation of this geo hierarchy.\n\n- Meridian lets you specify media priors either in terms of beta (the\n same as LightweightMMM) or in terms of ROI.\n\n- The baseline is expressed differently in Meridian, compared to\n LightweightMMM. With Meridian, users can specify both geo-level and\n time-level fixed effects, and the baseline is the sum of both fixed effects.\n\nExpected differences in the MCMC sampling time\n----------------------------------------------\n\nDue to more model parameters and model complexity in Meridian, MCMC\nsampling in Meridian is expected to take longer than in LightweightMMM.\nHowever, because the models are relatively similar, Meridian is not\nexpected to take much longer than LightweightMMM. Precise estimates on how much\nlonger depends on the compute environment, number of geos, model tuning\nparameters, priors, data, and other factors. Although Meridian's model\ncomplexity likely leads to longer MCMC sampling time, more accurate results are\nexpected."]]