{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/arxiv-2607-17486","title":"SALT: Salience-Aware Lexical Trie for Long-Context Compression","arxiv_id":"2607.17486","date":"2026-07-20","proceeding":null,"authors":["Oteo Mamo","Hyunjin Yi","Joydhriti Choudhury","Shangqian Gao","Weikuan Yu"],"abstract":"As large language models (LLMs) process increasingly longer prompts, computation and KV-cache memory costs have emerged as major bottlenecks in inference systems. Existing input-level prompt compression methods address this, but rank each sentence by a scalar relevance score, treating the document as an unstructured pool of words and sentences. Under tight budgets, this causes theme collapse, where the dominant theme(s) of a document consumes the budget, discarding less-frequent yet task-relevant themes. Preserving thematic coverage instead requires allocating the budget across recurring themes rather than scoring sentences in isolation. To this end, we propose SALT, a model-agnostic extractive framework that organizes per-sentence keywords into a trie ordered by sentence frequency (SF), a lightweight, reusable proxy for document thematic structure. This trie-based organization smooths memory allocation and prevents dominant themes from monopolizing the budget. Multi-anchor retrieval activates trie nodes labeled by query keywords at any depth, and the trie persists across dialogue turns, supporting multi-turn use without re-encoding the document. By preserving document themes, SALT reduces the prefill computation and memory cost of long-context prompts while remaining composable with KV-cache methods that target decoding-time latency and memory.","url_abs":"https://arxiv.org/abs/2607.17486","url_pdf":"https://arxiv.org/pdf/2607.17486","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":null,"mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2607.17486"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/oteomamo/SALT","reach":null}],"summary":{"ran":24,"unverified":3},"by_repo_kind":{"found_in_text":{"samples":27,"ran":24,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"3af1fd763069130b","entry":"append","repo":"oteomamo/SALT","repo_kind":"found_in_text","path":"salt/agents/ledger.py","file_url":"https://github.com/oteomamo/SALT/blob/HEAD/salt/agents/ledger.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3af1fd763069130b"}},{"code_sha256_prefix":"01b4dda99b654372","entry":"ask_signals","repo":"oteomamo/SALT","repo_kind":"found_in_text","path":"salt/agents/route.py","file_url":"https://github.com/oteomamo/SALT/blob/HEAD/salt/agents/route.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"01b4dda99b654372"}},{"code_sha256_prefix":"767e18040cb2ca99","entry":"bind","repo":"oteomamo/SALT","repo_kind":"found_in_text","path":"salt/agents/personas.py","file_url":"https://github.com/oteomamo/SALT/blob/HEAD/salt/agents/personas.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"767e18040cb2ca99"}},{"code_sha256_prefix":"1567aa16a9422ba2","entry":"build_context","repo":"oteomamo/SALT","repo_kind":"found_in_text","path":"salt/agents/delegate.py","file_url":"https://github.com/oteomamo/SALT/blob/HEAD/salt/agents/delegate.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1567aa16a9422ba2"}},{"code_sha256_prefix":"d1f4954d72388c6d","entry":"build_messages","repo":"oteomamo/SALT","repo_kind":"found_in_text","path":"salt/agents/delegate.py","file_url":"https://github.com/oteomamo/SALT/blob/HEAD/salt/agents/delegate.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d1f4954d72388c6d"}},{"code_sha256_prefix":"8cfe218c7dea294a","entry":"content_words","repo":"oteomamo/SALT","repo_kind":"found_in_text","path":"salt/agents/provision.py","file_url":"https://github.com/oteomamo/SALT/blob/HEAD/salt/agents/provision.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8cfe218c7dea294a"}},{"code_sha256_prefix":"0f5993b0b30ddafa","entry":"find_kneedle","repo":"oteomamo/SALT","repo_kind":"found_in_text","path":"salt/engine/trie_core.py","file_url":"https://github.com/oteomamo/SALT/blob/HEAD/salt/engine/trie_core.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0f5993b0b30ddafa"}},{"code_sha256_prefix":"dcc5c7f539ccb999","entry":"is_content_word","repo":"oteomamo/SALT","repo_kind":"found_in_text","path":"salt/engine/trie_core.py","file_url":"https://github.com/oteomamo/SALT/blob/HEAD/salt/engine/trie_core.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"dcc5c7f539ccb999"}},{"code_sha256_prefix":"82b8d46e62a2da66","entry":"l2_norm","repo":"oteomamo/SALT","repo_kind":"found_in_text","path":"salt/engine/trie_core.py","file_url":"https://github.com/oteomamo/SALT/blob/HEAD/salt/engine/trie_core.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"82b8d46e62a2da66"}},{"code_sha256_prefix":"3a81a6942e639f31","entry":"ledger_path","repo":"oteomamo/SALT","repo_kind":"found_in_text","path":"salt/agents/ledger.py","file_url":"https://github.com/oteomamo/SALT/blob/HEAD/salt/agents/ledger.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3a81a6942e639f31"}},{"code_sha256_prefix":"a8589040349e3800","entry":"load_persona","repo":"oteomamo/SALT","repo_kind":"found_in_text","path":"salt/agents/personas.py","file_url":"https://github.com/oteomamo/SALT/blob/HEAD/salt/agents/personas.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a8589040349e3800"}},{"code_sha256_prefix":"d339d5d3738be461","entry":"load_personas","repo":"oteomamo/SALT","repo_kind":"found_in_text","path":"salt/agents/personas.py","file_url":"https://github.com/oteomamo/SALT/blob/HEAD/salt/agents/personas.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d339d5d3738be461"}},{"code_sha256_prefix":"13781df55d2f0b12","entry":"note_for","repo":"oteomamo/SALT","repo_kind":"found_in_text","path":"salt/agents/provision.py","file_url":"https://github.com/oteomamo/SALT/blob/HEAD/salt/agents/provision.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"13781df55d2f0b12"}},{"code_sha256_prefix":"0df22715de156076","entry":"note_overlaps","repo":"oteomamo/SALT","repo_kind":"found_in_text","path":"salt/agents/provision.py","file_url":"https://github.com/oteomamo/SALT/blob/HEAD/salt/agents/provision.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0df22715de156076"}},{"code_sha256_prefix":"3019c1d3fbf88495","entry":"planning_gen","repo":"oteomamo/SALT","repo_kind":"found_in_text","path":"salt/agents/orchestrator.py","file_url":"https://github.com/oteomamo/SALT/blob/HEAD/salt/agents/orchestrator.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3019c1d3fbf88495"}},{"code_sha256_prefix":"c507db30b996bc56","entry":"planning_tokens","repo":"oteomamo/SALT","repo_kind":"found_in_text","path":"salt/agents/orchestrator.py","file_url":"https://github.com/oteomamo/SALT/blob/HEAD/salt/agents/orchestrator.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c507db30b996bc56"}},{"code_sha256_prefix":"4b51afc4533e2253","entry":"probe","repo":"oteomamo/SALT","repo_kind":"found_in_text","path":"salt/agents/roster.py","file_url":"https://github.com/oteomamo/SALT/blob/HEAD/salt/agents/roster.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4b51afc4533e2253"}},{"code_sha256_prefix":"f6c6f99fe9f5c619","entry":"record","repo":"oteomamo/SALT","repo_kind":"found_in_text","path":"salt/agents/ledger.py","file_url":"https://github.com/oteomamo/SALT/blob/HEAD/salt/agents/ledger.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f6c6f99fe9f5c619"}},{"code_sha256_prefix":"2acc8e34135cae57","entry":"reply_text","repo":"oteomamo/SALT","repo_kind":"found_in_text","path":"salt/agents/protocol.py","file_url":"https://github.com/oteomamo/SALT/blob/HEAD/salt/agents/protocol.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2acc8e34135cae57"}},{"code_sha256_prefix":"df7ffb271bbac304","entry":"round_signals","repo":"oteomamo/SALT","repo_kind":"found_in_text","path":"salt/agents/route.py","file_url":"https://github.com/oteomamo/SALT/blob/HEAD/salt/agents/route.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"df7ffb271bbac304"}},{"code_sha256_prefix":"4b0eb16b39c5293b","entry":"schema_body","repo":"oteomamo/SALT","repo_kind":"found_in_text","path":"salt/agents/roster.py","file_url":"https://github.com/oteomamo/SALT/blob/HEAD/salt/agents/roster.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4b0eb16b39c5293b"}},{"code_sha256_prefix":"abd162e69d07fc65","entry":"strip_think","repo":"oteomamo/SALT","repo_kind":"found_in_text","path":"salt/agents/protocol.py","file_url":"https://github.com/oteomamo/SALT/blob/HEAD/salt/agents/protocol.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"abd162e69d07fc65"}},{"code_sha256_prefix":"009704a715791a01","entry":"think_text","repo":"oteomamo/SALT","repo_kind":"found_in_text","path":"salt/agents/protocol.py","file_url":"https://github.com/oteomamo/SALT/blob/HEAD/salt/agents/protocol.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"009704a715791a01"}},{"code_sha256_prefix":"32b2b36f89d792fa","entry":"window_max_tokens","repo":"oteomamo/SALT","repo_kind":"found_in_text","path":"salt/agents/delegate.py","file_url":"https://github.com/oteomamo/SALT/blob/HEAD/salt/agents/delegate.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"32b2b36f89d792fa"}},{"code_sha256_prefix":"fcb12245917073e6","entry":"load_roster","repo":"oteomamo/SALT","repo_kind":"found_in_text","path":"salt/agents/roster.py","file_url":"https://github.com/oteomamo/SALT/blob/HEAD/salt/agents/roster.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fcb12245917073e6"}},{"code_sha256_prefix":"36ad5fa7d4d42ead","entry":"prep_doc_sentences","repo":"oteomamo/SALT","repo_kind":"found_in_text","path":"salt/compress.py","file_url":"https://github.com/oteomamo/SALT/blob/HEAD/salt/compress.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"36ad5fa7d4d42ead"}},{"code_sha256_prefix":"6d4b7b14cc471e39","entry":"roster_signals","repo":"oteomamo/SALT","repo_kind":"found_in_text","path":"salt/agents/route.py","file_url":"https://github.com/oteomamo/SALT/blob/HEAD/salt/agents/route.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6d4b7b14cc471e39"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_2026.jsonl"},"syntology_extracted_results":{"kind":"leaderboard_placements","source":"Syntology's leaderboard-shaped extractor over the paper's own arXiv-HTML tables: a model pointed at a cell, the number was read from that cell and checked against the board's metric, dataset, split and scale, and an independent check accepted the entry; not reviewed by the paper's authors or the archive's editors","extractor_model":"global.anthropic.claude-sonnet-4-5-20250929-v1:0","verifier_model":null,"prompt_sha":"fa63d4bb9d755694","coverage":{"sentence":"Syntology has checked 6,264 of the 9,581 papers on this site that are newer than the archive; results from the others appear after they are checked.","papers_newer_than_archive":9581,"papers_checked":6264},"entries":[],"not_placed":{"boards":1,"rejected_by_independent_check":0,"refused_by_a_rule":1,"check_did_not_answer":0,"proposed_without_a_cell":0,"declined_by_site":0}}}