aai-institute / pyDVL

pyDVL is a library of stable implementations of algorithms for data valuation and influence function computation
https://pydvl.org
GNU Lesser General Public License v3.0
99 stars 8 forks source link

Increase flexibility of influence computation (block aproximation, Gauss-Newton approximation) #585

Closed schroedk closed 3 months ago

schroedk commented 4 months ago

For almost all of the current implementations, it is possible to apply them in a block approximative fashion. In addition, it is possible to not solve inverse Hessian problems, but a different kind of curvature approximation, as the Gauss-Newton matrix.

This issue is meant to implement a flexible backend, which makes it possible to:

The API for the existing implementations of InfluenceFunctionModel should not change doing this.

A first realization should be done with #499.

Proposed generic abstractions: