arXiv Science⌕ Search

arXiv subjects

Przemysław Spurek

Publications and source records attributed to Przemysław Spurek.

At least 19 recordsLinked to original sources

ICCF: Learning In Context Consistent Features via Discriminative Objective

Modern computer vision and scene understanding has been heavily influenced by potent image encoders, such as DINO family. Outside of high level tasks, they become important part of multi-view geometry estimation models. While very capable, reliable scene understanding requires the model to be able to infer using context rather than single view. In this work, we introduce a framework for fusing semantic and geometric features from 2D visual model and reconstruction model respectively, to obtain in context 3D consistent features. Through our discriminative objective, we train small neural network to learn features that are both locally distinctive and 3D consistent within context window. At the same time, learned features are enforced to stay aligned with the feature space of original image encoder to retain their high level properties. Our method is causal by design and can be trained in self-supervised regime, providing needed flexibility. To demonstrate capabilities of our approach, we evaluate it on the comprehensive set of experiments spanning: feature matching, label propagation, segmentation, 3D lifting and camera pose estimation. Across those, our method produces informative features that can be reliably correlated across context, working in both 2D and 3D regime. The project page is available under: https://swirtab.github.io/ICCF/

cs.CV↗

CLASP: Continual Low-rank Adapters for Spatially Placed Concepts from One Hypernetwork

Continual personalization of text-to-image diffusion models requires learning new concepts in sequence while retaining earlier ones, without access to their training data. Existing methods either forget or store parameters for every concept, so their memory footprint, and with LoRA fusion also their inference cost, grows with the stream. We propose a rehearsal-free approach in which a single fixed-size hypernetwork generates the low-rank adaptation of a frozen diffusion model for every concept from a task embedding. Instead of storing a new LoRA for each concept, we regularize the network in its output space, so the LoRAs it generates for earlier concepts stay stable. The same network generates placement tokens, which let a user-given bounding box position the concept without per-concept spatial modules. Its parameter count is therefore independent of the number of concepts. On the ten concepts of the CIFC benchmark with SD-1.5, our method improves image alignment over CIDM at matched text alignment, forgets 0.006 DINO against 0.023, generates LoRAs that preserve identity better than LoRAs trained independently for each concept, and places every object concept in the requested quadrant. On SDXL, it trails the published CIDM result by 2.6 points of image alignment. On streams extended to one hundred concepts, the first ten concepts lose 0.060 DINO after fifty tasks, against 0.165 for LwF.

cs.CV↗

KENT: Accessory-Based Identity Masking for Privacy-Preserving 3D Facial Avatars

Every frame a photorealistic head avatar renders shows its subject's face, and the avatars we evaluate verify as their subjects at a 100% true-accept rate. Most facial-privacy methods would protect such an avatar by modifying its face, at the cost of the resemblance it is built to provide. We present KENT, which protects a 3D Gaussian head avatar from face recognition by optimizing only the accessory it wears, leaving the face unmodified. KENT optimizes all parameters of the accessory's Gaussians to lower the rendered avatar's similarity to a photograph of the subject under an ensemble of recognizers and sampled camera poses. To make the accessory appear deliberately chosen, we stylize it from a user's text prompt, adapting CLIP-guided Gaussian stylization. On 62 NeRSemble avatars and against held-out recognizers, KENT reaches a mean protection rate of 0.62, the highest among the compared accessory-based methods. The optimized accessory changes 8.4% of the visible face pixels, yet matches the protection of CLIP2Protect (0.61), which changes 75.4%. In a user study with 72 participants, KENT is rated the most natural of the protection methods and is ranked first in 57.3% of image and 65.3% of video rankings.

cs.CV↗

TePIC: Text-Driven Prototypes for Image Classification

Prototype-based post-hoc methods explain image classifiers by showing visual examples. Recent generative variants synthesize these prototypes by optimizing continuous embeddings that condition a text-to-image model. The resulting prototypes are images without textual description, so the viewer must infer which attribute the prototype represents. The optimized embeddings cannot be directly read. We introduce TePIC, a framework that replaces continuous latent vectors with short text prompts generated by a language model. A frozen text-to-image model renders prompt, and the classifier scores the rendered images. The prompt is rewarded only if its images activate the target channel strongly and the other selected channels weakly. Each prompt is therefore both the name of a concept and the exact condition that produces its prototype. Since token sampling is not differentiable, we train the language model with group-relative reinforcement learning. Across vision benchmarks, TePIC matches baseline accuracy and provides more informative explanations. Unlike prior methods, which attach text to a prototype post-hoc, TePIC produces prototypes in which the text directly generates the corresponding images. These findings demonstrate that discrete language policies can replace latent spaces that humans cannot interpret and deliver faithful, text-based visual explanations. Code is available at https://github.com/gmum/TePIC

cs.CV↗

FACET: Ray-Traceable Local Implicit Neural Representations for Editable Images

Implicit neural representations (INRs) encode images compactly as continuous functions, but they expose no surfaces that could be moved, lifted to 3D, or lit. Gaussian-based representations expose such surfaces. Some fix appearance to each primitive, so detail costs many primitives or memory. Others compute it from neighboring primitives, so edits change the appearance. Existing image representations cannot at once be deformed by hand or by physics simulation, be lifted into 3D, and be placed in a scene with added lights, mirrors, and glass, while keeping their fitted appearance. We introduce FACET, an editable representation that brings 3D scene interactions to a single image. FACET couples oriented planar components with continuous local neural appearance. A shared decoder predicts color and opacity from local coordinates and compact component descriptors, allowing fitted detail to follow geometry without per-component texture maps. Planar editing, mesh-driven simulation, depth-guided lifting, and ray tracing with reflection and refraction reuse the fitted appearance without retraining. Experiments on Kodak-24 and DIV2K-100 demonstrate higher reconstruction quality and smaller inference models than the evaluated editing-oriented baselines. Controlled editing and lifting experiments further demonstrate improved appearance preservation.

cs.CV↗

FoamSurf: A Voronoi-Surfel Representation for Differentiable Rendering

Scenes inside a scattering medium contain solid surfaces, such as the seabed or rocks, and a semi-transparent medium, such as water, fog, or smoke. Recent Gaussian-based methods produce realistic images of scenes in scattering media, but traces of the medium can remain visible in surface-only renders. Neural fields separate surfaces and medium more accurately, but they are slow to train and difficult to edit. Both approaches evaluate the medium only along camera rays, so its effects along reflected and refracted rays are not modeled. These limitations prevent reliable surface recovery, independent editing of surfaces and the medium, and consistent rendering of inserted objects. We present FoamSurf, a hybrid representation that models surfaces with planar Gaussian surfels and the medium with space-filling Voronoi cells. A single differentiable ray tracer composites both along arbitrary rays, while training priors keep them separate without segmentation masks. Across real underwater scenes, synthetic scenes, and dense fog, FoamSurf achieves image quality on par with the state of the art and the most accurate surface-medium separation among the compared methods. The recovered components can be removed, edited, or stylized independently, and the same reconstruction supports inserted mesh objects with attenuation and scattering along both direct and reflected or refracted rays. Together, these capabilities enable scene restoration, editing, and composition within a single reconstructed model. Project page: https://grzegorzwilczynski.com/foamsurf/

cs.CV↗

MedGS: Gaussian Splatting for Multi-Modal 3D Medical Imaging

Multi-modal three-dimensional (3D) medical imaging data, derived from ultrasound, magnetic resonance imaging (MRI), and computed tomography (CT), provide a widely adopted approach for non-invasive anatomical visualization. However, accurate modeling depends on surface reconstruction and frame-to-frame interpolation, where traditional methods often struggle with image noise and incomplete information between sparse frames. To address these challenges, we present \our{}, a novel framework based on Gaussian Splatting (GS) designed for high-fidelity 3D anatomical reconstruction. Uniquely, \our{} employs a multi-task architecture that simultaneously performs frame interpolation and segmentation using a unified geometric representation. By coupling these tasks, the model leverages dense signals from image synthesis to regularize the geometry, enabling high-quality surface extraction even from a limited number of input frames. Specifically, medical data are modeled as Folded-Gaussians with dual color attributes, supported by an In-Between Frame Regularization (IBFR) mechanism. Experimental results demonstrate that \our{} achieves higher metric scores than implicit neural representations and improves interpolation quality. Repository: https://github.com/gmum/MedGS

cs.CV↗

AEGIS: Preserving Privacy of 3D Facial Avatars with Adversarial Perturbations

The growing adoption of photorealistic 3D facial avatars, particularly those utilizing efficient 3D Gaussian Splatting representations, introduces new risks of online identity theft, especially in systems that rely on biometric authentication. While effective adversarial masking methods have been developed for 2D images, a significant gap remains in achieving robust, viewpoint-consistent identity protection for dynamic 3D avatars. To address this, we present AEGIS, the first privacy-preserving identity masking framework for 3D Gaussian avatars, concealing identity from automated face recognition while preserving the avatar's perceptual realism and animation usability. AEGIS applies adversarial perturbations to the base (DC) color coefficients of the Gaussian primitives, guided by an ensemble of pre-trained face verification networks, embedding the protection directly in the 3D representation so that it applies across viewpoints and animations, without retraining or modifying the avatar's geometry. Evaluated against black-box recognizers, AEGIS reduces face retrieval and verification accuracy to near-zero while maintaining high perceptual fidelity. It also preserves key facial attributes such as age, gender, and emotion, demonstrating strong privacy protection with minimal visual distortion. We further introduce a viewpoint-robust leakage metric that quantifies residual identity leakage across an avatar's rendered viewpoints, which single-view evaluation cannot capture.

cs.CV↗

InTAct: Interval-based Task Activation Consolidation for Continual Learning

Continual learning seeks to acquire new knowledge while preserving previously learned representations. Despite the success of prompt-based methods, they remain fragile in domain-incremental learning scenarios, where shifts in the input distribution cause representation drift in shared layers and lead to forgetting. We introduce InTAct, a method that preserves functional behavior in shared representations without freezing parameters or retaining past data. InTAct constrains updates within activation regions associated with prior domains, while allowing flexible adaptation elsewhere, thereby stabilizing neuron functionality rather than directly restricting parameter values. The approach is architecture-agnostic, integrates seamlessly with existing prompt-based frameworks, and matches or outperforms state-of-the-art methods on domain-incremental benchmarks.

cs.LG↗

DomeGS: Perceptually Consistent Background Completion for Unbounded 3D Gaussian Splatting in Virtual Reality

The growing need for high-quality 3D content remains among the most prevalent challenges in virtual reality (VR). Recently, novel view synthesis techniques have enabled rapid content creation, with 3D Gaussian Splatting (3DGS) emerging as one of the most promising methods for generating high-fidelity 3D scenes. However, using 3DGS to reconstruct unbounded outdoor scenes can leave horizons incomplete due to missing data or a lack of distant geometric constraints. Such incompleteness can break immersion, compromising VR's core characteristic. A typical workaround in traditional VR systems is a textured cube (skybox) or sphere (skydome) surrounding the environment to create the illusion of a distant background. However, these approaches struggle to blend seamlessly with the reconstructed 3DGS geometry. To address these issues, we introduce the DomeGS framework, which incorporates the skydome concept not as a flat background shell, but as a part of the reconstructed Gaussian Splatting 3D scene. By integrating the horizon and sky into the 3DGS representation, our method provides a unified, scene-consistent environment bridging foregrounds and backgrounds for greater realism. Experimental evaluation with N=36 users demonstrates that DomeGS significantly increases spatial presence (p=0.042) and realism (p=0.042) compared to the skybox baseline.

cs.GR↗

Pin It on Anyone: Certified Targeted Displacement of Multi-Bit LLM Watermarks Without the Key

Multi-bit watermarking embeds a message, typically an account identifier, into LLM output so that harmful text can be traced to its origin. We show an attack technique that allows to alter the watermarking message. This allows to, for example, exchange the embedded account ID to an arbitrary different one. The attacker mainly needs access to a few accounts for generating LLM output and model logits, but crucially not the secret key used to watermark. The attacker then rewrites the text, keeping its meaning, so that the watermarking message decoder recovers the watermarking message embedded by the attacker. We are, to our knowledge, the first to propose such an attack, which we call a targeted displacement. Theoretically, we present upper and lower bounds on the probability of our attack succeeding. This bound depends on the number of accounts the attacker has access to, the length of the message and some characteristics of the given text. Our attack can succeed whenever we can bound the ambiguity of the generated text well enough. Empirically, we test our attack technique against five watermarking methods and four LLMs. Attack success tracks our predicted bounds, allowing us to alter watermarking messages in almost all cases with high accuracy, given enough accounts. Our code can be found at https://github.com/Batorskq/PinIt.

cs.CR↗

ClasSAE: Class-Aligned Sparse Autoencoders via Differentiable Feature-Class Affinity

Sparse Autoencoders (SAEs) began as an unsupervised tool for decomposing neural representations into sparse, interpretable features, and are increasingly used not only for passive analysis but also for active interventions such as unlearning, bias mitigation, and concept editing. A central challenge for these editing and steering methods is reliably matching features to target concepts; most current approaches address this by computing post-hoc scores over an already-trained, frozen dictionary. We instead introduce ClasSAE, a novel method that both automatically assigns classes to features and guides the encoder toward class-separable representations during training. Specifically, we apply a differentiable top-$k$ operator to a trainable feature--class affinity matrix with per-feature budgets, coupling the features selected for each sample to the classes they are trained to represent. Because gradients flow through the selection of active features rather than only through their magnitudes, the encoder and the affinity matrix co-adapt rather than being fit in separate stages. The result is a dictionary that is both class-separable and class-annotated, with no need for post-hoc probing. We propose three variants for enforcing sparsity within this framework, which achieve comparable overall performance with slightly different trade-offs. Using CLIP ViT-L/14 embeddings on ImageNet, we show that the learned affinity matrix agrees closely with an independently estimated post-hoc feature-class matrix computed on held-out data. The model also supports direct class prediction from the encoder and affinity matrix alone, without a separately fitted classifier, and its more class-aligned encoder yields improved separation in Targeted Probe Perturbation evaluations. https://github.com/St0pien/ClasSAE.

cs.CV↗

STAGE: Subspace-Targeted Affine Generative Erasure for Text-to-3D Models

Concept erasure suppresses a target concept while preserving behavior on unrelated inputs. Existing closed-form methods were designed for 2D image diffusion and assume a single generative pathway, so one edit must cover geometry and texture at once. Native 3D generators, which synthesize structured 3D representations directly rather than by lifting 2D samples, violate this assumption. We show that shape and object concepts must be erased in the structural stage of the pipeline and material concepts in the appearance stage. We therefore formulate erasure in native text-to-3D as a stage-aware editing problem and introduce STAGE, a training-free, closed-form framework. STAGE confines each edit to the low-dimensional subspace spanned by the differences between erase and anchor embeddings, and relaxes the norm-preserving (orthogonal) constraint of prior editors into a least-squares affine correction that maps target activations onto safe anchors subject to a penalty on the displacement of retained prompts. The correction applies to the structural stage, the appearance stage, or both. We find that the stage an edit must reach is determined by concept type. On TRELLIS, the standard open native 3D generator, across 15 shape, material, and object concepts, STAGE reaches 66.7 on a composite score that balances forgetting the target concept against preserving everything else, aggregating CLIP-based semantic and physical metrics, versus 53.2 for the strongest adapted baseline. Code: https://github.com/gmum/STAGE/ Project Page https://gmum.github.io/STAGE/

cs.CV↗

BARRIER: Bounded Activation Regions for Robust Information Erasure

Machine unlearning aims to remove targeted concepts from a trained model while preserving the rest of its knowledge. Central challenge of this setting is that effective and robust erasure requires extensive parameter updates, which can unintentionally alter representations that should be retained. As a result, existing methods often trade erasure strength for preservation, due to the lack of formal guarantees on the protection of neutral concepts. To address this, we propose BARRIER (Bounded Activation Regions for Robust Information Erasure), a method that enables more intensive unlearning by driving updates within an identified activation space control region, where target erasure can be performed with limited collateral degradation. Using interval arithmetic, we obtain a closed-form bound on the worst-case representation change over protected regions and use it as a knowledge preservation objective. We provide a formal analysis of this protection and its effect on the functional drift. BARRIER is principled, architecture-agnostic, and compatible with existing erasure objectives. Empirical evaluations demonstrate that BARRIER achieves competitive performance across classification and generative settings, including notable gains in some cases, while maintaining strong robustness against adversarial recovery attacks. Our code is available at https://github.com/OneAndZero24/BARRIER.

cs.CV↗

FOMO: Forget the Concept, Don't Miss Out on the Scene in Selective Video Unlearning

The rapid advancement of generative video models has enabled the synthesis of increasingly realistic and temporally coherent videos, while also raising concerns about the generation of harmful content. The reliance on large-scale web datasets during training inevitably exposes these models to undesirable material, making concept unlearning an essential mitigation. Existing methods mainly target static visual concepts, such as objects, identities, or unsafe appearance, largely overlooking motion unlearning. Furthermore, these approaches often pay little attention to preserving the surrounding scene. As a result, successful concept removal may unintentionally alter the background, composition, or overall video dynamics. We argue that effective unlearning should ideally change only what is targeted, while minimizing unnecessary changes to the remaining scene. In this work, we introduce FOMO, to the best of our knowledge the first training-based selective video unlearning method that directly treats preservation of the original scene as a priority. We formulate unlearning around two complementary objectives: what to change and what to preserve. Our method localizes concept-related representations and modifies them, while the preservation mechanism maintains non-target scene information without requiring auxiliary data. Beyond simply erasing unwanted concepts, FOMO explicitly redirects the generation toward a specified safe alternative. We further extend this formulation to motion unlearning, where the concept is defined by temporal behavior rather than a fixed spatial region. Our solution achieves effective unlearning across unsafe content, object, and motion concepts, while achieving the best trade-off between concept removal and scene preservation. Code: https://github.com/gmum/FOMO Project Page https://gmum.github.io/FOMO

cs.CV↗

LLM unbranding: Erasing Commercial Identity while Preserving Generic Utility

Establishing unbranding as a critical practice to prevent visual logos from acquiring negative connotations is standard in image generation. Large Language Models (LLMs) now face a parallel and emerging challenge. These models frequently generate brand descriptions within diverse contexts. This frequency introduces significant risks, such as trademark dilution, false attribution, and brand defamation. In response, we formally define the novel task of LLM Unbranding. We specifically address the complex challenge of managing trade dress within textual outputs. This involves neutralizing characteristic language, slogans, and stylistic markers that define brand identity. Crucially, these elements are less evident than explicit visual logos. To benchmark this task, we introduce a comprehensive evaluation dataset incorporating prominent brands from multiple commercial domains. We rigorously evaluate existing state-of-the-art machine unlearning models using this benchmark. This evaluation identifies their limitations in selective textual unbranding. Finally, we propose MUTE, a novel inference-time method that effectively neutralizes textual trade dress while preserving the LLM's general capabilities and utility. By leveraging an iterative refinement loop, MUTE systematically optimizes system instructions to safely eliminate brand leakage without requiring fragile parameter updates. Code and dataset: The evaluation dataset and code for LLM Unbranding are available at https://github.com/KajetanOzog/LLM_unbranding. The implementation of MUTE is available at https://github.com/KajetanOzog/MUTE.

cs.CL↗

CertMark: Distortion-Free Multi-Bit Watermarking with Certified Decoding

Leading multi-bit watermarking methods for language models encode messages by biasing the model's next-token probabilities, creating a trade-off between message recovery and text quality. Their decoders typically return the highest-scoring candidate from accumulated token-level evidence, without a certified abstention rule that bounds the probability of outputting an incorrect message. We introduce CertMark, a distribution-preserving multi-bit watermark with certified decoding. Rather than modifying probabilities, CertMark uses the embedded message to seed an exact Gumbel-max sampler, thereby preserving the model's original sampling distribution. We propose two scalable decoders: a model-agnostic, text-only decoder and a model-aware variant that leverages the original next-token distributions for stronger recovery. Both support certified abstention with mathematical bounds on the probability of returning an incorrect message. Across text completion, summarization, and story generation, CertMark matches the perplexity of unwatermarked text while reliably recovering multi-bit messages. The model-aware decoder further achieves higher bit accuracy than probability-biasing baselines. Our code is publicly available at https://github.com/Batorskq/CertMark.

cs.CL↗

PiPS: Post-Hoc Prototypical Explanations for Interpretable Semantic Segmentation

With the increasing deployment of deep neural networks in critical systems, such as medical diagnostics and autonomous vehicles, ensuring their interpretability is crucial to building trust in decision-making systems. In the field of explainable artificial intelligence, prototype-based reasoning has gained particular popularity, as it mimics human cognitive processes by explaining model decisions based on visual similarity under the looks like this paradigm. While this paradigm has been thoroughly investigated in the context of global image classification, the interpretability of dense predictions, particularly semantic segmentation, remains largely unexplored despite its immense importance in tasks requiring precise object localization. Existing prototype-based interpretable segmentation models rely on ante-hoc architectures, which entails significant limitations because they require costly training from scratch and modifications to the network structure, ultimately leading to a noticeable drop in predictive performance compared to standard black-box models. To address this issue, we propose PiPS (Post-hoc interpretable Prototypical Segmentation), the first fully post-hoc solution for generating prototypical explanations for semantic segmentation models. Our method enables the extraction of intuitive, spatially localized explanations from any pre-trained network without modification or fine-tuning, thereby preserving 100% of the model's original predictive performance. This approach opens a new avenue for the safe and cost-effective deployment of transparent systems in advanced computer vision tasks. Codebase available at https://github.com/gmum/PIPS.

cs.CV↗