Anúncio

Privum

Construímos, protegemos e operamos sua infraestrutura digital.

Software, sistemas de IA, testes de intrusão e cloud segura para empresas.

Falar com a Privum

Tópico

LLMs

3.821documentos

253últimos 7 dias

arXiv AI Papers

Where, What, and How to Forget: A Causal-Geometric Framework for Selective Capability Unlearning

Capability unlearning in large language models faces a fundamental tension: removing a targeted capability deeply enough to resist recovery while preserving unrelated functionality. Existing methods largely treat unlearning as an optimization problem, modifying broad parameter regions without accounting for how capabilities are represented and executed. We instead formulate capability unlearning as a causal-geometric intervention problem, asking where a capability is causally mediated, what representational structure supports it, and how it can be selectively modified while limiting interference. We introduce LOCUS (Localized Orthogonal Capability Unlearning through Subspaces), a three-stage framework combining hierarchical bidirectional causal localization, contrastive capability-subspace estimation, utility-aware geometric projection, and localized utility-orthogonal hardening. We evaluate LOCUS on Qwen3-8B, Gemma-3-4B-IT, and Phi-4-mini-instruct across biological, cybersecurity, and chemical capabilities from WMDP alongside broad retained-utility benchmarks. Across model families, LOCUS achieves competitive forgetting while retaining substantially more general utility than global optimization baselines, with gains growing under stronger forgetting. Mechanistic analyses show that capability effects concentrate in a restricted set of components and are captured by low-dimensional representation structure, while cross-domain evaluations show limited interference with other hazardous capabilities. Recovery experiments further show that LOCUS consistently slows recovery under representation steering, target-domain relearning, and adversarial LoRA fine-tuning, though strong adaptation can partially restore the capability. Overall, exploiting causal support and representational geometry enables more selective, recovery-resistant unlearning than broad parameter optimization.

en
arXiv AI Papers

Four Tokens to Find Waldo: Steering Deterministic Visual Search in Frozen VLMs

To tackle fine-grained visual reasoning, such as the classic "Where is Waldo?", recent Vision-Language Models (VLMs) adopt active visual search, which dynamically examines images in a multi-turn paradigm. Existing methods execute the search as a sequential chain of crop-and-zoom actions and reasoning across turns, resulting in an open-ended trajectory that requires costly full-backbone reinforcement learning (RL) and incurs high latency. In fact, modern VLMs can already reason over the global scene and locate regions of interest in a single turn, allowing them to be analyzed independently for fine local details rather than through step-by-step exploration. Building on this insight, we collapse open-ended search into a deterministic three-turn trajectory: the VLM first proposes a search policy and all candidate crops from the global view, next inspects each zoomed-in patch in parallel to produce local findings, and then aggregates them into a final answer. Fully leveraging the VLM's own capabilities, we can steer this search simply by learning as few as four prefix tokens via supervised fine-tuning while keeping the model completely frozen. Across five challenging fine-grained benchmarks, our method consistently outperforms both multi-turn RL methods and frontier proprietary models, surpassing Claude Opus 4.8 by 15.3% on WaldoBench and boosting Gemini 3.1 Pro by up to 50.4% when transferring proposed crops as a plug-and-play visual front-end.

en
arXiv AI Papers

Collective Intelligence or Collective Error? Social-Epistemic Dynamics in Diverse Multi-Agent Societies

Multi-agent systems increasingly rely on societies of language-model agents differing in capability, reasoning behavior, functional role, and social position. While diversity can offer complementary information, interaction can also cause agents to overweight socially influential signals and amplify collective error. We study this through a social-epistemic framework treating collective reasoning as an evolving process shaped by agent diversity, interaction topology, social status, and the alignment between social influence and epistemic competence. Across controlled experiments spanning heterogeneous language models, reasoning benchmarks, and the interactive ALFWorld environment, we systematically vary these factors while separating evidence-driven belief updates from source-driven social influence. Diversity alone does not reliably yield collective intelligence: unstructured heterogeneity produces only modest, inconsistent gains, whereas competence-aligned social influence delivers substantial accuracy improvements. Conversely, when influence concentrates on less competent agents, repeated interaction systematically degrades performance and erases useful epistemic disagreement. This pattern persists in sequential decision making, where competence-aligned interaction boosts task success while adversarial influence compounds errors. Mechanistically, source status alters how identical evidence is weighted, giving high-status sources disproportionate weight even when their evidence is weak or incorrect-a distortion that compounds over repeated interaction and turns local social bias into collective error.

en
arXiv AI Papers

Endogenous Forgetting in RL Post-Training

A central challenge in scaling reinforcement learning (RL) for LLM post-training is how models continue to learn new behaviors while preserving previously acquired ones. We study endogenous forgetting---where a model loses previously accessible behaviors due to non-stationarity that arises because the evolving model determines the effective data distribution---as a potential barrier to scaling on-policy RL. We first isolate endogenous forgetting via a controlled experiment: we collect successful traces from an RL run and show that supervised learning on these traces in temporal order leads to substantially more forgetting and lower solution coverage than training with a shuffled order. We then investigate successful-trajectory replay as a way to mitigate endogenous forgetting. Across multiple reasoning tasks and model families, replay reduces forgetting and prompt-level performance oscillations, achieves comparable or higher final pass@1, and substantially improves solution coverage relative to standard RL.

en
arXiv AI Papers

MapSelect: Mapping Preservation and Adapter Selection for Continual Multimodal Instruction Tuning

Continual multimodal instruction tuning enables multimodal large language models to acquire new capabilities, but sequential adaptation often degrades performance on earlier tasks. Existing methods retain task-wise language adapters, whose effective use also depends on the visual mapping and adapter selection. We investigate these factors through controlled projector and expert interventions and show that both can recover forgotten answers. Based on these observations, we propose MapSelect, which combines mapping preservation with adapter selection. History-Guided Mapping Adaptation (HMA) retains task-specific projector adapters and guides new updates with historical mapping directions. Selection-Guided Adapter Reuse (SAR) incorporates related historical language adapters during learning and maintains prompt-conditioned selection throughout each answer. Pretrained Subspace Guidance (PSG) further constrains language updates with pretrained weight directions. Experiments on UCIT and MLLM-DCL achieve Mean Final Accuracy of 74.52 and 66.28, respectively. Ablations and controlled comparisons demonstrate the benefits of visual adaptation, historical adapter reuse, and pretrained guidance for continual learning.

en
arXiv AI Papers

Universal scaling law

Scaling laws are the bedrock for foundation model training, yet standard scaling laws are largely restricted to evaluating cross-entropy loss at terminal checkpoints -- leaving the continuous dynamics of general observables under-explored. In this work, we establish universal scaling laws across large language models (LLM) and multi-modal language models (MMLM) that accurately characterize the any-time-any-scale trajectories of losses, evaluation metrics, and parameter norms. To establish this unified framework, we integrate three key pillars: conventional end-point scaling laws, convex optimization theory, and an enhanced collapse transformation. We systematically validate this framework across diverse model architectures, optimizers, training hyperparameters, compute regimes, and modalities, providing a principled recipe for universal scaling.

en
arXiv AI Papers

From Visual Similarity to Exact Match: Joint Mining of Product and User Interactions for VLM Ranking in E-commerce Multimodal Search

Image-based product search often retrieves visually similar items that differ in identity-critical specifications. Existing methods optimize visual similarity or reason over predefined attributes, but rarely learn item-specific, behavior-informed representations for query interpretation and ranking. We represent decision-relevant attributes as schema-valid keys and catalog-supported values selected using behavioral signals. Query-product agreement on these attributes provides factor-level compatibility evidence for exact-match reranking. We propose a three-stage framework. First, an offline teacher uses product content and privileged evidence from historical search and filtering interactions to train a content-only student, which infers behavior-informed attributes without interaction features at serving time. These attributes are validated against multiple catalog sources for compatibility scoring. Second, a retrieval-augmented multimodal large language model performs schema-grounded visual reasoning to predict visually supported query attributes in the same catalog schema. Third, an offline ranking policy adapts attribute weights and hierarchical fusion priorities to query intent, aligning queries and products through visual fidelity and factor-level compatibility. On a large-scale e-commerce platform, our framework improves human-evaluated Top-1 exact-match relevance by 5.54 percentage points. Online A/B testing increases transactions by 2.16% and GMV by 4.11%, demonstrating the effectiveness of behavior-informed product representations, query-side visual reasoning, and SKU-level ranking.

en
arXiv AI Papers

When Accuracy Is Not Enough: Evaluating Trustworthiness in High-Stakes Lease Interpretation

Large language models are increasingly used to explain legal and contractual information, but standard evaluations centred on answer accuracy can miss failures that are consequential in high-stakes settings. In lease interpretation, a response may appear correct while relying on inapplicable legal material, unsupported evidence, or an inappropriate decision to answer. We present an evaluation framework that characterises trustworthiness along three dimensions: legal correctness, evidence integrity, and decision safety, together with explicit hard-failure criteria for serious errors. We study this framework in New South Wales residential tenancy using a 2,000-question benchmark and a stepwise comparison of progressively safeguarded system configurations, from direct generation to applicability-aware retrieval, evidence-first generation, evidence checking, and selective response behaviour. On the protected test set, answer accuracy increases only from 82.3% to 84.0%, while the Trustworthy Response Rate (TRR) rises from 58.7% to 82.3% and the Hard Failure Rate (HFR) falls from 20.7% to 5.7%. Two configurations with identical 83.7% Answer Accuracy achieve different TRR (72.0% versus 78.0%) and HFR (11.7% versus 8.0%). These results show that configurations that appear equivalent under answer accuracy can differ substantially under response level trustworthiness measures.

en
arXiv AI Papers

Beyond Automation: How LLMs Change Human Penetration Testing

The integration of large language models (LLMs) into penetration testing (PT) presents new opportunities to enhance testing through human--AI collaboration. However, How LLMs change human penetration testing remains underexplored. To address this gap, we combine a community survey of 167 respondents with a controlled PT study involving 40 participants in 20 matched pairs, complemented by analysis of Human--LLM interactions and execution traces. Our survey reveals widespread LLM use across PT activities, alongside recurring problems and continued human intervention and output verification. Even assuming sufficient technical capability for autonomous PT, 85% of respondents consider human involvement necessary. In the controlled PT study, LLM-assisted participants produce more valid findings and achieve broader penetration, while out-of-scope testing also becomes more prevalent. We further examine interaction and execution traces to understand how human--LLM collaboration shapes attack progression and finding formation. Our findings show that LLMs amplify human PT capabilities while increasing demands for evidence validation and scope control. Our study highlights the changing role of human expertise as LLMs expand practical PT capabilities. We discuss implications for coordinating human and LLM contributions, allocating decision authority, and developing verification and control mechanisms to support effective human--LLM collaboration.

en
arXiv AI Papers

Translated Summary Conditioning for Multilingual Large Language Model Pretraining

Machine-translated data is widely used to compensate for the scarcity of the pretraining data of non-English large language models, yet it remains unclear what text should be translated and how it should be combined with non-translated data. We propose Translated Summary Conditioning (TSC), a simple pretraining data construction method that generates a one-sentence summary for each English document using an LLM, translates the summary into a target language, and prepends it to its English source document. This turns an English corpus into bilingual training examples, in which each non-English summary describes the English document that follows, while increasing the corpus size by only 4.2--22.4\%. We pretrain 1.3B-parameter models from scratch on five typologically diverse languages: French, Japanese, Hindi, Bengali, and Swahili. Each is compared with a baseline trained on the same English and native non-English documents without prepended summaries. TSC improves average non-English performance for all five languages, with average gains of up to 8.52 points for Japanese on our evaluation tasks, while English performance remains largely unchanged.

en
arXiv AI Papers

FINDER: Studying and Repairing What Test-Time Learning Changes in Deep-Research Agents

Test-time learning (TTL) lets a frozen language-model agent keep improving after deployment by turning its own experience into natural-language lessons read from its context. Its accuracy gains, however, do not reveal what the learned experience changes; this question remains under-explored for deep research, where an agent must repeatedly search, verify evidence, and decide when to answer. We present a process-level study on BrowseComp-Plus: we assign every incorrect trajectory from three frozen backbones a primary failure family and use the same families to classify the behavioral targets of experience learned by two representative TTL methods. Failures are concentrated but model-specific. General-purpose TTL raises accuracy without reliably repairing the dominant families, even though the learned artifacts already cover those families. This coverage-outcome mismatch shows that naming a failure in experience is not sufficient to change the action that produces it. Guided by this finding, we propose FINDER, which organizes experience by the Find, Verify, and Decide stages of the search workflow, diagnoses where a failed rollout diverges from a successful one, grounds a corrective lesson in that contrast and in retriever feedback, and curates it into a bounded playbook. Across four frozen backbones, FINDER improves judged accuracy by 3.7 to 19.2 points, and the same diagnostic shows that its gains repair each backbone's own bottlenecks with far fewer regressions than the baselines and without issuing more searches. Our code is available at https://github.com/larryinx/finder.

en
arXiv AI Papers

When Does a Memory Descendant Need Repair? Structural Lineage vs. Stale State in Persistent Agent Memory

Persistent LLM agents reuse intermediate conclusions stored across interactions. When a source fact is corrected, these conclusions may remain active and mislead later answers. Dependency-guided repair traces the source's structural descendants, but does reliable repair require recording the full lineage? We distinguish historical dependency, update sensitivity, and stored-state error, then compare provenance graphs under a fixed repair operator in controlled memory lifecycles and public multi-hop tasks. In the controlled testbed, LLM material-support provenance reaches 95-100% of stale state despite covering only about half of structural descendants at greater depth. Matched-random graphs with identical edge budgets, precision, and recall reach only about two-thirds. Value-agreement support reproduces this selectivity, and closed-loop runs preserve the result when repairs regenerate answers and dependencies. A certificate -- a subset of parent values sufficient to force the stored conclusion -- explains when edges can be omitted. We prove consistency across sequential and simultaneous corrections on fixed dependency graphs under local correctness, certificate containment, and full-parent re-derivation. On public lookup chains, LLM attribution achieves post-repair accuracy within 0.02 of oracle path repair, while structural and stale-state coverage nearly coincide. Structural fidelity and repair adequacy therefore differ, with the available repair savings depending on the support needed to preserve each conclusion.

en
arXiv AI Papers

SecRTL-Bench: Benchmarking LLMs on IP-Level RTL Vulnerability Detection, Localization, and Repair

Large language models are increasingly applied to RTL security analysis, yet existing benchmarks often lack realistic design complexity, reproducible evidence of security violations, and unified evaluation across vulnerability detection, localization, and repair. To address these limitations, we present SecRTL-Bench, a unified RTL security benchmark constructed from real-world open-source IP-level designs through a multi-agent framework. The framework identifies security assets and protection mechanisms, generates source-grounded security contracts to guide vulnerability injection, and employs automatically calibrated verification environments and EDA simulation to validate actual security violations. Through execution feedback and independent repair, it produces reproducible vulnerability instances with functional and security verification packages, ground-truth annotations, and security violation evidence. SecRTL-Bench comprises 413 vulnerability instances spanning 31 hardware CWE weaknesses. We evaluate nine advanced LLMs using a composite scoring mechanism that jointly considers CWE identification accuracy, line-level localization accuracy, and the functional correctness and security of repair patches. The best-performing model achieves an overall score of only 59.83/100. Further analysis reveals that security verification pass rates consistently lag behind functional pass rates, highlighting the difficulty of generating reliable patches that satisfy both functional and security requirements. Our data and code are available at https://github.com/QianPeng369/SecRTL-Bench.

en
arXiv AI Papers

Scaling Dataset Distillation to Large Vision-Language Models with Language-Label Mixing

Dataset distillation for pre-trained models seeks a small synthetic set on which a lightweight head fitted on a frozen backbone matches a head fitted on the full training set. Existing methods use one-hot labels, which ignore how classes relate, and remain well below full-data accuracy at one image per class. We distill through large vision-language models (VLMs) such as Qwen3-VL and DeepSeek-VL2, whose language models supply class semantics but which provide neither a global image embedding nor a text embedding aligned with visual features. Our method, Language-Label Mixing Dataset Distillation (LLM-DD), pools the visual tokens at the input of the language model without executing the decoder, and supervises a closed-form ridge adapter with targets that mix language-derived class anchors with orthogonal label codes. We show that language guidance adds no cost to the closed-form solve, which depends on the language model only through a class-level kernel. On ImageNet-100 with one image per class, LLM-DD is within 2.41 points of full-data training, compared with 5.6 points for the strongest prior method. Compared with gradient matching on the encoder parameters of the same VLMs, it is more accurate, up to 21.5x faster, and transfers better to unseen encoders.

en
arXiv AI Papers

SHREK: Scoring Hop-chains for Retrieval of Evidence over Knowledge Graphs

Knowledge-graph retrieval can improve multi-hop question answering in RAG systems. However, systems such as HippoRAG 2 walk the whole graph before they rank passages, and add retrieval-time LLM filtering and a dense-retrieval fallback. We ask how far a retriever gets if it stays local and walks out from the entities the question names. We introduce Scoring Hop-chains for Retrieval of Evidence over Knowledge graphs (SHREK), a training-free retriever that traverses a locally bounded, relation-labeled OpenIE graph and uses a pretrained cross-encoder to score passage chains jointly. On the task of question answering, we compare SHREK with Dijkstra and Prize-Collecting Steiner Tree-based retrieval, as well as six past works, across seven datasets from the HippoRAG 2 benchmark suite. SHREK performs within 1.1 Token F1 points of HippoRAG 2 on average, surpasses it on PopQA by 6.6 points and HotpotQA by 1.9 points, and scores above our dense retrieval baseline on all four multi-hop datasets. SHREK achieves this without any LLM call inside the retrieval loop, without a dense fallback, and without corpus-wide graph traversal. The failure analysis of SHREK identifies two main limitations: passage-chain scoring deteriorates beyond two hops, and missing seed entities can produce empty retrievals.

en
arXiv AI Papers

MoEXViz: Interactive Visualizations of Sparse Mixture-of-Experts

Sparse Mixture-of-Experts architectures have become a prominent strategy for scaling large language models without proportionally increasing inference cost. By routing each token through a sparse, input-dependent subset of expert subnetworks, these models increase total parameter capacity while limiting active computation. However, their fragmented routing pathways make them difficult to inspect, audit, and debug. We present MoEXViz, an open-source, browser-based visualization platform for analyzing sparse MoE models at the per-token and per-layer levels. MoEXViz separates model execution from visualization through a three-stage pipeline: offline PyTorch extraction, compact JSON serialization, and low-latency browser playback. This design removes the need for live GPU access during interactive analysis while preserving traceability to real model forward passes. MoEXViz supports multiple visualization views, including expert UMAP projections, per-layer expert activation grids, average activation trends, per-domain expert rankings, prompt-level inspection, and animated routing diagrams. The system dynamically derives layouts from model metadata rather than relying on hard-coded expert counts or routing widths. We demonstrate MoEXViz on three architecturally distinct open-weight MoE models: OLMoE-1B-7B, JetMoE-8B, and DeepSeek-MoE-16B. Code is available at https://github.com/Resource-Efficient-AI-Lab/MoEXViz and a live demo is available at https://resource-efficient-ai-lab.github.io/MoEXViz/

en
arXiv AI Papers

Token-Level Credit Assignment via In-Context Value Learning

Reinforcement learning has proven extraordinarily effective at fine-tuning large language models to align to human preferences and elicit reasoning capabilities. However, when training policies for long-horizon tasks, a sparse outcome reward provides poor credit assignment, resulting in unstable and inefficient learning. In such settings, value functions are a natural tool for providing token-level training signals and stabilizing learning. Our work addresses how to learn value functions that are powerful enough to perform such token-level credit assignment. Our key insight is that value functions make strong usage of privileged information, which can be provided in-context to base language models. In our approach, we allow the value function access to multiple auxiliary rollouts and their rewards, such that the model can leverage counterfactual futures and semantic structure to produce more meaningful value estimates. We show that value function accuracy scales with the number of in-context rollouts. At sufficient scale, this unlocks accurate per-token advantage estimates: orders of magnitude denser credit assignment than outcome reward alone. These value estimates can then be combined with an off-the-shelf policy improvement method to perform fine-tuning. Empirically, we demonstrate that value functions learned via our approach perform more accurate token-level credit assignment and accordingly result in faster policy improvement. Especially motivating, we find that value functions can be reliably pretrained on offline data, and then later used for rapid adaptation from limited online samples by providing lower variance targets for policy learning.

en
arXiv AI Papers

Knowing Without Naming: Availability Without Accessibility in Language Models, and the Tip-of-the-Tongue Talk That Misses It

When a word is on the tip of the tongue, people cannot recall it but can still recognize it and guess its first letter. Do language models have an analogous state, and do their own reports reveal it? We build a bilingual dataset of 2,406 definition-word items and test six open-weight models. Models persistently fail to name 15-29% of English and 57-72% of Chinese items, yet recognize most of these words in a multiple-choice test. Our central test is causal: after a model fails 21 times, giving the correct first letter or character raises production by 50 points in English (30 in Chinese) over a matched retry, while a wrong one pushes it below that retry. First-letter cues elicit real words but almost never pseudowords, and in English they favor the target over equally fitting decoys, though our controls cannot separate retrieval from constrained search; Chinese is a boundary case. We call this graded, cue-dependent availability. Models' self-reports do not separate recognition-positive from recognition-negative failures, whereas signals computed from the model tell failed from successful naming, two of them before any output. We release the dataset and code.

en
arXiv AI Papers

Knowledge Graph-Guided Temporal Behavior Interpretation with a Local LLM Agent in Smart Homes

With the rise in aging populations and single-person households, privacy-preserving smart-home behavior monitoring is increasingly essential for daily living analysis and home-care applications. Smart-home sensors continuously record daily activities; however, these data are typically stored as low-level event logs, which are not directly interpretable as meaningful behavioral patterns. This paper presents a knowledge graph (KG)-guided local large language model (LLM) agent for temporal behavior interpretation in smart homes. The proposed system utilizes Home Assistant sensor histories and Qwen2.5-0.5B-Instruct, a lightweight local LLM, to interpret and explain daily behavior patterns. Sensor records are transformed into behavior-level summaries and organized into rolling-window features to capture multi-day changes. The proposed framework further adapts Qwen2.5 using Low-Rank Adaptation (LoRA) with KG-guided input. Experimental results using an external dataset and local Home Assistant data demonstrate that KG-guided fine-tuning improves the stability and consistency of temporal-state interpretation compared to the base model. Additionally, five-day and seven-day windows yield more stable KG-guided interpretations than shorter windows.

en