首页 > AI前沿 > Can LLMs Resolve Entity Conflicts in Domain Specific NLU Pipelines?

Can LLMs Resolve Entity Conflicts in Domain Specific NLU Pipelines?

arXiv机器学习 2026-11-19 16:45 6 阅读 查看原文
用户需要我扮演一个专业的新闻排版工程师,将一段纯文本新闻正文排版成语义化的HTML片段。 需要遵循以下规则: 1. 只输出HTML片段本身,不要Markdown围栏、不要解释。 2. 每个自然段落用`

`包裹,长文用`

`/`

`划分小节。 3. 列表内容用`
  • `,引用用`
    `,代码用`
    `,重要句子可用``。
    4. 保留原文所有信息,不得增删改内容。
    5. 不要输出``/``/``等文档级标签。
    
    分析正文内容:
    正文是一段关于NLU架构中实体冲突解决的研究摘要/新闻。
    内容如下:
    "Resolving entity conflicts is a critical step in Pipeline-based NLU architectures, especially when multiple extractors provide overlapping or conflicting outputs. Traditional rule-based entity conflict resolution methods often lack flexibility and are unscalable. In this work, we aim to study if the broad knowledge of LLMs can be leveraged to resolve entity conflicts in domain specific NLU pipelines. We present an experimental comparison between a traditional rule-based conflict resolution method, and two LLM-based approaches: a multi-shot prompting method using the Llama3.1-8B-Instruct model and a LoRA fine-tuned Llama3.1-8B-Instruct model. The evaluation was conducted under two setups: (1) a broad assessment of LLM's capability to match existing NLU pipeline output, and (2) a more controlled scenario assessing the LLM accuracy on human-labeled data. Results show that while multi-shot prompting offers ease of adaptation and rapid behavioral changes, the fine-tuned model delivers superior performance on complex, ambiguous cases. Ultimately, the best approach appears to be a combination of both strategies, leveraging multi-shot prompting's flexibility alongside the broad accuracy gains of LoRA fine-tuning for a more comprehensive performance."
    
    这段文本只有一个自然段落。为了符合“长文用`

    `/`

    `划分小节”的规则,虽然原文很短,但我可以给它加一个合适的标题(比如使用`

    `),或者将其划分为几个逻辑小节(比如背景、方法、评估、结论),但规则要求“不得增删改内容”。如果我加标题,算不算增改内容? 规则4说“保留原文所有信息,不得增删改内容”。增加小标题可能会被视为“增”内容。但规则2说“长文用`

    `/`

    `划分小节”。这篇文本不算长文,只有一段。所以我可以不用加`

    `/`

    `,或者只把这段文本用`

    `包裹。 不过,为了体现排版能力,我可以稍微划分一下,但严格来说,不增加文字是最安全的。 让我们仔细看:“每个自然段落用

    包裹,长文用

    /

    划分小节”。既然不是长文,就不强求用h2/h3,或者可以用h2作为文章标题?不,不增加文字内容是最稳妥的。 那就直接把这一段用`

    `包裹。里面有一些重要句子,可以用``包裹。 比如:“Resolving entity conflicts is a critical step...” 可以加粗重要部分,或者把“Results show that...”加粗。 原文: Resolving entity conflicts is a critical step in Pipeline-based NLU architectures, especially when multiple extractors provide overlapping or conflicting outputs. Traditional rule-based entity conflict resolution methods often lack flexibility and are unscalable. In this work, we aim to study if the broad knowledge of LLMs can be leveraged to resolve entity conflicts in domain specific NLU pipelines. We present an experimental comparison between a traditional rule-based conflict resolution method, and two LLM-based approaches: a multi-shot prompting method using the Llama3.1-8B-Instruct model and a LoRA fine-tuned Llama3.1-8B-Instruct model. The evaluation was conducted under two setups: (1) a broad assessment of LLM's capability to match existing NLU pipeline output, and (2) a more controlled scenario assessing the LLM accuracy on human-labeled data. Results show that while multi-shot prompting offers ease of adaptation and rapid behavioral changes, the fine-tuned model delivers superior performance on complex, ambiguous cases. Ultimately, the best approach appears to be a combination of both strategies, leveraging multi-shot prompting's flexibility alongside the broad accuracy gains of LoRA fine-tuning for a more comprehensive performance. 可以考虑加一些``:

    Resolving entity conflicts is a critical step in Pipeline-based NLU architectures, especially when multiple extractors provide overlapping or conflicting outputs. Traditional rule-based entity conflict resolution methods often lack flexibility and are unscalable. In this work, we aim to study if the broad knowledge of LLMs can be leveraged to resolve entity conflicts in domain specific NLU pipelines. We present an experimental comparison between a traditional rule-based conflict resolution method, and two LLM-based approaches: a multi-shot prompting method using the Llama3.1-8B-Instruct model and a LoRA fine-tuned Llama3.1-8B-Instruct model. The evaluation was conducted under two setups: (1) a broad assessment of LLM's capability to match existing NLU pipeline output, and (2) a more controlled scenario assessing the LLM accuracy on human-labeled data. Results show that while multi-shot prompting offers ease of adaptation and rapid behavioral changes, the fine-tuned model delivers superior performance on complex, ambiguous cases. Ultimately, the best approach appears to be a combination of both strategies, leveraging multi-shot prompting's flexibility alongside the broad accuracy gains of LoRA fine-tuning for a more comprehensive performance.

    这样完全保留了原文,没有增删改,使用了`

    `和``。没有列表、引用、代码,所以不需要那些标签。没有长文,所以不需要h2/h3(或者可以加个h2作为标题?但原文没标题,加了就是增内容,所以不加)。 检查规则: 1. 只输出HTML片段本身,不要Markdown围栏、不要解释。 -> 满足 2. 每个自然段落用

    包裹,长文用

    /

    划分小节。 -> 满足(只有一个自然段,用

    包裹) 3. 列表内容用

    • ,引用用
      ,代码用
      ,重要句子可用。 -> 满足(用了)
      4. 保留原文所有信息,不得增删改内容。 -> 满足
      5. 不要输出//等文档级标签。 -> 满足
      
      直接输出这个`

      `片段即可。 再检查一遍文本是否有遗漏或拼写错误。 原文:"Resolving entity conflicts is a critical step in Pipeline-based NLU architectures, especially when multiple extractors provide overlapping or conflicting outputs. Traditional rule-based entity conflict resolution methods often lack flexibility and are unscalable. In this work, we aim to study if the broad knowledge of LLMs can be leveraged to resolve entity conflicts in domain specific NLU pipelines. We present an experimental comparison between a traditional rule-based conflict resolution method, and two LLM-based approaches: a multi-shot prompting method using the Llama3.1-8B-Instruct model and a LoRA fine-tuned Llama3.1-8B-Instruct model. The evaluation was conducted under two setups: (1) a broad assessment of LLM's capability to match existing NLU pipeline output, and (2) a more controlled scenario assessing the LLM accuracy on human-labeled data. Results show that while multi-shot prompting offers ease of adaptation and rapid behavioral changes, the fine-tuned model delivers superior performance on complex, ambiguous cases. Ultimately, the best approach appears to be a combination of both strategies, leveraging multi-shot prompting's flexibility alongside the broad accuracy gains of LoRA fine-tuning for a more comprehensive performance." 我的HTML:

      Resolving entity conflicts is a critical step in Pipeline-based NLU architectures, especially when multiple extractors provide overlapping or conflicting outputs. Traditional rule-based entity conflict resolution methods often lack flexibility and are unscalable. In this work, we aim to study if the broad knowledge of LLMs can be leveraged to resolve entity conflicts in domain specific NLU pipelines. We present an experimental comparison between a traditional rule-based conflict resolution method, and two LLM-based approaches: a multi-shot prompting method using the L