docs: display final EMNLP poster and restore original dataset introduction
Browse files- .gitattributes +1 -0
- README.md +63 -134
- assets/EMNLP 2026_Find-1836.pdf +3 -0
- assets/{ocean-perfume.png → EMNLP 2026_Find-1836.png} +2 -2
- assets/README.md +0 -7
.gitattributes
CHANGED
|
@@ -58,3 +58,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 58 |
# Video files - compressed
|
| 59 |
*.mp4 filter=lfs diff=lfs merge=lfs -text
|
| 60 |
*.webm filter=lfs diff=lfs merge=lfs -text
|
| 61 |
+
assets/EMNLP[[:space:]]2026_Find-1836.pdf filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -1,171 +1,98 @@
|
|
| 1 |
---
|
| 2 |
license: cc-by-nc-4.0
|
| 3 |
language:
|
| 4 |
-
|
| 5 |
tags:
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
pretty_name: MotifBench — Literary Motif Recovery
|
| 12 |
size_categories:
|
| 13 |
-
|
| 14 |
configs:
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
path: macbeth/macbeth.jsonl
|
| 19 |
-
default: true
|
| 20 |
---
|
| 21 |
|
| 22 |
# MotifBench
|
| 23 |
|
| 24 |
-
|
| 25 |
|
| 26 |
-
|
| 27 |
|
| 28 |
-
|
|
|
|
| 29 |
|
| 30 |
-
|
|
|
|
| 31 |
|
| 32 |
-
|
| 33 |
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
| Water cannot wash it away. | Perfume cannot cover it up. |
|
| 38 |
|
| 39 |
-
|
|
|
|
|
|
|
| 40 |
|
| 41 |
-
|
|
|
|
| 42 |
|
| 43 |
-
|
|
|
|
|
|
|
| 44 |
|
| 45 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 46 |
|
| 47 |
-
|
|
|
|
| 48 |
|
| 49 |
-
|
| 50 |
-
| --- | --- | --- |
|
| 51 |
-
| A query line and a candidate motif inventory, with the context allowed by the evaluation setting | A ranked list of motifs | Recorded line–motif associations |
|
| 52 |
|
| 53 |
-
|
|
|
|
|
|
|
|
|
|
| 54 |
|
| 55 |
-
|
| 56 |
|
| 57 |
-
|
|
|
|
|
|
|
| 58 |
|
| 59 |
-
|
| 60 |
|
| 61 |
```python
|
| 62 |
-
import
|
| 63 |
-
|
| 64 |
from huggingface_hub import hf_hub_download
|
| 65 |
|
| 66 |
-
path
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
repo_type="dataset",
|
| 70 |
-
)
|
| 71 |
-
with open(path, encoding="utf-8") as stream:
|
| 72 |
-
rows: list[dict[str, str | None]] = [json.loads(line) for line in stream]
|
| 73 |
-
|
| 74 |
-
line_rows: list[dict[str, str | None]] = [
|
| 75 |
-
row for row in rows if row["node_type"] == "line"
|
| 76 |
-
]
|
| 77 |
-
print(f"{len(rows)} associations; {len(line_rows)} line associations")
|
| 78 |
-
print(line_rows[0])
|
| 79 |
```
|
| 80 |
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
## What is in this repository?
|
| 84 |
-
|
| 85 |
-
This Hub snapshot is a **flattened association export**. It contains the following files:
|
| 86 |
-
|
| 87 |
-
| File | Contents |
|
| 88 |
-
| --- | --- |
|
| 89 |
-
| [macbeth/macbeth.jsonl](macbeth/macbeth.jsonl) | Narrative-node–motif associations, with text for line nodes |
|
| 90 |
-
| [macbeth/criticism_sources.csv](macbeth/criticism_sources.csv) | Source bibliography, publication information, access links and public-domain status as recorded in the release |
|
| 91 |
-
| [LICENSE](LICENSE) | CC BY-NC 4.0 license |
|
| 92 |
-
|
| 93 |
-
Counts below were computed directly from the data at revision `fa060c5ad43ea3fdccb7cb6ad02a7bc85fa20c70`. The September 2026 card update leaves those data files unchanged.
|
| 94 |
-
|
| 95 |
-
| `node_type` | Association rows | Distinct source nodes |
|
| 96 |
-
| --- | ---: | ---: |
|
| 97 |
-
| `line` | 585 | 314 |
|
| 98 |
-
| `scene` | 44 | 14 |
|
| 99 |
-
| `stage_direction` | 7 | 5 |
|
| 100 |
-
| `theme` | 9 | 9 |
|
| 101 |
-
| **Total** | **645** | **342** |
|
| 102 |
|
| 103 |
-
|
|
|
|
|
|
|
|
|
|
| 104 |
|
| 105 |
-
|
|
|
|
|
|
|
| 106 |
|
| 107 |
-
|
| 108 |
-
|
| 109 |
-
| Field | Meaning |
|
| 110 |
-
| --- | --- |
|
| 111 |
-
| `node_type` | Source node type: `line`, `scene`, `stage_direction` or `theme` |
|
| 112 |
-
| `node_id` | Source node identifier. Line IDs use Folger Through-Line Numbers, such as `ftln-1616`. |
|
| 113 |
-
| `act_id`, `scene_id`, `section_id` | Available structural identifiers. A section denotes a speaking turn. Non-line rows have null values in these columns. |
|
| 114 |
-
| `speaker` | Speaker identifier, where available |
|
| 115 |
-
| `text` | Folger line text; null for non-line rows |
|
| 116 |
-
| `motif_id` | Target motif identifier; an export ID, not a ranked position |
|
| 117 |
-
| `motif_descriptor` | Text description associated with that motif in this export |
|
| 118 |
-
|
| 119 |
-
### An actual row
|
| 120 |
-
|
| 121 |
-
This record associates a line describing Banquo’s ghost with a motif descriptor. Macbeth is the **speaker**; Banquo is the person described.
|
| 122 |
-
|
| 123 |
-
```json
|
| 124 |
-
{
|
| 125 |
-
"node_type": "line",
|
| 126 |
-
"node_id": "ftln-1616",
|
| 127 |
-
"act_id": "act_4",
|
| 128 |
-
"scene_id": "act_4_scene_1",
|
| 129 |
-
"section_id": "sp-1605",
|
| 130 |
-
"speaker": "Macbeth_Mac",
|
| 131 |
-
"text": "For the blood-boltered Banquo smiles upon me",
|
| 132 |
-
"motif_id": "motif_74",
|
| 133 |
-
"motif_descriptor": "the ghost’s appearance described as ‘blood���baltered’ (4.1.138)"
|
| 134 |
-
}
|
| 135 |
-
```
|
| 136 |
|
| 137 |
-
|
| 138 |
-
|
| 139 |
-
## Using the data for evaluation
|
| 140 |
-
|
| 141 |
-
**This export is not a complete reproduction package for the EMNLP evaluation.** The paper’s frozen evaluation uses a 281-motif inventory and 351 membership annotations over 283 query lines. The Hub file above has a different population and does not preserve the relation types needed to isolate that membership set.
|
| 142 |
-
|
| 143 |
-
The file also does not include the full narrative graph, evaluation fold assignments, per-association source citations, or a separate complete motif inventory. `criticism_sources.csv` is a bibliography, not a row-level provenance table. The Hub’s `train` split name is a loading convention for the single file; it does not define the paper’s training partition.
|
| 144 |
-
|
| 145 |
-
For exploratory work with this export:
|
| 146 |
-
|
| 147 |
-
- Filter to `node_type == "line"` for line-level analyses, and group associations by `node_id` before defining queries.
|
| 148 |
-
- Keep all associations for the same query line together when constructing a split.
|
| 149 |
-
- Record the data revision, candidate inventory, split, available context and scoring rule. Results under a new protocol should be identified as such.
|
| 150 |
-
- Interpret unrecorded associations as unobserved, rather than automatically false.
|
| 151 |
-
|
| 152 |
-
The released text covers the associated lines, not the complete play. Consult the [Folger edition](https://www.folger.edu/explore/shakespeares-works/macbeth/read/) when full narrative context is needed.
|
| 153 |
-
|
| 154 |
-
## Text, sources and license
|
| 155 |
-
|
| 156 |
-
The dataset is licensed **CC BY-NC 4.0**; see [LICENSE](LICENSE).
|
| 157 |
-
|
| 158 |
-
Line text comes from the Folger Shakespeare Library’s digital edition of *Macbeth*, edited by Barbara A. Mowat and Paul Werstine, with encoding by Michael Poston and Rebecca Niles. The source edition is licensed **CC BY-NC 3.0**. Preserve this attribution when reusing the text.
|
| 159 |
-
|
| 160 |
-
The repository supplies bibliographic metadata and available access links for the criticism sources. It does not host their full texts or PDFs. The `public_domain` column records the release’s source classification; one entry is `unclear`.
|
| 161 |
-
|
| 162 |
-
The opening illustration is reused from the authors’ EMNLP poster. It is explanatory artwork, not experimental evidence; see [asset provenance](assets/README.md).
|
| 163 |
-
|
| 164 |
-
## Paper and citation
|
| 165 |
-
|
| 166 |
-
**Critic’s Eye: Review-Grounded Graph Reasoning for Long-Form Motif Discovery**
|
| 167 |
-
Xinyu Sun · Zhangyue Yin · Xin Wang · Fudan University
|
| 168 |
-
Accepted to Findings of EMNLP 2026 · Paper 1836-FIND
|
| 169 |
|
| 170 |
```bibtex
|
| 171 |
@inproceedings{sun2026criticseye,
|
|
@@ -176,4 +103,6 @@ Accepted to Findings of EMNLP 2026 · Paper 1836-FIND
|
|
| 176 |
}
|
| 177 |
```
|
| 178 |
|
| 179 |
-
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: cc-by-nc-4.0
|
| 3 |
language:
|
| 4 |
+
- en
|
| 5 |
tags:
|
| 6 |
+
- long-context
|
| 7 |
+
- llm-evaluation
|
| 8 |
+
- graph-neural-networks
|
| 9 |
+
- reasoning
|
| 10 |
+
pretty_name: MotifBench
|
|
|
|
| 11 |
size_categories:
|
| 12 |
+
- 1K<n<10K
|
| 13 |
configs:
|
| 14 |
+
- config_name: macbeth
|
| 15 |
+
data_files: macbeth/macbeth.jsonl
|
| 16 |
+
default: true
|
|
|
|
|
|
|
| 17 |
---
|
| 18 |
|
| 19 |
# MotifBench
|
| 20 |
|
| 21 |
+
[](https://huggingface.co/datasets/Acture/MotifBench/resolve/main/assets/EMNLP%202026_Find-1836.pdf)
|
| 22 |
|
| 23 |
+
[Open the full-resolution poster (PDF)](https://huggingface.co/datasets/Acture/MotifBench/resolve/main/assets/EMNLP%202026_Find-1836.pdf)
|
| 24 |
|
| 25 |
+
**A benchmark for whether models can assemble meaning that no single passage
|
| 26 |
+
states — not just retrieve it.**
|
| 27 |
|
| 28 |
+
[](https://github.com/Acture/critics-eye)
|
| 29 |
+
[](LICENSE)
|
| 30 |
|
| 31 |
+
## Why this benchmark
|
| 32 |
|
| 33 |
+
Long-context benchmarks test **locating**: the answer sits somewhere in the
|
| 34 |
+
input, and the task is to find it. Needle-in-a-haystack, multi-hop QA,
|
| 35 |
+
book-length summarization — in all of them, retrieval eventually wins.
|
|
|
|
| 36 |
|
| 37 |
+
MotifBench tests something retrieval cannot do. A **motif** is a recurring
|
| 38 |
+
salient thematic element a work returns to — blood in *Macbeth*, surfacing
|
| 39 |
+
in lines that share no vocabulary:
|
| 40 |
|
| 41 |
+
> "the multitudinous seas incarnadine" (2.2) · "Out, damned spot!" (5.1) ·
|
| 42 |
+
> "all the perfumes of Arabia" (5.1)
|
| 43 |
|
| 44 |
+
None of these lines contains the word *blood*. No line states the motif —
|
| 45 |
+
it exists only across them. Recovering it means noticing that scattered,
|
| 46 |
+
dissimilar passages belong together: **assembly, not search**.
|
| 47 |
|
| 48 |
+
The labels are not ours to invent. An interpretive target has no annotator
|
| 49 |
+
we could trust more than the alternative, so MotifBench draws its ground
|
| 50 |
+
truth from published literary criticism (1765–2020) — critics who named
|
| 51 |
+
these motifs, in print, long before any benchmark existed. A language model
|
| 52 |
+
is used only to *locate* where a critic asserts a link and resolve the
|
| 53 |
+
citation; nothing enters the benchmark on the model's word.
|
| 54 |
|
| 55 |
+
Paper: *Critic's Eye: Review-Grounded Graph Reasoning for Long-Form Motif
|
| 56 |
+
Discovery* (EMNLP 2026). Code: <https://github.com/Acture/critics-eye>.
|
| 57 |
|
| 58 |
+
## Dataset structure (`macbeth/`)
|
|
|
|
|
|
|
| 59 |
|
| 60 |
+
| file | contents |
|
| 61 |
+
|---|---|
|
| 62 |
+
| `macbeth.jsonl` | One row per (narrative node, motif) association: `node_type`, `node_id`, `act_id`, `scene_id`, `section_id`, `speaker`, `text`, `motif_id`, `motif_descriptor`. `node_type` is `line`, `scene`, or `stage_direction`; `node_id` for a line is the Folger Through-Line-Number (FTLN), e.g. `ftln-0001`. `text` holds the Folger line text for `line` rows and is `null` for `scene`/`stage_direction` rows. |
|
| 63 |
+
| `criticism_sources.csv` | The 26 criticism works this benchmark draws on: author, year, title, venue, public-domain status, access URL/DOI. |
|
| 64 |
|
| 65 |
+
### Example row
|
| 66 |
|
| 67 |
+
```json
|
| 68 |
+
{"node_type": "line", "node_id": "ftln-0004", "act_id": "act_1", "scene_id": "act_1_scene_1", "section_id": "sp-0003", "speaker": "WITCHES.2_Mac", "text": "When the battle’s lost and won.", "motif_id": "motif_23", "motif_descriptor": "lady macbeth's line \"wouldst not play false, / and yet wouldst wrongly win\""}
|
| 69 |
+
```
|
| 70 |
|
| 71 |
+
## Usage
|
| 72 |
|
| 73 |
```python
|
| 74 |
+
import pandas as pd
|
|
|
|
| 75 |
from huggingface_hub import hf_hub_download
|
| 76 |
|
| 77 |
+
path = hf_hub_download(repo_id="Acture/MotifBench", filename="macbeth/macbeth.jsonl", repo_type="dataset")
|
| 78 |
+
df = pd.read_json(path, lines=True)
|
| 79 |
+
print(df[["node_id", "text", "motif_id", "motif_descriptor"]].head())
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 80 |
```
|
| 81 |
|
| 82 |
+
## Text and copyright
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 83 |
|
| 84 |
+
`text` on `line` rows is from the Folger Shakespeare Library's digital
|
| 85 |
+
edition of *Macbeth* (Barbara A. Mowat and Paul Werstine, eds.; encoded by
|
| 86 |
+
Michael Poston and Rebecca Niles; <https://www.folgerdigitaltexts.org>),
|
| 87 |
+
licensed CC BY-NC 3.0.
|
| 88 |
|
| 89 |
+
Of the 26 criticism works, public-domain ones (pre-1922) are pointed to in
|
| 90 |
+
full (mostly via Project Gutenberg); copyrighted ones are referenced by
|
| 91 |
+
metadata only — see `criticism_sources.csv`.
|
| 92 |
|
| 93 |
+
## Citation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 94 |
|
| 95 |
+
Provisional BibTeX; the final ACL Anthology entry is pending.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 96 |
|
| 97 |
```bibtex
|
| 98 |
@inproceedings{sun2026criticseye,
|
|
|
|
| 103 |
}
|
| 104 |
```
|
| 105 |
|
| 106 |
+
## License
|
| 107 |
+
|
| 108 |
+
CC BY-NC 4.0 — see `LICENSE`.
|
assets/EMNLP 2026_Find-1836.pdf
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a6e011f0c2fe265177497bd5e2635bed43f6bc5c55f594eecbed5fde13cd67c6
|
| 3 |
+
size 16296493
|
assets/{ocean-perfume.png → EMNLP 2026_Find-1836.png}
RENAMED
|
File without changes
|
assets/README.md
DELETED
|
@@ -1,7 +0,0 @@
|
|
| 1 |
-
# Illustration provenance
|
| 2 |
-
|
| 3 |
-
`ocean-perfume.png` is an unchanged copy of the authors’ EMNLP poster asset `acl/poster/assets/motif_objects_transparent_v17.png` in the Critic’s Eye paper repository.
|
| 4 |
-
|
| 5 |
-
The artwork was generated with OpenAI image generation and subsequently edited with the same tool to remove its background. It depicts an ocean and a perfume bottle as an illustration of the Macbeth reading described in the dataset card. It is not a historical image, a source-document scan, a benchmark annotation, or a measured model response.
|
| 6 |
-
|
| 7 |
-
The original resolution is 1774 × 887 pixels, with an alpha channel. No new image generation or image editing was performed for this card update.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|