How leejb020313/kics_paper_2609 works
This repository is a research implementation and evaluation suite for cost-efficient check-worthy-claim detection, not a serving application. The main workflow loads calibrated/test examples and precomputed model scores, embeds claims for an SVM, routes the least-certain half to LLM scoring, then learns a fusion decision and evaluates it against baselines. Separate analysis scripts examine robustness, recall, drift, and streaming routing; generated result files support figures and the paper. Some orchestration and scoring details are documented in the README but their full source was not sampled.
Main entry points: data.py Data and embeddings · final_eval.py Cascade evaluation · paper Evaluation results · make_figure.py Budget figures
Components 20
Data and scoring
- Dataset splits
data/processed - Frontier sets
data/frontier - LLM score records
results/llm_scores - Prompt construction
cwcascade/prompt.py - Data and embeddings
cwcascade/data.py
Cascade method
- NN-PPI correction
cwcascade/nnppi.py - Cascade evaluation
scripts/final_eval.py - Stage and fusion variants
scripts/ablation_stage_fusion.py - Streaming router
scripts/streaming_eval.py
Evaluation and analysis
- Recall targeting
scripts/recall_target.py - Drift analysis
scripts/drift_remedy.py - Seed robustness
scripts/seed_robustness.py - Cost and time
scripts/cost_time.py
Research outputs
- Evaluation results
results/paper - Analysis results
results/analysis - Budget figures
scripts/make_figure.py - Figure styling
scripts/figstyle.py - Paper and briefing
paper
Other components
- Researcher
- Frontier LLM
Connections 26
- Researcher → Dataset splits: prepares splits
README.md - Researcher → Frontier sets: defines evaluation sets
README.md - Prompt construction → Frontier LLM: requests scores
- Frontier LLM → LLM score records: returns scores
README.md - Dataset splits → Data and embeddings: loads examples
README.md - Frontier sets → Data and embeddings: loads examples
cwcascade/data.py - LLM score records → Data and embeddings: loads scores
cwcascade/data.py - Data and embeddings → Cascade evaluation: provides splits
scripts/final_eval.py - Cascade evaluation → NN-PPI correction: applies correction
scripts/final_eval.py - Cascade evaluation → Evaluation results: writes metrics
README.md - Data and embeddings → Stage and fusion variants: provides data
scripts/ablation_stage_fusion.py - Data and embeddings → Streaming router: provides data
scripts/streaming_eval.py - Cascade evaluation → Seed robustness: reuses predictions
scripts/seed_robustness.py - Cascade evaluation → Budget figures: supplies metrics
README.md - Budget figures → Figure styling: uses styling
scripts/make_figure.py - Budget figures → Evaluation results: reads metrics
scripts/make_figure.py - Budget figures → Paper and briefing: creates figures for
README.md - Data and embeddings → Recall targeting: provides data
scripts/recall_target.py - Data and embeddings → Drift analysis: provides data
scripts/drift_remedy.py - Data and embeddings → Cost and time: provides data
scripts/cost_time.py - Recall targeting → Analysis results: writes findings
README.md - Drift analysis → Analysis results: writes findings
README.md - Streaming router → Analysis results: writes findings
README.md - Seed robustness → Evaluation results: writes comparisons
README.md - Cost and time → Evaluation results: writes estimates
README.md - Evaluation results → Paper and briefing: supplies reported results
README.md