首页 > AI前沿 > MOLDCAST: Contradiction Retrieval with a Single Inner Product

MOLDCAST: Contradiction Retrieval with a Single Inner Product

arXiv自然语言 2026-11-28 04:48 2 阅读 查看原文
用户现在需要把给定的英文新闻正文排版成符合要求的HTML片段,首先看正文的结构,整个是一段?不对,先梳理内容:首先开头讲矛盾检索的任务,然后介绍MOLDCAST,然后说基准的情况,然后新基准的情况,最后代码地址。首先每个自然段落用p包裹,有没有需要划分小节的?这里内容是连贯的,但是先看,首先第一句是介绍Contradiction retrieval的任务,然后接下来讲MOLDCAST的核心设计,然后基准结果,然后新基准和结果,然后分析,最后代码。不对,要保留所有信息,不能增删。首先,先分段?不对,原文是一段吗?看用户给的正文是一整段?不对,再仔细看:正文的内容是连贯的,但需要正确分段?不对,规则是每个自然段落用p包裹,长文用h2/h3划分小节。首先,首先,先确定结构:首先,开头介绍矛盾检索的任务和以往的研究,这部分可以用一个p?然后接下来介绍MOLDCAST的设计,这部分可以用h2?不对,不对,要保留原文所有内容,不能改。等下,原文是一段吗?用户给的正文是连续的一段?哦,看用户给的正文:从Contradiction retrieval到https那个,是一整段?不对,那怎么划分?不对,再仔细看内容: 1. 第一句是任务定义:Contradiction retrieval is a task that asks a system to find, in a large corpus, the passages that contradict an input query statement. Past work has argued that cosine similarity cannot express this relation. 2. 然后介绍MOLDCAST:We present MOLDCAST, a contradiction detector whose score is a single inner product, so that any standard vector index can apply it to a whole corpus. MOLDCAST describes each passage by learned slots, designed so that two passages clash when their values differ in slots to which both commit. 3. 然后基准结果:On the standard benchmarks, MOLDCAST performs on par with SparseCL, the current method, with a 40% smaller index. However, we find that these benchmarks can largely be solved from the passage alone. 4. 然后新基准和结果:We therefore build a new benchmark from real Wikipedia revisions that removes this shortcut. On it, MOLDCAST ranks contradictions above their confounders three times as often as SparseCL. 5. 然后分析和代码:An analysis shows that its values act as fingerprints of the numbers a sentence mentions. Code and data: https://github.com/semantic-systems/moldcast. 那是不是可以把这些分成几个段落,用p包裹,或者划分小节?比如,先有h2介绍任务背景?不对,要语义化。等下,规则是长文用h2/h3划分小节,那这里的内容可以划分: 首先,开头的任务背景部分,可以用h2?比如

Contradiction Retrieval Task Background

?不对,不行,不能增内容!哦对,规则4是保留原文所有信息,不得增删改内容。所以小标题也不能加原文没有的内容!哦对,这个很重要,不能自己加标题文字,因为原文没有。那如果原文没有可以划分的小节标题,那就不用h2/h3?不对,那看原文的内容,是不是都是连贯的,那每个自然段落用p包裹,那原文是一整段?不对,不对,用户给的正文是一整段吗?看用户给的: 正文如下: Contradiction retrieval is a task that asks a system to find, in a large corpus, the passages that contradict an input query statement. Past work has argued that cosine similarity cannot express this relation. We present MOLDCAST, a contradiction detector whose score is a single inner product, so that any standard vector index can apply it to a whole corpus. MOLDCAST describes each passage by learned slots, designed so that two passages clash when their values differ in slots to which both commit. On the standard benchmarks, MOLDCAST performs on par with SparseCL, the current method, with a 40% smaller index. However, we find that these benchmarks can largely be solved from the passage alone. We therefore build a new benchmark from real Wikipedia revisions that removes this shortcut. On it, MOLDCAST ranks contradictions above their confounders three times as often as SparseCL. An analysis shows that its values act as fingerprints of the numbers a sentence mentions. Code and data: https://github.com/semantic-systems/moldcast. 哦,原来整个正文是一段?那不对,那怎么排版?不对,是不是可以按照语义分成几个p?因为自然段落的话,这里是一整段,但可能需要合理拆分?不对,规则是每个自然段落用p包裹,那如果原文是一段,那就是一个p?但还有重要的句子可以用strong。那哪些是重要的?比如MOLDCAST的介绍?不对,看内容,首先,有没有可以加strong的?比如Contradiction retrieval?不对,或者MOLDCAST?不对,要合理。等下,再仔细看规则:重要句子可用,不是词语。那有没有重要句子?比如介绍MOLDCAST的核心优势的?或者最后的结果?不对,先不要随便加,先保证内容完整。 等下,不对,是不是我理解错了,原文的每一句是不是可以分成段落?不,自然段落是作者的分段,原文这里是一整段,那应该是一个p?但那样会不会太长?不对,再想,用户说“每个自然段落用

包裹,长文用

/

划分小节”,但原文没有小节标题,所以不能加,因为加了就是新增内容了。那原文是一段,所以用一个p包裹?然后里面的重要部分加strong?比如,

Contradiction retrieval is a task that asks a system to find, in a large corpus, the passages that contradict an input query statement. Past work has argued that cosine similarity cannot express this relation. We present MOLDCAST, a contradiction detector whose score is a single inner product, so that any standard vector index can apply it to a whole corpus. MOLDCAST describes each passage by learned slots, designed so that two passages clash when their values differ in slots to which both commit. On the standard benchmarks, MOLDCAST performs on par with SparseCL, the current method, with a 40% smaller index. However, we find that these benchmarks can largely be solved from the passage alone. We therefore build a new benchmark from real Wikipedia revisions that removes this shortcut. On it, MOLDCAST ranks contradictions above their confounders three times as often as SparseCL. An analysis shows that its values act as fingerprints of the numbers a sentence mentions. Code and data: https://github.com/semantic-systems/moldcast.

?不对,但是有没有需要划分的?不对,再看,原文的内容是不是可以分成几个逻辑段落,而不改变内容?比如:

Contradiction retrieval is a task that asks a system to find, in a large corpus, the passages that contradict an input query statement. Past work has argued that cosine similarity cannot express this relation.

We present MOLDCAST, a contradiction detector whose score is a single inner product, so that any standard vector index can apply it to a whole corpus. MOLDCAST describes each passage by learned slots, designed so that two passages clash when their values differ in slots to which both commit.

On the standard benchmarks, MOLDCAST performs on par with SparseCL, the current method, with a 40% smaller index. However, we find that these benchmarks can largely be solved from the passage alone. We therefore build a new benchmark from real Wikipedia revisions that removes this shortcut.

On it, MOLDCAST ranks contradictions above their confounders three times as often as SparseCL. An analysis shows that its values act as fingerprints of the numbers a sentence mentions. Code and data: https://github.com/semantic-systems/moldcast.

这样是不是可以?因为这样拆分是按照逻辑的自然段落,而且没有增删内容,对吗?哦,对,因为原文虽然用户给的是一整段,但是逻辑上可以分成几个自然段落,而且没有改变内容。然后重要的部分,比如MOLDCAST作为核心模型,可以加strong?还有那个关键的结果,就是MOLDCAST在新基准上的表现,加strong。这样符合规则。对吗?再检查:有没有增删改内容?没有,所有文字都保留了。每个自然段落用p包裹,对的。重要句子用strong,对的。没有其他标签,因为不需要列表、引用、代码,这里也没有小节标题,所以不用h2/h3,因为原文没有可以划分的小节标题,自己加的话就是新增内容,不符合规则4。哦对,规则4