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

the same case different answer #3

Open
Jason8Kang opened this issue Jul 19, 2024 · 2 comments
Open

the same case different answer #3

Jason8Kang opened this issue Jul 19, 2024 · 2 comments

Comments

@Jason8Kang
Copy link

Jason8Kang commented Jul 19, 2024

Thanks for your great work.
I try to use the same case in the tabular math word problem. the picture name in the test is 28034.png. I set the temperature=0,
image

but we get different result.

image
@SpursGoZmy
Copy link
Owner

It seems like the input text has some difference with the original input text, which may influence the output. Can you give another try with the following input text:

{
"prompt": """Based on this table about 'Children's weights (lbs)', solve the following problem. In the end, output your final answer using the JSON format: {"answer": "<YOUR ANSWER>"}.
As part of a statistics project, a math class weighed all the children who were willing to participate. How many children weighed exactly 31 pounds? (Unit: children)"""
}

When we manually draw the ppt for the case study in the paper, some special tokens like spaces and '\n' in the input text were omitted to save spaces. Thus the rendered input text is slightly different from the original ones. You can access the whole test samples MMTab-eval_test_data_49K_llava_jsonl_format.jsonl from the HuggingFace.

But I think your discovering confirms an interesting and important defect of MLLMs, i.e., sometimes it was vulnerable to the adversarial attack of the tiny disturbance in the input text or image.

@Jason8Kang
Copy link
Author

Jason8Kang commented Jul 20, 2024

ok, I try it again with your prompt.
image
you have released your inference code, I try to check the consistency with it.

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