FARL: A Fully Automated Pipeline of RL Interface and Solver Design
Organizations: Beijing University of Posts and Telecommunications, Beijing, China
Abstract
Existing reinforcement learning (RL) largely focuses on optimizing learning algorithms within a pre-defined task formulation, while applying RL to new tasks still relies heavily on human expertise to design the learning pipeline: what an agent observes, how it is rewarded, which algorithm it uses, and how training is configured. Automating these choices is challenging because they are tightly coupled. We introduce FARL (Fully Automated Reinforcement Learning), a framework that automates RL design by jointly searching observation and reward programs, learning algorithms, and training settings. FARL uses training statistics and observed behavior to diagnose failures, propose changes, and test whether they improve learning. Its search preserves diverse candidates and the controls needed for these tests, using a staged budget to screen designs before investing in longer training. Experimental memory records each finding together with its conditions, so an unsuccessful component can be reconsidered in a different combination. Across expert-withheld and expert-available settings, FARL outperforms the evaluated automated baselines on challenging navigation, locomotion, and manipulation tasks. On Adroit Hand Relocate, FARL achieves 97.1% success at 5M training steps per policy, compared with 0% for Eureka and LiMEN and 1.0% for native Proximal Policy Optimization (PPO) under the same policy training budget.
Figures & tables
| DoorKey | Ant (m) | Door | Hand (%) | |||
|---|---|---|---|---|---|---|
| Method | EW | EA | EW | EA | EW | ST |
| FARL | ||||||
| Eureka | ||||||
| LiMEN | ||||||
| Native design | / | / | / | |||
| Condition | DoorKey (%) | Ant (disp.) | Door (%) † |
|---|---|---|---|
| FARL (fixed reference) | |||
| A1: obs.–reward search only | |||
| A2: no rich evidence / memory | |||
| A3: no diversity / preservation |
Appendix figures & tables39 assets
Supplementary material from the paper’s appendix.
Appendix
| Task | Benchmark identifier | Observation / action interface |
|---|---|---|
| DoorKey | MiniGrid-DoorKey- 5x5-v0 | EW: 148 inputs, 7 discrete actions; EA: 83 inputs, 7 actions. |
| Ant | Ant-v4 | 27 raw inputs, 8 continuous actions; derived features are design choices. |
| Door | door-open-v3- goal-observable | Meta-World; 39 inputs, 4 continuous actions. |
| Hand | AdroitHandRelocate-v2 | ST: 84 inputs, 30 continuous actions; native control: 39 inputs. |
| Task | Method | Cohort | Selection and replication |
|---|---|---|---|
| DoorKey EW | FARL | M | Seeds 200–204; the same design has five 300k runs, seeds 100–104. |
| Eureka | M | Seeds 0–4, fixed selected reward. | |
| LiMEN | M | Selected short-stage run; the full-stage threshold was not reached. | |
| DoorKey EA | FARL | k | Seeds 0–2; completed early-saturation cohort. |
| Eureka | k | Seeds 101–102; 22/25 and 24/25 successes. | |
| LiMEN | M | Seeds 42–44; aggregate also used in selection. |
| Task | Learner | Permitted probe feedback | Learning | Follow-up |
|---|---|---|---|---|
| DoorKey EW | DQN | Aggregate native scalar | 30k | 2k |
| Ant EW | SAC | Controllable novelty | 30k | 5k |
| Ant EA | SAC | Native scalar | 30k | 5k |
| Hand ST | SAC | Native scalar | 100k | 5k |
| Design axis | Evidence supplied | Generated output |
|---|---|---|
| Observation | Coordinate meanings/types, task relations, probe transitions, and earlier feature comparisons | Ordered field selections or raw inputs augmented by deterministic expressions, with source dependencies and formulas. |
| Reward | Task intent, transition interface, observed behavior, current incentives, and retrieved explanations | Complete transition-reward source and a testable account of its proposed behavioral mechanism. |
| Learner | Action-space type, representation, supported implementations, and learning-health evidence | Compatible algorithm and network alternatives with learner-conditioned configuration domains. |
| Training | Selected interface/learner, exploration alternatives, completed learning evidence, and resource protocol | Instantiated hyperparameters, exploration settings, and requested training depth for each execution. |
| Record | Question it makes explicit |
|---|---|
| Program and family | What incentive is executed, and which proposed mechanism distinguishes this alternative? |
| Mechanism and behavior | Why might it help, and which events or behavior should change if it works? |
| Distinguishing prediction | Which observation separates this explanation from a competing explanation? |
| Falsifier and proxy risks | Which result would challenge the mechanism, and how might reward improve without the intended behavior? |
| Temporal role | Does the proposal emphasize acquisition, maintenance, regression prevention, or their interaction? |
| Compatibility and depth | Which learner properties and minimum training duration are proposed for an informative test? |
| Available evidence | Next use | Question for the next experiment |
|---|---|---|
| No compatible source with usable readiness | Joint design or exploration from original resets | Observe partial competence and identify a testable frontier opportunity. |
| Positive local signal; checkpoint and runtime interface verifiable | Exploratory source-policy attempts mixed with original resets | Whether the source can reliably create that opportunity and the new learner can use it. |
| The same source also satisfies its declared repeated-use checks | Qualified reuse under the recorded checkpoint/interface and scope | Whether the complete learner succeeds without assistance. |
| Completed whole-task evidence for one learner | Deeper training of the selected recipe or reserved fixed-design evaluation | Performance at the newly evaluated depth and replication level. |
| Observed discrepancy | Next comparison | Discriminating observation |
|---|---|---|
| Frontier event never observed | Exploration change with design basis fixed | Increased event coverage or frontier entry. |
| Useful events observed but poorly represented | Public feature/observation comparison | Better separation of relevant states and subsequent behavior. |
| Reward improves without task progression | Alternative incentive or learner test | Predicted behavioral transition, not merely larger return. |
| Behavior improves but varies across seeds | Replication or greater depth | Consistent progress under the stated conditions. |
| Training progress is absent from saved evaluation | Same-checkpoint, same-episode evaluator check; then retention test | Separate measurement disagreement from irreproducible behavior. |
| Declared learner updates do not occur | Learner/exploration repair | Changed effective settings and measured optimizer activity. |
| Object | Required content | Role in the next decision |
|---|---|---|
| Proposed test | Explanation, competing account, changed axis, prediction, falsifier, and requested depth | Select a comparison that can discriminate between explanations. |
| Bound comparison | Exact reference and treatment artifacts, compatible non-target stack, seed IDs, and declared replication unit | Reserve executable arms and bind learner-appropriate hyperparameter settings. |
| Completed evidence | Materialized settings, actual updates/depth, evaluation validity, and outcomes attached to the bound arms | Determine whether the requested contrast actually occurred and has interpretable results. |
| Memory update | Local prediction verdict, its scope, and links to the comparison and observations | Inform subsequent retrieval, revision, or another discriminating test. |
| Choice | Executed effect and eligibility |
|---|---|
| Native exploration | No additional modification to algorithm-native behavior. |
| Entropy profile | PPO entropy coefficient at least 0.005; SAC selects adaptive-entropy initialization 0.1 or 0.2. |
| Coverage profile | PPO entropy coefficient at least 0.01; SAC adaptive-entropy initialization 0.2 or 0.5; compatible off-policy warmup proposal . |
| Long warmup | SAC/TD3 or deep deterministic policy gradient (DDPG) warmup proposal , subject to the executable learning-start guard. |
| Controllable novelty | Training-only bonus over measured action-responsive observation coordinates; a targeted variant uses available candidate-goal coordinates. |
| Public-goal replay descriptor | Requires public goal atoms; the recorded implementation does not activate SB3 hindsight experience replay (HER) merely by selecting this descriptor. |
| Condition | DoorKey | Ant | Door |
|---|---|---|---|
| FARL reference | 72.800 | 1,825.735 | 9.100 |
| A1 | 21.960 | 56.860 | 64.055 |
| A2 | 17.760 | 8.460 | 3.060 |
| A3 | 5.560 | 51.960 | 10.060 |
| Task | Intervention | Seed 200 | Seed 201 | Seed 202 |
|---|---|---|---|---|
| DoorKey | A1 | |||
| A2 | ||||
| A3 | ||||
| Ant | A1 | |||
| A2 | ||||
| A3 |
| Intervention | Pick up key | Open door | Reach exit |
|---|---|---|---|
| A1 | |||
| A2 | |||
| A3 |
| Setting | PPO | SAC | TD3 |
|---|---|---|---|
| Hidden layers | (Tanh) | (ReLU) | (ReLU) |
| Learning rate / discount | |||
| Batch size | 64 | 256 | 256 |
| Rollout / epochs | 2048 / 10 | — | — |
| Replay / warmup | — | ||
| Train frequency / gradient steps | — |
| Learner | Steps | Reach | Lift | Transport | Final | Any |
|---|---|---|---|---|---|---|
| PPO | 1M | |||||
| 5M | ||||||
| SAC | 1M | |||||
| 5M | ||||||
| TD3 | 1M | |||||
| 5M |
| Steps/seed | Seed 0 | Seed 1 | Seed 2 | Displacement |
|---|---|---|---|---|
| 1M | 113.08 | 37.57 | 36.41 | |
| 5M | 96.86 | 59.41 | 89.40 | |
| 10M | 21.45 | 50.34 | 39.17 |
| Component | EW | EA |
|---|---|---|
| Policy input | 27 raw + 30 difference features | 27 raw coordinates |
| Reward | Forward-motion credit, action-diversity terms, coordinate-norm penalties | Speed/control-cost bands plus continuous velocity and cost terms |
| Learner / network | SAC / | SAC / |
| Optimizer learning rate | ||
| Entropy / warmup | Automatic, initial 0.2 / 10k | Automatic, default / 20k |
| Replay | Ordinary replay | Ordinary replay |
| Setting | Steps/seed | Seeds | Episodes/seed | Displacement |
|---|---|---|---|---|
| EW | 1M | 0–4 | 5 | |
| EW | 5M | 42–46 | 5 | |
| EW | 10M | 42–46 | 5 | |
| EA | 1M | 5 | ||
| EA | 10M | 0–6 | 3 |
| Setting | Selected A2C | PPO comparison |
|---|---|---|
| Learning rate | ||
| Discount | 0.9957992252 | 0.9974352405 |
| Entropy coefficient | 0.00022588495 | 0.02108114065 |
| GAE parameter | 0.9032534459 | 0.9120453326 |
| Success by seed |
| Steps/seed | Design evaluations | Seeds/design | Seed runs | Search role |
|---|---|---|---|---|
| 5k | 256 | 1 | 256 | Broad executable-design probe |
| 100k | 12 | 2 | 24 | Short-budget learning comparisons |
| 500k | 26 | 3 | 78 | Deeper tests of retained designs |
| Method | Policy depth | Successful seeds | Success (%) | Tokens / steps (M) |
|---|---|---|---|---|
| FARL | 5M | |||
| Eureka | 5M | |||
| LiMEN | 5M | |||
| Native PPO | 5M | |||
| Native SAC | 5M | |||
| Native TD3 | 5M |
| Iteration/trial | Input dim. | Seed 0 | Seed 1 | Seed 2 | Mean SD |
|---|---|---|---|---|---|
| 11/0 | 104 | 4.00 | 98.67 | 0.33 | |
| 11/1 | 111 | 98.00 | 0.00 | 24.67 | |
| 12/0 | 111 | 0.67 | 97.33 | 74.67 | |
| 12/1 | 104 | 1.33 | 92.33 | 12.33 | |
| 13/0 | 111 | 99.00 | 98.67 | 93.67 | |
| 13/1 | 104 | 87.33 | 94.00 | 91.33 |
| Evidence | Reach | Lift | Transport | Final |
|---|---|---|---|---|
| Seed 0 | 100.00 | 100.00 | 100.00 | 99.00 |
| Seed 1 | 100.00 | 99.67 | 99.00 | 98.67 |
| Seed 2 | 100.00 | 97.33 | 94.33 | 93.67 |
| Mean SD |
| Setting | Iteration 11 | Iteration 12 | Iteration 13 |
|---|---|---|---|
| Network | |||
| Learning rate | |||
| Discount | 0.987555 | 0.982773 | 0.987258 |
| Target update | 0.003684 | 0.005543 | 0.009802 |
| Warmup steps | 200k | 1M | 1M |
| Batch size / replay capacity |
| Record | Observed content |
|---|---|
| Diagnosis | Transport is the earliest unresolved stage; an observation-feature contrast motivates a representation test. |
| Experiment | Iteration 12 tests two representations with identical reward, learner, training settings, exploration, 5M depth, and seeds 0–2. |
| Prediction | The proposed representation improves transport completion. |
| Measurement | Reference/alternative transport: 60.11/38.44%; final success: 57.56/35.33%. |
| Conclusion | The result contradicts the predicted improvement; the reference remains champion. |
| Memory | The associated hypothesis changes from testing to falsified, citing the matched experimental contradiction. |
| Setting | 14/0 | 14/1 | 15/0 | 15/1 |
|---|---|---|---|---|
| Learner / input dimension | SAC / 111 | PPO / 84 | PPO / 84 | SAC / 84 |
| Network | ||||
| Learning rate | ||||
| Discount | 0.990106 | 0.967368 | 0.994906 | 0.994028 |
| Batch size | 256 | 64 | 128 | 128 |
| Entropy coefficient | Automatic | 0.032534 | 0.005 | Automatic |
| Window ending | Reach | Lift | Transport | Final |
|---|---|---|---|---|
| 1M | 22.40 | 2.27 | 2.53 | 0.07 |
| 2M | 100.00 | 99.20 | 60.13 | 33.47 |
| 3M | 98.80 | 97.20 | 91.40 | 90.07 |
| 4M | 99.53 | 98.13 | 93.53 | 92.07 |
| 5M | 99.40 | 97.33 | 95.53 | 94.47 |
| Final evaluation | 100.0 | 99.0 | 97.8 | 97.1 |
| Task | Method | Search steps | Extra training | Input tokens | Output tokens |
| DoorKey | FARL | 72.800 | 9.500 | 2,629,000 | 205,025 |
| Eureka | 80.000 | 5.000 | 78,116 | 170,675 | |
| LiMEN | 30.000 | 0 | 983,594 | 111,566 | |
| Ant | FARL | 1,825.735 | 75.000 | M total (estimated) | |
| Eureka | 400.000 | 25.000 | 47,112 | 104,420 | |
| LiMEN | 900.000 | 0 | 376,478 | 52,042 | |
| Paper object | Reconstruction materials | Check |
|---|---|---|
| Task and interface | Environment/dependency identities, field meanings, adapter and evaluator definitions | Dynamics, input permissions, and success criteria agree with the declared task. |
| Co-designed recipe | Observation/reward source, learner constructor, hyperparameters, exploration profile | The reported candidate is one complete executable combination. |
| Diagnostic test | Generation context, reference/treatment artifacts, prediction, bound arms, and outcomes | A planned intervention can be distinguished from an executed comparison. |
| Preserved alternatives | Component identities, family keys, selection and retention records, actual training depths | Coverage and continued training refer to actual designs, not only proposed pools. |
| Reported outcome | Fixed-design seeds, checkpoint identity, evaluation episodes, and aggregation script | Equal-seed means and SD reproduce the tables without candidate or checkpoint splicing. |
| Figures and controls | Plotting scripts, frozen result registries, native-control checkpoint evaluations | All plotted cohorts and axis units are recoverable from their recorded observations. |
| Task | Native observation | Native reward and episode horizon |
|---|---|---|
| DoorKey | Symbolic egocentric image (object, color, state), direction, and a textual mission. The numeric EW wrapper uses 147 normalized image entries plus direction, giving 148 inputs. | Zero until reaching the exit, then . The task has steps. Pickup and door opening receive no separate native reward. |
| Ant | 27 coordinates: torso height, quaternion, eight joint angles, three root linear velocities, three angular velocities, and eight joint velocities. Global root are excluded. Contact-force features are disabled. | Forward velocity plus a survival term, minus ; contact cost is inactive in this configuration. Episodes end on unhealthy state or at 1,000 steps. The 27D vector is already the benchmark’s chosen representation; EW retains it while withholding native reward and reward metadata. |
| Door | 39 coordinates: two 18D frames of hand/gripper and object state, followed by the 3D goal. This includes supplied object and goal geometry, even when native shaping is withheld. | Meta-World’s dense reward combines grasp/readiness shaping with door-opening progress, using gripper effort, hand–handle geometry, and door angle; success sets reward to 10 in the v2 reward implementation. The experimental horizon is 500 steps. |
| Hand | 39 coordinates: 30 hand positions and three 3D relative vectors (palm–object, palm–target, object–target). The experiment’s 84D ST wrapper adds 36 velocities and absolute palm, object, and target positions. | Dense reward is . Here is object height and denotes Euclidean distance. Episodes last 200 steps. Evaluation additionally requires five consecutive successful steps. |
| Axis | Eureka | LiMEN | FARL |
|---|---|---|---|
| Unchanged 148D public input. | 188D: public input plus visible-object counts, nearest-object offsets, front-cell flags, time, and inferred key possession. | Unchanged 148D public input. | |
| Key pickup/approach, door opening and doorway crossing, goal approach and an exit proxy, with small action/time penalties. | Visible key/door/goal changes and geometry-based shaping computed alongside the expanded observation. | Changes in soft counts of visible key, door, and goal categories, conditioned on pickup/toggle/forward actions; step penalty . | |
| Fixed PPO; settings in Table A34 . | Fixed PPO; settings in Table A34 . | A2C with selected learning rate, discount, entropy and GAE parameters (Table A18 ). | |
| PPO policy sampling. | PPO policy sampling with entropy coefficient 0.01. | Policy sampling; the selected coverage profile adds no intrinsic reward or A2C entropy floor. | |
| M selected-reward runs. | One 1M selected run; no candidate passes the full-training threshold. | M evaluation runs, following 100k screening and five-seed 300k comparisons. |
| Axis | Eureka | LiMEN | FARL |
|---|---|---|---|
| Unchanged 27D input. | 80D: orientation axes, bounded joint/velocity features, pairwise joint coordination, summaries, and time. | 57D: all 27 public coordinates plus 30 pairwise coordinate differences. | |
| Forward velocity gated by height/uprightness, small posture bonuses, and lateral, vertical, angular, joint-motion and action penalties. | Forward velocity with posture-dependent scaling, small upright/facing bonuses and motion/action penalties. | , minus coordinate-norm penalties. | |
| Fixed PPO. | Fixed PPO. | SAC; network, learning rate , , . | |
| PPO policy sampling. | PPO policy sampling; entropy 0.01. | Automatic SAC entropy initialized at 0.2; 10k random-action warmup. | |
| M reported runs. | M reported runs. | Five runs per budget at 1M, 5M, and 10M; search first tests designs at 5k, 50k, 300k, and 1M. |
| Axis | Eureka | LiMEN | FARL |
|---|---|---|---|
| Unchanged 39D input. | 121D: public-state transformations, hand/object/ goal relative vectors, opening-direction projections, alignment features, state summaries and time. | 47D: 39 public coordinates plus eight generated distance, offset, magnitude and configuration features. | |
| Three rewards combine reaching and opening progress, proximity bonuses and action penalties. Two additionally gate opening or motion by proximity to the handle. | Reaching progress, proximity-gated and alignment-weighted opening progress, goal proximity, relative progress and a small action penalty. | Negative hand–goal, object–goal and hand–handle distances; vertical-offset and gripper terms; mean squared-action penalty. | |
| Fixed PPO. | Fixed PPO. | SAC; network, learning rate , , . | |
| PPO policy sampling. | PPO policy sampling; entropy 0.01. | Automatic SAC entropy; 10k warmup. | |
| Three designs, each 10M. | Three seeds, each 5M. | Two seeds, each 50k. |
| Axis | Eureka | LiMEN | FARL |
|---|---|---|---|
| Unchanged 84D public input. | 396D: native/public inputs, scaled joint and velocity features, relative vectors in several frames, distances, alignments, geometry summaries, time and native feedback. | 111D: 84 public inputs, 20 other derived features and seven selected relational features. | |
| Native reward plus smooth reach, lift, controlled-lift, target-proximity, transport and late-placement terms, with a small action penalty. | Half native reward plus reach/lift/transport changes normalized by scene scale, contact-weighted progress and state-quality terms. | Half native reward plus bonuses for maintaining control after lifting and bringing the lifted object near target; penalty for losing contact. | |
| Fixed PPO. | Fixed PPO. | SAC; network, learning rate , , . | |
| PPO policy sampling. | PPO policy sampling; entropy 0.01. | Automatic entropy, target , and 1M random-action warmup. | |
| Five seeds, each 5M. | Three seeds, each 5M. | Three seeds, each 5M. |
| Setting | Eureka | LiMEN |
|---|---|---|
| Policy / value hidden layers | / | / |
| Activation | Tanh | Tanh |
| Learning rate | ||
| Discount / GAE | ||
| Clipping / value coefficient | ||
| Batch size / optimization epochs |
Reinforcement Learning
Reinforcement learning studies how agents learn sequential decisions from rewards and interaction, balancing exploration, performance, safety, and adaptation.
See all 1,717 papers