Search arXiv⌕ Search

arXiv subjects

Gilad Barkan

Publications and source records attributed to Gilad Barkan.

3 recordsLinked to original sources

Masking by Design: Component-Conditioned Pretraining for User Interfaces

Web user interfaces are composed rather than captured: a page is built from components, and recovering those components from pixels underlies design tooling, accessibility, UI testing and software agents. Once rendered, the page holds two representations: the screenshot an encoder sees, and the structured document it was drawn from, which names those components and fixes the box each one occupies. Prior work has read that document as context, or predicted it back as a target. We propose component-conditioned masking, which puts it to a different use: it authors the mask for pretraining the image encoder. The result is masking by design: part of every component in the twelve classes we target is hidden, regardless of its size, position, or frequency, so each one becomes a prediction target. Our corpus is 136,277 rendered pages from Wix, a website-building platform where a single vocabulary names every component. We continue pretraining a SigLIP2 encoder with I-JEPA under this policy, and measure it with a linear probe that predicts each component's class: macro F1 rises from 61.5 to 66.0. To isolate the mask we pretrain again with random masking, changing nothing else: the difference is 1.3 macro F1 across three seeds, and it is gained on the components a random draw under-covers -- five of the twelve classes -- where ours masks more than half of the area of every class. Our mask improves all twelve classes we evaluate, while the random draw leaves some below the frozen SigLIP2 encoder. We release the code, the pretrained encoders, and 9,000 pages -- the sealed test split and the split our probe trains on -- with every component's class and box.

cs.CV↗

RAGXplain: From Explainable Evaluation to Actionable Guidance of RAG Pipelines

Retrieval-Augmented Generation (RAG) systems couple large language models with external knowledge, yet most evaluation methods report aggregate scores that reveal whether a pipeline underperforms but not where or why. We introduce RAGXplain, an evaluation framework that translates performance metrics into actionable guidance. RAGXplain structures evaluation around a 'Metric Diamond' connecting user input, retrieved context, generated answer, and (when available) ground truth via six diagnostic dimensions. It uses LLM reasoning to produce natural-language failure-mode explanations and prioritized interventions. Across five QA benchmarks, applying RAGXplain's recommendations in a single human-guided pass consistently improves RAG pipeline performance across multiple metrics. We release RAGXplain as open source to support reproducibility and community adoption.

cs.IR↗

WixQA: A Multi-Dataset Benchmark for Enterprise Retrieval-Augmented Generation

Retrieval-Augmented Generation (RAG) is a cornerstone of modern question answering (QA) systems, enabling grounded answers based on external knowledge. Although recent progress has been driven by open-domain datasets, enterprise QA systems need datasets that mirror the concrete, domain-specific issues users raise in day-to-day support scenarios. Critically, evaluating end-to-end RAG systems requires benchmarks comprising not only question--answer pairs but also the specific knowledge base (KB) snapshot from which answers were derived. To address this need, we introduce WixQA, a benchmark suite featuring QA datasets precisely grounded in the released KB corpus, enabling holistic evaluation of retrieval and generation components. WixQA includes three distinct QA datasets derived from Wix.com customer support interactions and grounded in a snapshot of the public Wix Help Center KB: (i) WixQA-ExpertWritten, 200 real user queries with expert-authored, multi-step answers; (ii) WixQA-Simulated, 200 expert-validated QA pairs distilled from user dialogues; and (iii) WixQA-Synthetic, 6,222 LLM-generated QA pairs, with one pair systematically derived from each article in the knowledge base. We release the KB snapshot alongside the datasets under MIT license and provide comprehensive baseline results, forming a unique benchmark for evaluating enterprise RAG systems in realistic enterprise environments.

cs.AI↗