SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2602.10021 · 2026

Decoupled Reasoning with Implicit Fact Tokens (DRIFT): A Dual-Model Framework for Efficient Long-Context Inference

Chaochao Lu, Xia Hu, Yujia Wang, Xin Tan, Wenxuan Xie, Xuhong Wang

arXiv · PDF · Open in the Atlas

Code that ran

13 of 15 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 3 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 10 failures of our instrument; 2 no recorded run), measured 2026-11-22; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2602.10021.json · badge: /api/ran/2602.10021.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
Lancelot-Xie/DRIFT canonical (classifier label)
classifier basis: census
13 ran · 2 no recorded run
FunctionStatusWhere it lives
bucketed_compression_tokens Ran
ran, honoured the contract we drafted
Lancelot-Xie/DRIFT/src/drift/utils/compression.py
pointer only (licence: NONE) · get_code("a04afef2512ccc7a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Lancelot-Xie/DRIFT when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

build_projector Ran
ran; our contract draft was wrong, not the code
Lancelot-Xie/DRIFT/src/drift/modeling_drift.py
pointer only (licence: NONE) · get_code("27bd557a2de23b04")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Lancelot-Xie/DRIFT when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

calculate_shifted_loss Ran
ran; our contract draft was wrong, not the code
Lancelot-Xie/DRIFT/src/drift/training/losses.py
pointer only (licence: NONE) · get_code("cef7009e844c92a4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Lancelot-Xie/DRIFT when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

create_optimizer Ran
ran; our contract draft was wrong, not the code
Lancelot-Xie/DRIFT/src/drift/training/trainer.py
pointer only (licence: NONE) · get_code("14d7d29ae1462b0a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Lancelot-Xie/DRIFT when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

create_scheduler Ran
ran; our contract draft was wrong, not the code
Lancelot-Xie/DRIFT/src/drift/training/trainer.py
pointer only (licence: NONE) · get_code("ff105ae48c2c98a2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Lancelot-Xie/DRIFT when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

cuda_index Ran
ran, honoured the contract we drafted
Lancelot-Xie/DRIFT/src/drift/inference/eval_multi.py
pointer only (licence: NONE) · get_code("a39128889ad3c700")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Lancelot-Xie/DRIFT when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_kl_loss Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
Lancelot-Xie/DRIFT/src/drift/training/losses.py
pointer only (licence: NONE) · get_code("57e872e92dd63a7c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Lancelot-Xie/DRIFT when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_kl_weight Ran
ran, honoured the contract we drafted
Lancelot-Xie/DRIFT/src/drift/training/trainer.py
pointer only (licence: NONE) · get_code("dd6165b5553efda8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Lancelot-Xie/DRIFT when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

normalize_stage Ran
ran; our contract draft was wrong, not the code
Lancelot-Xie/DRIFT/src/drift/utils/stages.py
pointer only (licence: NONE) · get_code("0903447d26ca38ef")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Lancelot-Xie/DRIFT when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_json Ran
ran; our contract draft was wrong, not the code
Lancelot-Xie/DRIFT/data_generation/generate_qa.py
pointer only (licence: NONE) · get_code("0e717fa81bd2de66")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Lancelot-Xie/DRIFT when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

read_jsonl Ran
ran; our contract draft was wrong, not the code
Lancelot-Xie/DRIFT/src/drift/inference/eval_multi.py
pointer only (licence: NONE) · get_code("c35fa39d6741b7b7")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Lancelot-Xie/DRIFT when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

split_context Ran
ran; our contract draft was wrong, not the code
Lancelot-Xie/DRIFT/data_generation/generate_qa.py
pointer only (licence: NONE) · get_code("1ecf3880ae59a9ed")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Lancelot-Xie/DRIFT when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

to_legacy_phase Ran
ran; our contract draft was wrong, not the code
Lancelot-Xie/DRIFT/src/drift/utils/stages.py
pointer only (licence: NONE) · get_code("d38665d0581e3b19")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Lancelot-Xie/DRIFT when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

read_document Not yet run
unverified (harvested, no recorded run)
Lancelot-Xie/DRIFT/src/drift/inference/infer.py
pointer only (licence: NONE) · get_code("36940676e5b7d827")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Lancelot-Xie/DRIFT when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

resolve_drift_checkpoint_paths Not yet run
unverified (harvested, no recorded run)
Lancelot-Xie/DRIFT/src/drift/loading.py
pointer only (licence: NONE) · get_code("ecfca9ecf998241d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Lancelot-Xie/DRIFT when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 15 samples lifted from this paper's linked repositories, 15 carry a function identity and 0 do not. Of the 15 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 15 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

The integration of extensive, dynamic knowledge into Large Language Models (LLMs) remains a significant challenge due to the inherent entanglement of factual data and reasoning patterns. Existing solutions, ranging from non-parametric Retrieval-Augmented Generation (RAG) to parametric knowledge editing, are often constrained in practice by finite context windows, retriever noise, or the risk of catastrophic forgetting. In this paper, we propose DRIFT, a novel dual-model architecture designed to explicitly decouple knowledge extraction from the reasoning process. Unlike static prompt compression, DRIFT employs a lightweight knowledge model to dynamically compress document chunks into implicit fact tokens conditioned on the query. These dense representations are projected into the reasoning model's embedding space, replacing raw, redundant text while maintaining inference accuracy. Extensive experiments show that DRIFT significantly improves performance on long-context tasks, outperforming strong baselines among comparably sized models. Our approach provides a scalable and efficient paradigm for extending the effective context window and reasoning capabilities of LLMs. Our code is available at https: //github.com/Lancelot-Xie/DRIFT.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2602.10021")
get_code_for_paper("2602.10021")
have("2602.10021")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2602.10021.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2602.10021.svg)](https://syntology.ai/paper/2602.10021)

Connect an agent — have() is free.