08-latency.mdupdated 2026-07-162489 words
ダブルクリックで英日反転
Applied Sciences · Engineering

AI Search Evaluation ⑧ Latency — Average Response Time in Seconds

EN

Latency measures the average seconds from API request to final response. It is both a direct user-experience signal and a precondition for multi-hop agentic tasks.

Why It Matters

  • Business: AI search's edge over SERP is speed — if it takes 10 s, users drop off.
  • Academic: high latency causes timeouts and blows cost budgets on multi-hop tasks (C4).
  • HELM adopts latency as an efficiency indicator alongside accuracy metrics.

Formula & Reporting

  • Latency = Σ(response seconds) ÷ (request count)
  • Report p50 and p95 separately to expose the effect of outliers.
  • Count and report timeouts separately as a timeout rate.

Worked Example (Hypothetical)

  • ChatGPT Search (gpt-4o-mini): avg 3.2 s / p95 5.1 s
  • Gemini 2.5 Flash: avg 2.8 s / p95 4.4 s
  • Claude Opus 4.6 (WebSearch): avg 8.5 s / p95 14.2 s — read as an accuracy trade-off.
  • AI Overview (SERP scrape): 4.0 s including SERP retrieval time.

Use in the AI-Search Project

  • Measured for all 600 target queries via the collector script (ms precision).
  • SERP-scrape engines include Bright Data retrieval time.
  • Treated as a precondition for C4 (Agent Task Completion Fidelity), not a standalone construct.
Always report p50 + p95 + timeout rate; latency is a UX gate and an agentic-task precondition, not just a speed number.
Applied Sciences · Engineering

AI検索評価 ⑧ レイテンシ(応答時間)​— 平均秒数で​測る​スピード指標

JP

レイテンシ(=APIリクエストから​最終応答受信までの​平均秒数)は​ユーザー体験の​直接指標であり、​マルチホップの​エージェント型タスク成立の​前提条件でもある。

なぜ重要か

  • ビジネス面: AI検索の​SERP​(検索結果​ページ)に​対する​優位性は​速さ。​10秒かかれば​離脱に​つながる。
  • 学術面: レイテンシが​高いと​C4​(エージェントタスク完遂率)で​タイムアウトや​コスト超過が​起きやすい。
  • HELM​(大規模言語モデル総合評価フレームワーク)も​効率指標と​して​採用。

計算式と​報告方​法

  • Latency = Σ​(応答秒数)​ ÷ リクエスト数
  • 外れ値の​影響を​見る​ため、​p50​(中央値)と​p95(上位5%境界)を​別々に​報告する。
  • タイムアウトは​件数と​割合を​別枠で​集計・報告する。

仮想シナリオ例

  • ChatGPT Search (gpt-4o-mini): 平均3.2秒 / p95 5.1秒
  • Gemini 2.5 Flash: 平均2.8秒 / p95 4.4秒
  • Claude Opus 4.6 (WebSearch): 平均8.5秒 / p95 14.2秒 — 精度との​ トレードオフと​して​解釈。
  • AI Overview​(SERPスクレイプ)​: 4.0秒​(SERP取得時間込み)

プロジェクト内での​扱い

  • 対象クエリ全6​00問に​対し、​コレクタースクリプトで​ミリ秒精度で​計測。
  • SERPスクレイプ系エンジンは​Bright Dataの​取得時間も​含む。
  • 単独構成概念​(construct)ではなく、​C4の​前提条件と​して​位置付ける。
p50・p95・タイムアウト率を​必ずセットで​報告。​レイテンシは​UXの​関門であり、​エージェント型タスクの​成立条件でもある。
148 notestil