Anúncio

NexTalk

Automatize a primeira resposta. Mantenha o toque humano.

Chat ao vivo com agentes de IA no seu modelo e na sua chave de API, com passagem para a sua equipe.

Começar grátis

Tópico

Retrieval e RAG

1.552documentos

80últimos 7 dias

arXiv AI Papers

What do Mayan Embeddings Capture? Overcoming the Long-Tail through Graph Topologies and Native Expert Validation

Word embeddings are essential for modern NLP, yet their development for low-resource languages is hindered by data sparsity and complex morphology. This study addresses the question: What do Mayan embeddings capture? We present the first human-rated gold standard of semantic representations for Yucatec Maya, a morphologically rich language, by introducing a graph-based methodology designed to overcome the long-tail distribution of rare inflected forms. Leveraging a multi-source corpus of 717,471 tokens, we propose an approach using Node2Vec to capture global topological relations, comparing it against traditional local-window baselines. Evaluation was conducted through a rigorous protocol involving five native linguistic experts and a curated gold standard of 90 word pairs. Our results demonstrate that graph-based embeddings significantly outperform distributional methods, achieving a robust Spearman correlation of ρ= 0.593 (p < 10^{-9}) on the full gold standard, which rises to ρ= 0.807 (p < 10^{-4}) on high-consensus pairs. In contrast, Word2Vec yields non-significant results (ρ= 0.170, p > 0.10), while FastText exhibits non-significant, negative correlations (ρ= -0.080, p > 0.45), suggesting that character n-grams introduce morphological noise in small-scale Mayan corpora. Qualitative analysis confirms that graph topologies effectively bridge relational gaps where co-occurrence data is sparse. We release our embeddings, the first expert-validated gold standard, and the processed corpus to support the digital revitalization of the Mayan language family.

en
arXiv AI Papers

Does Predictive Fairness Imply Recourse Fairness? An Empirical Study Across Models, Search and Mitigation Methods

Explainability and algorithmic fairness represent two fundamental pillars of trustworthy machine learning. While recent audits uncover demographic disparities in post-hoc feature attributions, the equity of actionable, recourse-oriented explanations remains largely unaddressed from an empirical perspective. In consequential financial domains such as credit risk scoring, adverse automated decisions demand equitable counterfactual explanations that minimize the social burden of recourse across privileged and unprivileged groups. In this paper, we conduct an extensive empirical study across five representative benchmark datasets, three predictive model classes, and three counterfactual generation paradigms to examine whether predictive fairness transfers to recourse fairness. Our empirical findings across extensive model and mitigation configurations reveal that predictive fairness interventions do not directly translate to recourse fairness within credit scoring systems, as boundary adjustments can operate disparately on explanation distances. Furthermore, multi-objective evolutionary optimization consistently delivers the most recourse fairness, outperforming instance-based retrieval. Finally, pre-processing via preferential boundary resampling achieves a favorable alignment between outcome and recourse fairness, whereas loss reweighting induces an operational trade-off that elevates recourse disparity.

en
arXiv AI Papers

Uncertainty Gated Quantum Kernel Residuals for Face Verification

Quantum-kernel SVMs are attractive near-term classifiers, but modern face embeddings already exhibit a strong cosine geometry and must be aggressively compressed to fit a small qubit budget. We study a more conservative role for a quantum kernel: an uncertainty-gated residual specialist that is invoked only for face pairs for which the strong cosine verifier is ambiguous. A fixed ArcFace-style backbone supplies 512-D normalized embeddings; pair features are compressed to 8 or 12 dimensions and evaluated by an analytic-statevector quantum fidelity kernel. We compare cosine similarity, full and qubit-budget-matched RBF SVMs, standalone QkSVM, a random residual, a classically gated residual, and the quantum-gated residual across LFW, CASIA-WebFace, CFP-FP, and VGGFace2 protocols. Standalone budgeted kernels remain weaker than the full embedding geometry, but selective residual routing substantially reduces this failure. On the hard CFP-FP protocol, cosine obtains 0.816 AUC and 0.206 TAR at FAR=10^{-2}, standalone QkSVM 0.677/0.054, and the gated quantum residual 0.824/0.226. The identically routed classical residual achieves the same AUC of 0.824 and TAR of 0.223, demonstrating that the observed contribution is attributable to the hybrid uncertainty-routing strategy rather than to quantum advantage. On VGGFace2, where cosine is near ceiling (0.992 AUC), gating preserves 0.990 AUC while standalone QkSVM falls to 0.961. Across the four datasets, the gated quantum residual improves AUC over the standalone QkSVM by approximately 0.003, 0.007, 0.147, and 0.029, respectively. These results establish a practical design principle for quantum-assisted biometrics: when a compact quantum verifier is globally weaker, it should be treated as a selectively routed specialist and evaluated against an identically gated classical control.

en
arXiv AI Papers

Can RAG-Based QA Stay Neutral? Selective Amplification of Informational Bias over Politically Framed Sources

Informational bias arises when media articles selectively include or emphasize facts to shape readers' interpretations. This poses risks for retrieval-augmented generation (RAG) systems: when retrieved articles present divergent political leanings, it remains unclear whether RAG systems exhibit selective bias by inheriting or amplifying informationally biased facts from particular sources. We introduce PoliFrameQA, a fact-level benchmark for analyzing informational bias in RAG-based question answering. Each question is paired with articles from different political leanings. For every leaning we obtain a reference answer grounded in that leaning's article alone, decompose it into atomic facts, and annotate which of those facts reflect informationally biased framing. To scale annotation, we propose a two-stage pipeline for identifying informationally biased facts. Experiments on RAG systems with open- and closed-source LLMs show that these systems inherit informational bias and selectively amplify bias from certain political leanings, while general bias mitigation methods yield no Pareto improvements in the coverage-bias trade-off.

en
arXiv AI Papers

LaunderBench: A Controlled Diagnostic of Provenance Use and Handoffs in LLM Research Agents

Retrieved pages can echo one claim in different words while ultimately depending on a single weak origin. We isolate the retrieved-answering step of LLM research agents and test whether it treats such echoes as corroboration, a failure we call source-dependence citation laundering. To measure it, we introduce LaunderBench: 100 weak-origin scenarios on fictional entities across 20 domains, and 96 matched controls with independent primary records. On twelve models: (a) When every page is written in the same neutral way and only the citation edges vary, GPT-5.5, o3, and Claude Opus alone treat one shared origin sharply differently from two independent ones, while Claude Haiku and Sonnet launder most of the shared-origin cases. (b) On the 100 weak-origin scenarios, laundering spans 29-96% across seven OpenAI, Google, and open-weight models, but 0-5% for GPT-5.5, o3, Opus, Haiku, and Sonnet. These five near-zero models accept 79-100% of the controls, so their restraint reflects discrimination, not blanket caution. As (a) shows, the near-zero rates of Haiku and Sonnet only track how the origin is written, not the edges. (c) Identifying provenance does not mean using it when answering: handing the heaviest launderer the citation graph still leaves 22 of 30 scenarios laundered, while handing it the provenance verdict leaves none. (d) We therefore propose an explicit handoff: an upstream model identifies the provenance once, and the answering model needs only a briefing and that verdict, not the pages. With a correct verdict carried as a JSON field or a templated sentence, the four OpenAI launderers launder none of 400 weak-origin claims and accept all 384 controls. We release the scenarios, generators, diagnostics, and handoff protocol.

en
arXiv AI Papers

CoTeMIC: Compositional Text Supervision for Multiple Image Clustering

Multiple image clustering aims to discover diverse partitions of an unlabeled image set according to different semantic criteria. Without explicit supervision, existing vision-language model (VLM)-based methods obtain criterion-specific representations for clustering through simple cross-modal mapping mechanisms, which struggle to selectively capture criterion-relevant semantics from VLM image embeddings with entangled attributes. To address this limitation, we explore the potential of text as supervision beyond its conventional role as a semantic reference and propose CoTeMIC, a compositional text-supervised framework for multiple image clustering. Specifically, we construct Full-Target text pairs as compositional text supervision, enabling a text router to learn criterion-selective representation transformations. We further introduce a consistency-guided image adapter to facilitate the application of the text router to the visual domain. Finally, a criterion-specific clustering head is employed to predict cluster assignments. Extensive experiments on diverse datasets demonstrate that CoTeMIC achieves state-of-the-art performance in multiple image clustering.

en
arXiv AI Papers

Multitask Adaptation of World Model with Capabilities Retention

Recent advances in world modeling have enabled generalist agents to learn diverse tasks across embodiments within a single model, suggesting a path toward foundation models for continuous control. However, joint training on all desired tasks is not always feasible, as limited resources constrain access to collected data and simulation environments at a given time. An important goal is therefore to adapt trained multitask agents to newly accessible tasks while retaining their existing capabilities. We propose MACR, short for Multitask world model Adaptation with Capability Retention, a framework for adapting a pretrained multitask world model to multiple continuous control tasks simultaneously. Given a short probing trajectory, our framework retrieves a task-relevant dynamics representation from the trained world model to initialize adaptation, enabling the agent to learn multiple new tasks efficiently. We adapt world-model weights by jointly optimizing for new-task learning and capability retention. A factorized parameterization expresses the adapted weights as existing or newly learned combinations of fixed pretrained bases, while comprehensive component-wise distillation uses stored exemplars to regularize the model's functional behavior when conditioned on previously learned tasks. Experiments across diverse continuous control tasks show that our approach learns new tasks while retaining performance on previously learned tasks and outperforms a range of existing baselines. These results support MACR as a promising approach to broadening the capabilities of a multitask world model.

en
arXiv AI Papers

A Single Pass Captures the Gain of Document Assessment in Retrieval-Augmented Generation

Retrieval-augmented generation gives a large language model (LLM) only a few retrieved documents, so outdated or misleading passages can displace useful evidence. Document assessment scores the candidates before generation, and recent systems spend extra LLM calls on repeated judgments or specialized assessor roles. However, it is unclear how much of this work a system with a fixed retriever and answer generator needs. To answer this question, we compare assessment recipes under a matched protocol that fixes the questions, candidate pools, answer generator, and context budget. Across conflicting, entity-ambiguous, and open-domain question answering with five open-weight LLMs, we find that a single assessment pass, such as one relevance judgment for each document, captures the gain of assessment, whereas repeated judgments, extra roles, and answer voting multiply the calls without a reliable further gain. The gain comes chiefly from which documents enter the context and tends to be largest under tight budgets. For new retrieval settings without answer labels, we propose a score-entropy pilot that recommends which recipe to validate first, and on two held-out benchmarks it recommends the most accurate recipe or one nearly tied with it.

en
arXiv AI Papers

TabDivER: A Diversity-Enhanced Retrieval Framework for Tabular Foundation Models

Tabular data is one of the most ubiquitous sources of information worldwide, spanning a broad spectrum of domains. The inherent heterogeneity makes generalizing across tables a fundamental bottleneck that has significantly hindered the development of Tabular Foundation Models (TFMs). Recently, in-context learning (ICL) has emerged as a promising solution for TFMs, leveraging a small set of contextual samples to facilitate cross-table inference. Existing ICL-based TFMs generally follow two distinct implementation paradigms: retrieval-augmented models and non-retrieval models. However, both paradigms suffer from extremely severe inherent limitations: retrieval-augmented models become overly reliant on highly homogeneous contexts, while non-retrieval models process the full context indiscriminately. Consequently, the inference pipeline becomes entangled with either informational redundancy or semantic noise. The overall performance of ICL-based TFMs remains critically constrained by the quality of context. To address these challenges, we propose TabDivER, a plug-and-play diversity-enhanced retrieval framework. Specifically, it first constructs a geometry-preserving retrieval space and builds an efficient index for fast candidate retrieval. It then reranks the candidates with a tabular-specific diversity-adaptive component, balancing query similarity with contextual diversity, thereby mitigating distributional bias in the context. Extensive experiments on four established TFMs across three benchmarks (CC18 with 72 tasks, CTR23 with 30 tasks, and Reg_num with 16 tasks) demonstrate that TabDivER consistently improves TFMs' performance on both classification and regression tasks.

en
arXiv AI Papers

FIDO the Robot Dog: Learning Dynamics Models via In-the-Wild Fetch

Learning generalizable dynamics models requires diverse, grounded training data. Existing approaches trained on internet-sourced data are constrained by the availability of high-quality samples, while the diversity of real-world data collection efforts is limited by infrastructure and operator demands. In our work, we propose collecting dynamics data through natural, embodied robot interactions. We present Fetch Interaction for Dynamics Observation (FIDO), a robot quadruped that collects in-the-wild dynamics data by playing fetch. FIDO first observes a ball trajectory thrown by a user. Then, it retrieves the ball and returns it, creating a naturally engaging and repeatable interaction that yields grounded observations of object dynamics, including the arc of throws, the effect of gravity, and the variability of real-world conditions. We collect FIDO data across N=18 users in three in-the-wild environments. A projectile dynamics model trained on this data exhibits strong transfer to unseen domain-adjacent tasks. FIDO outperforms a pretrained VLM baseline by 29.1% on shuttlecock trajectory prediction in badminton and by 26.8% on ball trajectory prediction in baseball, with both results improving monotonically with the diversity of collected fetch data. Our learned dynamics model is also directly useful for robot planning: a robot plans through these learned dynamics to catch a balloon before it hits the ground, where the addition of FIDO data improves catching performance by 20.0%. These results suggest that in-the-wild interaction diversity is a key driver of learning generalizable physical dynamics. Additional visuals can be found at our website https://fido-robot.github.io/site

en
arXiv AI Papers

Evaluating Retrieval-Augmented Large Language Models for Causal Discovery in Cerebral Palsy

Understanding how neuromuscular impairments affect gait and functional outcomes is a key goal of cerebral palsy research. Identifying these causal relationships requires careful interpretation of clinical data, domain knowledge, and modeling assumptions. Large language models (LLMs) offer a potential source of this background knowledge, but their responses may lack the specialized information and supporting evidence needed for reliable causal judgments. Retrieval from scientific literature provides supplementary domain knowledge and evidence to inform these judgments. We investigate this approach through a comparative study of retrieval-free LLMs, text-based retrieval, and graph-based retrieval, using a curated corpus of cerebral palsy literature and two causal discovery benchmarks involving metabolic power and gait kinematics. Results show that retrieval improves performance on the metabolic power task but does not outperform retrieval-free reasoning on the gait kinematics task, indicating improved causal discovery in some settings, but inconsistent benefits across tasks, and that additional context does not necessarily improve performance. These findings highlight both the value and limitations of scientific literature as a source of knowledge for LLM-based causal discovery in cerebral palsy.

en
arXiv AI Papers

Shared KV Heads, Sliding Windows, and Vocabulary Size: Measured Memory and Retrieval Trade-offs in LLaMA 7B, Mistral 7B, and Qwen2.5-7B

Three widely used 7B-class language models, original LLaMA 7B, Mistral 7B v0.1, and Qwen2.5-7B, differ in three design choices that decide what fits on a small GPU: how many key-value (KV) heads the attention layers keep (32, 8, and 4), whether attention is limited to a sliding window (4,096 tokens in Mistral), and how large the vocabulary is (32,000 versus 151,643 tokens). We measure the consequences of each choice on one 16 GB T4 GPU. (1) Passkey retrieval in Mistral stops at the window. In 134 trials with the key placed 3,600 to 4,600 tokens from the end of the prompt, Mistral retrieved it in all 72 trials where it lay within 4,089 tokens and in none of the 62 trials where it lay 4,098 or more tokens away. With the same weights and the window turned off, retrieval succeeds at every tested position in 8K-token prompts, so the mask causes the limit; at 16K and 32K tokens the window-free model fails completely, while the windowed model still retrieves nearby keys. Qwen2.5 retrieves the key in all 60 trials up to 32K tokens. (2) KV-cache memory per token is 512, 128, and 56 KiB. LLaMA runs out of memory at 32K tokens, Qwen2.5 holds 64K tokens in 3.5 GiB, and Mistral's cache stops at 512 MiB. (3) On 1,997 parallel sentences in 15 languages, Qwen2.5's tokenizer removes 38-58% of tokens for five languages and 3-11% for the other ten; combined with KV sharing, LLaMA needs 9.5-22.0 times more cache memory than Qwen2.5 for the same sentence. (4) Decode latency in a common runtime grows with cache size, and copying the cache, measured on its own, costs about as much as that growth. Code and results are public.

en
arXiv AI Papers

Interface-Conditioned Message Passing for Polymer Property Prediction

Accurate polymer property prediction requires representations that capture both the chemical environments of constituent monomers and the connectivity of polymer chains. Although graph neural networks have been adapted to model stochastic polymer connectivity, incorporating higher-level chemical context while retaining the underlying graph topology remains an important challenge. Here, we introduce an interface-conditioned extension of the weighted directed message passing neural network that enriches atom representations at polymerization interfaces through message regeneration, incorporating contextual information from recurring chemical motifs. We refer to our approach as IC-wD-MPNN and evaluate it on electron affinity (EA) and ionization potential (IP) prediction using the VIPEA dataset, and on glass-transition temperature (Tg) prediction using the PolyMetriX dataset. On VIPEA, the proposed formulation reduces mean RMSE by 36.3% for EA and 40.7% for IP relative to the baseline wD-MPNN on a comparable parameter budget. In contrast, no overall improvement is observed for Tg prediction. Ablation studies show that regenerating interface messages using contextualized atom embeddings already provides substantial gains, while incorporating motif information into these embeddings yields a further improvement. A random-message regeneration control further indicates that these gains depend on selecting messages originating from polymerization interfaces, rather than simply regenerating an equivalent number of messages. These results highlight the potential of localized interface conditioning to enrich polymer representations and improve the prediction of electronic properties.

en
arXiv AI Papers

Interpretable & Fine-grained Novelty Detection via LLM Embeddings

Novelty in research has often been considered an integral part of good research. As the number of papers rises, it becomes increasingly challenging to find novel works relevant to ones work. Current research focuses on LLM judgement, which functions as a black box that is difficult to tune and interpret. An alternative method is that which measures the semantic similarity of research works with respect to its peers. Nevertheless, most works of this nature have adopted a relatively coarse approach. We provide a more tractable definition of novelty and provide a method for detecting novelty without time lag that we argue to computationally mimic our perception of novelty.

en
arXiv AI Papers

What Survives Composition? A Survey of Hyperbolic Neural Networks, Dynamics, and Evidence

After a suitable rescaling, a finite tree can be embedded in the hyperbolic plane with arbitrarily little distortion. Whether this helps a neural network depends on what the network does with the embedding. Consider two nodes at equal depth on branches that meet at a fixed angle. As the nodes move outward, their geodesic midpoint stays within a bounded distance of the root. Averaging the same nodes in the tangent space at the root, however, sends their average progressively farther out. Conversely, some apparently different networks compute exactly the same features because the coordinate changes between successive layers cancel. These two examples guide our account of how curvature enters neural computation, from early self-organizing maps to graph networks, transformers, and reinforcement learning. We develop the geometry of five isometric models and derive the gyrovector operations used to build layers. This allows us to relate results in classification, retrieval, recommendation, language modeling, and control to the choices made in optimization, the precision of the coordinates, and the way perturbations propagate with depth.

en
arXiv AI Papers

Local-Global Sparse Autoencoders for Multiscale Interpretability in Vision Models

Visual understanding is inherently hierarchical, as high-level semantic concepts are composed of fine-grained, spatially localized components. Yet existing interpretability methods typically focus on a single feature scale, either local or global, leaving a critical gap in understanding the compositional structure between them. Recovering this structure without supervision is particularly challenging, as the correspondence between local and global concepts is latent, varies across samples, and may emerge only through inconsistent or partial patterns. To address this challenge, we introduce Local--Global Sparse Autoencoders (LG-SAE), a multiscale interpretability framework for vision models. The core innovation of LG-SAE is a learned bridge that explicitly captures the compositional relationships between local and global visual concepts. By jointly operating on patch-level and image-level embeddings, LG-SAE learns a sparse, interpretable graph that reveals how high-level semantic concepts are constructed from a small set of spatially grounded components. Building on this representation, we present a unified framework for discovering local-global concept relationships, explaining model predictions through multiscale Concept Bottleneck Models, and steering models via localized concept edits. Extensive evaluations show that our framework: (i) captures meaningful cross-scale concept relations; (ii) enables high-quality spatial grounding without compromising downstream accuracy; (iii) provides human-interpretable model explanations, as validated by a user study; and (iv) facilitates intuitive and effective model steering. Project code: https://github.com/itaybenou/LG-SAE

en
arXiv AI Papers

Latent Class Concept Bottleneck Models

Concept bottleneck models (CBMs) are interpretable image models that predict a target through a layer of human-understandable concepts. Because the prediction depends on the input only through these concepts, a user can correct mispredicted concepts at test time and thereby change the prediction. Standard CBMs, however, treat concepts as independent, so a correction never propagates to other concepts. Recently, Stochastic CBMs (SCBMs) have modeled concept dependencies with a Gaussian on the concept logits, but their interventions rely on a heuristic rather than exact conditioning. We propose Latent Class CBMs (LC-CBMs), which model the concepts as an input-dependent mixture of product-Bernoulli distributions. This gives an exact likelihood and exact Bayesian interventions. Across synthetic data, CUB, CIFAR-10 and CIFAR-100, LC-CBM matches or outperforms the baselines in target and concept accuracy, and achieves the most effective interventions on all four datasets. We further show that the latent-class structure is not specific to CBMs: added to concept embedding models, it also improves their interventions.

en
arXiv AI Papers

CORE: Cayley-Parameterized Rotating Embeddings for Object Discovery

Inspired by the brain's use of neural synchrony for object binding, synchrony-based neural networks provide a promising framework for Object-Centric Learning (OCL). Recent architectures such as Rotating Features (RF) extend synchrony-based representations beyond 2D complex-valued activations by modeling features as (n)-dimensional vectors on a hypersphere. However, RF induces phase shifts through additive latent biases. From a geometric perspective, these biases correspond to translations in feature space, which can alter feature magnitudes and entangle phase-based object affiliation with magnitude-based semantic strength. We propose CORE (Cayley-Orthogonal Rotating Embeddings), a geometry-preserving extension of RF that replaces additive biases with learned orthogonal transformations along the rotation dimension. CORE uses a rank-2 Cayley parameterization to learn per-channel phase updates that preserve feature norms. By rotating features directly in the rotation space, CORE enables object-affiliation updates without altering semantic magnitude, providing a principled orthogonal mechanism for unsupervised object discovery. Evaluations on both synthetic and real-image datasets validate the effectiveness of this approach.

en
arXiv AI Papers

Aligned, yet distinct: Shared--Private Factorization of Multimodal Representations with Formal Guarantees

Factorizing multimodal representations into shared and private (i.e., modality-specific) information requires capturing all and only cross-modal invariant information in the shared component, while preserving the remainder in private components. We introduce FAnchor, an end-to-end framework that achieves this factorization using lightweight adapters on pretrained embeddings and two complementary objectives. First, AnchorNCE aligns shared representations to a common anchor defined by their arithmetic mean, scaling linearly with the number of modalities. Importantly, it formally guarantees block-identifiability of the shared information, and allows for a fine-grained control of private-to-shared leakage with a single hyperparameter. Second, the private representations are optimized using a Matryoshka-like reconstruction loss with two terms: one that prioritizes reconstruction from the shared anchor alone, and another that refines the reconstruction by capturing modality-specific information in the private representations. Across controlled and real-world benchmarks, FAnchor achieves competitive or superior information preservation--leakage trade-offs over state-of-the-art methods, while improving robustness by nearly halving the retrieval rate of adversarial samples on RoCOCO.

en
arXiv AI Papers

CHiLLER: Calibrated Human-in-the-Loop Short-Answer Grading with Grounded Feedback

Large Language Models (LLMs) offer promising capabilities for automated grading, but their adoption in educational assessment raises concerns about grading reliability, transparency, and student data privacy. We present CHiLLER, an on-premise, human-in-the-loop grading system built on open-weight LLMs. The system combines calibrated confidence-based routing, which selectively defers uncertain predictions to teachers, with gradient-based token attribution and retrieval-grounded feedback from course materials. Teachers can inspect predictions, adjust grades, and provide corrections for subsequent model adaptation. Evaluated on 180 held-out student answers, the system routes only 16.1% of answers for human review while capturing 75% of large grading errors. By integrating selective grading, explainability, and source-grounded feedback in a locally deployable architecture, CHiLLER offers a practical approach to AI-assisted assessment that preserves teacher oversight and avoids transmitting student data to external providers.

en
Retrieval e RAG — overfeed.news