Skip to content

Loss function for one manipulating one coordinate of the prediction #48

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

Open
VergiliusShao opened this issue Jun 8, 2023 · 0 comments
Assignees

Comments

@VergiliusShao
Copy link
Collaborator

We want to find the set of pixels for changing the value of one pre-selected output coordinate. So if the prediction of an image is (0.2,0.3,0.4,0.5)
. We might want explanations that the prediction could be (200, 0.3,0.4,0.5). We can use a loss function
describing the similarity of the first score and the dissimilarity of the rest scores
and minimise it.
Let's say the prediction of some sample x is f(x)
and x_0 is the original input.
What we can do is minimise sim(f(x_0)_1,f(x_0+x)_1)+dis_sim(f(x_0)_2,f(x_0+x)_2)+,...,

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

When branches are created from issues, their pull requests are automatically linked.

2 participants