CoolFace
Datasetpublic

roychowdhuryresearch/Panini-Benchmarks

Panini: Continual Learning in Token Space via Structured Memory Extracted Generative Semantic Workspace (GSW) representations and curated evaluation splits from Panini, provided for ease of replication and future research. Contents GSW Networks (gsw_networks/) Structured semantic representations extracted from document corpora using the Panini/GSW framework. Each GSW captures entities, their roles/states, and verb-phrase relationships as… See the full description on the dataset page: https://huggingface.co/datasets/roychowdhuryresearch/Panini-Benchmarks.

sourceHugging Facemitupdated 7mo agoView on Hugging Face
3likes44downloads
Dataset Card

Panini: Continual Learning in Token Space via Structured Memory

Extracted Generative Semantic Workspace (GSW) representations and curated evaluation splits from [Panini](https://arxiv.org/abs/2602.15156), provided for ease of replication and future research.

Contents

GSW Networks (gsw_networks/)

Structured semantic representations extracted from document corpora using the Panini/GSW framework. Each GSW captures entities, their roles/states, and verb-phrase relationships as question-answer pairs.

DatasetDocumentsFileDescription
2WikiMultihopQA6,1192wiki.jsonlMulti-hop reasoning across Wikipedia articles
MuSiQue11,626musique.jsonlComplex multi-step question answering
HotpotQA9,811hotpotqa.jsonlMulti-hop QA with supporting facts
Natural Questions (REAR)9,592nq_rear.jsonlSingle-hop factual retrieval
PopQA8,676popqa.jsonlPopular entity question answering

Format: Each line is a JSON object with:

json
{
  "doc_id": "doc_0",
  "source_file": "gsw_0_0.json",
  "gsw": {
    "entity_nodes": [...],
    "verb_phrase_nodes": [...],
    "space_nodes": [...],
    "time_nodes": [...],
    "similarity_edges": [...],
    "space_edges": [...],
    "time_edges": [...]
  }
}

Corpus source: All evaluation corpora follow the HippoRAG v2 splits. GSWs were generated using GPT-4o with the Panini operator (see paper for details).

Paper Results

Main Results (GPT-4o-mini)

Simple QAMulti-Hop QA
RetrievalNQPopQAMuSiQue2WikiHotpotQALV-EvalAvg
None52.722.722.036.341.05.029.9
BM2556.053.025.335.454.27.838.6
BM25 + reranker58.256.829.944.163.48.143.4
NV-Embed-v2 (7B)59.955.846.060.871.010.050.6
Qwen3 (8B)59.159.839.456.269.211.749.2
Qwen3 + reranker61.459.943.757.968.211.850.5
RAPTOR54.555.139.248.464.79.245.2
GraphRAG55.551.342.061.067.611.048.1
HippoRAG52.256.235.967.360.07.646.5
HippoRAG 260.055.749.369.771.114.053.3
IRCoT26.453.844.264.964.39.143.8
Search-R147.949.741.164.968.611.547.3
Panini67.457.652.372.471.914.856.1

Platinum Evaluation Splits (platinum/)

To evaluate reliability under missing evidence, we curate Platinum splits for MuSiQue and 2WikiMultihopQA. Each question is verified for answerability through multi-model consensus and labeled as answerable (gold answer is derivable from supporting documents) or unanswerable (evidence is missing or ambiguous). This allows measuring both QA accuracy and abstention quality. See Section 4.2 of the paper for full construction details.

SplitAnswerableUnanswerableTotal
2Wiki Platinum906941,000
MuSiQue Platinum766153919

Files:

  • —2wiki_platinum.json — Answerable 2Wiki questions
  • —2wiki_unanswerable.json — Unanswerable 2Wiki questions
  • —musique_platinum.json — Answerable MuSiQue questions
  • —musique_unanswerable.json — Unanswerable MuSiQue questions

Platinum Results (GPT-4o-mini)

RetrievalMuSiQue AnsMuSiQue Unans2Wiki Ans2Wiki UnansAvg AnsAvg Unans
BM2535.078.437.979.836.479.1
BM25 + reranker42.374.547.978.745.176.6
Qwen3 (8B)53.363.463.570.958.467.2
Qwen3 + reranker59.762.863.867.761.765.2
HippoRAG 263.650.381.566.772.558.5
Panini75.072.684.873.179.972.8

Usage

python
import json

# Load GSW networks for a dataset
gsws = []
with open("gsw_networks/2wiki.jsonl") as f:
    for line in f:
        gsws.append(json.loads(line))

# Load platinum evaluation split
with open("platinum/2wiki_platinum.json") as f:
    platinum_questions = json.load(f)

With the Panini/GSW-Memory package

python
from gsw_memory.qa.gsw_tools import GSWTools

# Write GSWs to individual files for GSWTools
import os, json
os.makedirs("gsw_files", exist_ok=True)
with open("gsw_networks/2wiki.jsonl") as f:
    for line in f:
        record = json.loads(line)
        doc_dir = f"gsw_files/{record['doc_id']}"
        os.makedirs(doc_dir, exist_ok=True)
        with open(f"{doc_dir}/{record['source_file']}", "w") as out:
            json.dump(record["gsw"], out)

# Use GSWTools for retrieval
import glob
gsw_files = glob.glob("gsw_files/doc_*/*.json")
tools = GSWTools(gsw_files)
tools.build_index()
results = tools.search_gsw_bm25("Lothair II", limit=5)

Attribution

Citation

bibtex
@misc{rajesh2026paninicontinuallearningtoken,
      title={Panini: Continual Learning in Token Space via Structured Memory},
      author={Shreyas Rajesh and Pavan Holur and Mehmet Yigit Turali and Chenda Duan and Vwani Roychowdhury},
      year={2026},
      eprint={2602.15156},
      archivePrefix={arXiv},
      primaryClass={cs.AI},
      url={https://arxiv.org/abs/2602.15156},
}

License

MIT