<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Hironsan</author_name>
  <author_url>https://blog.hatena.ne.jp/Hironsan/</author_url>
  <blog_title>Ahogrammer</blog_title>
  <blog_url>https://hironsan.hatenablog.com/</blog_url>
  <categories>
    <anon>LangChain</anon>
    <anon>情報検索</anon>
    <anon>自然言語処理</anon>
  </categories>
  <description>Rewrite-Retrieve-Readの論文[1]の構成で検索性能が改善するか試してみました。内容としては、RAGの内部で検索するときに、ユーザーのクエリを書き換えると性能が上がるという話です。ユーザーのクエリが検索に適しているとは限らないため、LLMで書き換えてから検索しようというアイデアになります。論文では、強化学習を使って書き換え用のモデルを学習する検証もしていますが、既存のLLMに書き換えさせても効果があるという結果になっています。 Rewrite-Retrieve-Readの構成。画像は[1]より。今回は真ん中の構成を採用。 本実験では、GPT-3.5 Turboを利用して、元の…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhironsan.hatenablog.com%2Fentry%2Finformation-retrieval-with-rewrite-retrieve-read&quot; title=&quot;LLMを用いたクエリ書き換えによる検索性能の変化を検証する - Ahogrammer&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/H/Hironsan/20231127/20231127092649.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-11-27 10:43:36</published>
  <title>LLMを用いたクエリ書き換えによる検索性能の変化を検証する</title>
  <type>rich</type>
  <url>https://hironsan.hatenablog.com/entry/information-retrieval-with-rewrite-retrieve-read</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
