Research map / Large language models / Retrieval and knowledge
CoCoLex: Confidence-guided Copy-based Decoding for Grounded Legal Text Generation
Santosh T.Y.S.S, Youssef Tarek Elkhayat, Oana Ichim, Pranav Shetty, Dongsheng Wang, Zhiqiang Ma, Armineh Nourbakhsh, Xiaomo Liu
Technical University of Munich · Graduate Institute of International and Development Studies · J.P. Morgan AI Research
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| add copy-based decoding with confidence-guided interpolation | Mistral-7B-Instruct-v0.3 regular decoding · CLERC | correctness AlignScore: 42.38 -> 58.12 | Improved |
| add copy-based decoding with confidence-guided interpolation | Saul-7B-Instruct-v1 · OALQA | correctness AlignScore: 32.26 -> 52.74 | Improved |
| use CAD/AdaCAD context-aware decoding | Mistral-7B-Instruct-v0.3 · CLERC | correctness AlignScore: 42.38 -> 35.11 | Hurt |
| use CAD/AdaCAD context-aware decoding | Mistral-7B-Instruct-v0.3 · CUAD | faithfulness AlignScore: 76.31 -> 79.56 | Improved |
| replace confidence-based dynamic interpolation with static weight (CoLex) (ablation) | CoCoLex · ObliQA | correctness AlignScore: 86.01 -> 85.35 | Hurt |
| add AdaCAD to CoCoLex | CoCoLex · AQuAECHR | correctness AlignScore: 60.10 -> 55.89 | Hurt |
| add AdaCAD to CoCoLex | CoCoLex · CUAD | correctness AlignScore: 71.06 -> 71.87 | Improved |
| copy from whole-document hidden states (CoCoLex+) | CoCoLex · CLERC | correctness AlignScore: 44.91 vs 34.95 (Saul) | Improved |
| use cosine similarity instead of Euclidean distance (ablation) | CoCoLex · CLERC | correctness AlignScore: 58.12 -> 55.16 | Hurt |
| use hidden states from earlier layers instead of the last layer (ablation) | CoCoLex · CLERC | correctness AlignScore: 58.12 -> 52.19 (layer -10) | Hurt |
| increase retrieved passages from 3 to 10 (ablation) | CoCoLex · CLERC | correctness AlignScore: 58.12 -> 56.95 | Hurt |
| increase retrieved passages from 3 to 10 (ablation) | Regular decoding · CLERC | correctness AlignScore: 42.38 -> 35.70 | Hurt |
Later papers that compared with this method
1 later accepted paper reports CoCoLex as a baseline in their results tables; 1 of them report a better number on most of the results they share with it.
- Copy-Paste to Mitigate Large Language Model Hallucinations (ICLR 2026 · better on 3 of 3 shared results)
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.
- AdaCAD — AdaCAD: Adaptively Decoding to Balance Conflicts between Contextual and Parametric Knowledge (NAACL 2025) · better on 9 of 9 shared results
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems in retrieval-augmented reasoning
How can retrieval-augmented reasoning cut its extra LLM calls, storage and dependence on retrieval and LLM-built structures?
- Multi-step retrieval needs extra LLM calls and slows inference. · 22 papers state it
- Tested on English, or English and one other language, only. · 15 papers state it
- Graphs, trees and memories built by LLMs or parsers pass on their errors. · 12 papers state it
Closest papers by meaning
- Improving Open-Ended Text Generation via Adaptive Decoding (ICML 2024 · similarity 0.87)
- A Plug-and-Play Method for Controlled Text Generation (EMNLP 2021 · similarity 0.86)
- Retrieval is Accurate Generation (ICLR 2024 · similarity 0.85)
- Anchored Decoding: Provably Reducing Copyright Risk for Any Language Model (ICML 2026 · similarity 0.85)
- RAPID: Long-Context Inference with Retrieval-Augmented Speculative Decoding (ICML 2025 · similarity 0.85)
- Reflection-Window Decoding: Text Generation with Selective Refinement (ICML 2025 · similarity 0.84)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.