Update README.md
Browse files
README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
---
|
| 2 |
language:
|
| 3 |
- en
|
| 4 |
-
license:
|
| 5 |
pretty_name: GCI-Bench (Glint Clarity Index Bench)
|
| 6 |
task_categories:
|
| 7 |
- text-generation
|
|
@@ -13,21 +13,17 @@ tags:
|
|
| 13 |
- attention
|
| 14 |
---
|
| 15 |
|
| 16 |
-
#
|
| 17 |
## Gradient × Attention Context Importance Benchmark
|
| 18 |
|
| 19 |
-
|
| 20 |
|
| 21 |
-
Unlike standard NLP benchmarks,
|
| 22 |
|
| 23 |
The goal is to evaluate *how* a model distributes importance across context—not whether it produces the right output.
|
| 24 |
|
| 25 |
---
|
| 26 |
|
| 27 |
-
|
| 28 |
-
### Note
|
| 29 |
-
> Enderchef, the creator of this dataset, has left the org. Permission to this benchmark is given with this credit line: https://huggingface.co/Enderchef
|
| 30 |
-
|
| 31 |
## Scoring
|
| 32 |
|
| 33 |
Each item produces two independent metrics:
|
|
@@ -36,7 +32,7 @@ Each item produces two independent metrics:
|
|
| 36 |
|-------|--------|-----------------|
|
| 37 |
| **Priority Score** | 0–100 (50 = neutral) | Whether the model assigns more gradient-weighted attention to relevant segments than to distractors |
|
| 38 |
| **Linkage Score** | 0–100 (50 = neutral) | Whether the model strengthens attention between causally linked sentence pairs compared to related→distractor pairs |
|
| 39 |
-
| **
|
| 40 |
|
| 41 |
Both metrics are **self-normalized**. Each item contains a balanced 50/50 split of related and unrelated segments, and scores are averaged per token. A model with no systematic preference will converge to ~50 by construction.
|
| 42 |
|
|
@@ -50,7 +46,7 @@ Scores above 50 indicate structured prioritization. Scores below 50 indicate inv
|
|
| 50 |
|
| 51 |
| Field | Type | Description |
|
| 52 |
|--------|------|-------------|
|
| 53 |
-
| `id` | string | Unique ID (`
|
| 54 |
| `topic` | string | Topic category ID (e.g., `cooking`, `astronomy`) |
|
| 55 |
| `topicLabel` | string | Human-readable topic |
|
| 56 |
| `templateId` | string | Causal template (`A`–`F`) |
|
|
@@ -100,7 +96,7 @@ The harness:
|
|
| 100 |
3. Backpropagates gradients through attention matrices
|
| 101 |
4. Computes attention × gradient attribution
|
| 102 |
5. Aggregates token-level values into segment-level scores
|
| 103 |
-
6. Produces Priority, Linkage, and final
|
| 104 |
|
| 105 |
Example usage:
|
| 106 |
|
|
@@ -118,4 +114,4 @@ Some architectures may require minor adjustments to expose attention tensors cor
|
|
| 118 |
|
| 119 |
## License
|
| 120 |
|
| 121 |
-
|
|
|
|
| 1 |
---
|
| 2 |
language:
|
| 3 |
- en
|
| 4 |
+
license: apache-2.0
|
| 5 |
pretty_name: GCI-Bench (Glint Clarity Index Bench)
|
| 6 |
task_categories:
|
| 7 |
- text-generation
|
|
|
|
| 13 |
- attention
|
| 14 |
---
|
| 15 |
|
| 16 |
+
# ACI: Attention Clarity Index Benchmark
|
| 17 |
## Gradient × Attention Context Importance Benchmark
|
| 18 |
|
| 19 |
+
ACI-Bench is a **5,000-item diagnostic benchmark** designed to measure whether a small language model (1M–150M parameters) uses its **attention × gradient interactions** to prioritize relevant context over distractors.
|
| 20 |
|
| 21 |
+
Unlike standard NLP benchmarks, ACI-Bench does **not evaluate answer correctness**. Instead, it analyzes the model’s internal dynamics while it processes the prompt. Specifically, it measures how strongly gradients flow through attention connections tied to causally relevant parts of the input. No reference answer is required for scoring.
|
| 22 |
|
| 23 |
The goal is to evaluate *how* a model distributes importance across context—not whether it produces the right output.
|
| 24 |
|
| 25 |
---
|
| 26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
## Scoring
|
| 28 |
|
| 29 |
Each item produces two independent metrics:
|
|
|
|
| 32 |
|-------|--------|-----------------|
|
| 33 |
| **Priority Score** | 0–100 (50 = neutral) | Whether the model assigns more gradient-weighted attention to relevant segments than to distractors |
|
| 34 |
| **Linkage Score** | 0–100 (50 = neutral) | Whether the model strengthens attention between causally linked sentence pairs compared to related→distractor pairs |
|
| 35 |
+
| **ACI Score** | 0–100 | Mean of Priority and Linkage |
|
| 36 |
|
| 37 |
Both metrics are **self-normalized**. Each item contains a balanced 50/50 split of related and unrelated segments, and scores are averaged per token. A model with no systematic preference will converge to ~50 by construction.
|
| 38 |
|
|
|
|
| 46 |
|
| 47 |
| Field | Type | Description |
|
| 48 |
|--------|------|-------------|
|
| 49 |
+
| `id` | string | Unique ID (`aci-00001`–`aci-05000`) |
|
| 50 |
| `topic` | string | Topic category ID (e.g., `cooking`, `astronomy`) |
|
| 51 |
| `topicLabel` | string | Human-readable topic |
|
| 52 |
| `templateId` | string | Causal template (`A`–`F`) |
|
|
|
|
| 96 |
3. Backpropagates gradients through attention matrices
|
| 97 |
4. Computes attention × gradient attribution
|
| 98 |
5. Aggregates token-level values into segment-level scores
|
| 99 |
+
6. Produces Priority, Linkage, and final ACI scores
|
| 100 |
|
| 101 |
Example usage:
|
| 102 |
|
|
|
|
| 114 |
|
| 115 |
## License
|
| 116 |
|
| 117 |
+
Apache 2.0 - see LICENSE
|