<?xml-model href='http://www.tei-c.org/release/xml/tei/custom/schema/relaxng/tei_all.rng' schematypens='http://relaxng.org/ns/structure/1.0'?><TEI xmlns="http://www.tei-c.org/ns/1.0">
	<teiHeader>
		<fileDesc>
			<titleStmt><title level='a'>DecentNeRFs: Decentralized Neural Radiance Fields from Crowdsourced Images</title></titleStmt>
			<publicationStmt>
				<publisher>Springer Nature</publisher>
				<date>11/21/2024</date>
			</publicationStmt>
			<sourceDesc>
				<bibl> 
					<idno type="par_id">10580643</idno>
					<idno type="doi"></idno>
					
					<author>Zaid Tasneem</author><author>Akshat Dave</author><author>Abhishek Singh</author><author>Kushagra Tiwary</author><author>Praneeth Vepakomma</author><author>Ashok Veeraraghavan</author><author>Ramesh Raskar</author>
				</bibl>
			</sourceDesc>
		</fileDesc>
		<profileDesc>
			<abstract><ab><![CDATA[Neural radiance fields (NeRFs) show potential for transforming images captured worldwide into immersive 3D visual experiences. However, most of this captured visual data remains siloed in our camera rolls as these images contain personal details. Even if made public, the problem of learning 3D representations of billions of scenes captured daily in a centralized manner is computationally intractable. Our approach, DecentNeRF, is the first attempt at decentralized, crowd-sourced NeRFs that require  less server computing for a scene than a centralized approach. Instead of sending the raw data, our approach requires users to send a 3D representation, distributing the high computation cost of training centralized NeRFs between the users. It learns photorealistic scene representations by decomposing users’ 3D views into personal and global NeRFs and a novel optimally weighted aggregation of only the latter. We validate the advantage of our approach to learn NeRFs with photorealism and minimal server computation cost on structured synthetic and real-world photo tourism datasets. We further analyze how secure aggregation of global NeRFs in DecentNeRF minimizes the undesired reconstruction of personal content by the server.]]></ab></abstract>
		</profileDesc>
	</teiHeader>
	<text><body xmlns="http://www.tei-c.org/ns/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="1">Introduction</head><p>Every day, more than 5 billion photos are captured worldwide, comprising multiple viewpoints of every monument, skyscraper, cafe, and concert on Earth. Neural radiance &#337;elds (NeRFs) present an exciting opportunity to process this massive data into immersive visual experiences at a global scale. However, most of these images remain siloed in personal camera rolls. Less than 2% of these captured photos are ever posted on the internet <ref type="bibr">[25]</ref>. Even if these personal images were made public, learning NeRFs for billions of scenes captured daily at a global scale in a centralized fashion is computationally intractable. Therefore, to build immersive visual experiences at a global scale, NeRFs must be decentralized to handle high compute needs and avoid the undesired reconstruction of personal content by a central entity, all the while ensuring photorealism (Fig. <ref type="figure">1(a)</ref>).</p><p>Our framework, DecentNeRF, is the &#337;rst attempt towards decentralized NeRFs from crowd-sourced images. Images in public spaces are often composed of global content,e.g., a monument that we would like to share with the world and a personal content, such as a friend posing in front of the monument that we would like to keep to ourselves. Our key insight is that often global content is static across users, and the personal content is dynamic, i.e., varies from user to user. This association of global as static and personal as dynamic allows our approach to perform global-personal separation in the captured images. Our approach enables sharing only the global scene-speci&#337;c 3D representations across users instead of sharing the combined (global+dynamic) image as in a conventional NeRF pipeline. In doing so, the server avoids the cost of centrally training NeRFs by distributing the NeRF training computation across users. It also minimizes the reconstruction of the undesired occlusions of personal user-speci&#337;c content at the server.</p><p>For a particular scene, we model the multi-view visual data as a combination of a global radiance field for the 3D scene of interest and a personal radiance field for the user's personal information (transient across users). We propose federated learning <ref type="bibr">[15]</ref> procedure to learn the global radiance &#337;eld across users by aggregating only the user's global radiance &#337;eld model (locally trained). Instead of uniformly averaging the users' weights as typical in federated learning <ref type="bibr">[16]</ref>, we propose a novel federation procedure where the per-user scaling is learned implicitly to maximize visual &#337;delity. To prevent the server from accessing the individual user's global radiance &#337;elds, we use a secure multi-party computation (SMPC) protocol <ref type="bibr">[5]</ref> for aggregation. The secure aggregation minimizes the reconstruction of personal content by the server compared to existing approaches during initial rounds of federation.</p><p>Our proposed framework, DecentNeRF is the &#337;rst work to analyze the decentralization aspects of radiance &#337;elds for real-world crowd-sourced images. NeRF-W <ref type="bibr">[20]</ref> achieves the high visual quality of the public global scene from in-the-wild crowd-sourced images but requires all the personal user images to be transferred to a central server for training. This results in personal content directly being accessed by the server and high server compute(Fig. <ref type="figure">1(b)</ref>). We address both these limitations in our work. Works on federated learning of NeRFs <ref type="bibr">[13,</ref><ref type="bibr">31]</ref> demon-strate model compression and large scene modeling capabilities but assume the images of static scenes devoid of users' personal information. When dealing with crowd-sourced data, these approaches not only allow the server to access personal information without a secure aggregation protocol but also result in inaccurate reconstructions (Fig. <ref type="figure">1(b)</ref>). Our approach demonstrates high visual quality in the global content compared to existing decentralized approaches, with &#8764; 10 4 &#215; lower compute than the centralized approach(Fig. <ref type="figure">1(b)</ref>).</p><p>To summarize, we make the following contributions.</p><p>&#347; We introduce DecentNeRF, the &#337;rst approach to address the challenges of learning global 3D scene representations at scale from crowd-sourced images in a decentralized manner. &#347; Our method uses public-global separation and a novel learned federation scheme to achieve high-quality reconstruction of 3D scenes with very low server computing compared to prior works (Fig. <ref type="figure">1(b)</ref>). &#347; Our method outperforms existing federated learning NeRF techniques on scene reconstruction quality while requiring &#8764; 10 4 &#215; lower compute than centralized approaches. We demonstrate this in simulated (Table <ref type="table">1</ref>) and real-world crowdsourced scenes (Table <ref type="table">2</ref>). &#347; We provide an analysis on how secure aggregation of user's global NeRFs in DecentNeRF reduces the reconstruction of personal content on the server Fig. <ref type="figure">7</ref> for both datasets compared to prior works.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="2">Related Work</head><p>3D from Unstructured Image Collection. Generating 3D scene representations for novel-view synthesis from an extensive collection of unstructured images <ref type="bibr">[28]</ref> has been explored in <ref type="bibr">[7,</ref><ref type="bibr">18,</ref><ref type="bibr">20,</ref><ref type="bibr">35]</ref>. However, these prior works are centralized by nature -all the captured images are sent to the server for training NeRFs. Our work, DecentNeRF, diverges from traditional work by focusing on decentralization to 1) distribute the training compute to the users and thus scale to billions of scenes and 2) avoid aggregating users' images, which could contain personal details. Our vision assumes NeRFs can be trained without users' attrition of mobile devices. Recent advancements in mobile NeRF renderings, such as <ref type="bibr">[6,</ref><ref type="bibr">8]</ref>, demonstrate the promise for eventual mobile deployment. Federated Learning. In Federated learning (FL) <ref type="bibr">[15,</ref><ref type="bibr">16]</ref>, each client device trains the model parameters on-device using its own local data. The server then performs a weighted average of the models to obtain a global model and this process continues till convergence. The works in <ref type="bibr">[13,</ref><ref type="bibr">31]</ref> apply federated learning in the context of NeRFs for achieving the utility of 3D scene modeling. Since, NeRFs are 3D representations sharing them instead of raw data would still lead to reconstruction of the personal data. We instead model the local 3D scene representation as a combination of a global radiance &#337;eld for the 3D scenespeci&#337;c detaisls and a personal radiance &#337;eld for the user-speci&#337;c information. This decoupling approach is reminiscent of parameter decoupling in personalized federated learning <ref type="bibr">[32]</ref>. However, unlike personalized federated learning, we</p><p>We aim to develop a decentralized approach where a server can learn a 3D representation of the restaurant, given such a cluster of users and their captured images. This is a challenging problem as the learned scene representation must encode both the appearance and 3D structure of the scene while not revealing the personal image content to the server. To create a global-level 3D representation, we can repeat this process for millions of users and locations (restaurants, monuments, etc.) which puts a compute constraint on the server learning the scene representation. This section highlights the key insights enabling our approach to achieve photorealistic 3D reconstruction with minimal server computing and undesired reconstruction of personal content. Decentralization through Federated 3D Scene Representations. Neural radiance &#337;elds (NeRFs) excel at encoding 3D scene information using multilayer perceptrons (MLPs) <ref type="bibr">[21]</ref>. Existing decentralized solutions collaboratively learn a shared NeRF MLP representation with each user's local views <ref type="bibr">[13]</ref>. The users can re&#337;ne the MLPs locally and in parallel, offloading compute from the server. The server only needs to aggregate user MLP updates into a combined shared MLP and transmit this back to users for further re&#337;nement. Over multiple federation rounds, this approach aims to reconstruct a 3D scene with the shared MLP. Such a federated method requires orders of magnitude less server computation than centralized approaches, aligning with our decentralization goal.</p><p>Existing Federated NeRF performs poorly on crowdsourced images. However, existing federated NeRF approaches assume input view consistency -that any 3D point observed from users' images is static. The underlying assumption is that all users took all images at the same instant, only capturing the global scene content and avoiding personal data. These assumptions do not hold for crowdsourced images taken over months and contain personal content like users, their food, or credit cards which are transient across users. Violations of these assumptions would hamper reconstruction quality (Fig. <ref type="figure">5</ref>) and leak personal content from the shared MLPs (Fig. <ref type="figure">7</ref>). We now provide key insights into how we can exploit the structure of these violations to learn photorealistic global 3D scene content in a decentralized manner.</p><p>1. Personal-Global Content Separation. Only the global scene-speci&#337;c content is 3D view-consistent (static) across users such as the columns and most of the restaurant's interior. By de&#337;nition, all other 3D content would be transient across users, be it non-personal like the wait staff or personal and sensitive like the user, their, or the credit card on the table. To leverage the juxtaposition between scene-speci&#337;c and user-speci&#337;c content, we propose encoding 3D appearance between personal and global MLPs in Sec. 4.2, capturing personal and global content, respectively. Only the global MLP is federated at the server to form the combined global MLP. This allows for high-quality reconstruction of global content over multiple rounds of federation as shown in Fig. <ref type="figure">2b</ref> (bottom). 2. Learned Federation. Users likely have different data distributions -number of views, disparity, and user/scene content ratios. Naive federated averaging of global MLP <ref type="bibr">[16]</ref> is suboptimal as shown in Sec. 6 and Fig. <ref type="figure">4</ref>.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.1">Preliminaries</head><p>We state the assumptions necessary for our approach:</p><p>1. Personal content is transient across users. We assume not all clients have taken images at the same instant, which is a realistic assumption for crowdsourced images. It ensures that the personal content is transient and not static across users like the global content. 2. Sufficient overlap in views. Our approach assumes that no single user has views that don't overlap with another user. We expand more on this in Sec. 6.3. 3. Known camera poses. Our NeRF pipeline assumes known, accurate camera poses. In centralized settings, structure from motion (SfM) on image feature descriptors like SIFT can derive relative camera poses using COMLAP <ref type="bibr">[27]</ref>. Decentralized SfM is an active research area <ref type="bibr">[1,</ref><ref type="bibr">10]</ref> and beyond the scope of this work. Threat model. From a user's perspective, the server and other users are untrusted. However, we assume no collusion between users to leak more information than possible individually. Unlike differential privacy <ref type="bibr">[11]</ref>, which prevents identity leakage, we focus on preventing the reconstruction of user-speci&#337;c semantic personal information by the server. The server can try to reconstruct a target user's personal information from the averaged model updates. We currently limit our scope to honest-but-curious servers who follow protocols but attempt to reconstruct raw data based on observations, leaving other attack types for future work.</p><p>NeRF Backbone <ref type="bibr">[21]</ref> At its core, NeRF trains a multi-layer perceptron (MLP) that takes a 5D input vector: a 3D spatial coordinate x = (x, y, z) within the scene, and pitch &#952; and yaw &#966; parameters of the viewing direction d. The MLP outputs a scalar density &#963; and an RGB color vector c = (r, g, b). NeRF rendering synthesizes images via volume rendering, sampling predicted color and density at many points along rays traversing the scene. For a particular ray corresponding to a pixel, the MLP predicts a color vector c = (r, g, b) and compares it with the ground truth RGB value, using the loss to train the MLP weights. We refer the reader to <ref type="bibr">[21]</ref> for more details.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.2">Personal-Global Content Separation</head><p>Consider a scene with K known users. For each user k, we model the scene using global and personal MLPs (Fig. <ref type="figure">3</ref>) with the MLP weights denoted as g k and p k respectively. The personal MLPs are kept native to the user's device. In contrast, the global MLP captures shared global content (such as the landmark) across users via federation. Each MLP outputs its scalar density &#963; and an RGB color c = (r, g, b), so the rendered image is an alpha-composite of both output images. Our architecture is inspired by NeRF in the Wild (NeRF-W) works in <ref type="bibr">[7,</ref><ref type="bibr">20]</ref>, with each user essentially running NeRF-W locally. The global and personal MLPs are analogous to the static and transient MLPs in the context of a single user. However, the global-personal de&#337;nition better suits the decentralized setting since NeRF-W's transient MLP will not separate all of the personal content from the user. Imagine a subject being recorded in front of a monument with send_grads() This function is similar to send_wts in its design as each user communicates its local gradients by performing randomized obfuscation to its gradients in a similar way it performs obfuscation of the weights.</p><p>compute_grads() This function is relatively simple where each user calculates the update step described in equation ( <ref type="formula">2</ref>) and then updates &#945; k accordingly.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="4.5">Summarizing our algorithm</head><p>Putting together the building blocks developed above, our algorithm can be summaries as (We refer the reader to the supplementary material for pseudocode of the detailed algorithm):</p><p>&#347; Assumes random initialization of global G (0) and personal MLP weights P (0) at all K users. &#347; (On the user) For each round the users return the current g m k and previous rounds global MLP along with loss gradients of previous round global MLP weights &#8706;L k &#8706;g (m-1) . They also calculate the gradient updates for &#945; k . &#347; (On the server) For each round the weights and previous rounds gradients are securely aggregated and sent back to the user.</p><p>5 Experimental details</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.1">Datasets</head><p>Novel Blender Dataset. To do a controlled study of the effects of varying occluding personal content, number of users, and overlap of user views, we introduce our own synthetic dataset. We do it by adding personal content in the form of Lego people to the original blender dataset from <ref type="bibr">[21]</ref>. The equivalent of this would be actual people/occlusions in a real-world setting. Unless mentioned otherwise, the dataset comprises 360-degree rotation with non-IID partitioning of 18 degrees in yaw angle rotation of 100 images distributed equally among 20 users. Each view contains six Lego people, with one static person per user's view representing personal content. More details and examples from the novel dataset are shown in the supplementary. Phototourism Dataset. To evaluate the decentralization bene&#337;ts of our approach on a real-world dataset we also evaluate 3 scenes on novel-view synthesis from unconstrained image collections: Brandenburg Gate, Trevi Fountain, and Sacre Couer <ref type="bibr">[28]</ref>. Our setup has 20 clients each with 10 images of 2x downsampled resolution. Please refer to the supplementary for more details.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.2">Baselines</head><p>We compare our solution with a centralized approach (NeRF-W <ref type="bibr">[20]</ref>) and an existing decentralized approach (FedNeRF <ref type="bibr">[13]</ref>). We also run an ablation of our approach without the learned federation federation. of personal content. We render views for the server-accessible MLPs which would be users' Global MLPs for FedNeRF and Server Global MLP for DecentNeRF.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="5.4">Implementation Details</head><p>We use a PyTorch Lightning implementation of NeRF-W <ref type="bibr">[17]</ref> for centralized evaluation. We implement the secure aggregation protocol, SecAgg <ref type="bibr">[4]</ref>, using Flower <ref type="bibr">[3]</ref>. Our approach differs from FedNeRF <ref type="bibr">[13]</ref> as we employ a Personal MLP, appearance embedding, secure aggregation, and learned weighted averaging. Please refer to our supplementary material for training and model details.</p><p>6 Results and Analysis</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.1">Ablation on Learned Federation</head><p>To demonstrate the advantage of Learned Federation of weights in terms of photorealism we created a Blender scene with 8 users -4 with heavy occlusion, and 4 with less occlusion overlapping the former. In Fig. <ref type="figure">4</ref> we compare our novel learned federation approach with ablation using FedAvg aggregation strategy trained on this scene. We also compare with FedNeRF. Our learned federation learns to weigh users with less occlusion, boosting PSNR on global content (GT).</p><p>In real-world scenarios, DecentNeRF would access clients with varying occlusion levels and learn to weigh them explicitly, without prede&#337;ned heuristics. This allows for better optimization than existing FedAvg.</p></div>
<div xmlns="http://www.tei-c.org/ns/1.0"><head n="6.2">Photorealism and Decentralization analysis</head><p>Novel Blender Dataset. We do a quantitative and qualitative analysis of photorealism and decentralization on our novel Blender dataset in Table <ref type="table">1</ref> and in Fig 5 . Our results highlight that our approach requires &#8764; 10 5 &#215; server compute than a centralized approach with only a minimal decrease in photorealism as opposed to FedNeRF which breaks in the presence of occlusion/personal content. Phototourism Dataset. We do a quantitative comparison of DecentNeRF reconstruction performance on real-world crowdsourced Phototourism Dataset for FedNerF, NeRFW, and our approach. In Fig. <ref type="figure">6</ref> and Table <ref type="table">2</ref> the results tell a compelling story that we are able to perform as well as the best performing centralized approach (NeRFW) in real-world scenes while several orders of magnitude less server compute.</p></div></body>
		</text>
</TEI>
