File size: 8,064 Bytes
c071c95
750ca91
c071c95
 
 
 
 
 
369920a
 
 
 
 
 
 
 
 
b1a3258
369920a
 
 
 
 
8997333
369920a
 
 
 
 
7e1c5a1
369920a
3b0efc4
369920a
 
 
 
 
 
 
 
 
 
 
 
e04707e
369920a
 
 
 
 
 
 
8997333
369920a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9639b1f
369920a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
---
title: Lineage Explorer
emoji: 📉
colorFrom: blue
colorTo: green
sdk: docker
pinned: false
---

# AI Lineage Explorer: A Step Towards AI Integrity.

We're [EQTY Lab](https://eqtylab.io), a team passionate about building trust in open source AI. 

Our years being in the mix of AI's evolving landscape led us to focus on a crucial element: the lineage of AI models. Things move fast when you’re developing AI. You experiment. You collaborate with many people. Keeping track of all the moving parts is tough.

But we need to get it right. There is a vital role for transparent and safe open research in democratizing AI technology — and allowing it to stay open. 

# Today we are introducing on Hugging Face Spaces an early version of our first product: The AI Lineage Explorer.

The tool is a practical solution designed to enhance transparency throughout the AI engineering process without getting in your way. It’s free and easily launches right from your model page on Hugging Face. 

We worked with our [favorite designers](https://www.gladeye.com/) to make this happen and brought to the table some really cool new cryptographic methods to make this a reliable tool that we hope anyone will want to use.

We built the [AI Lineage Explorer](https://huggingface.co/spaces/EQTYLab/lineage-explorer) with two simple goals in mind:

1. Create a tamper-proof manifest that tags along when you ship to bolster trust in your creation.

2. Transform boring attestations into an immersive blueprint that provides a real-time visual of your model’s entire lifecycle —now just one click away on Hugging Face. 

![A screenshot of the AI Lineage Explorer](./screenshot.png)

# With the AI Lineage Explorer, you’re able to:

- Inspect your model’s data sources
- Examine its developmental journey
- Determine its governance layers —both machine and human
- Understand its applications or applied performance, such as benchmark results
- Track distributed assets
- And much more…

The backbone of the AI Lineage Explorer is what we call an Integrity Graph, a concept rooted in cryptographic attestations based on digital signatures and verifiable computing. This approach draws inspiration from our collaborations with organizations like [Content Authenticity Initiative](https://contentauthenticity.org/), and [Creative Commons](https://creativecommons.org/).

It's not just another theoretical framework for Responsible AI; it's a practical foundation for bolstering the accountability of models. From there, you can do all sorts of awesome things, like design compliance, trigger automated reviews, and even pay people their fair share. There’s lots more to come. 

# But first, we prioritized user experience. 

We focused on creating a simple manifest format and an interface that aligns with typical ML engineering workflows to minimize workflow disruptions. A simple line of code is all you should need to kick off a smart tool that quietly works in the background.

**We will soon release an open source SDK** that will allow anyone to create their own Integrity Manifest and load them into our tools to visualize the model lineage.

Hang tight. We’re working hard to get this to you pronto. But we couldn’t wait to share the Explorer with some real implementations.

Curious to see how it works? Select one of the following models in the [AI Lineage Explorer](https://huggingface.co/spaces/EQTYLab/lineage-explorer), which we hand-held in the creation of using our early/private versions of the SDK:

- [ClimateGPT-70B](https://huggingface.co/eci-io/climategpt-70b)
- [ClimateGPT-13B](https://huggingface.co/eci-io/climategpt-13b)
- [ClimateGPT-7B](https://huggingface.co/eci-io/climategpt-7b)
- [ClimateGPT-7B-FSC](https://huggingface.co/eci-io/climategpt-7b-fsc)
- [ClimateGPT-7B-FSG](https://huggingface.co/eci-io/climategpt-7b-fsg)

Interested in staying updated on the SDK release? [Sign up here](https://mailchi.mp/308e027a9d85/huggingface-ai-sdk-signup).

If you're looking to collaborate or have questions, feel free to reach out to [[email protected]](mailto:[email protected]).

And feel free to read on below if you’d like to go beyond the TL;DR.

# A bit more on our approach.

While we’ve been at work on different versions of this tool for over a year, we’ve been inspired by a couple of projects along the way, such as [Stanford Ecosystem Graphs](https://crfm.stanford.edu/ecosystem-graphs/), [Weights and Biases Artifact Lineage](https://wandb.ai/site/artifacts), and [Content Credentials](https://contentcredentials.org) and [Verify](https://contentcredentials.org/verify) by the [C2PA](https://c2pa.org).

The problem is that AI consists of really complex engineering processes. You must handle large amounts of data, compute at scale, and manage challenging governance.

That’s just the beginning. The reality is that most models are not just one model, but an ensemble of models and tasks. Take Stable Diffusion 2’s typical architecture. It consists of at least four core models (an image encoder like VAE, a CLIP text encoder, the U-Net denoising model, and an image decoder) that each have their own intensive training history with multiple data sets —not including Stable Diffusion’s own training data. The cool thing is that a bunch of people figured out how to make this model work, but there are lingering uncertainties about the model’s actual provenance.

So it’s going to take time and a determined community (like the one we have here) to figure it out. 

*So how?*

Our design philosophy revolves around meeting people where they are and keeping things very practical without disrupting how engineers create AI.

We’re working to integrate into each step of ML workflows a bunch of new tools. But we don’t want you to focus on them. Just build AI. The steps should fall into place:

1. **Registration & Documentation**: Capture critical statements about data, model, compute, governance, and transformations. 

2. **Integrity & Trust**: Digitally sign each statement to cryptographically establish attributability and tamper-resistance of all inputs, compute, and outputs. 

3. **Verifiability**: Use graph data structures to establish chains of lineage for added transparency. 

4. **Federated Collaborations**: Registration statements can be produced by many parties, and composed together to describe collaborative processes. These statements can also optionally be anchored on public ledgers, fostering a decentralized approach to AI advancements and added dimensions for transparency and trust.

5. **Composability & Integration**: Uploads a self-contained integrity graph as a single data model to repositories like Hugging Face, enabling easy visualization and verification.

Afterward, show your work and easily bring in others to help make your models even better.

The bottom line —this isn’t an empty promise. While developing AI Lineage Explorer, we've seen ourselves become even more committed to the broader movement towards Responsible AI. Here’s a sketch of our emerging convictions:

1. **Clarity in AI Creation**: By labeling AI-generated content and providing metadata for authentic content, we’re fostering an environment where origin and authenticity are clear BUT always up to the user on how to control.
 
2. **Ethical Foundation in Training Data**: Steering clear of problematic data, our tool encourages transparency and ethical practices in AI training. 

3. **Streamlining Verification**: In line with emerging standards, our tool simplifies the process of verifying credentials, which is especially crucial as more people abuse AI tooling. 

4. **Empowering Content Creators**: By automating digital signatures, we make it easier for creators to claim and protect their work without having to go to a centralized registry. 

5. **Opening Up AI Access**: We believe in democratizing AI, not centralizing it. Our tool is a step towards a future where AI is accessible, secure, and utilized for the greater good.

It’s just the beginning. Stay tuned.