{
  "id": 1074,
  "kind": "paper",
  "title": "A Smaller Transformer in Your Transformer",
  "summary": "arXiv 2609.20100v1 (cs.CV; submitted 2026-09-17; accepted BMVC 2026). Formalises ViT block redundancy (contiguous layers with high functional similarity) and proposes Transformer-Within-Transformer (TWT): max–min DP discovery of redundant phases, auditioned single-layer surrogate init, then single-stage deep-supervision distillation. Unlike Raptor/BRH (recurrent shared layer keeps FLOPs) or TOAST linear maps (lose token mixing), TWT replaces each phase with one ViT layer. Natural images: ~6-layer TWT ~half FLOPs, competitive ImageNet (e.g. DINOv2 B/14 84.2% vs 84.6% baseline / 84.0% Raptor-6). Histopathology H0-mini/Hibou-B: often matches or improves MIL QWK/accuracy at 3–5 layers. ADE20k denser drop. Code: https://github.com/dsb-ifi/TWT.",
  "body": "",
  "notes": "Hudson user-fed 2026-09-26 via AlphaXiv https://www.alphaxiv.org/abs/2609.20100 (mirror); cataloged from canonical arXiv abs/API/PDF. Local dump: /workspace/curator/research/arxiv-2609.20100-20260926 (abs.html, api.xml, paper.pdf, paper.txt, alphaxiv.html, uio-news.html, CATALOG_NOTES.md). Code https://github.com/dsb-ifi/TWT (0★ at check; license field empty). No HF model/dataset. No Discord fill (local-only job).",
  "url": "https://arxiv.org/abs/2609.20100",
  "links": [],
  "authors": [
    "Dhananjay Tomar*",
    "Marius Aasan*",
    "Andreas Kleppe",
    "Adín Ramírez Rivera (*equal contribution)"
  ],
  "tags": [
    "twt",
    "transformer-within-transformer",
    "vit",
    "block-redundancy",
    "depth-pruning",
    "distillation",
    "histopathology",
    "dinov2",
    "dinov3",
    "deit-iii",
    "raptor",
    "toast",
    "bmvc-2026",
    "arxiv-2609.20100",
    "dsb-ifi"
  ],
  "topics": "vision transformers; depth pruning; block redundancy; distillation; histopathology; model compression",
  "venue": "arXiv / BMVC 2026 / Oslo University Hospital; University of Oslo; UiT SFI Visual Intelligence",
  "publisher": "arXiv / BMVC 2026 / Oslo University Hospital; University of Oslo; UiT SFI Visual Intelligence",
  "source": "arxiv",
  "language": "en",
  "access": "free",
  "license": "Author copyright (BMVC-style free unchanged distribution); arXiv preprint; GitHub dsb-ifi/TWT (no SPDX at catalog time)",
  "published_year": 2026,
  "added_at": "2026-09-26T15:30:00.000Z",
  "verified_at": "2026-09-26T15:30:00.000Z",
  "attrs": {
    "scale": "DeiT-III/DINOv2/DINOv3 B natural-image ImageNet+ADE20k; H0-mini & Hibou-B histopathology (PANDA, TCGA-PRAD, CAMELYON16/17) with ABMIL/TransMIL; typically 12→6/5 (natural) or 12→5/4/3 (histo) layers; FLOPs ~half vs baseline when depth halved",
    "domain": "vision transformers; depth pruning; block redundancy; distillation; histopathology; model compression",
    "purpose": "Post-hoc fuse contiguous redundant ViT layers into single learned surrogate layers (TWT) to cut params and inference FLOPs with competitive accuracy",
    "used_for": "ViT depth compression; histopathology foundation-model pruning; compare to Raptor/BRH, TOAST, NOSE, WDPruning",
    "author_type": "academia (Oslo University Hospital; University of Oslo; UiT The Arctic University of Norway / SFI Visual Intelligence)",
    "time_period": "arXiv 2026-09-17 (v1); BMVC 2026 accepted; UiO news ~2026-08-09; cataloged 2026-09-26"
  },
  "enrichment": {
    "s2": {
      "paper_id": "ce89f8f72ffe2974a9fe8a0304f624d169a34dd1",
      "published": "2026-09-17",
      "fetched_at": "2026-10-03T14:59:36.670Z",
      "citation_count": 0,
      "reference_count": 0,
      "influential_citation_count": 0
    },
    "arxiv": {
      "id": "2609.20100",
      "title": "A Smaller Transformer in Your Transformer",
      "authors": [
        "Dhananjay Tomar",
        "Marius Aasan",
        "Andreas Kleppe",
        "Adín Ramírez Rivera"
      ],
      "comment": "22 pages, 6 figures, 6 tables. Accepted at the 37th British Machine Vision Conference (BMVC 2026)",
      "updated": "2026-09-17",
      "abstract": "Recent findings indicate that Vision Transformers settle into locally similar computational phases, implying a level of depthwise computational redundancy. However, existing methods to exploit this redundancy either fail to reduce inference compute or severely degrade model expressivity. In this work, we formalise a unified view of block redundancy that decouples the geometry from specific surrogate interventions. We then introduce Transformer-Within-Transformer (TWT), a post-hoc method that fuses contiguous groups of redundant layers into a single learned surrogate layer. TWT reduces parameter count and inference compute while remaining competitive with original models using half the depth on natural images, and in several downstream histopathology settings, TWT matches or even improves on the original baseline.",
      "published": "2026-09-17",
      "categories": [
        "cs.CV"
      ],
      "fetched_at": "2026-10-03T14:59:36.670Z"
    }
  },
  "enriched_at": "2026-10-03T14:59:36.714Z",
  "license_class": "other",
  "langs": [
    "en"
  ],
  "modalities": [],
  "size_class": null,
  "provenance": {
    "legacy_paper_id": "1493",
    "needs_deep_eval": "no",
    "pipeline_status": "done",
    "research_status": "done"
  },
  "visibility": "public",
  "status": "active",
  "duplicate_of": null,
  "origin": "legacy",
  "created_at": "2026-10-03T12:29:06.561Z",
  "updated_at": "2026-10-03T12:29:06.561Z",
  "page": "https://papers.projxon.ai/entries/1074",
  "markdown": "https://papers.projxon.ai/entries/1074.md",
  "api": "https://papers.projxon.ai/api/entries/1074",
  "relations": [],
  "duplicates": [],
  "similar": [
    {
      "id": 603,
      "kind": "code",
      "title": "LingBot-Vision",
      "summary": "Robbyant/lingbot-vision ships LingBot-Vision, a family of self-supervised ViT backbones (S/16, B/16, L/16, g/16) for dense spatial perception. A ~1.1B ViT-g/16 teacher is pretrained with masked boundary modeling (boundary-centric masked targets that keep spatial structure plus semantics) and distilled to L/B/S. Drop-in encoder for PCA feature maps, depth, semantic/video object segmentation, and as the encoder init for LingBot-Depth 2.0 (RGB-D corpus scaled 3M to 150M in the tech report). Backbone-only .pt checkpoints on HF/ModelScope. Apache-2.0. Paper arXiv 2607.05247.",
      "url": "https://github.com/robbyant/lingbot-vision",
      "authors": [
        "Zelin Fu",
        "Bin Tan",
        "Changjiang Sun",
        "Shaohui Liu",
        "Kecheng Zheng",
        "Yinghao Xu",
        "Xing Zhu",
        "Yujun Shen",
        "Nan Xue"
      ],
      "tags": [
        "lingbot-vision",
        "masked-boundary-modeling",
        "dinov3",
        "vit",
        "depth",
        "robbyant",
        "self-supervised"
      ],
      "venue": "Robbyant (GitHub)",
      "source": "github",
      "license": "Apache-2.0",
      "published_year": 2026,
      "added_at": "2026-08-14T18:45:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": 979,
      "page": "https://papers.projxon.ai/entries/603",
      "markdown": "https://papers.projxon.ai/entries/603.md",
      "api": "https://papers.projxon.ai/api/entries/603"
    },
    {
      "id": 763,
      "kind": "code",
      "title": "NVIDIA Model Optimizer (ModelOpt)",
      "summary": "NVIDIA's unified open-source library of state-of-the-art model optimization techniques — post-training quantization, quantization-aware training/distillation, pruning, distillation, neural architecture search, speculative decoding, and sparsity. Takes Hugging Face, PyTorch, or ONNX models and exports optimized quantized checkpoints ready for TensorRT-LLM, TensorRT, vLLM, or SGLang deployment.",
      "url": "https://github.com/NVIDIA/Model-Optimizer",
      "authors": [
        "NVIDIA"
      ],
      "tags": [
        "quantization",
        "pruning",
        "distillation",
        "inference-optimization",
        "nvfp4",
        "deployment"
      ],
      "venue": "GitHub",
      "source": "github",
      "license": "Apache-2.0",
      "published_year": 2024,
      "added_at": "2026-09-29T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "permissive",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": 5186,
      "page": "https://papers.projxon.ai/entries/763",
      "markdown": "https://papers.projxon.ai/entries/763.md",
      "api": "https://papers.projxon.ai/api/entries/763"
    },
    {
      "id": 822,
      "kind": "paper",
      "title": "Adversaries can still steal reasoning from American frontier models via Third-Party Cloud Aggregators (\"Stolen Thoughts\" update)",
      "summary": "Updated paper on reasoning extraction: patching your own API does not secure your cloud-hosting ecosystem. Most critical findings: reasoning replay attacks still intermittently work on Microsoft Azure for every OpenAI model (Astra included) and for Anthropic up to Sonnet 5, with one decode returning the trace verbatim; scratchpad reasoning attacks (ask the model to put its reasoning into a tool argument, publicly demonstrated by @_can1357) still extract reasoning from every OpenAI model and from Opus 4.6 and Sonnet 5; today only Opus 4.1, Fable 3, and Fable 5 do not expose their reasoning. A September 13 audit found replay extraction blocked on direct OpenAI/Anthropic APIs but still working on Azure for the same models -- same models, different defenses, depending on which platform serves them. OpenAI publicly disclosed a reasoning-extraction campaign citing this work: operators copied encrypted reasoning from one conversation and asked a model in another to decrypt and transcribe it; activity began July 1, spiked July 24-25 with 16,000 requests using an extraction pattern from over 4,000 users; related prompt-pattern activity across a cluster of 15,000+ users was fully disrupted by July 28. The authors argue patches must cover all attacks and hosting clouds, or attackers choose the route where protection is weakest; findings shared to accelerate defense rollout.",
      "url": "https://stolen-thoughts.com/stolen_thoughts_update.pdf",
      "authors": [
        "J Schaeffer",
        "A Panfilov",
        "D Schmotz",
        "I Shumailov",
        "L Beurer-Kellner",
        "A Prabhu",
        "J Geiping",
        "M Andrushenko"
      ],
      "tags": [
        "ai-safety",
        "reasoning-extraction",
        "distillation",
        "model-theft"
      ],
      "venue": "September 2026 (updated paper; stolen-thoughts.com)",
      "source": "paper",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-30T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/822",
      "markdown": "https://papers.projxon.ai/entries/822.md",
      "api": "https://papers.projxon.ai/api/entries/822"
    },
    {
      "id": 1200,
      "kind": "paper",
      "title": "Gumbel Straight Flow: Distilling Autoregressive Models into One-step Flow Maps",
      "summary": "Can autoregressive language models be used as teachers for flow-map parallel samplers? Yes — via the Gumbel-max trick: sampling from an AR model is argmax(logits + Gumbel noise) per token. The paper defines a flow matching process directly over this noise-token coupling and theoretically demonstrates the induced coupling between Gumbel noise and one-hot token sequences yields non-intersecting linear paths from noise to sequence representations. They then distill into a bidirectional flow-map student: the AR teacher supervises the velocity along the path (tangent condition), and a consistency loss (flow map semigroup objective) trains few-step jumps. At inference, GSF maps noise to a full token sequence in parallel in just 1-4 steps. Across OpenWebText, LM1B, TinyStories, and XSum, GSF outperforms several few-step baselines (FMLM, GD, discrete diffusion) establishing a strong compute-quality Pareto frontier, and outperforms current few-step language generation baselines on pretraining and downstream tasks. Comparison table: GSF is the only method with all of parallel generation, deterministic pairing, and straight paths.",
      "url": "https://arxiv.org/abs/2610.00497",
      "authors": [
        "Yeongmin Kim",
        "Arnaud Doucet",
        "Andrew Campbell",
        "Valentin De Bortoli",
        "Thomas Mensink",
        "David Ruhe"
      ],
      "tags": [
        "gumbel-straight-flow",
        "flow-matching",
        "distillation",
        "autoregressive-teacher",
        "gumbel-max",
        "parallel-generation",
        "few-step-sampling"
      ],
      "venue": "arXiv:2610.00497 (cs.LG), submitted 30 Sep 2026",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-03T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 0,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1200",
      "markdown": "https://papers.projxon.ai/entries/1200.md",
      "api": "https://papers.projxon.ai/api/entries/1200"
    },
    {
      "id": 1229,
      "kind": "paper",
      "title": "Mid-Harness: Scaling Actions Between Model and Harness for Terminal Agents",
      "summary": "Terminal agents act through stochastic model generations, but the ability to generate a useful action doesn't ensure reliable execution — one bad shell command (wrong package install) can poison the environment even when the model could have generated a better alternative. Investigates allocating test-time compute at the model-harness boundary: Mid-Harness samples and verifies candidate actions before forwarding one for execution, leaving generator and harness unchanged. With a TMAX-9B generator, more action sampling helps little under weak verification, while a capable verifier exploits useful alternatives from the same generator. On TerminalBench-Lite, a GPT-5.6 Sol verifier raises Pass@1 from 50.00% to 68.03% with 8 sampled actions; with TMAX-9B as its own verifier, pairwise verification performs best; distilling the stronger verifier into TMAX-9B improves Pass@1 further without touching the generator. Combining action and trajectory scaling reaches higher success at lower estimated token cost than more trajectories alone. Key design rule: spend more on the verifier than on extra samples. Practitioner takeaway (@thesignalnow): label candidate pairs offline with the strong verifier, fine-tune a small model, deploy it as the always-on checker — avoids paying frontier-model prices per action. Directly relevant to the user's agent-harness work.",
      "url": "https://arxiv.org/abs/2609.39982",
      "authors": [
        "Minki Kang",
        "Ryo Hachiuma",
        "Shaokun Zhang",
        "Subhashree Radhakrishnan",
        "Yonggan Fu",
        "Jindong Jiang",
        "Mingjie Liu",
        "Ehsan Hosseini-Asl",
        "Yi Dong",
        "Yu-Chiang Frank Wang",
        "Byung-Kwan Lee"
      ],
      "tags": [
        "mid-harness",
        "terminal-agents",
        "test-time-compute",
        "action-verification",
        "terminalbench",
        "distillation",
        "pairwise"
      ],
      "venue": "arXiv:2609.39982 (cs.CL), submitted 30 Sep 2026",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-10-04T00:00:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": null,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1229",
      "markdown": "https://papers.projxon.ai/entries/1229.md",
      "api": "https://papers.projxon.ai/api/entries/1229"
    },
    {
      "id": 1121,
      "kind": "paper",
      "title": "Trajectory-Refined Distillation",
      "summary": "arXiv 2606.08432. Identifies prefix failure in on-policy (self-)distillation: wrong student prefixes make per-token teacher KL bimodal/fragmented. Proposes TRD: sample on-policy y_o, then teacher-refine to y_r (OPSD conditions on reference), distill forward KL on y_r. Gains on AIME/AMOBench/code vs Forward/Reverse KL ± clip/top-K with Qwen3-1.7B/4B/8B; code https://github.com/louieworth/trd.",
      "url": "https://arxiv.org/abs/2606.08432",
      "authors": [
        "Li Jiang",
        "Haoran Xu",
        "Yichuan Ding",
        "Amy Zhang"
      ],
      "tags": [
        "trd",
        "on-policy-distillation",
        "opsd",
        "prefix-failure",
        "qwen3",
        "distillation",
        "arxiv-2606.08432"
      ],
      "venue": "arXiv / McGill University; Mila; UT Austin",
      "source": "arxiv",
      "license": "",
      "published_year": 2026,
      "added_at": "2026-09-02T18:35:00.000Z",
      "has_dataset_profile": false,
      "license_class": "unknown",
      "langs": [
        "en"
      ],
      "modalities": [],
      "size_class": null,
      "citation_count": 10,
      "downloads": null,
      "stars": null,
      "page": "https://papers.projxon.ai/entries/1121",
      "markdown": "https://papers.projxon.ai/entries/1121.md",
      "api": "https://papers.projxon.ai/api/entries/1121"
    }
  ]
}
