# Token

Published articles for Token.

This is one page of public article previews, not the complete archive. Follow Next page to continue. Summaries are not the original full articles.

## What a 90% Prompt Cache Hit Rate Hides About Attention Work

DevFeed: [What a 90% Prompt Cache Hit Rate Hides About Attention Work](<https://devfeed.tech/articles/what-a-90-prompt-cache-hit-rate-hides-about-attention-work-149033.md>)

Original publisher: [Read original article](<https://towardsdatascience.com/what-a-90-prompt-cache-hit-rate-hides-about-attention-work/>)

Author: Maxell Agustin Aguiran

Published: 2026-11-23T12:00:00Z

Content type: article

Language: en

Sources: [Towards Data Science](<https://devfeed.tech/sources/towards-data-science.md>)

Topics: [Cache](<https://devfeed.tech/topics/cache.md>), [Transformer](<https://devfeed.tech/topics/transformer.md>), [telemetry](<https://devfeed.tech/topics/telemetry.md>), [Enhancing AI model performance](<https://devfeed.tech/topics/enhancing-ai-model-performance.md>), [Python](<https://devfeed.tech/topics/python.md>)

Tags: [attention](<https://devfeed.tech/tags/attention.md>), [billing](<https://devfeed.tech/tags/billing.md>), [blocks](<https://devfeed.tech/tags/blocks.md>), [budget](<https://devfeed.tech/tags/budget.md>), [cache](<https://devfeed.tech/tags/cache.md>), [caching](<https://devfeed.tech/tags/caching.md>), [comparison](<https://devfeed.tech/tags/comparison.md>), [cost](<https://devfeed.tech/tags/cost.md>), [count](<https://devfeed.tech/tags/count.md>), [counts](<https://devfeed.tech/tags/counts.md>), [customer](<https://devfeed.tech/tags/customer.md>), [hit](<https://devfeed.tech/tags/hit.md>), [large-language-models](<https://devfeed.tech/tags/large-language-models.md>), [latency](<https://devfeed.tech/tags/latency.md>), [llm-inference](<https://devfeed.tech/tags/llm-inference.md>), [llmops](<https://devfeed.tech/tags/llmops.md>), [median](<https://devfeed.tech/tags/median.md>), [model-serving](<https://devfeed.tech/tags/model-serving.md>), [prompt](<https://devfeed.tech/tags/prompt.md>), [prompt-caching](<https://devfeed.tech/tags/prompt-caching.md>), [request](<https://devfeed.tech/tags/request.md>), [reuse](<https://devfeed.tech/tags/reuse.md>), [time-to-first-token](<https://devfeed.tech/tags/time-to-first-token.md>), [token](<https://devfeed.tech/tags/token.md>), [vllm](<https://devfeed.tech/tags/vllm.md>), [work](<https://devfeed.tech/tags/work.md>)

### AI overview

A 90% request hit rate can hide how much model work a prompt cache actually saves. In the article's example, two caches each reuse 144 of 448 input tokens, but one skips an estimated 1,224 causal attention pairs and the other 10,440; the latter is better for that narrow full-attention objective. Pair counts do not predict customer wait time, GPU speed, or cost, and sliding attention changes the calculation. The cited preprint's H200 replay found PartialNode RandomCompute lowered mean time to first token versus LRU (1.29 to 1.04 seconds) and the 99th percentile (26.0 to 16.8 seconds), while median latency rose (112 to 171 ms). The article recommends tracking request hits, token reuse, prompt-length breakdowns, and median and 99th-percentile latency in controlled workload replays; measure actual billing for cost decisions.

### Source excerpt

Request hit rate, token reuse, and latency tell different stories; a 2026 preprint found lower 99th-percentile but higher median time to first token. The post What a 90% Prompt Cache Hit Rate Hides About Attention Work appeared first on Towards Data Science.

## Dynamic Token Merging for Efficient Vision-Language Models

DevFeed: [Dynamic Token Merging for Efficient Vision-Language Models](<https://devfeed.tech/articles/dynamic-token-merging-for-efficient-vision-language-models-148680.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.27064>)

Author: Chris Gu, Marco Andono Sie, Nathan Zhou, Christopher Potts, Julie Kallini

Published: 2026-11-23T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [vlm](<https://devfeed.tech/topics/vlm.md>), [LLM Techniques](<https://devfeed.tech/topics/llm-techniques.md>), [Transformers](<https://devfeed.tech/topics/transformers.md>)

Tags: [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [decoder-only](<https://devfeed.tech/tags/decoder-only.md>), [delete](<https://devfeed.tech/tags/delete.md>), [efficiency](<https://devfeed.tech/tags/efficiency.md>), [multimodal](<https://devfeed.tech/tags/multimodal.md>), [token](<https://devfeed.tech/tags/token.md>), [transformers](<https://devfeed.tech/tags/transformers.md>), [vision](<https://devfeed.tech/tags/vision.md>), [vision-language-models](<https://devfeed.tech/tags/vision-language-models.md>)

### AI overview

Dynamic Token Merging (DTM) extends learned token deletion from byte-level text encoders to visual tokens in two vision-language models. A lightweight gate scores contextualized tokens; during training it provides a differentiable attention bias, while inference physically removes selected tokens. V-MrT5Gemma2 deletes tokens in a bidirectional multimodal encoder; V-MrGemma3 compacts the prompt and key-value caches during decoder-only prefill. Across ten benchmarks, DTM reportedly outperforms attention-based and random deletion increasingly at higher deletion rates, especially on document, chart, and scene-text reading. At 80% visual-token deletion (about 60% fewer FLOPs), both models exceed FastV on ChartQA and TextVQA, retaining 90-96% of unpruned performance on those tasks. The supplied abstract does not provide details beyond these reported results.

### Source excerpt

arXiv:2611.27064v1 Announce Type: new Abstract: Vision-language models (VLMs) represent each image with hundreds of visual tokens, which can make inference costly even when a prompt depends on only part of the image. Dynamic Token Merging (DTM), introduced in MrT5 for byte-level text encoders, learns which tokens to remove: a lightweight delete gate scores contextualized hidden states, acts as a differentiable attention bias during training, and physically removes tokens at inference. We argue that DTM is a general token deletion framework rather than a byte-level technique, and extend it to the vision modality and to decoder-only models. Applying DTM to T5Gemma 2 and Gemma 3 yields V-MrT5Gemma2, which deletes visual tokens inside a bidirectional multimodal encoder, and V-MrGemma3, which compacts the prompt and its key-value caches during decoder-only prefill. Across ten benchmarks, DTM's advantage over attention-based and random deletion grows with the deletion rate and is largest on document, chart, and scene-text reading. At 80% visual token deletion (approximately 60% fewer FLOPs), DTM raises accuracy over FastV from 51.8 to 63.0 on ChartQA and from 63.3 to 67.8 on TextVQA with V-MrT5Gemma2, as well as from 62.2 to 68.8 and from 71.2 to 75.1 with V-MrGemma3, retaining 90-96% of unpruned performance on both tasks with significant efficiency gains. These results support DTM as a general framework for efficient transformers.

## CreditFilter: Calibrated Token Weights over the Within-Response Entropy Rank for RLVR

DevFeed: [CreditFilter: Calibrated Token Weights over the Within-Response Entropy Rank for RLVR](<https://devfeed.tech/articles/creditfilter-calibrated-token-weights-over-the-within-response-entropy-rank-for-rlvr-148718.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.27227>)

Author: Hanqing Zhao, Liuyue Xie, Rong-Cheng Tu, Xu Zhang, Davide Modolo, Dacheng Tao

Published: 2026-11-23T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [rlvr](<https://devfeed.tech/topics/rlvr.md>), [Language models](<https://devfeed.tech/topics/language-models.md>)

Tags: [adaptive](<https://devfeed.tech/tags/adaptive.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [base](<https://devfeed.tech/tags/base.md>), [batch](<https://devfeed.tech/tags/batch.md>), [budget](<https://devfeed.tech/tags/budget.md>), [class](<https://devfeed.tech/tags/class.md>), [code](<https://devfeed.tech/tags/code.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [entropy](<https://devfeed.tech/tags/entropy.md>), [expectation](<https://devfeed.tech/tags/expectation.md>), [extra](<https://devfeed.tech/tags/extra.md>), [fail](<https://devfeed.tech/tags/fail.md>), [fallback](<https://devfeed.tech/tags/fallback.md>), [fixed](<https://devfeed.tech/tags/fixed.md>), [flat](<https://devfeed.tech/tags/flat.md>), [fork](<https://devfeed.tech/tags/fork.md>), [forks](<https://devfeed.tech/tags/forks.md>), [rank](<https://devfeed.tech/tags/rank.md>), [response](<https://devfeed.tech/tags/response.md>), [rlvr](<https://devfeed.tech/tags/rlvr.md>), [token](<https://devfeed.tech/tags/token.md>)

### AI overview

CreditFilter redistributes RLVR token credit toward within-response entropy-rank positions where the policy is more likely to fork. The paper defines a token's forking value as the variance in success probability across next-token choices; estimating the fork consequence requires costly continuations, while fork probability is available from the softmax. On Qwen3-8B-Base, that probability decays exponentially with within-response entropy rank at class-specific rates. CreditFilter uses an exponential weighting window calibrated to this pattern, assuming approximately flat fork consequence; it adds no forward passes and uses difficulty damping and an entropy-gated fallback. Across three seeds, it reports gains over DAPO of 7.7 points on MATH500, 10.5 on AIME24, and 9.1 on AIME25; a dynamically adaptive variant matched it. Ablations indicate that within-response ranking and matching the window's decay rate both matter.

### Source excerpt

arXiv:2611.27227v1 Announce Type: cross Abstract: Critic-free reinforcement learning with verifiable rewards (RLVR) typically assigns a uniform advantage to every token. Token-reweighting heuristics like the 80/20 mask favor high-entropy tokens, but fail to measure a token's actual impact on the outcome. We formalize this impact as the forking value: the variance of the success probability over the policy's next-token choices. The expected forking values along a response sum exactly to the reward variance. Token credit is thus, in expectation over a prompt's responses, a fixed budget spent at the forks. This motivates weights that redistribute credit within a response. The forking value factorizes into a fork consequence, which requires costly continuations to estimate, and a fork probability, which the softmax provides. On Qwen3-8B-Base, this fork probability decays exponentially with a token's within-response entropy rank at class-specific rates, revealing that most tokens carry negligible forking value. CreditFilter weights each token by an exponential window over the same rank. The window is calibrated to this fork-probability envelope, under an approximately flat fork consequence. CreditFilter needs no extra forward passes and is stabilized by difficulty damping and an entropy-gated fallback. Averaged over three seeds, it outperforms DAPO by 7.7 points on MATH500 and by 10.5 and 9.1 points on AIME24 and AIME25. Its dynamically adaptive variant matches it. The ablations show that both parts matter: ranking tokens within each response rather than across the batch, and matching the window's decay rate to the envelope. Code is available at https://github.com/yoctta/CreditFilter.

## Average-Depth Variable Execution via Request-Local Token Routing

DevFeed: [Average-Depth Variable Execution via Request-Local Token Routing](<https://devfeed.tech/articles/average-depth-variable-execution-via-request-local-token-routing-148795.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.27738>)

Author: Pengjie Zheng, Mengwei Xie, Huan Yang, Si Wu, Pengfei Hu, Feng Li

Published: 2026-11-23T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [Language models](<https://devfeed.tech/topics/language-models.md>), [model architecture](<https://devfeed.tech/topics/model-architecture.md>)

Tags: [absolute](<https://devfeed.tech/tags/absolute.md>), [adapter](<https://devfeed.tech/tags/adapter.md>), [batch](<https://devfeed.tech/tags/batch.md>), [batches](<https://devfeed.tech/tags/batches.md>), [block](<https://devfeed.tech/tags/block.md>), [budget](<https://devfeed.tech/tags/budget.md>), [checkpoint](<https://devfeed.tech/tags/checkpoint.md>), [comparisons](<https://devfeed.tech/tags/comparisons.md>), [continuous](<https://devfeed.tech/tags/continuous.md>), [costs](<https://devfeed.tech/tags/costs.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [decode](<https://devfeed.tech/tags/decode.md>), [error](<https://devfeed.tech/tags/error.md>), [execution](<https://devfeed.tech/tags/execution.md>), [inference](<https://devfeed.tech/tags/inference.md>), [large-language-model](<https://devfeed.tech/tags/large-language-model.md>), [local](<https://devfeed.tech/tags/local.md>), [request](<https://devfeed.tech/tags/request.md>), [routing](<https://devfeed.tech/tags/routing.md>), [token](<https://devfeed.tech/tags/token.md>), [variable](<https://devfeed.tech/tags/variable.md>)

### AI overview

AVERT allocates Transformer computation across tokens within each request: at each routed layer, a router uses the token state and request budget to decide whether to run the block. Skipped tokens use a lightweight residual adapter and add no key/value entry at that layer. One checkpoint can handle different budgets in the same batch. Across three LLaMA backbones, six quality metrics, and 13 budgets, AVERT was best or tied in 206 of 234 comparisons; mean absolute per-request budget error was at most 1.15 percentage points. Mixing budgets reduced decode time per output token by 4.3-21.2% when grouping requests by budget left batches underfilled.

### Source excerpt

arXiv:2611.27738v1 Announce Type: new Abstract: Layer skipping can reduce large language model inference costs, but a request budget does not specify how to allocate layer execution across generated tokens. We introduce \method{}, which allows tokens to execute different numbers of layers while matching each request's mean executed depth to a continuous budget. At each routed layer, a router reads the current token state and its request's budget and decides whether to execute the Transformer block. Tokens that skip the block pass through a lightweight residual adapter and write no key/value (K/V) entry at that layer. A single checkpoint serves requests with different budgets in the same batch. Across three LLaMA backbones, six quality metrics, and 13 budgets, AVERT is best or tied for best in 206 of 234 comparisons. Across single- and mixed-budget batches, the mean absolute per-request budget error is at most 1.15 percentage points. When grouping requests by budget leaves batches underfilled, mixing budgets reduces decode time per output token (TPOT) by 4.3--21.2%.

## When MLLMs miss what humans read: diagnosing and learning to read squint text

DevFeed: [When MLLMs miss what humans read: diagnosing and learning to read squint text](<https://devfeed.tech/articles/when-mllms-miss-what-humans-read-diagnosing-and-learning-to-read-squint-text-148563.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2610.13465>)

Author: Chen Peng, Shan Huang, Jianbo Huang, Linrui Qin, Qibo Sun, Mengwei Xu

Published: 2026-11-23T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [vlm](<https://devfeed.tech/topics/vlm.md>), [multimodal-ai](<https://devfeed.tech/topics/multimodal-ai.md>), [image recognition](<https://devfeed.tech/topics/image-recognition.md>), [Image](<https://devfeed.tech/topics/image.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [Transformers](<https://devfeed.tech/topics/transformers.md>)

Tags: [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cv](<https://devfeed.tech/tags/cs-cv.md>), [decoding](<https://devfeed.tech/tags/decoding.md>), [distributions](<https://devfeed.tech/tags/distributions.md>), [glyph](<https://devfeed.tech/tags/glyph.md>), [inference](<https://devfeed.tech/tags/inference.md>), [learning](<https://devfeed.tech/tags/learning.md>), [llms](<https://devfeed.tech/tags/llms.md>), [mask](<https://devfeed.tech/tags/mask.md>), [moderation](<https://devfeed.tech/tags/moderation.md>), [multimodal](<https://devfeed.tech/tags/multimodal.md>), [production](<https://devfeed.tech/tags/production.md>), [recognition](<https://devfeed.tech/tags/recognition.md>), [spatial](<https://devfeed.tech/tags/spatial.md>), [student](<https://devfeed.tech/tags/student.md>), [synthetic](<https://devfeed.tech/tags/synthetic.md>), [text](<https://devfeed.tech/tags/text.md>), [token](<https://devfeed.tech/tags/token.md>), [transcription](<https://devfeed.tech/tags/transcription.md>), [weight](<https://devfeed.tech/tags/weight.md>)

### AI overview

Squint Text is image text that multimodal LLMs may miss and report as absent, even when humans can recover it by squinting. Across SquintBench (1,076 production-derived moderation images) and synthetic SquintCtrl, frozen-weight analyses found glyph identity weakly decodable with global pooling; restricting read-out to the text region, applying an exact glyph mask, and suppressing high-frequency content improved decoding, with visual token count also a possible factor. Squint OPSD trains a student using token-level supervision from a frozen teacher given a downscaled image and ground-truth transcription; at inference the student sees only the original image. It reached 88.61 ANLS on SquintBench, compared with 26.50 for the unadapted backbone, 24.44 for the best general-purpose model on the original view, and at most 68.60 for an off-the-shelf model given a downscaled view.

### Source excerpt

arXiv:2610.13465v2 Announce Type: replace-cross Abstract: Multimodal LLMs can fail to read text embedded in an image's coarse structure, text a human recovers by squinting, and report that no text is present. We name this class Squint Text and study it as a recognition deficiency, motivated by cases from a production moderation pipeline. We introduce SquintBench, comprising 1076 production-derived moderation images, and SquintCtrl, a controlled synthetic suite for mechanism diagnosis. Frozen-weight analysis shows that hidden text leaves a coarse signal while glyph identity is weakly decodable under global pooling. Restricting read-out to the text region improves glyph-identity decoding, identifying spatial selection as an important factor in glyph-identity read-out; an exact glyph mask further improves decoding. Suppressing high-frequency content also improves reading at a fixed visual-token budget, while visual token count may also contribute. These findings motivate Squint OPSD: a frozen teacher receives a downscaled view and the ground-truth transcription as privileged context, and its token-level distributions supervise a student along on-policy trajectories. At inference, the student reads the original image alone. Squint OPSD reaches 88.61 ANLS on SquintBench, versus 26.50 for the unadapted backbone, 24.44 for the best general-purpose model on the original view, and 68.60 at best for an off-the-shelf model under a downscaled view. These results substantially narrow the gap between available visual evidence and its generated read-out without auxiliary views at inference.

## WePM: Hierarchical Conflict Reconciliation for Unified MLLMs

DevFeed: [WePM: Hierarchical Conflict Reconciliation for Unified MLLMs](<https://devfeed.tech/articles/wepm-hierarchical-conflict-reconciliation-for-unified-mllms-148740.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.27365>)

Author: Zhiqiang Yuan, Qiwei Yan, Liwei Yang, Jinzhe Liu, Yang Liu, Zhongyan Hou, Liyan Xu, Peixiang Luo, Jiapei Zhang, Ying Deng, Jie Zhou, Jinchao Zhang

Published: 2026-11-23T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [Local AI](<https://devfeed.tech/topics/local-ai.md>), [smolvlm](<https://devfeed.tech/topics/smolvlm.md>), [LLM evaluation / benchmarking](<https://devfeed.tech/topics/llm-evaluation-benchmarking.md>), [Transformers](<https://devfeed.tech/topics/transformers.md>)

Tags: [banks](<https://devfeed.tech/tags/banks.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [budget](<https://devfeed.tech/tags/budget.md>), [budgeting](<https://devfeed.tech/tags/budgeting.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [decision](<https://devfeed.tech/tags/decision.md>), [devices](<https://devfeed.tech/tags/devices.md>), [distillation](<https://devfeed.tech/tags/distillation.md>), [generation](<https://devfeed.tech/tags/generation.md>), [gradient-accumulation](<https://devfeed.tech/tags/gradient-accumulation.md>), [guidance](<https://devfeed.tech/tags/guidance.md>), [inference](<https://devfeed.tech/tags/inference.md>), [knowledge-distillation](<https://devfeed.tech/tags/knowledge-distillation.md>), [multimodal](<https://devfeed.tech/tags/multimodal.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [schedules](<https://devfeed.tech/tags/schedules.md>), [sensitive-data](<https://devfeed.tech/tags/sensitive-data.md>), [spatial](<https://devfeed.tech/tags/spatial.md>), [stable](<https://devfeed.tech/tags/stable.md>), [supervision](<https://devfeed.tech/tags/supervision.md>), [token](<https://devfeed.tech/tags/token.md>)

### AI overview

WePM combines representation, generation, and decision tasks in one vision-language backbone to reduce the memory cost of deploying separate models. It allocates a fixed visual-token budget across global, regional, and fine-grained views (MGVB), uses soft teacher guidance to enrich separately collected task data without cross-task paired annotations (ULKD), and balances task contributions with loss weights, exposure schedules, and sequential gradient accumulation under memory limits (SEMO). In joint representation-generation evaluation, its Joint score rises from 38.15 to 52.74 across five evaluation groups. WePM-4B reports average scores of 72.86 for 30 embedding benchmarks, 62.41 for 39 generation benchmarks, and 61.11 for seven typed-decision benchmarks. Compared with the separate-model stack having the highest HCD, WePM reports slightly higher balanced performance, 61.9% less resident weight memory, and 2.64 times the HCD.

### Source excerpt

arXiv:2611.27365v1 Announce Type: new Abstract: Bringing multimodal intelligence from the cloud to users' devices keeps sensitive data local and reduces inference cost, but deploying a specialized model per capability duplicates vision-language capacity under tight memory and compute budgets. We formalize heterogeneous capability density (HCD), measuring how broadly and effectively a model serves heterogeneous task families per unit of resident inference memory. High HCD across representation, generation, and decision raises two challenges: these capabilities need visual evidence at different spatial granularities under a fixed token budget, and separately collected task corpora yield conflicting updates to shared parameters, while cross-task paired supervision is costly and ambiguous for open-ended inputs. We present WePM, a family of pocket models unifying representation, generation, and decision within one vision-language backbone. Multi-Granularity Visual Budgeting (MGVB) allocates a fixed visual-token budget across global, regional, and fine-grained banks; Unified Listwise Knowledge Distillation (ULKD) enriches separately collected data with soft teacher guidance, avoiding cross-task paired annotation; Stable and Efficient Multitask Optimization (SEMO) regulates each task's contribution through explicit loss weights and exposure schedules, with sequential gradient accumulation under memory constraints. In the joint representation-generation setting, WePM outperforms all baselines across five evaluation groups, raising the Joint score from 38.15 to 52.74. In single-task evaluation, WePM-4B attains the best average score over 30 embedding, 39 generation, and seven typed-decision benchmarks (72.86, 62.41, 61.11). Against the separate-model stack with the highest HCD, WePM achieves slightly higher balanced performance with 61.9% less resident weight memory, a 2.64-fold higher HCD.

## Python Devs Document 'De-fanging Dangerous Triggers In GitHub Actions'

DevFeed: [Python Devs Document 'De-fanging Dangerous Triggers In GitHub Actions'](<https://devfeed.tech/articles/python-devs-document-de-fanging-dangerous-triggers-in-github-actions-147844.md>)

Original publisher: [Read original article](<https://it.slashdot.org/story/26/11/22/0625233/python-devs-document-de-fanging-dangerous-triggers-in-github-actions>)

Author: EditorDavid

Published: 2026-11-22T16:34:00Z

Content type: news

Language: en

Sources: [Slashdot](<https://devfeed.tech/sources/slashdot.md>)

Topics: [GitHub](<https://devfeed.tech/topics/github.md>), [policy-as-code](<https://devfeed.tech/topics/policy-as-code.md>), [PyPI](<https://devfeed.tech/topics/pypi.md>)

Tags: [github](<https://devfeed.tech/tags/github.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [incidents](<https://devfeed.tech/tags/incidents.md>), [pull-request-target](<https://devfeed.tech/tags/pull-request-target.md>), [python](<https://devfeed.tech/tags/python.md>), [risk](<https://devfeed.tech/tags/risk.md>), [safety-security](<https://devfeed.tech/tags/safety-security.md>), [secrets](<https://devfeed.tech/tags/secrets.md>), [security](<https://devfeed.tech/tags/security.md>), [supply-chain](<https://devfeed.tech/tags/supply-chain.md>), [token](<https://devfeed.tech/tags/token.md>), [triggers](<https://devfeed.tech/tags/triggers.md>)

### AI overview

The `pull_request_target` and `issue_comment` GitHub Actions triggers can let outside contributors run code or inject commands in workflows that have repository credentials and secrets. By contrast, the excerpt says `pull_request` runs fork code with a read-only token and no secrets. Python Software Foundation security developers Seth Larson and Mike Fiedler removed the dangerous triggers across PSF-stewarded organizations and documented how others can apply policies. GitHub Team and Enterprise plans can block triggers organization-wide; Free plans require per-repository policies. The guidance is to check what a policy would block before enforcing it.

### Source excerpt

"A handful of GitHub Actions triggers let a stranger on the internet start a workflow that may have access to your secrets," warn two security developers at the Python Software Foundation. Have dangerous triggers caused real incidents? Yes, repeatedly... The maintainers behind these projects weren't careless. These triggers look harmless in a workflow file, and the unsafe version is one line away from the safe one... When someone opens a pull request from a fork, the pull_request trigger runs their code with a read-only token and no secrets. That's the safe one. pull_request_target looks almost the same in a workflow file and behaves very differently. It runs with a read/write token and access to your repository and organization secrets. GitHub built it for chores like labeling pull requests from forks, where the workflow never touches the contributor's code. The trouble starts when a workflow checks out the pull request and runs it anyway... Anyone with a GitHub account can open that pull request. Their code now runs with your credentials. This is called a "pwn request", and GitHub's docs describe it as the root cause of multiple supply-chain compromises. The issue_comment trigger carries the same risk. This trigger fires when anyone comments on an issue or pull request, and the workflow runs with the repository's token and secrets... Sometimes the workflow pastes the comment text into a templated shell command, and the comment turns out to inject different instructions into the workflow shell. Python's official security developer in residence Seth Larson joined PyPI safety/security engineer Mike Fiedler to remove these dangerous trigger, also applying the policies Python Software Foundation-stewarded GitHub organizations (psf, python, and pypi). "They also wrote up technical documentation on how to roll these policies out to your own projects and organizations. "On a GitHub Team or Enterprise plan, you can turn them off for every repository in your organization wi

## Six Password Reset Vulnerabilities and How to Prevent Them

DevFeed: [Six Password Reset Vulnerabilities and How to Prevent Them](<https://devfeed.tech/articles/six-password-reset-vulnerabilities-and-how-to-prevent-them-147398.md>)

Original publisher: [Read original article](<https://hackernoon.com/six-password-reset-vulnerabilities-and-how-to-prevent-them?source=rss>)

Author: HackerMe

Published: 2026-11-21T13:36:45Z

Content type: tutorial

Language: en

Sources: [HackerNoon](<https://devfeed.tech/sources/hackernoon.md>)

Topics: [password reset](<https://devfeed.tech/topics/password-reset.md>), [Secure token management](<https://devfeed.tech/topics/secure-token-management.md>), [rate-limiting](<https://devfeed.tech/topics/rate-limiting.md>), [account takeover](<https://devfeed.tech/topics/account-takeover.md>), [sessions](<https://devfeed.tech/topics/sessions.md>)

Tags: [account](<https://devfeed.tech/tags/account.md>), [appsec](<https://devfeed.tech/tags/appsec.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [enumeration](<https://devfeed.tech/tags/enumeration.md>), [hijacking](<https://devfeed.tech/tags/hijacking.md>), [host-header-injection](<https://devfeed.tech/tags/host-header-injection.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [link](<https://devfeed.tech/tags/link.md>), [owasp](<https://devfeed.tech/tags/owasp.md>), [owasp-password-reset](<https://devfeed.tech/tags/owasp-password-reset.md>), [password](<https://devfeed.tech/tags/password.md>), [password-reset](<https://devfeed.tech/tags/password-reset.md>), [password-reset-token-security](<https://devfeed.tech/tags/password-reset-token-security.md>), [password-security](<https://devfeed.tech/tags/password-security.md>), [prevent](<https://devfeed.tech/tags/prevent.md>), [reset](<https://devfeed.tech/tags/reset.md>), [session](<https://devfeed.tech/tags/session.md>), [tests](<https://devfeed.tech/tags/tests.md>), [token](<https://devfeed.tech/tags/token.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>), [web-security](<https://devfeed.tech/tags/web-security.md>)

### AI overview

Password reset flows can expose accounts or enable takeover through six weak points: account enumeration, untrusted host headers in reset links, weak or reusable tokens, token exposure or premature consumption, sessions left active after a reset, and missing owner notifications. The article recommends uniform messages, timing, and rate limits; configured HTTPS link origins; cryptographically random, hashed, single-use, expiring tokens with atomic redemption; no-referrer policy and no third-party scripts on reset pages; consuming tokens on POST; invalidating old sessions; and notifying the account owner. It gives staging tests for response differences, Host and X-Forwarded-Host poisoning, token reuse and expiry, GET behavior, page headers and scripts, and session invalidation. Tests should use accounts and systems the tester controls or has permission to assess. The Python token sketch is explicitly illustrative, in-memory, and unsuitable as a drop-in implementation; the article notes other recovery paths and production behavior need separate review.

### Source excerpt

Learn how to secure password reset flows against account enumeration, token theft, reset link poisoning, and session hijacking with practical tests.

## 3 Ways to Reduce LLM API Costs in AI-Powered Applications

DevFeed: [3 Ways to Reduce LLM API Costs in AI-Powered Applications](<https://devfeed.tech/articles/3-ways-to-reduce-llm-api-costs-in-ai-powered-applications-146450.md>)

Original publisher: [Read original article](<https://hackernoon.com/3-ways-to-reduce-llm-api-costs-in-ai-powered-applications?source=rss>)

Author: Murli Pawar

Published: 2026-11-20T14:22:43Z

Content type: article

Language: en

Sources: [HackerNoon](<https://devfeed.tech/sources/hackernoon.md>)

Topics: [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>), [cost-optimization](<https://devfeed.tech/topics/cost-optimization.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [React Native](<https://devfeed.tech/topics/react-native.md>), [LLM observability](<https://devfeed.tech/topics/llm-observability.md>), [Enhancing AI model performance](<https://devfeed.tech/topics/enhancing-ai-model-performance.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-agents-in-mobile-apps](<https://devfeed.tech/tags/ai-agents-in-mobile-apps.md>), [ai-logic](<https://devfeed.tech/tags/ai-logic.md>), [ai-mobile-app-development](<https://devfeed.tech/tags/ai-mobile-app-development.md>), [ai-powered](<https://devfeed.tech/tags/ai-powered.md>), [api](<https://devfeed.tech/tags/api.md>), [applications](<https://devfeed.tech/tags/applications.md>), [apps](<https://devfeed.tech/tags/apps.md>), [backend](<https://devfeed.tech/tags/backend.md>), [caching](<https://devfeed.tech/tags/caching.md>), [caching-strategies](<https://devfeed.tech/tags/caching-strategies.md>), [costs](<https://devfeed.tech/tags/costs.md>), [efficiency](<https://devfeed.tech/tags/efficiency.md>), [flutter](<https://devfeed.tech/tags/flutter.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llm-api](<https://devfeed.tech/tags/llm-api.md>), [on-device-ai-inference](<https://devfeed.tech/tags/on-device-ai-inference.md>), [optimization](<https://devfeed.tech/tags/optimization.md>), [prompt](<https://devfeed.tech/tags/prompt.md>), [prompt-optimization-techniques](<https://devfeed.tech/tags/prompt-optimization-techniques.md>), [rag-optimization](<https://devfeed.tech/tags/rag-optimization.md>), [react-native](<https://devfeed.tech/tags/react-native.md>), [react-native-ai-integration](<https://devfeed.tech/tags/react-native-ai-integration.md>), [reduce](<https://devfeed.tech/tags/reduce.md>), [reduce-llm-api-costs](<https://devfeed.tech/tags/reduce-llm-api-costs.md>), [strategies](<https://devfeed.tech/tags/strategies.md>), [token](<https://devfeed.tech/tags/token.md>)

### AI overview

The article recommends reducing LLM costs across prompts, caching, and backend request controls. Trim repeated prompt instructions, limit output length, summarize older chat turns, and use compact structured output; these changes reduce billed tokens without new infrastructure. Cache static prompt prefixes with provider caching, reuse identical or carefully matched similar responses, and cache suitable results on-device. Avoid caching personalized or time-sensitive answers, and follow compliance rules for regulated data. Route calls through a backend proxy to centralize limits and logging, protect API keys, send simpler tasks to smaller models, use retrieval to include only relevant context, and set per-user budgets with fallback behavior. Flutter and React Native can help reduce request volume through on-device inference, local storage, conversation-state management, and input controls, but they do not optimize tokens automatically. The article names Flutter Firebase AI Logic and React Native ExecuTorch for local inference, while noting platform-support considerations for Flutter.

### Source excerpt

Learn how to reduce LLM API costs using prompt optimization, caching, and backend strategies while improving token efficiency in Flutter and React Native apps.

## Best Tools for Multi-Tenant API Credentials

DevFeed: [Best Tools for Multi-Tenant API Credentials](<https://devfeed.tech/articles/best-tools-for-multi-tenant-api-credentials-146954.md>)

Original publisher: [Read original article](<https://www.swytchcode.com/content/best-multi-tenant-credential-tools>)

Author: Swytchcode Team

Published: 2026-11-20T09:00:00Z

Content type: comparison

Language: en

Sources: [Swytchcode](<https://devfeed.tech/sources/swytchcode.md>)

Topics: [tenant data protection](<https://devfeed.tech/topics/tenant-data-protection.md>), [Multi Agent Systems](<https://devfeed.tech/topics/multi-agent-systems.md>), [AI Context Management](<https://devfeed.tech/topics/ai-context-management.md>), [REST API](<https://devfeed.tech/topics/rest-api.md>)

Tags: [access-control](<https://devfeed.tech/tags/access-control.md>), [agents](<https://devfeed.tech/tags/agents.md>), [api](<https://devfeed.tech/tags/api.md>), [best](<https://devfeed.tech/tags/best.md>), [call](<https://devfeed.tech/tags/call.md>), [credentials](<https://devfeed.tech/tags/credentials.md>), [customer](<https://devfeed.tech/tags/customer.md>), [integrations](<https://devfeed.tech/tags/integrations.md>), [multi-tenant](<https://devfeed.tech/tags/multi-tenant.md>), [risk](<https://devfeed.tech/tags/risk.md>), [tenant](<https://devfeed.tech/tags/tenant.md>), [token](<https://devfeed.tech/tags/token.md>), [tools](<https://devfeed.tech/tags/tools.md>)

### AI overview

The key risk in multi-tenant agents is a valid API call using the wrong customer's token. Nango, WorkOS Pipes, and Auth0 Token Vault enforce tenant boundaries through storage or tenant context; Composio and Arcade require each call to identify the acting user, so isolation depends on the calling code or identity-provider check. Paragon/ActionKit ties pricing to connected users, while Arcade charges per auth event and tool call. Swytchcode selects credentials per tenant at execution time, runs on customer-controlled infrastructure, and adds policy checks, safe retries, validation, and audit records, but does not host an end-user OAuth connection screen. The excerpt frames Swytchcode as an execution layer that can complement a separate connection product.

### Source excerpt

The real risk in multi-tenant agents is a correct-looking call that runs against the wrong customer's token. Here's who actually stops that.

## Best Tools for Multi-Tenant API Credentials in 2026

DevFeed: [Best Tools for Multi-Tenant API Credentials in 2026](<https://devfeed.tech/articles/best-tools-for-multi-tenant-api-credentials-in-2026-148334.md>)

Original publisher: [Read original article](<https://www.swytchcode.com/content/best-tools-for-multi-tenant-api-credentials-in-2026>)

Author: Swytchcode Team

Published: 2026-11-20T09:00:00Z

Content type: comparison

Language: en

Sources: [Swytchcode](<https://devfeed.tech/sources/swytchcode.md>)

Topics: [tenant data protection](<https://devfeed.tech/topics/tenant-data-protection.md>), [Multi-step AI processes](<https://devfeed.tech/topics/multi-step-ai-processes.md>), [API Business Models](<https://devfeed.tech/topics/api-business-models.md>), [Auth0](<https://devfeed.tech/topics/auth0.md>)

Tags: [000](<https://devfeed.tech/tags/000.md>), [2](<https://devfeed.tech/tags/2.md>), [2026](<https://devfeed.tech/tags/2026.md>), [3](<https://devfeed.tech/tags/3.md>), [about](<https://devfeed.tech/tags/about.md>), [access-control](<https://devfeed.tech/tags/access-control.md>), [account](<https://devfeed.tech/tags/account.md>), [agents](<https://devfeed.tech/tags/agents.md>), [ai-agent-api-execution](<https://devfeed.tech/tags/ai-agent-api-execution.md>), [ai-agent-api-integration-platform](<https://devfeed.tech/tags/ai-agent-api-integration-platform.md>), [api](<https://devfeed.tech/tags/api.md>), [best](<https://devfeed.tech/tags/best.md>), [call](<https://devfeed.tech/tags/call.md>), [credentials](<https://devfeed.tech/tags/credentials.md>), [customer](<https://devfeed.tech/tags/customer.md>), [here](<https://devfeed.tech/tags/here.md>), [here-s](<https://devfeed.tech/tags/here-s.md>), [integrations](<https://devfeed.tech/tags/integrations.md>), [multi-tenant](<https://devfeed.tech/tags/multi-tenant.md>), [risk](<https://devfeed.tech/tags/risk.md>), [swytchcode](<https://devfeed.tech/tags/swytchcode.md>), [tenant](<https://devfeed.tech/tags/tenant.md>), [token](<https://devfeed.tech/tags/token.md>), [tool-calling-runtime](<https://devfeed.tech/tags/tool-calling-runtime.md>), [tools](<https://devfeed.tech/tags/tools.md>)

### AI overview

The key risk in multi-tenant agents is a valid API call using another customer's credential. Nango, WorkOS Pipes, and Auth0 Token Vault enforce tenant context in credential storage; WorkOS can also proxy requests so plaintext tokens stay server-side, while Auth0's organization-bound tokens require separate connections per organization. Composio requires an end-user ID on each execution, and Arcade ties authorization to identities verified by the customer's identity provider, so both depend on correct identity context at call time. Paragon/ActionKit attaches credentials and actions to connected-user records and prices by user count. Swytchcode selects a tenant's credential during execution on customer-controlled infrastructure and adds allowlists, policy checks, safe retries, validation, and auditing, but does not host the OAuth consent screen. The excerpt suggests pairing a connect-screen provider with an execution layer when wrong-tenant calls or duplicate writes would be costly; simpler setups may suffice when calls are cheap to retry and non-destructive.

### Source excerpt

The real risk in multi-tenant agents is a correct-looking call that runs against the wrong customer's token. Here's who actually stops that.

## ProtoDiffusion: Token-per-Layer Generative Modeling of Multi-Layer Images

DevFeed: [ProtoDiffusion: Token-per-Layer Generative Modeling of Multi-Layer Images](<https://devfeed.tech/articles/protodiffusion-token-per-layer-generative-modeling-of-multi-layer-images-145688.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.26586>)

Author: Adri\\\`a Ciurana Lanau, Harleen Hanspal, Lusine Abrahamyan, Emilio Tylson Baixauli, Yu Cao, Danai Triantafyllidou, Stefano Zorzi, Gustavo Zanoni Felipe, Peter Griger, Stefan Sietzen, Petru-Daniel Tudos

Published: 2026-11-20T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [stable-diffusion](<https://devfeed.tech/topics/stable-diffusion.md>), [ai-image-generator](<https://devfeed.tech/topics/ai-image-generator.md>), [VAE](<https://devfeed.tech/topics/vae.md>), [Representation learning](<https://devfeed.tech/topics/representation-learning.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [abstract](<https://devfeed.tech/tags/abstract.md>), [alpha](<https://devfeed.tech/tags/alpha.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [autoencoder](<https://devfeed.tech/tags/autoencoder.md>), [box](<https://devfeed.tech/tags/box.md>), [candidate](<https://devfeed.tech/tags/candidate.md>), [canvas](<https://devfeed.tech/tags/canvas.md>), [cascade](<https://devfeed.tech/tags/cascade.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [decoder](<https://devfeed.tech/tags/decoder.md>), [design](<https://devfeed.tech/tags/design.md>), [designs](<https://devfeed.tech/tags/designs.md>), [diffusion](<https://devfeed.tech/tags/diffusion.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [generative](<https://devfeed.tech/tags/generative.md>), [images](<https://devfeed.tech/tags/images.md>), [layer](<https://devfeed.tech/tags/layer.md>), [modeling](<https://devfeed.tech/tags/modeling.md>), [token](<https://devfeed.tech/tags/token.md>)

### AI overview

ProtoDiffusion represents a layered design with one shared spatial prototype and one candidate vector per layer, reducing the representation to HW+N tokens before backbone packing versus NHW for full-grid-per-layer approaches. It jointly denoises the prototype and fixed candidate slots from image or text; bounding boxes can guide layout, while the model can leave unused slots empty and infer layer count and, without boxes, layout. On LayerD, image-to-design RGB L1 is 0.040 with boxes and 0.057 without; box-guided alpha soft IoU is 0.850 versus 0.871 for the strongest fine-tuned baseline. For text-to-design merged images, it reports FID 66.41 versus FLUX.2 [klein] at 86.84, text accuracy 0.860, and 19.1x faster generation than a same-backbone generation-then-decomposition cascade. These are abstract-reported results.

### Source excerpt

arXiv:2611.26586v1 Announce Type: new Abstract: Graphic designs are ordered compositions of RGBA layers whose separation enables selection, movement, and reuse. Existing layered models represent each layer with a full-canvas or region-sized spatial latent grid, so representation size grows with the cumulative spatial extent of the layers. We present ProtoDiffusion, a latent-diffusion framework built on ProtoVAE, a multi-layer variational autoencoder that encodes a design into one shared spatial prototype and one candidate vector per layer. Each candidate conditions a shared decoder to reconstruct its corresponding RGBA layer. For $N$ layers, the representation contains $HW+N$ tokens before backbone-specific packing, compared with $NHW$ for full-grid-per-layer representations. ProtoDiffusion jointly denoises the prototype and a fixed set of candidate slots, conditioned on an image or text, with bounding boxes as optional layout guidance. The model leaves unneeded slots empty and determines the number of layers and, in absence of boxes, their layout, requiring neither as input. The same architecture supports both image-to-design and text-to-design. ProtoVAE achieves high-fidelity reconstruction from its compact shared latent representation, reaching 40.43 dB PSNR on layer crops. On the LayerD evaluation split, image-to-design achieves RGB L1 scores of 0.040 with bounding boxes and 0.057 without, with box-guided alpha soft IoU (0.850) comparable to the strongest fine-tuned baseline (0.871). On merged images, text-to-design reaches 66.41 FID versus 86.84 for FLUX.2 [klein], achieves a 0.860 text-accuracy score, and runs $19.1\times$ faster than the same-backbone generation-then-decomposition cascade.

## VisAlloc: Allocating Visual Supervision for On-Policy Self-Distillation

DevFeed: [VisAlloc: Allocating Visual Supervision for On-Policy Self-Distillation](<https://devfeed.tech/articles/visalloc-allocating-visual-supervision-for-on-policy-self-distillation-145461.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.25069>)

Author: Haoran Xu, Tian Chen, Yuhe Wu, Yanbo Zhao, Junchi Liao, Hongyu Wang, Jiaze Li, Wentao Wang, Yanfeng Li, Rui Qian

Published: 2026-11-20T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>), [Post-training optimization](<https://devfeed.tech/topics/post-training-optimization.md>), [smolvlm](<https://devfeed.tech/topics/smolvlm.md>)

Tags: [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cv](<https://devfeed.tech/tags/cs-cv.md>), [distillation](<https://devfeed.tech/tags/distillation.md>), [filter](<https://devfeed.tech/tags/filter.md>), [large-language-models](<https://devfeed.tech/tags/large-language-models.md>), [reasoning](<https://devfeed.tech/tags/reasoning.md>), [supervision](<https://devfeed.tech/tags/supervision.md>), [token](<https://devfeed.tech/tags/token.md>)

### AI overview

VisAlloc allocates visual supervision in on-policy self-distillation using two filters: a paired-teacher sample filter keeps cases answered correctly from an evidence-centered crop but incorrectly from a spatially displaced crop; then token weights reflect view sensitivity or disagreement between EMA teachers scoring the same student response. Frozen-prior, template-bigram, and student-teacher divergence gates constrain added supervision, whose total weight is redistributed by inverse frequency within each micro-batch. The positive-view teacher alone supplies distillation targets, and inference uses only the full-image student. Across eight benchmarks, the 4B and 9B models report macro-averages of 81.44 and 84.92, exceeding Vision-OPD reproductions by 0.97 and 0.52 points, respectively.

### Source excerpt

arXiv:2611.25069v1 Announce Type: cross Abstract: On-policy self-distillation (OPSD) offers a promising approach to improving visual reasoning in multimodal large language models (MLLMs). However, not all samples benefit equally from privileged visual guidance, and uniform token supervision can dilute visually grounded signals. We propose VisAlloc, a dual-level framework combining sample-level visual filtering with token-level counterfactual reweighting. A fixed paired-teacher filter retains samples answered correctly from an evidence-centered positive crop but incorrectly from a spatially displaced negative crop. At the token level, both EMA teachers score the same student-generated response, and their absolute log-probability differences measure view sensitivity. Additional supervision targets tokens admitted by sensitivity or teacher-distribution disagreement, with shared frozen-prior, template-bigram, and student--teacher divergence gates. Inverse-frequency redistribution preserves the total additional weight within each micro-batch, while the positive teacher remains the sole distillation target. Inference requires only the full-image student. Across eight benchmarks, our 4B and 9B models achieve macro-averages of 81.44 and 84.92, outperforming Vision-OPD reproductions by 0.97 and 0.52 points, respectively. Code on GitHub: https://github.com/Kaelyn01/VisAlloc

## C-LiTE: A Lightweight Foundation Model for Cellular feature learning in Histopathology

DevFeed: [C-LiTE: A Lightweight Foundation Model for Cellular feature learning in Histopathology](<https://devfeed.tech/articles/c-lite-a-lightweight-foundation-model-for-cellular-feature-learning-in-histopathology-145653.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.26316>)

Author: Esha Sadia Nasir, Jiaqi Lv, Gozde N. Gunesli, Shan E Ahmed Raza

Published: 2026-11-20T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [AI Foundation Models](<https://devfeed.tech/topics/ai-foundation-models.md>), [Representation learning](<https://devfeed.tech/topics/representation-learning.md>), [Training AI Models](<https://devfeed.tech/topics/training-ai-models.md>), [Dataset development](<https://devfeed.tech/topics/dataset-development.md>), [image recognition](<https://devfeed.tech/topics/image-recognition.md>), [Fine-tuning](<https://devfeed.tech/topics/fine-tuning.md>)

Tags: [cellular](<https://devfeed.tech/tags/cellular.md>), [classification](<https://devfeed.tech/tags/classification.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cv](<https://devfeed.tech/tags/cs-cv.md>), [embedding](<https://devfeed.tech/tags/embedding.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [f1](<https://devfeed.tech/tags/f1.md>), [features](<https://devfeed.tech/tags/features.md>), [fewer](<https://devfeed.tech/tags/fewer.md>), [figure](<https://devfeed.tech/tags/figure.md>), [foundation-model](<https://devfeed.tech/tags/foundation-model.md>), [lightweight](<https://devfeed.tech/tags/lightweight.md>), [native](<https://devfeed.tech/tags/native.md>), [public](<https://devfeed.tech/tags/public.md>), [representation-learning](<https://devfeed.tech/tags/representation-learning.md>), [token](<https://devfeed.tech/tags/token.md>), [training-dataset](<https://devfeed.tech/tags/training-dataset.md>), [transformation](<https://devfeed.tech/tags/transformation.md>), [type](<https://devfeed.tech/tags/type.md>), [vit](<https://devfeed.tech/tags/vit.md>)

### AI overview

C-LiTE is a 22-million-parameter model for learning cellular features from H&E histopathology images. It processes 64x64-pixel cell-centred crops at native resolution, using 4x4-pixel patches to form a 16x16 token grid without upsampling; its patch embedding is initialized by adapting weights from a pre-trained ViT-5-S with a pseudoinverse-based transformation. The model is pre-trained on 60 million TCGA cell crops balanced across 19 cancer types and 16 tissue types. Across seven public datasets for mitotic figure recognition, nucleus and cell-type classification, and immune-cell phenotyping, frozen-feature evaluation yields mean macro-F1 0.670, close to CytoFormer's 0.682 with about 30 times fewer parameters. These findings are limited to the reported evaluation setting.

### Source excerpt

arXiv:2611.26316v1 Announce Type: cross Abstract: Characterising individual cells is fundamental to computational pathology, as cellular morphology informs tasks such as tumour grading, mitotic assessment and immune profiling. However, most pathology foundation models are trained on tissue patches and capture cellular features only implicitly, while existing cell-level models are either restricted to specific cell populations or rely on computationally expensive architectures with hundreds of millions of parameters. Applying ViTs directly to small cellular crops also presents an architectural challenge: upsampling increases computational cost without adding morphological information and may introduce interpolation artefacts. To address these limitations, we introduce C-LiTE, a lightweight foundation model for cellular representation learning in H&E-stained histopathology, with only 22 million parameters. C-LiTE employs a native-resolution tokenisation strategy tailored to cellular inputs, processing 64 x 64 px cell-centred crops using a 4 x 4 patch embedding to produce a 16 x 16 token grid without image upsampling. To transfer visual knowledge from large-scale pre-training, we adapt the patch embedding weights of a pre-trained ViT-5-S using a pseudoinverse-based transformation, enabling weight initialisation at the finer patch resolution. We further assemble a pre-training dataset of 60 million cell-centred crops from TCGA, balanced across 19 cancer types and 16 tissue types. To our knowledge, this represents the largest public dataset for self-supervised pre-training on H&E images at the cellular level. We evaluate C-LiTE on seven public datasets spanning mitotic figure recognition, nucleus and cell-type classification, and immune cell phenotyping. Under frozen-feature evaluation, C-LiTE achieves a mean macro-F1 of 0.670, approaching CytoFormer (0.682) with approximately 30x fewer parameters.

## Periodic and Harmonic Periodic RoPE for Length Extrapolation in LLMs

DevFeed: [Periodic and Harmonic Periodic RoPE for Length Extrapolation in LLMs](<https://devfeed.tech/articles/periodic-and-harmonic-periodic-rope-for-length-extrapolation-in-llms-145339.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2605.27980>)

Author: Simin Huo, Ning Li

Published: 2026-11-20T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [Large Language Model](<https://devfeed.tech/topics/llm.md>), [long-context](<https://devfeed.tech/topics/long-context.md>), [LLM Techniques](<https://devfeed.tech/topics/llm-techniques.md>)

Tags: [attention](<https://devfeed.tech/tags/attention.md>), [code](<https://devfeed.tech/tags/code.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [embedding](<https://devfeed.tech/tags/embedding.md>), [error](<https://devfeed.tech/tags/error.md>), [extrapolation](<https://devfeed.tech/tags/extrapolation.md>), [hp](<https://devfeed.tech/tags/hp.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [llms](<https://devfeed.tech/tags/llms.md>), [positional-encoding](<https://devfeed.tech/tags/positional-encoding.md>), [results](<https://devfeed.tech/tags/results.md>), [rope](<https://devfeed.tech/tags/rope.md>), [rotation](<https://devfeed.tech/tags/rotation.md>), [sliding-window](<https://devfeed.tech/tags/sliding-window.md>), [tasks](<https://devfeed.tech/tags/tasks.md>), [test](<https://devfeed.tech/tags/test.md>), [token](<https://devfeed.tech/tags/token.md>), [training](<https://devfeed.tech/tags/training.md>), [window](<https://devfeed.tech/tags/window.md>), [wrap](<https://devfeed.tech/tags/wrap.md>), [yarn](<https://devfeed.tech/tags/yarn.md>)

### AI overview

Periodic RoPE (P-RoPE) and Harmonic Periodic RoPE (HP-RoPE) are designed to extend context length alongside sliding window attention. P-RoPE repeats the first W RoPE angles, limiting the model to W distinct angles, but creates a wrap error at window boundaries. HP-RoPE selects frequencies that complete whole turns within W tokens to remove that error. In comparisons where models differed only in window-layer position encoding, both methods kept perplexity nearly flat from the 768-token training length to 16k; standard RoPE, NTK, and YaRN showed rising perplexity. At 16k, P-RoPE and HP-RoPE scored 99-100% on a format-free Passkey test, compared with 11-37% for the RoPE interpolations.

### Source excerpt

arXiv:2605.27980v2 Announce Type: replace-cross Abstract: The ability to process long contexts is crucial for large language models (LLMs) to perform long-horizon tasks. Rotary position embedding (RoPE) gives every token a new rotation angle, so a model eventually meets angles it never saw in training, i.e., position exhaustion. We propose Periodic RoPE (P-RoPE), a positional encoding mechanism that operates in conjunction with sliding window attention. It repeats the first sliding-window-size \(W\) angles of the RoPE table, so the model needs only \(W\) distinct angles. P-RoPE works but introduces a wrap error at the window boundary. We further propose Harmonic Periodic RoPE (HP-RoPE), which removes the error by choosing frequencies that complete whole turns in \(W\) tokens. We compare models that share the same architecture, data, and schedule and differ only in the window-layer position encoding: standard RoPE, P-RoPE, and HP-RoPE. The results show that P-RoPE and HP-RoPE keep perplexity nearly flat from the training length \(768\) to \(16\)k, while RoPE, NTK, and YaRN rise. In a format-free Passkey test at \(16\)k, they remain at \(99\)--\(100\%\), against \(11\)--\(37\%\) for those RoPE interpolations. The code is available at \href{https://github.com/Cominder/miniwin}{https://github.com/Cominder/miniwin}.

## Supportive Token Revealing for Fast Diffusion Language Model Decoding

DevFeed: [Supportive Token Revealing for Fast Diffusion Language Model Decoding](<https://devfeed.tech/articles/supportive-token-revealing-for-fast-diffusion-language-model-decoding-144901.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2606.04236>)

Author: Giries Abu Ayoub, Mario Barbara, Llu\\'is Pastor-P\\'erez, Tanja Bien, Aneesh Barthakur, Alaa Maalouf, Loay Mualem

Published: 2026-11-20T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [Language models](<https://devfeed.tech/topics/language-models.md>), [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>), [Decoding](<https://devfeed.tech/topics/decoding.md>)

Tags: [attention](<https://devfeed.tech/tags/attention.md>), [axon](<https://devfeed.tech/tags/axon.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [code](<https://devfeed.tech/tags/code.md>), [code-generation](<https://devfeed.tech/tags/code-generation.md>), [confidence](<https://devfeed.tech/tags/confidence.md>), [context](<https://devfeed.tech/tags/context.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [decode](<https://devfeed.tech/tags/decode.md>), [decoder](<https://devfeed.tech/tags/decoder.md>), [decoding](<https://devfeed.tech/tags/decoding.md>), [denoising](<https://devfeed.tech/tags/denoising.md>), [dependency](<https://devfeed.tech/tags/dependency.md>), [diffusion](<https://devfeed.tech/tags/diffusion.md>), [evaluations](<https://devfeed.tech/tags/evaluations.md>), [existing](<https://devfeed.tech/tags/existing.md>), [experiments](<https://devfeed.tech/tags/experiments.md>), [fast](<https://devfeed.tech/tags/fast.md>), [language](<https://devfeed.tech/tags/language.md>), [language-model](<https://devfeed.tech/tags/language-model.md>), [token](<https://devfeed.tech/tags/token.md>)

### AI overview

AXON is a training-free add-on for parallel diffusion language model decoders that aims to make remaining uncertain tokens easier to denoise. It monitors those tokens and, when they appear to need more context, uses attention, uncertainty, and confidence signals to select confident masked tokens as anchors for later denoising. This shifts the reveal criterion from which token is safest to reveal to which reveal would best support other tokens, while leaving the base decoder in place. On reasoning and code-generation benchmarks across multiple diffusion models, the abstract reports improved quality-latency trade-offs, often with fewer function evaluations while maintaining or improving accuracy.

### Source excerpt

arXiv:2606.04236v2 Announce Type: replace-cross Abstract: Discrete diffusion language models can generate text efficiently by updating multiple masked positions in parallel, but this parallelism introduces a quality-latency trade-off. Aggressive decoding may commit mutually dependent tokens too early, while conservative decoding requires many denoising steps. Existing methods address this tension by deciding which tokens are safe to reveal using confidence or dependency criteria. However, avoiding unsafe commits does not necessarily make the remaining masked sequence easy to decode, since uncertain tokens may depend on masked tokens, creating a bottleneck for denoising steps. We propose AXON, a training-free module that can be added on top of existing parallel decoding strategies for diffusion language models. Rather than replacing the base decoder, AXON monitors the remaining uncertain masked tokens and intervenes only when their current state suggests that additional context is needed. It then shifts the criterion from which tokens are safest to reveal to which confident reveals would best support later denoising. AXON selects anchors, confident masked tokens that uncertain positions attend to, using attention, uncertainty, and confidence signals. Experiments on reasoning and code-generation benchmarks across multiple diffusion language models show that AXON improves the quality-latency trade-off of existing parallel decoders, often reducing the number of function evaluations while maintaining or improving accuracy.

## Rethinking Visual Attribution for Chest X-ray Reasoning in Large Vision Language Models

DevFeed: [Rethinking Visual Attribution for Chest X-ray Reasoning in Large Vision Language Models](<https://devfeed.tech/articles/rethinking-visual-attribution-for-chest-x-ray-reasoning-in-large-vision-language-models-145335.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2605.20158>)

Author: Guangzhi Xiong, Qiao Jin, Sanchit Sinha, Zhiyong Lu, Aidong Zhang

Published: 2026-11-20T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [vlm](<https://devfeed.tech/topics/vlm.md>), [Medical imaging](<https://devfeed.tech/topics/medical-imaging.md>), [LLM evaluation / benchmarking](<https://devfeed.tech/topics/llm-evaluation-benchmarking.md>), [llm-reasoning](<https://devfeed.tech/topics/llm-reasoning.md>)

Tags: [annotations](<https://devfeed.tech/tags/annotations.md>), [attribution](<https://devfeed.tech/tags/attribution.md>), [code](<https://devfeed.tech/tags/code.md>), [computer-science](<https://devfeed.tech/tags/computer-science.md>), [computer-vision](<https://devfeed.tech/tags/computer-vision.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [cs-cv](<https://devfeed.tech/tags/cs-cv.md>), [data](<https://devfeed.tech/tags/data.md>), [evaluation](<https://devfeed.tech/tags/evaluation.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [medical](<https://devfeed.tech/tags/medical.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [optimal-transport](<https://devfeed.tech/tags/optimal-transport.md>), [reasoning](<https://devfeed.tech/tags/reasoning.md>), [spatial](<https://devfeed.tech/tags/spatial.md>), [token](<https://devfeed.tech/tags/token.md>), [vision-language-models](<https://devfeed.tech/tags/vision-language-models.md>), [vqa](<https://devfeed.tech/tags/vqa.md>)

### AI overview

The study finds that existing visual attribution methods often fail to identify the evidence large vision-language models use for chest X-ray answers. Its causal evaluation framework keeps only question-answering samples where counterfactual editing verifies that the expert-annotated region affects the model's prediction; it evaluates 11 attribution methods across six open-source models and direct-answer and step-by-step reasoning modes. The proposed MedFocus method uses unbalanced optimal transport to localize clinically meaningful anatomical regions and targeted interventions to measure their effect on outputs. It provides spatial, concept-level, and token-level attributions and substantially outperforms prior methods in the reported evaluation.

### Source excerpt

arXiv:2605.20158v2 Announce Type: replace-cross Abstract: Large Vision Language Models (LVLMs) show promise in medical applications, but their inability to faithfully ground responses in visual evidence raises serious concerns about clinical trustworthiness. While visual attribution methods are widely used to explain LVLM predictions, whether these explanations actually reflect the visual evidence underlying the model's decision is largely unverified, since ground-truth annotations for internal model reasoning are typically unavailable. We address this question for chest X-ray (CXR) reasoning by developing a causal evaluation framework that retains only CXR-VQA samples for which the expert-annotated region is verified, via counterfactual editing, to be causally responsible for the model's prediction. Using this framework across 11 attribution methods, six open-source LVLMs, and two output modes (direct answer and step-by-step reasoning), we find that existing attribution methods often fail to identify the evidence used by LVLMs. To address this failure, we propose MedFocus, a concept-based attribution method that localizes clinically meaningful anatomical regions via unbalanced optimal transport and measures their causal effect on model outputs through targeted interventions. MedFocus produces spatial, concept-level, and token-level attributions and substantially outperforms prior methods, taking a step toward more trustworthy attribution for medical LVLMs. Our data and code are available at https://github.com/gzxiong/medfocus/.

## Secure token generation for Amazon IVS Real-Time Streaming with AWS WAF

DevFeed: [Secure token generation for Amazon IVS Real-Time Streaming with AWS WAF](<https://devfeed.tech/articles/secure-token-generation-for-amazon-ivs-real-time-streaming-with-aws-waf-146285.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/media/secure-token-generation-for-amazon-ivs-real-time-streaming-with-aws-waf/>)

Author: Leo Wong

Published: 2026-11-20T01:16:46Z

Content type: tutorial

Language: en

Sources: [AWS for M&E Blog](<https://devfeed.tech/sources/aws-for-m-e-blog.md>)

Topics: [Secure token management](<https://devfeed.tech/topics/secure-token-management.md>), [Amazon API Gateway](<https://devfeed.tech/topics/amazon-api-gateway.md>)

Tags: [advanced-300](<https://devfeed.tech/tags/advanced-300.md>), [amazon-api-gateway](<https://devfeed.tech/tags/amazon-api-gateway.md>), [amazon-cognito](<https://devfeed.tech/tags/amazon-cognito.md>), [amazon-interactive-video-service](<https://devfeed.tech/tags/amazon-interactive-video-service.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [automated-traffic](<https://devfeed.tech/tags/automated-traffic.md>), [aws-cloudformation](<https://devfeed.tech/tags/aws-cloudformation.md>), [aws-lambda](<https://devfeed.tech/tags/aws-lambda.md>), [aws-secrets-manager](<https://devfeed.tech/tags/aws-secrets-manager.md>), [aws-waf](<https://devfeed.tech/tags/aws-waf.md>), [captcha](<https://devfeed.tech/tags/captcha.md>), [challenge](<https://devfeed.tech/tags/challenge.md>), [cryptographic](<https://devfeed.tech/tags/cryptographic.md>), [generation](<https://devfeed.tech/tags/generation.md>), [real-time](<https://devfeed.tech/tags/real-time.md>), [technical-how-to](<https://devfeed.tech/tags/technical-how-to.md>), [token](<https://devfeed.tech/tags/token.md>)

### AI overview

The example protects the Amazon IVS Real-Time token-issuing endpoint by checking caller country and the request's Origin header with AWS WAF before API Gateway invokes a Lambda signer. Lambda retrieves a private key from AWS Secrets Manager, looks up the stage endpoints, and issues a subscribe-only JWT with a configurable expiry; IVS validates it with the registered public key. The walkthrough deploys the components with CloudFormation and covers key setup, secret population, Lambda upload, testing, and cleanup. These checks filter token requests, but do not authenticate callers or stop VPN/proxy use, arbitrary Origin headers from non-browser clients, or token sharing before expiry. The post recommends caller authentication, identity-based capability authorization, short lifetimes, and WAF rate limits for production, and says the sample needs further hardening and review.

### Source excerpt

This post shows how to build a token-issuing service for Amazon IVS Real-Time Streaming with AWS WAF, Amazon API Gateway, AWS Lambda, and AWS Secrets Manager. It restricts a Real-Time stage by country and origin and signs tokens server-side with a cryptographic key pair.

## Use Amazon ECR global authentication token across AWS Regions

DevFeed: [Use Amazon ECR global authentication token across AWS Regions](<https://devfeed.tech/articles/use-amazon-ecr-global-authentication-token-across-aws-regions-146422.md>)

Original publisher: [Read original article](<https://aws.amazon.com/blogs/containers/use-amazon-ecr-global-authentication-token-across-aws-regions/>)

Author: Sourav Kundu

Published: 2026-11-19T20:09:23Z

Content type: article

Language: en

Sources: [Containers](<https://devfeed.tech/sources/containers.md>)

Topics: [Secure token management](<https://devfeed.tech/topics/secure-token-management.md>), [AWS IAM](<https://devfeed.tech/topics/aws-iam.md>), [AWS CloudTrail](<https://devfeed.tech/topics/aws-cloudtrail.md>)

Tags: [2](<https://devfeed.tech/tags/2.md>), [amazon](<https://devfeed.tech/tags/amazon.md>), [amazon-elastic-container-registry](<https://devfeed.tech/tags/amazon-elastic-container-registry.md>), [announcements](<https://devfeed.tech/tags/announcements.md>), [authentication](<https://devfeed.tech/tags/authentication.md>), [authentication-tokens](<https://devfeed.tech/tags/authentication-tokens.md>), [aws](<https://devfeed.tech/tags/aws.md>), [docker](<https://devfeed.tech/tags/docker.md>), [global](<https://devfeed.tech/tags/global.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [images](<https://devfeed.tech/tags/images.md>), [intermediate-200](<https://devfeed.tech/tags/intermediate-200.md>), [lifetime](<https://devfeed.tech/tags/lifetime.md>), [minutes](<https://devfeed.tech/tags/minutes.md>), [one](<https://devfeed.tech/tags/one.md>), [partition](<https://devfeed.tech/tags/partition.md>), [post](<https://devfeed.tech/tags/post.md>), [regions](<https://devfeed.tech/tags/regions.md>), [request](<https://devfeed.tech/tags/request.md>), [sign](<https://devfeed.tech/tags/sign.md>), [sign-in](<https://devfeed.tech/tags/sign-in.md>), [token](<https://devfeed.tech/tags/token.md>), [tokens](<https://devfeed.tech/tags/tokens.md>)

### AI overview

Amazon ECR global authentication tokens let one bearer token authenticate to ECR registry endpoints across AWS Regions within the same partition, simplifying multi-Region pushes and pulls. Request it through AWS Sign-In with `CreateBearerToken` for `ecr.amazonaws.com`; the caller needs `signin:CreateBearerToken`, and the token carries the caller's existing IAM permissions, which ECR checks for every operation. Its lifetime defaults to 12 hours and can be shortened to 5 minutes. AWS CLI 2.39.7 or later supports the command, and the ECR credential helper, Kubernetes credential provider, and GitHub Actions login action can opt in. CloudTrail records a shared sign-in session ARN on token issuance and authorized ECR events, supporting cross-Region tracing and session-specific denial. Registries and images remain Regional, existing regional tokens continue to work, and opt-in Regions require account enrollment. The walkthrough also cautions that credential tooling must accept variable-length tokens.

### Source excerpt

Amazon ECR now supports global authentication tokens: request one token from AWS Sign-In and use it to push and pull images across AWS Regions in the same partition, with a lifetime from 5 minutes to 12 hours. This post shows how to request a global token and use it with Docker in two Regions.

## Improving Cross-Lingual Token Representations by Adding a Pinch of SALT

DevFeed: [Improving Cross-Lingual Token Representations by Adding a Pinch of SALT](<https://devfeed.tech/articles/improving-cross-lingual-token-representations-by-adding-a-pinch-of-salt-142559.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2609.09953>)

Author: Guillem Ram\\'irez

Published: 2026-11-19T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [Representation learning](<https://devfeed.tech/topics/representation-learning.md>), [Enhancing AI model performance](<https://devfeed.tech/topics/enhancing-ai-model-performance.md>), [Embeddings](<https://devfeed.tech/topics/embeddings.md>), [Fine-tuning](<https://devfeed.tech/topics/fine-tuning.md>), [Internationalization (i18n)](<https://devfeed.tech/topics/i18n.md>)

Tags: [alignment](<https://devfeed.tech/tags/alignment.md>), [classification](<https://devfeed.tech/tags/classification.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cl](<https://devfeed.tech/tags/cs-cl.md>), [detection](<https://devfeed.tech/tags/detection.md>), [fine-tuning](<https://devfeed.tech/tags/fine-tuning.md>), [hallucination-detection](<https://devfeed.tech/tags/hallucination-detection.md>), [languages](<https://devfeed.tech/tags/languages.md>), [learning](<https://devfeed.tech/tags/learning.md>), [lightweight](<https://devfeed.tech/tags/lightweight.md>), [mining](<https://devfeed.tech/tags/mining.md>), [performance](<https://devfeed.tech/tags/performance.md>), [post-training](<https://devfeed.tech/tags/post-training.md>), [retrieval](<https://devfeed.tech/tags/retrieval.md>), [salt](<https://devfeed.tech/tags/salt.md>), [sequence](<https://devfeed.tech/tags/sequence.md>), [signal](<https://devfeed.tech/tags/signal.md>), [span](<https://devfeed.tech/tags/span.md>), [supervision](<https://devfeed.tech/tags/supervision.md>), [tasks](<https://devfeed.tech/tags/tasks.md>), [token](<https://devfeed.tech/tags/token.md>), [translation](<https://devfeed.tech/tags/translation.md>)

### AI overview

SALT improves token representations in cross-lingual sentence encoders by post-training them with span-level supervision. Across five multilingual token-level benchmarks, it achieves the best overall results on four, outperforming alternative fine-tuning strategies and competitive encoders. The abstract also reports gains on cross-lingual retrieval and classification, suggesting the method can benefit sentence-level performance too.

### Source excerpt

arXiv:2609.09953v2 Announce Type: replace-cross Abstract: Cross-lingual sentence encoders enable scalable transfer across hundreds of languages, powering applications such as translation mining and zero-shot learning in low-resource settings. Although trained for sentence-level alignment, they are increasingly also applied to token-level tasks such as hallucination detection and sequence tagging, exposing a mismatch between training and usage. We propose SALT, a lightweight post-training method that improves token representations by injecting span-level supervision into existing sentence encoders. Across five multilingual token-level benchmarks, SALT achieves the best overall results on four of them, outperforming alternative fine-tuning strategies and competitive encoders. It also improves sentence-level performance on cross-lingual retrieval and classification tasks. These results demonstrate that span-level supervision is an effective signal for improving both token and sentence representations.

## NullTok: empirical-null token selection for training-free long video understanding

DevFeed: [NullTok: empirical-null token selection for training-free long video understanding](<https://devfeed.tech/articles/nulltok-empirical-null-token-selection-for-training-free-long-video-understanding-142716.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.23881>)

Author: Zhang Ziyue, Juwei Jian, Baiyang Song, Yunshan Zhong, Jun Peng, Yiyi Zhou, Rongrong Ji

Published: 2026-11-19T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [LLM Techniques](<https://devfeed.tech/topics/llm-techniques.md>), [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>), [Language models](<https://devfeed.tech/topics/language-models.md>), [Transformers](<https://devfeed.tech/topics/transformers.md>), [qwen](<https://devfeed.tech/topics/qwen.md>)

Tags: [audio](<https://devfeed.tech/tags/audio.md>), [benchmarks](<https://devfeed.tech/tags/benchmarks.md>), [bounded](<https://devfeed.tech/tags/bounded.md>), [budget](<https://devfeed.tech/tags/budget.md>), [control](<https://devfeed.tech/tags/control.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cv](<https://devfeed.tech/tags/cs-cv.md>), [deduplication](<https://devfeed.tech/tags/deduplication.md>), [experimental](<https://devfeed.tech/tags/experimental.md>), [llava](<https://devfeed.tech/tags/llava.md>), [monte-carlo](<https://devfeed.tech/tags/monte-carlo.md>), [multimodal](<https://devfeed.tech/tags/multimodal.md>), [null](<https://devfeed.tech/tags/null.md>), [patch](<https://devfeed.tech/tags/patch.md>), [qwen3](<https://devfeed.tech/tags/qwen3.md>), [selection](<https://devfeed.tech/tags/selection.md>), [semantic](<https://devfeed.tech/tags/semantic.md>), [token](<https://devfeed.tech/tags/token.md>), [training](<https://devfeed.tech/tags/training.md>), [video](<https://devfeed.tech/tags/video.md>)

### AI overview

NullTok selects video tokens by calibrating each patch's query affinity against same-position scores from 64 group-matched irrelevant control queries. Under a conditional exchangeability assumption, these references yield discrete super-uniform right-tail Monte Carlo p-values. Calibrated screening and a high-recall semantic guard identify candidates, followed by visual deduplication and joint spatiotemporal budget allocation. The training-free method is evaluated with frozen LLaVA-Video-7B and Qwen3-VL-8B backbones. At a cap of 64 full-frame equivalents, without subtitles or audio, it scores 65.81% and 68.85% on Video-MME, respectively, outperforming the evaluated baselines at the same budget for both backbones.

### Source excerpt

arXiv:2611.23881v1 Announce Type: cross Abstract: Long video understanding remains a daunting challenge for existing multimodal large language models (MLLMs), mainly due to the large number of visual tokens accumulated in long videos. Currently, frame selection and token selection are two main paradigms for addressing this issue, both aiming to select relevant visual information to form a compact input for MLLMs. A natural approach combines these two paradigms by selecting frames before pruning tokens, but noisy frame-level relevance estimates can cause irreversible evidence loss. In this paper, we study this problem from the perspective of assessing the spatiotemporal distribution of query-specific evidence and propose a novel and training-free approach termed NULLTOK. For every patch across all frames, we construct an empirical-null distribution from 64 group-matched irrelevant control queries, capturing the scores expected in the absence of target-specific evidence. Target affinities are calibrated against these same-position references into right-tail Monte Carlo p-values, which are discrete super-uniform under a conditional exchangeability assumption. Calibrated screening and a high-recall semantic guard produce candidate tokens for deterministic visual deduplication and joint spatiotemporal budget allocation. To validate NullTok, we apply it to two representative MLLMs and conduct extensive experiments on a set of video benchmarks. The experimental results demonstrate its effectiveness under a bounded visual token budget. For example, it achieves 65.81% and 68.85% on Video-MME using frozen LLaVA-Video-7B and Qwen3-VL-8B backbones, respectively, at a cap of 64 full-frame equivalents (FFE), without subtitles or audio. These results outperform all evaluated baselines on Video-MME under the same budget for both backbones. Code is available at https://github.com/potato-kitty/NullTok.

## Resolution as Attention for Efficient Agent Memory Perception

DevFeed: [Resolution as Attention for Efficient Agent Memory Perception](<https://devfeed.tech/articles/resolution-as-attention-for-efficient-agent-memory-perception-142794.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.24422>)

Author: Siqi Xiang, Zhipeng Xu, Shengrui Liu, Zulong Chen, Chunyan Miao, Shijian Lu

Published: 2026-11-19T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [AI Context Management](<https://devfeed.tech/topics/ai-context-management.md>), [Artificial Intelligence](<https://devfeed.tech/topics/ai.md>), [AI Agent](<https://devfeed.tech/topics/ai-agent.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>)

Tags: [adaptive](<https://devfeed.tech/tags/adaptive.md>), [agent](<https://devfeed.tech/tags/agent.md>), [agent-memory](<https://devfeed.tech/tags/agent-memory.md>), [agents](<https://devfeed.tech/tags/agents.md>), [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [attention](<https://devfeed.tech/tags/attention.md>), [computer-science](<https://devfeed.tech/tags/computer-science.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cv](<https://devfeed.tech/tags/cs-cv.md>), [layer](<https://devfeed.tech/tags/layer.md>), [llm](<https://devfeed.tech/tags/llm.md>), [management](<https://devfeed.tech/tags/management.md>), [mechanism](<https://devfeed.tech/tags/mechanism.md>), [memory](<https://devfeed.tech/tags/memory.md>), [memory-management](<https://devfeed.tech/tags/memory-management.md>), [multiple](<https://devfeed.tech/tags/multiple.md>), [performance](<https://devfeed.tech/tags/performance.md>), [relevance](<https://devfeed.tech/tags/relevance.md>), [tasks](<https://devfeed.tech/tags/tasks.md>), [token](<https://devfeed.tech/tags/token.md>), [token-consumption](<https://devfeed.tech/tags/token-consumption.md>), [token-savings](<https://devfeed.tech/tags/token-savings.md>)

### AI overview

Resolution as Attention (RAA) allocates perceptual detail across an agent's interaction history by rendering past interactions as images and adjusting each image's resolution according to its relevance to the next decision. A lightweight relevance estimator is trained with teacher guidance and optimized to preserve decision consistency while reducing visual-token use. The abstract reports over 50% lower token consumption without compromising task performance across multiple tasks and backbones. RAA can also be added as a perception layer to existing memory-management methods for further token savings. These claims are based on the supplied abstract; it gives no task-level results or implementation details.

### Source excerpt

arXiv:2611.24422v1 Announce Type: new Abstract: LLM-based agents accumulate extensive interaction histories when solving complex, long-horizon tasks, making efficient memory management critical to their performance and scalability. While existing memory management methods primarily focus on what to retain or retrieve, they often overlook how much perceptual detail should be allocated to individual past interactions. We posit that effective agent memory depends not only on the information preserved, but also on the granularity at which each past interaction is perceived. Motivated by this insight, we propose Resolution as Attention (RAA), a memory perception mechanism that uses visual resolution as a means of attention allocation across interaction histories. RAA renders past interactions as images and dynamically adjusts their resolution at every step according to their relevance to the agent's upcoming decision, preserving fine-grained information for critical interactions while reducing visual-token consumption for less relevant ones. To adaptively determine the perceptual fidelity of each interaction, we train a lightweight relevance estimator with teacher-model guidance and further optimize it to preserve the agent's decision consistency at a reduced visual-token cost. Experiments across multiple tasks and backbones show that RAA reduces token consumption by over 50% without compromising task performance. Moreover, RAA can be integrated as a plug-in perception layer with existing memory management methods, yielding further token savings and revealing adaptive perception as a complementary dimension of agent memory.

## PANC: Prior-Aware Normalized Cut for Training-Free In-Context Segmentation

DevFeed: [PANC: Prior-Aware Normalized Cut for Training-Free In-Context Segmentation](<https://devfeed.tech/articles/panc-prior-aware-normalized-cut-for-training-free-in-context-segmentation-142505.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2602.06912>)

Author: Juan Guti\\'errez, Victor Guti\\'errez-Garc\\'ia, Jos\\'e Luis Blanco-Murillo

Published: 2026-11-19T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [image recognition](<https://devfeed.tech/topics/image-recognition.md>), [Image](<https://devfeed.tech/topics/image.md>)

Tags: [affinity](<https://devfeed.tech/tags/affinity.md>), [anchor](<https://devfeed.tech/tags/anchor.md>), [clicks](<https://devfeed.tech/tags/clicks.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cv](<https://devfeed.tech/tags/cs-cv.md>), [datasets](<https://devfeed.tech/tags/datasets.md>), [external](<https://devfeed.tech/tags/external.md>), [fine-tuning](<https://devfeed.tech/tags/fine-tuning.md>), [graph](<https://devfeed.tech/tags/graph.md>), [image](<https://devfeed.tech/tags/image.md>), [masks](<https://devfeed.tech/tags/masks.md>), [nodes](<https://devfeed.tech/tags/nodes.md>), [object](<https://devfeed.tech/tags/object.md>), [pipeline](<https://devfeed.tech/tags/pipeline.md>), [semantic](<https://devfeed.tech/tags/semantic.md>), [sign](<https://devfeed.tech/tags/sign.md>), [stabilization](<https://devfeed.tech/tags/stabilization.md>), [structure](<https://devfeed.tech/tags/structure.md>), [study](<https://devfeed.tech/tags/study.md>), [target](<https://devfeed.tech/tags/target.md>), [token](<https://devfeed.tech/tags/token.md>), [training](<https://devfeed.tech/tags/training.md>)

### AI overview

PANC uses a small set of foreground and background tokens from annotated context images to guide training-free segmentation of a target concept, without fine-tuning or target-image clicks. It adds two labeled anchor nodes to a frozen ViT affinity graph; these softly bias the Normalized Cut eigenspace without clamping target tokens or replacing their affinity structure. Prior-aware sign stabilization and thresholding produce deterministic masks. The abstract reports gains over architecture-matched no-prior token-graph baselines across saliency and low-semantic domains, with the largest gains when class-agnostic saliency is ambiguous or weak.

### Source excerpt

arXiv:2602.06912v3 Announce Type: replace-cross Abstract: We study training-free in-context segmentation with externally annotated context priors: given a target image and a small set of foreground/background tokens extracted from annotated context images, the goal is to segment the corresponding target concept without training, fine-tuning, or target-image clicks. Existing ViT-token spectral methods such as TokenCut are class-agnostic and can select the wrong object in multi-object scenes, or become unstable in low-semantic texture-dominated domains. We propose PANC, a prior-aware spectral segmentation pipeline that injects external labeled tokens into a frozen ViT affinity graph through two foreground/background anchor nodes. The anchors do not clamp target-image tokens; instead, they softly bias the Normalized Cut eigenspace while preserving the target-image affinity structure. PANC further uses prior-aware sign stabilization and prior-driven thresholding to obtain deterministic masks. Across heterogeneous saliency datasets and homogeneous low-semantic domains, PANC improves over architecture-matched no-prior token-graph baselines, with the largest gains in settings where class-agnostic saliency is ambiguous or weak.

## Learning to Coordinate: LLM-Guided Workflow Evolution for Token-Efficient Red Teaming

DevFeed: [Learning to Coordinate: LLM-Guided Workflow Evolution for Token-Efficient Red Teaming](<https://devfeed.tech/articles/learning-to-coordinate-llm-guided-workflow-evolution-for-token-efficient-red-teaming-142769.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.24221>)

Author: Xiaoyang Xing, Wenyu Dai, Xiaoliang Gong, Asoke K Nandi, Anthony Cohn

Published: 2026-11-19T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>)

Topics: [LLM security](<https://devfeed.tech/topics/llm-security.md>), [Multi Agent Systems](<https://devfeed.tech/topics/multi-agent-systems.md>), [agentic workflows](<https://devfeed.tech/topics/agentic-workflows.md>), [Fine-tuning](<https://devfeed.tech/topics/fine-tuning.md>)

Tags: [1-4](<https://devfeed.tech/tags/1-4.md>), [abstract](<https://devfeed.tech/tags/abstract.md>), [adaptive](<https://devfeed.tech/tags/adaptive.md>), [agent](<https://devfeed.tech/tags/agent.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [asr](<https://devfeed.tech/tags/asr.md>), [automated](<https://devfeed.tech/tags/automated.md>), [budget](<https://devfeed.tech/tags/budget.md>), [but](<https://devfeed.tech/tags/but.md>), [can](<https://devfeed.tech/tags/can.md>), [capabilities](<https://devfeed.tech/tags/capabilities.md>), [case](<https://devfeed.tech/tags/case.md>), [change](<https://devfeed.tech/tags/change.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [evolution](<https://devfeed.tech/tags/evolution.md>), [learning](<https://devfeed.tech/tags/learning.md>), [llm](<https://devfeed.tech/tags/llm.md>), [red](<https://devfeed.tech/tags/red.md>), [red-teaming](<https://devfeed.tech/tags/red-teaming.md>), [token](<https://devfeed.tech/tags/token.md>), [workflow](<https://devfeed.tech/tags/workflow.md>)

### AI overview

L2C adapts multi-agent red-teaming workflows case by case to reduce coordination costs while preserving attack success. It records agent responsibilities, dependencies, input bindings, and information exchanged in a versioned graph; a supervised fine-tuned controller uses those records, target responses, evaluator verdicts, and remaining budget to keep or revise the workflow, or stop further edits. The abstract reports evaluation on HarmBench with three execution backbones and two target models. Across six executor-target configurations, L2C improved attack success rate over EvoSynth by 1.4-4.5 percentage points and reduced mean online token use by 35.6%-37.3%. These findings are limited to the described evaluation; the supplied text does not provide further methodological or result details.

### Source excerpt

arXiv:2611.24221v1 Announce Type: new Abstract: Automated red teaming is essential for identifying safety failures in large language models (LLMs), but its practical scalability depends on the resources required to discover those failures. Multi-agent systems can combine complementary capabilities, yet repeated planning, redundant exchanges, and ineffective information routing can make their coordination expensive. Moreover, a target model's response indicates the outcome of a test without identifying which collaboration decision should change. We present Learning to Coordinate (L2C), an LLM-guided framework that evolves an executable multi-agent workflow for each red-teaming case. L2C represents agent responsibilities, execution dependencies, and input bindings in a versioned graph, and associates each graph with records of the information actually delivered and produced. A controller trained through supervised fine-tuning integrates these records with target responses, evaluator verdicts, and remaining budget to retain the workflow, refine instructions, restructure collaboration, or lock further editing. This design connects feedback to explicit changes in subsequent execution while allowing a useful organization to continue without repeated controller intervention. The evaluation protocol covers HarmBench with three execution backbones and two target models, together with component ablations, dataset transfer, and evaluator checks. Across the six executor-target configurations, L2C improves ASR over EvoSynth by 1.4 to 4.5 percentage points while reducing mean online tokens by 35.6% to 37.3%. L2C connects adaptive collaboration to the resource requirements of automated security evaluation.

[Next page](<https://devfeed.tech/tags/token.md?cursor=WyIyMDI2LTExLTE5VDA1OjAwOjAwKzAwOjAwIiwgIjIzYjM5NGE2LTU1YTctNGExOC04MWYxLTI2NjlhODU4Nzg2ZCJd>)