PyTorchKR Papers

업데이트된 논문

총 9,889편
태그·기간 등 상세 필터

카테고리 탐색

arXiv:2508.04236v5cs.CV

PIS3R: Very Large Parallax Image Stitching via Deep 3D Reconstruction

Image stitching aim to align two images taken from different viewpoints into one seamless, wider image. However, when the 3D scene contains depth variations and the camera baseline is significant, noticeable parallax occurs-meaning the relative positions of scene elements differ substantially between views. Most existing stitching methods struggle to handle such images with large parallax effectively. To address this challenge, in this paper, we propose an image stitching solution called PIS3R that is robust to very large parallax based on the novel concept of deep 3D reconstruction. First, we apply visual geometry grounded transformer to two input images with very large parallax to obtain both intrinsic and extrinsic parameters, as well as the dense 3D scene reconstruction. Subsequently, we reproject reconstructed dense point cloud onto a designated reference view using the recovered camera parameters, achieving pixel-wise alignment and generating an initial stitched image. Finally, to further address potential artifacts such as holes or noise in the initial stitching, we propose a point-conditioned image diffusion module to obtain the refined result.Compared with existing methods, our solution is very large parallax tolerant and also provides results that fully preserve the geometric integrity of all pixels in the 3D photogrammetric context, enabling direct applicability to downstream 3D vision tasks such as SfM. Experimental results demonstrate that the proposed algorithm provides accurate stitching results for images with very large parallax, and outperforms the existing methods qualitatively and quantitatively.

arXiv:2507.20967v2cs.LG

ProvCreator: Synthesizing Complex Heterogeneous Graphs with Node and Edge Attributes

The rise of graph-structured data has driven interest in graph learning and synthetic data generation. While successful in text and image domains, synthetic graph generation remains challenging, especially for real-world graphs with complex, heterogeneous schemas. Existing research has focused mostly on homogeneous structures with simple attributes, limiting its usefulness for domains that require semantic fidelity. We introduce ProvCreator, a synthetic graph framework for complex heterogeneous graphs with high-dimensional node and edge attributes. ProvCreator formulates graph synthesis as a sequence generation task, enabling the use of transformer-based large language models. Its graph-to-sequence encoder-decoder (1) losslessly encodes graph structure and attributes, (2) compactly encodes large graphs for contextual modeling, and (3) supports end-to-end, learnable graph generation. We evaluate ProvCreator on two challenging domains: system provenance graphs in cybersecurity and knowledge graphs from the IntelliGraph benchmark. In both, ProvCreator captures intricate dependencies between structure and semantics, enabling realistic and privacy-aware synthetic datasets.

arXiv:2507.20039v2q-fin.PM

Dependency Network-Based Portfolio Design: A Theoretical and Empirical Assessment of Pairwise GFEVD

This study examines whether pairwise Generalized Forecast Error Variance Decomposition (GFEVD) provides additional information for equity portfolio selection beyond contemporaneous Pearson correlation. We establish the conditions under which pairwise GFEVD and absolute innovation correlation produce equivalent Minimum Spanning Trees (MSTs), and derive sufficient conditions for network and stock selection stability under perturbations in edge costs. We further develop a rolling-window estimation error bound that characterizes the trade-off between sampling error and time variation in dependence relationships. Using 451 U.S. stocks and 293 weekly formation dates, we compare GFEVD networks with absolute and signed Pearson networks under common portfolio construction and trading rules. Although the estimated MSTs change across all 876 adjacent-week comparisons, the selected five-stock sets remain unchanged in 194 cases. Under the primary specification, GFEVD achieves higher final wealth than absolute Pearson but lower final wealth than signed Pearson under both weighting methods. The intersection-union test fails to establish a consistent investment advantage ($p = 0.6649$). The empirical results are sensitive to the estimation window, portfolio size, and network construction rule, and remain subject to the ex-post stock universe and retrospective evaluation design. Our findings distinguish the additional dependence information captured by GFEVD from its transmission into network structure, stock selection, and realized portfolio performance.

arXiv:2507.19592v2cs.CV

SurgPIS: Surgical-instrument-level Instances and Part-level Semantics for Weakly-supervised Part-aware Instance Segmentation

Consistent surgical instrument segmentation is critical for automation in robot-assisted surgery. Yet, existing methods only treat instrument-level instance segmentation (IIS) or part-level semantic segmentation (PSS) separately, without interaction between these tasks. In this work, we formulate a surgical tool segmentation as a unified part-aware instance segmentation (PIS) problem and introduce SurgPIS, the first PIS model for surgical instruments. Our method adopts a transformer-based mask classification approach and introduces part-specific queries derived from instrument-level object queries, explicitly linking parts to their parent instrument instances. In order to address the lack of large-scale datasets with both instance- and part-level labels, we propose a weakly-supervised learning strategy for SurgPIS to learn from disjoint datasets labelled for either IIS or PSS purposes. During training, we aggregate our PIS predictions into IIS or PSS masks, thereby allowing us to compute a loss against partially labelled datasets. A student-teacher approach is developed to maintain prediction consistency for missing PIS information in the partially labelled data, e.g., parts of the IIS labelled data. Extensive experiments across multiple datasets validate the effectiveness of SurgPIS, achieving state-of-the-art performance in PIS as well as IIS, PSS, and instrument-level semantic segmentation.

arXiv:2507.13501v3cs.CL

Encoding syntactic objects and Merge operations in function spaces

We provide a mathematical argument showing that, given a representation of lexical items as functions (wavelets, for instance) in some function space, it is possible to construct a faithful representation of arbitrary syntactic objects in the same function space. This space can be endowed with a commutative non-associative semiring structure built using the second Renyi entropy. The resulting representation of syntactic objects is compatible with the magma structure. The resulting set of functions is an algebra over an operad, where the operations in the operad model circuits that transform the input wave forms into a combined output that encodes the syntactic structure. The action of Merge on workspaces is faithfully implemented as action on these circuits, through a coproduct and a Hopf algebra Markov chain. The results obtained here provide a constructive argument showing the theoretical possibility of a neurocomputational realization of the core computational structure of syntax. We also present a particular case of this general construction where this type of realization of Merge is implemented as a cross frequency phase synchronization on sinusoidal waves. This also shows that Merge can be expressed in terms of the successor function of a semiring, thus clarifying the well known observation of its similarities with the successor function of arithmetic.

arXiv:2507.11590v2cs.LG

Synthetic Tabular Data Generation: A Comparative Survey for Modern Techniques

As privacy regulations become more stringent and access to real-world data becomes increasingly constrained, synthetic data generation has emerged as a vital solution, especially for tabular datasets, which are central to domains like finance, healthcare and the social sciences. This survey presents a focused comparative review of recent advances in synthetic tabular data generation, emphasizing methods that preserve complex feature relationships, maintain statistical fidelity, and satisfy privacy requirements. A key contribution of this work is the introduction of a novel taxonomy based on practical generation objectives, including intended downstream applications, privacy guarantees, and data utility, directly informing methodological design and evaluation strategies. Therefore, this review prioritizes the actionable goals that drive synthetic data creation, including conditional generation and risk-sensitive modeling. Additionally, the survey proposes a benchmark framework to align technical innovation with real-world demands. By bridging theoretical foundations with practical deployment, this work serves as both a roadmap for future research and a guide for implementing synthetic tabular data in privacy-critical environments.

arXiv:2506.11095v3cs.CL

Persistent Homology of Topic Networks for the Prediction of Reader Curiosity

Reader curiosity, the drive to seek information, is crucial for textual engagement, yet remains relatively underexplored in NLP. Building on Loewenstein's Information Gap Theory, we introduce a framework that models reader curiosity by quantifying semantic information gaps within a text's semantic structure. Our approach leverages BERTopic-inspired topic modeling and persistent homology to analyze the evolving topology (connected components, cycles, voids) of a dynamic semantic network derived from text segments, treating these features as proxies for information gaps. To empirically evaluate this pipeline, we collect reader curiosity ratings from participants (n = 49) as they read S. Collins's ''The Hunger Games'' novel. We then use the topological features from our pipeline as independent variables to predict these ratings, and experimentally show that they significantly improve curiosity prediction compared to a baseline model (73% vs. 30% explained deviance), validating our approach. This pipeline offers a new computational method for analyzing text structure and its relation to reader engagement.

arXiv:2505.21956v5cs.CV공식 코드 · Papers with Code

Cross-modal RAG: Sub-dimensional Text-to-Image Retrieval-Augmented Generation

Text-to-image generation increasingly demands access to domain-specific, fine-grained, and rapidly evolving knowledge that pretrained models cannot fully capture, necessitating the integration of retrieval methods. Existing Retrieval-Augmented Generation (RAG) methods attempt to address this by retrieving globally relevant images, but they fail when no single image contains all desired elements from a complex user query. We propose Cross-modal RAG, a novel framework that decomposes both queries and images into sub-dimensional components, enabling subquery-aware retrieval and generation. Our method introduces a hybrid retrieval strategy, combining a sub-dimensional sparse retriever with a dense retriever, to identify a Pareto-optimal set of images, each contributing complementary aspects of the query. During generation, a multimodal large language model is guided to selectively condition on relevant visual features aligned to specific subqueries for subquery-aware image synthesis. Extensive experiments on MS-COCO, Flickr30K, WikiArt, CUB, and ImageNet-LT demonstrate that Cross-modal RAG significantly outperforms existing baselines in the retrieval and further contributes to generation quality, while maintaining high efficiency.

arXiv:2505.11766v5cs.LG

Reformulating Neural Operators in $d+1$ Dimensions for Embedding Evolution

Neural Operators (NOs) are powerful architectures for learning mappings between function spaces. While most advances focus on refining kernel parameterizations over the $d$-dimensional physical domain, the evolution of lifted embeddings remains underexplored, which often drives models toward computationally expensive embedding-scaling designs to improve approximation. In this paper, we introduce an auxiliary function dimension that models embedding evolution in operator form, thereby reformulating the NO pipeline in $d+1$ dimensions. We instantiate this framework via Fourier-based operators acting jointly on the physical and auxiliary domains, yielding a basis-diversified auxiliary evolution module as an alternative to brute-force embedding scaling. Across more than ten increasingly challenging benchmarks, ranging from the 1D heat equation to the highly nonlinear 3D Rayleigh-Taylor instability, our model consistently achieves the lowest relative $L_2$ error among the evaluated baselines. Crucially, this advantage is empirically supported by (1) controlled budget-aware comparisons against scaled and ablated baselines; (2) robustness under mixed-resolution training and super-resolution inference; and (3) zero-shot generalization to unseen temporal regimes. In addition, we present a broader set of design choices for lifting and recovery operators, demonstrating their impact on our model's predictive performance.

arXiv:2505.09089v3cs.LG

Generating time-consistent dynamics with discriminator-guided image diffusion models

Realistic temporal dynamics are crucial for many video generation, processing and modelling applications, e.g. in computational fluid dynamics, weather prediction, or long-term climate simulations. Video diffusion models (VDMs) are the current state-of-the-art method for generating highly realistic dynamics. However, training VDMs from scratch can be challenging and requires large computational resources, limiting their wider application. Here, we propose a time-consistency discriminator that enables pretrained image diffusion models to generate realistic spatiotemporal dynamics. The discriminator guides the sampling inference process and does not require extensions or finetuning of the image diffusion model. We compare our approach against a VDM trained from scratch on an idealized turbulence simulation and a real-world global precipitation dataset. Our approach performs equally well in terms of temporal consistency, shows improved uncertainty calibration and lower biases compared to the VDM, and achieves stable centennial-scale climate simulations at daily time steps.

arXiv:2505.07367v2cs.LG

Generalization Bounds and Stopping Rules for Learning with Adaptively Selected Data

Many learning methods, including active learning, semi-supervised learning, bandits, and boosting, adaptively select training data in light of previously learned parameters. This article addresses the question of how well these methods can generalize from their adaptively selected samples. In particular, we prove universal generalization bounds for this class of methods using covering numbers and Wasserstein ambiguity sets. Our results do not rely on any assumptions about the (often unknown) distribution of adaptively selected data; they only require the initial sample to be i.i.d., along with some verifiable conditions on how these methods are implemented. We prove results for both convergent and finite-iteration solutions. The latter are anytime valid, thereby giving rise to stopping rules for a practitioner seeking to guarantee the out-of-sample performance of their learning algorithm. We illustrate our bounds and stopping rules for the special case of semi-supervised learning.

arXiv:2504.13545v2cs.CL

Explainable Multilingual Sentiment Analysis for Sinhala, English and Code-Mixed Banking Reviews

The growth of multilingual and code-mixed communication in the financial sector presents significant challenges for sentiment analysis, particularly in low-resource languages such as Sinhala. Existing NLP models often underperform due to limited annotated data, domain-specific vocabulary gaps, and a lack of transparency. This paper presents a multilingual and explainable sentiment analysis framework that addresses the challenges of low-resource and code-mixed languages by analyzing banking customer feedback in English, Sinhala, and Sinhala-English code-mixed formats. A dataset of 13,000 aspect-tagged banking reviews spanning five key banking aspects is used for evaluation. The framework classifies comments into positive, neutral, or negative sentiment and provides interpretable explanations using SHAP (Shapley Additive Explanations) and LIME (Local Interpretable Model Agnostic Explanations). English sentiment classification is performed using a fine-tuned BERT-base-uncased model, while Sinhala/code-mixed sentiment is handled by a hybrid XLM RoBERTa with a domain-specific lexicon correction approach. The framework achieves 92.3% accuracy and 0.89 F1-score for English, and 88.4% accuracy and 0.84 F1-score for Sinhala/code-mixed data. The proposed system addresses reproducibility, interpretability, and domain adaptation gaps, offering a deployable solution for multilingual financial sentiment monitoring.

arXiv:2504.11792v2cs.AI

Large Language Models for Drug Overdose Prediction from Longitudinal Medical Records

The ability to predict drug overdose risk from a patient's medical records is crucial for timely intervention and prevention. Traditional machine learning models have shown promise in analyzing longitudinal medical records for this task. However, recent advancements in large language models (LLMs) offer an opportunity to enhance prediction performance by leveraging their ability to process long textual data and their inherent prior knowledge across diverse tasks. In this study, we assess the effectiveness of OpenAI's GPT-4o and Google's MedGemma-27B LLMs in predicting drug overdose events using patients' longitudinal insurance claims records. We evaluate their performance in both fine-tuned and zero-shot settings, comparing them to strong traditional machine learning methods as baselines. Our results show that fine-tuned GPT-4o outperforms the traditional baselines, achieving F1 scores of 84.5 and 84.8 for the 7-day and 30-day prediction windows, compared to 78.9 and 77.3 for XGBoost, the strongest baseline. In addition, both LLMs can predict overdose risk in a zero-shot setting without any task-specific training. These findings highlight the potential of LLMs in clinical decision support for drug overdose risk prediction, but need prospective validation for real world deployment.

arXiv:2503.21435v4cs.AI

Graph-to-Vision: Benchmarking Multi-Graph Visual Reasoning with Vision-Language Models

Recent advances in Vision-Language Models (VLMs) have shown promising capabilities in interpreting visualized graph data, offering a perspective on graph-structured reasoning that complements traditional Graph Neural Networks (GNNs) by dispensing with explicit graph construction. However, existing studies focus primarily on single-graph reasoning, leaving the critical challenge of multi-graph visual reasoning (MGVR) underexplored. In this work, we introduce the first comprehensive benchmark designed to evaluate and enhance the MGVR abilities of VLMs. Our benchmark covers four common graph types - knowledge graphs, flowcharts, mind maps, and route maps - and supports both homogeneous and heterogeneous graph groupings with tasks of increasing complexity. We evaluate several state-of-the-art VLMs under a multi-dimensional scoring framework that assesses graph parsing, reasoning consistency, and instruction-following accuracy. Additionally, we fine-tune multiple open-source models and observe improvements in 17 of the 18 model-dimension combinations, confirming the effectiveness of our dataset. This work provides a principled step toward advancing MGVR and reveals new opportunities for cross-modal graph intelligence.

arXiv:2501.19195v3cs.LG공식 코드 · Papers with Code

Rethinking Early Stopping: Refine, Then Calibrate

Machine learning classifiers often produce probabilistic predictions that are critical for accurate and interpretable decision-making in various domains. The quality of these predictions is generally evaluated with proper losses, such as cross-entropy, which decompose into two components: calibration error assesses general under/overconfidence, while refinement error measures the ability to distinguish different classes. In this paper, we present a novel variational formulation of the calibration-refinement decomposition that sheds new light on post-hoc calibration, and enables rapid estimation of the different terms. Equipped with this new perspective, we provide theoretical and empirical evidence that calibration and refinement errors are not minimized simultaneously during training. Selecting the best epoch based on validation loss thus leads to a compromise point that is suboptimal for both terms. To address this, we propose minimizing refinement error only during training (Refine,...), before minimizing calibration error post hoc, using standard techniques (...then Calibrate). Our method integrates seamlessly with any classifier and consistently improves performance across diverse classification tasks.

arXiv:2408.11397v3cs.CV

EAGLE: Elevating Geometric Reasoning through LLM-empowered Visual Instruction Tuning

Multi-modal Large Language Models (MLLMs) have advanced greatly in general tasks. However, they still face challenges in geometric reasoning, a task that requires synergistic integration of visual recognition proficiency and complex reasoning strength. Existing MLLMs prioritize optimizing the LLM backbone to enhance problem-solving capabilities, while rarely emphasizing improvements in discerning visual elements. However, we observe that MLLMs suffer from severe visual perception deficiencies in geometric domains, including inaccurate geometric comprehension and severe visual hallucinations, which constrain their reasoning performance. To address this issue, we revisit geometric reasoning through a visual-centric lens that highlights the role of visual perception. To achieve this, we propose EAGLE, a coarse-to-fine visual adaptation framework for geometric reasoning that progressively adapts the visual pathway to geometric perception. Specifically, given the substantial disparity between geometric diagrams and natural images, we first introduce Geometric Knowledge Injection. This process explores fundamental knowledge from diagram-caption data to enhance recognition capabilities and improve geometry-language alignments. Then, recognizing that different elements contribute unequally in the reasoning process, we introduce Geometric Knowledge Refinement. This stage leverages LLM-driven chain-of-thought solutions to provide additional reasoning supervision for visual refinement, fostering a synergistic interplay between visual comprehension and geometric reasoning. Finally, we develop EAGLE, a geometry expert with improved perception and reasoning capabilities. Extensive experiments demonstrate its effectiveness on four popular benchmarks.

arXiv:2406.18505v2cs.LG

Mental Modelling of Reinforcement Learning Agents by Language Models

Can emergent language models faithfully model the intelligence of decision-making agents? Though modern language models exhibit already some reasoning ability, and theoretically can potentially express any probable distribution over tokens, it remains underexplored how the world knowledge these pretrained models have memorized can be utilized to comprehend an agent's behaviour in the physical world. This study empirically examines, for the first time, how well large language models (LLMs) can build a mental model of agents, termed agent mental modelling, by reasoning about an agent's behaviour and its effect on states from agent interaction history. This research may unveil the potential of leveraging LLMs for elucidating RL agent behaviour, addressing a key challenge in eXplainable reinforcement learning (XRL). To this end, we propose specific evaluation metrics and test them on selected RL task datasets of varying complexity, reporting findings on agent mental model establishment. Our results disclose that LLMs are not yet capable of fully mental modelling agents through inference alone without further innovations. This work thus provides new insights into the capabilities and limitations of modern LLMs.

arXiv:2406.05375v5cs.AI

LEMMA-RCA: A Large Multi-modal Multi-domain Dataset for Root Cause Analysis

Root cause analysis (RCA) is crucial for enhancing the reliability and performance of complex systems. However, progress in this field has been hindered by the lack of large-scale, open-source datasets tailored for RCA. To bridge this gap, we introduce LEMMA-RCA, a large dataset designed for diverse RCA tasks across multiple domains and modalities. LEMMA-RCA features various real-world fault scenarios from Information Technology (IT) and Operational Technology (OT) systems, including microservices, water distribution, and water treatment systems, with hundreds of system entities involved. We evaluate the performance of six baseline methods on LEMMA-RCA across various settings, including offline and online models, as well as single and multi-modal settings. Our study demonstrates the utility of LEMMA-RCA in facilitating fair evaluation and promoting the development of more robust RCA techniques. The dataset is publicly available at https://lemma-rca.github.io/, with archival metadata and access instructions deposited under DOI: https://doi.org/10.5281/zenodo.20516735.

arXiv:2406.04043v4cs.LG

Energy-based Epistemic Uncertainty for Graph Neural Networks

In domains with interdependent data, such as graphs, quantifying the epistemic uncertainty of a Graph Neural Network (GNN) is challenging as uncertainty can arise at different structural scales. Existing techniques neglect this issue or only distinguish between structure-aware and structure-agnostic uncertainty without combining them into a single measure. We propose GEBM, an energy-based model (EBM) that provides high-quality uncertainty estimates by aggregating energy at different structural levels that naturally arise from graph diffusion. In contrast to logit-based EBMs, we provably induce an integrable density in the model's latent space by regularizing the energy function. We introduce an evidential interpretation of our EBM that significantly improves the predictive robustness of the GNN. Our framework is a simple and effective post hoc method applicable to any pre-trained GNN that is sensitive to various distribution shifts. It consistently achieves the best separation of in-distribution and out-of-distribution data on 6 out of 7 anomaly types while having the best average rank over shifts on \emph{all} datasets.

arXiv:2403.02682v3cs.LG

Time Weaver: A Conditional Time Series Generation Model

Imagine generating a city's electricity demand pattern based on weather, the presence of an electric vehicle, and location, which could be used for capacity planning during a winter freeze. Such real-world time series are often enriched with paired heterogeneous contextual metadata (e.g., weather and location). Current approaches to time series generation often ignore this paired metadata. Additionally, the heterogeneity in metadata poses several practical challenges in adapting existing conditional generation approaches from the image, audio, and video domains to the time series domain. To address this gap, we introduce TIME WEAVER, a novel diffusion-based model that leverages the heterogeneous metadata in the form of categorical, continuous, and even time-variant variables to significantly improve time series generation. Additionally, we show that naive extensions of standard evaluation metrics from the image to the time series domain are insufficient. These metrics do not penalize conditional generation approaches for their poor specificity in reproducing the metadata-specific features in the generated time series. Thus, we innovate a novel evaluation metric that accurately captures the specificity of conditional generation and the realism of the generated time series. We show that TIME WEAVER outperforms state-of-the-art benchmarks, such as Generative Adversarial Networks (GANs), by up to 30% in downstream classification tasks on real-world energy, medical, air quality, and traffic datasets.