Views
No views yet
| Component | Description |
|---|---|
mid_q | Last hidden representation from mid layer (16) of a PISCO decoder model with standard prompt, compressed context, and a question. |
pip install torch huggingface_hubPISCOClassifier class to load. Grab it from this repo:1from huggingface_hub import hf_hub_download
2import importlib.util, sys
3
4path = hf_hub_download("wexumin/overflow_probe_pisco_squad", "pisco_clf.py")
5spec = importlib.util.spec_from_file_location("pisco_clf", path)
6mod = importlib.util.module_from_spec(spec)
7spec.loader.exec_module(mod)
8PISCOClassifier = mod.PISCOClassifiermodel = PISCOClassifier.from_pretrained("wexumin/overflow_probe_pisco_squad")1
2# postproj: compressed doc embedding (4096-dim)
3x = mid_q
4
5probs = model.predict_proba(x) # (n, ) — is overflow probability
6preds = model.predict(x) # (n,) — binary 0/1 (one can provide custom threshold parameter)→ Linear(4096, 512)
→ LayerNorm
→ GELU
→ Dropout(0.3)
→ Linear(512, 128)
→ GELU
→ Dropout(0.2)
→ Linear(128, 1)1@inproceedings{belikova-etal-2026-detecting,
2 title = "Detecting Overflow in Compressed Token Representations for Retrieval-Augmented Generation",
3 author = "Belikova, Julia and Rozhevskii, Danila and Svirin, Dennis and Polev, Konstantin and Panchenko, Alexander",
4 editor = "Baez Santamaria, Selene and Somayajula, Sai Ashish and Yamaguchi, Atsuki",
5 booktitle = "Proceedings of the 19th Conference of the {E}uropean Chapter of the {A}ssociation for {C}omputational {L}inguistics (Volume 4: Student Research Workshop)",
6 month = mar,
7 year = "2026",
8 address = "Rabat, Morocco",
9 publisher = "Association for Computational Linguistics",
10 url = "https://aclanthology.org/2026.eacl-srw.59/",
11 pages = "797--810",
12 ISBN = "979-8-89176-383-8"
13}