Manuscript Offprint
arXiv:2611.01437Adaptive Surface Cleaning under Uncertain Cleaning Response
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
I. INTRODUCTION
Surface cleaning is a contact-rich manipulation task that requires a robot to decide not only where contamination exists, but also how to interact with it. Because different contaminants demand varying motions, applied forces, or repeated passes, effective cleaning requires determining both the spatial organization of the cleaning plan and the parameters of the cleaning actions during execution.
Making these decisions adaptively is challenging because the contamination response to cleaning varies across the surface and cannot be known in advance. Two visually-similar regions may respond differently to the same wiping action due to unobservable factors like contaminant composition, adhesion, drying, or surface properties. Consequently, the robot must instead infer these reactions from physical interaction, using observed outcomes to continuously adapt its subsequent actions.
Prior work has either learned cleaning transitions from action outcomes or assumed analytical models to support planning and adaptation [1]–[4]. Other approaches focus on transferring demonstrated cleaning motions across tools and surfaces or adapting contact and force during execution [5]–[7]. These methods address important components of the cleaning task, but do not explicitly account for uncertainty in the spatially-varying cleaning response during planning.
To reason about this uncertainty, we treat the unknown cleaning response as a latent component of the surface state. Belief-space planning provides a natural framework for decision making when relevant state variables are uncertain or unobservable [8], [9], while physical interaction can provide observations that refine latent-state estimations and support adaptive replanning [10]. We therefore formulate adaptive cleaning as a partially observable Markov decision process (POMDP). Each surface region contains a visible contamination state and a latent response state. We instantiate the latent response using a scalar force-response surrogate and maintain a joint per-cell belief over the two states. After each execution, the discrepancy between predicted and observed contamination updates this belief, guiding subsequent cleaning motions, forces, and passes.
To solve this POMDP, we propose a belief-aware planning framework that alternates surface observation, belief updating, geometry-based action generation, plan evaluation, execution, and replanning (Fig.1). Candidate plans are constructed from alternative spatial clusterings of contamination and parameterized over discrete force levels and pass counts. Preliminary grid-world simulations validate the closed-loop planner under simplified cleaning dynamics. Future work will extend this evaluation to physical robot execution with visual perception.
where is the state space, is the action space, is the transition model, is the observation space, is the observation model, and represents the cost associated with executing actions.
A. State Space
We consider contamination distributed over a bounded planar surface that is discretized into a grid:
where each cell indexes a spatial region of the surface (Fig.1). We associate each cell with two state variables: a contamination state and a cleaning-response state . The contamination state may vary spatially, is observed only through sensor-derived measurements, and corresponds to a clean cell. The latent response state captures the spatial variation in how contamination responds to cleaning actions, which is not directly observable and must be inferred from the observed outcomes of actions. It is an abstract parameterization of the local cleaning dynamics which represents the unknown physical quantities that determine how the contamination state changes under a cleaning action, e.g., through a transition of the form
We intentionally do not prescribe the dimension or physical interpretation of , since different classes of contamination may require different transition models and response parameters. Thus, represents whatever latent properties are required to parameterize the underlying cleaning response. Currently, we adopt a scalar surrogate for this latent response to obtain a tractable belief and transition model (Sec. III-A).
The state of cell is and the complete surface state is where and .
All authors are with the General Robotics, Automation, Sensing, and Perception (GRASP) Laboratory, University of Pennsylvania, USA (spencrli, rhollada)@seas.upenn.edu.
B. Observation Model
The sensor observation is an image of the surface that we partition into the grid . Let denote the image crop corresponding to cell . A perception function maps each image cell to a normalized appearance score
with the zero-anchor property
The complete processed observation is .
Currently, we assume that is observed without noise and do not model uncertainty introduced by sensing, image registration, or the perception function . Accordingly, is treated as a deterministic observation of the visible contamination state , while the latent response state remains unobserved.
C. Action Space and Cost Function
We define the action space as a finite set of parameterized cleaning and repositioning controllers,
We associate each action with a cost determined by its parameters, and evaluate candidate plans by summing the costs of their constituent actions. To penalize larger applied forces and longer motions in cost functions, we introduce a force-dependent cost factor and measure motion length using Euclidean distance in grid coordinates. Manually specified weights balance the contributions of path length, covered area, and travel distance. The exact action parameterizations and action-specific cost functions are provided in Appendix A. Actions will be implemented on the real robot using joint position and Cartesian impedance controllers.
D. Transition Model
We assume that cleaning induces a stochastic state transition whose effect on the contamination state depends on the latent cleaning-response state . Given the joint surface state s, the transition model is
The transition dynamics are initially unknown to the planner because the cleaning response component is not observable. Interaction with the surface therefore provides information not only about the resulting contamination state but also about how the surface responds to cleaning actions.
We assume spatially independent cell transitions conditioned on the applied action:
An action affects the contamination state only within its contact footprint; cells outside that footprint are unchanged by the cleaning action. The dependence on allows regions with similar contamination levels to exhibit different stochastic responses to the same applied action.
E. Planning Objective
The goal is to bring every region to the clean state.
Under the uncertain, spatially varying dynamics, our objective is to reach this state while balancing cleaning progress against redundant effort and travel. Because directly solving the full POMDP is generally intractable in this setting, we propose a closed-loop, belief space planner that adaptively and iteratively replans from observed surface outcomes.
III. APPROACH
Our approach couples a spatially-varying cleaning response model with a planner that constructs, evaluates, and adapts plans based on observations. Each planning iteration updates the belief state from the current surface observation, generates and scores candidate plans, executes the highest-scoring plan, and incorporates the resulting observation before replanning (Fig.1). The complete planning procedure is summarized in Appendix B.
A. Belief Modeling and Update
True contamination dynamics depend on the contaminant, surface, and cleaning interaction and are generally unknown. Because directly estimating the latent response state is infeasible, we instead represent it with a scalar latent surrogate , which we refer to as stickiness and interpret as an effective normalized force threshold. Rather than recovering the higher-dimensional , captures a single force-dependent response characteristic for adapting cleaning actions.
We define the cell state and its belief mean as
For each cell, the planner maintains the joint Gaussian belief
- Belief dynamics model: The belief assumes an internal transition model capturing two properties motivated by everyday cleaning interactions. First, cleaning effectiveness depends nonlinearly on applied force: forces below a contamination-dependent response threshold may have little effect, while effectiveness increases once that threshold is exceeded. Second, each cleaning pass removes a fraction of the remaining contamination rather than a fixed absolute amount, reflecting how repeated wiping yields diminishing returns that leave residual contamination.
We model the fractional contamination reduction per pass using a smooth threshold response over normalized applied force :

Fig. 1. Overview of the adaptive cleaning pipeline. At each iteration, the sensor input is converted into a scalar contamination observation to update the surface belief. Contaminated regions are grouped by spatial connectivity or alternative k-means clusterings (illustrated for , and 5). For each cluster, the planner generates a candidate plan and evaluates under the current belief. The highest-scoring plan is executed and then the updated surface is observed to begin the next cycle. Red shading indicates contamination (darker = higher ); shaded orange circles denote spiral actions, while green and blue line segments denote wipe and move actions, respectively.
with manually specified and corresponding to the removal scale and the smoothness of the force-response transition, respectively. With a per-pass residual fraction of
the planner assumes the internal transition function of
Hence the stochastic prediction is:
Thus, affects the predicted cleaning effectiveness but is unchanged by the transition itself. The process covariance represents uncertainty.
The observation measures only the contamination coordinate. Let denote the selector for that coordinate. The measurement model is:
Thus, is inferred from action outcomes rather than observed directly. The covariance parameters in and are currently designed rather than learned.
- Belief update: We use a per-cell extended Kalman filter (EKF) to maintain our belief because the transition in (14) is nonlinear in . The EKF prediction is
where is the Jacobian of the internal transition model. The new appearance observation is then incorporated through the standard EKF measurement update:
where and are the innovation and Kalman gain, respectively. Appendix C provides the complete prediction and measurement update equations.
Although observations directly measure only the contamination, action-dependent transitions create covariance between and . Innovation therefore updates the latent response estimate: under-cleaned outcomes shift higher while over-effective cleaning lowers it. This outcome-driven update adapts subsequent cleaning decisions.
B. Interleaved Manipulation Planning in Belief Space
At each iteration, the planner uses the current observation and belief to decide where and how to clean (Fig.1). To balance progress with efficiency, the planner constructs a set of candidate plans with varying spatial clustering and cleaning actions, then executes the highest-scoring plan under the current belief.
- Spatial Grouping and Candidate Generation: To evaluate different spatial trade-offs, the planner generates alternative decompositions of observed contamination, , grouping nearby regions when joint coverage is advantageous or separating them when targeted treatment is preferred. For each cluster , it generates a geometry-dependent sequence of cleaning actions:
where is the number of actions. A cluster may require one action (e.g. a spiral for circular regions) or multiple actions (e.g. wipes joined by moves for elongated regions).
The planner then searches over the force and pass parameters for each cleaning action, ordering and assembling them into a complete candidate plan . See Appendix D for the detailed candidate-construction procedure.

Fig. 2. Evolution of the simulated surface and cleaning actions over planning iterations. Red shading indicates remaining contamination; orange circles denote spiral actions, while green outlines and line segments denote wipe actions and their trajectories. Panels (b)–(d) illustrate the planner's spatial decompositions: nearby contamination is grouped together in (b), split into clusters with separate actions in (c), and regrouped as the residual geometry changes in (d). In later iterations, sparse contamination leads the planner to favor local wipe actions over broad spiral actions to avoid unnecessary coverage of clean areas.
- Belief-Aware Candidate Ranking: Each candidate plan is scored by summing over clusters, given current belief :
where
penalizes action cost , wasted effort and travel cost against predicted contamination reduction , weighted by manually-set parameters (Appendix E).
The planner evaluates all candidate plans, executes the highest-scoring plan, updates the belief from the observed outcomes, and repeats (Fig.1).
IV. EXPERIMENTS AND RESULTS
We evaluate our planner's spatial decomposition and adaptive cleaning actions in a simplified simulator.
A. Simulation Setup
The simulated surface is modeled by a grid. Each cell stores a nonnegative integer state , where is clean and higher values require greater effort to clean. Following Sec. II-B, the initial observation fixes the normalization scale:
and subsequent observations directly provide the scalar contamination :
The simulator transition function is deterministic, with cleaning actions reducing cell states based on an action and parameter dependent scalar decrement. The simulator does not model the latent response variable ; instead, is used purely by the planner to account for differences between predicted and observed cleaning outcomes. The experiment terminates when for all cells.
B. Preliminary Results
We consider several initial contamination geometries, including compact and overlapping regions, elongated structures, and spatially separated contamination, to exercise different spatial decompositions and cleaning primitives. Fig.2 shows eight consecutive planning iterations for one representative contamination map. As cleaning progresses, the planner adapts its spatial decomposition and action selection, penalizing broad actions once the remaining contamination becomes sparse to avoid wasted effort over clean areas.
This sequence provides qualitative evidence of the planner's online adaptability. Future work will extend this evaluation to real-world experiments with visual observations and robot-executed cleaning actions.
REFERENCES
[1] J. Hess, J. Sturm, and W. Burgard, “Learning the state transition model to efficiently clean surfaces with mobile manipulation robots,” in Workshop on Manipulation under Uncertainty at ICRA, 2011.
[2] D. Leidner, G. Bartels, W. Beijani, A. Albu-Schäffer, and M. Beetz, “Cognition-enabled robotic wiping: Representation, planning, execution, and interpretation,” Robotics and Autonomous Systems, vol. 114, pp. 199–216, 2019.
[3] S. Elliott and M. Cakmak, “Robotic cleaning through dirt rearrangement planning with learned transition models,” in ICRA, 2018, pp. 1623–1630.
[4] T. Lew, S. Singh, M. Prats, J. Bingham, J. Weisz, B. Holson, X. Zhang, V. Sindhwani, Y. Lu, F. Xia et al., “Robotic table wiping via reinforcement learning and whole-body trajectory optimization,” in ICRA. IEEE, 2023, pp. 7184–7190.
[5] S. Elliott, Z. Xu, and M. Cakmak, “Learning generalizable surface cleaning actions from demonstration,” in RO-MAN, 2017, pp. 993–999.
[6] C. Bilaloglu, T. Löw, and S. Calinon, “Tactile ergodic coverage on curved surfaces,” Transactions on Robotics, vol. 41, pp. 1421–1435, 2025.
[7] C. Tsuji, E. Coronado, P. Osorio, and G. Venture, “Adaptive contact-rich manipulation through few-shot imitation learning with force-torque feedback and pre-trained object representations,” Robotics and Automation Letters, vol. 10, no. 1, p. 240–247, 2025.
[8] R. Platt, R. Tedrake, L. P. Kaelbling, and T. Lozano-Perez, “Belief space planning assuming maximum likelihood observations,” in RSS, 2010.
[9] D. Qiu, Y. Zhao, and C. Baker, “Latent belief space motion planning under cost, dynamics, and intent uncertainty,” in RSS, 2020.
[10] K. Hsiao, L. Kaelbling, and T. Lozano-Perez, “Task-driven tactile exploration,” in RSS, 2010.
APPENDIX A
ACTION SPACE AND COST FUNCTIONS
The concrete parameterization of the action space is summarized in Table I. Spatial parameters are expressed in grid coordinates, while cleaning parameters are selected from finite sets. Here, and denote the start and end positions, denotes the spiral center, denotes the spiral radius, denotes the force level, and denotes the number of passes. One pass constitutes a single endpoint-to-endpoint traversal for a scratch action and a complete loop for a spiral action. The force corresponding to each discrete force level is manually specified.
TABLE I
ACTION SPACE
| Action | Spatial parameters | Cleaning parameters |
|---|---|---|
| Wipe | ||
| Scratch | ||
| Spiral | ||
| Move | — |
Defining the force-dependent factor
we let
where is the Euclidean distance in grid coordinates. Using these quantities, the action-specific cost functions used in candidate-plan evaluation are summarized in Table II.
The manually specified weights , , and balance path length, covered area, and travel distance, respectively. For linear cleaning actions, the +1 term accounts for the starting cell.
TABLE II
COST FUNCTIONS
| Action | Cost |
|---|---|
| Wipe | |
| Scratch | |
| Spiral | |
| Move |
Algorithm 1 Belief-Aware Adaptive Cleaning
1: Initialize belief and previous plan
2: while surface is not clean do
3: z ← OBSERVESURFACE()
4: if then
5: for do
6: b ← EKFBELIEFPREDICT(b, a)
7: end for
8: end if
9: b ← EKFBELIEFUPDATE(b, z)
10:
11:
12:
13:
14: for do
15:
16:
17:
18: if then
19:
20: end if
21: if and then
22: break
23: end if
24: end for
25:
26: EXECUTE( )
27:
28: end while
APPENDIX B
ADAPTIVE PLANNING PROCEDURE
The complete closed-loop planning procedure is summarized in Algorithm 1. At each iteration, the planner updates its belief from the latest surface observation, constructs candidate plans from alternative spatial groupings, scores these candidates under the current belief, and executes the highest-scoring plan before observing the resulting surface and replanning. Candidate construction is detailed separately in Appendix D.
APPENDIX C
EXTENDED KALMAN FILTER
The planner maintains the per-cell internal state
(26) with internal transition
where
Following standard EKF derivation, predicted mean is obtained by evaluating the internal transition function at the current belief mean,
In particular,
The transition Jacobian is
where and
The covariance prediction follows the standard EKF update
where is the process-noise covariance.
The belief-update stage incorporates the new appearance observation . The observation measures the contamination coordinate, with
The innovation and innovation covariance are
where R is the observation-noise variance. The Kalman gain is
and the posterior belief is
APPENDIX D
SPATIAL GROUPING AND CANDIDATE GENERATION
This section provides the clustering and candidate-construction details for the procedure summarized in Sec. III-B1. The current implementation generates alternative clusterings C using both 8-connected components and belief-weighted k-means clustering of contaminated cells. The 8-connected-component clustering separates spatially disconnected contamination, while the k-means candidates provide alternative partitions that may merge nearby regions or divide larger regions into multiple clusters.
For the k-means candidates, the contaminated-cell coordinates are clustered using the current contamination belief
Algorithm 2 CONSTRUCTCANDIDATE(C, b)
1: for each cluster do
2:
3:
4: if ISCIRCULAR( ) then
5:
6: else
7:
8: end if
9:
10: end for
11:
12: for each do
13:
14: end for
15:
16: return P
as weights. Multiple values of k are considered, producing alternative clusterings of the same observed contamination. Together with the 8-connected-component clustering, these alternatives define the candidate clusterings considered by the planner.
Given a clustering , Algorithm 2 summarizes how the corresponding cluster action sequences are generated, parameterized, and assembled into a candidate plan .
For each cluster , principal component analysis (PCA) is applied to the coordinates of its contaminated cells to characterize the cluster geometry. The relative magnitudes of the principal axes are used to distinguish approximately circular from elongated clusters and to construct the corresponding action sequence introduced in Sec. III-B1. Approximately circular clusters produce spiral candidates, whereas elongated clusters are covered by PCA-aligned wipe actions; multiple wipe actions may be required to cover a single cluster. Small or degenerate clusters are handled using wipe primitives. The resulting cluster action sequences are then ordered and parameterized as summarized in Algorithm 2.
APPENDIX E PLANNING OBJECTIVE
This section provides the detailed objective terms used in the belief-aware candidate ranking described in Sec. III-B2. Recall that a candidate plan P is composed of cluster action sequences , each of which is evaluated using the objective in (21).
Let denote the contact cleaning actions in the sequence, excluding move actions. The predicted cleaning effect is evaluated jointly over all cleaning actions associated with the cluster,
where is the predicted residual contamination fraction for action a. Joint evaluation composes the effects of multiple actions covering the same cell and avoids independently crediting overlapping action footprints.
The cleaning cost is additive over the contact cleaning actions,
where denotes the parameters of action a, including its geometry, applied force, and pass count. The current implementation assigns greater cost to longer motions, larger applied force, and additional passes. The precise functional form is a current design choice rather than a calibrated physical effort model.
The waste term accumulates action-dependent effort according to the probability that covered cells are already below a contamination threshold,
where denotes the grid cells covered by action a, is the standard normal cumulative distribution function, and is the current clean-region threshold.
The travel term accounts for the move actions required to enter the cluster, connect cleaning actions within the cluster, and transition toward the subsequent cluster. Together, these terms define the cluster score in (21).
During candidate construction, the planner searches over the available force and pass parameters and selects the parameterization maximizing this score for each cluster, as summarized in Algorithm 2. The resulting candidate plans are compared using the total score in (20), and the highest-scoring candidate is selected for execution. The specific functional forms and relative weights used in the current implementation remain subject to calibration and refinement.