Add model card and metadata
#1
by nielsr HF Staff - opened
README.md
CHANGED
|
@@ -1,3 +1,33 @@
|
|
| 1 |
-
---
|
| 2 |
-
license: apache-2.0
|
| 3 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
library_name: transformers
|
| 4 |
+
pipeline_tag: text-generation
|
| 5 |
+
---
|
| 6 |
+
|
| 7 |
+
# LiteCoST: Long-Document QA with Chain-of-Structured-Thought and Fine-Tuned SLMs
|
| 8 |
+
|
| 9 |
+
LiteCoST is a two-pillar framework designed to achieve both high accuracy and low latency for long-document question answering (QA) using Small Language Models (SLMs).
|
| 10 |
+
|
| 11 |
+
The model utilizes **Chain-of-Structured-Thought (CoST)**, a schema-aware instruction template that guides models to produce both a step-wise reasoning trace and a structured output. This approach is distilled into compact models (3B/7B) through a two-stage fine-tuning process: Supervised Fine-Tuning (SFT) for structural alignment, followed by Group Relative Policy Optimization (GRPO) to enhance answer quality and process consistency.
|
| 12 |
+
|
| 13 |
+
## Resources
|
| 14 |
+
- **Paper:** [Long-Document QA with Chain-of-Structured-Thought and Fine-Tuned SLMs](https://huggingface.co/papers/2603.29232)
|
| 15 |
+
- **GitHub Repository:** [HKUSTDial/LiteCoST](https://github.com/HKUSTDial/LiteCoST)
|
| 16 |
+
|
| 17 |
+
## Method Overview
|
| 18 |
+
|
| 19 |
+
1. **Pillar 1: Chain-of-Structured-Thought (CoST):** Guides a high-capability LLM to generate auditable traces that include structure analysis, trace generation, data verification, and refinement.
|
| 20 |
+
2. **Pillar 2: SLM Fine-Tuning:** Compact models are trained on the CoST data using SFT and then optimized via GRPO with rewards for answer quality, formatting, and process consistency.
|
| 21 |
+
|
| 22 |
+
## Performance
|
| 23 |
+
By distilling structure-first behavior into SLMs, this approach achieves LLM-comparable quality on multi-domain long-document QA while delivering significantly lower latency than GPT-4o and DeepSeek-R1 (671B).
|
| 24 |
+
|
| 25 |
+
## Citation
|
| 26 |
+
```bibtex
|
| 27 |
+
@inproceedings{cost2026litecost,
|
| 28 |
+
title={Long-Document QA with Chain-of-Structured-Thought and Fine-Tuned SLMs},
|
| 29 |
+
author={Liang, Seton and others},
|
| 30 |
+
booktitle={The Fourteenth International Conference on Learning Representations (ICLR)},
|
| 31 |
+
year={2026}
|
| 32 |
+
}
|
| 33 |
+
```
|