docs: build illustrated research README from separate poster figures
Browse files- README.md +86 -62
- assets/README.md +17 -0
- assets/{EMNLP 2026_Find-1836.png → critic-evidence.png} +2 -2
- assets/learning-motif-links.png +3 -0
- assets/motif-example.png +3 -0
- assets/narrative-structure.png +3 -0
- assets/results.png +3 -0
README.md
CHANGED
|
@@ -1,98 +1,124 @@
|
|
| 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 |
-
-
|
| 13 |
configs:
|
| 14 |
-
- config_name: macbeth
|
| 15 |
-
|
| 16 |
-
|
| 17 |
---
|
| 18 |
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
-
|
| 22 |
|
| 23 |
-
|
| 24 |
|
| 25 |
-
|
| 26 |
-
states — not just retrieve it.**
|
| 27 |
|
| 28 |
-
|
| 29 |
-
[](LICENSE)
|
| 30 |
|
| 31 |
-
|
| 32 |
|
| 33 |
-
|
| 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 |
-
|
| 38 |
-
salient thematic element a work returns to — blood in *Macbeth*, surfacing
|
| 39 |
-
in lines that share no vocabulary:
|
| 40 |
|
| 41 |
-
|
| 42 |
-
> "all the perfumes of Arabia" (5.1)
|
| 43 |
|
| 44 |
-
|
| 45 |
-
it exists only across them. Recovering it means noticing that scattered,
|
| 46 |
-
dissimilar passages belong together: **assembly, not search**.
|
| 47 |
|
| 48 |
-
|
| 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 |
-
|
| 56 |
-
Discovery* (EMNLP 2026). Code: <https://github.com/Acture/critics-eye>.
|
| 57 |
|
| 58 |
-
|
| 59 |
|
| 60 |
-
|
| 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 |
-
|
| 66 |
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 70 |
|
| 71 |
-
##
|
|
|
|
|
|
|
| 72 |
|
| 73 |
```python
|
| 74 |
-
import
|
|
|
|
| 75 |
from huggingface_hub import hf_hub_download
|
| 76 |
|
| 77 |
-
path = hf_hub_download(
|
| 78 |
-
|
| 79 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 80 |
```
|
| 81 |
|
| 82 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 83 |
|
| 84 |
-
`text`
|
| 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 |
-
|
| 90 |
-
|
| 91 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 92 |
|
| 93 |
## Citation
|
| 94 |
|
| 95 |
-
Provisional BibTeX; the final ACL Anthology entry
|
| 96 |
|
| 97 |
```bibtex
|
| 98 |
@inproceedings{sun2026criticseye,
|
|
@@ -103,6 +129,4 @@ Provisional BibTeX; the final ACL Anthology entry is pending.
|
|
| 103 |
}
|
| 104 |
```
|
| 105 |
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
CC BY-NC 4.0 — see `LICENSE`.
|
|
|
|
| 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 |
+
- n<1K
|
| 13 |
configs:
|
| 14 |
+
- config_name: macbeth
|
| 15 |
+
data_files: macbeth/macbeth.jsonl
|
| 16 |
+
default: true
|
| 17 |
---
|
| 18 |
|
| 19 |
+
<h1 align="center">Critic’s Eye</h1>
|
| 20 |
+
<h3 align="center">Review-Grounded Graph Reasoning for Long-Form Motif Discovery</h3>
|
| 21 |
+
<p align="center">Xinyu Sun · Zhangyue Yin · Xin Wang<br/>Fudan University · EMNLP 2026</p>
|
| 22 |
+
<p align="center">
|
| 23 |
+
<a href="https://github.com/Acture/critics-eye">Code</a> ·
|
| 24 |
+
<a href="#use-motifbench">Dataset</a> ·
|
| 25 |
+
<a href="https://huggingface.co/datasets/Acture/MotifBench/resolve/main/assets/EMNLP%202026_Find-1836.pdf">Poster</a> ·
|
| 26 |
+
<a href="#citation">Citation</a>
|
| 27 |
+
</p>
|
| 28 |
|
| 29 |
+
## Can LLMs connect distant descriptions and make sense of them?
|
| 30 |
|
| 31 |
+
A **motif** is an element that recurs with variation across scenes. In *Macbeth*, an ocean and a perfume bottle evoke the same problem: guilt that cannot be erased. Recognizing the connection means bringing distant passages together despite their different imagery.
|
| 32 |
|
| 33 |
+
[](https://huggingface.co/datasets/Acture/MotifBench/resolve/main/assets/motif-example.png)
|
|
|
|
| 34 |
|
| 35 |
+
*An illustrative reading, not a scored model response.*
|
|
|
|
| 36 |
|
| 37 |
+
**MotifBench** turns this challenge into a task: given a line, rank a fixed inventory of motifs. **Critic’s Eye** learns from the play’s narrative structure to recover associations recorded in literary criticism.
|
| 38 |
|
| 39 |
+
## Let critics supply the connections
|
|
|
|
|
|
|
| 40 |
|
| 41 |
+
The paper draws on **26 published works of criticism**. Their cited passages yield **351 line–motif membership links** over **283 query lines**, with **281 candidate motifs**. For a query line, Hit@5 asks whether a motif identified by critics appears among the first five choices.
|
|
|
|
|
|
|
| 42 |
|
| 43 |
+
Here is one recorded connection: Susan Sachon’s discussion points to *Macbeth* 4.1.138, associated with **Blood-Stained Ghost**. Macbeth speaks the line; Banquo is the person it describes.
|
|
|
|
| 44 |
|
| 45 |
+
[](https://huggingface.co/datasets/Acture/MotifBench/resolve/main/assets/critic-evidence.png)
|
|
|
|
|
|
|
| 46 |
|
| 47 |
+
Critics record interpretations, not every possible reading. **Missing does not mean wrong.**
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 48 |
|
| 49 |
+
## Connect lines through the play’s structure
|
|
|
|
| 50 |
|
| 51 |
+
Lines belong to speaking turns, follow other lines, and are spoken by characters. These relations connect the text across the play. The diagram keeps the words and speakers visible so that the structure can be read directly.
|
| 52 |
|
| 53 |
+
[](https://huggingface.co/datasets/Acture/MotifBench/resolve/main/assets/narrative-structure.png)
|
|
|
|
|
|
|
|
|
|
| 54 |
|
| 55 |
+
Critic’s Eye first learns structural relations, then learns recorded line–motif links, and finally scores the candidate motifs for a query line.
|
| 56 |
|
| 57 |
+
[](https://huggingface.co/datasets/Acture/MotifBench/resolve/main/assets/learning-motif-links.png)
|
| 58 |
+
|
| 59 |
+
## What did we find?
|
| 60 |
+
|
| 61 |
+
**LLMs struggle to recover recorded motifs.** The best tested LLM configuration reaches **22.6% Hit@5**; adding three retrieved lines helps some models and hurts others. In a separate motif-supervised setting, the graph configurations show that narrative structure carries useful signal.
|
| 62 |
+
|
| 63 |
+
[](https://huggingface.co/datasets/Acture/MotifBench/resolve/main/assets/results.png)
|
| 64 |
+
|
| 65 |
+
The two panels use different training and scoring settings. The LLM evaluation supplies a target line and the motif inventory, optionally with three retrieved lines, and scores one recorded motif per query. The graph panel reports transductive, frozen-encoder configurations trained with critic labels and credits any recorded motif. These are separate experimental findings, not a matched comparison of adding a graph to an LLM.
|
| 66 |
|
| 67 |
+
## Use MotifBench
|
| 68 |
+
|
| 69 |
+
The `macbeth` configuration contains a flattened export of narrative-node–motif associations, with Folger line text and structural identifiers. Use an account with access while the repository is private.
|
| 70 |
|
| 71 |
```python
|
| 72 |
+
import json
|
| 73 |
+
|
| 74 |
from huggingface_hub import hf_hub_download
|
| 75 |
|
| 76 |
+
path: str = hf_hub_download(
|
| 77 |
+
repo_id="Acture/MotifBench",
|
| 78 |
+
filename="macbeth/macbeth.jsonl",
|
| 79 |
+
repo_type="dataset",
|
| 80 |
+
)
|
| 81 |
+
with open(path, encoding="utf-8") as stream:
|
| 82 |
+
rows: list[dict[str, str | None]] = [json.loads(line) for line in stream]
|
| 83 |
+
|
| 84 |
+
line_rows: list[dict[str, str | None]] = [
|
| 85 |
+
row for row in rows if row["node_type"] == "line"
|
| 86 |
+
]
|
| 87 |
+
print(line_rows[0])
|
| 88 |
```
|
| 89 |
|
| 90 |
+
Install `huggingface_hub` and authenticate with `hf auth login` if needed. Pin `revision` to a Hub commit when recording experiments.
|
| 91 |
+
|
| 92 |
+
<details>
|
| 93 |
+
<summary><b>Files, fields and data version</b></summary>
|
| 94 |
+
|
| 95 |
+
| File | Contents |
|
| 96 |
+
| --- | --- |
|
| 97 |
+
| [macbeth/macbeth.jsonl](macbeth/macbeth.jsonl) | 645 associations: 585 line, 44 scene, 7 stage-direction and 9 theme rows |
|
| 98 |
+
| [macbeth/criticism_sources.csv](macbeth/criticism_sources.csv) | Bibliographic metadata and available access links for 26 criticism sources |
|
| 99 |
|
| 100 |
+
The JSONL contains 314 distinct line nodes and 277 distinct target motif IDs. Its fields are `node_type`, `node_id`, `act_id`, `scene_id`, `section_id`, `speaker`, `text`, `motif_id` and `motif_descriptor`. All values are strings or null. Line identifiers use Folger Through-Line Numbers, such as `ftln-1616`; non-line rows have null text and structural-context fields.
|
|
|
|
|
|
|
|
|
|
| 101 |
|
| 102 |
+
The data files are unchanged from revision `fa060c5ad43ea3fdccb7cb6ad02a7bc85fa20c70`. Their population differs from the frozen paper evaluation described above. This flattened export does not include relation types, the complete candidate inventory, narrative graph, evaluation folds or per-association source citations. It should not be treated as the complete reproduction package for the reported scores.
|
| 103 |
+
|
| 104 |
+
Multiple associations can share a query line. Group by `node_id` before defining queries, and keep a line’s associations together when constructing a split. The single Hub `train` split is a loading convention, not the paper’s training partition.
|
| 105 |
+
|
| 106 |
+
</details>
|
| 107 |
+
|
| 108 |
+
<details>
|
| 109 |
+
<summary><b>Text, illustration sources and license</b></summary>
|
| 110 |
+
|
| 111 |
+
The dataset is released under [CC BY-NC 4.0](LICENSE). 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, licensed CC BY-NC 3.0. See the [Folger edition](https://www.folger.edu/explore/shakespeares-works/macbeth/read/).
|
| 112 |
+
|
| 113 |
+
The source bibliography provides metadata and available access links. Full criticism texts and PDFs are not part of the data export. The criticism figure reproduces the attributed excerpt already shown in the conference poster.
|
| 114 |
+
|
| 115 |
+
Figures on this page are individually rendered from the authors’ final poster: the explanatory illustrations, source example, narrative diagram, learning stages and results retain their original roles. Illustrative passages and ranking placeholders are not model predictions. See [figure provenance](assets/README.md).
|
| 116 |
+
|
| 117 |
+
</details>
|
| 118 |
|
| 119 |
## Citation
|
| 120 |
|
| 121 |
+
Provisional BibTeX; replace with the final ACL Anthology entry when available.
|
| 122 |
|
| 123 |
```bibtex
|
| 124 |
@inproceedings{sun2026criticseye,
|
|
|
|
| 129 |
}
|
| 130 |
```
|
| 131 |
|
| 132 |
+
Contact: [sunxy23@m.fudan.edu.cn](mailto:sunxy23@m.fudan.edu.cn).
|
|
|
|
|
|
assets/README.md
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Figure provenance
|
| 2 |
+
|
| 3 |
+
These panels are rendered individually from the final V22 HTML poster in the authors’ [paper repository](https://github.com/Acture/Critic-s-Eye-Paper/tree/d2250009573ba563c43a7170f423746537ef59eb/acl/poster), using the existing fonts, illustrations, diagrams and charts. The README assembles the separate panels in reading order; it does not embed the full poster as its main content.
|
| 4 |
+
|
| 5 |
+
| File | Poster elements |
|
| 6 |
+
| --- | --- |
|
| 7 |
+
| `motif-example.png` | `.story-gallery`: ocean/perfume example and reasoning hurdles |
|
| 8 |
+
| `critic-evidence.png` | `.record-gallery`: attributed Sachon source example, reflowed horizontally |
|
| 9 |
+
| `narrative-structure.png` | `.structure-figure`: scene groups, speaking turns, speakers and line relations |
|
| 10 |
+
| `learning-motif-links.png` | `.learning-flow`: structural learning, recorded motif links and ranking |
|
| 11 |
+
| `results.png` | `.llm-result` and `.graph-result`: original charts and protocol captions, placed side by side |
|
| 12 |
+
|
| 13 |
+
Only presentation geometry and figure-level spacing are adapted for the README. All results and chart marks come from the poster. The LLM and supervised graph panels describe separate experimental settings. The ocean/perfume reading, character illustrations and ranking placeholders are illustrative, not scored predictions.
|
| 14 |
+
|
| 15 |
+
The fictional character and object artwork was created with OpenAI image generation for the poster. Native SVG diagrams and charts are source-authored. The source page and excerpt in the criticism panel come from Susan Sachon (2020), *Shakespeare, Objects and Phenomenology*, printed page 86, and retain the poster’s attribution. They are source evidence, not generated text.
|
| 16 |
+
|
| 17 |
+
The existing full poster PDF remains available through the README’s Poster link.
|
assets/{EMNLP 2026_Find-1836.png → critic-evidence.png}
RENAMED
|
File without changes
|
assets/learning-motif-links.png
ADDED
|
Git LFS Details
|
assets/motif-example.png
ADDED
|
Git LFS Details
|
assets/narrative-structure.png
ADDED
|
Git LFS Details
|
assets/results.png
ADDED
|
Git LFS Details
|