When reinforcement learning training shows stalled progress, rising durations, or reward anomalies, a single metric is often insufficient to pinpoint the root cause. This topic describes the observability framework and troubleshooting methods for the Reinforcement Learning Studio (RLS) job details page, and guides you to drill down layer by layer across three dimensions: runtime status, pipeline efficiency, and learning outcomes. By combining trajectory flow, resource monitoring, and execution logs, you can quickly locate and resolve training anomalies.
Observability framework
In the PAI console, choose , and open the details page of a submitted job.
|
Observation dimension |
Main tabs |
What to check |
|
Runtime status |
Training Overview |
Overall progress, module status, and current training stage |
|
Pipeline efficiency |
Trajectory Observability and Job Monitoring |
Trajectory supply, production and consumption timing, stage durations, and resource utilization |
|
Learning outcomes |
Metrics |
Reward trend, policy update stability, and output characteristics |
|
Troubleshooting evidence |
EAS Instant Service Environment, Job Logs, and Job Configuration |
Execution exceptions, agent behavior, runtime errors, and related configuration |
We recommend that you start from Training Overview to assess the overall situation, and then select the corresponding view based on abnormal signals. You can read the following sections as needed.
Runtime status: Track overall progress
Training Overview summarizes job progress and the status of the Rollout, Train, and Env modules. The persistent progress card shows the latest training step, the planned number of steps, the elapsed time, and the average duration of the last five steps; the training stage timeline shows the status and duration of each stage, helping you further narrow "stalled progress" down to a specific stage.
|
What to monitor |
Combined observation |
Assessment and drill-down direction |
|
Trajectory production (Rollout) |
Number of Rollout trajectories, valid trajectory ratio, and generation throughput |
Combine these with trajectory flow to distinguish slow production from downstream backlog |
|
Parameter update (Train) |
Number of Train steps, Reward, latest checkpoint, and current stage |
Confirm whether updates start after trajectories are produced and whether checkpoints are generated at the configured interval |
|
Environment execution (Env) |
Env status, number of executions, error rate, and number of active executions |
If the error rate rises or execution activity drops abnormally, check the Instant Service execution records |
In the early stage of a job, use the first completed trajectories and parameter updates to check whether the pipeline works end to end. Record the trajectory volume, stage durations, reward distribution, and input and output lengths. Base performance comparisons on the stable phase after warmup, so that the first-step initialization overhead does not skew the assessment.
We recommend that you use a small amount of data and set a small number of training steps for the first run, and start formal training after basic Rollout and Env debugging is complete.
Pipeline efficiency: Correlate trajectory supply with resource usage
Trajectory Observability connects trajectory production and training consumption. Flow analysis shows the stage distribution, trajectory flow, and duration distribution; Step Producer-Consumer View places Rollout and Train on the same timeline, helping distinguish production latency, batching wait, and update duration.
Locate latency from the pipeline down to a single trajectory
|
Level |
View |
Troubleshooting use |
|
step |
Stage distribution, trajectory flow, and Step timeline |
Identify trajectory backlog locations and the wait windows between training updates |
|
sample |
Stage Duration Distribution (P50, P90, P99, and maximum) |
Compare the duration of the same stage under similar loads to distinguish an overall slowdown from a few long-tail cases |
|
trace |
Slowest Samples, In-flight Bottlenecks, and Trace details |
Drill down along slow or stalled trajectories and check model invocations, tool execution, and environment response |
A rise in the stage P50 relative to the baseline usually indicates an overall slowdown; a stable P50 with a rising P99 indicates a worsening long tail. A growing in-flight count is a troubleshooting clue but cannot alone prove service blocking. You must also assess it together with the production rate, downstream processing capacity, and reporting completeness.
Align latency and resource curves
Use Job Monitoring or the monitoring summary on the Overview tab to view the resource curves during the abnormal time window, and use the metrics timing_s/rollout, timing_s/update_actor, and timing_s/step to determine the relationship between latency changes and resource usage.
|
Combined signals |
Check first |
|
Rollout duration rises and agent startup duration rises at the same time |
Instant Service initialization and scheduling |
|
Multi-turn interaction duration or the long tail rises, and outputs become longer |
Interaction steps, model invocations, and slow tool calls in the Trace |
|
The training wait window lengthens and trajectories back up before scoring or batching |
Reward computation, validator duration, and available batches |
|
Parameter update duration rises and GPU utilization drops during the update |
Communication, synchronization, and runtime errors |
|
Env response slows while CPU or memory pressure rises |
Environment execution capacity and slow Instant Service records |
Learning outcomes: Interpret metrics together
Metrics organizes metrics by algorithm, training performance, response length, and input length, and supports search and chart linking to align the same training step for comparison. We recommend that you judge optimization results from the reward trend, observe stability from policy update metrics, and verify the actual behavior behind the metrics through trajectories.
|
What to determine |
Related metrics |
Assessment and validation |
|
Whether the reward keeps improving |
|
Observe the sustained trend and the performance of different data sources. For GRPO, also check the reward differences within the same prompt sampling group; batch extremes cannot replace intra-group variance |
|
Whether reward adjustments affect the optimization objective |
|
If the raw score and the training reward diverge, check the penalty term configuration and implementation |
|
Whether exploration converges prematurely |
|
If entropy drops rapidly and the reward stalls, check output diversity; a drop in entropy is not an anomaly by itself |
|
Whether policy updates are stable |
|
Analyze changes in the clip fraction or KL together with reward oscillation and the update configuration |
|
Whether training and inference are consistent |
|
If the value keeps rising, check numerical precision, log probability computation, and weight synchronization |
|
Whether length limits affect results |
|
If the output hits the upper limit, check the termination reason; a single sample reaching the maximum length does not prove widespread truncation |
Whether a metric is available and what it means depend on the algorithm and the reporting implementation. The training reward cannot replace independent evaluation; a rising reward still requires validation through representative trajectories and task performance on the independent evaluation set.
Troubleshooting evidence: Connect execution records, trajectories, and logs
EAS Instant Service Environment lists execution records by AP Job ID, Instance ID, status, Attempt, duration, and creation time. After you filter failed or slow records, you can view execution information from the details and the associated model attempts from the Trace. A successful Instant Service execution does not mean the task goal is achieved, and does not mean a positive reward is obtained.
-
Failures cluster on a specific task instance: check instance dependencies, initialization, and test logic.
-
Failures cluster across multiple instances in the same time window: check shared services, capacity, and infrastructure.
-
Retries are frequent or successful executions take abnormally long: check for intermittent failures and slow operations by combining the attempt history and Trace details.
The distribution of anomalies narrows the troubleshooting scope. Before you adjust data or resources, confirm the cause through execution details and logs.
In Job Logs, align to the abnormal time window, select the relevant instance or component, and view user logs and system logs together. You can search for correlation identifiers as well as Traceback, OOM, timeout, and NCCL keywords, and view the surrounding context. Avoid determining the root cause based only on ERROR entries.
Use Job Configuration to check the parameters that correspond to the abnormal behavior. After you confirm the cause, use Clone to create an adjusted job and validate the changes under comparable conditions.
Troubleshooting paths for common scenarios
|
Scenario |
Observability path |
Key assessment |
|
The first update does not complete for a long time after startup |
Training Overview → trajectory flow → Instant Service records or logs |
Distinguish normal initialization from trajectory production and environment execution anomalies |
|
Single-step duration rises or progress stalls |
Current stage → Step timeline → stage durations → resources and Trace details |
Distinguish among overall slowdown, long-tail executions, and downstream waits |
|
The reward stalls, or the reward rises but task performance does not improve |
Metrics chart linking → representative trajectories → reward configuration and independent evaluation |
Distinguish among an insufficient learning signal, unstable updates, and reward hacking |