Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logic for merging checker #4

Open
Padarn opened this issue Jan 20, 2024 · 2 comments
Open

Logic for merging checker #4

Padarn opened this issue Jan 20, 2024 · 2 comments

Comments

@Padarn
Copy link

Padarn commented Jan 20, 2024

Hi there,

I see when you're merging in your CheckerBase you take 'Entailment' as a precedence?

https://github.com/amazon-science/RefChecker/blob/64e7c34b5fd4f6af7a5227473458619a3d92ad5b/refchecker/checker/checker_base.py#L6C1-L23C21

I see there is a TODO there, but I'd have thought maybe the default would be any contradition would indicate a problem.

Just curious on the thought process to make sure I understand your approach.

Thanks!

@rudongyu
Copy link
Contributor

Hi, @Padarn. Thanks for raising the question! That part is for merging checking results with different segments as references. Ideally, there should be no difference between selecting "Entailment" or "Contradiction" first, because we take a simplified assumption that the whole reference should be self-consistent. However, conflicts in reference do happen in real-world applications. It is an open research question for how to handle it. If you have any ideas, welcome to discuss in this thread.

As a temporary workaround, we might consider expose the option outside to let users choose precedence when conflicts happen. Thanks again!

@Padarn
Copy link
Author

Padarn commented Jan 23, 2024

Hey @rudongyu thanks for your response.

I have two rough thoughts on this:

  1. What about providing a more nuanced score of 'agreement' rather than a binary classification? Probably having the LLM classify and then scoring in during aggregation would be better (to avoid calibration problems with the LLM score)

  2. Perhaps just providing an 'Inconsistent' class when it is mixed would be easier to understand?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants