submodular-optimization
submodular-optimization
Submodular optimization for context engineering: query fan-out, text selection, passage reranking
- 80
- Jupyter Notebook
- Apache-2.0
- 17 mo ago
EMNLP2017_NewSum
Code for the paper: Combining Graph Degeneracy and Submodularity for Unsupervised Extractive Summarization
- 17
- R
- 7 y ago
muss
MUSS: Multilevel Subset Selection for relevance and diversity at scale (UAI 2026) — up to 80x faster than MMR with approximation guarantees, for RAG and candidate retrieval
- 7
- Python
- 3 wk ago
InSQuaD
InSQuaD is a research framework for efficient in-context learning that leverages submodular mutual information to optimize the quality-diversity tradeoff in example selection for large language models
- 2
- Python
- Apache-2.0
- 15 mo ago
cognitive-cache
Context window selection for LLM coding tools. Treats context as a constrained optimization problem, not retrieval.
- 1
- Python
- Apache-2.0
- 6 mo ago


