{"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-2608-15962","title":"SEER: Long-Context Reasoning via Selective Visual-Text Compression","arxiv_id":"2608.15962","date":"2026-08-16","proceeding":null,"authors":["Jiawei Xu","Zhilin Zhai","Jinrui Fang","Ruohan Xu","Mingfei Lu","Yi Zhang","Guanchu Wang","Tianlong Chen","Ying Ding"],"abstract":"Long-context reasoning remains computationally expensive for large language models due to the quadratic complexity of attention over text tokens. Visual-text compression offers a promising alternative by rendering text into images and processing them with vision-language models, often reducing token usage. However, existing approaches apply uniform compression regardless of query relevance, potentially sacrificing precision where detailed extraction is required. We present SEER, a framework that learns to select query-relevant images through visual scanning and retrieve textual content only where needed, combining the efficiency of visual compression with the precision of text-based reasoning. Through supervised fine-tuning on tool-interaction trajectories, SEER learns adaptive tool invocation for selection and retrieval. Experiments on long-context benchmarks show that SEER improves extraction precision through selective text retrieval while retaining average prompt-token savings relative to full-text baselines. On LongBench, SEER achieves 51.11% average accuracy, outperforming the visual-text baseline Glyph-9B by 2.33 points and Qwen3-8B by 3.49 points. Code can be accessed at https://github.com/jiaweixu98/SEER","url_abs":"https://arxiv.org/abs/2608.15962","url_pdf":"https://arxiv.org/pdf/2608.15962","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":"2608.15962"}},"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/jiaweixu98/SEER","reach":null}],"summary":{"ran_draft_wrong":8,"ran_fixture":1,"unverified":3},"by_repo_kind":{"found_in_text":{"samples":12,"ran":9,"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":"3ee23299db36451e","entry":"_extract_completion_meta","repo":"jiaweixu98/SEER","repo_kind":"found_in_text","path":"seer/infer/api_base.py","file_url":"https://github.com/jiaweixu98/SEER/blob/HEAD/seer/infer/api_base.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"3ee23299db36451e"}},{"code_sha256_prefix":"f3b1fe4f57ef9eaf","entry":"_extract_message_content","repo":"jiaweixu98/SEER","repo_kind":"found_in_text","path":"seer/infer/api_base.py","file_url":"https://github.com/jiaweixu98/SEER/blob/HEAD/seer/infer/api_base.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f3b1fe4f57ef9eaf"}},{"code_sha256_prefix":"063ded2ca656e82a","entry":"build_user_content_interleaved","repo":"jiaweixu98/SEER","repo_kind":"found_in_text","path":"seer/infer/api_base.py","file_url":"https://github.com/jiaweixu98/SEER/blob/HEAD/seer/infer/api_base.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"063ded2ca656e82a"}},{"code_sha256_prefix":"442a047f1a40e78f","entry":"encode_image_with_max_pixels","repo":"jiaweixu98/SEER","repo_kind":"found_in_text","path":"seer/infer/api_base.py","file_url":"https://github.com/jiaweixu98/SEER/blob/HEAD/seer/infer/api_base.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"442a047f1a40e78f"}},{"code_sha256_prefix":"0796a80b864c259c","entry":"execute_locate_tool","repo":"jiaweixu98/SEER","repo_kind":"found_in_text","path":"seer/infer/api_base.py","file_url":"https://github.com/jiaweixu98/SEER/blob/HEAD/seer/infer/api_base.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"0796a80b864c259c"}},{"code_sha256_prefix":"bddb0535ff92827e","entry":"extract_final_answer","repo":"jiaweixu98/SEER","repo_kind":"found_in_text","path":"seer/infer/api_base.py","file_url":"https://github.com/jiaweixu98/SEER/blob/HEAD/seer/infer/api_base.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"bddb0535ff92827e"}},{"code_sha256_prefix":"280380d6785b7778","entry":"load_page_texts_for_sample","repo":"jiaweixu98/SEER","repo_kind":"found_in_text","path":"seer/infer/api_base.py","file_url":"https://github.com/jiaweixu98/SEER/blob/HEAD/seer/infer/api_base.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"280380d6785b7778"}},{"code_sha256_prefix":"290fa4d34658fc5e","entry":"parse_tool_call","repo":"jiaweixu98/SEER","repo_kind":"found_in_text","path":"seer/infer/api_base.py","file_url":"https://github.com/jiaweixu98/SEER/blob/HEAD/seer/infer/api_base.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"290fa4d34658fc5e"}},{"code_sha256_prefix":"56221c8ae1bd05c7","entry":"truncate_observation","repo":"jiaweixu98/SEER","repo_kind":"found_in_text","path":"seer/infer/api_base.py","file_url":"https://github.com/jiaweixu98/SEER/blob/HEAD/seer/infer/api_base.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"56221c8ae1bd05c7"}},{"code_sha256_prefix":"2753397fa4285068","entry":"_apply_max_tokens","repo":"jiaweixu98/SEER","repo_kind":"found_in_text","path":"seer/infer/api_base.py","file_url":"https://github.com/jiaweixu98/SEER/blob/HEAD/seer/infer/api_base.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"2753397fa4285068"}},{"code_sha256_prefix":"1e5c4658466172b3","entry":"_call_chat_completion","repo":"jiaweixu98/SEER","repo_kind":"found_in_text","path":"seer/infer/api_base.py","file_url":"https://github.com/jiaweixu98/SEER/blob/HEAD/seer/infer/api_base.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"1e5c4658466172b3"}},{"code_sha256_prefix":"89bfd7de8dad3408","entry":"post_api","repo":"jiaweixu98/SEER","repo_kind":"found_in_text","path":"seer/infer/api_base.py","file_url":"https://github.com/jiaweixu98/SEER/blob/HEAD/seer/infer/api_base.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"89bfd7de8dad3408"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.CL","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}