🚀 The feature, motivation and pitch
We propose to add TOPLOC algorithm in order to reduce artifact size. The goal is to study the applicability of TopLoC: will using this algorithm improve validation reliability without increasing storage costs? This involves finding the optimal approach and testing on synthetic and real data.
TOPLOC Overview
TOPLOC is a novel verification method designed to ensure that AI inference providers are using the specific models and prompts they claim without unauthorized changes. By utilizing a locality-sensitive hashing scheme, the system tracks the most significant intermediate activations to detect modifications in model weights, prompts, or numerical precision. A key innovation is the use of polynomial encoding, reducing necessary storage size. This approach remains robust against hardware non-determinism and GPU-specific variations that typically cause minor numerical discrepancies. Empirical testing confirms the method achieves 100% accuracy in identifying tampering while maintaining validation speeds faster than the original inference.
We plan to implement TOPLOC algorithm without affecting other functionality and without influencing the performance of the platform core. During the development process, we plan to adapt the approach from the article described above to the inference of visual language models and integrate the necessary tools into the inference engine.
More details and links to our code with TopLoc will be added later in the discussion
Alternatives
No response
Additional context
No response
Before submitting a new issue...
🚀 The feature, motivation and pitch
We propose to add TOPLOC algorithm in order to reduce artifact size. The goal is to study the applicability of TopLoC: will using this algorithm improve validation reliability without increasing storage costs? This involves finding the optimal approach and testing on synthetic and real data.
TOPLOC Overview
TOPLOC is a novel verification method designed to ensure that AI inference providers are using the specific models and prompts they claim without unauthorized changes. By utilizing a locality-sensitive hashing scheme, the system tracks the most significant intermediate activations to detect modifications in model weights, prompts, or numerical precision. A key innovation is the use of polynomial encoding, reducing necessary storage size. This approach remains robust against hardware non-determinism and GPU-specific variations that typically cause minor numerical discrepancies. Empirical testing confirms the method achieves 100% accuracy in identifying tampering while maintaining validation speeds faster than the original inference.
We plan to implement TOPLOC algorithm without affecting other functionality and without influencing the performance of the platform core. During the development process, we plan to adapt the approach from the article described above to the inference of visual language models and integrate the necessary tools into the inference engine.
More details and links to our code with TopLoc will be added later in the discussion
Alternatives
No response
Additional context
No response
Before submitting a new issue...